[03:04:16]OFD Sender: No OFD packet to send [03:04:21]OFD Sender: No OFD packet to send [03:04:26]OFD Sender: No OFD packet to send [03:04:31]OFD Sender: No OFD packet to send [03:04:36]OFD Sender: No OFD packet to send [03:04:41]OFD Sender: No OFD packet to send [03:04:46]OFD Sender: No OFD packet to send [03:04:51]OFD Sender: No OFD packet to send [03:04:56]OFD Sender: No OFD packet to send [03:05:01]OFD Sender: No OFD packet to send [03:05:06]OFD Sender: No OFD packet to send [03:05: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:22]OFD Sender: No OFD packet to send [03:17:27]OFD Sender: No OFD packet to send [03:17:32]OFD Sender: No OFD packet to send [03:17:37]OFD Sender: No OFD packet to send [03:17:42]OFD Sender: No OFD packet to send [03:17:47]OFD Sender: No OFD packet to send [03:17:52]OFD Sender: No OFD packet to send [03:17:57]OFD Sender: No OFD packet to send [03:18:02]OFD Sender: No OFD packet to send [03:18:07]OFD Sender: No OFD packet to send [03:18:12]OFD Sender: No OFD packet to send [03:18:17]OFD Sender: No OFD packet to send [03:18:22]OFD Sender: No OFD packet to send [03:18:27]OFD Sender: No OFD packet to send [03:18:32]OFD Sender: No OFD packet to send [03:18:37]OFD Sender: No OFD packet to send [03:18:42]OFD Sender: No OFD packet to send [03:18:47]OFD Sender: No OFD packet to send [03:18:52]OFD Sender: No OFD packet to send [03:18:57]OFD Sender: No OFD packet to send [03:19:02]OFD Sender: No OFD packet to send [03:19:07]OFD Sender: No OFD packet to send [03:19:12]OFD Sender: No OFD packet to send [03:19:17]OFD Sender: No OFD packet to send [03:19:22]OFD Sender: No OFD packet to send [03:19:27]OFD Sender: No OFD packet to send [03:19:32]OFD Sender: No OFD packet to send [03:19:37]OFD Sender: No OFD packet to send [03:19:42]OFD Sender: No OFD packet to send [03:19:47]OFD Sender: No OFD packet to send [03:19:52]OFD Sender: No OFD packet to send [03:19:57]OFD Sender: No OFD packet to send [03:20:02]OFD Sender: No OFD packet to send [03:20:07]OFD Sender: No OFD packet to send [03:20:12]OFD Sender: No OFD packet to send [03:20:17]OFD Sender: No OFD packet to send [03:20:22]OFD Sender: No OFD packet to send [03:20:27]OFD Sender: No OFD packet to send [03:20:32]OFD Sender: No OFD packet to send [03:20:37]OFD Sender: No OFD packet to send [03:20:42]OFD Sender: No OFD packet to send [03:20:47]OFD Sender: No OFD packet to send [03:20:52]OFD Sender: No OFD packet to send [03:20:57]OFD Sender: No OFD packet to send [03:21:02]OFD Sender: No OFD packet to send [03:21:07]OFD Sender: No OFD packet to send [03:21:12]OFD Sender: No OFD packet to send [03:21:17]OFD Sender: No OFD packet to send [03:21:22]OFD Sender: No OFD packet to send [03:21:27]OFD Sender: No OFD packet to send [03:21:32]OFD Sender: No OFD packet to send [03:21:37]OFD Sender: No OFD packet to send [03:21:42]OFD Sender: No OFD packet to send [03:21:47]OFD Sender: No OFD packet to send [03:21:52]OFD Sender: No OFD packet to send [03:21:57]OFD Sender: No OFD packet to send [03:22:02]OFD Sender: No OFD packet to send [03:22:07]OFD Sender: No OFD packet to send [03:22:12]OFD Sender: No OFD packet to send [03:22:17]OFD Sender: No OFD packet to send [03:22:22]OFD Sender: No OFD packet to send [03:22:27]OFD Sender: No OFD packet to send [03:22:32]OFD Sender: No OFD packet to send [03:22:37]OFD Sender: No OFD packet to send [03:22:42]OFD Sender: No OFD packet to send [03:22:47]OFD Sender: No OFD packet to send [03:22:52]OFD Sender: No OFD packet to send [03:22:57]OFD Sender: No OFD packet to send [03:23:02]OFD Sender: No OFD packet to send [03:23:07]OFD Sender: No OFD packet to send [03:23:12]OFD Sender: No OFD packet to send [03:23:17]OFD Sender: No OFD packet to send [03:23:22]OFD Sender: No OFD packet to send [03:23:27]OFD Sender: No OFD packet to send [03:23:32]OFD Sender: No OFD packet to send [03:23:37]OFD Sender: No OFD packet to send [03:23:42]OFD Sender: No OFD packet to send [03:23:47]OFD Sender: No OFD packet to send [03:23:52]OFD Sender: No OFD packet to send [03:23:57]OFD Sender: No OFD packet to send [03:24:02]OFD Sender: No OFD packet to send [03:24:07]OFD Sender: No OFD packet to send [03:24:12]OFD Sender: No OFD packet to send [03:24:17]OFD Sender: No OFD packet to send [03:24:22]OFD Sender: No OFD packet to send [03:24:27]OFD Sender: No OFD packet to send [03:24:32]OFD Sender: No OFD packet to send [03:24:37]OFD Sender: No OFD packet to send [03:24:42]OFD Sender: No OFD packet to send [03:24:47]OFD Sender: No OFD packet to send [03:24:52]OFD Sender: No OFD packet to send [03:24:57]OFD Sender: No OFD packet to send [03:25:02]OFD Sender: No OFD packet to send [03:25:07]OFD Sender: No OFD packet to send [03:25:12]OFD Sender: No OFD packet to send [03:25:17]OFD Sender: No OFD packet to send [03:25:22]OFD Sender: No OFD packet to send [03:25:27]OFD Sender: No OFD packet to send [03:25:32]OFD Sender: No OFD packet to send [03:25:37]OFD Sender: No OFD packet to send [03:25:42]OFD Sender: No OFD packet to send [03:25:47]OFD Sender: No OFD packet to send [03:25:52]OFD Sender: No OFD packet to send [03:25:57]OFD Sender: No OFD packet to send [03:26:02]OFD Sender: No OFD packet to send [03:26:07]OFD Sender: No OFD packet to send [03:26:12]OFD Sender: No OFD packet to send [03:26:17]OFD Sender: No OFD packet to send [03:26:22]OFD Sender: No OFD packet to send [03:26:27]OFD Sender: No OFD packet to send [03:26:33]OFD Sender: No OFD packet to send [03:26:38]OFD Sender: No OFD packet to send [03:26:43]OFD Sender: No OFD packet to send [03:26:48]OFD Sender: No OFD packet to send [03:26:53]OFD Sender: No OFD packet to send [03:26:58]OFD Sender: No OFD packet to send [03:27:03]OFD Sender: No OFD packet to send [03:27:08]OFD Sender: No OFD packet to send [03:27:13]OFD Sender: No OFD packet to send [03:27:18]OFD Sender: No OFD packet to send [03:27:23]OFD Sender: No OFD packet to send [03:27:28]OFD Sender: No OFD packet to send [03:27:33]OFD Sender: No OFD packet to send [03:27:38]OFD Sender: No OFD packet to send [03:27:43]OFD Sender: No OFD packet to send [03:27:48]OFD Sender: No OFD packet to send [03:27:53]OFD Sender: No OFD packet to send [03:27:58]OFD Sender: No OFD packet to send [03:28:03]OFD Sender: No OFD packet to send [03:28:08]OFD Sender: No OFD packet to send [03:28:13]OFD Sender: No OFD packet to send [03:28:18]OFD Sender: No OFD packet to send [03:28:23]OFD Sender: No OFD packet to send [03:28:28]OFD Sender: No OFD packet to send [03:28:33]OFD Sender: No OFD packet to send [03:28:38]OFD Sender: No OFD packet to send [03:28:43]OFD Sender: No OFD packet to send [03:28:48]OFD Sender: No OFD packet to send [03:28:53]OFD Sender: No OFD packet to send [03:28:58]OFD Sender: No OFD packet to send [03:29:03]OFD Sender: No OFD packet to send [03:29:08]OFD Sender: No OFD packet to send [03:29:13]OFD Sender: No OFD packet to send [03:29:18]OFD Sender: No OFD packet to send [03:29:23]OFD Sender: No OFD packet to send [03:29:28]OFD Sender: No OFD packet to send [03:29:33]OFD Sender: No OFD packet to send [03:29:38]OFD Sender: No OFD packet to send [03:29:43]OFD Sender: No OFD packet to send [03:29:48]OFD Sender: No OFD packet to send [03:29:53]OFD Sender: No OFD packet to send [03:29:58]OFD Sender: No OFD packet to send [03:30:03]OFD Sender: No OFD packet to send [03:30:08]OFD Sender: No OFD packet to send [03:30:13]OFD Sender: No OFD packet to send [03:30:18]OFD Sender: No OFD packet to send [03:30:23]OFD Sender: No OFD packet to send [03:30:28]OFD Sender: No OFD packet to send [03:30:33]OFD Sender: No OFD packet to send [03:30:38]OFD Sender: No OFD packet to send [03:30:43]OFD Sender: No OFD packet to send [03:30:48]OFD Sender: No OFD packet to send [03:30:53]OFD Sender: No OFD packet to send [03:30:58]OFD Sender: No OFD packet to send [03:31:03]OFD Sender: No OFD packet to send [03:31:08]OFD Sender: No OFD packet to send [03:31:13]OFD Sender: No OFD packet to send [03:31:18]OFD Sender: No OFD packet to send [03:31:23]OFD Sender: No OFD packet to send [03:31:28]OFD Sender: No OFD packet to send [03:31:33]OFD Sender: No OFD packet to send [03:31:38]OFD Sender: No OFD packet to send [03:31:43]OFD Sender: No OFD packet to send [03:31:48]OFD Sender: No OFD packet to send [03:31:53]OFD Sender: No OFD packet to send [03:31:58]OFD Sender: No OFD packet to send [03:32:03]OFD Sender: No OFD packet to send [03:32:08]OFD Sender: No OFD packet to send [03:32:13]OFD Sender: No OFD packet to send [03:32:18]OFD Sender: No OFD packet to send [03:32:23]OFD Sender: No OFD packet to send [03:32:28]OFD Sender: No OFD packet to send [03:32:33]OFD Sender: No OFD packet to send [03:32:38]OFD Sender: No OFD packet to send [03:32:43]OFD Sender: No OFD packet to send [03:32:48]OFD Sender: No OFD packet to send [03:32:53]OFD Sender: No OFD packet to send [03:32:58]OFD Sender: No OFD packet to send [03:33:03]OFD Sender: No OFD packet to send [03:33:08]OFD Sender: No OFD packet to send [03:33:13]OFD Sender: No OFD packet to send [03:33:18]OFD Sender: No OFD packet to send [03:33:23]OFD Sender: No OFD packet to send [03:33:28]OFD Sender: No OFD packet to send [03:33:33]OFD Sender: No OFD packet to send [03:33:38]OFD Sender: No OFD packet to send [03:33:43]OFD Sender: No OFD packet to send [03:33:48]OFD Sender: No OFD packet to send [03:33:53]OFD Sender: No OFD packet to send [03:33:58]OFD Sender: No OFD packet to send [03:34:03]OFD Sender: No OFD packet to send [03:34:08]OFD Sender: No OFD packet to send [03:34:13]OFD Sender: No OFD packet to send [03:34:18]OFD Sender: No OFD packet to send [03:34:23]OFD Sender: No OFD packet to send [03:34:28]OFD Sender: No OFD packet to send [03:34:33]OFD Sender: No OFD packet to send [03:34:38]OFD Sender: No OFD packet to send [03:34:43]OFD Sender: No OFD packet to send [03:34:48]OFD Sender: No OFD packet to send [03:34:53]OFD Sender: No OFD packet to send [03:34:58]OFD Sender: No OFD packet to send [03:35:03]OFD Sender: No OFD packet to send [03:35:08]OFD Sender: No OFD packet to send [03:35:13]OFD Sender: No OFD packet to send [03:35:18]OFD Sender: No OFD packet to send [03:35:23]OFD Sender: No OFD packet to send [03:35:28]OFD Sender: No OFD packet to send [03:35:33]OFD Sender: No OFD packet to send [03:35:38]OFD Sender: No OFD packet to send [03:35:43]OFD Sender: No OFD packet to send [03:35:48]OFD Sender: No OFD packet to send [03:35:53]OFD Sender: No OFD packet to send [03:35:58]OFD Sender: No OFD packet to send [03:36:03]OFD Sender: No OFD packet to send [03:36:08]OFD Sender: No OFD packet to send [03:36:13]OFD Sender: No OFD packet to send [03:36:18]OFD Sender: No OFD packet to send [03:36:23]OFD Sender: No OFD packet to send [03:36:28]OFD Sender: No OFD packet to send [03:36:33]OFD Sender: No OFD packet to send [03:36:38]OFD Sender: No OFD packet to send [03:36:43]OFD Sender: No OFD packet to send [03:36:48]OFD Sender: No OFD packet to send [03:36:53]OFD Sender: No OFD packet to send [03:36:58]OFD Sender: No OFD packet to send [03:37:03]OFD Sender: No OFD packet to send [03:37:08]OFD Sender: No OFD packet to send [03:37:13]OFD Sender: No OFD packet to send [03:37:18]OFD Sender: No OFD packet to send [03:37:23]OFD Sender: No OFD packet to send [03:37:28]OFD Sender: No OFD packet to send [03:37:33]OFD Sender: No OFD packet to send [03:37:38]OFD Sender: No OFD packet to send [03:37:43]OFD Sender: No OFD packet to send [03:37:48]OFD Sender: No OFD packet to send [03:37:53]OFD Sender: No OFD packet to send [03:37:58]OFD Sender: No OFD packet to send [03:38:03]OFD Sender: No OFD packet to send [03:38:08]OFD Sender: No OFD packet to send [03:38:13]OFD Sender: No OFD packet to send [03:38:18]OFD Sender: No OFD packet to send [03:38:23]OFD Sender: No OFD packet to send [03:38:28]OFD Sender: No OFD packet to send [03:38:33]OFD Sender: No OFD packet to send [03:38:38]OFD Sender: No OFD packet to send [03:38:43]OFD Sender: No OFD packet to send [03:38:48]OFD Sender: No OFD packet to send [03:38:53]OFD Sender: No OFD packet to send [03:38:58]OFD Sender: No OFD packet to send [03:39:03]OFD Sender: No OFD packet to send [03:39:08]OFD Sender: No OFD packet to send [03:39:13]OFD Sender: No OFD packet to send [03:39:18]OFD Sender: No OFD packet to send [03:39:23]OFD Sender: No OFD packet to send [03:39:28]OFD Sender: No OFD packet to send [03:39:33]OFD Sender: No OFD packet to send [03:39:38]OFD Sender: No OFD packet to send [03:39:43]OFD Sender: No OFD packet to send [03:39:48]OFD Sender: No OFD packet to send [03:39:53]OFD Sender: No OFD packet to send [03:39:58]OFD Sender: No OFD packet to send [03:40:03]OFD Sender: No OFD packet to send [03:40:08]OFD Sender: No OFD packet to send [03:40:13]OFD Sender: No OFD packet to send [03:40:18]OFD Sender: No OFD packet to send [03:40:23]OFD Sender: No OFD packet to send [03:40:28]OFD Sender: No OFD packet to send [03:40:33]OFD Sender: No OFD packet to send [03:40:38]OFD Sender: No OFD packet to send [03:40:43]OFD Sender: No OFD packet to send [03:40:48]OFD Sender: No OFD packet to send [03:40:53]OFD Sender: No OFD packet to send [03:40:58]OFD Sender: No OFD packet to send [03:41:03]OFD Sender: No OFD packet to send [03:41:08]OFD Sender: No OFD packet to send [03:41:13]OFD Sender: No OFD packet to send [03:41:18]OFD Sender: No OFD packet to send [03:41:23]OFD Sender: No OFD packet to send [03:41:28]OFD Sender: No OFD packet to send [03:41:33]OFD Sender: No OFD packet to send [03:41:38]OFD Sender: No OFD packet to send [03:41:43]OFD Sender: No OFD packet to send [03:41:48]OFD Sender: No OFD packet to send [03:41:52]accept exits with 9 [03:41:52]New connection [03:41:52]New thread 3066596708 created [03:41:52]Thread 3066453348 joined [03:41:52]Waiting for new connection... [03:41:52] Sock 9.Parse request [03:41:52]Sock 9.Check first char [03:41:52]Sock 9.First char is OK [03:41:52]request: POST /json_proto HTTP/1.0 [03:41:52]Method: POST [03:41:52]URL: /json_proto [03:41:52]Method is POST - this is cgi request [03:41:52]url: /json_proto [03:41:52]query_string will be loaded in cgi processing [03:41:52]execute_cgi json_proto POST (null) [03:41:52]execute_cgi path=json_proto method=POST [03:41:52]POST find Content-Length [03:41:52]Host: 172.17.32.68:8080 [03:41:52]Content-Length: 623 [03:41:52]Content-Type: application/json [03:41:52] [03:41:52]POST finish read [03:41:52]Found Content-Length = 623 [03:41:52]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242243", "tax_sys" : 0, "items" : [ { "code": "4700003150486", "name": "\u0412\u043E\u0434\u043A\u0430 \u041E\u0440\u043E\u043E\u043D 0,5", "price" : 425.00, "quantity" : 2.000, "sum" : 850.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 850.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [03:41:52]execute_script... [03:41:52]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242243", "tax_sys" : 0, "items" : [ { "code": "4700003150486", "name": "\u0412\u043E\u0434\u043A\u0430 \u041E\u0440\u043E\u043E\u043D 0,5", "price" : 425.00, "quantity" : 2.000, "sum" : 850.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 850.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [03:41:52]POST & json_proto [03:41:52]process_json_proto [03:41:52]json parsed OK: [03:41:52]protocol is kg_v1.0 [03:41:52]action value=close_receipt [03:41:52]process_action close_receipt [03:41:52]cmd_close_receipt [03:41:52]MH_GetDate [03:41:52]Write to MH i2c: F0 00 00 04 4D 40 [03:41:52]Write i2c OK [03:41:52]MH_I2C_Read... [03:41:52]Read from MH i2c: F0 [03:41:52]MH_I2C_Read... [03:41:52]Read from MH i2c: F0 09 00 [03:41:52]MH_I2C_Read... [03:41:52]Read from MH i2c: F0 09 00 04 4D 00 0D CF EF 65 0A 64 6E 65 BA [03:41:52]GetLastDocTimeStamp 1710211326 [03:41:52]current date 1710214925 [03:41:52]FM_GetShiftState [03:41:52]SAM_PROTO_GetShiftState [03:41:52]wFMCommunicate request_size=4 [03:41:52]MH_SAM_APDU [03:41:52]CAPDU: 80 13 01 00 [03:41:52]Write to MH i2c: E2 08 00 05 4D 80 13 01 00 00 00 00 00 CF [03:41:52]Write i2c OK [03:41:52]MH_I2C_Read... [03:41:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:41:52]Read from MH i2c: E2 [03:41:52]MH_I2C_Read... [03:41:52]Read from MH i2c: E2 0E 00 [03:41:52]MH_I2C_Read... [03:41:52]Read from MH i2c: E2 0E 00 05 4D 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 FE [03:41:52]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [03:41:52]wFMCommunicate OK [03:41:52]SAM_PROTO_GetShiftState done [03:41:52]FM_GetShiftState done [03:41:52]opened in 1710202417 [03:41:52]opened+sec_in_day 1710288817 [03:41:52]quantity*price = 85000 [03:41:52]sum+1 = 85001 [03:41:52]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 850.00 НСП 1% : 7.52 НДС 12% : 90.26 Наличными: 850.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 7 12.03.2024 03:42 Смена: 314 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47329 ФПД: 169623187979926 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T034206&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47329&fm=169623187979926&tin=02508201610067®Number=0000000000092018&sum=85000 0 [03:41:53]StoreToDocumentArchive [03:41:53]shift 314 fd 47329 [03:41:53]save to /storage/0314/doc_00047329 [03:41:53]save last doc name /storage/0314/doc_00047329 to /storage/kkm_last_doc_name [03:41:53]save OK [03:41:53]Clear old archive folders... [03:41:53]ProcessDocumentItem done err = 0, tmpTLVsize=267 [03:41:53]tlvbuf is B6E51EB0 [03:41:53]SAM_PROTO_ClearQueue [03:41:53]wFMCommunicate request_size=4 [03:41:53]MH_SAM_APDU [03:41:53]CAPDU: 80 09 00 00 [03:41:53]Write to MH i2c: E2 08 00 12 4D 80 09 00 00 00 00 00 00 D1 [03:41:53]Write i2c OK [03:41:53]MH_I2C_Read... [03:41:53]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [03:41:53]Read from MH i2c: E2 [03:41:53]MH_I2C_Read... [03:41:53]Read from MH i2c: E2 03 00 [03:41:53]MH_I2C_Read... [03:41:53]Read from MH i2c: E2 03 00 12 4D 00 90 00 D3 [03:41:53]RAPDU: 90 00 [03:41:53]wFMCommunicate OK [03:41:53]SAM_PROTO_ClearQueue done [03:41:53]KKMCreateOFDPacket [03:41:53]OFDProtocolAddRootSTLVToBuf [03:41:53]FM_MakeSignedData [03:41:53]FM_MakeSignedData [03:41:53]SAM_PROTO_SignData [03:41:53]wFMCommunicate request_size=4 [03:41:53]MH_SAM_APDU [03:41:53]CAPDU: 80 0D 01 02 [03:41:53]Write to MH i2c: E2 08 00 13 4D 80 0D 01 02 00 00 00 00 D9 [03:41:53]Write i2c OK [03:41:53]MH_I2C_Read... [03:41:53]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [03:41:53]Read from MH i2c: E2 [03:41:53]MH_I2C_Read... [03:41:53]Read from MH i2c: E2 03 00 [03:41:53]MH_I2C_Read... [03:41:53]Read from MH i2c: E2 03 00 13 4D 00 90 00 D4 [03:41:53]RAPDU: 90 00 [03:41:53]wFMCommunicate OK [03:41:54]wFMCommunicate request_size=255 [03:41:54]MH_SAM_APDU [03:41:54]CAPDU: 80 0D 02 02 FA 03 00 0B 01 1E 04 01 00 01 23 04 5D 00 8A 04 0D 00 34 37 30 30 30 30 33 31 35 30 34 38 36 06 04 19 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9E D1 80 D0 BE D0 BE D0 BD 20 30 2C 35 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 04 A6 00 00 00 00 13 04 06 00 08 4C 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 4C 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F0 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 42 23 00 00 00 00 07 04 06 00 08 4C 01 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 0E CF EF 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 [03:41:54]Write to MH i2c: E2 02 01 14 4D 80 0D 02 02 FA 00 03 00 0B 01 1E 04 01 00 01 23 04 5D 00 8A 04 0D 00 34 37 30 30 30 30 33 31 35 30 34 38 36 06 04 19 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9E D1 80 D0 BE D0 BE D0 BD 20 30 2C 35 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 04 A6 00 00 00 00 13 04 06 00 08 4C 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 4C 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F0 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 42 23 00 00 00 00 07 04 06 00 08 4C 01 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 0E CF EF 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 00 00 41 [03:41:54]Write i2c OK [03:41:54]MH_I2C_Read... [03:41:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:41:54]Read from MH i2c: E2 [03:41:54]MH_I2C_Read... [03:41:54]Read from MH i2c: E2 03 00 [03:41:54]MH_I2C_Read... [03:41:54]Read from MH i2c: E2 03 00 14 4D 00 90 00 D5 [03:41:54]RAPDU: 90 00 [03:41:54]wFMCommunicate OK [03:41:54]wFMCommunicate request_size=26 [03:41:54]MH_SAM_APDU [03:41:54]CAPDU: 80 0D 02 02 15 38 31 36 10 04 04 00 E1 B8 00 00 35 04 06 00 9A 45 79 DD 7E 96 [03:41:54]Write to MH i2c: E2 1D 00 15 4D 80 0D 02 02 15 00 38 31 36 10 04 04 00 E1 B8 00 00 35 04 06 00 9A 45 79 DD 7E 96 00 00 DE [03:41:54]Write i2c OK [03:41:54]MH_I2C_Read... [03:41:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:41:54]Read from MH i2c: E2 [03:41:54]MH_I2C_Read... [03:41:54]Read from MH i2c: E2 03 00 [03:41:54]MH_I2C_Read... [03:41:54]Read from MH i2c: E2 03 00 15 4D 00 90 00 D6 [03:41:54]RAPDU: 90 00 [03:41:54]wFMCommunicate OK [03:41:54]wFMCommunicate request_size=4 [03:41:54]MH_SAM_APDU [03:41:54]CAPDU: 80 0D 03 02 [03:41:54]Write to MH i2c: E2 08 00 16 4D 80 0D 03 02 00 00 00 00 DE [03:41:54]Write i2c OK [03:41:54]MH_I2C_Read... [03:41:54]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [03:41:54]Read from MH i2c: E2 [03:41:54]MH_I2C_Read... [03:41:54]Read from MH i2c: E2 0B 00 [03:41:54]MH_I2C_Read... [03:41:54]Read from MH i2c: E2 0B 00 16 4D 00 03 EA EC CE E5 3D BF 67 90 00 CE [03:41:54]RAPDU: 03 EA EC CE E5 3D BF 67 90 00 [03:41:54]wFMCommunicate OK [03:41:54]SAM_PROTO_SignData done [03:41:54]FM_MakeSignedData done [03:41:54]CreateOFDProtocolMessage [03:41:54]wFMCommunicate request_size=4 [03:41:54]MH_SAM_APDU [03:41:54]CAPDU: 80 11 00 00 [03:41:54]Write to MH i2c: E2 08 00 17 4D 80 11 00 00 00 00 00 00 DE [03:41:54]Write i2c OK [03:41:54]MH_I2C_Read... [03:41:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:41:54]Read from MH i2c: E2 [03:41:54]MH_I2C_Read... [03:41:54]Read from MH i2c: E2 17 00 [03:41:54]MH_I2C_Read... [03:41:54]Read from MH i2c: E2 17 00 17 4D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 30 [03:41:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [03:41:54]wFMCommunicate OK [03:41:54]CreateOFDProtocolMessage done [03:41:54]OFDSenderStorePacket 47329 [03:41:54]StoreOFDPacket docnum=47329 [03:41:54]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 1F 01 00 00 A6 59 17 01 86 05 5A 03 01 00 03 00 0B 01 1E 04 01 00 01 23 04 5D 00 8A 04 0D 00 34 37 30 30 30 30 33 31 35 30 34 38 36 06 04 19 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9E D1 80 D0 BE D0 BE D0 BD 20 30 2C 35 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 04 A6 00 00 00 00 13 04 06 00 08 4C 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 4C 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F0 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 42 23 00 00 00 00 07 04 06 00 08 4C 01 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 0E CF EF 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 E1 B8 00 00 35 04 06 00 9A 45 79 DD 7E 96 03 EA EC CE E5 3D BF 67 [03:41:54]CheckFolder [03:41:54]dirname=/storage/ofd_packets [03:41:54]CheckFolder done [03:41:54]ProducePacketName [03:41:54]name=ofd_packets/00047329 [03:41:54]NVStorageSaveData ofd_packets/00047329 [03:41:54]File name is /storage/ofd_packets/00047329 [03:41:54]Write 317 bytes [03:41:54]NVStorageSaveData done [03:41:54]OFDSenderStorePacket done [03:41:54]KKMCreateOFDPacket done [03:41:54]NVStorageSaveData kkm_last_timestamp [03:41:54]File name is /storage/kkm_last_timestamp [03:41:54]Write 4 bytes [03:41:54]NVStorageSaveData done [03:41:54]ExternCall_PrintAddStr [03:41:54]wPrintStart [03:41:54]Write to MH i2c: 01 00 00 18 4D 65 [03:41:54]Write i2c OK [03:41:54]MH_I2C_Read... [03:41:54]Read from MH i2c: 01 [03:41:54]MH_I2C_Read... [03:41:54]Read from MH i2c: 01 07 00 [03:41:54]MH_I2C_Read... [03:41:54]Read from MH i2c: 01 07 00 18 4D 00 00 00 00 00 FF 0F 7A [03:41:54]RasterBufferAndPrint [03:41:54]line Счет N : (3)242243 [03:41:54]line ИНН: 02508201610067 [03:41:54]line Контрольно-Кассовый Чек [03:41:54]line ПРОДАЖА [03:41:54]line Товар: 4700003150486 [03:41:54]line Водка Ороон 0,5 [03:41:54]line 2.000 * 425.00 [03:41:54]line = 850.00 [03:41:54]line НДС 12% НСП 1% [03:41:54]line > о реализуемом товаре [03:41:54]line ИТОГО: 850.00 [03:41:54]line НСП 1% : 7.52 [03:41:54]line НДС 12% : 90.26 [03:41:54]line Наличными: 850.00 [03:41:54]line Безнал.: 0.00 [03:41:54]line Место: АЗС № 15 "Партнер Нефть" [03:41:54]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [03:41:54]line СНО: Общий режим [03:41:54]line Чек 7 12.03.2024 03:42 [03:41:54]line Смена: 314 ФФД: 1.0 [03:41:54]line ЗНМ: 0300000097 [03:41:54]line РНМ: 0000000000092018 [03:41:54]line Версия ККМ: 001 [03:41:54]line ФМ: 0000000000871816 [03:41:54]line ФД: 47329 [03:41:54]line ФПД: 169623187979926 [03:41:54]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T034206&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47329&fm=169623187979926&tin=02508201610067®Number=0000000000092018&sum=85000 [03:41:54]line 0 [03:41:54]OFD Sender: Processing packet 47329 [packets to send 8, broken 7] [03:41:54]ProducePacketName [03:41:54]name=ofd_packets/00047329 [03:41:54]OFD Sender: To server: pG, [03:41:54]CommunicateWithHost lk.salyk.kg:30040 [03:41:54]ConnectInit lk.salyk.kg [03:41:54]written 0, free lines is 4095 [03:41:54]Connected sock=7 [03:41: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 31 36 1F 01 00 00 A6 59 17 01 86 05 5A 03 01 00 03 00 0B 01 1E 04 01 00 01 23 04 5D 00 8A 04 0D 00 34 37 30 30 30 30 33 31 35 30 34 38 36 06 04 19 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9E D1 80 D0 BE D0 BE D0 BD 20 30 2C 35 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 04 A6 00 00 00 00 13 04 06 00 08 4C 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 4C 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F0 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 42 23 00 00 00 00 07 04 06 00 08 4C 01 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 0E CF EF 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 E1 B8 00 00 35 04 06 00 9A 45 79 DD 7E 96 03 EA EC CE E5 3D BF 67 [03:41: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 31 36 4F 00 00 00 6F A7 47 00 A3 86 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 31 36 10 04 04 00 E1 B8 00 00 F4 03 04 00 A1 79 EF 65 B6 04 01 00 00 7D C0 D7 B7 73 8B 44 21 [03:41:55]CommunicateWithHost err = 0 [03:41:55]CheckOFDResponse [03:41:55]1017 (14) - 77093643461234 [03:41:55]1041 (16) - 0000000000871816 [03:41:55]1040 (4) - 47329 [03:41:55]1012 (4) - 11.03.2024 21:37 [03:41:55]1206 (1) - 0 [03:41:55]OFD Sender: Remove packet 47329 [03:41:55]ProducePacketName [03:41:55]name=ofd_packets/00047329 [03:41:55]NVStorageDeleteData [03:41:55]Write to MH i2c: 01 00 00 40 4D 8D [03:41:55]Write i2c OK [03:41:55]MH_I2C_Read... [03:41:55]Read from MH i2c: 01 [03:41:55]MH_I2C_Read... [03:41:55]Read from MH i2c: 01 07 00 [03:41:55]MH_I2C_Read... [03:41:55]Read from MH i2c: 01 07 00 40 4D 00 00 00 00 00 F7 0C 97 [03:41:55]RasterBufferAndPrint [03:41:55]line [03:41:55]line [03:41:55]line [03:41:55]line [03:41:55]line [03:41:55]written 0, free lines is 3326 [03:41:55]MH_Cut [03:41:55]Write to MH i2c: D1 01 00 47 4D 01 66 [03:41:55]Write i2c OK [03:41:55]MH_I2C_Read... [03:41:55]Read from MH i2c: D1 [03:41:55]MH_I2C_Read... [03:41:55]Read from MH i2c: D1 01 00 [03:41:55]MH_I2C_Read... [03:41:55]Read from MH i2c: D1 01 00 47 4D 00 65 [03:41:55]Write to MH i2c: 01 00 00 48 4D 95 [03:41:55]Write i2c OK [03:41:55]MH_I2C_Read... [03:41:55]OFD Sender: No OFD packet to send [03:41:55]*** Cut start [03:41:55]*** Purtial cut [03:41:55]*** Stage 1: CUTSNS_PIN = 1 [03:41:56]Read from MH i2c: 01 [03:41:56]MH_I2C_Read... [03:41:56]*** Stop cut motor [03:41:56]*** Cut end [03:41:56]Read from MH i2c: 01 07 00 [03:41:56]MH_I2C_Read... [03:41:56]Read from MH i2c: 01 07 00 48 4D 00 00 00 00 00 FF 0F AA [03:41:56]process_action close_receipt done [03:41:56]requested_data is exist [03:41:56]produce_requested_data [03:41:56]requested_item fm.sn is exist - process it [03:41:56]wFMCommunicate request_size=4 [03:41:56]MH_SAM_APDU [03:41:56]CAPDU: 80 11 00 00 [03:41:56]Write to MH i2c: E2 08 00 49 4D 80 11 00 00 00 00 00 00 10 [03:41:56]Write i2c OK [03:41:56]MH_I2C_Read... [03:41:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:41:56]Read from MH i2c: E2 [03:41:56]MH_I2C_Read... [03:41:56]Read from MH i2c: E2 17 00 [03:41:56]MH_I2C_Read... [03:41:56]Read from MH i2c: E2 17 00 49 4D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 62 [03:41:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [03:41:56]wFMCommunicate OK [03:41:56]requested_item fd.num is exist - process it [03:41:56]SAM_PROTO_GetFieldsCounters [03:41:56]wFMCommunicate request_size=4 [03:41:56]MH_SAM_APDU [03:41:56]CAPDU: 80 13 00 00 [03:41:56]Write to MH i2c: E2 08 00 4A 4D 80 13 00 00 00 00 00 00 13 [03:41:56]Write i2c OK [03:41:56]MH_I2C_Read... [03:41:56]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [03:41:56]Read from MH i2c: E2 [03:41:56]MH_I2C_Read... [03:41:56]Read from MH i2c: E2 62 00 [03:41:56]MH_I2C_Read... [03:41:56]Read from MH i2c: E2 62 00 4A 4D 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 E1 B8 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 07 00 00 00 5E 04 04 00 07 00 00 00 57 04 04 00 08 00 00 00 19 04 04 00 00 00 00 00 90 00 17 [03:41: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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 E1 B8 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 07 00 00 00 5E 04 04 00 07 00 00 00 57 04 04 00 08 00 00 00 19 04 04 00 00 00 00 00 90 00 [03:41:56]wFMCommunicate OK [03:41:56]SAM_PROTO_GetFieldsCounters done [03:41:56]requested_item shift.num is exist - process it [03:41:56]requested_item shift.opened is exist - process it [03:41:56]req_shift_opened [03:41:56]FM_GetShiftState [03:41:56]SAM_PROTO_GetShiftState [03:41:56]wFMCommunicate request_size=4 [03:41:56]MH_SAM_APDU [03:41:56]CAPDU: 80 13 01 00 [03:41:56]Write to MH i2c: E2 08 00 4B 4D 80 13 01 00 00 00 00 00 15 [03:41:56]Write i2c OK [03:41:56]MH_I2C_Read... [03:41:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:41:56]Read from MH i2c: E2 [03:41:56]MH_I2C_Read... [03:41:56]Read from MH i2c: E2 0E 00 [03:41:56]MH_I2C_Read... [03:41:56]Read from MH i2c: E2 0E 00 4B 4D 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 44 [03:41:56]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [03:41:56]wFMCommunicate OK [03:41:56]SAM_PROTO_GetShiftState done [03:41:56]FM_GetShiftState done [03:41:56]req_shift_opened done [03:41:56]requested_item shift.open_date is exist - process it [03:41:56]req_shift_open_date [03:41:56]req_shift_open_date done [03:41:56]produce_requested_data done [03:41:56]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47329,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [03:41:56]process_action_free close_receipt [03:41:56]json_value_free [03:41:56]json_value_free done [03:41:56]process_json_proto returns [03:41:56]Send response to host [03:41:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47329,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [03:41:56]free response buf [03:41:56]execute_script done [03:41:56]execute_script returns [03:41:56]free content buf [03:41:56]Sock 9.Close socket [03:41:56]Sock 9.Thread stoped [03:42:00]OFD Sender: No OFD packet to send [03:42:05]OFD Sender: No OFD packet to send [03:42:10]OFD Sender: No OFD packet to send [03:42:15]OFD Sender: No OFD packet to send [03:42:20]OFD Sender: No OFD packet to send [03:42:25]OFD Sender: No OFD packet to send [03:42:30]OFD Sender: No OFD packet to send [03:42:35]OFD Sender: No OFD packet to send [03:42:40]OFD Sender: No OFD packet to send [03:42:45]OFD Sender: No OFD packet to send [03:42:50]OFD Sender: No OFD packet to send [03:42:55]OFD Sender: No OFD packet to send [03:43:00]OFD Sender: No OFD packet to send [03:43:05]OFD Sender: No OFD packet to send [03:43:10]OFD Sender: No OFD packet to send [03:43:15]OFD Sender: No OFD packet to send [03:43:20]OFD Sender: No OFD packet to send [03:43:25]OFD Sender: No OFD packet to send [03:43:30]OFD Sender: No OFD packet to send [03:43:35]OFD Sender: No OFD packet to send [03:43:40]OFD Sender: No OFD packet to send [03:43:45]OFD Sender: No OFD packet to send [03:43:50]OFD Sender: No OFD packet to send [03:43:52]accept exits with 10 [03:43:52]New connection [03:43:52]New thread 3066453348 created [03:43:52]Thread 3066596708 joined [03:43:52]Waiting for new connection... [03:43:52] Sock 10.Parse request [03:43:52]Sock 10.Check first char [03:43:52]Sock 10.First char is OK [03:43:52]request: POST /json_proto HTTP/1.0 [03:43:52]Method: POST [03:43:52]URL: /json_proto [03:43:52]Method is POST - this is cgi request [03:43:52]url: /json_proto [03:43:52]query_string will be loaded in cgi processing [03:43:52]execute_cgi json_proto POST (null) [03:43:52]execute_cgi path=json_proto method=POST [03:43:52]POST find Content-Length [03:43:52]Host: 172.17.32.68:8080 [03:43:52]Content-Length: 642 [03:43:52]Content-Type: application/json [03:43:52] [03:43:52]POST finish read [03:43:52]Found Content-Length = 642 [03:43:52]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242244", "tax_sys" : 0, "items" : [ { "code": "58411125749", "name": "\u0422\u0435 \u0441\u0430\u043C\u044B\u0435 \u043C\u0430\u043A\u0430\u0440\u043E\u043D", "price" : 190.00, "quantity" : 1.000, "sum" : 190.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 190.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [03:43:52]execute_script... [03:43:52]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242244", "tax_sys" : 0, "items" : [ { "code": "58411125749", "name": "\u0422\u0435 \u0441\u0430\u043C\u044B\u0435 \u043C\u0430\u043A\u0430\u0440\u043E\u043D", "price" : 190.00, "quantity" : 1.000, "sum" : 190.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 190.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [03:43:52]POST & json_proto [03:43:52]process_json_proto [03:43:52]json parsed OK: [03:43:52]protocol is kg_v1.0 [03:43:52]action value=close_receipt [03:43:52]process_action close_receipt [03:43:52]cmd_close_receipt [03:43:52]MH_GetDate [03:43:52]Write to MH i2c: F0 00 00 4C 4D 88 [03:43:52]Write i2c OK [03:43:52]MH_I2C_Read... [03:43:52]Read from MH i2c: F0 [03:43:52]MH_I2C_Read... [03:43:52]Read from MH i2c: F0 09 00 [03:43:52]MH_I2C_Read... [03:43:52]Read from MH i2c: F0 09 00 4C 4D 00 86 CF EF 65 0A 64 6E 65 7B [03:43:52]GetLastDocTimeStamp 1710214926 [03:43:52]current date 1710215046 [03:43:52]FM_GetShiftState [03:43:52]SAM_PROTO_GetShiftState [03:43:52]wFMCommunicate request_size=4 [03:43:52]MH_SAM_APDU [03:43:52]CAPDU: 80 13 01 00 [03:43:52]Write to MH i2c: E2 08 00 4D 4D 80 13 01 00 00 00 00 00 17 [03:43:52]Write i2c OK [03:43:52]MH_I2C_Read... [03:43:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:43:52]Read from MH i2c: E2 [03:43:52]MH_I2C_Read... [03:43:52]Read from MH i2c: E2 0E 00 [03:43:52]MH_I2C_Read... [03:43:52]Read from MH i2c: E2 0E 00 4D 4D 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 46 [03:43:52]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [03:43:52]wFMCommunicate OK [03:43:52]SAM_PROTO_GetShiftState done [03:43:52]FM_GetShiftState done [03:43:52]opened in 1710202417 [03:43:52]opened+sec_in_day 1710288817 [03:43:52]quantity*price = 19000 [03:43:52]sum+1 = 19001 [03:43:52]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 190.00 НСП 1% : 1.68 НДС 12% : 20.18 Наличными: 190.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 8 12.03.2024 03:44 Смена: 314 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47330 ФПД: 90399287613804 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T034406&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47330&fm=90399287613804&tin=02508201610067®Number=0000000000092018&sum=19000 0 [03:43:54]StoreToDocumentArchive [03:43:54]shift 314 fd 47330 [03:43:54]save to /storage/0314/doc_00047330 [03:43:54]save last doc name /storage/0314/doc_00047330 to /storage/kkm_last_doc_name [03:43:54]save OK [03:43:54]Clear old archive folders... [03:43:54]ProcessDocumentItem done err = 0, tmpTLVsize=270 [03:43:54]tlvbuf is 0039CAF0 [03:43:54]SAM_PROTO_ClearQueue [03:43:54]wFMCommunicate request_size=4 [03:43:54]MH_SAM_APDU [03:43:54]CAPDU: 80 09 00 00 [03:43:54]Write to MH i2c: E2 08 00 5A 4D 80 09 00 00 00 00 00 00 19 [03:43:54]Write i2c OK [03:43:54]MH_I2C_Read... [03:43:54]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [03:43:54]Read from MH i2c: E2 [03:43:54]MH_I2C_Read... [03:43:54]Read from MH i2c: E2 03 00 [03:43:54]MH_I2C_Read... [03:43:54]Read from MH i2c: E2 03 00 5A 4D 00 90 00 1B [03:43:54]RAPDU: 90 00 [03:43:54]wFMCommunicate OK [03:43:54]SAM_PROTO_ClearQueue done [03:43:54]KKMCreateOFDPacket [03:43:54]OFDProtocolAddRootSTLVToBuf [03:43:54]FM_MakeSignedData [03:43:54]FM_MakeSignedData [03:43:54]SAM_PROTO_SignData [03:43:54]wFMCommunicate request_size=4 [03:43:54]MH_SAM_APDU [03:43:54]CAPDU: 80 0D 01 02 [03:43:54]Write to MH i2c: E2 08 00 5B 4D 80 0D 01 02 00 00 00 00 21 [03:43:54]Write i2c OK [03:43:54]MH_I2C_Read... [03:43:54]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [03:43:54]Read from MH i2c: E2 [03:43:54]MH_I2C_Read... [03:43:54]Read from MH i2c: E2 03 00 [03:43:54]MH_I2C_Read... [03:43:54]Read from MH i2c: E2 03 00 5B 4D 00 90 00 1C [03:43:54]RAPDU: 90 00 [03:43:54]wFMCommunicate OK [03:43:54]wFMCommunicate request_size=255 [03:43:54]MH_SAM_APDU [03:43:54]CAPDU: 80 0D 02 02 FA 03 00 0E 01 1E 04 01 00 01 23 04 60 00 8A 04 0B 00 35 38 34 31 31 31 32 35 37 34 39 06 04 1E 00 D0 A2 D0 B5 20 D1 81 D0 B0 D0 BC D1 8B D0 B5 20 D0 BC D0 B0 D0 BA D0 B0 D1 80 D0 BE D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 38 4A 00 00 00 00 13 04 06 00 38 4A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 4A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 07 00 00 00 00 07 04 06 00 38 4A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 86 CF EF 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 [03:43:54]Write to MH i2c: E2 02 01 5C 4D 80 0D 02 02 FA 00 03 00 0E 01 1E 04 01 00 01 23 04 60 00 8A 04 0B 00 35 38 34 31 31 31 32 35 37 34 39 06 04 1E 00 D0 A2 D0 B5 20 D1 81 D0 B0 D0 BC D1 8B D0 B5 20 D0 BC D0 B0 D0 BA D0 B0 D1 80 D0 BE D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 38 4A 00 00 00 00 13 04 06 00 38 4A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 4A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 07 00 00 00 00 07 04 06 00 38 4A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 86 CF EF 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 00 00 02 [03:43:54]Write i2c OK [03:43:54]MH_I2C_Read... [03:43:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:43:54]Read from MH i2c: E2 [03:43:54]MH_I2C_Read... [03:43:54]Read from MH i2c: E2 03 00 [03:43:54]MH_I2C_Read... [03:43:54]Read from MH i2c: E2 03 00 5C 4D 00 90 00 1D [03:43:54]RAPDU: 90 00 [03:43:54]wFMCommunicate OK [03:43:54]wFMCommunicate request_size=29 [03:43:54]MH_SAM_APDU [03:43:54]CAPDU: 80 0D 02 02 18 38 37 31 38 31 36 10 04 04 00 E2 B8 00 00 35 04 06 00 52 37 B9 6D 19 6C [03:43:54]Write to MH i2c: E2 20 00 5D 4D 80 0D 02 02 18 00 38 37 31 38 31 36 10 04 04 00 E2 B8 00 00 35 04 06 00 52 37 B9 6D 19 6C 00 00 B8 [03:43:54]Write i2c OK [03:43:54]MH_I2C_Read... [03:43:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:43:54]Read from MH i2c: E2 [03:43:54]MH_I2C_Read... [03:43:54]Read from MH i2c: E2 03 00 [03:43:54]MH_I2C_Read... [03:43:54]Read from MH i2c: E2 03 00 5D 4D 00 90 00 1E [03:43:54]RAPDU: 90 00 [03:43:54]wFMCommunicate OK [03:43:54]wFMCommunicate request_size=4 [03:43:54]MH_SAM_APDU [03:43:54]CAPDU: 80 0D 03 02 [03:43:54]Write to MH i2c: E2 08 00 5E 4D 80 0D 03 02 00 00 00 00 26 [03:43:54]Write i2c OK [03:43:54]MH_I2C_Read... [03:43:54]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [03:43:54]Read from MH i2c: E2 [03:43:54]MH_I2C_Read... [03:43:54]Read from MH i2c: E2 0B 00 [03:43:54]MH_I2C_Read... [03:43:54]Read from MH i2c: E2 0B 00 5E 4D 00 13 B2 79 E8 FC F2 92 36 90 00 03 [03:43:54]RAPDU: 13 B2 79 E8 FC F2 92 36 90 00 [03:43:54]wFMCommunicate OK [03:43:54]SAM_PROTO_SignData done [03:43:54]FM_MakeSignedData done [03:43:54]CreateOFDProtocolMessage [03:43:54]wFMCommunicate request_size=4 [03:43:54]MH_SAM_APDU [03:43:54]CAPDU: 80 11 00 00 [03:43:54]Write to MH i2c: E2 08 00 5F 4D 80 11 00 00 00 00 00 00 26 [03:43:54]Write i2c OK [03:43:54]MH_I2C_Read... [03:43:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:43:54]Read from MH i2c: E2 [03:43:54]MH_I2C_Read... [03:43:54]Read from MH i2c: E2 17 00 [03:43:54]MH_I2C_Read... [03:43:54]Read from MH i2c: E2 17 00 5F 4D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 78 [03:43:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [03:43:54]wFMCommunicate OK [03:43:54]CreateOFDProtocolMessage done [03:43:54]OFDSenderStorePacket 47330 [03:43:54]StoreOFDPacket docnum=47330 [03:43:54]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 22 01 00 00 5E 90 1A 01 C2 27 5A 03 01 00 03 00 0E 01 1E 04 01 00 01 23 04 60 00 8A 04 0B 00 35 38 34 31 31 31 32 35 37 34 39 06 04 1E 00 D0 A2 D0 B5 20 D1 81 D0 B0 D0 BC D1 8B D0 B5 20 D0 BC D0 B0 D0 BA D0 B0 D1 80 D0 BE D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 38 4A 00 00 00 00 13 04 06 00 38 4A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 4A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 07 00 00 00 00 07 04 06 00 38 4A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 86 CF EF 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 E2 B8 00 00 35 04 06 00 52 37 B9 6D 19 6C 13 B2 79 E8 FC F2 92 36 [03:43:54]CheckFolder [03:43:54]dirname=/storage/ofd_packets [03:43:54]CheckFolder done [03:43:54]ProducePacketName [03:43:54]name=ofd_packets/00047330 [03:43:54]NVStorageSaveData ofd_packets/00047330 [03:43:54]File name is /storage/ofd_packets/00047330 [03:43:54]Write 320 bytes [03:43:54]NVStorageSaveData done [03:43:54]OFDSenderStorePacket done [03:43:54]KKMCreateOFDPacket done [03:43:54]NVStorageSaveData kkm_last_timestamp [03:43:54]File name is /storage/kkm_last_timestamp [03:43:54]Write 4 bytes [03:43:54]NVStorageSaveData done [03:43:54]ExternCall_PrintAddStr [03:43:54]wPrintStart [03:43:54]Write to MH i2c: 01 00 00 60 4D AD [03:43:54]Write i2c OK [03:43:54]MH_I2C_Read... [03:43:54]Read from MH i2c: 01 [03:43:54]MH_I2C_Read... [03:43:54]Read from MH i2c: 01 07 00 [03:43:54]MH_I2C_Read... [03:43:54]Read from MH i2c: 01 07 00 60 4D 00 00 00 00 00 FF 0F C2 [03:43:54]RasterBufferAndPrint [03:43:54]line Счет N : (3)242244 [03:43:54]line ИНН: 02508201610067 [03:43:54]line Контрольно-Кассовый Чек [03:43:54]line ПРОДАЖА [03:43:54]line Товар: 58411125749 [03:43:54]line Те самые макарон [03:43:54]line 1.000 * 190.00 [03:43:54]line = 190.00 [03:43:54]line НДС 12% НСП 1% [03:43:54]line > о реализуемом товаре [03:43:54]line ИТОГО: 190.00 [03:43:54]line НСП 1% : 1.68 [03:43:54]line НДС 12% : 20.18 [03:43:54]line Наличными: 190.00 [03:43:54]line Безнал.: 0.00 [03:43:54]line Место: АЗС № 15 "Партнер Нефть" [03:43:54]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [03:43:54]line СНО: Общий режим [03:43:54]line Чек 8 12.03.2024 03:44 [03:43:54]line Смена: 314 ФФД: 1.0 [03:43:54]line ЗНМ: 0300000097 [03:43:54]line РНМ: 0000000000092018 [03:43:54]line Версия ККМ: 001 [03:43:54]line ФМ: 0000000000871816 [03:43:54]line ФД: 47330 [03:43:54]line ФПД: 90399287613804 [03:43:54]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T034406&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47330&fm=90399287613804&tin=02508201610067®Number=0000000000092018&sum=19000 [03:43:54]line 0 [03:43:54]OFD Sender: Processing packet 47330 [packets to send 8, broken 7] [03:43:54]ProducePacketName [03:43:54]name=ofd_packets/00047330 [03:43:54]OFD Sender: To server: pG, [03:43:54]CommunicateWithHost lk.salyk.kg:30040 [03:43:54]ConnectInit lk.salyk.kg [03:43:54]written 0, free lines is 4095 [03:43:54]Connected sock=9 [03:43: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 31 36 22 01 00 00 5E 90 1A 01 C2 27 5A 03 01 00 03 00 0E 01 1E 04 01 00 01 23 04 60 00 8A 04 0B 00 35 38 34 31 31 31 32 35 37 34 39 06 04 1E 00 D0 A2 D0 B5 20 D1 81 D0 B0 D0 BC D1 8B D0 B5 20 D0 BC D0 B0 D0 BA D0 B0 D1 80 D0 BE D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 38 4A 00 00 00 00 13 04 06 00 38 4A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 4A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 07 00 00 00 00 07 04 06 00 38 4A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 86 CF EF 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 E2 B8 00 00 35 04 06 00 52 37 B9 6D 19 6C 13 B2 79 E8 FC F2 92 36 [03:43: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 31 36 4F 00 00 00 1D CE 47 00 94 A7 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 31 36 10 04 04 00 E2 B8 00 00 F4 03 04 00 19 7A EF 65 B6 04 01 00 00 B0 AF AA C9 FD AF 87 E4 [03:43:55]CommunicateWithHost err = 0 [03:43:55]CheckOFDResponse [03:43:55]1017 (14) - 77093643461234 [03:43:55]1041 (16) - 0000000000871816 [03:43:55]1040 (4) - 47330 [03:43:55]1012 (4) - 11.03.2024 21:39 [03:43:55]1206 (1) - 0 [03:43:55]OFD Sender: Remove packet 47330 [03:43:55]ProducePacketName [03:43:55]name=ofd_packets/00047330 [03:43:55]NVStorageDeleteData [03:43:55]Write to MH i2c: 01 00 00 88 4D D5 [03:43:55]Write i2c OK [03:43:55]MH_I2C_Read... [03:43:55]Read from MH i2c: 01 [03:43:55]MH_I2C_Read... [03:43:55]Read from MH i2c: 01 07 00 [03:43:55]MH_I2C_Read... [03:43:55]Read from MH i2c: 01 07 00 88 4D 00 00 00 00 00 F7 0C DF [03:43:55]RasterBufferAndPrint [03:43:55]line [03:43:55]line [03:43:55]line [03:43:55]line [03:43:55]line [03:43:55]written 0, free lines is 3326 [03:43:55]MH_Cut [03:43:55]Write to MH i2c: D1 01 00 8F 4D 01 AE [03:43:55]Write i2c OK [03:43:55]MH_I2C_Read... [03:43:55]Read from MH i2c: D1 [03:43:55]MH_I2C_Read... [03:43:55]Read from MH i2c: D1 01 00 [03:43:55]MH_I2C_Read... [03:43:55]Read from MH i2c: D1 01 00 8F 4D 00 AD [03:43:55]Write to MH i2c: 01 00 00 90 4D DD [03:43:55]Write i2c OK [03:43:55]MH_I2C_Read... [03:43:55]OFD Sender: No OFD packet to send [03:43:56]*** Cut start [03:43:56]*** Purtial cut [03:43:56]*** Stage 1: CUTSNS_PIN = 1 [03:43:56]Read from MH i2c: 01 [03:43:56]MH_I2C_Read... [03:43:56]*** Stop cut motor [03:43:56]*** Cut end [03:43:56]Read from MH i2c: 01 07 00 [03:43:56]MH_I2C_Read... [03:43:56]Read from MH i2c: 01 07 00 90 4D 00 00 00 00 00 FF 0F F2 [03:43:56]process_action close_receipt done [03:43:56]requested_data is exist [03:43:56]produce_requested_data [03:43:56]requested_item fm.sn is exist - process it [03:43:56]wFMCommunicate request_size=4 [03:43:56]MH_SAM_APDU [03:43:56]CAPDU: 80 11 00 00 [03:43:56]Write to MH i2c: E2 08 00 91 4D 80 11 00 00 00 00 00 00 58 [03:43:56]Write i2c OK [03:43:56]MH_I2C_Read... [03:43:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:43:56]Read from MH i2c: E2 [03:43:56]MH_I2C_Read... [03:43:56]Read from MH i2c: E2 17 00 [03:43:56]MH_I2C_Read... [03:43:56]Read from MH i2c: E2 17 00 91 4D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 AA [03:43:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [03:43:56]wFMCommunicate OK [03:43:56]requested_item fd.num is exist - process it [03:43:56]SAM_PROTO_GetFieldsCounters [03:43:56]wFMCommunicate request_size=4 [03:43:56]MH_SAM_APDU [03:43:56]CAPDU: 80 13 00 00 [03:43:56]Write to MH i2c: E2 08 00 92 4D 80 13 00 00 00 00 00 00 5B [03:43:56]Write i2c OK [03:43:56]MH_I2C_Read... [03:43:56]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [03:43:56]Read from MH i2c: E2 [03:43:56]MH_I2C_Read... [03:43:56]Read from MH i2c: E2 62 00 [03:43:56]MH_I2C_Read... [03:43:56]Read from MH i2c: E2 62 00 92 4D 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 E2 B8 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 08 00 00 00 5E 04 04 00 08 00 00 00 57 04 04 00 09 00 00 00 19 04 04 00 00 00 00 00 90 00 63 [03:43: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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 E2 B8 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 08 00 00 00 5E 04 04 00 08 00 00 00 57 04 04 00 09 00 00 00 19 04 04 00 00 00 00 00 90 00 [03:43:56]wFMCommunicate OK [03:43:56]SAM_PROTO_GetFieldsCounters done [03:43:56]requested_item shift.num is exist - process it [03:43:56]requested_item shift.opened is exist - process it [03:43:56]req_shift_opened [03:43:56]FM_GetShiftState [03:43:56]SAM_PROTO_GetShiftState [03:43:56]wFMCommunicate request_size=4 [03:43:56]MH_SAM_APDU [03:43:56]CAPDU: 80 13 01 00 [03:43:56]Write to MH i2c: E2 08 00 93 4D 80 13 01 00 00 00 00 00 5D [03:43:56]Write i2c OK [03:43:56]MH_I2C_Read... [03:43:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:43:56]Read from MH i2c: E2 [03:43:56]MH_I2C_Read... [03:43:56]Read from MH i2c: E2 0E 00 [03:43:56]MH_I2C_Read... [03:43:56]Read from MH i2c: E2 0E 00 93 4D 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 8C [03:43:56]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [03:43:56]wFMCommunicate OK [03:43:56]SAM_PROTO_GetShiftState done [03:43:56]FM_GetShiftState done [03:43:56]req_shift_opened done [03:43:56]requested_item shift.open_date is exist - process it [03:43:56]req_shift_open_date [03:43:56]req_shift_open_date done [03:43:56]produce_requested_data done [03:43:56]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47330,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [03:43:56]process_action_free close_receipt [03:43:56]json_value_free [03:43:56]json_value_free done [03:43:56]process_json_proto returns [03:43:56]Send response to host [03:43:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47330,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [03:43:56]free response buf [03:43:56]execute_script done [03:43:56]execute_script returns [03:43:56]free content buf [03:43:56]Sock 10.Close socket [03:43:56]Sock 10.Thread stoped [03:44:00]OFD Sender: No OFD packet to send [03:44:05]OFD Sender: No OFD packet to send [03:44:10]OFD Sender: No OFD packet to send [03:44:15]OFD Sender: No OFD packet to send [03:44:20]OFD Sender: No OFD packet to send [03:44:25]OFD Sender: No OFD packet to send [03:44:30]OFD Sender: No OFD packet to send [03:44:35]OFD Sender: No OFD packet to send [03:44:40]OFD Sender: No OFD packet to send [03:44:45]OFD Sender: No OFD packet to send [03:44:50]OFD Sender: No OFD packet to send [03:44:55]OFD Sender: No OFD packet to send [03:45:00]OFD Sender: No OFD packet to send [03:45:05]OFD Sender: No OFD packet to send [03:45:10]OFD Sender: No OFD packet to send [03:45:15]OFD Sender: No OFD packet to send [03:45:20]OFD Sender: No OFD packet to send [03:45:25]OFD Sender: No OFD packet to send [03:45:30]OFD Sender: No OFD packet to send [03:45:35]OFD Sender: No OFD packet to send [03:45:40]OFD Sender: No OFD packet to send [03:45:45]OFD Sender: No OFD packet to send [03:45:50]OFD Sender: No OFD packet to send [03:45:55]OFD Sender: No OFD packet to send [03:46:00]OFD Sender: No OFD packet to send [03:46:05]OFD Sender: No OFD packet to send [03:46:10]OFD Sender: No OFD packet to send [03:46:15]OFD Sender: No OFD packet to send [03:46:20]OFD Sender: No OFD packet to send [03:46:25]OFD Sender: No OFD packet to send [03:46:30]OFD Sender: No OFD packet to send [03:46:35]OFD Sender: No OFD packet to send [03:46:40]OFD Sender: No OFD packet to send [03:46:45]OFD Sender: No OFD packet to send [03:46:50]OFD Sender: No OFD packet to send [03:46:55]OFD Sender: No OFD packet to send [03:47:00]OFD Sender: No OFD packet to send [03:47:05]OFD Sender: No OFD packet to send [03:47:10]OFD Sender: No OFD packet to send [03:47:15]OFD Sender: No OFD packet to send [03:47:20]OFD Sender: No OFD packet to send [03:47:25]OFD Sender: No OFD packet to send [03:47:30]OFD Sender: No OFD packet to send [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:26]OFD Sender: No OFD packet to send [03:51:31]OFD Sender: No OFD packet to send [03:51:36]OFD Sender: No OFD packet to send [03:51:41]OFD Sender: No OFD packet to send [03:51:46]OFD Sender: No OFD packet to send [03:51:51]OFD Sender: No OFD packet to send [03:51:56]OFD Sender: No OFD packet to send [03:52:01]OFD Sender: No OFD packet to send [03:52:06]OFD Sender: No OFD packet to send [03:52:11]OFD Sender: No OFD packet to send [03:52:16]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:11]OFD Sender: No OFD packet to send [04:11:16]OFD Sender: No OFD packet to send [04:11:21]OFD Sender: No OFD packet to send [04:11:26]OFD Sender: No OFD packet to send [04:11:31]OFD Sender: No OFD packet to send [04:11:36]OFD Sender: No OFD packet to send [04:11:41]OFD Sender: No OFD packet to send [04:11:46]OFD Sender: No OFD packet to send [04:11:51]OFD Sender: No OFD packet to send [04:11:56]OFD Sender: No OFD packet to send [04:12:01]OFD Sender: No OFD packet to send [04:12:06]OFD Sender: No OFD packet to send [04:12:11]OFD Sender: No OFD packet to send [04:12:15]accept exits with 7 [04:12:15]New connection [04:12:15]New thread 3066596708 created [04:12:15]Thread 3066453348 joined [04:12:15]Waiting for new connection... [04:12:15] Sock 7.Parse request [04:12:15]Sock 7.Check first char [04:12:15]Sock 7.First char is OK [04:12:15]request: POST /json_proto HTTP/1.0 [04:12:15]Method: POST [04:12:15]URL: /json_proto [04:12:15]Method is POST - this is cgi request [04:12:15]url: /json_proto [04:12:15]query_string will be loaded in cgi processing [04:12:15]execute_cgi json_proto POST (null) [04:12:15]execute_cgi path=json_proto method=POST [04:12:15]POST find Content-Length [04:12:15]Host: 172.17.32.68:8080 [04:12:15]Content-Length: 624 [04:12:15]Content-Type: application/json [04:12:15] [04:12:15]POST finish read [04:12:15]Found Content-Length = 624 [04:12:15]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242245", "tax_sys" : 0, "items" : [ { "code": "48742245", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Silver Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [04:12:15]execute_script... [04:12:15]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242245", "tax_sys" : 0, "items" : [ { "code": "48742245", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Silver Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [04:12:15]POST & json_proto [04:12:15]process_json_proto [04:12:15]json parsed OK: [04:12:15]protocol is kg_v1.0 [04:12:15]action value=close_receipt [04:12:15]process_action close_receipt [04:12:15]cmd_close_receipt [04:12:15]MH_GetDate [04:12:15]Write to MH i2c: F0 00 00 94 4D D0 [04:12:15]Write i2c OK [04:12:15]MH_I2C_Read... [04:12:15]Read from MH i2c: F0 [04:12:15]MH_I2C_Read... [04:12:15]Read from MH i2c: F0 09 00 [04:12:15]MH_I2C_Read... [04:12:15]Read from MH i2c: F0 09 00 94 4D 00 2D D6 EF 65 0A 64 6E 65 71 [04:12:15]GetLastDocTimeStamp 1710215046 [04:12:15]current date 1710216749 [04:12:15]FM_GetShiftState [04:12:15]SAM_PROTO_GetShiftState [04:12:15]wFMCommunicate request_size=4 [04:12:15]MH_SAM_APDU [04:12:15]CAPDU: 80 13 01 00 [04:12:15]Write to MH i2c: E2 08 00 95 4D 80 13 01 00 00 00 00 00 5F [04:12:15]Write i2c OK [04:12:15]MH_I2C_Read... [04:12:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [04:12:15]Read from MH i2c: E2 [04:12:15]MH_I2C_Read... [04:12:15]Read from MH i2c: E2 0E 00 [04:12:15]MH_I2C_Read... [04:12:15]Read from MH i2c: E2 0E 00 95 4D 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 8E [04:12:15]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [04:12:15]wFMCommunicate OK [04:12:15]SAM_PROTO_GetShiftState done [04:12:15]FM_GetShiftState done [04:12:15]opened in 1710202417 [04:12:15]opened+sec_in_day 1710288817 [04:12:15]quantity*price = 14400 [04:12:15]sum+1 = 14401 [04:12:15]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 9 12.03.2024 04:12 Смена: 314 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47331 ФПД: 178118727768621 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T041229&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47331&fm=178118727768621&tin=02508201610067®Number=0000000000092018&sum=14400 0 [04:12:16]StoreToDocumentArchive [04:12:16]shift 314 fd 47331 [04:12:16]save to /storage/0314/doc_00047331 [04:12:16]save last doc name /storage/0314/doc_00047331 to /storage/kkm_last_doc_name [04:12:16]save OK [04:12:16]Clear old archive folders... [04:12:16]ProcessDocumentItem done err = 0, tmpTLVsize=276 [04:12:16]tlvbuf is 0039C710 [04:12:16]SAM_PROTO_ClearQueue [04:12:16]wFMCommunicate request_size=4 [04:12:16]MH_SAM_APDU [04:12:16]CAPDU: 80 09 00 00 [04:12:16]Write to MH i2c: E2 08 00 A2 4D 80 09 00 00 00 00 00 00 61 [04:12:16]Write i2c OK [04:12:16]MH_I2C_Read... [04:12:16]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [04:12:16]Read from MH i2c: E2 [04:12:16]MH_I2C_Read... [04:12:16]Read from MH i2c: E2 03 00 [04:12:16]MH_I2C_Read... [04:12:16]Read from MH i2c: E2 03 00 A2 4D 00 90 00 63 [04:12:16]RAPDU: 90 00 [04:12:16]wFMCommunicate OK [04:12:16]SAM_PROTO_ClearQueue done [04:12:16]KKMCreateOFDPacket [04:12:16]OFDProtocolAddRootSTLVToBuf [04:12:16]FM_MakeSignedData [04:12:16]FM_MakeSignedData [04:12:16]SAM_PROTO_SignData [04:12:16]wFMCommunicate request_size=4 [04:12:16]MH_SAM_APDU [04:12:16]CAPDU: 80 0D 01 02 [04:12:16]Write to MH i2c: E2 08 00 A3 4D 80 0D 01 02 00 00 00 00 69 [04:12:16]Write i2c OK [04:12:16]MH_I2C_Read... [04:12:17]OFD Sender: No OFD packet to send [04:12:17]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [04:12:17]Read from MH i2c: E2 [04:12:17]MH_I2C_Read... [04:12:17]Read from MH i2c: E2 03 00 [04:12:17]MH_I2C_Read... [04:12:17]Read from MH i2c: E2 03 00 A3 4D 00 90 00 64 [04:12:17]RAPDU: 90 00 [04:12:17]wFMCommunicate OK [04:12:17]wFMCommunicate request_size=255 [04:12:17]MH_SAM_APDU [04:12:17]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 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 09 00 00 00 F4 03 04 00 2D D6 EF 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 [04:12:17]Write to MH i2c: E2 02 01 A4 4D 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 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 09 00 00 00 F4 03 04 00 2D D6 EF 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 00 00 07 [04:12:17]Write i2c OK [04:12:17]MH_I2C_Read... [04:12:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [04:12:17]Read from MH i2c: E2 [04:12:17]MH_I2C_Read... [04:12:17]Read from MH i2c: E2 03 00 [04:12:17]MH_I2C_Read... [04:12:17]Read from MH i2c: E2 03 00 A4 4D 00 90 00 65 [04:12:17]RAPDU: 90 00 [04:12:17]wFMCommunicate OK [04:12:17]wFMCommunicate request_size=35 [04:12:17]MH_SAM_APDU [04:12:17]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 E3 B8 00 00 35 04 06 00 A1 FF 7F 7F 1A 2D [04:12:17]Write to MH i2c: E2 26 00 A5 4D 80 0D 02 02 1E 00 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 E3 B8 00 00 35 04 06 00 A1 FF 7F 7F 1A 2D 00 00 DE [04:12:17]Write i2c OK [04:12:17]MH_I2C_Read... [04:12:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [04:12:17]Read from MH i2c: E2 [04:12:17]MH_I2C_Read... [04:12:17]Read from MH i2c: E2 03 00 [04:12:17]MH_I2C_Read... [04:12:17]Read from MH i2c: E2 03 00 A5 4D 00 90 00 66 [04:12:17]RAPDU: 90 00 [04:12:17]wFMCommunicate OK [04:12:17]wFMCommunicate request_size=4 [04:12:17]MH_SAM_APDU [04:12:17]CAPDU: 80 0D 03 02 [04:12:17]Write to MH i2c: E2 08 00 A6 4D 80 0D 03 02 00 00 00 00 6E [04:12:17]Write i2c OK [04:12:17]MH_I2C_Read... [04:12:17]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [04:12:17]Read from MH i2c: E2 [04:12:17]MH_I2C_Read... [04:12:17]Read from MH i2c: E2 0B 00 [04:12:17]MH_I2C_Read... [04:12:17]Read from MH i2c: E2 0B 00 A6 4D 00 A4 46 01 8F FC 90 24 CB 90 00 64 [04:12:17]RAPDU: A4 46 01 8F FC 90 24 CB 90 00 [04:12:17]wFMCommunicate OK [04:12:17]SAM_PROTO_SignData done [04:12:17]FM_MakeSignedData done [04:12:17]CreateOFDProtocolMessage [04:12:17]wFMCommunicate request_size=4 [04:12:17]MH_SAM_APDU [04:12:17]CAPDU: 80 11 00 00 [04:12:17]Write to MH i2c: E2 08 00 A7 4D 80 11 00 00 00 00 00 00 6E [04:12:17]Write i2c OK [04:12:17]MH_I2C_Read... [04:12:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [04:12:17]Read from MH i2c: E2 [04:12:17]MH_I2C_Read... [04:12:17]Read from MH i2c: E2 17 00 [04:12:17]MH_I2C_Read... [04:12:17]Read from MH i2c: E2 17 00 A7 4D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 C0 [04:12:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [04:12:17]wFMCommunicate OK [04:12:17]CreateOFDProtocolMessage done [04:12:17]OFDSenderStorePacket 47331 [04:12:17]StoreOFDPacket docnum=47331 [04:12:17]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 28 01 00 00 BE 3B 20 01 2B 05 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 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 09 00 00 00 F4 03 04 00 2D D6 EF 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 E3 B8 00 00 35 04 06 00 A1 FF 7F 7F 1A 2D A4 46 01 8F FC 90 24 CB [04:12:17]CheckFolder [04:12:17]dirname=/storage/ofd_packets [04:12:17]CheckFolder done [04:12:17]ProducePacketName [04:12:17]name=ofd_packets/00047331 [04:12:17]NVStorageSaveData ofd_packets/00047331 [04:12:17]File name is /storage/ofd_packets/00047331 [04:12:17]Write 326 bytes [04:12:17]NVStorageSaveData done [04:12:17]OFDSenderStorePacket done [04:12:17]KKMCreateOFDPacket done [04:12:17]NVStorageSaveData kkm_last_timestamp [04:12:17]File name is /storage/kkm_last_timestamp [04:12:17]Write 4 bytes [04:12:17]NVStorageSaveData done [04:12:17]ExternCall_PrintAddStr [04:12:17]wPrintStart [04:12:17]Write to MH i2c: 01 00 00 A8 4D F5 [04:12:17]Write i2c OK [04:12:17]MH_I2C_Read... [04:12:17]Read from MH i2c: 01 [04:12:17]MH_I2C_Read... [04:12:17]Read from MH i2c: 01 07 00 [04:12:17]MH_I2C_Read... [04:12:17]Read from MH i2c: 01 07 00 A8 4D 00 00 00 00 00 FF 0F 0A [04:12:17]RasterBufferAndPrint [04:12:17]line Счет N : (3)242245 [04:12:17]line ИНН: 02508201610067 [04:12:17]line Контрольно-Кассовый Чек [04:12:17]line ПРОДАЖА [04:12:17]line Товар: 48742245 [04:12:17]line Сигареты Parliament Silver Blue [04:12:17]line 1.000 * 144.00 [04:12:17]line = 144.00 [04:12:17]line НДС 12% НСП 1% [04:12:17]line > о реализуемом товаре [04:12:17]line ИТОГО: 144.00 [04:12:17]line НСП 1% : 1.27 [04:12:17]line НДС 12% : 15.29 [04:12:17]line Наличными: 144.00 [04:12:17]line Безнал.: 0.00 [04:12:17]line Место: АЗС № 15 "Партнер Нефть" [04:12:17]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [04:12:17]line СНО: Общий режим [04:12:17]line Чек 9 12.03.2024 04:12 [04:12:17]line Смена: 314 ФФД: 1.0 [04:12:17]line ЗНМ: 0300000097 [04:12:17]line РНМ: 0000000000092018 [04:12:17]line Версия ККМ: 001 [04:12:17]line ФМ: 0000000000871816 [04:12:17]line ФД: 47331 [04:12:17]line ФПД: 178118727768621 [04:12:17]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T041229&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47331&fm=178118727768621&tin=02508201610067®Number=0000000000092018&sum=14400 [04:12:17]line 0 [04:12:17]OFD Sender: Processing packet 47331 [packets to send 8, broken 7] [04:12:17]ProducePacketName [04:12:17]name=ofd_packets/00047331 [04:12:17]OFD Sender: To server: pG, [04:12:17]CommunicateWithHost lk.salyk.kg:30040 [04:12:17]ConnectInit lk.salyk.kg [04:12:17]written 0, free lines is 4095 [04:12:17]Connected sock=10 [04:12:17]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 31 36 28 01 00 00 BE 3B 20 01 2B 05 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 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 09 00 00 00 F4 03 04 00 2D D6 EF 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 E3 B8 00 00 35 04 06 00 A1 FF 7F 7F 1A 2D A4 46 01 8F FC 90 24 CB [04:12:18]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 21 1C 47 00 68 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 31 36 10 04 04 00 E3 B8 00 00 F4 03 04 00 C0 80 EF 65 B6 04 01 00 00 66 17 EC 9D 66 6D DD 07 [04:12:18]CommunicateWithHost err = 0 [04:12:18]CheckOFDResponse [04:12:18]1017 (14) - 77093643461234 [04:12:18]1041 (16) - 0000000000871816 [04:12:18]1040 (4) - 47331 [04:12:18]1012 (4) - 11.03.2024 22:08 [04:12:18]1206 (1) - 0 [04:12:18]OFD Sender: Remove packet 47331 [04:12:18]ProducePacketName [04:12:18]name=ofd_packets/00047331 [04:12:18]NVStorageDeleteData [04:12:18]Write to MH i2c: 01 00 00 D1 4D 1E [04:12:18]Write i2c OK [04:12:18]MH_I2C_Read... [04:12:18]Read from MH i2c: 01 [04:12:18]MH_I2C_Read... [04:12:18]Read from MH i2c: 01 07 00 [04:12:18]MH_I2C_Read... [04:12:18]Read from MH i2c: 01 07 00 D1 4D 00 00 00 00 00 C2 0C F3 [04:12:18]RasterBufferAndPrint [04:12:18]line [04:12:18]line [04:12:18]line [04:12:18]line [04:12:18]line [04:12:18]written 0, free lines is 3270 [04:12:18]MH_Cut [04:12:18]Write to MH i2c: D1 01 00 D8 4D 01 F7 [04:12:18]Write i2c OK [04:12:18]MH_I2C_Read... [04:12:18]Read from MH i2c: D1 [04:12:18]MH_I2C_Read... [04:12:18]Read from MH i2c: D1 01 00 [04:12:18]MH_I2C_Read... [04:12:18]Read from MH i2c: D1 01 00 D8 4D 00 F6 [04:12:18]Write to MH i2c: 01 00 00 D9 4D 26 [04:12:18]Write i2c OK [04:12:18]MH_I2C_Read... [04:12:18]OFD Sender: No OFD packet to send [04:12:19]*** Cut start [04:12:19]*** Purtial cut [04:12:19]*** Stage 1: CUTSNS_PIN = 1 [04:12:19]Read from MH i2c: 01 [04:12:19]MH_I2C_Read... [04:12:19]*** Stop cut motor [04:12:19]*** Cut end [04:12:19]Read from MH i2c: 01 07 00 [04:12:19]MH_I2C_Read... [04:12:19]Read from MH i2c: 01 07 00 D9 4D 00 00 00 00 00 FF 0F 3B [04:12:19]process_action close_receipt done [04:12:19]requested_data is exist [04:12:19]produce_requested_data [04:12:19]requested_item fm.sn is exist - process it [04:12:19]wFMCommunicate request_size=4 [04:12:19]MH_SAM_APDU [04:12:19]CAPDU: 80 11 00 00 [04:12:19]Write to MH i2c: E2 08 00 DA 4D 80 11 00 00 00 00 00 00 A1 [04:12:19]Write i2c OK [04:12:19]MH_I2C_Read... [04:12:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [04:12:19]Read from MH i2c: E2 [04:12:19]MH_I2C_Read... [04:12:19]Read from MH i2c: E2 17 00 [04:12:19]MH_I2C_Read... [04:12:19]Read from MH i2c: E2 17 00 DA 4D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 F3 [04:12:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [04:12:19]wFMCommunicate OK [04:12:19]requested_item fd.num is exist - process it [04:12:19]SAM_PROTO_GetFieldsCounters [04:12:19]wFMCommunicate request_size=4 [04:12:19]MH_SAM_APDU [04:12:19]CAPDU: 80 13 00 00 [04:12:19]Write to MH i2c: E2 08 00 DB 4D 80 13 00 00 00 00 00 00 A4 [04:12:19]Write i2c OK [04:12:19]MH_I2C_Read... [04:12:19]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [04:12:19]Read from MH i2c: E2 [04:12:19]MH_I2C_Read... [04:12:19]Read from MH i2c: E2 62 00 [04:12:19]MH_I2C_Read... [04:12:19]Read from MH i2c: E2 62 00 DB 4D 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 E3 B8 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 09 00 00 00 5E 04 04 00 09 00 00 00 57 04 04 00 0A 00 00 00 19 04 04 00 00 00 00 00 90 00 B0 [04:12: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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 E3 B8 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 09 00 00 00 5E 04 04 00 09 00 00 00 57 04 04 00 0A 00 00 00 19 04 04 00 00 00 00 00 90 00 [04:12:19]wFMCommunicate OK [04:12:19]SAM_PROTO_GetFieldsCounters done [04:12:19]requested_item shift.num is exist - process it [04:12:19]requested_item shift.opened is exist - process it [04:12:19]req_shift_opened [04:12:19]FM_GetShiftState [04:12:19]SAM_PROTO_GetShiftState [04:12:19]wFMCommunicate request_size=4 [04:12:19]MH_SAM_APDU [04:12:19]CAPDU: 80 13 01 00 [04:12:19]Write to MH i2c: E2 08 00 DC 4D 80 13 01 00 00 00 00 00 A6 [04:12:19]Write i2c OK [04:12:19]MH_I2C_Read... [04:12:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [04:12:19]Read from MH i2c: E2 [04:12:19]MH_I2C_Read... [04:12:19]Read from MH i2c: E2 0E 00 [04:12:19]MH_I2C_Read... [04:12:19]Read from MH i2c: E2 0E 00 DC 4D 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 D5 [04:12:19]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [04:12:19]wFMCommunicate OK [04:12:19]SAM_PROTO_GetShiftState done [04:12:19]FM_GetShiftState done [04:12:19]req_shift_opened done [04:12:19]requested_item shift.open_date is exist - process it [04:12:19]req_shift_open_date [04:12:19]req_shift_open_date done [04:12:19]produce_requested_data done [04:12:19]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47331,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [04:12:19]process_action_free close_receipt [04:12:19]json_value_free [04:12:19]json_value_free done [04:12:19]process_json_proto returns [04:12:19]Send response to host [04:12:19]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47331,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [04:12:19]free response buf [04:12:19]execute_script done [04:12:19]execute_script returns [04:12:19]free content buf [04:12:19]Sock 7.Close socket [04:12:19]Sock 7.Thread stoped [04:12:23]OFD Sender: No OFD packet to send [04:12:28]OFD Sender: No OFD packet to send [04:12:33]OFD Sender: No OFD packet to send [04:12:38]OFD Sender: No OFD packet to send [04:12:43]OFD Sender: No OFD packet to send [04:12:48]OFD Sender: No OFD packet to send [04:12:53]OFD Sender: No OFD packet to send [04:12:58]OFD Sender: No OFD packet to send [04:13:03]OFD Sender: No OFD packet to send [04:13:08]OFD Sender: No OFD packet to send [04:13:13]OFD Sender: No OFD packet to send [04:13:18]OFD Sender: No OFD packet to send [04:13:23]OFD Sender: No OFD packet to send [04:13:28]OFD Sender: No OFD packet to send [04:13:33]OFD Sender: No OFD packet to send [04:13:38]OFD Sender: No OFD packet to send [04:13:43]OFD Sender: No OFD packet to send [04:13:48]OFD Sender: No OFD packet to send [04:13:53]OFD Sender: No OFD packet to send [04:13:58]OFD Sender: No OFD packet to send [04:14:03]OFD Sender: No OFD packet to send [04:14:08]OFD Sender: No OFD packet to send [04:14:13]OFD Sender: No OFD packet to send [04:14:18]OFD Sender: No OFD packet to send [04:14:23]OFD Sender: No OFD packet to send [04:14:28]OFD Sender: No OFD packet to send [04:14:33]OFD Sender: No OFD packet to send [04:14:38]OFD Sender: No OFD packet to send [04:14:43]OFD Sender: No OFD packet to send [04:14:48]OFD Sender: No OFD packet to send [04:14:53]OFD Sender: No OFD packet to send [04:14:58]OFD Sender: No OFD packet to send [04:15:03]OFD Sender: No OFD packet to send [04:15:08]OFD Sender: No OFD packet to send [04:15:13]OFD Sender: No OFD packet to send [04:15:18]OFD Sender: No OFD packet to send [04:15:23]OFD Sender: No OFD packet to send [04:15:28]OFD Sender: No OFD packet to send [04:15:33]OFD Sender: No OFD packet to send [04:15:38]OFD Sender: No OFD packet to send [04:15:43]OFD Sender: No OFD packet to send [04:15:48]OFD Sender: No OFD packet to send [04:15:53]OFD Sender: No OFD packet to send [04:15:58]OFD Sender: No OFD packet to send [04:16:03]OFD Sender: No OFD packet to send [04:16:08]OFD Sender: No OFD packet to send [04:16:13]OFD Sender: No OFD packet to send [04:16:18]OFD Sender: No OFD packet to send [04:16:23]OFD Sender: No OFD packet to send [04:16:28]OFD Sender: No OFD packet to send [04:16:33]OFD Sender: No OFD packet to send [04:16:38]OFD Sender: No OFD packet to send [04:16:43]OFD Sender: No OFD packet to send [04:16:48]OFD Sender: No OFD packet to send [04:16:53]OFD Sender: No OFD packet to send [04:16:58]OFD Sender: No OFD packet to send [04:17:03]OFD Sender: No OFD packet to send [04:17:08]OFD Sender: No OFD packet to send [04:17:13]OFD Sender: No OFD packet to send [04:17:18]OFD Sender: No OFD packet to send [04:17:23]OFD Sender: No OFD packet to send [04:17:28]OFD Sender: No OFD packet to send [04:17:33]OFD Sender: No OFD packet to send [04:17:38]OFD Sender: No OFD packet to send [04:17:43]OFD Sender: No OFD packet to send [04:17:48]OFD Sender: No OFD packet to send [04:17:53]OFD Sender: No OFD packet to send [04:17:58]OFD Sender: No OFD packet to send [04:18:03]OFD Sender: No OFD packet to send [04:18:08]OFD Sender: No OFD packet to send [04:18:13]OFD Sender: No OFD packet to send [04:18:18]OFD Sender: No OFD packet to send [04:18:23]OFD Sender: No OFD packet to send [04:18:28]OFD Sender: No OFD packet to send [04:18:33]OFD Sender: No OFD packet to send [04:18:38]OFD Sender: No OFD packet to send [04:18:43]OFD Sender: No OFD packet to send [04:18:48]OFD Sender: No OFD packet to send [04:18:53]OFD Sender: No OFD packet to send [04:18:58]OFD Sender: No OFD packet to send [04:19:03]OFD Sender: No OFD packet to send [04:19:08]OFD Sender: No OFD packet to send [04:19:13]OFD Sender: No OFD packet to send [04:19:18]OFD Sender: No OFD packet to send [04:19:23]OFD Sender: No OFD packet to send [04:19:28]OFD Sender: No OFD packet to send [04:19:33]OFD Sender: No OFD packet to send [04:19:38]OFD Sender: No OFD packet to send [04:19:43]OFD Sender: No OFD packet to send [04:19:48]OFD Sender: No OFD packet to send [04:19:53]OFD Sender: No OFD packet to send [04:19:58]OFD Sender: No OFD packet to send [04:20:03]OFD Sender: No OFD packet to send [04:20:08]OFD Sender: No OFD packet to send [04:20:13]OFD Sender: No OFD packet to send [04:20:18]OFD Sender: No OFD packet to send [04:20:23]OFD Sender: No OFD packet to send [04:20:28]OFD Sender: No OFD packet to send [04:20:33]OFD Sender: No OFD packet to send [04:20:38]OFD Sender: No OFD packet to send [04:20:43]OFD Sender: No OFD packet to send [04:20:48]OFD Sender: No OFD packet to send [04:20:53]OFD Sender: No OFD packet to send [04:20:58]OFD Sender: No OFD packet to send [04:21:03]OFD Sender: No OFD packet to send [04:21:08]OFD Sender: No OFD packet to send [04:21:13]OFD Sender: No OFD packet to send [04:21:18]OFD Sender: No OFD packet to send [04:21:24]OFD Sender: No OFD packet to send [04:21:29]OFD Sender: No OFD packet to send [04:21:34]OFD Sender: No OFD packet to send [04:21:39]OFD Sender: No OFD packet to send [04:21:44]OFD Sender: No OFD packet to send [04:21:49]OFD Sender: No OFD packet to send [04:21:54]OFD Sender: No OFD packet to send [04:21:59]OFD Sender: No OFD packet to send [04:22:04]OFD Sender: No OFD packet to send [04:22:09]OFD Sender: No OFD packet to send [04:22:14]OFD Sender: No OFD packet to send [04:22:19]OFD Sender: No OFD packet to send [04:22:24]OFD Sender: No OFD packet to send [04:22:29]OFD Sender: No OFD packet to send [04:22:34]OFD Sender: No OFD packet to send [04:22:39]OFD Sender: No OFD packet to send [04:22:44]OFD Sender: No OFD packet to send [04:22:49]OFD Sender: No OFD packet to send [04:22:54]OFD Sender: No OFD packet to send [04:22:59]OFD Sender: No OFD packet to send [04:23:04]OFD Sender: No OFD packet to send [04:23:09]OFD Sender: No OFD packet to send [04:23:14]OFD Sender: No OFD packet to send [04:23:19]OFD Sender: No OFD packet to send [04:23:24]OFD Sender: No OFD packet to send [04:23:29]OFD Sender: No OFD packet to send [04:23:34]OFD Sender: No OFD packet to send [04:23:39]OFD Sender: No OFD packet to send [04:23:44]OFD Sender: No OFD packet to send [04:23:49]OFD Sender: No OFD packet to send [04:23:54]OFD Sender: No OFD packet to send [04:23:59]OFD Sender: No OFD packet to send [04:24:04]OFD Sender: No OFD packet to send [04:24:09]OFD Sender: No OFD packet to send [04:24:14]OFD Sender: No OFD packet to send [04:24:19]OFD Sender: No OFD packet to send [04:24:24]OFD Sender: No OFD packet to send [04:24:29]OFD Sender: No OFD packet to send [04:24:34]OFD Sender: No OFD packet to send [04:24:39]OFD Sender: No OFD packet to send [04:24:44]OFD Sender: No OFD packet to send [04:24:49]OFD Sender: No OFD packet to send [04:24:54]OFD Sender: No OFD packet to send [04:24:59]OFD Sender: No OFD packet to send [04:25:04]OFD Sender: No OFD packet to send [04:25:09]OFD Sender: No OFD packet to send [04:25:14]OFD Sender: No OFD packet to send [04:25:19]OFD Sender: No OFD packet to send [04:25:24]OFD Sender: No OFD packet to send [04:25:29]OFD Sender: No OFD packet to send [04:25:34]OFD Sender: No OFD packet to send [04:25:39]OFD Sender: No OFD packet to send [04:25:44]OFD Sender: No OFD packet to send [04:25:49]OFD Sender: No OFD packet to send [04:25:54]OFD Sender: No OFD packet to send [04:25:59]OFD Sender: No OFD packet to send [04:26:04]OFD Sender: No OFD packet to send [04:26:09]OFD Sender: No OFD packet to send [04:26:14]OFD Sender: No OFD packet to send [04:26:19]OFD Sender: No OFD packet to send [04:26:24]OFD Sender: No OFD packet to send [04:26:29]OFD Sender: No OFD packet to send [04:26:34]OFD Sender: No OFD packet to send [04:26:39]OFD Sender: No OFD packet to send [04:26:44]OFD Sender: No OFD packet to send [04:26:49]OFD Sender: No OFD packet to send [04:26:54]OFD Sender: No OFD packet to send [04:26:59]OFD Sender: No OFD packet to send [04:27:04]OFD Sender: No OFD packet to send [04:27:09]OFD Sender: No OFD packet to send [04:27:14]OFD Sender: No OFD packet to send [04:27:19]OFD Sender: No OFD packet to send [04:27:24]OFD Sender: No OFD packet to send [04:27:29]OFD Sender: No OFD packet to send [04:27:34]OFD Sender: No OFD packet to send [04:27:39]OFD Sender: No OFD packet to send [04:27:44]OFD Sender: No OFD packet to send [04:27:49]OFD Sender: No OFD packet to send [04:27:54]OFD Sender: No OFD packet to send [04:27:59]OFD Sender: No OFD packet to send [04:28:04]OFD Sender: No OFD packet to send [04:28:09]OFD Sender: No OFD packet to send [04:28:14]OFD Sender: No OFD packet to send [04:28:19]OFD Sender: No OFD packet to send [04:28:24]OFD Sender: No OFD packet to send [04:28:29]OFD Sender: No OFD packet to send [04:28:34]OFD Sender: No OFD packet to send [04:28:39]OFD Sender: No OFD packet to send [04:28:44]OFD Sender: No OFD packet to send [04:28:49]OFD Sender: No OFD packet to send [04:28:54]OFD Sender: No OFD packet to send [04:28:59]OFD Sender: No OFD packet to send [04:29:04]OFD Sender: No OFD packet to send [04:29:09]OFD Sender: No OFD packet to send [04:29:14]OFD Sender: No OFD packet to send [04:29:19]OFD Sender: No OFD packet to send [04:29:24]OFD Sender: No OFD packet to send [04:29:29]OFD Sender: No OFD packet to send [04:29:34]OFD Sender: No OFD packet to send [04:29:39]OFD Sender: No OFD packet to send [04:29:44]OFD Sender: No OFD packet to send [04:29:49]OFD Sender: No OFD packet to send [04:29:54]OFD Sender: No OFD packet to send [04:29:59]OFD Sender: No OFD packet to send [04:30:04]OFD Sender: No OFD packet to send [04:30:09]OFD Sender: No OFD packet to send [04:30:14]OFD Sender: No OFD packet to send [04:30:19]OFD Sender: No OFD packet to send [04:30:24]OFD Sender: No OFD packet to send [04:30:29]OFD Sender: No OFD packet to send [04:30:34]OFD Sender: No OFD packet to send [04:30:39]OFD Sender: No OFD packet to send [04:30:44]OFD Sender: No OFD packet to send [04:30:49]OFD Sender: No OFD packet to send [04:30:54]OFD Sender: No OFD packet to send [04:30:59]OFD Sender: No OFD packet to send [04:31:04]OFD Sender: No OFD packet to send [04:31:09]OFD Sender: No OFD packet to send [04:31:14]OFD Sender: No OFD packet to send [04:31:19]OFD Sender: No OFD packet to send [04:31:24]OFD Sender: No OFD packet to send [04:31:29]OFD Sender: No OFD packet to send [04:31:34]OFD Sender: No OFD packet to send [04:31:39]OFD Sender: No OFD packet to send [04:31:44]OFD Sender: No OFD packet to send [04:31:49]OFD Sender: No OFD packet to send [04:31:54]OFD Sender: No OFD packet to send [04:31:59]OFD Sender: No OFD packet to send [04:32:04]OFD Sender: No OFD packet to send [04:32:09]OFD Sender: No OFD packet to send [04:32:14]OFD Sender: No OFD packet to send [04:32:19]OFD Sender: No OFD packet to send [04:32:24]OFD Sender: No OFD packet to send [04:32:29]OFD Sender: No OFD packet to send [04:32:34]OFD Sender: No OFD packet to send [04:32:39]OFD Sender: No OFD packet to send [04:32:44]OFD Sender: No OFD packet to send [04:32:49]OFD Sender: No OFD packet to send [04:32:54]OFD Sender: No OFD packet to send [04:32:59]OFD Sender: No OFD packet to send [04:33:04]OFD Sender: No OFD packet to send [04:33:09]OFD Sender: No OFD packet to send [04:33:14]OFD Sender: No OFD packet to send [04:33:19]OFD Sender: No OFD packet to send [04:33:24]OFD Sender: No OFD packet to send [04:33:29]OFD Sender: No OFD packet to send [04:33:34]OFD Sender: No OFD packet to send [04:33:39]OFD Sender: No OFD packet to send [04:33:44]OFD Sender: No OFD packet to send [04:33:49]OFD Sender: No OFD packet to send [04:33:54]OFD Sender: No OFD packet to send [04:33:59]OFD Sender: No OFD packet to send [04:34:04]OFD Sender: No OFD packet to send [04:34:09]OFD Sender: No OFD packet to send [04:34:14]OFD Sender: No OFD packet to send [04:34:19]OFD Sender: No OFD packet to send [04:34:24]OFD Sender: No OFD packet to send [04:34:29]OFD Sender: No OFD packet to send [04:34:34]OFD Sender: No OFD packet to send [04:34:39]OFD Sender: No OFD packet to send [04:34:44]OFD Sender: No OFD packet to send [04:34:49]OFD Sender: No OFD packet to send [04:34:54]OFD Sender: No OFD packet to send [04:34:59]OFD Sender: No OFD packet to send [04:35:04]OFD Sender: No OFD packet to send [04:35:09]OFD Sender: No OFD packet to send [04:35:14]OFD Sender: No OFD packet to send [04:35:19]OFD Sender: No OFD packet to send [04:35:24]OFD Sender: No OFD packet to send [04:35:29]OFD Sender: No OFD packet to send [04:35:34]OFD Sender: No OFD packet to send [04:35:39]OFD Sender: No OFD packet to send [04:35:44]OFD Sender: No OFD packet to send [04:35:49]OFD Sender: No OFD packet to send [04:35:54]OFD Sender: No OFD packet to send [04:35:59]OFD Sender: No OFD packet to send [04:36:04]OFD Sender: No OFD packet to send [04:36:09]OFD Sender: No OFD packet to send [04:36:14]OFD Sender: No OFD packet to send [04:36:19]OFD Sender: No OFD packet to send [04:36:24]OFD Sender: No OFD packet to send [04:36:29]OFD Sender: No OFD packet to send [04:36:34]OFD Sender: No OFD packet to send [04:36:39]OFD Sender: No OFD packet to send [04:36:44]OFD Sender: No OFD packet to send [04:36:49]OFD Sender: No OFD packet to send [04:36:54]OFD Sender: No OFD packet to send [04:36:59]OFD Sender: No OFD packet to send [04:37:04]OFD Sender: No OFD packet to send [04:37:09]OFD Sender: No OFD packet to send [04:37:14]OFD Sender: No OFD packet to send [04:37:19]OFD Sender: No OFD packet to send [04:37:24]OFD Sender: No OFD packet to send [04:37:29]OFD Sender: No OFD packet to send [04:37:34]OFD Sender: No OFD packet to send [04:37:39]OFD Sender: No OFD packet to send [04:37:44]OFD Sender: No OFD packet to send [04:37:49]OFD Sender: No OFD packet to send [04:37:54]OFD Sender: No OFD packet to send [04:37:59]OFD Sender: No OFD packet to send [04:38:04]OFD Sender: No OFD packet to send [04:38:09]OFD Sender: No OFD packet to send [04:38:14]OFD Sender: No OFD packet to send [04:38:19]OFD Sender: No OFD packet to send [04:38:24]OFD Sender: No OFD packet to send [04:38:29]OFD Sender: No OFD packet to send [04:38:34]OFD Sender: No OFD packet to send [04:38:39]OFD Sender: No OFD packet to send [04:38:44]OFD Sender: No OFD packet to send [04:38:49]OFD Sender: No OFD packet to send [04:38:54]OFD Sender: No OFD packet to send [04:38:59]OFD Sender: No OFD packet to send [04:39:04]OFD Sender: No OFD packet to send [04:39:09]OFD Sender: No OFD packet to send [04:39:14]OFD Sender: No OFD packet to send [04:39:19]OFD Sender: No OFD packet to send [04:39:24]OFD Sender: No OFD packet to send [04:39:29]OFD Sender: No OFD packet to send [04:39:34]OFD Sender: No OFD packet to send [04:39:39]OFD Sender: No OFD packet to send [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]OFD Sender: No OFD packet to send [04:40:09]OFD Sender: No OFD packet to send [04:40:14]OFD Sender: No OFD packet to send [04:40:19]OFD Sender: No OFD packet to send [04:40:24]OFD Sender: No OFD packet to send [04:40:29]OFD Sender: No OFD packet to send [04:40:34]OFD Sender: No OFD packet to send [04:40:39]OFD Sender: No OFD packet to send [04:40:44]OFD Sender: No OFD packet to send [04:40:49]OFD Sender: No OFD packet to send [04:40:54]OFD Sender: No OFD packet to send [04:40:59]OFD Sender: No OFD packet to send [04:41:04]OFD Sender: No OFD packet to send [04:41:09]OFD Sender: No OFD packet to send [04:41:14]OFD Sender: No OFD packet to send [04:41:19]OFD Sender: No OFD packet to send [04:41:24]OFD Sender: No OFD packet to send [04:41:29]OFD Sender: No OFD packet to send [04:41:34]OFD Sender: No OFD packet to send [04:41:39]OFD Sender: No OFD packet to send [04:41:44]OFD Sender: No OFD packet to send [04:41:49]OFD Sender: No OFD packet to send [04:41:54]OFD Sender: No OFD packet to send [04:41:59]OFD Sender: No OFD packet to send [04:42:04]OFD Sender: No OFD packet to send [04:42:09]OFD Sender: No OFD packet to send [04:42:14]OFD Sender: No OFD packet to send [04:42:19]OFD Sender: No OFD packet to send [04:42:24]OFD Sender: No OFD packet to send [04:42:29]OFD Sender: No OFD packet to send [04:42:34]OFD Sender: No OFD packet to send [04:42:39]OFD Sender: No OFD packet to send [04:42:45]OFD Sender: No OFD packet to send [04:42:50]OFD Sender: No OFD packet to send [04:42:55]OFD Sender: No OFD packet to send [04:43:00]OFD Sender: No OFD packet to send [04:43:05]OFD Sender: No OFD packet to send [04:43:10]OFD Sender: No OFD packet to send [04:43:15]OFD Sender: No OFD packet to send [04:43:20]OFD Sender: No OFD packet to send [04:43:25]OFD Sender: No OFD packet to send [04:43:30]OFD Sender: No OFD packet to send [04:43:35]OFD Sender: No OFD packet to send [04:43:40]OFD Sender: No OFD packet to send [04:43:45]OFD Sender: No OFD packet to send [04:43:50]OFD Sender: No OFD packet to send [04:43:55]OFD Sender: No OFD packet to send [04:44:00]OFD Sender: No OFD packet to send [04:44:05]OFD Sender: No OFD packet to send [04:44:10]OFD Sender: No OFD packet to send [04:44:15]OFD Sender: No OFD packet to send [04:44:20]OFD Sender: No OFD packet to send [04:44:25]OFD Sender: No OFD packet to send [04:44:30]OFD Sender: No OFD packet to send [04:44:35]OFD Sender: No OFD packet to send [04:44:40]OFD Sender: No OFD packet to send [04:44:45]OFD Sender: No OFD packet to send [04:44:50]OFD Sender: No OFD packet to send [04:44:55]OFD Sender: No OFD packet to send [04:45:00]OFD Sender: No OFD packet to send [04:45:05]OFD Sender: No OFD packet to send [04:45:10]OFD Sender: No OFD packet to send [04:45:15]OFD Sender: No OFD packet to send [04:45:20]OFD Sender: No OFD packet to send [04:45:25]OFD Sender: No OFD packet to send [04:45:30]OFD Sender: No OFD packet to send [04:45:35]OFD Sender: No OFD packet to send [04:45:40]OFD Sender: No OFD packet to send [04:45:45]OFD Sender: No OFD packet to send [04:45:50]OFD Sender: No OFD packet to send [04:45:55]OFD Sender: No OFD packet to send [04:46:00]OFD Sender: No OFD packet to send [04:46:05]OFD Sender: No OFD packet to send [04:46:10]OFD Sender: No OFD packet to send [04:46:15]OFD Sender: No OFD packet to send [04:46:20]OFD Sender: No OFD packet to send [04:46:25]OFD Sender: No OFD packet to send [04:46:30]OFD Sender: No OFD packet to send [04:46:35]OFD Sender: No OFD packet to send [04:46:40]OFD Sender: No OFD packet to send [04:46:45]OFD Sender: No OFD packet to send [04:46:50]OFD Sender: No OFD packet to send [04:46:55]OFD Sender: No OFD packet to send [04:47:00]OFD Sender: No OFD packet to send [04:47:05]OFD Sender: No OFD packet to send [04:47:10]OFD Sender: No OFD packet to send [04:47:15]OFD Sender: No OFD packet to send [04:47:20]OFD Sender: No OFD packet to send [04:47:25]OFD Sender: No OFD packet to send [04:47:30]OFD Sender: No OFD packet to send [04:47:35]OFD Sender: No OFD packet to send [04:47:40]OFD Sender: No OFD packet to send [04:47:45]OFD Sender: No OFD packet to send [04:47:50]OFD Sender: No OFD packet to send [04:47:55]OFD Sender: No OFD packet to send [04:48:00]OFD Sender: No OFD packet to send [04:48:05]OFD Sender: No OFD packet to send [04:48:10]OFD Sender: No OFD packet to send [04:48:15]OFD Sender: No OFD packet to send [04:48:20]OFD Sender: No OFD packet to send [04:48:25]OFD Sender: No OFD packet to send [04:48:30]OFD Sender: No OFD packet to send [04:48:35]OFD Sender: No OFD packet to send [04:48:40]OFD Sender: No OFD packet to send [04:48:45]OFD Sender: No OFD packet to send [04:48:50]OFD Sender: No OFD packet to send [04:48:55]OFD Sender: No OFD packet to send [04:49:00]OFD Sender: No OFD packet to send [04:49:05]OFD Sender: No OFD packet to send [04:49:10]OFD Sender: No OFD packet to send [04:49:15]OFD Sender: No OFD packet to send [04:49:20]OFD Sender: No OFD packet to send [04:49:25]OFD Sender: No OFD packet to send [04:49:30]OFD Sender: No OFD packet to send [04:49:35]OFD Sender: No OFD packet to send [04:49:40]OFD Sender: No OFD packet to send [04:49:45]OFD Sender: No OFD packet to send [04:49:50]OFD Sender: No OFD packet to send [04:49:55]OFD Sender: No OFD packet to send [04:50:00]OFD Sender: No OFD packet to send [04:50:05]OFD Sender: No OFD packet to send [04:50:10]OFD Sender: No OFD packet to send [04:50:15]OFD Sender: No OFD packet to send [04:50:20]OFD Sender: No OFD packet to send [04:50:25]OFD Sender: No OFD packet to send [04:50:30]OFD Sender: No OFD packet to send [04:50:35]OFD Sender: No OFD packet to send [04:50:40]OFD Sender: No OFD packet to send [04:50:45]OFD Sender: No OFD packet to send [04:50:50]OFD Sender: No OFD packet to send [04:50:55]OFD Sender: No OFD packet to send [04:51:00]OFD Sender: No OFD packet to send [04:51:05]OFD Sender: No OFD packet to send [04:51:10]OFD Sender: No OFD packet to send [04:51:15]OFD Sender: No OFD packet to send [04:51:20]OFD Sender: No OFD packet to send [04:51:25]OFD Sender: No OFD packet to send [04:51:30]OFD Sender: No OFD packet to send [04:51:35]OFD Sender: No OFD packet to send [04:51:40]OFD Sender: No OFD packet to send [04:51:45]OFD Sender: No OFD packet to send [04:51:50]OFD Sender: No OFD packet to send [04:51:55]OFD Sender: No OFD packet to send [04:52:00]OFD Sender: No OFD packet to send [04:52:05]OFD Sender: No OFD packet to send [04:52:10]OFD Sender: No OFD packet to send [04:52:15]OFD Sender: No OFD packet to send [04:52:20]OFD Sender: No OFD packet to send [04:52:25]OFD Sender: No OFD packet to send [04:52:30]OFD Sender: No OFD packet to send [04:52:35]OFD Sender: No OFD packet to send [04:52:40]OFD Sender: No OFD packet to send [04:52:45]OFD Sender: No OFD packet to send [04:52:50]OFD Sender: No OFD packet to send [04:52:55]OFD Sender: No OFD packet to send [04:53:00]OFD Sender: No OFD packet to send [04:53:05]OFD Sender: No OFD packet to send [04:53:10]OFD Sender: No OFD packet to send [04:53:15]OFD Sender: No OFD packet to send [04:53:20]OFD Sender: No OFD packet to send [04:53:25]OFD Sender: No OFD packet to send [04:53:30]OFD Sender: No OFD packet to send [04:53:35]OFD Sender: No OFD packet to send [04:53:40]OFD Sender: No OFD packet to send [04:53:45]OFD Sender: No OFD packet to send [04:53:50]OFD Sender: No OFD packet to send [04:53:55]OFD Sender: No OFD packet to send [04:54:00]OFD Sender: No OFD packet to send [04:54:05]OFD Sender: No OFD packet to send [04:54:10]OFD Sender: No OFD packet to send [04:54:15]OFD Sender: No OFD packet to send [04:54:20]OFD Sender: No OFD packet to send [04:54:25]OFD Sender: No OFD packet to send [04:54:30]OFD Sender: No OFD packet to send [04:54:35]OFD Sender: No OFD packet to send [04:54:40]OFD Sender: No OFD packet to send [04:54:45]OFD Sender: No OFD packet to send [04:54:50]OFD Sender: No OFD packet to send [04:54:55]OFD Sender: No OFD packet to send [04:55:00]OFD Sender: No OFD packet to send [04:55:05]OFD Sender: No OFD packet to send [04:55:10]OFD Sender: No OFD packet to send [04:55:15]OFD Sender: No OFD packet to send [04:55:20]OFD Sender: No OFD packet to send [04:55:25]OFD Sender: No OFD packet to send [04:55:30]OFD Sender: No OFD packet to send [04:55:35]OFD Sender: No OFD packet to send [04:55:40]OFD Sender: No OFD packet to send [04:55:45]OFD Sender: No OFD packet to send [04:55:50]OFD Sender: No OFD packet to send [04:55:55]OFD Sender: No OFD packet to send [04:56:00]OFD Sender: No OFD packet to send [04:56:05]OFD Sender: No OFD packet to send [04:56:10]OFD Sender: No OFD packet to send [04:56:15]OFD Sender: No OFD packet to send [04:56:20]OFD Sender: No OFD packet to send [04:56:25]OFD Sender: No OFD packet to send [04:56:30]OFD Sender: No OFD packet to send [04:56:35]OFD Sender: No OFD packet to send [04:56:40]OFD Sender: No OFD packet to send [04:56:45]OFD Sender: No OFD packet to send [04:56:50]OFD Sender: No OFD packet to send [04:56:55]OFD Sender: No OFD packet to send [04:57:00]OFD Sender: No OFD packet to send [04:57:05]OFD Sender: No OFD packet to send [04:57:10]OFD Sender: No OFD packet to send [04:57:15]OFD Sender: No OFD packet to send [04:57:20]OFD Sender: No OFD packet to send [04:57:25]OFD Sender: No OFD packet to send [04:57:30]OFD Sender: No OFD packet to send [04:57:35]OFD Sender: No OFD packet to send [04:57:40]OFD Sender: No OFD packet to send [04:57:45]OFD Sender: No OFD packet to send [04:57:50]OFD Sender: No OFD packet to send [04:57:55]OFD Sender: No OFD packet to send [04:58:00]OFD Sender: No OFD packet to send [04:58:05]OFD Sender: No OFD packet to send [04:58:10]OFD Sender: No OFD packet to send [04:58:15]OFD Sender: No OFD packet to send [04:58:20]OFD Sender: No OFD packet to send [04:58:25]OFD Sender: No OFD packet to send [04:58:30]OFD Sender: No OFD packet to send [04:58:35]OFD Sender: No OFD packet to send [04:58:40]OFD Sender: No OFD packet to send [04:58:45]OFD Sender: No OFD packet to send [04:58:50]OFD Sender: No OFD packet to send [04:58:55]OFD Sender: No OFD packet to send [04:59:00]OFD Sender: No OFD packet to send [04:59:05]OFD Sender: No OFD packet to send [04:59:10]OFD Sender: No OFD packet to send [04:59:15]OFD Sender: No OFD packet to send [04:59:20]OFD Sender: No OFD packet to send [04:59:25]OFD Sender: No OFD packet to send [04:59:30]OFD Sender: No OFD packet to send [04:59:35]OFD Sender: No OFD packet to send [04:59:40]OFD Sender: No OFD packet to send [04:59:45]OFD Sender: No OFD packet to send [04:59:50]OFD Sender: No OFD packet to send [04:59:55]OFD Sender: No OFD packet to send [05:00:00]OFD Sender: No OFD packet to send [05:00:05]OFD Sender: No OFD packet to send [05:00:10]OFD Sender: No OFD packet to send [05:00:15]OFD Sender: No OFD packet to send [05:00:20]OFD Sender: No OFD packet to send [05:00:25]OFD Sender: No OFD packet to send [05:00:30]OFD Sender: No OFD packet to send [05:00:35]OFD Sender: No OFD packet to send [05:00:40]OFD Sender: No OFD packet to send [05:00:45]OFD Sender: No OFD packet to send [05:00:50]OFD Sender: No OFD packet to send [05:00:55]OFD Sender: No OFD packet to send [05:01:00]OFD Sender: No OFD packet to send [05:01:05]OFD Sender: No OFD packet to send [05:01:10]OFD Sender: No OFD packet to send [05:01:15]OFD Sender: No OFD packet to send [05:01:20]OFD Sender: No OFD packet to send [05:01:25]OFD Sender: No OFD packet to send [05:01:30]OFD Sender: No OFD packet to send [05:01:35]OFD Sender: No OFD packet to send [05:01:40]OFD Sender: No OFD packet to send [05:01:45]OFD Sender: No OFD packet to send [05:01:50]OFD Sender: No OFD packet to send [05:01:55]OFD Sender: No OFD packet to send [05:02:00]OFD Sender: No OFD packet to send [05:02:05]OFD Sender: No OFD packet to send [05:02:10]OFD Sender: No OFD packet to send [05:02:15]OFD Sender: No OFD packet to send [05:02:20]OFD Sender: No OFD packet to send [05:02:25]OFD Sender: No OFD packet to send [05:02:30]OFD Sender: No OFD packet to send [05:02:35]OFD Sender: No OFD packet to send [05:02:40]OFD Sender: No OFD packet to send [05:02:45]OFD Sender: No OFD packet to send [05:02:50]OFD Sender: No OFD packet to send [05:02:55]OFD Sender: No OFD packet to send [05:03:00]OFD Sender: No OFD packet to send [05:03:05]OFD Sender: No OFD packet to send [05:03:10]OFD Sender: No OFD packet to send [05:03:15]OFD Sender: No OFD packet to send [05:03:20]OFD Sender: No OFD packet to send [05:03:25]OFD Sender: No OFD packet to send [05:03:30]OFD Sender: No OFD packet to send [05:03:35]OFD Sender: No OFD packet to send [05:03:40]OFD Sender: No OFD packet to send [05:03:45]OFD Sender: No OFD packet to send [05:03:50]OFD Sender: No OFD packet to send [05:03:55]OFD Sender: No OFD packet to send [05:04:01]OFD Sender: No OFD packet to send [05:04:06]OFD Sender: No OFD packet to send [05:04:11]OFD Sender: No OFD packet to send [05:04:16]OFD Sender: No OFD packet to send [05:04:21]OFD Sender: No OFD packet to send [05:04:26]OFD Sender: No OFD packet to send [05:04:31]OFD Sender: No OFD packet to send [05:04:36]OFD Sender: No OFD packet to send [05:04:41]OFD Sender: No OFD packet to send [05:04:46]OFD Sender: No OFD packet to send [05:04:51]OFD Sender: No OFD packet to send [05:04:56]OFD Sender: No OFD packet to send [05:05:01]OFD Sender: No OFD packet to send [05:05:06]OFD Sender: No OFD packet to send [05:05:11]OFD Sender: No OFD packet to send [05:05:16]OFD Sender: No OFD packet to send [05:05:21]OFD Sender: No OFD packet to send [05:05:26]OFD Sender: No OFD packet to send [05:05:31]OFD Sender: No OFD packet to send [05:05:36]OFD Sender: No OFD packet to send [05:05:41]OFD Sender: No OFD packet to send [05:05:46]OFD Sender: No OFD packet to send [05:05:51]OFD Sender: No OFD packet to send [05:05:56]OFD Sender: No OFD packet to send [05:06:01]OFD Sender: No OFD packet to send [05:06:06]OFD Sender: No OFD packet to send [05:06:11]OFD Sender: No OFD packet to send [05:06:16]OFD Sender: No OFD packet to send [05:06:21]OFD Sender: No OFD packet to send [05:06:26]OFD Sender: No OFD packet to send [05:06:31]OFD Sender: No OFD packet to send [05:06:36]OFD Sender: No OFD packet to send [05:06:41]OFD Sender: No OFD packet to send [05:06:46]OFD Sender: No OFD packet to send [05:06:51]OFD Sender: No OFD packet to send [05:06:56]OFD Sender: No OFD packet to send [05:07:01]OFD Sender: No OFD packet to send [05:07:06]OFD Sender: No OFD packet to send [05:07:11]OFD Sender: No OFD packet to send [05:07:16]OFD Sender: No OFD packet to send [05:07:21]OFD Sender: No OFD packet to send [05:07:26]OFD Sender: No OFD packet to send [05:07:31]OFD Sender: No OFD packet to send [05:07:36]OFD Sender: No OFD packet to send [05:07:41]OFD Sender: No OFD packet to send [05:07:46]OFD Sender: No OFD packet to send [05:07:51]OFD Sender: No OFD packet to send [05:07:56]OFD Sender: No OFD packet to send [05:08:01]OFD Sender: No OFD packet to send [05:08:06]OFD Sender: No OFD packet to send [05:08:11]OFD Sender: No OFD packet to send [05:08:16]OFD Sender: No OFD packet to send [05:08:21]OFD Sender: No OFD packet to send [05:08:26]OFD Sender: No OFD packet to send [05:08:31]OFD Sender: No OFD packet to send [05:08:36]OFD Sender: No OFD packet to send [05:08:41]OFD Sender: No OFD packet to send [05:08:46]OFD Sender: No OFD packet to send [05:08:51]OFD Sender: No OFD packet to send [05:08:56]OFD Sender: No OFD packet to send [05:09:01]OFD Sender: No OFD packet to send [05:09:06]OFD Sender: No OFD packet to send [05:09:11]OFD Sender: No OFD packet to send [05:09:16]OFD Sender: No OFD packet to send [05:09:21]OFD Sender: No OFD packet to send [05:09:26]OFD Sender: No OFD packet to send [05:09:31]OFD Sender: No OFD packet to send [05:09:36]OFD Sender: No OFD packet to send [05:09:41]OFD Sender: No OFD packet to send [05:09:46]OFD Sender: No OFD packet to send [05:09:51]OFD Sender: No OFD packet to send [05:09:56]OFD Sender: No OFD packet to send [05:10:01]OFD Sender: No OFD packet to send [05:10:06]OFD Sender: No OFD packet to send [05:10:11]OFD Sender: No OFD packet to send [05:10:16]OFD Sender: No OFD packet to send [05:10:21]OFD Sender: No OFD packet to send [05:10:26]OFD Sender: No OFD packet to send [05:10:31]OFD Sender: No OFD packet to send [05:10:36]OFD Sender: No OFD packet to send [05:10:41]OFD Sender: No OFD packet to send [05:10:46]OFD Sender: No OFD packet to send [05:10:51]OFD Sender: No OFD packet to send [05:10:56]OFD Sender: No OFD packet to send [05:11:01]OFD Sender: No OFD packet to send [05:11:06]OFD Sender: No OFD packet to send [05:11:11]OFD Sender: No OFD packet to send [05:11:16]OFD Sender: No OFD packet to send [05:11:21]OFD Sender: No OFD packet to send [05:11:26]OFD Sender: No OFD packet to send [05:11:31]OFD Sender: No OFD packet to send [05:11:36]OFD Sender: No OFD packet to send [05:11:41]OFD Sender: No OFD packet to send [05:11:46]OFD Sender: No OFD packet to send [05:11:51]OFD Sender: No OFD packet to send [05:11:56]OFD Sender: No OFD packet to send [05:12:01]OFD Sender: No OFD packet to send [05:12:06]OFD Sender: No OFD packet to send [05:12:11]OFD Sender: No OFD packet to send [05:12:16]OFD Sender: No OFD packet to send [05:12:21]OFD Sender: No OFD packet to send [05:12:26]OFD Sender: No OFD packet to send [05:12:31]OFD Sender: No OFD packet to send [05:12:36]OFD Sender: No OFD packet to send [05:12:41]OFD Sender: No OFD packet to send [05:12:46]OFD Sender: No OFD packet to send [05:12:51]OFD Sender: No OFD packet to send [05:12:56]OFD Sender: No OFD packet to send [05:13:01]OFD Sender: No OFD packet to send [05:13:06]OFD Sender: No OFD packet to send [05:13:11]OFD Sender: No OFD packet to send [05:13:16]OFD Sender: No OFD packet to send [05:13:21]OFD Sender: No OFD packet to send [05:13:26]OFD Sender: No OFD packet to send [05:13:31]OFD Sender: No OFD packet to send [05:13:36]OFD Sender: No OFD packet to send [05:13:41]OFD Sender: No OFD packet to send [05:13:46]OFD Sender: No OFD packet to send [05:13:51]OFD Sender: No OFD packet to send [05:13:56]OFD Sender: No OFD packet to send [05:14:01]OFD Sender: No OFD packet to send [05:14:06]OFD Sender: No OFD packet to send [05:14:11]OFD Sender: No OFD packet to send [05:14:16]OFD Sender: No OFD packet to send [05:14:21]OFD Sender: No OFD packet to send [05:14:26]OFD Sender: No OFD packet to send [05:14:31]OFD Sender: No OFD packet to send [05:14:36]OFD Sender: No OFD packet to send [05:14:41]OFD Sender: No OFD packet to send [05:14:46]OFD Sender: No OFD packet to send [05:14:51]OFD Sender: No OFD packet to send [05:14:56]OFD Sender: No OFD packet to send [05:15:01]OFD Sender: No OFD packet to send [05:15:06]OFD Sender: No OFD packet to send [05:15:11]OFD Sender: No OFD packet to send [05:15:16]OFD Sender: No OFD packet to send [05:15:21]OFD Sender: No OFD packet to send [05:15:26]OFD Sender: No OFD packet to send [05:15:31]OFD Sender: No OFD packet to send [05:15:36]OFD Sender: No OFD packet to send [05:15:41]OFD Sender: No OFD packet to send [05:15:46]OFD Sender: No OFD packet to send [05:15:51]OFD Sender: No OFD packet to send [05:15:56]OFD Sender: No OFD packet to send [05:16:01]OFD Sender: No OFD packet to send [05:16:06]OFD Sender: No OFD packet to send [05:16:11]OFD Sender: No OFD packet to send [05:16:16]OFD Sender: No OFD packet to send [05:16:21]OFD Sender: No OFD packet to send [05:16:26]OFD Sender: No OFD packet to send [05:16:31]OFD Sender: No OFD packet to send [05:16:36]OFD Sender: No OFD packet to send [05:16:41]OFD Sender: No OFD packet to send [05:16:46]OFD Sender: No OFD packet to send [05:16:51]OFD Sender: No OFD packet to send [05:16:56]OFD Sender: No OFD packet to send [05:17:01]OFD Sender: No OFD packet to send [05:17:06]OFD Sender: No OFD packet to send [05:17:11]OFD Sender: No OFD packet to send [05:17:16]OFD Sender: No OFD packet to send [05:17:21]OFD Sender: No OFD packet to send [05:17:26]OFD Sender: No OFD packet to send [05:17:31]OFD Sender: No OFD packet to send [05:17:36]OFD Sender: No OFD packet to send [05:17:41]OFD Sender: No OFD packet to send [05:17:46]OFD Sender: No OFD packet to send [05:17:51]OFD Sender: No OFD packet to send [05:17:56]OFD Sender: No OFD packet to send [05:18:01]OFD Sender: No OFD packet to send [05:18:06]OFD Sender: No OFD packet to send [05:18:11]OFD Sender: No OFD packet to send [05:18:16]OFD Sender: No OFD packet to send [05:18:21]OFD Sender: No OFD packet to send [05:18:26]OFD Sender: No OFD packet to send [05:18:31]OFD Sender: No OFD packet to send [05:18:36]OFD Sender: No OFD packet to send [05:18:41]OFD Sender: No OFD packet to send [05:18:46]OFD Sender: No OFD packet to send [05:18:51]OFD Sender: No OFD packet to send [05:18:56]OFD Sender: No OFD packet to send [05:19:01]OFD Sender: No OFD packet to send [05:19:06]OFD Sender: No OFD packet to send [05:19:11]OFD Sender: No OFD packet to send [05:19:16]OFD Sender: No OFD packet to send [05:19:21]OFD Sender: No OFD packet to send [05:19:26]OFD Sender: No OFD packet to send [05:19:31]OFD Sender: No OFD packet to send [05:19:36]OFD Sender: No OFD packet to send [05:19:41]OFD Sender: No OFD packet to send [05:19:46]OFD Sender: No OFD packet to send [05:19:51]OFD Sender: No OFD packet to send [05:19:56]OFD Sender: No OFD packet to send [05:20:01]OFD Sender: No OFD packet to send [05:20:06]OFD Sender: No OFD packet to send [05:20:11]OFD Sender: No OFD packet to send [05:20:16]OFD Sender: No OFD packet to send [05:20:21]OFD Sender: No OFD packet to send [05:20:26]OFD Sender: No OFD packet to send [05:20:31]OFD Sender: No OFD packet to send [05:20:36]OFD Sender: No OFD packet to send [05:20:41]OFD Sender: No OFD packet to send [05:20:46]OFD Sender: No OFD packet to send [05:20:51]OFD Sender: No OFD packet to send [05:20:56]OFD Sender: No OFD packet to send [05:21:01]OFD Sender: No OFD packet to send [05:21:06]OFD Sender: No OFD packet to send [05:21:11]OFD Sender: No OFD packet to send [05:21:16]OFD Sender: No OFD packet to send [05:21:21]OFD Sender: No OFD packet to send [05:21:26]OFD Sender: No OFD packet to send [05:21:31]OFD Sender: No OFD packet to send [05:21:36]OFD Sender: No OFD packet to send [05:21:41]OFD Sender: No OFD packet to send [05:21:46]OFD Sender: No OFD packet to send [05:21:51]OFD Sender: No OFD packet to send [05:21:56]OFD Sender: No OFD packet to send [05:22:01]OFD Sender: No OFD packet to send [05:22:06]OFD Sender: No OFD packet to send [05:22:11]OFD Sender: No OFD packet to send [05:22:16]OFD Sender: No OFD packet to send [05:22:21]OFD Sender: No OFD packet to send [05:22:26]OFD Sender: No OFD packet to send [05:22:31]OFD Sender: No OFD packet to send [05:22:36]OFD Sender: No OFD packet to send [05:22:41]OFD Sender: No OFD packet to send [05:22:46]OFD Sender: No OFD packet to send [05:22:51]OFD Sender: No OFD packet to send [05:22:56]OFD Sender: No OFD packet to send [05:23:01]OFD Sender: No OFD packet to send [05:23:06]OFD Sender: No OFD packet to send [05:23:11]OFD Sender: No OFD packet to send [05:23:16]OFD Sender: No OFD packet to send [05:23:21]OFD Sender: No OFD packet to send [05:23:26]OFD Sender: No OFD packet to send [05:23:31]OFD Sender: No OFD packet to send [05:23:36]OFD Sender: No OFD packet to send [05:23:41]OFD Sender: No OFD packet to send [05:23:46]OFD Sender: No OFD packet to send [05:23:51]OFD Sender: No OFD packet to send [05:23:56]OFD Sender: No OFD packet to send [05:24:01]OFD Sender: No OFD packet to send [05:24:06]OFD Sender: No OFD packet to send [05:24:11]OFD Sender: No OFD packet to send [05:24:16]OFD Sender: No OFD packet to send [05:24:21]OFD Sender: No OFD packet to send [05:24:26]OFD Sender: No OFD packet to send [05:24:31]OFD Sender: No OFD packet to send [05:24:36]OFD Sender: No OFD packet to send [05:24:41]OFD Sender: No OFD packet to send [05:24:46]OFD Sender: No OFD packet to send [05:24:51]OFD Sender: No OFD packet to send [05:24:56]OFD Sender: No OFD packet to send [05:25:01]OFD Sender: No OFD packet to send [05:25:06]OFD Sender: No OFD packet to send [05:25:11]OFD Sender: No OFD packet to send [05:25:16]OFD Sender: No OFD packet to send [05:25:21]OFD Sender: No OFD packet to send [05:25:26]OFD Sender: No OFD packet to send [05:25:31]OFD Sender: No OFD packet to send [05:25:36]OFD Sender: No OFD packet to send [05:25:41]OFD Sender: No OFD packet to send [05:25:46]OFD Sender: No OFD packet to send [05:25:52]OFD Sender: No OFD packet to send [05:25:57]OFD Sender: No OFD packet to send [05:26:02]OFD Sender: No OFD packet to send [05:26:07]OFD Sender: No OFD packet to send [05:26:12]OFD Sender: No OFD packet to send [05:26:17]OFD Sender: No OFD packet to send [05:26:22]OFD Sender: No OFD packet to send [05:26:27]OFD Sender: No OFD packet to send [05:26:32]OFD Sender: No OFD packet to send [05:26:37]OFD Sender: No OFD packet to send [05:26:42]OFD Sender: No OFD packet to send [05:26:47]OFD Sender: No OFD packet to send [05:26:52]OFD Sender: No OFD packet to send [05:26:57]OFD Sender: No OFD packet to send [05:27:02]OFD Sender: No OFD packet to send [05:27:07]OFD Sender: No OFD packet to send [05:27:12]OFD Sender: No OFD packet to send [05:27:17]OFD Sender: No OFD packet to send [05:27:22]OFD Sender: No OFD packet to send [05:27:27]OFD Sender: No OFD packet to send [05:27:32]OFD Sender: No OFD packet to send [05:27:37]OFD Sender: No OFD packet to send [05:27:42]OFD Sender: No OFD packet to send [05:27:47]OFD Sender: No OFD packet to send [05:27:52]OFD Sender: No OFD packet to send [05:27:57]OFD Sender: No OFD packet to send [05:28:02]OFD Sender: No OFD packet to send [05:28:07]OFD Sender: No OFD packet to send [05:28:12]OFD Sender: No OFD packet to send [05:28:17]OFD Sender: No OFD packet to send [05:28:22]OFD Sender: No OFD packet to send [05:28:27]OFD Sender: No OFD packet to send [05:28:32]OFD Sender: No OFD packet to send [05:28:37]OFD Sender: No OFD packet to send [05:28:42]OFD Sender: No OFD packet to send [05:28:47]OFD Sender: No OFD packet to send [05:28:52]OFD Sender: No OFD packet to send [05:28:57]OFD Sender: No OFD packet to send [05:29:02]OFD Sender: No OFD packet to send [05:29:07]OFD Sender: No OFD packet to send [05:29:12]OFD Sender: No OFD packet to send [05:29:17]OFD Sender: No OFD packet to send [05:29:22]OFD Sender: No OFD packet to send [05:29:27]OFD Sender: No OFD packet to send [05:29:32]OFD Sender: No OFD packet to send [05:29:37]OFD Sender: No OFD packet to send [05:29:42]OFD Sender: No OFD packet to send [05:29:47]OFD Sender: No OFD packet to send [05:29:52]OFD Sender: No OFD packet to send [05:29:57]OFD Sender: No OFD packet to send [05:30:02]OFD Sender: No OFD packet to send [05:30:07]OFD Sender: No OFD packet to send [05:30:12]OFD Sender: No OFD packet to send [05:30:17]OFD Sender: No OFD packet to send [05:30:22]OFD Sender: No OFD packet to send [05:30:27]OFD Sender: No OFD packet to send [05:30:32]OFD Sender: No OFD packet to send [05:30:37]OFD Sender: No OFD packet to send [05:30:42]OFD Sender: No OFD packet to send [05:30:47]OFD Sender: No OFD packet to send [05:30:52]OFD Sender: No OFD packet to send [05:30:57]OFD Sender: No OFD packet to send [05:31:02]OFD Sender: No OFD packet to send [05:31:07]OFD Sender: No OFD packet to send [05:31:12]OFD Sender: No OFD packet to send [05:31:17]OFD Sender: No OFD packet to send [05:31:22]OFD Sender: No OFD packet to send [05:31:27]OFD Sender: No OFD packet to send [05:31:32]OFD Sender: No OFD packet to send [05:31:37]OFD Sender: No OFD packet to send [05:31:42]OFD Sender: No OFD packet to send [05:31:47]OFD Sender: No OFD packet to send [05:31:52]OFD Sender: No OFD packet to send [05:31:57]OFD Sender: No OFD packet to send [05:32:02]OFD Sender: No OFD packet to send [05:32:07]OFD Sender: No OFD packet to send [05:32:12]OFD Sender: No OFD packet to send [05:32:17]OFD Sender: No OFD packet to send [05:32:22]OFD Sender: No OFD packet to send [05:32:27]OFD Sender: No OFD packet to send [05:32:32]OFD Sender: No OFD packet to send [05:32:37]OFD Sender: No OFD packet to send [05:32:42]OFD Sender: No OFD packet to send [05:32:47]OFD Sender: No OFD packet to send [05:32:52]OFD Sender: No OFD packet to send [05:32:57]OFD Sender: No OFD packet to send [05:33:02]OFD Sender: No OFD packet to send [05:33:07]OFD Sender: No OFD packet to send [05:33:12]OFD Sender: No OFD packet to send [05:33:17]OFD Sender: No OFD packet to send [05:33:21]accept exits with 9 [05:33:21]New connection [05:33:21]New thread 3066453348 created [05:33:21]Thread 3066596708 joined [05:33:21]Waiting for new connection... [05:33:21] Sock 9.Parse request [05:33:21]Sock 9.Check first char [05:33:21]Sock 9.First char is OK [05:33:21]request: POST /json_proto HTTP/1.0 [05:33:21]Method: POST [05:33:21]URL: /json_proto [05:33:21]Method is POST - this is cgi request [05:33:21]url: /json_proto [05:33:21]query_string will be loaded in cgi processing [05:33:21]execute_cgi json_proto POST (null) [05:33:21]execute_cgi path=json_proto method=POST [05:33:21]POST find Content-Length [05:33:21]Host: 172.17.32.68:8080 [05:33:21]Content-Length: 642 [05:33:21]Content-Type: application/json [05:33:21] [05:33:21]POST finish read [05:33:21]Found Content-Length = 642 [05:33:21]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242246", "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" ] } } [05:33:21]execute_script... [05:33: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)242246", "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" ] } } [05:33:21]POST & json_proto [05:33:21]process_json_proto [05:33:21]json parsed OK: [05:33:21]protocol is kg_v1.0 [05:33:21]action value=close_receipt [05:33:21]process_action close_receipt [05:33:21]cmd_close_receipt [05:33:21]MH_GetDate [05:33:21]Write to MH i2c: F0 00 00 DD 4D 19 [05:33:21]Write i2c OK [05:33:21]MH_I2C_Read... [05:33:21]Read from MH i2c: F0 [05:33:21]MH_I2C_Read... [05:33:21]Read from MH i2c: F0 09 00 [05:33:21]MH_I2C_Read... [05:33:21]Read from MH i2c: F0 09 00 DD 4D 00 2F E9 EF 65 0A 64 6E 65 CF [05:33:21]GetLastDocTimeStamp 1710216749 [05:33:21]current date 1710221615 [05:33:21]FM_GetShiftState [05:33:21]SAM_PROTO_GetShiftState [05:33:21]wFMCommunicate request_size=4 [05:33:21]MH_SAM_APDU [05:33:21]CAPDU: 80 13 01 00 [05:33:21]Write to MH i2c: E2 08 00 DE 4D 80 13 01 00 00 00 00 00 A8 [05:33:21]Write i2c OK [05:33:21]MH_I2C_Read... [05:33:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:33:21]Read from MH i2c: E2 [05:33:21]MH_I2C_Read... [05:33:21]Read from MH i2c: E2 0E 00 [05:33:21]MH_I2C_Read... [05:33:21]Read from MH i2c: E2 0E 00 DE 4D 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 D7 [05:33:21]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [05:33:21]wFMCommunicate OK [05:33:21]SAM_PROTO_GetShiftState done [05:33:21]FM_GetShiftState done [05:33:21]opened in 1710202417 [05:33:21]opened+sec_in_day 1710288817 [05:33:21]quantity*price = 5900 [05:33:21]sum+1 = 5901 [05:33:21]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 59.00 НСП 1% : 0.52 НДС 12% : 6.26 Наличными: 59.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 10 12.03.2024 05:33 Смена: 314 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47332 ФПД: 182820812692828 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T053335&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47332&fm=182820812692828&tin=02508201610067®Number=0000000000092018&sum=5900 0 [05:33:22]StoreToDocumentArchive [05:33:22]shift 314 fd 47332 [05:33:22]save to /storage/0314/doc_00047332 [05:33:22]save last doc name /storage/0314/doc_00047332 to /storage/kkm_last_doc_name [05:33:22]save OK [05:33:22]Clear old archive folders... [05:33:22]ProcessDocumentItem done err = 0, tmpTLVsize=281 [05:33:22]tlvbuf is 003ABB80 [05:33:22]SAM_PROTO_ClearQueue [05:33:22]wFMCommunicate request_size=4 [05:33:22]MH_SAM_APDU [05:33:22]CAPDU: 80 09 00 00 [05:33:22]Write to MH i2c: E2 08 00 EB 4D 80 09 00 00 00 00 00 00 AA [05:33:22]Write i2c OK [05:33:22]MH_I2C_Read... [05:33:22]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [05:33:22]Read from MH i2c: E2 [05:33:22]MH_I2C_Read... [05:33:22]Read from MH i2c: E2 03 00 [05:33:22]MH_I2C_Read... [05:33:22]Read from MH i2c: E2 03 00 EB 4D 00 90 00 AC [05:33:22]RAPDU: 90 00 [05:33:22]wFMCommunicate OK [05:33:22]SAM_PROTO_ClearQueue done [05:33:22]KKMCreateOFDPacket [05:33:22]OFDProtocolAddRootSTLVToBuf [05:33:22]FM_MakeSignedData [05:33:22]FM_MakeSignedData [05:33:22]SAM_PROTO_SignData [05:33:22]wFMCommunicate request_size=4 [05:33:22]MH_SAM_APDU [05:33:22]CAPDU: 80 0D 01 02 [05:33:22]Write to MH i2c: E2 08 00 EC 4D 80 0D 01 02 00 00 00 00 B2 [05:33:22]Write i2c OK [05:33:22]MH_I2C_Read... [05:33:22]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [05:33:22]Read from MH i2c: E2 [05:33:22]MH_I2C_Read... [05:33:22]Read from MH i2c: E2 03 00 [05:33:22]MH_I2C_Read... [05:33:22]Read from MH i2c: E2 03 00 EC 4D 00 90 00 AD [05:33:22]RAPDU: 90 00 [05:33:22]wFMCommunicate OK [05:33:22]wFMCommunicate request_size=255 [05:33:22]MH_SAM_APDU [05:33:22]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 0A 00 00 00 F4 03 04 00 2F E9 EF 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 [05:33:22]Write to MH i2c: E2 02 01 ED 4D 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 0A 00 00 00 F4 03 04 00 2F E9 EF 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 00 EB [05:33:22]Write i2c OK [05:33:22]MH_I2C_Read... [05:33:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:33:23]Read from MH i2c: E2 [05:33:23]MH_I2C_Read... [05:33:23]Read from MH i2c: E2 03 00 [05:33:23]MH_I2C_Read... [05:33:23]Read from MH i2c: E2 03 00 ED 4D 00 90 00 AE [05:33:23]RAPDU: 90 00 [05:33:23]wFMCommunicate OK [05:33:23]wFMCommunicate request_size=40 [05:33:23]MH_SAM_APDU [05:33:23]CAPDU: 80 0D 02 02 23 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 E4 B8 00 00 35 04 06 00 A6 46 49 99 1D 5C [05:33:23]Write to MH i2c: E2 2B 00 EE 4D 80 0D 02 02 23 00 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 E4 B8 00 00 35 04 06 00 A6 46 49 99 1D 5C 00 00 54 [05:33:23]Write i2c OK [05:33:23]MH_I2C_Read... [05:33:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:33:23]Read from MH i2c: E2 [05:33:23]MH_I2C_Read... [05:33:23]Read from MH i2c: E2 03 00 [05:33:23]MH_I2C_Read... [05:33:23]Read from MH i2c: E2 03 00 EE 4D 00 90 00 AF [05:33:23]RAPDU: 90 00 [05:33:23]wFMCommunicate OK [05:33:23]wFMCommunicate request_size=4 [05:33:23]MH_SAM_APDU [05:33:23]CAPDU: 80 0D 03 02 [05:33:23]Write to MH i2c: E2 08 00 EF 4D 80 0D 03 02 00 00 00 00 B7 [05:33:23]Write i2c OK [05:33:23]MH_I2C_Read... [05:33:23]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [05:33:23]Read from MH i2c: E2 [05:33:23]MH_I2C_Read... [05:33:23]Read from MH i2c: E2 0B 00 [05:33:23]MH_I2C_Read... [05:33:23]Read from MH i2c: E2 0B 00 EF 4D 00 43 CB E5 31 79 01 14 D2 90 00 3C [05:33:23]RAPDU: 43 CB E5 31 79 01 14 D2 90 00 [05:33:23]wFMCommunicate OK [05:33:23]SAM_PROTO_SignData done [05:33:23]FM_MakeSignedData done [05:33:23]CreateOFDProtocolMessage [05:33:23]wFMCommunicate request_size=4 [05:33:23]MH_SAM_APDU [05:33:23]CAPDU: 80 11 00 00 [05:33:23]Write to MH i2c: E2 08 00 F0 4D 80 11 00 00 00 00 00 00 B7 [05:33:23]Write i2c OK [05:33:23]MH_I2C_Read... [05:33:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:33:23]Read from MH i2c: E2 [05:33:23]MH_I2C_Read... [05:33:23]Read from MH i2c: E2 17 00 [05:33:23]MH_I2C_Read... [05:33:23]Read from MH i2c: E2 17 00 F0 4D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 09 [05:33:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [05:33:23]wFMCommunicate OK [05:33:23]CreateOFDProtocolMessage done [05:33:23]OFDSenderStorePacket 47332 [05:33:23]StoreOFDPacket docnum=47332 [05:33:23]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 2D 01 00 00 F8 B8 25 01 4B 49 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 0A 00 00 00 F4 03 04 00 2F E9 EF 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 E4 B8 00 00 35 04 06 00 A6 46 49 99 1D 5C 43 CB E5 31 79 01 14 D2 [05:33:23]CheckFolder [05:33:23]dirname=/storage/ofd_packets [05:33:23]CheckFolder done [05:33:23]ProducePacketName [05:33:23]name=ofd_packets/00047332 [05:33:23]NVStorageSaveData ofd_packets/00047332 [05:33:23]File name is /storage/ofd_packets/00047332 [05:33:23]Write 331 bytes [05:33:23]NVStorageSaveData done [05:33:23]OFDSenderStorePacket done [05:33:23]KKMCreateOFDPacket done [05:33:23]NVStorageSaveData kkm_last_timestamp [05:33:23]File name is /storage/kkm_last_timestamp [05:33:23]Write 4 bytes [05:33:23]NVStorageSaveData done [05:33:23]ExternCall_PrintAddStr [05:33:23]wPrintStart [05:33:23]Write to MH i2c: 01 00 00 F1 4D 3E [05:33:23]Write i2c OK [05:33:23]MH_I2C_Read... [05:33:23]Read from MH i2c: 01 [05:33:23]MH_I2C_Read... [05:33:23]Read from MH i2c: 01 07 00 [05:33:23]MH_I2C_Read... [05:33:23]Read from MH i2c: 01 07 00 F1 4D 00 00 00 00 00 FF 0F 53 [05:33:23]RasterBufferAndPrint [05:33:23]line Счет N : (3)242246 [05:33:23]line ИНН: 02508201610067 [05:33:23]line Контрольно-Кассовый Чек [05:33:23]line ПРОДАЖА [05:33:23]line Товар: 4607065001445 [05:33:23]line Шок батончик Snickers 50,5г [05:33:23]line 1.000 * 59.00 [05:33:23]line = 59.00 [05:33:23]line НДС 12% НСП 1% [05:33:23]line > о реализуемом товаре [05:33:23]line ИТОГО: 59.00 [05:33:23]line НСП 1% : 0.52 [05:33:23]line НДС 12% : 6.26 [05:33:23]line Наличными: 59.00 [05:33:23]line Безнал.: 0.00 [05:33:23]line Место: АЗС № 15 "Партнер Нефть" [05:33:23]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [05:33:23]line СНО: Общий режим [05:33:23]line Чек 10 12.03.2024 05:33 [05:33:23]line Смена: 314 ФФД: 1.0 [05:33:23]line ЗНМ: 0300000097 [05:33:23]line РНМ: 0000000000092018 [05:33:23]line Версия ККМ: 001 [05:33:23]line ФМ: 0000000000871816 [05:33:23]line ФД: 47332 [05:33:23]line ФПД: 182820812692828 [05:33:23]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T053335&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47332&fm=182820812692828&tin=02508201610067®Number=0000000000092018&sum=5900 [05:33:23]line 0 [05:33:23]OFD Sender: Processing packet 47332 [packets to send 8, broken 7] [05:33:23]ProducePacketName [05:33:23]name=ofd_packets/00047332 [05:33:23]OFD Sender: To server: pG, [05:33:23]CommunicateWithHost lk.salyk.kg:30040 [05:33:23]ConnectInit lk.salyk.kg [05:33:23]written 0, free lines is 4095 [05:33:23]Connected sock=10 [05:33: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 31 36 2D 01 00 00 F8 B8 25 01 4B 49 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 0A 00 00 00 F4 03 04 00 2F E9 EF 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 E4 B8 00 00 35 04 06 00 A6 46 49 99 1D 5C 43 CB E5 31 79 01 14 D2 [05:33: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 31 36 4F 00 00 00 A0 43 47 00 1C ED A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 E4 B8 00 00 F4 03 04 00 C2 93 EF 65 B6 04 01 00 00 89 78 D5 CA C5 47 F4 A4 [05:33:23]CommunicateWithHost err = 0 [05:33:23]CheckOFDResponse [05:33:23]1017 (14) - 77093643461234 [05:33:23]1041 (16) - 0000000000871816 [05:33:23]1040 (4) - 47332 [05:33:23]1012 (4) - 11.03.2024 23:29 [05:33:23]1206 (1) - 0 [05:33:23]OFD Sender: Remove packet 47332 [05:33:23]ProducePacketName [05:33:23]name=ofd_packets/00047332 [05:33:23]NVStorageDeleteData [05:33:24]Write to MH i2c: 01 00 00 19 4E 67 [05:33:24]Write i2c OK [05:33:24]MH_I2C_Read... [05:33:24]Read from MH i2c: 01 [05:33:24]MH_I2C_Read... [05:33:24]Read from MH i2c: 01 07 00 [05:33:24]MH_I2C_Read... [05:33:24]Read from MH i2c: 01 07 00 19 4E 00 00 00 00 00 EC 0C 66 [05:33:24]RasterBufferAndPrint [05:33:24]line [05:33:24]line [05:33:24]line [05:33:24]line [05:33:24]line [05:33:24]written 0, free lines is 3317 [05:33:24]MH_Cut [05:33:24]Write to MH i2c: D1 01 00 20 4E 01 40 [05:33:24]Write i2c OK [05:33:24]MH_I2C_Read... [05:33:24]Read from MH i2c: D1 [05:33:24]MH_I2C_Read... [05:33:24]Read from MH i2c: D1 01 00 [05:33:24]MH_I2C_Read... [05:33:24]Read from MH i2c: D1 01 00 20 4E 00 3F [05:33:24]Write to MH i2c: 01 00 00 21 4E 6F [05:33:24]Write i2c OK [05:33:24]MH_I2C_Read... [05:33:24]OFD Sender: No OFD packet to send [05:33:24]*** Cut start [05:33:24]*** Purtial cut [05:33:24]*** Stage 1: CUTSNS_PIN = 1 [05:33:25]*** Stop cut motor [05:33:25]*** Cut end [05:33:25]Read from MH i2c: 01 [05:33:25]MH_I2C_Read... [05:33:25]Read from MH i2c: 01 07 00 [05:33:25]MH_I2C_Read... [05:33:25]Read from MH i2c: 01 07 00 21 4E 00 00 00 00 00 FF 0F 84 [05:33:25]process_action close_receipt done [05:33:25]requested_data is exist [05:33:25]produce_requested_data [05:33:25]requested_item fm.sn is exist - process it [05:33:25]wFMCommunicate request_size=4 [05:33:25]MH_SAM_APDU [05:33:25]CAPDU: 80 11 00 00 [05:33:25]Write to MH i2c: E2 08 00 22 4E 80 11 00 00 00 00 00 00 EA [05:33:25]Write i2c OK [05:33:25]MH_I2C_Read... [05:33:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:33:25]Read from MH i2c: E2 [05:33:25]MH_I2C_Read... [05:33:25]Read from MH i2c: E2 17 00 [05:33:25]MH_I2C_Read... [05:33:25]Read from MH i2c: E2 17 00 22 4E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 3C [05:33:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [05:33:25]wFMCommunicate OK [05:33:25]requested_item fd.num is exist - process it [05:33:25]SAM_PROTO_GetFieldsCounters [05:33:25]wFMCommunicate request_size=4 [05:33:25]MH_SAM_APDU [05:33:25]CAPDU: 80 13 00 00 [05:33:25]Write to MH i2c: E2 08 00 23 4E 80 13 00 00 00 00 00 00 ED [05:33:25]Write i2c OK [05:33:25]MH_I2C_Read... [05:33:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [05:33:25]Read from MH i2c: E2 [05:33:25]MH_I2C_Read... [05:33:25]Read from MH i2c: E2 62 00 [05:33:25]MH_I2C_Read... [05:33:25]Read from MH i2c: E2 62 00 23 4E 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 E4 B8 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 0A 00 00 00 5E 04 04 00 0A 00 00 00 57 04 04 00 0B 00 00 00 19 04 04 00 00 00 00 00 90 00 FD [05:33: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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 E4 B8 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 0A 00 00 00 5E 04 04 00 0A 00 00 00 57 04 04 00 0B 00 00 00 19 04 04 00 00 00 00 00 90 00 [05:33:25]wFMCommunicate OK [05:33:25]SAM_PROTO_GetFieldsCounters done [05:33:25]requested_item shift.num is exist - process it [05:33:25]requested_item shift.opened is exist - process it [05:33:25]req_shift_opened [05:33:25]FM_GetShiftState [05:33:25]SAM_PROTO_GetShiftState [05:33:25]wFMCommunicate request_size=4 [05:33:25]MH_SAM_APDU [05:33:25]CAPDU: 80 13 01 00 [05:33:25]Write to MH i2c: E2 08 00 24 4E 80 13 01 00 00 00 00 00 EF [05:33:25]Write i2c OK [05:33:25]MH_I2C_Read... [05:33:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:33:25]Read from MH i2c: E2 [05:33:25]MH_I2C_Read... [05:33:25]Read from MH i2c: E2 0E 00 [05:33:25]MH_I2C_Read... [05:33:25]Read from MH i2c: E2 0E 00 24 4E 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 1E [05:33:25]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [05:33:25]wFMCommunicate OK [05:33:25]SAM_PROTO_GetShiftState done [05:33:25]FM_GetShiftState done [05:33:25]req_shift_opened done [05:33:25]requested_item shift.open_date is exist - process it [05:33:25]req_shift_open_date [05:33:25]req_shift_open_date done [05:33:25]produce_requested_data done [05:33:25]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47332,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [05:33:25]process_action_free close_receipt [05:33:25]json_value_free [05:33:25]json_value_free done [05:33:25]process_json_proto returns [05:33:25]Send response to host [05:33:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47332,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [05:33:25]free response buf [05:33:25]execute_script done [05:33:25]execute_script returns [05:33:25]free content buf [05:33:25]Sock 9.Close socket [05:33:25]Sock 9.Thread stoped [05:33:29]OFD Sender: No OFD packet to send [05:33:34]OFD Sender: No OFD packet to send [05:33:39]OFD Sender: No OFD packet to send [05:33:44]OFD Sender: No OFD packet to send [05:33:49]OFD Sender: No OFD packet to send [05:33:54]OFD Sender: No OFD packet to send [05:33:59]OFD Sender: No OFD packet to send [05:34:04]OFD Sender: No OFD packet to send [05:34:09]OFD Sender: No OFD packet to send [05:34:14]OFD Sender: No OFD packet to send [05:34:19]OFD Sender: No OFD packet to send [05:34:24]OFD Sender: No OFD packet to send [05:34:29]OFD Sender: No OFD packet to send [05:34:34]OFD Sender: No OFD packet to send [05:34:39]OFD Sender: No OFD packet to send [05:34:44]OFD Sender: No OFD packet to send [05:34:49]OFD Sender: No OFD packet to send [05:34:54]OFD Sender: No OFD packet to send [05:34:59]OFD Sender: No OFD packet to send [05:35:04]OFD Sender: No OFD packet to send [05:35:09]OFD Sender: No OFD packet to send [05:35:14]OFD Sender: No OFD packet to send [05:35:19]OFD Sender: No OFD packet to send [05:35:24]OFD Sender: No OFD packet to send [05:35:29]OFD Sender: No OFD packet to send [05:35:34]OFD Sender: No OFD packet to send [05:35:39]OFD Sender: No OFD packet to send [05:35:44]OFD Sender: No OFD packet to send [05:35:49]OFD Sender: No OFD packet to send [05:35:54]OFD Sender: No OFD packet to send [05:35:59]OFD Sender: No OFD packet to send [05:36:04]OFD Sender: No OFD packet to send [05:36:09]OFD Sender: No OFD packet to send [05:36:14]OFD Sender: No OFD packet to send [05:36:19]OFD Sender: No OFD packet to send [05:36:24]OFD Sender: No OFD packet to send [05:36:29]OFD Sender: No OFD packet to send [05:36:34]OFD Sender: No OFD packet to send [05:36:39]OFD Sender: No OFD packet to send [05:36:44]OFD Sender: No OFD packet to send [05:36:49]OFD Sender: No OFD packet to send [05:36:54]OFD Sender: No OFD packet to send [05:36:59]OFD Sender: No OFD packet to send [05:37:04]OFD Sender: No OFD packet to send [05:37:09]OFD Sender: No OFD packet to send [05:37:14]OFD Sender: No OFD packet to send [05:37:19]OFD Sender: No OFD packet to send [05:37:24]OFD Sender: No OFD packet to send [05:37:29]OFD Sender: No OFD packet to send [05:37:34]OFD Sender: No OFD packet to send [05:37:39]OFD Sender: No OFD packet to send [05:37:44]OFD Sender: No OFD packet to send [05:37:49]OFD Sender: No OFD packet to send [05:37:54]OFD Sender: No OFD packet to send [05:37:59]OFD Sender: No OFD packet to send [05:38:04]OFD Sender: No OFD packet to send [05:38:09]OFD Sender: No OFD packet to send [05:38:14]OFD Sender: No OFD packet to send [05:38:19]OFD Sender: No OFD packet to send [05:38:24]OFD Sender: No OFD packet to send [05:38:29]OFD Sender: No OFD packet to send [05:38:34]OFD Sender: No OFD packet to send [05:38:39]OFD Sender: No OFD packet to send [05:38:44]OFD Sender: No OFD packet to send [05:38:49]OFD Sender: No OFD packet to send [05:38:54]OFD Sender: No OFD packet to send [05:38:59]OFD Sender: No OFD packet to send [05:39:04]OFD Sender: No OFD packet to send [05:39:09]OFD Sender: No OFD packet to send [05:39:14]OFD Sender: No OFD packet to send [05:39:19]OFD Sender: No OFD packet to send [05:39:24]OFD Sender: No OFD packet to send [05:39:29]OFD Sender: No OFD packet to send [05:39:34]OFD Sender: No OFD packet to send [05:39:39]OFD Sender: No OFD packet to send [05:39:44]OFD Sender: No OFD packet to send [05:39:49]OFD Sender: No OFD packet to send [05:39:54]OFD Sender: No OFD packet to send [05:39:59]OFD Sender: No OFD packet to send [05:40:04]OFD Sender: No OFD packet to send [05:40:09]OFD Sender: No OFD packet to send [05:40:14]OFD Sender: No OFD packet to send [05:40:19]OFD Sender: No OFD packet to send [05:40:24]OFD Sender: No OFD packet to send [05:40:29]OFD Sender: No OFD packet to send [05:40:34]OFD Sender: No OFD packet to send [05:40:39]OFD Sender: No OFD packet to send [05:40:44]OFD Sender: No OFD packet to send [05:40:49]OFD Sender: No OFD packet to send [05:40:54]OFD Sender: No OFD packet to send [05:40:59]OFD Sender: No OFD packet to send [05:41:04]OFD Sender: No OFD packet to send [05:41:07]accept exits with 7 [05:41:07]New connection [05:41:07]New thread 3066596708 created [05:41:07]Thread 3066453348 joined [05:41:07]Waiting for new connection... [05:41:07] Sock 7.Parse request [05:41:07]Sock 7.Check first char [05:41:07]Sock 7.First char is OK [05:41:07]request: POST /json_proto HTTP/1.0 [05:41:07]Method: POST [05:41:07]URL: /json_proto [05:41:07]Method is POST - this is cgi request [05:41:07]url: /json_proto [05:41:07]query_string will be loaded in cgi processing [05:41:07]execute_cgi json_proto POST (null) [05:41:07]execute_cgi path=json_proto method=POST [05:41:07]POST find Content-Length [05:41:07]Host: 172.17.32.68:8080 [05:41:07]Content-Length: 873 [05:41:07]Content-Type: application/json [05:41:07] [05:41:07]POST finish read [05:41:07]Found Content-Length = 873 [05:41:07]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242247", "tax_sys" : 0, "items" : [ { "code": "48742245", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Silver Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 184.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [05:41:07]execute_script... [05:41:07]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242247", "tax_sys" : 0, "items" : [ { "code": "48742245", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Silver Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 184.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [05:41:07]POST & json_proto [05:41:07]process_json_proto [05:41:07]json parsed OK: [05:41:07]protocol is kg_v1.0 [05:41:07]action value=close_receipt [05:41:07]process_action close_receipt [05:41:07]cmd_close_receipt [05:41:07]MH_GetDate [05:41:07]Write to MH i2c: F0 00 00 25 4E 62 [05:41:07]Write i2c OK [05:41:07]MH_I2C_Read... [05:41:07]Read from MH i2c: F0 [05:41:07]MH_I2C_Read... [05:41:07]Read from MH i2c: F0 09 00 [05:41:07]MH_I2C_Read... [05:41:07]Read from MH i2c: F0 09 00 25 4E 00 01 EB EF 65 0A 64 6E 65 EC [05:41:07]GetLastDocTimeStamp 1710221615 [05:41:07]current date 1710222081 [05:41:07]FM_GetShiftState [05:41:07]SAM_PROTO_GetShiftState [05:41:07]wFMCommunicate request_size=4 [05:41:07]MH_SAM_APDU [05:41:07]CAPDU: 80 13 01 00 [05:41:07]Write to MH i2c: E2 08 00 26 4E 80 13 01 00 00 00 00 00 F1 [05:41:07]Write i2c OK [05:41:07]MH_I2C_Read... [05:41:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:41:07]Read from MH i2c: E2 [05:41:07]MH_I2C_Read... [05:41:07]Read from MH i2c: E2 0E 00 [05:41:07]MH_I2C_Read... [05:41:07]Read from MH i2c: E2 0E 00 26 4E 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 20 [05:41:07]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [05:41:07]wFMCommunicate OK [05:41:07]SAM_PROTO_GetShiftState done [05:41:07]FM_GetShiftState done [05:41:07]opened in 1710202417 [05:41:07]opened+sec_in_day 1710288817 [05:41:07]quantity*price = 14400 [05:41:07]sum+1 = 14401 [05:41:07]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000160211 Вода Легенда 0,5л 1.000 * 40.00 = 40.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 184.00 НСП 1% : 1.62 НДС 12% : 19.54 Наличными: 184.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 11 12.03.2024 05:41 Смена: 314 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47333 ФПД: 60708267128384 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T054121&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47333&fm=60708267128384&tin=02508201610067®Number=0000000000092018&sum=18400 0 [05:41:08]StoreToDocumentArchive [05:41:08]shift 314 fd 47333 [05:41:08]save to /storage/0314/doc_00047333 [05:41:08]save last doc name /storage/0314/doc_00047333 to /storage/kkm_last_doc_name [05:41:08]save OK [05:41:09]Clear old archive folders... [05:41:09]ProcessDocumentItem done err = 0, tmpTLVsize=377 [05:41:09]tlvbuf is B6E6A3C0 [05:41:09]SAM_PROTO_ClearQueue [05:41:09]wFMCommunicate request_size=4 [05:41:09]MH_SAM_APDU [05:41:09]CAPDU: 80 09 00 00 [05:41:09]Write to MH i2c: E2 08 00 33 4E 80 09 00 00 00 00 00 00 F3 [05:41:09]Write i2c OK [05:41:09]MH_I2C_Read... [05:41:09]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [05:41:09]Read from MH i2c: E2 [05:41:09]MH_I2C_Read... [05:41:09]Read from MH i2c: E2 03 00 [05:41:09]MH_I2C_Read... [05:41:09]Read from MH i2c: E2 03 00 33 4E 00 90 00 F5 [05:41:09]RAPDU: 90 00 [05:41:09]wFMCommunicate OK [05:41:09]SAM_PROTO_ClearQueue done [05:41:09]KKMCreateOFDPacket [05:41:09]OFDProtocolAddRootSTLVToBuf [05:41:09]FM_MakeSignedData [05:41:09]FM_MakeSignedData [05:41:09]SAM_PROTO_SignData [05:41:09]wFMCommunicate request_size=4 [05:41:09]MH_SAM_APDU [05:41:09]CAPDU: 80 0D 01 02 [05:41:09]Write to MH i2c: E2 08 00 34 4E 80 0D 01 02 00 00 00 00 FB [05:41:09]Write i2c OK [05:41:09]MH_I2C_Read... [05:41:09]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [05:41:09]Read from MH i2c: E2 [05:41:09]MH_I2C_Read... [05:41:09]Read from MH i2c: E2 03 00 [05:41:09]MH_I2C_Read... [05:41:09]Read from MH i2c: E2 03 00 34 4E 00 90 00 F6 [05:41:09]RAPDU: 90 00 [05:41:09]wFMCommunicate OK [05:41:09]wFMCommunicate request_size=255 [05:41:09]MH_SAM_APDU [05:41:09]CAPDU: 80 0D 02 02 FA 03 00 79 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 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 47 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A2 00 00 00 00 00 EE [05:41:09]Write to MH i2c: E2 02 01 35 4E 80 0D 02 02 FA 00 03 00 79 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 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 47 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A2 00 00 00 00 00 EE 00 00 4D [05:41:09]Write i2c OK [05:41:09]MH_I2C_Read... [05:41:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:41:09]Read from MH i2c: E2 [05:41:09]MH_I2C_Read... [05:41:09]Read from MH i2c: E2 03 00 [05:41:09]MH_I2C_Read... [05:41:09]Read from MH i2c: E2 03 00 35 4E 00 90 00 F7 [05:41:09]RAPDU: 90 00 [05:41:09]wFMCommunicate OK [05:41:09]wFMCommunicate request_size=136 [05:41:09]MH_SAM_APDU [05:41:09]CAPDU: 80 0D 02 02 83 03 0F 00 F2 03 01 00 01 F3 03 06 00 A2 07 00 00 00 00 07 04 06 00 E0 47 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 01 EB EF 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 E5 B8 00 00 35 04 06 00 37 36 BE B2 76 40 [05:41:09]Write to MH i2c: E2 8B 00 36 4E 80 0D 02 02 83 00 03 0F 00 F2 03 01 00 01 F3 03 06 00 A2 07 00 00 00 00 07 04 06 00 E0 47 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 01 EB EF 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 E5 B8 00 00 35 04 06 00 37 36 BE B2 76 40 00 00 C3 [05:41:09]Write i2c OK [05:41:09]MH_I2C_Read... [05:41:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:41:09]Read from MH i2c: E2 [05:41:09]MH_I2C_Read... [05:41:09]Read from MH i2c: E2 03 00 [05:41:09]MH_I2C_Read... [05:41:09]Read from MH i2c: E2 03 00 36 4E 00 90 00 F8 [05:41:09]RAPDU: 90 00 [05:41:09]wFMCommunicate OK [05:41:09]wFMCommunicate request_size=4 [05:41:09]MH_SAM_APDU [05:41:09]CAPDU: 80 0D 03 02 [05:41:09]Write to MH i2c: E2 08 00 37 4E 80 0D 03 02 00 00 00 00 00 [05:41:09]Write i2c OK [05:41:09]MH_I2C_Read... [05:41:09]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [05:41:09]Read from MH i2c: E2 [05:41:09]MH_I2C_Read... [05:41:09]Read from MH i2c: E2 0B 00 [05:41:09]MH_I2C_Read... [05:41:09]Read from MH i2c: E2 0B 00 37 4E 00 23 A5 33 1E 6C 65 6A DE 90 00 33 [05:41:09]RAPDU: 23 A5 33 1E 6C 65 6A DE 90 00 [05:41:09]wFMCommunicate OK [05:41:09]SAM_PROTO_SignData done [05:41:09]FM_MakeSignedData done [05:41:09]CreateOFDProtocolMessage [05:41:09]wFMCommunicate request_size=4 [05:41:09]MH_SAM_APDU [05:41:09]CAPDU: 80 11 00 00 [05:41:09]Write to MH i2c: E2 08 00 38 4E 80 11 00 00 00 00 00 00 00 [05:41:09]Write i2c OK [05:41:09]MH_I2C_Read... [05:41:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:41:09]Read from MH i2c: E2 [05:41:09]MH_I2C_Read... [05:41:09]Read from MH i2c: E2 17 00 [05:41:09]MH_I2C_Read... [05:41:09]Read from MH i2c: E2 17 00 38 4E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 52 [05:41:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [05:41:09]wFMCommunicate OK [05:41:09]CreateOFDProtocolMessage done [05:41:09]OFDSenderStorePacket 47333 [05:41:09]StoreOFDPacket docnum=47333 [05:41:09]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 8D 01 00 00 E2 52 85 01 84 17 5A 03 01 00 03 00 79 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 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 47 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A2 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A2 07 00 00 00 00 07 04 06 00 E0 47 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 01 EB EF 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 E5 B8 00 00 35 04 06 00 37 36 BE B2 76 40 23 A5 33 1E 6C 65 6A DE [05:41:09]CheckFolder [05:41:09]dirname=/storage/ofd_packets [05:41:09]CheckFolder done [05:41:09]ProducePacketName [05:41:09]name=ofd_packets/00047333 [05:41:09]NVStorageSaveData ofd_packets/00047333 [05:41:09]File name is /storage/ofd_packets/00047333 [05:41:09]Write 427 bytes [05:41:09]NVStorageSaveData done [05:41:09]OFDSenderStorePacket done [05:41:09]KKMCreateOFDPacket done [05:41:09]NVStorageSaveData kkm_last_timestamp [05:41:09]File name is /storage/kkm_last_timestamp [05:41:09]Write 4 bytes [05:41:09]NVStorageSaveData done [05:41:09]ExternCall_PrintAddStr [05:41:09]wPrintStart [05:41:09]Write to MH i2c: 01 00 00 39 4E 87 [05:41:09]Write i2c OK [05:41:09]MH_I2C_Read... [05:41:09]Read from MH i2c: 01 [05:41:09]MH_I2C_Read... [05:41:09]Read from MH i2c: 01 07 00 [05:41:09]MH_I2C_Read... [05:41:09]Read from MH i2c: 01 07 00 39 4E 00 00 00 00 00 FF 0F 9C [05:41:09]RasterBufferAndPrint [05:41:09]line Счет N : (3)242247 [05:41:09]line ИНН: 02508201610067 [05:41:09]line Контрольно-Кассовый Чек [05:41:09]line ПРОДАЖА [05:41:09]line Товар: 48742245 [05:41:09]line Сигареты Parliament Silver Blue [05:41:09]line 1.000 * 144.00 [05:41:09]line = 144.00 [05:41:09]line НДС 12% НСП 1% [05:41:09]line > о реализуемом товаре [05:41:09]line Товар: 4700000160211 [05:41:09]line Вода Легенда 0,5л [05:41:09]line 1.000 * 40.00 [05:41:09]line = 40.00 [05:41:09]line НДС 12% НСП 1% [05:41:09]line > о реализуемом товаре [05:41:09]line ИТОГО: 184.00 [05:41:09]line НСП 1% : 1.62 [05:41:09]line НДС 12% : 19.54 [05:41:09]line Наличными: 184.00 [05:41:09]line Безнал.: 0.00 [05:41:09]line Место: АЗС № 15 "Партнер Нефть" [05:41:09]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [05:41:09]line СНО: Общий режим [05:41:09]line Чек 11 12.03.2024 05:41 [05:41:09]line Смена: 314 ФФД: 1.0 [05:41:09]line ЗНМ: 0300000097 [05:41:09]line РНМ: 0000000000092018 [05:41:09]line Версия ККМ: 001 [05:41:09]line ФМ: 0000000000871816 [05:41:09]line ФД: 47333 [05:41:09]line ФПД: 60708267128384 [05:41:09]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T054121&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47333&fm=60708267128384&tin=02508201610067®Number=0000000000092018&sum=18400 [05:41:09]line 0 [05:41:09]OFD Sender: Processing packet 47333 [packets to send 8, broken 7] [05:41:09]ProducePacketName [05:41:09]name=ofd_packets/00047333 [05:41:09]OFD Sender: To server: pG, [05:41:09]CommunicateWithHost lk.salyk.kg:30040 [05:41:09]ConnectInit lk.salyk.kg [05:41:09]written 0, free lines is 4095 [05:41:10]Connected sock=10 [05:41:10]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 31 36 8D 01 00 00 E2 52 85 01 84 17 5A 03 01 00 03 00 79 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 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 47 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A2 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A2 07 00 00 00 00 07 04 06 00 E0 47 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 01 EB EF 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 E5 B8 00 00 35 04 06 00 37 36 BE B2 76 40 23 A5 33 1E 6C 65 6A DE [05:41: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 31 36 4F 00 00 00 1C EB 47 00 E5 DE A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 31 36 10 04 04 00 E5 B8 00 00 F4 03 04 00 94 95 EF 65 B6 04 01 00 00 AD D9 DF 12 3D D8 64 5F [05:41:10]CommunicateWithHost err = 0 [05:41:10]CheckOFDResponse [05:41:10]1017 (14) - 77093643461234 [05:41:10]1041 (16) - 0000000000871816 [05:41:10]1040 (4) - 47333 [05:41:10]1012 (4) - 11.03.2024 23:36 [05:41:10]1206 (1) - 0 [05:41:10]OFD Sender: Remove packet 47333 [05:41:10]ProducePacketName [05:41:10]name=ofd_packets/00047333 [05:41:10]NVStorageDeleteData [05:41:10]Write to MH i2c: 01 00 00 68 4E B6 [05:41:10]Write i2c OK [05:41:10]MH_I2C_Read... [05:41:10]Read from MH i2c: 01 [05:41:10]MH_I2C_Read... [05:41:10]Read from MH i2c: 01 07 00 [05:41:10]MH_I2C_Read... [05:41:10]Read from MH i2c: 01 07 00 68 4E 00 00 00 00 00 5E 0C 27 [05:41:10]RasterBufferAndPrint [05:41:10]line [05:41:10]line [05:41:10]line [05:41:10]line [05:41:10]line [05:41:10]written 0, free lines is 3174 [05:41:10]MH_Cut [05:41:10]Write to MH i2c: D1 01 00 6F 4E 01 8F [05:41:10]Write i2c OK [05:41:10]MH_I2C_Read... [05:41:10]Read from MH i2c: D1 [05:41:10]MH_I2C_Read... [05:41:10]Read from MH i2c: D1 01 00 [05:41:10]MH_I2C_Read... [05:41:10]Read from MH i2c: D1 01 00 6F 4E 00 8E [05:41:10]Write to MH i2c: 01 00 00 70 4E BE [05:41:10]Write i2c OK [05:41:10]MH_I2C_Read... [05:41:10]OFD Sender: No OFD packet to send [05:41:11]*** Cut start [05:41:11]*** Purtial cut [05:41:11]*** Stage 1: CUTSNS_PIN = 1 [05:41:11]Read from MH i2c: 01 [05:41:11]MH_I2C_Read... [05:41:11]*** Stop cut motor [05:41:11]*** Cut end [05:41:11]Read from MH i2c: 01 07 00 [05:41:11]MH_I2C_Read... [05:41:11]Read from MH i2c: 01 07 00 70 4E 00 00 00 00 00 FF 0F D3 [05:41:11]process_action close_receipt done [05:41:11]requested_data is exist [05:41:11]produce_requested_data [05:41:11]requested_item fm.sn is exist - process it [05:41:11]wFMCommunicate request_size=4 [05:41:11]MH_SAM_APDU [05:41:11]CAPDU: 80 11 00 00 [05:41:11]Write to MH i2c: E2 08 00 71 4E 80 11 00 00 00 00 00 00 39 [05:41:11]Write i2c OK [05:41:11]MH_I2C_Read... [05:41:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:41:11]Read from MH i2c: E2 [05:41:11]MH_I2C_Read... [05:41:11]Read from MH i2c: E2 17 00 [05:41:11]MH_I2C_Read... [05:41:11]Read from MH i2c: E2 17 00 71 4E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 8B [05:41:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [05:41:11]wFMCommunicate OK [05:41:11]requested_item fd.num is exist - process it [05:41:11]SAM_PROTO_GetFieldsCounters [05:41:11]wFMCommunicate request_size=4 [05:41:11]MH_SAM_APDU [05:41:11]CAPDU: 80 13 00 00 [05:41:11]Write to MH i2c: E2 08 00 72 4E 80 13 00 00 00 00 00 00 3C [05:41:11]Write i2c OK [05:41:11]MH_I2C_Read... [05:41:11]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [05:41:11]Read from MH i2c: E2 [05:41:11]MH_I2C_Read... [05:41:11]Read from MH i2c: E2 62 00 [05:41:11]MH_I2C_Read... [05:41:11]Read from MH i2c: E2 62 00 72 4E 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 E5 B8 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 0B 00 00 00 5E 04 04 00 0B 00 00 00 57 04 04 00 0C 00 00 00 19 04 04 00 00 00 00 00 90 00 50 [05:41: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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 E5 B8 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 0B 00 00 00 5E 04 04 00 0B 00 00 00 57 04 04 00 0C 00 00 00 19 04 04 00 00 00 00 00 90 00 [05:41:11]wFMCommunicate OK [05:41:11]SAM_PROTO_GetFieldsCounters done [05:41:11]requested_item shift.num is exist - process it [05:41:11]requested_item shift.opened is exist - process it [05:41:11]req_shift_opened [05:41:11]FM_GetShiftState [05:41:11]SAM_PROTO_GetShiftState [05:41:11]wFMCommunicate request_size=4 [05:41:11]MH_SAM_APDU [05:41:11]CAPDU: 80 13 01 00 [05:41:11]Write to MH i2c: E2 08 00 73 4E 80 13 01 00 00 00 00 00 3E [05:41:11]Write i2c OK [05:41:11]MH_I2C_Read... [05:41:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:41:11]Read from MH i2c: E2 [05:41:11]MH_I2C_Read... [05:41:11]Read from MH i2c: E2 0E 00 [05:41:11]MH_I2C_Read... [05:41:11]Read from MH i2c: E2 0E 00 73 4E 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 6D [05:41:11]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [05:41:11]wFMCommunicate OK [05:41:11]SAM_PROTO_GetShiftState done [05:41:11]FM_GetShiftState done [05:41:11]req_shift_opened done [05:41:11]requested_item shift.open_date is exist - process it [05:41:11]req_shift_open_date [05:41:11]req_shift_open_date done [05:41:11]produce_requested_data done [05:41:11]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47333,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [05:41:11]process_action_free close_receipt [05:41:11]json_value_free [05:41:11]json_value_free done [05:41:11]process_json_proto returns [05:41:11]Send response to host [05:41:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47333,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [05:41:11]free response buf [05:41:11]execute_script done [05:41:11]execute_script returns [05:41:11]free content buf [05:41:11]Sock 7.Close socket [05:41:11]Sock 7.Thread stoped [05:41:15]OFD Sender: No OFD packet to send [05:41:20]OFD Sender: No OFD packet to send [05:41:25]OFD Sender: No OFD packet to send [05:41:30]OFD Sender: No OFD packet to send [05:41:35]OFD Sender: No OFD packet to send [05:41:40]OFD Sender: No OFD packet to send [05:41:45]OFD Sender: No OFD packet to send [05:41:50]OFD Sender: No OFD packet to send [05:41:55]OFD Sender: No OFD packet to send [05:42:00]OFD Sender: No OFD packet to send [05:42:05]OFD Sender: No OFD packet to send [05:42:10]OFD Sender: No OFD packet to send [05:42:15]OFD Sender: No OFD packet to send [05:42:20]OFD Sender: No OFD packet to send [05:42:25]OFD Sender: No OFD packet to send [05:42:30]OFD Sender: No OFD packet to send [05:42:35]OFD Sender: No OFD packet to send [05:42:40]OFD Sender: No OFD packet to send [05:42:45]OFD Sender: No OFD packet to send [05:42:50]OFD Sender: No OFD packet to send [05:42:55]OFD Sender: No OFD packet to send [05:43:00]OFD Sender: No OFD packet to send [05:43:05]OFD Sender: No OFD packet to send [05:43:10]OFD Sender: No OFD packet to send [05:43:15]OFD Sender: No OFD packet to send [05:43:20]OFD Sender: No OFD packet to send [05:43:25]OFD Sender: No OFD packet to send [05:43:30]OFD Sender: No OFD packet to send [05:43:35]OFD Sender: No OFD packet to send [05:43:40]OFD Sender: No OFD packet to send [05:43:45]OFD Sender: No OFD packet to send [05:43:50]OFD Sender: No OFD packet to send [05:43:55]OFD Sender: No OFD packet to send [05:44:00]OFD Sender: No OFD packet to send [05:44:05]OFD Sender: No OFD packet to send [05:44:10]OFD Sender: No OFD packet to send [05:44:15]OFD Sender: No OFD packet to send [05:44:20]OFD Sender: No OFD packet to send [05:44:25]OFD Sender: No OFD packet to send [05:44:30]OFD Sender: No OFD packet to send [05:44:35]OFD Sender: No OFD packet to send [05:44:40]OFD Sender: No OFD packet to send [05:44:45]OFD Sender: No OFD packet to send [05:44:50]OFD Sender: No OFD packet to send [05:44:55]OFD Sender: No OFD packet to send [05:45:00]OFD Sender: No OFD packet to send [05:45:05]OFD Sender: No OFD packet to send [05:45:10]OFD Sender: No OFD packet to send [05:45:15]OFD Sender: No OFD packet to send [05:45:20]OFD Sender: No OFD packet to send [05:45:25]OFD Sender: No OFD packet to send [05:45:30]OFD Sender: No OFD packet to send [05:45:35]OFD Sender: No OFD packet to send [05:45:40]OFD Sender: No OFD packet to send [05:45:45]OFD Sender: No OFD packet to send [05:45:50]OFD Sender: No OFD packet to send [05:45:55]OFD Sender: No OFD packet to send [05:46:00]OFD Sender: No OFD packet to send [05:46:05]OFD Sender: No OFD packet to send [05:46:10]OFD Sender: No OFD packet to send [05:46:15]OFD Sender: No OFD packet to send [05:46:20]OFD Sender: No OFD packet to send [05:46:25]OFD Sender: No OFD packet to send [05:46:31]OFD Sender: No OFD packet to send [05:46:36]OFD Sender: No OFD packet to send [05:46:41]OFD Sender: No OFD packet to send [05:46:46]OFD Sender: No OFD packet to send [05:46:51]OFD Sender: No OFD packet to send [05:46:56]OFD Sender: No OFD packet to send [05:47:01]OFD Sender: No OFD packet to send [05:47:06]OFD Sender: No OFD packet to send [05:47:11]OFD Sender: No OFD packet to send [05:47:16]OFD Sender: No OFD packet to send [05:47:21]OFD Sender: No OFD packet to send [05:47:26]OFD Sender: No OFD packet to send [05:47:31]OFD Sender: No OFD packet to send [05:47:36]OFD Sender: No OFD packet to send [05:47:41]OFD Sender: No OFD packet to send [05:47:46]OFD Sender: No OFD packet to send [05:47:51]OFD Sender: No OFD packet to send [05:47:56]OFD Sender: No OFD packet to send [05:48:01]OFD Sender: No OFD packet to send [05:48:06]OFD Sender: No OFD packet to send [05:48:11]OFD Sender: No OFD packet to send [05:48:16]OFD Sender: No OFD packet to send [05:48:21]OFD Sender: No OFD packet to send [05:48:26]OFD Sender: No OFD packet to send [05:48:31]OFD Sender: No OFD packet to send [05:48:36]OFD Sender: No OFD packet to send [05:48:41]OFD Sender: No OFD packet to send [05:48:46]OFD Sender: No OFD packet to send [05:48:51]OFD Sender: No OFD packet to send [05:48:56]OFD Sender: No OFD packet to send [05:49:01]OFD Sender: No OFD packet to send [05:49:06]OFD Sender: No OFD packet to send [05:49:11]OFD Sender: No OFD packet to send [05:49:16]OFD Sender: No OFD packet to send [05:49:21]OFD Sender: No OFD packet to send [05:49:26]OFD Sender: No OFD packet to send [05:49:31]OFD Sender: No OFD packet to send [05:49:36]OFD Sender: No OFD packet to send [05:49:41]OFD Sender: No OFD packet to send [05:49:46]OFD Sender: No OFD packet to send [05:49:51]OFD Sender: No OFD packet to send [05:49:56]OFD Sender: No OFD packet to send [05:50:01]OFD Sender: No OFD packet to send [05:50:06]OFD Sender: No OFD packet to send [05:50:11]OFD Sender: No OFD packet to send [05:50:16]OFD Sender: No OFD packet to send [05:50:21]OFD Sender: No OFD packet to send [05:50:26]OFD Sender: No OFD packet to send [05:50:31]OFD Sender: No OFD packet to send [05:50:36]OFD Sender: No OFD packet to send [05:50:41]OFD Sender: No OFD packet to send [05:50:46]OFD Sender: No OFD packet to send [05:50:51]OFD Sender: No OFD packet to send [05:50:56]OFD Sender: No OFD packet to send [05:51:01]OFD Sender: No OFD packet to send [05:51:06]OFD Sender: No OFD packet to send [05:51:11]OFD Sender: No OFD packet to send [05:51:16]OFD Sender: No OFD packet to send [05:51:21]OFD Sender: No OFD packet to send [05:51:26]OFD Sender: No OFD packet to send [05:51:31]OFD Sender: No OFD packet to send [05:51:36]OFD Sender: No OFD packet to send [05:51:41]OFD Sender: No OFD packet to send [05:51:46]OFD Sender: No OFD packet to send [05:51:51]OFD Sender: No OFD packet to send [05:51:56]OFD Sender: No OFD packet to send [05:52:01]OFD Sender: No OFD packet to send [05:52:06]OFD Sender: No OFD packet to send [05:52:11]OFD Sender: No OFD packet to send [05:52:16]OFD Sender: No OFD packet to send [05:52:21]OFD Sender: No OFD packet to send [05:52:26]OFD Sender: No OFD packet to send [05:52:31]OFD Sender: No OFD packet to send [05:52:36]OFD Sender: No OFD packet to send [05:52:41]OFD Sender: No OFD packet to send [05:52:46]OFD Sender: No OFD packet to send [05:52:51]OFD Sender: No OFD packet to send [05:52:56]OFD Sender: No OFD packet to send [05:53:01]OFD Sender: No OFD packet to send [05:53:06]OFD Sender: No OFD packet to send [05:53:11]OFD Sender: No OFD packet to send [05:53:16]OFD Sender: No OFD packet to send [05:53:21]OFD Sender: No OFD packet to send [05:53:26]OFD Sender: No OFD packet to send [05:53:31]OFD Sender: No OFD packet to send [05:53:36]OFD Sender: No OFD packet to send [05:53:41]OFD Sender: No OFD packet to send [05:53:46]OFD Sender: No OFD packet to send [05:53:51]OFD Sender: No OFD packet to send [05:53:56]OFD Sender: No OFD packet to send [05:54:01]OFD Sender: No OFD packet to send [05:54:06]OFD Sender: No OFD packet to send [05:54:11]OFD Sender: No OFD packet to send [05:54:16]OFD Sender: No OFD packet to send [05:54:21]OFD Sender: No OFD packet to send [05:54:26]OFD Sender: No OFD packet to send [05:54:31]OFD Sender: No OFD packet to send [05:54:36]OFD Sender: No OFD packet to send [05:54:41]OFD Sender: No OFD packet to send [05:54:46]OFD Sender: No OFD packet to send [05:54:51]OFD Sender: No OFD packet to send [05:54:56]OFD Sender: No OFD packet to send [05:55:01]OFD Sender: No OFD packet to send [05:55:06]OFD Sender: No OFD packet to send [05:55:11]OFD Sender: No OFD packet to send [05:55:16]OFD Sender: No OFD packet to send [05:55:21]OFD Sender: No OFD packet to send [05:55:26]OFD Sender: No OFD packet to send [05:55:31]OFD Sender: No OFD packet to send [05:55:36]OFD Sender: No OFD packet to send [05:55:41]OFD Sender: No OFD packet to send [05:55:46]OFD Sender: No OFD packet to send [05:55:51]OFD Sender: No OFD packet to send [05:55:56]OFD Sender: No OFD packet to send [05:56:01]OFD Sender: No OFD packet to send [05:56:06]OFD Sender: No OFD packet to send [05:56:11]OFD Sender: No OFD packet to send [05:56:16]OFD Sender: No OFD packet to send [05:56:21]OFD Sender: No OFD packet to send [05:56:26]OFD Sender: No OFD packet to send [05:56:31]OFD Sender: No OFD packet to send [05:56:36]OFD Sender: No OFD packet to send [05:56:41]OFD Sender: No OFD packet to send [05:56:46]OFD Sender: No OFD packet to send [05:56:51]OFD Sender: No OFD packet to send [05:56:56]OFD Sender: No OFD packet to send [05:57:01]OFD Sender: No OFD packet to send [05:57:06]OFD Sender: No OFD packet to send [05:57:11]OFD Sender: No OFD packet to send [05:57:16]OFD Sender: No OFD packet to send [05:57:21]OFD Sender: No OFD packet to send [05:57:26]OFD Sender: No OFD packet to send [05:57:31]OFD Sender: No OFD packet to send [05:57:36]OFD Sender: No OFD packet to send [05:57:41]OFD Sender: No OFD packet to send [05:57:46]OFD Sender: No OFD packet to send [05:57:51]OFD Sender: No OFD packet to send [05:57:56]OFD Sender: No OFD packet to send [05:58:01]OFD Sender: No OFD packet to send [05:58:06]OFD Sender: No OFD packet to send [05:58:11]OFD Sender: No OFD packet to send [05:58:16]OFD Sender: No OFD packet to send [05:58:21]OFD Sender: No OFD packet to send [05:58:26]OFD Sender: No OFD packet to send [05:58:31]OFD Sender: No OFD packet to send [05:58:36]OFD Sender: No OFD packet to send [05:58:41]OFD Sender: No OFD packet to send [05:58:46]OFD Sender: No OFD packet to send [05:58:51]OFD Sender: No OFD packet to send [05:58:56]OFD Sender: No OFD packet to send [05:59:01]OFD Sender: No OFD packet to send [05:59:06]OFD Sender: No OFD packet to send [05:59:11]OFD Sender: No OFD packet to send [05:59:16]OFD Sender: No OFD packet to send [05:59:21]OFD Sender: No OFD packet to send [05:59:26]OFD Sender: No OFD packet to send [05:59:31]OFD Sender: No OFD packet to send [05:59:36]OFD Sender: No OFD packet to send [05:59:41]OFD Sender: No OFD packet to send [05:59:46]OFD Sender: No OFD packet to send [05:59:51]OFD Sender: No OFD packet to send [05:59:56]OFD Sender: No OFD packet to send [06:00:01]OFD Sender: No OFD packet to send [06:00:06]OFD Sender: No OFD packet to send [06:00:11]OFD Sender: No OFD packet to send [06:00:16]OFD Sender: No OFD packet to send [06:00:21]OFD Sender: No OFD packet to send [06:00:26]OFD Sender: No OFD packet to send [06:00:31]OFD Sender: No OFD packet to send [06:00:36]OFD Sender: No OFD packet to send [06:00:41]OFD Sender: No OFD packet to send [06:00:46]OFD Sender: No OFD packet to send [06:00:51]OFD Sender: No OFD packet to send [06:00:56]OFD Sender: No OFD packet to send [06:01:01]OFD Sender: No OFD packet to send [06:01:06]OFD Sender: No OFD packet to send [06:01:11]OFD Sender: No OFD packet to send [06:01:16]OFD Sender: No OFD packet to send [06:01:21]OFD Sender: No OFD packet to send [06:01:26]OFD Sender: No OFD packet to send [06:01:31]OFD Sender: No OFD packet to send [06:01:36]OFD Sender: No OFD packet to send [06:01:41]OFD Sender: No OFD packet to send [06:01:46]OFD Sender: No OFD packet to send [06:01:51]OFD Sender: No OFD packet to send [06:01:56]OFD Sender: No OFD packet to send [06:02:01]OFD Sender: No OFD packet to send [06:02:06]OFD Sender: No OFD packet to send [06:02:11]OFD Sender: No OFD packet to send [06:02:16]OFD Sender: No OFD packet to send [06:02:21]OFD Sender: No OFD packet to send [06:02:26]OFD Sender: No OFD packet to send [06:02:31]OFD Sender: No OFD packet to send [06:02:36]OFD Sender: No OFD packet to send [06:02:41]OFD Sender: No OFD packet to send [06:02:46]OFD Sender: No OFD packet to send [06:02:51]OFD Sender: No OFD packet to send [06:02:56]OFD Sender: No OFD packet to send [06:03:01]OFD Sender: No OFD packet to send [06:03:06]OFD Sender: No OFD packet to send [06:03:11]OFD Sender: No OFD packet to send [06:03:16]OFD Sender: No OFD packet to send [06:03:21]OFD Sender: No OFD packet to send [06:03:26]OFD Sender: No OFD packet to send [06:03:31]OFD Sender: No OFD packet to send [06:03:36]OFD Sender: No OFD packet to send [06:03:41]OFD Sender: No OFD packet to send [06:03:46]OFD Sender: No OFD packet to send [06:03:51]OFD Sender: No OFD packet to send [06:03:56]OFD Sender: No OFD packet to send [06:04:01]OFD Sender: No OFD packet to send [06:04:06]OFD Sender: No OFD packet to send [06:04:11]OFD Sender: No OFD packet to send [06:04:16]OFD Sender: No OFD packet to send [06:04:21]OFD Sender: No OFD packet to send [06:04:26]OFD Sender: No OFD packet to send [06:04:31]OFD Sender: No OFD packet to send [06:04:36]OFD Sender: No OFD packet to send [06:04:41]OFD Sender: No OFD packet to send [06:04:46]OFD Sender: No OFD packet to send [06:04:51]OFD Sender: No OFD packet to send [06:04:56]OFD Sender: No OFD packet to send [06:05:01]OFD Sender: No OFD packet to send [06:05:06]OFD Sender: No OFD packet to send [06:05:11]OFD Sender: No OFD packet to send [06:05:16]OFD Sender: No OFD packet to send [06:05:21]OFD Sender: No OFD packet to send [06:05:26]OFD Sender: No OFD packet to send [06:05:31]OFD Sender: No OFD packet to send [06:05:36]OFD Sender: No OFD packet to send [06:05:41]OFD Sender: No OFD packet to send [06:05:46]OFD Sender: No OFD packet to send [06:05:51]OFD Sender: No OFD packet to send [06:05:56]OFD Sender: No OFD packet to send [06:06:01]OFD Sender: No OFD packet to send [06:06:06]OFD Sender: No OFD packet to send [06:06:11]OFD Sender: No OFD packet to send [06:06:16]OFD Sender: No OFD packet to send [06:06:21]OFD Sender: No OFD packet to send [06:06:26]OFD Sender: No OFD packet to send [06:06:31]OFD Sender: No OFD packet to send [06:06:36]OFD Sender: No OFD packet to send [06:06:41]OFD Sender: No OFD packet to send [06:06:46]OFD Sender: No OFD packet to send [06:06:51]OFD Sender: No OFD packet to send [06:06:56]OFD Sender: No OFD packet to send [06:07:01]OFD Sender: No OFD packet to send [06:07:06]OFD Sender: No OFD packet to send [06:07:11]OFD Sender: No OFD packet to send [06:07:16]OFD Sender: No OFD packet to send [06:07:21]OFD Sender: No OFD packet to send [06:07:26]OFD Sender: No OFD packet to send [06:07:31]OFD Sender: No OFD packet to send [06:07:36]OFD Sender: No OFD packet to send [06:07:41]OFD Sender: No OFD packet to send [06:07:46]OFD Sender: No OFD packet to send [06:07:51]OFD Sender: No OFD packet to send [06:07:56]OFD Sender: No OFD packet to send [06:08:01]OFD Sender: No OFD packet to send [06:08:06]OFD Sender: No OFD packet to send [06:08:12]OFD Sender: No OFD packet to send [06:08:17]OFD Sender: No OFD packet to send [06:08:22]OFD Sender: No OFD packet to send [06:08:27]OFD Sender: No OFD packet to send [06:08:32]OFD Sender: No OFD packet to send [06:08:37]OFD Sender: No OFD packet to send [06:08:42]OFD Sender: No OFD packet to send [06:08:47]OFD Sender: No OFD packet to send [06:08:52]OFD Sender: No OFD packet to send [06:08:57]OFD Sender: No OFD packet to send [06:09:02]OFD Sender: No OFD packet to send [06:09:07]OFD Sender: No OFD packet to send [06:09:12]OFD Sender: No OFD packet to send [06:09:17]OFD Sender: No OFD packet to send [06:09:22]OFD Sender: No OFD packet to send [06:09:27]OFD Sender: No OFD packet to send [06:09:32]OFD Sender: No OFD packet to send [06:09:37]OFD Sender: No OFD packet to send [06:09:42]OFD Sender: No OFD packet to send [06:09:47]OFD Sender: No OFD packet to send [06:09:52]OFD Sender: No OFD packet to send [06:09:57]OFD Sender: No OFD packet to send [06:10:02]OFD Sender: No OFD packet to send [06:10:07]OFD Sender: No OFD packet to send [06:10:12]OFD Sender: No OFD packet to send [06:10:17]OFD Sender: No OFD packet to send [06:10:22]OFD Sender: No OFD packet to send [06:10:27]OFD Sender: No OFD packet to send [06:10:32]OFD Sender: No OFD packet to send [06:10:37]OFD Sender: No OFD packet to send [06:10:42]OFD Sender: No OFD packet to send [06:10:47]OFD Sender: No OFD packet to send [06:10:52]OFD Sender: No OFD packet to send [06:10:57]OFD Sender: No OFD packet to send [06:11:02]OFD Sender: No OFD packet to send [06:11:07]OFD Sender: No OFD packet to send [06:11:12]OFD Sender: No OFD packet to send [06:11:17]OFD Sender: No OFD packet to send [06:11:22]OFD Sender: No OFD packet to send [06:11:27]OFD Sender: No OFD packet to send [06:11:32]OFD Sender: No OFD packet to send [06:11:37]OFD Sender: No OFD packet to send [06:11:42]OFD Sender: No OFD packet to send [06:11:47]OFD Sender: No OFD packet to send [06:11:52]OFD Sender: No OFD packet to send [06:11:57]OFD Sender: No OFD packet to send [06:12:02]OFD Sender: No OFD packet to send [06:12:07]OFD Sender: No OFD packet to send [06:12:12]OFD Sender: No OFD packet to send [06:12:17]OFD Sender: No OFD packet to send [06:12:22]OFD Sender: No OFD packet to send [06:12:27]OFD Sender: No OFD packet to send [06:12:32]OFD Sender: No OFD packet to send [06:12:37]OFD Sender: No OFD packet to send [06:12:42]OFD Sender: No OFD packet to send [06:12:47]OFD Sender: No OFD packet to send [06:12:52]OFD Sender: No OFD packet to send [06:12:57]OFD Sender: No OFD packet to send [06:13:02]OFD Sender: No OFD packet to send [06:13:07]OFD Sender: No OFD packet to send [06:13:12]OFD Sender: No OFD packet to send [06:13:17]OFD Sender: No OFD packet to send [06:13:22]OFD Sender: No OFD packet to send [06:13:27]OFD Sender: No OFD packet to send [06:13:32]OFD Sender: No OFD packet to send [06:13:37]OFD Sender: No OFD packet to send [06:13:42]OFD Sender: No OFD packet to send [06:13:47]OFD Sender: No OFD packet to send [06:13:52]OFD Sender: No OFD packet to send [06:13:57]OFD Sender: No OFD packet to send [06:14:02]OFD Sender: No OFD packet to send [06:14:07]OFD Sender: No OFD packet to send [06:14:12]OFD Sender: No OFD packet to send [06:14:17]OFD Sender: No OFD packet to send [06:14:22]OFD Sender: No OFD packet to send [06:14:27]OFD Sender: No OFD packet to send [06:14:32]OFD Sender: No OFD packet to send [06:14:37]OFD Sender: No OFD packet to send [06:14:42]OFD Sender: No OFD packet to send [06:14:47]OFD Sender: No OFD packet to send [06:14:52]OFD Sender: No OFD packet to send [06:14:57]OFD Sender: No OFD packet to send [06:15:02]OFD Sender: No OFD packet to send [06:15:07]OFD Sender: No OFD packet to send [06:15:12]OFD Sender: No OFD packet to send [06:15:17]OFD Sender: No OFD packet to send [06:15:22]OFD Sender: No OFD packet to send [06:15:27]OFD Sender: No OFD packet to send [06:15:32]OFD Sender: No OFD packet to send [06:15:37]OFD Sender: No OFD packet to send [06:15:42]OFD Sender: No OFD packet to send [06:15:47]OFD Sender: No OFD packet to send [06:15:52]OFD Sender: No OFD packet to send [06:15:57]OFD Sender: No OFD packet to send [06:16:02]OFD Sender: No OFD packet to send [06:16:07]OFD Sender: No OFD packet to send [06:16:12]OFD Sender: No OFD packet to send [06:16:17]OFD Sender: No OFD packet to send [06:16:22]OFD Sender: No OFD packet to send [06:16:27]OFD Sender: No OFD packet to send [06:16:32]OFD Sender: No OFD packet to send [06:16:37]OFD Sender: No OFD packet to send [06:16:42]OFD Sender: No OFD packet to send [06:16:47]OFD Sender: No OFD packet to send [06:16:52]OFD Sender: No OFD packet to send [06:16:57]OFD Sender: No OFD packet to send [06:17:02]OFD Sender: No OFD packet to send [06:17:07]OFD Sender: No OFD packet to send [06:17:12]OFD Sender: No OFD packet to send [06:17:17]OFD Sender: No OFD packet to send [06:17:22]OFD Sender: No OFD packet to send [06:17:27]OFD Sender: No OFD packet to send [06:17:32]OFD Sender: No OFD packet to send [06:17:37]OFD Sender: No OFD packet to send [06:17:42]OFD Sender: No OFD packet to send [06:17:47]OFD Sender: No OFD packet to send [06:17:52]OFD Sender: No OFD packet to send [06:17:57]OFD Sender: No OFD packet to send [06:18:02]OFD Sender: No OFD packet to send [06:18:07]OFD Sender: No OFD packet to send [06:18:12]OFD Sender: No OFD packet to send [06:18:17]OFD Sender: No OFD packet to send [06:18:22]OFD Sender: No OFD packet to send [06:18:27]OFD Sender: No OFD packet to send [06:18:32]OFD Sender: No OFD packet to send [06:18:37]OFD Sender: No OFD packet to send [06:18:42]OFD Sender: No OFD packet to send [06:18:47]OFD Sender: No OFD packet to send [06:18:52]OFD Sender: No OFD packet to send [06:18:57]OFD Sender: No OFD packet to send [06:19:02]OFD Sender: No OFD packet to send [06:19:07]OFD Sender: No OFD packet to send [06:19:12]OFD Sender: No OFD packet to send [06:19:17]OFD Sender: No OFD packet to send [06:19:22]OFD Sender: No OFD packet to send [06:19:27]OFD Sender: No OFD packet to send [06:19:32]OFD Sender: No OFD packet to send [06:19:37]OFD Sender: No OFD packet to send [06:19:42]OFD Sender: No OFD packet to send [06:19:47]OFD Sender: No OFD packet to send [06:19:52]OFD Sender: No OFD packet to send [06:19:57]OFD Sender: No OFD packet to send [06:20:02]OFD Sender: No OFD packet to send [06:20:07]OFD Sender: No OFD packet to send [06:20:12]OFD Sender: No OFD packet to send [06:20:17]OFD Sender: No OFD packet to send [06:20:22]OFD Sender: No OFD packet to send [06:20:27]OFD Sender: No OFD packet to send [06:20:32]OFD Sender: No OFD packet to send [06:20:37]OFD Sender: No OFD packet to send [06:20:42]OFD Sender: No OFD packet to send [06:20:47]OFD Sender: No OFD packet to send [06:20:52]OFD Sender: No OFD packet to send [06:20:57]OFD Sender: No OFD packet to send [06:21:02]OFD Sender: No OFD packet to send [06:21:07]OFD Sender: No OFD packet to send [06:21:12]OFD Sender: No OFD packet to send [06:21:17]OFD Sender: No OFD packet to send [06:21:22]OFD Sender: No OFD packet to send [06:21:27]OFD Sender: No OFD packet to send [06:21:32]OFD Sender: No OFD packet to send [06:21:37]OFD Sender: No OFD packet to send [06:21:42]OFD Sender: No OFD packet to send [06:21:47]OFD Sender: No OFD packet to send [06:21:52]OFD Sender: No OFD packet to send [06:21:57]OFD Sender: No OFD packet to send [06:22:02]OFD Sender: No OFD packet to send [06:22:07]OFD Sender: No OFD packet to send [06:22:12]OFD Sender: No OFD packet to send [06:22:17]OFD Sender: No OFD packet to send [06:22:22]OFD Sender: No OFD packet to send [06:22:27]OFD Sender: No OFD packet to send [06:22:32]OFD Sender: No OFD packet to send [06:22:37]OFD Sender: No OFD packet to send [06:22:42]OFD Sender: No OFD packet to send [06:22:47]OFD Sender: No OFD packet to send [06:22:52]OFD Sender: No OFD packet to send [06:22:57]OFD Sender: No OFD packet to send [06:23:02]OFD Sender: No OFD packet to send [06:23:07]OFD Sender: No OFD packet to send [06:23:12]OFD Sender: No OFD packet to send [06:23:17]OFD Sender: No OFD packet to send [06:23:22]OFD Sender: No OFD packet to send [06:23:27]OFD Sender: No OFD packet to send [06:23:32]OFD Sender: No OFD packet to send [06:23:37]OFD Sender: No OFD packet to send [06:23:42]OFD Sender: No OFD packet to send [06:23:47]OFD Sender: No OFD packet to send [06:23:52]OFD Sender: No OFD packet to send [06:23:57]OFD Sender: No OFD packet to send [06:24:02]OFD Sender: No OFD packet to send [06:24:07]OFD Sender: No OFD packet to send [06:24:12]OFD Sender: No OFD packet to send [06:24:17]OFD Sender: No OFD packet to send [06:24:22]OFD Sender: No OFD packet to send [06:24:27]OFD Sender: No OFD packet to send [06:24:32]OFD Sender: No OFD packet to send [06:24:37]OFD Sender: No OFD packet to send [06:24:42]OFD Sender: No OFD packet to send [06:24:47]OFD Sender: No OFD packet to send [06:24:52]OFD Sender: No OFD packet to send [06:24:57]OFD Sender: No OFD packet to send [06:25:02]OFD Sender: No OFD packet to send [06:25:07]OFD Sender: No OFD packet to send [06:25:12]OFD Sender: No OFD packet to send [06:25:17]OFD Sender: No OFD packet to send [06:25:22]OFD Sender: No OFD packet to send [06:25:27]OFD Sender: No OFD packet to send [06:25:32]OFD Sender: No OFD packet to send [06:25:37]OFD Sender: No OFD packet to send [06:25:42]OFD Sender: No OFD packet to send [06:25:47]OFD Sender: No OFD packet to send [06:25:52]OFD Sender: No OFD packet to send [06:25:57]OFD Sender: No OFD packet to send [06:26:02]OFD Sender: No OFD packet to send [06:26:07]OFD Sender: No OFD packet to send [06:26:12]OFD Sender: No OFD packet to send [06:26:17]OFD Sender: No OFD packet to send [06:26:22]OFD Sender: No OFD packet to send [06:26:27]OFD Sender: No OFD packet to send [06:26:32]OFD Sender: No OFD packet to send [06:26:37]OFD Sender: No OFD packet to send [06:26:42]OFD Sender: No OFD packet to send [06:26:47]OFD Sender: No OFD packet to send [06:26:52]OFD Sender: No OFD packet to send [06:26:57]OFD Sender: No OFD packet to send [06:27:02]OFD Sender: No OFD packet to send [06:27:07]OFD Sender: No OFD packet to send [06:27:12]OFD Sender: No OFD packet to send [06:27:17]OFD Sender: No OFD packet to send [06:27:22]OFD Sender: No OFD packet to send [06:27:27]OFD Sender: No OFD packet to send [06:27:32]OFD Sender: No OFD packet to send [06:27:37]OFD Sender: No OFD packet to send [06:27:42]OFD Sender: No OFD packet to send [06:27:47]OFD Sender: No OFD packet to send [06:27:52]OFD Sender: No OFD packet to send [06:27:57]OFD Sender: No OFD packet to send [06:28:02]OFD Sender: No OFD packet to send [06:28:07]OFD Sender: No OFD packet to send [06:28:12]OFD Sender: No OFD packet to send [06:28:17]OFD Sender: No OFD packet to send [06:28:22]OFD Sender: No OFD packet to send [06:28:27]OFD Sender: No OFD packet to send [06:28:32]OFD Sender: No OFD packet to send [06:28:37]OFD Sender: No OFD packet to send [06:28:42]OFD Sender: No OFD packet to send [06:28:47]OFD Sender: No OFD packet to send [06:28:52]OFD Sender: No OFD packet to send [06:28:57]OFD Sender: No OFD packet to send [06:29:02]OFD Sender: No OFD packet to send [06:29:07]OFD Sender: No OFD packet to send [06:29:12]OFD Sender: No OFD packet to send [06:29:17]OFD Sender: No OFD packet to send [06:29:22]OFD Sender: No OFD packet to send [06:29:27]OFD Sender: No OFD packet to send [06:29:32]OFD Sender: No OFD packet to send [06:29:37]OFD Sender: No OFD packet to send [06:29:42]OFD Sender: No OFD packet to send [06:29:48]OFD Sender: No OFD packet to send [06:29:53]OFD Sender: No OFD packet to send [06:29:58]OFD Sender: No OFD packet to send [06:30:03]OFD Sender: No OFD packet to send [06:30:08]OFD Sender: No OFD packet to send [06:30:13]OFD Sender: No OFD packet to send [06:30:18]OFD Sender: No OFD packet to send [06:30:23]OFD Sender: No OFD packet to send [06:30:28]OFD Sender: No OFD packet to send [06:30:33]OFD Sender: No OFD packet to send [06:30:38]OFD Sender: No OFD packet to send [06:30:43]OFD Sender: No OFD packet to send [06:30:48]OFD Sender: No OFD packet to send [06:30:53]OFD Sender: No OFD packet to send [06:30:58]OFD Sender: No OFD packet to send [06:31:03]OFD Sender: No OFD packet to send [06:31:08]OFD Sender: No OFD packet to send [06:31:13]OFD Sender: No OFD packet to send [06:31:18]OFD Sender: No OFD packet to send [06:31:23]OFD Sender: No OFD packet to send [06:31:28]OFD Sender: No OFD packet to send [06:31:33]OFD Sender: No OFD packet to send [06:31:38]OFD Sender: No OFD packet to send [06:31:43]OFD Sender: No OFD packet to send [06:31:48]OFD Sender: No OFD packet to send [06:31:53]OFD Sender: No OFD packet to send [06:31:58]OFD Sender: No OFD packet to send [06:32:03]OFD Sender: No OFD packet to send [06:32:08]OFD Sender: No OFD packet to send [06:32:13]OFD Sender: No OFD packet to send [06:32:18]OFD Sender: No OFD packet to send [06:32:23]OFD Sender: No OFD packet to send [06:32:28]OFD Sender: No OFD packet to send [06:32:33]OFD Sender: No OFD packet to send [06:32:38]OFD Sender: No OFD packet to send [06:32:43]OFD Sender: No OFD packet to send [06:32:48]OFD Sender: No OFD packet to send [06:32:53]OFD Sender: No OFD packet to send [06:32:58]OFD Sender: No OFD packet to send [06:33:03]OFD Sender: No OFD packet to send [06:33:08]OFD Sender: No OFD packet to send [06:33:13]OFD Sender: No OFD packet to send [06:33:18]OFD Sender: No OFD packet to send [06:33:23]OFD Sender: No OFD packet to send [06:33:28]OFD Sender: No OFD packet to send [06:33:33]OFD Sender: No OFD packet to send [06:33:38]OFD Sender: No OFD packet to send [06:33:43]OFD Sender: No OFD packet to send [06:33:48]OFD Sender: No OFD packet to send [06:33:53]OFD Sender: No OFD packet to send [06:33:58]OFD Sender: No OFD packet to send [06:34:03]OFD Sender: No OFD packet to send [06:34:08]OFD Sender: No OFD packet to send [06:34:13]OFD Sender: No OFD packet to send [06:34:18]OFD Sender: No OFD packet to send [06:34:23]OFD Sender: No OFD packet to send [06:34:28]OFD Sender: No OFD packet to send [06:34:33]OFD Sender: No OFD packet to send [06:34:38]OFD Sender: No OFD packet to send [06:34:43]OFD Sender: No OFD packet to send [06:34:48]OFD Sender: No OFD packet to send [06:34:53]OFD Sender: No OFD packet to send [06:34:58]OFD Sender: No OFD packet to send [06:35:03]OFD Sender: No OFD packet to send [06:35:08]OFD Sender: No OFD packet to send [06:35:13]OFD Sender: No OFD packet to send [06:35:18]OFD Sender: No OFD packet to send [06:35:23]OFD Sender: No OFD packet to send [06:35:28]OFD Sender: No OFD packet to send [06:35:33]OFD Sender: No OFD packet to send [06:35:38]OFD Sender: No OFD packet to send [06:35:43]OFD Sender: No OFD packet to send [06:35:48]OFD Sender: No OFD packet to send [06:35:53]OFD Sender: No OFD packet to send [06:35:58]OFD Sender: No OFD packet to send [06:36:03]OFD Sender: No OFD packet to send [06:36:08]OFD Sender: No OFD packet to send [06:36:13]OFD Sender: No OFD packet to send [06:36:18]OFD Sender: No OFD packet to send [06:36:23]OFD Sender: No OFD packet to send [06:36:28]OFD Sender: No OFD packet to send [06:36:33]OFD Sender: No OFD packet to send [06:36:38]OFD Sender: No OFD packet to send [06:36:43]OFD Sender: No OFD packet to send [06:36:48]OFD Sender: No OFD packet to send [06:36:53]OFD Sender: No OFD packet to send [06:36:58]OFD Sender: No OFD packet to send [06:37:03]OFD Sender: No OFD packet to send [06:37:08]OFD Sender: No OFD packet to send [06:37:13]OFD Sender: No OFD packet to send [06:37:18]OFD Sender: No OFD packet to send [06:37:23]OFD Sender: No OFD packet to send [06:37:28]OFD Sender: No OFD packet to send [06:37:33]OFD Sender: No OFD packet to send [06:37:38]OFD Sender: No OFD packet to send [06:37:43]OFD Sender: No OFD packet to send [06:37:48]OFD Sender: No OFD packet to send [06:37:53]OFD Sender: No OFD packet to send [06:37:58]OFD Sender: No OFD packet to send [06:38:03]OFD Sender: No OFD packet to send [06:38:08]OFD Sender: No OFD packet to send [06:38:13]OFD Sender: No OFD packet to send [06:38:18]OFD Sender: No OFD packet to send [06:38:23]OFD Sender: No OFD packet to send [06:38:28]OFD Sender: No OFD packet to send [06:38:33]OFD Sender: No OFD packet to send [06:38:38]OFD Sender: No OFD packet to send [06:38:43]OFD Sender: No OFD packet to send [06:38:48]OFD Sender: No OFD packet to send [06:38:53]OFD Sender: No OFD packet to send [06:38:58]OFD Sender: No OFD packet to send [06:39:03]OFD Sender: No OFD packet to send [06:39:08]OFD Sender: No OFD packet to send [06:39:13]OFD Sender: No OFD packet to send [06:39:18]OFD Sender: No OFD packet to send [06:39:23]OFD Sender: No OFD packet to send [06:39:28]OFD Sender: No OFD packet to send [06:39:33]OFD Sender: No OFD packet to send [06:39:38]OFD Sender: No OFD packet to send [06:39:43]OFD Sender: No OFD packet to send [06:39:48]OFD Sender: No OFD packet to send [06:39:53]OFD Sender: No OFD packet to send [06:39:58]OFD Sender: No OFD packet to send [06:40:03]OFD Sender: No OFD packet to send [06:40:08]OFD Sender: No OFD packet to send [06:40:13]OFD Sender: No OFD packet to send [06:40:18]OFD Sender: No OFD packet to send [06:40:23]OFD Sender: No OFD packet to send [06:40:28]OFD Sender: No OFD packet to send [06:40:33]OFD Sender: No OFD packet to send [06:40:38]OFD Sender: No OFD packet to send [06:40:43]OFD Sender: No OFD packet to send [06:40:48]OFD Sender: No OFD packet to send [06:40:53]OFD Sender: No OFD packet to send [06:40:58]OFD Sender: No OFD packet to send [06:41:03]OFD Sender: No OFD packet to send [06:41:08]OFD Sender: No OFD packet to send [06:41:13]OFD Sender: No OFD packet to send [06:41:18]OFD Sender: No OFD packet to send [06:41:23]OFD Sender: No OFD packet to send [06:41:28]OFD Sender: No OFD packet to send [06:41:33]OFD Sender: No OFD packet to send [06:41:38]OFD Sender: No OFD packet to send [06:41:43]OFD Sender: No OFD packet to send [06:41:48]OFD Sender: No OFD packet to send [06:41:51]accept exits with 9 [06:41:51]New connection [06:41:51]New thread 3066453348 created [06:41:51]Thread 3066596708 joined [06:41:51]Waiting for new connection... [06:41:51] Sock 9.Parse request [06:41:51]Sock 9.Check first char [06:41:51]Sock 9.First char is OK [06:41:51]request: POST /json_proto HTTP/1.0 [06:41:51]Method: POST [06:41:51]URL: /json_proto [06:41:51]Method is POST - this is cgi request [06:41:51]url: /json_proto [06:41:51]query_string will be loaded in cgi processing [06:41:51]execute_cgi json_proto POST (null) [06:41:51]execute_cgi path=json_proto method=POST [06:41:51]POST find Content-Length [06:41:51]Host: 172.17.32.68:8080 [06:41:51]Content-Length: 784 [06:41:51]Content-Type: application/json [06:41:51] [06:41:51]POST finish read [06:41:51]Found Content-Length = 784 [06:41:51]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242248", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 135.00, "quantity" : 1.000, "sum" : 135.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: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [06:41:51]execute_script... [06:41: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)242248", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 135.00, "quantity" : 1.000, "sum" : 135.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: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [06:41:51]POST & json_proto [06:41:51]process_json_proto [06:41:51]json parsed OK: [06:41:51]protocol is kg_v1.0 [06:41:51]action value=close_receipt [06:41:51]process_action close_receipt [06:41:51]cmd_close_receipt [06:41:51]MH_GetDate [06:41:51]Write to MH i2c: F0 00 00 74 4E B1 [06:41:51]Write i2c OK [06:41:51]MH_I2C_Read... [06:41:51]Read from MH i2c: F0 [06:41:51]MH_I2C_Read... [06:41:51]Read from MH i2c: F0 09 00 [06:41:51]MH_I2C_Read... [06:41:51]Read from MH i2c: F0 09 00 74 4E 00 3D F9 EF 65 0A 64 6E 65 85 [06:41:51]GetLastDocTimeStamp 1710222081 [06:41:51]current date 1710225725 [06:41:51]FM_GetShiftState [06:41:51]SAM_PROTO_GetShiftState [06:41:51]wFMCommunicate request_size=4 [06:41:51]MH_SAM_APDU [06:41:51]CAPDU: 80 13 01 00 [06:41:51]Write to MH i2c: E2 08 00 75 4E 80 13 01 00 00 00 00 00 40 [06:41:51]Write i2c OK [06:41:51]MH_I2C_Read... [06:41:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:41:51]Read from MH i2c: E2 [06:41:51]MH_I2C_Read... [06:41:51]Read from MH i2c: E2 0E 00 [06:41:51]MH_I2C_Read... [06:41:51]Read from MH i2c: E2 0E 00 75 4E 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 6F [06:41:51]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [06:41:51]wFMCommunicate OK [06:41:51]SAM_PROTO_GetShiftState done [06:41:51]FM_GetShiftState done [06:41:51]opened in 1710202417 [06:41:51]opened+sec_in_day 1710288817 [06:41:51]quantity*price = 13500 [06:41:51]sum+1 = 13501 [06:41:51]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 135.00 НСП 1% : 1.19 НДС 12% : 14.34 Наличными: 0.00 Безнал.: 135.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 12 12.03.2024 06:42 Смена: 314 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 Платежная система: O! деньги ФМ: 0000000000871816 ФД: 47334 ФПД: 214274666504927 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T064205&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47334&fm=214274666504927&tin=02508201610067®Number=0000000000092018&sum=13500 0 [06:41:52]StoreToDocumentArchive [06:41:52]shift 314 fd 47334 [06:41:52]save to /storage/0314/doc_00047334 [06:41:52]save last doc name /storage/0314/doc_00047334 to /storage/kkm_last_doc_name [06:41:52]save OK [06:41:52]Clear old archive folders... [06:41:52]ProcessDocumentItem done err = 0, tmpTLVsize=275 [06:41:52]tlvbuf is 002B3590 [06:41:52]SAM_PROTO_ClearQueue [06:41:52]wFMCommunicate request_size=4 [06:41:52]MH_SAM_APDU [06:41:52]CAPDU: 80 09 00 00 [06:41:52]Write to MH i2c: E2 08 00 82 4E 80 09 00 00 00 00 00 00 42 [06:41:52]Write i2c OK [06:41:52]MH_I2C_Read... [06:41:52]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [06:41:52]Read from MH i2c: E2 [06:41:52]MH_I2C_Read... [06:41:52]Read from MH i2c: E2 03 00 [06:41:52]MH_I2C_Read... [06:41:52]Read from MH i2c: E2 03 00 82 4E 00 90 00 44 [06:41:52]RAPDU: 90 00 [06:41:52]wFMCommunicate OK [06:41:52]SAM_PROTO_ClearQueue done [06:41:52]KKMCreateOFDPacket [06:41:52]OFDProtocolAddRootSTLVToBuf [06:41:52]FM_MakeSignedData [06:41:52]FM_MakeSignedData [06:41:52]SAM_PROTO_SignData [06:41:52]wFMCommunicate request_size=4 [06:41:52]MH_SAM_APDU [06:41:52]CAPDU: 80 0D 01 02 [06:41:52]Write to MH i2c: E2 08 00 83 4E 80 0D 01 02 00 00 00 00 4A [06:41:52]Write i2c OK [06:41:52]MH_I2C_Read... [06:41:52]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [06:41:52]Read from MH i2c: E2 [06:41:52]MH_I2C_Read... [06:41:52]Read from MH i2c: E2 03 00 [06:41:52]MH_I2C_Read... [06:41:52]Read from MH i2c: E2 03 00 83 4E 00 90 00 45 [06:41:52]RAPDU: 90 00 [06:41:52]wFMCommunicate OK [06:41:52]wFMCommunicate request_size=255 [06:41:52]MH_SAM_APDU [06:41:52]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 BC 34 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 3D F9 EF 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 [06:41:52]Write to MH i2c: E2 02 01 84 4E 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 BC 34 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 3D F9 EF 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 00 00 94 [06:41:52]Write i2c OK [06:41:52]MH_I2C_Read... [06:41:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:41:53]Read from MH i2c: E2 [06:41:53]MH_I2C_Read... [06:41:53]Read from MH i2c: E2 03 00 [06:41:53]MH_I2C_Read... [06:41:53]Read from MH i2c: E2 03 00 84 4E 00 90 00 46 [06:41:53]RAPDU: 90 00 [06:41:53]wFMCommunicate OK [06:41:53]wFMCommunicate request_size=34 [06:41:53]MH_SAM_APDU [06:41:53]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 E6 B8 00 00 35 04 06 00 C2 E1 B5 61 A2 DF [06:41:53]Write to MH i2c: E2 25 00 85 4E 80 0D 02 02 1D 00 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 E6 B8 00 00 35 04 06 00 C2 E1 B5 61 A2 DF 00 00 E5 [06:41:53]Write i2c OK [06:41:53]MH_I2C_Read... [06:41:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:41:53]Read from MH i2c: E2 [06:41:53]MH_I2C_Read... [06:41:53]Read from MH i2c: E2 03 00 [06:41:53]MH_I2C_Read... [06:41:53]Read from MH i2c: E2 03 00 85 4E 00 90 00 47 [06:41:53]RAPDU: 90 00 [06:41:53]wFMCommunicate OK [06:41:53]wFMCommunicate request_size=4 [06:41:53]MH_SAM_APDU [06:41:53]CAPDU: 80 0D 03 02 [06:41:53]Write to MH i2c: E2 08 00 86 4E 80 0D 03 02 00 00 00 00 4F [06:41:53]Write i2c OK [06:41:53]MH_I2C_Read... [06:41:53]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [06:41:53]Read from MH i2c: E2 [06:41:53]MH_I2C_Read... [06:41:53]Read from MH i2c: E2 0B 00 [06:41:53]MH_I2C_Read... [06:41:53]Read from MH i2c: E2 0B 00 86 4E 00 C0 A9 9A CE F6 65 E6 0A 90 00 6C [06:41:53]RAPDU: C0 A9 9A CE F6 65 E6 0A 90 00 [06:41:53]wFMCommunicate OK [06:41:53]SAM_PROTO_SignData done [06:41:53]FM_MakeSignedData done [06:41:53]CreateOFDProtocolMessage [06:41:53]wFMCommunicate request_size=4 [06:41:53]MH_SAM_APDU [06:41:53]CAPDU: 80 11 00 00 [06:41:53]Write to MH i2c: E2 08 00 87 4E 80 11 00 00 00 00 00 00 4F [06:41:53]Write i2c OK [06:41:53]MH_I2C_Read... [06:41:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:41:53]Read from MH i2c: E2 [06:41:53]MH_I2C_Read... [06:41:53]Read from MH i2c: E2 17 00 [06:41:53]MH_I2C_Read... [06:41:53]Read from MH i2c: E2 17 00 87 4E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 A1 [06:41:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [06:41:53]wFMCommunicate OK [06:41:53]CreateOFDProtocolMessage done [06:41:53]OFDSenderStorePacket 47334 [06:41:53]StoreOFDPacket docnum=47334 [06:41:53]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 27 01 00 00 ED 64 1F 01 CB 14 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 BC 34 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 3D F9 EF 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 E6 B8 00 00 35 04 06 00 C2 E1 B5 61 A2 DF C0 A9 9A CE F6 65 E6 0A [06:41:53]CheckFolder [06:41:53]dirname=/storage/ofd_packets [06:41:53]CheckFolder done [06:41:53]ProducePacketName [06:41:53]name=ofd_packets/00047334 [06:41:53]NVStorageSaveData ofd_packets/00047334 [06:41:53]File name is /storage/ofd_packets/00047334 [06:41:53]Write 325 bytes [06:41:53]NVStorageSaveData done [06:41:53]OFDSenderStorePacket done [06:41:53]KKMCreateOFDPacket done [06:41:53]NVStorageSaveData kkm_last_timestamp [06:41:53]File name is /storage/kkm_last_timestamp [06:41:53]Write 4 bytes [06:41:53]NVStorageSaveData done [06:41:53]ExternCall_PrintAddStr [06:41:53]wPrintStart [06:41:53]Write to MH i2c: 01 00 00 88 4E D6 [06:41:53]Write i2c OK [06:41:53]MH_I2C_Read... [06:41:53]Read from MH i2c: 01 [06:41:53]MH_I2C_Read... [06:41:53]Read from MH i2c: 01 07 00 [06:41:53]MH_I2C_Read... [06:41:53]Read from MH i2c: 01 07 00 88 4E 00 00 00 00 00 FF 0F EB [06:41:53]RasterBufferAndPrint [06:41:53]line Счет N : (3)242248 [06:41:53]line ИНН: 02508201610067 [06:41:53]line Контрольно-Кассовый Чек [06:41:53]line ПРОДАЖА [06:41:53]line Товар: 48743587 [06:41:53]line Сигареты Winston XStyle Silver [06:41:53]line 1.000 * 135.00 [06:41:53]line = 135.00 [06:41:53]line НДС 12% НСП 1% [06:41:53]line > о реализуемом товаре [06:41:53]line ИТОГО: 135.00 [06:41:53]line НСП 1% : 1.19 [06:41:53]line НДС 12% : 14.34 [06:41:53]line Наличными: 0.00 [06:41:53]line Безнал.: 135.00 [06:41:53]line Место: АЗС № 15 "Партнер Нефть" [06:41:53]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [06:41:53]line СНО: Общий режим [06:41:53]line Чек 12 12.03.2024 06:42 [06:41:53]line Смена: 314 ФФД: 1.0 [06:41:53]line ЗНМ: 0300000097 [06:41:53]line РНМ: 0000000000092018 [06:41:53]line Версия ККМ: 001 [06:41:53]line Платежная система: O! деньги [06:41:53]line ФМ: 0000000000871816 [06:41:53]line ФД: 47334 [06:41:53]line ФПД: 214274666504927 [06:41:53]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T064205&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47334&fm=214274666504927&tin=02508201610067®Number=0000000000092018&sum=13500 [06:41:53]line 0 [06:41:53]OFD Sender: Processing packet 47334 [packets to send 8, broken 7] [06:41:53]ProducePacketName [06:41:53]name=ofd_packets/00047334 [06:41:53]OFD Sender: To server: pG, [06:41:53]CommunicateWithHost lk.salyk.kg:30040 [06:41:53]ConnectInit lk.salyk.kg [06:41:53]written 0, free lines is 4095 [06:41:53]Connected sock=10 [06:41: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 31 36 27 01 00 00 ED 64 1F 01 CB 14 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 BC 34 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 3D F9 EF 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 E6 B8 00 00 35 04 06 00 C2 E1 B5 61 A2 DF C0 A9 9A CE F6 65 E6 0A [06:41: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 31 36 4F 00 00 00 DD 9E 47 00 5B B5 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 E6 B8 00 00 F4 03 04 00 D0 A3 EF 65 B6 04 01 00 00 4C DF A5 DB 09 46 14 1C [06:41:53]CommunicateWithHost err = 0 [06:41:53]CheckOFDResponse [06:41:53]1017 (14) - 77093643461234 [06:41:53]1041 (16) - 0000000000871816 [06:41:53]1040 (4) - 47334 [06:41:53]1012 (4) - 12.03.2024 00:37 [06:41:53]1206 (1) - 0 [06:41:53]OFD Sender: Remove packet 47334 [06:41:53]ProducePacketName [06:41:53]name=ofd_packets/00047334 [06:41:53]NVStorageDeleteData [06:41:54]Write to MH i2c: 01 00 00 B3 4E 01 [06:41:54]Write i2c OK [06:41:54]MH_I2C_Read... [06:41:54]Read from MH i2c: 01 [06:41:54]MH_I2C_Read... [06:41:54]Read from MH i2c: 01 07 00 [06:41:54]MH_I2C_Read... [06:41:54]Read from MH i2c: 01 07 00 B3 4E 00 00 00 00 00 A2 0C B6 [06:41:54]RasterBufferAndPrint [06:41:54]line [06:41:54]line [06:41:54]line [06:41:54]line [06:41:54]line [06:41:54]written 0, free lines is 3239 [06:41:54]MH_Cut [06:41:54]Write to MH i2c: D1 01 00 BA 4E 01 DA [06:41:54]Write i2c OK [06:41:54]MH_I2C_Read... [06:41:54]Read from MH i2c: D1 [06:41:54]MH_I2C_Read... [06:41:54]Read from MH i2c: D1 01 00 [06:41:54]MH_I2C_Read... [06:41:54]Read from MH i2c: D1 01 00 BA 4E 00 D9 [06:41:54]Write to MH i2c: 01 00 00 BB 4E 09 [06:41:54]Write i2c OK [06:41:54]MH_I2C_Read... [06:41:54]OFD Sender: No OFD packet to send [06:41:54]*** Cut start [06:41:54]*** Purtial cut [06:41:54]*** Stage 1: CUTSNS_PIN = 1 [06:41:55]Read from MH i2c: 01 [06:41:55]MH_I2C_Read... [06:41:55]*** Stop cut motor [06:41:55]*** Cut end [06:41:55]Read from MH i2c: 01 07 00 [06:41:55]MH_I2C_Read... [06:41:55]Read from MH i2c: 01 07 00 BB 4E 00 00 00 00 00 FF 0F 1E [06:41:55]process_action close_receipt done [06:41:55]requested_data is exist [06:41:55]produce_requested_data [06:41:55]requested_item fm.sn is exist - process it [06:41:55]wFMCommunicate request_size=4 [06:41:55]MH_SAM_APDU [06:41:55]CAPDU: 80 11 00 00 [06:41:55]Write to MH i2c: E2 08 00 BC 4E 80 11 00 00 00 00 00 00 84 [06:41:55]Write i2c OK [06:41:55]MH_I2C_Read... [06:41:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:41:55]Read from MH i2c: E2 [06:41:55]MH_I2C_Read... [06:41:55]Read from MH i2c: E2 17 00 [06:41:55]MH_I2C_Read... [06:41:55]Read from MH i2c: E2 17 00 BC 4E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 D6 [06:41:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [06:41:55]wFMCommunicate OK [06:41:55]requested_item fd.num is exist - process it [06:41:55]SAM_PROTO_GetFieldsCounters [06:41:55]wFMCommunicate request_size=4 [06:41:55]MH_SAM_APDU [06:41:55]CAPDU: 80 13 00 00 [06:41:55]Write to MH i2c: E2 08 00 BD 4E 80 13 00 00 00 00 00 00 87 [06:41:55]Write i2c OK [06:41:55]MH_I2C_Read... [06:41:55]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [06:41:55]Read from MH i2c: E2 [06:41:55]MH_I2C_Read... [06:41:55]Read from MH i2c: E2 62 00 [06:41:55]MH_I2C_Read... [06:41:55]Read from MH i2c: E2 62 00 BD 4E 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 E6 B8 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 0C 00 00 00 5E 04 04 00 0C 00 00 00 57 04 04 00 0D 00 00 00 19 04 04 00 00 00 00 00 90 00 9F [06:41: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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 E6 B8 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 0C 00 00 00 5E 04 04 00 0C 00 00 00 57 04 04 00 0D 00 00 00 19 04 04 00 00 00 00 00 90 00 [06:41:55]wFMCommunicate OK [06:41:55]SAM_PROTO_GetFieldsCounters done [06:41:55]requested_item shift.num is exist - process it [06:41:55]requested_item shift.opened is exist - process it [06:41:55]req_shift_opened [06:41:55]FM_GetShiftState [06:41:55]SAM_PROTO_GetShiftState [06:41:55]wFMCommunicate request_size=4 [06:41:55]MH_SAM_APDU [06:41:55]CAPDU: 80 13 01 00 [06:41:55]Write to MH i2c: E2 08 00 BE 4E 80 13 01 00 00 00 00 00 89 [06:41:55]Write i2c OK [06:41:55]MH_I2C_Read... [06:41:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:41:55]Read from MH i2c: E2 [06:41:55]MH_I2C_Read... [06:41:55]Read from MH i2c: E2 0E 00 [06:41:55]MH_I2C_Read... [06:41:55]Read from MH i2c: E2 0E 00 BE 4E 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 B8 [06:41:55]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [06:41:55]wFMCommunicate OK [06:41:55]SAM_PROTO_GetShiftState done [06:41:55]FM_GetShiftState done [06:41:55]req_shift_opened done [06:41:55]requested_item shift.open_date is exist - process it [06:41:55]req_shift_open_date [06:41:55]req_shift_open_date done [06:41:55]produce_requested_data done [06:41:55]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47334,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [06:41:55]process_action_free close_receipt [06:41:55]json_value_free [06:41:55]json_value_free done [06:41:55]process_json_proto returns [06:41:55]Send response to host [06:41:55]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47334,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [06:41:55]free response buf [06:41:55]execute_script done [06:41:55]execute_script returns [06:41:55]free content buf [06:41:55]Sock 9.Close socket [06:41:55]Sock 9.Thread stoped [06:41:59]OFD Sender: No OFD packet to send [06:42:04]OFD Sender: No OFD packet to send [06:42:09]OFD Sender: No OFD packet to send [06:42:14]OFD Sender: No OFD packet to send [06:42:19]OFD Sender: No OFD packet to send [06:42:24]OFD Sender: No OFD packet to send [06:42:29]OFD Sender: No OFD packet to send [06:42:34]OFD Sender: No OFD packet to send [06:42:39]OFD Sender: No OFD packet to send [06:42:44]OFD Sender: No OFD packet to send [06:42:49]OFD Sender: No OFD packet to send [06:42:54]OFD Sender: No OFD packet to send [06:42:59]OFD Sender: No OFD packet to send [06:43:04]OFD Sender: No OFD packet to send [06:43:09]OFD Sender: No OFD packet to send [06:43:14]OFD Sender: No OFD packet to send [06:43:19]OFD Sender: No OFD packet to send [06:43:24]OFD Sender: No OFD packet to send [06:43:29]OFD Sender: No OFD packet to send [06:43:34]OFD Sender: No OFD packet to send [06:43:39]OFD Sender: No OFD packet to send [06:43:44]OFD Sender: No OFD packet to send [06:43:49]OFD Sender: No OFD packet to send [06:43:54]OFD Sender: No OFD packet to send [06:43:59]OFD Sender: No OFD packet to send [06:44:04]OFD Sender: No OFD packet to send [06:44:09]OFD Sender: No OFD packet to send [06:44:14]OFD Sender: No OFD packet to send [06:44:19]OFD Sender: No OFD packet to send [06:44:24]OFD Sender: No OFD packet to send [06:44:29]OFD Sender: No OFD packet to send [06:44:34]OFD Sender: No OFD packet to send [06:44:39]OFD Sender: No OFD packet to send [06:44:44]OFD Sender: No OFD packet to send [06:44:49]OFD Sender: No OFD packet to send [06:44:54]OFD Sender: No OFD packet to send [06:44:59]OFD Sender: No OFD packet to send [06:45:04]OFD Sender: No OFD packet to send [06:45:09]OFD Sender: No OFD packet to send [06:45:14]OFD Sender: No OFD packet to send [06:45:19]OFD Sender: No OFD packet to send [06:45:24]OFD Sender: No OFD packet to send [06:45:29]OFD Sender: No OFD packet to send [06:45:34]OFD Sender: No OFD packet to send [06:45:39]OFD Sender: No OFD packet to send [06:45:44]OFD Sender: No OFD packet to send [06:45:49]OFD Sender: No OFD packet to send [06:45:54]OFD Sender: No OFD packet to send [06:45:59]OFD Sender: No OFD packet to send [06:46:04]OFD Sender: No OFD packet to send [06:46:09]OFD Sender: No OFD packet to send [06:46:14]OFD Sender: No OFD packet to send [06:46:19]OFD Sender: No OFD packet to send [06:46:24]OFD Sender: No OFD packet to send [06:46:29]OFD Sender: No OFD packet to send [06:46:34]OFD Sender: No OFD packet to send [06:46:39]OFD Sender: No OFD packet to send [06:46:44]OFD Sender: No OFD packet to send [06:46:49]OFD Sender: No OFD packet to send [06:46:54]OFD Sender: No OFD packet to send [06:46:59]OFD Sender: No OFD packet to send [06:47:04]OFD Sender: No OFD packet to send [06:47:09]OFD Sender: No OFD packet to send [06:47:14]OFD Sender: No OFD packet to send [06:47:19]OFD Sender: No OFD packet to send [06:47:24]OFD Sender: No OFD packet to send [06:47:29]OFD Sender: No OFD packet to send [06:47:34]OFD Sender: No OFD packet to send [06:47:39]OFD Sender: No OFD packet to send [06:47:44]OFD Sender: No OFD packet to send [06:47:49]OFD Sender: No OFD packet to send [06:47:54]OFD Sender: No OFD packet to send [06:47:59]OFD Sender: No OFD packet to send [06:48:04]OFD Sender: No OFD packet to send [06:48:09]OFD Sender: No OFD packet to send [06:48:14]OFD Sender: No OFD packet to send [06:48:19]OFD Sender: No OFD packet to send [06:48:24]OFD Sender: No OFD packet to send [06:48:29]OFD Sender: No OFD packet to send [06:48:34]OFD Sender: No OFD packet to send [06:48:39]OFD Sender: No OFD packet to send [06:48:44]OFD Sender: No OFD packet to send [06:48:49]OFD Sender: No OFD packet to send [06:48:54]OFD Sender: No OFD packet to send [06:48:59]OFD Sender: No OFD packet to send [06:49:04]OFD Sender: No OFD packet to send [06:49:09]OFD Sender: No OFD packet to send [06:49:14]OFD Sender: No OFD packet to send [06:49:19]OFD Sender: No OFD packet to send [06:49:24]OFD Sender: No OFD packet to send [06:49:29]OFD Sender: No OFD packet to send [06:49:34]OFD Sender: No OFD packet to send [06:49:39]OFD Sender: No OFD packet to send [06:49:44]OFD Sender: No OFD packet to send [06:49:49]OFD Sender: No OFD packet to send [06:49:54]OFD Sender: No OFD packet to send [06:49:59]OFD Sender: No OFD packet to send [06:50:04]OFD Sender: No OFD packet to send [06:50:09]OFD Sender: No OFD packet to send [06:50:14]OFD Sender: No OFD packet to send [06:50:19]OFD Sender: No OFD packet to send [06:50:24]OFD Sender: No OFD packet to send [06:50:29]OFD Sender: No OFD packet to send [06:50:34]OFD Sender: No OFD packet to send [06:50:39]OFD Sender: No OFD packet to send [06:50:44]OFD Sender: No OFD packet to send [06:50:49]OFD Sender: No OFD packet to send [06:50:54]OFD Sender: No OFD packet to send [06:50:59]OFD Sender: No OFD packet to send [06:51:04]OFD Sender: No OFD packet to send [06:51:09]OFD Sender: No OFD packet to send [06:51:14]OFD Sender: No OFD packet to send [06:51:19]OFD Sender: No OFD packet to send [06:51:24]OFD Sender: No OFD packet to send [06:51:29]OFD Sender: No OFD packet to send [06:51:34]OFD Sender: No OFD packet to send [06:51:39]OFD Sender: No OFD packet to send [06:51:44]OFD Sender: No OFD packet to send [06:51:49]OFD Sender: No OFD packet to send [06:51:54]OFD Sender: No OFD packet to send [06:51:59]OFD Sender: No OFD packet to send [06:52:04]OFD Sender: No OFD packet to send [06:52:09]OFD Sender: No OFD packet to send [06:52:14]OFD Sender: No OFD packet to send [06:52:19]OFD Sender: No OFD packet to send [06:52:24]OFD Sender: No OFD packet to send [06:52:29]OFD Sender: No OFD packet to send [06:52:34]OFD Sender: No OFD packet to send [06:52:39]OFD Sender: No OFD packet to send [06:52:44]OFD Sender: No OFD packet to send [06:52:49]OFD Sender: No OFD packet to send [06:52:54]OFD Sender: No OFD packet to send [06:52:59]OFD Sender: No OFD packet to send [06:53:04]OFD Sender: No OFD packet to send [06:53:09]OFD Sender: No OFD packet to send [06:53:14]OFD Sender: No OFD packet to send [06:53:19]OFD Sender: No OFD packet to send [06:53:24]OFD Sender: No OFD packet to send [06:53:29]OFD Sender: No OFD packet to send [06:53:34]OFD Sender: No OFD packet to send [06:53:39]OFD Sender: No OFD packet to send [06:53:44]OFD Sender: No OFD packet to send [06:53:49]OFD Sender: No OFD packet to send [06:53:55]OFD Sender: No OFD packet to send [06:54:00]OFD Sender: No OFD packet to send [06:54:05]OFD Sender: No OFD packet to send [06:54:10]OFD Sender: No OFD packet to send [06:54:15]OFD Sender: No OFD packet to send [06:54:20]OFD Sender: No OFD packet to send [06:54:25]OFD Sender: No OFD packet to send [06:54:30]OFD Sender: No OFD packet to send [06:54:35]OFD Sender: No OFD packet to send [06:54:40]OFD Sender: No OFD packet to send [06:54:45]OFD Sender: No OFD packet to send [06:54:50]OFD Sender: No OFD packet to send [06:54:55]OFD Sender: No OFD packet to send [06:55:00]OFD Sender: No OFD packet to send [06:55:05]OFD Sender: No OFD packet to send [06:55:10]OFD Sender: No OFD packet to send [06:55:15]OFD Sender: No OFD packet to send [06:55:20]OFD Sender: No OFD packet to send [06:55:25]OFD Sender: No OFD packet to send [06:55:30]OFD Sender: No OFD packet to send [06:55:35]OFD Sender: No OFD packet to send [06:55:40]OFD Sender: No OFD packet to send [06:55:45]OFD Sender: No OFD packet to send [06:55:50]OFD Sender: No OFD packet to send [06:55:55]OFD Sender: No OFD packet to send [06:56:00]OFD Sender: No OFD packet to send [06:56:05]OFD Sender: No OFD packet to send [06:56:10]OFD Sender: No OFD packet to send [06:56:15]OFD Sender: No OFD packet to send [06:56:20]OFD Sender: No OFD packet to send [06:56:25]OFD Sender: No OFD packet to send [06:56:30]OFD Sender: No OFD packet to send [06:56:35]OFD Sender: No OFD packet to send [06:56:40]OFD Sender: No OFD packet to send [06:56:45]OFD Sender: No OFD packet to send [06:56:50]OFD Sender: No OFD packet to send [06:56:55]OFD Sender: No OFD packet to send [06:57:00]OFD Sender: No OFD packet to send [06:57:05]OFD Sender: No OFD packet to send [06:57:10]OFD Sender: No OFD packet to send [06:57:15]OFD Sender: No OFD packet to send [06:57:20]OFD Sender: No OFD packet to send [06:57:25]OFD Sender: No OFD packet to send [06:57:30]OFD Sender: No OFD packet to send [06:57:35]OFD Sender: No OFD packet to send [06:57:40]OFD Sender: No OFD packet to send [06:57:45]OFD Sender: No OFD packet to send [06:57:50]OFD Sender: No OFD packet to send [06:57:55]OFD Sender: No OFD packet to send [06:58:00]OFD Sender: No OFD packet to send [06:58:05]OFD Sender: No OFD packet to send [06:58:10]OFD Sender: No OFD packet to send [06:58:15]OFD Sender: No OFD packet to send [06:58:20]OFD Sender: No OFD packet to send [06:58:25]OFD Sender: No OFD packet to send [06:58:30]OFD Sender: No OFD packet to send [06:58:35]OFD Sender: No OFD packet to send [06:58:40]OFD Sender: No OFD packet to send [06:58:45]OFD Sender: No OFD packet to send [06:58:50]OFD Sender: No OFD packet to send [06:58:55]OFD Sender: No OFD packet to send [06:59:00]OFD Sender: No OFD packet to send [06:59:05]OFD Sender: No OFD packet to send [06:59:10]OFD Sender: No OFD packet to send [06:59:15]OFD Sender: No OFD packet to send [06:59:20]OFD Sender: No OFD packet to send [06:59:25]OFD Sender: No OFD packet to send [06:59:30]OFD Sender: No OFD packet to send [06:59:35]OFD Sender: No OFD packet to send [06:59:40]OFD Sender: No OFD packet to send [06:59:45]OFD Sender: No OFD packet to send [06:59:50]OFD Sender: No OFD packet to send [06:59:55]OFD Sender: No OFD packet to send [07:00:00]OFD Sender: No OFD packet to send [07:00:05]OFD Sender: No OFD packet to send [07:00:10]OFD Sender: No OFD packet to send [07:00:15]OFD Sender: No OFD packet to send [07:00:20]OFD Sender: No OFD packet to send [07:00:25]OFD Sender: No OFD packet to send [07:00:30]OFD Sender: No OFD packet to send [07:00:35]OFD Sender: No OFD packet to send [07:00:40]OFD Sender: No OFD packet to send [07:00:45]OFD Sender: No OFD packet to send [07:00:50]OFD Sender: No OFD packet to send [07:00:55]OFD Sender: No OFD packet to send [07:01:00]OFD Sender: No OFD packet to send [07:01:05]OFD Sender: No OFD packet to send [07:01:10]OFD Sender: No OFD packet to send [07:01:15]OFD Sender: No OFD packet to send [07:01:20]OFD Sender: No OFD packet to send [07:01:25]OFD Sender: No OFD packet to send [07:01:30]OFD Sender: No OFD packet to send [07:01:35]OFD Sender: No OFD packet to send [07:01:40]OFD Sender: No OFD packet to send [07:01:45]OFD Sender: No OFD packet to send [07:01:50]OFD Sender: No OFD packet to send [07:01:55]OFD Sender: No OFD packet to send [07:02:00]OFD Sender: No OFD packet to send [07:02:05]OFD Sender: No OFD packet to send [07:02:10]OFD Sender: No OFD packet to send [07:02:15]OFD Sender: No OFD packet to send [07:02:20]OFD Sender: No OFD packet to send [07:02:25]OFD Sender: No OFD packet to send [07:02:30]OFD Sender: No OFD packet to send [07:02:35]OFD Sender: No OFD packet to send [07:02:40]OFD Sender: No OFD packet to send [07:02:45]OFD Sender: No OFD packet to send [07:02:50]OFD Sender: No OFD packet to send [07:02:55]OFD Sender: No OFD packet to send [07:03:00]OFD Sender: No OFD packet to send [07:03:05]OFD Sender: No OFD packet to send [07:03:10]OFD Sender: No OFD packet to send [07:03:15]OFD Sender: No OFD packet to send [07:03:20]OFD Sender: No OFD packet to send [07:03:25]OFD Sender: No OFD packet to send [07:03:30]OFD Sender: No OFD packet to send [07:03:35]OFD Sender: No OFD packet to send [07:03:40]OFD Sender: No OFD packet to send [07:03:45]OFD Sender: No OFD packet to send [07:03:50]OFD Sender: No OFD packet to send [07:03:55]OFD Sender: No OFD packet to send [07:04:00]OFD Sender: No OFD packet to send [07:04:05]OFD Sender: No OFD packet to send [07:04:10]OFD Sender: No OFD packet to send [07:04:15]OFD Sender: No OFD packet to send [07:04:20]OFD Sender: No OFD packet to send [07:04:25]OFD Sender: No OFD packet to send [07:04:30]OFD Sender: No OFD packet to send [07:04:35]OFD Sender: No OFD packet to send [07:04:40]OFD Sender: No OFD packet to send [07:04:45]OFD Sender: No OFD packet to send [07:04:50]OFD Sender: No OFD packet to send [07:04:55]OFD Sender: No OFD packet to send [07:05:00]OFD Sender: No OFD packet to send [07:05:05]OFD Sender: No OFD packet to send [07:05:10]OFD Sender: No OFD packet to send [07:05:15]OFD Sender: No OFD packet to send [07:05:20]OFD Sender: No OFD packet to send [07:05:25]OFD Sender: No OFD packet to send [07:05:30]OFD Sender: No OFD packet to send [07:05:35]OFD Sender: No OFD packet to send [07:05:40]OFD Sender: No OFD packet to send [07:05:45]OFD Sender: No OFD packet to send [07:05:50]OFD Sender: No OFD packet to send [07:05:55]OFD Sender: No OFD packet to send [07:06:00]OFD Sender: No OFD packet to send [07:06:05]OFD Sender: No OFD packet to send [07:06:10]OFD Sender: No OFD packet to send [07:06:15]OFD Sender: No OFD packet to send [07:06:20]OFD Sender: No OFD packet to send [07:06:25]OFD Sender: No OFD packet to send [07:06:30]OFD Sender: No OFD packet to send [07:06:35]OFD Sender: No OFD packet to send [07:06:40]OFD Sender: No OFD packet to send [07:06:45]OFD Sender: No OFD packet to send [07:06:50]OFD Sender: No OFD packet to send [07:06:55]OFD Sender: No OFD packet to send [07:07:00]OFD Sender: No OFD packet to send [07:07:05]OFD Sender: No OFD packet to send [07:07:10]OFD Sender: No OFD packet to send [07:07:15]OFD Sender: No OFD packet to send [07:07:20]OFD Sender: No OFD packet to send [07:07:25]OFD Sender: No OFD packet to send [07:07:30]OFD Sender: No OFD packet to send [07:07:35]OFD Sender: No OFD packet to send [07:07:40]OFD Sender: No OFD packet to send [07:07:45]OFD Sender: No OFD packet to send [07:07:50]OFD Sender: No OFD packet to send [07:07:55]OFD Sender: No OFD packet to send [07:08:00]OFD Sender: No OFD packet to send [07:08:05]OFD Sender: No OFD packet to send [07:08:10]OFD Sender: No OFD packet to send [07:08:15]OFD Sender: No OFD packet to send [07:08:20]OFD Sender: No OFD packet to send [07:08:25]OFD Sender: No OFD packet to send [07:08:30]OFD Sender: No OFD packet to send [07:08:35]OFD Sender: No OFD packet to send [07:08:40]OFD Sender: No OFD packet to send [07:08:45]OFD Sender: No OFD packet to send [07:08:50]OFD Sender: No OFD packet to send [07:08:55]OFD Sender: No OFD packet to send [07:09:00]OFD Sender: No OFD packet to send [07:09:05]OFD Sender: No OFD packet to send [07:09:10]OFD Sender: No OFD packet to send [07:09:15]OFD Sender: No OFD packet to send [07:09:20]OFD Sender: No OFD packet to send [07:09:25]OFD Sender: No OFD packet to send [07:09:30]OFD Sender: No OFD packet to send [07:09:35]OFD Sender: No OFD packet to send [07:09:40]OFD Sender: No OFD packet to send [07:09:45]OFD Sender: No OFD packet to send [07:09:50]OFD Sender: No OFD packet to send [07:09:55]OFD Sender: No OFD packet to send [07:10:00]OFD Sender: No OFD packet to send [07:10:05]OFD Sender: No OFD packet to send [07:10:10]OFD Sender: No OFD packet to send [07:10:15]OFD Sender: No OFD packet to send [07:10:20]OFD Sender: No OFD packet to send [07:10:25]OFD Sender: No OFD packet to send [07:10:30]OFD Sender: No OFD packet to send [07:10:35]OFD Sender: No OFD packet to send [07:10:40]OFD Sender: No OFD packet to send [07:10:45]OFD Sender: No OFD packet to send [07:10:50]OFD Sender: No OFD packet to send [07:10:55]OFD Sender: No OFD packet to send [07:11:00]OFD Sender: No OFD packet to send [07:11:05]OFD Sender: No OFD packet to send [07:11:10]OFD Sender: No OFD packet to send [07:11:15]OFD Sender: No OFD packet to send [07:11:20]OFD Sender: No OFD packet to send [07:11:25]OFD Sender: No OFD packet to send [07:11:30]OFD Sender: No OFD packet to send [07:11:35]OFD Sender: No OFD packet to send [07:11:40]OFD Sender: No OFD packet to send [07:11:45]OFD Sender: No OFD packet to send [07:11:50]OFD Sender: No OFD packet to send [07:11:55]OFD Sender: No OFD packet to send [07:12:00]OFD Sender: No OFD packet to send [07:12:05]OFD Sender: No OFD packet to send [07:12:10]OFD Sender: No OFD packet to send [07:12:15]OFD Sender: No OFD packet to send [07:12:20]OFD Sender: No OFD packet to send [07:12:25]OFD Sender: No OFD packet to send [07:12:30]OFD Sender: No OFD packet to send [07:12:35]OFD Sender: No OFD packet to send [07:12:40]OFD Sender: No OFD packet to send [07:12:45]OFD Sender: No OFD packet to send [07:12:50]OFD Sender: No OFD packet to send [07:12:55]OFD Sender: No OFD packet to send [07:13:00]OFD Sender: No OFD packet to send [07:13:05]OFD Sender: No OFD packet to send [07:13:10]OFD Sender: No OFD packet to send [07:13:15]OFD Sender: No OFD packet to send [07:13:20]OFD Sender: No OFD packet to send [07:13:25]OFD Sender: No OFD packet to send [07:13:30]OFD Sender: No OFD packet to send [07:13:35]OFD Sender: No OFD packet to send [07:13:40]OFD Sender: No OFD packet to send [07:13:45]OFD Sender: No OFD packet to send [07:13:50]OFD Sender: No OFD packet to send [07:13:55]OFD Sender: No OFD packet to send [07:14:00]OFD Sender: No OFD packet to send [07:14:05]OFD Sender: No OFD packet to send [07:14:10]OFD Sender: No OFD packet to send [07:14:15]OFD Sender: No OFD packet to send [07:14:20]OFD Sender: No OFD packet to send [07:14:25]OFD Sender: No OFD packet to send [07:14:30]OFD Sender: No OFD packet to send [07:14:35]OFD Sender: No OFD packet to send [07:14:40]OFD Sender: No OFD packet to send [07:14:45]OFD Sender: No OFD packet to send [07:14:50]OFD Sender: No OFD packet to send [07:14:55]OFD Sender: No OFD packet to send [07:15:00]OFD Sender: No OFD packet to send [07:15:05]OFD Sender: No OFD packet to send [07:15:11]OFD Sender: No OFD packet to send [07:15:16]OFD Sender: No OFD packet to send [07:15:21]OFD Sender: No OFD packet to send [07:15:26]OFD Sender: No OFD packet to send [07:15:31]OFD Sender: No OFD packet to send [07:15:36]OFD Sender: No OFD packet to send [07:15:41]OFD Sender: No OFD packet to send [07:15:46]OFD Sender: No OFD packet to send [07:15:51]OFD Sender: No OFD packet to send [07:15:56]OFD Sender: No OFD packet to send [07:16:01]OFD Sender: No OFD packet to send [07:16:06]OFD Sender: No OFD packet to send [07:16:11]OFD Sender: No OFD packet to send [07:16:16]OFD Sender: No OFD packet to send [07:16:21]OFD Sender: No OFD packet to send [07:16:26]OFD Sender: No OFD packet to send [07:16:31]OFD Sender: No OFD packet to send [07:16:36]OFD Sender: No OFD packet to send [07:16:41]OFD Sender: No OFD packet to send [07:16:46]OFD Sender: No OFD packet to send [07:16:51]OFD Sender: No OFD packet to send [07:16:56]OFD Sender: No OFD packet to send [07:17:01]OFD Sender: No OFD packet to send [07:17:06]OFD Sender: No OFD packet to send [07:17:11]OFD Sender: No OFD packet to send [07:17:16]OFD Sender: No OFD packet to send [07:17:21]OFD Sender: No OFD packet to send [07:17:26]OFD Sender: No OFD packet to send [07:17:31]OFD Sender: No OFD packet to send [07:17:36]OFD Sender: No OFD packet to send [07:17:41]OFD Sender: No OFD packet to send [07:17:46]OFD Sender: No OFD packet to send [07:17:51]OFD Sender: No OFD packet to send [07:17:56]OFD Sender: No OFD packet to send [07:18:01]OFD Sender: No OFD packet to send [07:18:06]OFD Sender: No OFD packet to send [07:18:11]OFD Sender: No OFD packet to send [07:18:16]OFD Sender: No OFD packet to send [07:18:21]OFD Sender: No OFD packet to send [07:18:26]OFD Sender: No OFD packet to send [07:18:31]OFD Sender: No OFD packet to send [07:18:36]OFD Sender: No OFD packet to send [07:18:41]OFD Sender: No OFD packet to send [07:18:46]OFD Sender: No OFD packet to send [07:18:51]OFD Sender: No OFD packet to send [07:18:56]OFD Sender: No OFD packet to send [07:19:01]OFD Sender: No OFD packet to send [07:19:06]OFD Sender: No OFD packet to send [07:19:11]OFD Sender: No OFD packet to send [07:19:16]OFD Sender: No OFD packet to send [07:19:21]OFD Sender: No OFD packet to send [07:19:26]OFD Sender: No OFD packet to send [07:19:31]OFD Sender: No OFD packet to send [07:19:36]OFD Sender: No OFD packet to send [07:19:41]OFD Sender: No OFD packet to send [07:19:46]OFD Sender: No OFD packet to send [07:19:51]OFD Sender: No OFD packet to send [07:19:56]OFD Sender: No OFD packet to send [07:20:01]OFD Sender: No OFD packet to send [07:20:06]OFD Sender: No OFD packet to send [07:20:11]OFD Sender: No OFD packet to send [07:20:16]OFD Sender: No OFD packet to send [07:20:21]OFD Sender: No OFD packet to send [07:20:26]OFD Sender: No OFD packet to send [07:20:31]OFD Sender: No OFD packet to send [07:20:36]OFD Sender: No OFD packet to send [07:20:41]OFD Sender: No OFD packet to send [07:20:46]OFD Sender: No OFD packet to send [07:20:51]OFD Sender: No OFD packet to send [07:20:56]OFD Sender: No OFD packet to send [07:21:01]OFD Sender: No OFD packet to send [07:21:06]OFD Sender: No OFD packet to send [07:21:11]OFD Sender: No OFD packet to send [07:21:16]OFD Sender: No OFD packet to send [07:21:21]OFD Sender: No OFD packet to send [07:21:26]OFD Sender: No OFD packet to send [07:21:31]OFD Sender: No OFD packet to send [07:21:36]OFD Sender: No OFD packet to send [07:21:41]OFD Sender: No OFD packet to send [07:21:46]OFD Sender: No OFD packet to send [07:21:51]OFD Sender: No OFD packet to send [07:21:56]OFD Sender: No OFD packet to send [07:22:01]OFD Sender: No OFD packet to send [07:22:06]OFD Sender: No OFD packet to send [07:22:11]OFD Sender: No OFD packet to send [07:22:16]OFD Sender: No OFD packet to send [07:22:21]OFD Sender: No OFD packet to send [07:22:26]OFD Sender: No OFD packet to send [07:22:31]OFD Sender: No OFD packet to send [07:22:36]OFD Sender: No OFD packet to send [07:22:41]OFD Sender: No OFD packet to send [07:22:46]OFD Sender: No OFD packet to send [07:22:51]OFD Sender: No OFD packet to send [07:22:56]OFD Sender: No OFD packet to send [07:23:01]OFD Sender: No OFD packet to send [07:23:06]OFD Sender: No OFD packet to send [07:23:11]OFD Sender: No OFD packet to send [07:23:16]OFD Sender: No OFD packet to send [07:23:21]OFD Sender: No OFD packet to send [07:23:26]OFD Sender: No OFD packet to send [07:23:31]OFD Sender: No OFD packet to send [07:23:36]OFD Sender: No OFD packet to send [07:23:41]OFD Sender: No OFD packet to send [07:23:46]OFD Sender: No OFD packet to send [07:23:51]OFD Sender: No OFD packet to send [07:23:56]OFD Sender: No OFD packet to send [07:24:01]OFD Sender: No OFD packet to send [07:24:06]OFD Sender: No OFD packet to send [07:24:11]OFD Sender: No OFD packet to send [07:24:16]OFD Sender: No OFD packet to send [07:24:21]OFD Sender: No OFD packet to send [07:24:26]OFD Sender: No OFD packet to send [07:24:31]OFD Sender: No OFD packet to send [07:24:36]OFD Sender: No OFD packet to send [07:24:41]OFD Sender: No OFD packet to send [07:24:46]OFD Sender: No OFD packet to send [07:24:51]OFD Sender: No OFD packet to send [07:24:56]OFD Sender: No OFD packet to send [07:25:01]OFD Sender: No OFD packet to send [07:25:06]OFD Sender: No OFD packet to send [07:25:11]OFD Sender: No OFD packet to send [07:25:16]OFD Sender: No OFD packet to send [07:25:21]OFD Sender: No OFD packet to send [07:25:26]OFD Sender: No OFD packet to send [07:25:31]OFD Sender: No OFD packet to send [07:25:36]OFD Sender: No OFD packet to send [07:25:41]OFD Sender: No OFD packet to send [07:25:46]OFD Sender: No OFD packet to send [07:25:51]OFD Sender: No OFD packet to send [07:25:56]OFD Sender: No OFD packet to send [07:26:01]OFD Sender: No OFD packet to send [07:26:06]OFD Sender: No OFD packet to send [07:26:11]OFD Sender: No OFD packet to send [07:26:16]OFD Sender: No OFD packet to send [07:26:21]OFD Sender: No OFD packet to send [07:26:26]OFD Sender: No OFD packet to send [07:26:31]OFD Sender: No OFD packet to send [07:26:36]OFD Sender: No OFD packet to send [07:26:41]OFD Sender: No OFD packet to send [07:26:46]OFD Sender: No OFD packet to send [07:26:51]OFD Sender: No OFD packet to send [07:26:56]OFD Sender: No OFD packet to send [07:27:01]OFD Sender: No OFD packet to send [07:27:06]OFD Sender: No OFD packet to send [07:27:11]OFD Sender: No OFD packet to send [07:27:16]OFD Sender: No OFD packet to send [07:27:21]OFD Sender: No OFD packet to send [07:27:26]OFD Sender: No OFD packet to send [07:27:31]OFD Sender: No OFD packet to send [07:27:36]OFD Sender: No OFD packet to send [07:27:41]OFD Sender: No OFD packet to send [07:27:46]OFD Sender: No OFD packet to send [07:27:51]OFD Sender: No OFD packet to send [07:27:56]OFD Sender: No OFD packet to send [07:28:01]OFD Sender: No OFD packet to send [07:28:06]OFD Sender: No OFD packet to send [07:28:11]OFD Sender: No OFD packet to send [07:28:16]OFD Sender: No OFD packet to send [07:28:21]OFD Sender: No OFD packet to send [07:28:26]OFD Sender: No OFD packet to send [07:28:31]OFD Sender: No OFD packet to send [07:28:36]OFD Sender: No OFD packet to send [07:28:41]OFD Sender: No OFD packet to send [07:28:46]OFD Sender: No OFD packet to send [07:28:51]OFD Sender: No OFD packet to send [07:28:56]OFD Sender: No OFD packet to send [07:29:01]OFD Sender: No OFD packet to send [07:29:06]OFD Sender: No OFD packet to send [07:29:11]OFD Sender: No OFD packet to send [07:29:16]OFD Sender: No OFD packet to send [07:29:21]OFD Sender: No OFD packet to send [07:29:26]OFD Sender: No OFD packet to send [07:29:31]OFD Sender: No OFD packet to send [07:29:36]OFD Sender: No OFD packet to send [07:29:41]OFD Sender: No OFD packet to send [07:29:46]OFD Sender: No OFD packet to send [07:29:51]OFD Sender: No OFD packet to send [07:29:56]OFD Sender: No OFD packet to send [07:30:01]OFD Sender: No OFD packet to send [07:30:06]OFD Sender: No OFD packet to send [07:30:11]OFD Sender: No OFD packet to send [07:30:16]OFD Sender: No OFD packet to send [07:30:21]OFD Sender: No OFD packet to send [07:30:26]OFD Sender: No OFD packet to send [07:30:29]accept exits with 7 [07:30:29]New connection [07:30:29]New thread 3066596708 created [07:30:29]Thread 3066453348 joined [07:30:29]Waiting for new connection... [07:30:29] Sock 7.Parse request [07:30:29]Sock 7.Check first char [07:30:29]Sock 7.First char is OK [07:30:29]request: POST /json_proto HTTP/1.0 [07:30:29]Method: POST [07:30:29]URL: /json_proto [07:30:29]Method is POST - this is cgi request [07:30:29]url: /json_proto [07:30:29]query_string will be loaded in cgi processing [07:30:29]execute_cgi json_proto POST (null) [07:30:29]execute_cgi path=json_proto method=POST [07:30:29]POST find Content-Length [07:30:29]Host: 172.17.32.68:8080 [07:30:29]Content-Length: 622 [07:30:29]Content-Type: application/json [07:30:29] [07:30:29]POST finish read [07:30:29]Found Content-Length = 622 [07:30:29]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242249", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 138.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:30:29]execute_script... [07:30: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)242249", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 138.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:30:29]POST & json_proto [07:30:29]process_json_proto [07:30:29]json parsed OK: [07:30:29]protocol is kg_v1.0 [07:30:29]action value=close_receipt [07:30:29]process_action close_receipt [07:30:29]cmd_close_receipt [07:30:29]MH_GetDate [07:30:29]Write to MH i2c: F0 00 00 BF 4E FC [07:30:29]Write i2c OK [07:30:29]MH_I2C_Read... [07:30:29]Read from MH i2c: F0 [07:30:29]MH_I2C_Read... [07:30:29]Read from MH i2c: F0 09 00 [07:30:29]MH_I2C_Read... [07:30:29]Read from MH i2c: F0 09 00 BF 4E 00 A3 04 F0 65 0A 64 6E 65 42 [07:30:29]GetLastDocTimeStamp 1710225725 [07:30:29]current date 1710228643 [07:30:29]FM_GetShiftState [07:30:29]SAM_PROTO_GetShiftState [07:30:29]wFMCommunicate request_size=4 [07:30:29]MH_SAM_APDU [07:30:29]CAPDU: 80 13 01 00 [07:30:29]Write to MH i2c: E2 08 00 C0 4E 80 13 01 00 00 00 00 00 8B [07:30:29]Write i2c OK [07:30:29]MH_I2C_Read... [07:30:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:30:29]Read from MH i2c: E2 [07:30:29]MH_I2C_Read... [07:30:29]Read from MH i2c: E2 0E 00 [07:30:29]MH_I2C_Read... [07:30:29]Read from MH i2c: E2 0E 00 C0 4E 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 BA [07:30:29]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [07:30:29]wFMCommunicate OK [07:30:29]SAM_PROTO_GetShiftState done [07:30:29]FM_GetShiftState done [07:30:29]opened in 1710202417 [07:30:29]opened+sec_in_day 1710288817 [07:30:29]quantity*price = 13800 [07:30:29]sum+1 = 13801 [07:30:29]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 138.00 НСП 1% : 1.22 НДС 12% : 14.65 Наличными: 138.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 13 12.03.2024 07:30 Смена: 314 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47335 ФПД: 44141029032041 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T073043&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47335&fm=44141029032041&tin=02508201610067®Number=0000000000092018&sum=13800 0 [07:30:30]StoreToDocumentArchive [07:30:30]shift 314 fd 47335 [07:30:30]save to /storage/0314/doc_00047335 [07:30:30]save last doc name /storage/0314/doc_00047335 to /storage/kkm_last_doc_name [07:30:30]save OK [07:30:30]Clear old archive folders... [07:30:30]ProcessDocumentItem done err = 0, tmpTLVsize=274 [07:30:30]tlvbuf is 0027A9C0 [07:30:30]SAM_PROTO_ClearQueue [07:30:30]wFMCommunicate request_size=4 [07:30:30]MH_SAM_APDU [07:30:30]CAPDU: 80 09 00 00 [07:30:30]Write to MH i2c: E2 08 00 CD 4E 80 09 00 00 00 00 00 00 8D [07:30:30]Write i2c OK [07:30:30]MH_I2C_Read... [07:30:30]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:30:30]Read from MH i2c: E2 [07:30:30]MH_I2C_Read... [07:30:30]Read from MH i2c: E2 03 00 [07:30:30]MH_I2C_Read... [07:30:30]Read from MH i2c: E2 03 00 CD 4E 00 90 00 8F [07:30:30]RAPDU: 90 00 [07:30:30]wFMCommunicate OK [07:30:30]SAM_PROTO_ClearQueue done [07:30:30]KKMCreateOFDPacket [07:30:30]OFDProtocolAddRootSTLVToBuf [07:30:30]FM_MakeSignedData [07:30:30]FM_MakeSignedData [07:30:30]SAM_PROTO_SignData [07:30:30]wFMCommunicate request_size=4 [07:30:30]MH_SAM_APDU [07:30:30]CAPDU: 80 0D 01 02 [07:30:30]Write to MH i2c: E2 08 00 CE 4E 80 0D 01 02 00 00 00 00 95 [07:30:30]Write i2c OK [07:30:30]MH_I2C_Read... [07:30:30]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:30:30]Read from MH i2c: E2 [07:30:30]MH_I2C_Read... [07:30:30]Read from MH i2c: E2 03 00 [07:30:30]MH_I2C_Read... [07:30:30]Read from MH i2c: E2 03 00 CE 4E 00 90 00 90 [07:30:30]RAPDU: 90 00 [07:30:30]wFMCommunicate OK [07:30:30]wFMCommunicate request_size=255 [07:30:30]MH_SAM_APDU [07:30:30]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 A3 04 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 [07:30:30]Write to MH i2c: E2 02 01 CF 4E 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 A3 04 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 00 00 11 [07:30:30]Write i2c OK [07:30:30]MH_I2C_Read... [07:30:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:30:31]Read from MH i2c: E2 [07:30:31]MH_I2C_Read... [07:30:31]Read from MH i2c: E2 03 00 [07:30:31]MH_I2C_Read... [07:30:31]Read from MH i2c: E2 03 00 CF 4E 00 90 00 91 [07:30:31]RAPDU: 90 00 [07:30:31]wFMCommunicate OK [07:30:31]wFMCommunicate request_size=33 [07:30:31]MH_SAM_APDU [07:30:31]CAPDU: 80 0D 02 02 1C 30 30 30 30 38 37 31 38 31 36 10 04 04 00 E7 B8 00 00 35 04 06 00 28 25 62 5B 00 69 [07:30:31]Write to MH i2c: E2 24 00 D0 4E 80 0D 02 02 1C 00 30 30 30 30 38 37 31 38 31 36 10 04 04 00 E7 B8 00 00 35 04 06 00 28 25 62 5B 00 69 00 00 38 [07:30:31]Write i2c OK [07:30:31]MH_I2C_Read... [07:30:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:30:31]Read from MH i2c: E2 [07:30:31]MH_I2C_Read... [07:30:31]Read from MH i2c: E2 03 00 [07:30:31]MH_I2C_Read... [07:30:31]Read from MH i2c: E2 03 00 D0 4E 00 90 00 92 [07:30:31]RAPDU: 90 00 [07:30:31]wFMCommunicate OK [07:30:31]wFMCommunicate request_size=4 [07:30:31]MH_SAM_APDU [07:30:31]CAPDU: 80 0D 03 02 [07:30:31]Write to MH i2c: E2 08 00 D1 4E 80 0D 03 02 00 00 00 00 9A [07:30:31]Write i2c OK [07:30:31]MH_I2C_Read... [07:30:31]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:30:31]Read from MH i2c: E2 [07:30:31]MH_I2C_Read... [07:30:31]Read from MH i2c: E2 0B 00 [07:30:31]MH_I2C_Read... [07:30:31]Read from MH i2c: E2 0B 00 D1 4E 00 F0 69 D8 FA BA CB 4E D1 90 00 6A [07:30:31]RAPDU: F0 69 D8 FA BA CB 4E D1 90 00 [07:30:31]wFMCommunicate OK [07:30:31]SAM_PROTO_SignData done [07:30:31]FM_MakeSignedData done [07:30:31]CreateOFDProtocolMessage [07:30:31]wFMCommunicate request_size=4 [07:30:31]MH_SAM_APDU [07:30:31]CAPDU: 80 11 00 00 [07:30:31]Write to MH i2c: E2 08 00 D2 4E 80 11 00 00 00 00 00 00 9A [07:30:31]Write i2c OK [07:30:31]MH_I2C_Read... [07:30:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:30:31]Read from MH i2c: E2 [07:30:31]MH_I2C_Read... [07:30:31]Read from MH i2c: E2 17 00 [07:30:31]MH_I2C_Read... [07:30:31]Read from MH i2c: E2 17 00 D2 4E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 EC [07:30:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [07:30:31]wFMCommunicate OK [07:30:31]CreateOFDProtocolMessage done [07:30:31]OFDSenderStorePacket 47335 [07:30:31]StoreOFDPacket docnum=47335 [07:30:31]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 26 01 00 00 0C B1 1E 01 C4 DB 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 A3 04 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 E7 B8 00 00 35 04 06 00 28 25 62 5B 00 69 F0 69 D8 FA BA CB 4E D1 [07:30:31]CheckFolder [07:30:31]dirname=/storage/ofd_packets [07:30:31]CheckFolder done [07:30:31]ProducePacketName [07:30:31]name=ofd_packets/00047335 [07:30:31]NVStorageSaveData ofd_packets/00047335 [07:30:31]File name is /storage/ofd_packets/00047335 [07:30:31]Write 324 bytes [07:30:31]NVStorageSaveData done [07:30:31]OFDSenderStorePacket done [07:30:31]KKMCreateOFDPacket done [07:30:31]NVStorageSaveData kkm_last_timestamp [07:30:31]File name is /storage/kkm_last_timestamp [07:30:31]Write 4 bytes [07:30:31]NVStorageSaveData done [07:30:31]ExternCall_PrintAddStr [07:30:31]wPrintStart [07:30:31]Write to MH i2c: 01 00 00 D3 4E 21 [07:30:31]Write i2c OK [07:30:31]MH_I2C_Read... [07:30:31]Read from MH i2c: 01 [07:30:31]MH_I2C_Read... [07:30:31]Read from MH i2c: 01 07 00 [07:30:31]MH_I2C_Read... [07:30:31]Read from MH i2c: 01 07 00 D3 4E 00 00 00 00 00 FF 0F 36 [07:30:31]RasterBufferAndPrint [07:30:31]line Счет N : (3)242249 [07:30:31]line ИНН: 02508201610067 [07:30:31]line Контрольно-Кассовый Чек [07:30:31]line ПРОДАЖА [07:30:31]line Товар: 4640030091645 [07:30:31]line Сигареты ESSE Exchange M [07:30:31]line 1.000 * 138.00 [07:30:31]line = 138.00 [07:30:31]line НДС 12% НСП 1% [07:30:31]line > о реализуемом товаре [07:30:31]line ИТОГО: 138.00 [07:30:31]line НСП 1% : 1.22 [07:30:31]line НДС 12% : 14.65 [07:30:31]line Наличными: 138.00 [07:30:31]line Безнал.: 0.00 [07:30:31]line Место: АЗС № 15 "Партнер Нефть" [07:30:31]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [07:30:31]line СНО: Общий режим [07:30:31]line Чек 13 12.03.2024 07:30 [07:30:31]line Смена: 314 ФФД: 1.0 [07:30:31]line ЗНМ: 0300000097 [07:30:31]line РНМ: 0000000000092018 [07:30:31]line Версия ККМ: 001 [07:30:31]line ФМ: 0000000000871816 [07:30:31]line ФД: 47335 [07:30:31]line ФПД: 44141029032041 [07:30:31]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T073043&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47335&fm=44141029032041&tin=02508201610067®Number=0000000000092018&sum=13800 [07:30:31]line 0 [07:30:31]OFD Sender: Processing packet 47335 [packets to send 8, broken 7] [07:30:31]ProducePacketName [07:30:31]name=ofd_packets/00047335 [07:30:31]OFD Sender: To server: pG, [07:30:31]CommunicateWithHost lk.salyk.kg:30040 [07:30:31]ConnectInit lk.salyk.kg [07:30:31]written 0, free lines is 4095 [07:30:31]Connected sock=10 [07:30: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 31 36 26 01 00 00 0C B1 1E 01 C4 DB 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 A3 04 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 E7 B8 00 00 35 04 06 00 28 25 62 5B 00 69 F0 69 D8 FA BA CB 4E D1 [07:30: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 31 36 4F 00 00 00 A8 56 47 00 5F 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 31 36 10 04 04 00 E7 B8 00 00 F4 03 04 00 36 AF EF 65 B6 04 01 00 00 59 2A ED 00 DF 54 7E 5F [07:30:31]CommunicateWithHost err = 0 [07:30:31]CheckOFDResponse [07:30:31]1017 (14) - 77093643461234 [07:30:31]1041 (16) - 0000000000871816 [07:30:31]1040 (4) - 47335 [07:30:31]1012 (4) - 12.03.2024 01:26 [07:30:31]1206 (1) - 0 [07:30:31]OFD Sender: Remove packet 47335 [07:30:31]ProducePacketName [07:30:31]name=ofd_packets/00047335 [07:30:31]NVStorageDeleteData [07:30:32]Write to MH i2c: 01 00 00 FB 4E 49 [07:30:32]Write i2c OK [07:30:32]MH_I2C_Read... [07:30:32]Read from MH i2c: 01 [07:30:32]MH_I2C_Read... [07:30:32]Read from MH i2c: 01 07 00 [07:30:32]MH_I2C_Read... [07:30:32]Read from MH i2c: 01 07 00 FB 4E 00 00 00 00 00 E0 0C 3C [07:30:32]RasterBufferAndPrint [07:30:32]line [07:30:32]line [07:30:32]line [07:30:32]line [07:30:32]line [07:30:32]written 0, free lines is 3302 [07:30:32]MH_Cut [07:30:32]Write to MH i2c: D1 01 00 02 4F 01 23 [07:30:32]Write i2c OK [07:30:32]MH_I2C_Read... [07:30:32]Read from MH i2c: D1 [07:30:32]MH_I2C_Read... [07:30:32]Read from MH i2c: D1 01 00 [07:30:32]MH_I2C_Read... [07:30:32]Read from MH i2c: D1 01 00 02 4F 00 22 [07:30:32]Write to MH i2c: 01 00 00 03 4F 52 [07:30:32]Write i2c OK [07:30:32]MH_I2C_Read... [07:30:32]OFD Sender: No OFD packet to send [07:30:32]*** Cut start [07:30:32]*** Purtial cut [07:30:32]*** Stage 1: CUTSNS_PIN = 1 [07:30:33]Read from MH i2c: 01 [07:30:33]MH_I2C_Read... [07:30:33]*** Stop cut motor [07:30:33]*** Cut end [07:30:33]Read from MH i2c: 01 07 00 [07:30:33]MH_I2C_Read... [07:30:33]Read from MH i2c: 01 07 00 03 4F 00 00 00 00 00 FF 0F 67 [07:30:33]process_action close_receipt done [07:30:33]requested_data is exist [07:30:33]produce_requested_data [07:30:33]requested_item fm.sn is exist - process it [07:30:33]wFMCommunicate request_size=4 [07:30:33]MH_SAM_APDU [07:30:33]CAPDU: 80 11 00 00 [07:30:33]Write to MH i2c: E2 08 00 04 4F 80 11 00 00 00 00 00 00 CD [07:30:33]Write i2c OK [07:30:33]MH_I2C_Read... [07:30:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:30:33]Read from MH i2c: E2 [07:30:33]MH_I2C_Read... [07:30:33]Read from MH i2c: E2 17 00 [07:30:33]MH_I2C_Read... [07:30:33]Read from MH i2c: E2 17 00 04 4F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 1F [07:30:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [07:30:33]wFMCommunicate OK [07:30:33]requested_item fd.num is exist - process it [07:30:33]SAM_PROTO_GetFieldsCounters [07:30:33]wFMCommunicate request_size=4 [07:30:33]MH_SAM_APDU [07:30:33]CAPDU: 80 13 00 00 [07:30:33]Write to MH i2c: E2 08 00 05 4F 80 13 00 00 00 00 00 00 D0 [07:30:33]Write i2c OK [07:30:33]MH_I2C_Read... [07:30:33]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:30:33]Read from MH i2c: E2 [07:30:33]MH_I2C_Read... [07:30:33]Read from MH i2c: E2 62 00 [07:30:33]MH_I2C_Read... [07:30:33]Read from MH i2c: E2 62 00 05 4F 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 E7 B8 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 0D 00 00 00 5E 04 04 00 0D 00 00 00 57 04 04 00 0E 00 00 00 19 04 04 00 00 00 00 00 90 00 EC [07:30: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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 E7 B8 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 0D 00 00 00 5E 04 04 00 0D 00 00 00 57 04 04 00 0E 00 00 00 19 04 04 00 00 00 00 00 90 00 [07:30:33]wFMCommunicate OK [07:30:33]SAM_PROTO_GetFieldsCounters done [07:30:33]requested_item shift.num is exist - process it [07:30:33]requested_item shift.opened is exist - process it [07:30:33]req_shift_opened [07:30:33]FM_GetShiftState [07:30:33]SAM_PROTO_GetShiftState [07:30:33]wFMCommunicate request_size=4 [07:30:33]MH_SAM_APDU [07:30:33]CAPDU: 80 13 01 00 [07:30:33]Write to MH i2c: E2 08 00 06 4F 80 13 01 00 00 00 00 00 D2 [07:30:33]Write i2c OK [07:30:33]MH_I2C_Read... [07:30:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:30:33]Read from MH i2c: E2 [07:30:33]MH_I2C_Read... [07:30:33]Read from MH i2c: E2 0E 00 [07:30:33]MH_I2C_Read... [07:30:33]Read from MH i2c: E2 0E 00 06 4F 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 01 [07:30:33]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [07:30:33]wFMCommunicate OK [07:30:33]SAM_PROTO_GetShiftState done [07:30:33]FM_GetShiftState done [07:30:33]req_shift_opened done [07:30:33]requested_item shift.open_date is exist - process it [07:30:33]req_shift_open_date [07:30:33]req_shift_open_date done [07:30:33]produce_requested_data done [07:30:33]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47335,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [07:30:33]process_action_free close_receipt [07:30:33]json_value_free [07:30:33]json_value_free done [07:30:33]process_json_proto returns [07:30:33]Send response to host [07:30:33]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47335,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [07:30:33]free response buf [07:30:33]execute_script done [07:30:33]execute_script returns [07:30:33]free content buf [07:30:33]Sock 7.Close socket [07:30:33]Sock 7.Thread stoped [07:30:37]OFD Sender: No OFD packet to send [07:30:42]OFD Sender: No OFD packet to send [07:30:47]OFD Sender: No OFD packet to send [07:30:52]OFD Sender: No OFD packet to send [07:30:57]OFD Sender: No OFD packet to send [07:31:02]OFD Sender: No OFD packet to send [07:31:07]OFD Sender: No OFD packet to send [07:31:12]OFD Sender: No OFD packet to send [07:31:17]OFD Sender: No OFD packet to send [07:31:22]OFD Sender: No OFD packet to send [07:31:27]OFD Sender: No OFD packet to send [07:31:32]OFD Sender: No OFD packet to send [07:31:37]OFD Sender: No OFD packet to send [07:31:42]OFD Sender: No OFD packet to send [07:31:47]OFD Sender: No OFD packet to send [07:31:52]OFD Sender: No OFD packet to send [07:31:57]OFD Sender: No OFD packet to send [07:32:02]OFD Sender: No OFD packet to send [07:32:07]OFD Sender: No OFD packet to send [07:32:12]OFD Sender: No OFD packet to send [07:32:17]OFD Sender: No OFD packet to send [07:32:22]OFD Sender: No OFD packet to send [07:32:27]OFD Sender: No OFD packet to send [07:32:32]OFD Sender: No OFD packet to send [07:32:37]OFD Sender: No OFD packet to send [07:32:42]OFD Sender: No OFD packet to send [07:32:47]OFD Sender: No OFD packet to send [07:32:52]OFD Sender: No OFD packet to send [07:32:57]OFD Sender: No OFD packet to send [07:33:02]OFD Sender: No OFD packet to send [07:33:07]OFD Sender: No OFD packet to send [07:33:12]OFD Sender: No OFD packet to send [07:33:17]OFD Sender: No OFD packet to send [07:33:22]OFD Sender: No OFD packet to send [07:33:27]OFD Sender: No OFD packet to send [07:33:32]OFD Sender: No OFD packet to send [07:33:37]OFD Sender: No OFD packet to send [07:33:42]OFD Sender: No OFD packet to send [07:33:47]OFD Sender: No OFD packet to send [07:33:52]OFD Sender: No OFD packet to send [07:33:57]OFD Sender: No OFD packet to send [07:34:02]OFD Sender: No OFD packet to send [07:34:07]OFD Sender: No OFD packet to send [07:34:12]OFD Sender: No OFD packet to send [07:34:17]OFD Sender: No OFD packet to send [07:34:22]OFD Sender: No OFD packet to send [07:34:27]OFD Sender: No OFD packet to send [07:34:32]OFD Sender: No OFD packet to send [07:34:37]OFD Sender: No OFD packet to send [07:34:42]OFD Sender: No OFD packet to send [07:34:47]OFD Sender: No OFD packet to send [07:34:52]OFD Sender: No OFD packet to send [07:34:57]OFD Sender: No OFD packet to send [07:35:02]OFD Sender: No OFD packet to send [07:35:07]OFD Sender: No OFD packet to send [07:35:12]OFD Sender: No OFD packet to send [07:35:17]OFD Sender: No OFD packet to send [07:35:22]OFD Sender: No OFD packet to send [07:35:27]OFD Sender: No OFD packet to send [07:35:32]OFD Sender: No OFD packet to send [07:35:37]OFD Sender: No OFD packet to send [07:35:42]OFD Sender: No OFD packet to send [07:35:47]OFD Sender: No OFD packet to send [07:35:52]OFD Sender: No OFD packet to send [07:35:57]OFD Sender: No OFD packet to send [07:36:02]OFD Sender: No OFD packet to send [07:36:07]OFD Sender: No OFD packet to send [07:36:12]OFD Sender: No OFD packet to send [07:36:17]OFD Sender: No OFD packet to send [07:36:22]OFD Sender: No OFD packet to send [07:36:27]OFD Sender: No OFD packet to send [07:36:32]OFD Sender: No OFD packet to send [07:36:37]OFD Sender: No OFD packet to send [07:36:42]OFD Sender: No OFD packet to send [07:36:47]OFD Sender: No OFD packet to send [07:36:52]OFD Sender: No OFD packet to send [07:36:57]OFD Sender: No OFD packet to send [07:37:02]OFD Sender: No OFD packet to send [07:37:07]OFD Sender: No OFD packet to send [07:37:12]OFD Sender: No OFD packet to send [07:37:17]OFD Sender: No OFD packet to send [07:37:22]OFD Sender: No OFD packet to send [07:37:27]OFD Sender: No OFD packet to send [07:37:32]OFD Sender: No OFD packet to send [07:37:37]OFD Sender: No OFD packet to send [07:37:42]OFD Sender: No OFD packet to send [07:37:47]OFD Sender: No OFD packet to send [07:37:52]OFD Sender: No OFD packet to send [07:37:57]OFD Sender: No OFD packet to send [07:38:02]OFD Sender: No OFD packet to send [07:38:07]OFD Sender: No OFD packet to send [07:38:12]OFD Sender: No OFD packet to send [07:38:17]OFD Sender: No OFD packet to send [07:38:22]OFD Sender: No OFD packet to send [07:38:27]OFD Sender: No OFD packet to send [07:38:32]OFD Sender: No OFD packet to send [07:38:37]OFD Sender: No OFD packet to send [07:38:42]OFD Sender: No OFD packet to send [07:38:47]OFD Sender: No OFD packet to send [07:38:52]OFD Sender: No OFD packet to send [07:38:57]OFD Sender: No OFD packet to send [07:39:02]OFD Sender: No OFD packet to send [07:39:07]OFD Sender: No OFD packet to send [07:39:12]OFD Sender: No OFD packet to send [07:39:17]OFD Sender: No OFD packet to send [07:39:22]OFD Sender: No OFD packet to send [07:39:27]OFD Sender: No OFD packet to send [07:39:32]OFD Sender: No OFD packet to send [07:39:37]OFD Sender: No OFD packet to send [07:39:42]OFD Sender: No OFD packet to send [07:39:47]OFD Sender: No OFD packet to send [07:39:52]OFD Sender: No OFD packet to send [07:39:57]OFD Sender: No OFD packet to send [07:40:02]OFD Sender: No OFD packet to send [07:40:07]OFD Sender: No OFD packet to send [07:40:12]OFD Sender: No OFD packet to send [07:40:17]OFD Sender: No OFD packet to send [07:40:22]OFD Sender: No OFD packet to send [07:40:27]OFD Sender: No OFD packet to send [07:40:32]OFD Sender: No OFD packet to send [07:40:37]OFD Sender: No OFD packet to send [07:40:42]OFD Sender: No OFD packet to send [07:40:47]OFD Sender: No OFD packet to send [07:40:52]OFD Sender: No OFD packet to send [07:40:57]OFD Sender: No OFD packet to send [07:41:02]OFD Sender: No OFD packet to send [07:41:07]OFD Sender: No OFD packet to send [07:41:12]OFD Sender: No OFD packet to send [07:41:17]OFD Sender: No OFD packet to send [07:41:22]OFD Sender: No OFD packet to send [07:41:27]OFD Sender: No OFD packet to send [07:41:32]OFD Sender: No OFD packet to send [07:41:37]OFD Sender: No OFD packet to send [07:41:42]OFD Sender: No OFD packet to send [07:41:47]OFD Sender: No OFD packet to send [07:41:52]OFD Sender: No OFD packet to send [07:41:57]OFD Sender: No OFD packet to send [07:42:02]OFD Sender: No OFD packet to send [07:42:07]OFD Sender: No OFD packet to send [07:42:12]OFD Sender: No OFD packet to send [07:42:17]OFD Sender: No OFD packet to send [07:42:22]OFD Sender: No OFD packet to send [07:42:27]OFD Sender: No OFD packet to send [07:42:32]OFD Sender: No OFD packet to send [07:42:37]OFD Sender: No OFD packet to send [07:42:42]OFD Sender: No OFD packet to send [07:42:47]OFD Sender: No OFD packet to send [07:42:52]OFD Sender: No OFD packet to send [07:42:57]OFD Sender: No OFD packet to send [07:43:02]OFD Sender: No OFD packet to send [07:43:07]OFD Sender: No OFD packet to send [07:43:13]OFD Sender: No OFD packet to send [07:43:18]OFD Sender: No OFD packet to send [07:43:23]OFD Sender: No OFD packet to send [07:43:28]OFD Sender: No OFD packet to send [07:43:33]OFD Sender: No OFD packet to send [07:43:38]OFD Sender: No OFD packet to send [07:43:43]OFD Sender: No OFD packet to send [07:43:48]OFD Sender: No OFD packet to send [07:43:53]OFD Sender: No OFD packet to send [07:43:58]OFD Sender: No OFD packet to send [07:44:03]OFD Sender: No OFD packet to send [07:44:08]OFD Sender: No OFD packet to send [07:44:13]OFD Sender: No OFD packet to send [07:44:18]OFD Sender: No OFD packet to send [07:44:23]OFD Sender: No OFD packet to send [07:44:28]OFD Sender: No OFD packet to send [07:44:33]OFD Sender: No OFD packet to send [07:44:38]OFD Sender: No OFD packet to send [07:44:43]OFD Sender: No OFD packet to send [07:44:48]OFD Sender: No OFD packet to send [07:44:53]OFD Sender: No OFD packet to send [07:44:58]OFD Sender: No OFD packet to send [07:45:03]OFD Sender: No OFD packet to send [07:45:08]OFD Sender: No OFD packet to send [07:45:13]OFD Sender: No OFD packet to send [07:45:18]OFD Sender: No OFD packet to send [07:45:23]OFD Sender: No OFD packet to send [07:45:28]OFD Sender: No OFD packet to send [07:45:33]OFD Sender: No OFD packet to send [07:45:38]OFD Sender: No OFD packet to send [07:45:43]OFD Sender: No OFD packet to send [07:45:48]OFD Sender: No OFD packet to send [07:45:53]OFD Sender: No OFD packet to send [07:45:58]OFD Sender: No OFD packet to send [07:46:03]OFD Sender: No OFD packet to send [07:46:08]OFD Sender: No OFD packet to send [07:46:13]OFD Sender: No OFD packet to send [07:46:18]OFD Sender: No OFD packet to send [07:46:23]OFD Sender: No OFD packet to send [07:46:28]OFD Sender: No OFD packet to send [07:46:33]OFD Sender: No OFD packet to send [07:46:38]OFD Sender: No OFD packet to send [07:46:43]OFD Sender: No OFD packet to send [07:46:48]OFD Sender: No OFD packet to send [07:46:53]OFD Sender: No OFD packet to send [07:46:58]OFD Sender: No OFD packet to send [07:47:03]OFD Sender: No OFD packet to send [07:47:08]OFD Sender: No OFD packet to send [07:47:13]OFD Sender: No OFD packet to send [07:47:18]OFD Sender: No OFD packet to send [07:47:23]OFD Sender: No OFD packet to send [07:47:28]OFD Sender: No OFD packet to send [07:47:33]OFD Sender: No OFD packet to send [07:47:38]OFD Sender: No OFD packet to send [07:47:43]OFD Sender: No OFD packet to send [07:47:48]OFD Sender: No OFD packet to send [07:47:53]OFD Sender: No OFD packet to send [07:47:58]OFD Sender: No OFD packet to send [07:48:03]OFD Sender: No OFD packet to send [07:48:08]OFD Sender: No OFD packet to send [07:48:13]OFD Sender: No OFD packet to send [07:48:18]OFD Sender: No OFD packet to send [07:48:23]OFD Sender: No OFD packet to send [07:48:28]OFD Sender: No OFD packet to send [07:48:33]OFD Sender: No OFD packet to send [07:48:38]OFD Sender: No OFD packet to send [07:48:43]OFD Sender: No OFD packet to send [07:48:48]OFD Sender: No OFD packet to send [07:48:53]OFD Sender: No OFD packet to send [07:48:58]OFD Sender: No OFD packet to send [07:49:03]OFD Sender: No OFD packet to send [07:49:08]OFD Sender: No OFD packet to send [07:49:13]OFD Sender: No OFD packet to send [07:49:18]OFD Sender: No OFD packet to send [07:49:23]OFD Sender: No OFD packet to send [07:49:28]OFD Sender: No OFD packet to send [07:49:33]OFD Sender: No OFD packet to send [07:49:38]OFD Sender: No OFD packet to send [07:49:43]OFD Sender: No OFD packet to send [07:49:48]OFD Sender: No OFD packet to send [07:49:53]OFD Sender: No OFD packet to send [07:49:58]OFD Sender: No OFD packet to send [07:50:03]OFD Sender: No OFD packet to send [07:50:08]OFD Sender: No OFD packet to send [07:50:13]OFD Sender: No OFD packet to send [07:50:18]OFD Sender: No OFD packet to send [07:50:23]OFD Sender: No OFD packet to send [07:50:28]OFD Sender: No OFD packet to send [07:50:33]OFD Sender: No OFD packet to send [07:50:38]OFD Sender: No OFD packet to send [07:50:43]OFD Sender: No OFD packet to send [07:50:48]OFD Sender: No OFD packet to send [07:50:53]OFD Sender: No OFD packet to send [07:50:58]OFD Sender: No OFD packet to send [07:51:03]OFD Sender: No OFD packet to send [07:51:08]OFD Sender: No OFD packet to send [07:51:13]OFD Sender: No OFD packet to send [07:51:18]OFD Sender: No OFD packet to send [07:51:23]OFD Sender: No OFD packet to send [07:51:28]OFD Sender: No OFD packet to send [07:51:33]OFD Sender: No OFD packet to send [07:51:38]OFD Sender: No OFD packet to send [07:51:43]OFD Sender: No OFD packet to send [07:51:48]OFD Sender: No OFD packet to send [07:51:53]OFD Sender: No OFD packet to send [07:51:58]OFD Sender: No OFD packet to send [07:52:03]OFD Sender: No OFD packet to send [07:52:08]OFD Sender: No OFD packet to send [07:52:13]OFD Sender: No OFD packet to send [07:52:18]OFD Sender: No OFD packet to send [07:52:23]OFD Sender: No OFD packet to send [07:52:28]OFD Sender: No OFD packet to send [07:52:33]OFD Sender: No OFD packet to send [07:52:38]OFD Sender: No OFD packet to send [07:52:43]OFD Sender: No OFD packet to send [07:52:48]OFD Sender: No OFD packet to send [07:52:53]OFD Sender: No OFD packet to send [07:52:58]OFD Sender: No OFD packet to send [07:53:03]OFD Sender: No OFD packet to send [07:53:08]OFD Sender: No OFD packet to send [07:53:13]OFD Sender: No OFD packet to send [07:53:18]OFD Sender: No OFD packet to send [07:53:23]OFD Sender: No OFD packet to send [07:53:28]OFD Sender: No OFD packet to send [07:53:33]OFD Sender: No OFD packet to send [07:53:38]OFD Sender: No OFD packet to send [07:53:43]OFD Sender: No OFD packet to send [07:53:48]OFD Sender: No OFD packet to send [07:53:53]OFD Sender: No OFD packet to send [07:53:58]OFD Sender: No OFD packet to send [07:54:03]OFD Sender: No OFD packet to send [07:54:08]OFD Sender: No OFD packet to send [07:54:13]OFD Sender: No OFD packet to send [07:54:18]OFD Sender: No OFD packet to send [07:54:23]OFD Sender: No OFD packet to send [07:54:28]OFD Sender: No OFD packet to send [07:54:33]OFD Sender: No OFD packet to send [07:54:38]OFD Sender: No OFD packet to send [07:54:43]OFD Sender: No OFD packet to send [07:54:48]OFD Sender: No OFD packet to send [07:54:53]OFD Sender: No OFD packet to send [07:54:58]OFD Sender: No OFD packet to send [07:55:03]OFD Sender: No OFD packet to send [07:55:08]OFD Sender: No OFD packet to send [07:55:13]OFD Sender: No OFD packet to send [07:55:18]OFD Sender: No OFD packet to send [07:55:23]OFD Sender: No OFD packet to send [07:55:28]OFD Sender: No OFD packet to send [07:55:33]OFD Sender: No OFD packet to send [07:55:38]OFD Sender: No OFD packet to send [07:55:43]OFD Sender: No OFD packet to send [07:55:48]OFD Sender: No OFD packet to send [07:55:53]OFD Sender: No OFD packet to send [07:55:58]OFD Sender: No OFD packet to send [07:56:03]OFD Sender: No OFD packet to send [07:56:08]OFD Sender: No OFD packet to send [07:56:13]OFD Sender: No OFD packet to send [07:56:18]OFD Sender: No OFD packet to send [07:56:23]OFD Sender: No OFD packet to send [07:56:28]OFD Sender: No OFD packet to send [07:56:33]OFD Sender: No OFD packet to send [07:56:38]OFD Sender: No OFD packet to send [07:56:43]OFD Sender: No OFD packet to send [07:56:48]OFD Sender: No OFD packet to send [07:56:53]OFD Sender: No OFD packet to send [07:56:58]OFD Sender: No OFD packet to send [07:57:03]OFD Sender: No OFD packet to send [07:57:08]OFD Sender: No OFD packet to send [07:57:13]OFD Sender: No OFD packet to send [07:57:18]OFD Sender: No OFD packet to send [07:57:23]OFD Sender: No OFD packet to send [07:57:28]OFD Sender: No OFD packet to send [07:57:33]OFD Sender: No OFD packet to send [07:57:38]OFD Sender: No OFD packet to send [07:57:43]OFD Sender: No OFD packet to send [07:57:48]OFD Sender: No OFD packet to send [07:57:53]OFD Sender: No OFD packet to send [07:57:58]OFD Sender: No OFD packet to send [07:58:03]OFD Sender: No OFD packet to send [07:58:08]OFD Sender: No OFD packet to send [07:58:13]OFD Sender: No OFD packet to send [07:58:18]OFD Sender: No OFD packet to send [07:58:23]OFD Sender: No OFD packet to send [07:58:28]OFD Sender: No OFD packet to send [07:58:33]OFD Sender: No OFD packet to send [07:58:38]OFD Sender: No OFD packet to send [07:58:43]OFD Sender: No OFD packet to send [07:58:48]OFD Sender: No OFD packet to send [07:58:53]OFD Sender: No OFD packet to send [07:58:58]OFD Sender: No OFD packet to send [07:59:03]OFD Sender: No OFD packet to send [07:59:08]OFD Sender: No OFD packet to send [07:59:13]OFD Sender: No OFD packet to send [07:59:18]OFD Sender: No OFD packet to send [07:59:23]OFD Sender: No OFD packet to send [07:59:28]OFD Sender: No OFD packet to send [07:59:33]OFD Sender: No OFD packet to send [07:59:38]OFD Sender: No OFD packet to send [07:59:43]OFD Sender: No OFD packet to send [07:59:48]OFD Sender: No OFD packet to send [07:59:53]OFD Sender: No OFD packet to send [07:59:58]OFD Sender: No OFD packet to send [08:00:03]OFD Sender: No OFD packet to send [08:00:08]OFD Sender: No OFD packet to send [08:00:13]OFD Sender: No OFD packet to send [08:00:18]OFD Sender: No OFD packet to send [08:00:23]OFD Sender: No OFD packet to send [08:00:28]OFD Sender: No OFD packet to send [08:00:33]OFD Sender: No OFD packet to send [08:00:38]OFD Sender: No OFD packet to send [08:00:43]OFD Sender: No OFD packet to send [08:00:48]OFD Sender: No OFD packet to send [08:00:53]OFD Sender: No OFD packet to send [08:00:58]OFD Sender: No OFD packet to send [08:01:03]OFD Sender: No OFD packet to send [08:01:08]OFD Sender: No OFD packet to send [08:01:13]OFD Sender: No OFD packet to send [08:01:18]OFD Sender: No OFD packet to send [08:01:23]OFD Sender: No OFD packet to send [08:01:28]OFD Sender: No OFD packet to send [08:01:33]OFD Sender: No OFD packet to send [08:01:38]OFD Sender: No OFD packet to send [08:01:43]OFD Sender: No OFD packet to send [08:01:48]OFD Sender: No OFD packet to send [08:01:53]OFD Sender: No OFD packet to send [08:01:58]OFD Sender: No OFD packet to send [08:02:03]OFD Sender: No OFD packet to send [08:02:08]OFD Sender: No OFD packet to send [08:02:13]OFD Sender: No OFD packet to send [08:02:18]OFD Sender: No OFD packet to send [08:02:23]OFD Sender: No OFD packet to send [08:02:28]OFD Sender: No OFD packet to send [08:02:33]OFD Sender: No OFD packet to send [08:02:38]OFD Sender: No OFD packet to send [08:02:43]OFD Sender: No OFD packet to send [08:02:48]OFD Sender: No OFD packet to send [08:02:53]OFD Sender: No OFD packet to send [08:02:58]OFD Sender: No OFD packet to send [08:03:03]OFD Sender: No OFD packet to send [08:03:08]OFD Sender: No OFD packet to send [08:03:13]OFD Sender: No OFD packet to send [08:03:18]OFD Sender: No OFD packet to send [08:03:23]OFD Sender: No OFD packet to send [08:03:28]OFD Sender: No OFD packet to send [08:03:33]OFD Sender: No OFD packet to send [08:03:38]OFD Sender: No OFD packet to send [08:03:43]OFD Sender: No OFD packet to send [08:03:48]OFD Sender: No OFD packet to send [08:03:53]OFD Sender: No OFD packet to send [08:03:58]OFD Sender: No OFD packet to send [08:04:03]OFD Sender: No OFD packet to send [08:04:08]OFD Sender: No OFD packet to send [08:04:13]OFD Sender: No OFD packet to send [08:04:18]OFD Sender: No OFD packet to send [08:04:23]OFD Sender: No OFD packet to send [08:04:28]OFD Sender: No OFD packet to send [08:04:34]OFD Sender: No OFD packet to send [08:04:39]OFD Sender: No OFD packet to send [08:04:44]OFD Sender: No OFD packet to send [08:04:49]OFD Sender: No OFD packet to send [08:04:54]OFD Sender: No OFD packet to send [08:04:59]OFD Sender: No OFD packet to send [08:05:04]OFD Sender: No OFD packet to send [08:05:09]OFD Sender: No OFD packet to send [08:05:14]OFD Sender: No OFD packet to send [08:05:19]OFD Sender: No OFD packet to send [08:05:24]OFD Sender: No OFD packet to send [08:05:29]OFD Sender: No OFD packet to send [08:05:34]OFD Sender: No OFD packet to send [08:05:39]OFD Sender: No OFD packet to send [08:05:44]OFD Sender: No OFD packet to send [08:05:49]OFD Sender: No OFD packet to send [08:05:54]OFD Sender: No OFD packet to send [08:05:59]OFD Sender: No OFD packet to send [08:06:04]OFD Sender: No OFD packet to send [08:06:09]OFD Sender: No OFD packet to send [08:06:14]OFD Sender: No OFD packet to send [08:06:19]OFD Sender: No OFD packet to send [08:06:24]OFD Sender: No OFD packet to send [08:06:29]OFD Sender: No OFD packet to send [08:06:34]OFD Sender: No OFD packet to send [08:06:39]OFD Sender: No OFD packet to send [08:06:44]OFD Sender: No OFD packet to send [08:06:49]OFD Sender: No OFD packet to send [08:06:54]OFD Sender: No OFD packet to send [08:06:59]OFD Sender: No OFD packet to send [08:07:04]OFD Sender: No OFD packet to send [08:07:09]OFD Sender: No OFD packet to send [08:07:14]OFD Sender: No OFD packet to send [08:07:19]OFD Sender: No OFD packet to send [08:07:24]OFD Sender: No OFD packet to send [08:07:29]OFD Sender: No OFD packet to send [08:07:34]OFD Sender: No OFD packet to send [08:07:39]OFD Sender: No OFD packet to send [08:07:44]OFD Sender: No OFD packet to send [08:07:49]OFD Sender: No OFD packet to send [08:07:54]OFD Sender: No OFD packet to send [08:07:59]OFD Sender: No OFD packet to send [08:08:04]OFD Sender: No OFD packet to send [08:08:09]OFD Sender: No OFD packet to send [08:08:14]OFD Sender: No OFD packet to send [08:08:19]OFD Sender: No OFD packet to send [08:08:24]OFD Sender: No OFD packet to send [08:08:29]OFD Sender: No OFD packet to send [08:08:34]OFD Sender: No OFD packet to send [08:08:39]OFD Sender: No OFD packet to send [08:08:44]OFD Sender: No OFD packet to send [08:08:49]OFD Sender: No OFD packet to send [08:08:54]OFD Sender: No OFD packet to send [08:08:59]OFD Sender: No OFD packet to send [08:09:04]OFD Sender: No OFD packet to send [08:09:09]OFD Sender: No OFD packet to send [08:09:14]OFD Sender: No OFD packet to send [08:09:19]OFD Sender: No OFD packet to send [08:09:24]OFD Sender: No OFD packet to send [08:09:29]OFD Sender: No OFD packet to send [08:09:34]OFD Sender: No OFD packet to send [08:09:39]OFD Sender: No OFD packet to send [08:09:44]OFD Sender: No OFD packet to send [08:09:49]OFD Sender: No OFD packet to send [08:09:54]OFD Sender: No OFD packet to send [08:09:59]OFD Sender: No OFD packet to send [08:10:04]OFD Sender: No OFD packet to send [08:10:09]OFD Sender: No OFD packet to send [08:10:14]OFD Sender: No OFD packet to send [08:10:19]OFD Sender: No OFD packet to send [08:10:24]OFD Sender: No OFD packet to send [08:10:29]OFD Sender: No OFD packet to send [08:10:34]OFD Sender: No OFD packet to send [08:10:39]OFD Sender: No OFD packet to send [08:10:44]OFD Sender: No OFD packet to send [08:10:49]OFD Sender: No OFD packet to send [08:10:54]OFD Sender: No OFD packet to send [08:10:59]OFD Sender: No OFD packet to send [08:11:04]OFD Sender: No OFD packet to send [08:11:09]OFD Sender: No OFD packet to send [08:11:14]OFD Sender: No OFD packet to send [08:11:19]OFD Sender: No OFD packet to send [08:11:24]OFD Sender: No OFD packet to send [08:11:29]OFD Sender: No OFD packet to send [08:11:34]OFD Sender: No OFD packet to send [08:11:39]OFD Sender: No OFD packet to send [08:11:44]OFD Sender: No OFD packet to send [08:11:49]OFD Sender: No OFD packet to send [08:11:54]OFD Sender: No OFD packet to send [08:11:59]OFD Sender: No OFD packet to send [08:12:04]OFD Sender: No OFD packet to send [08:12:09]OFD Sender: No OFD packet to send [08:12:14]OFD Sender: No OFD packet to send [08:12:19]OFD Sender: No OFD packet to send [08:12:24]OFD Sender: No OFD packet to send [08:12:29]OFD Sender: No OFD packet to send [08:12:34]OFD Sender: No OFD packet to send [08:12:39]OFD Sender: No OFD packet to send [08:12:44]OFD Sender: No OFD packet to send [08:12:49]OFD Sender: No OFD packet to send [08:12:54]OFD Sender: No OFD packet to send [08:12:59]OFD Sender: No OFD packet to send [08:13:04]OFD Sender: No OFD packet to send [08:13:09]OFD Sender: No OFD packet to send [08:13:14]OFD Sender: No OFD packet to send [08:13:19]OFD Sender: No OFD packet to send [08:13:24]OFD Sender: No OFD packet to send [08:13:29]OFD Sender: No OFD packet to send [08:13:34]OFD Sender: No OFD packet to send [08:13:39]OFD Sender: No OFD packet to send [08:13:44]OFD Sender: No OFD packet to send [08:13:49]OFD Sender: No OFD packet to send [08:13:54]OFD Sender: No OFD packet to send [08:13:59]OFD Sender: No OFD packet to send [08:14:04]OFD Sender: No OFD packet to send [08:14:09]OFD Sender: No OFD packet to send [08:14:14]OFD Sender: No OFD packet to send [08:14:19]OFD Sender: No OFD packet to send [08:14:24]OFD Sender: No OFD packet to send [08:14:29]OFD Sender: No OFD packet to send [08:14:34]OFD Sender: No OFD packet to send [08:14:39]OFD Sender: No OFD packet to send [08:14:44]OFD Sender: No OFD packet to send [08:14:49]OFD Sender: No OFD packet to send [08:14:54]OFD Sender: No OFD packet to send [08:14:59]OFD Sender: No OFD packet to send [08:15:04]OFD Sender: No OFD packet to send [08:15:09]OFD Sender: No OFD packet to send [08:15:14]OFD Sender: No OFD packet to send [08:15:19]OFD Sender: No OFD packet to send [08:15:24]OFD Sender: No OFD packet to send [08:15:29]OFD Sender: No OFD packet to send [08:15:34]OFD Sender: No OFD packet to send [08:15:39]OFD Sender: No OFD packet to send [08:15:44]OFD Sender: No OFD packet to send [08:15:49]OFD Sender: No OFD packet to send [08:15:54]OFD Sender: No OFD packet to send [08:15:59]OFD Sender: No OFD packet to send [08:16:04]OFD Sender: No OFD packet to send [08:16:09]OFD Sender: No OFD packet to send [08:16:14]OFD Sender: No OFD packet to send [08:16:19]OFD Sender: No OFD packet to send [08:16:24]OFD Sender: No OFD packet to send [08:16:29]OFD Sender: No OFD packet to send [08:16:34]OFD Sender: No OFD packet to send [08:16:39]OFD Sender: No OFD packet to send [08:16:44]OFD Sender: No OFD packet to send [08:16:49]OFD Sender: No OFD packet to send [08:16:54]OFD Sender: No OFD packet to send [08:16:59]OFD Sender: No OFD packet to send [08:17:04]OFD Sender: No OFD packet to send [08:17:09]OFD Sender: No OFD packet to send [08:17:14]OFD Sender: No OFD packet to send [08:17:19]OFD Sender: No OFD packet to send [08:17:24]OFD Sender: No OFD packet to send [08:17:29]OFD Sender: No OFD packet to send [08:17:34]OFD Sender: No OFD packet to send [08:17:39]OFD Sender: No OFD packet to send [08:17:44]OFD Sender: No OFD packet to send [08:17:49]OFD Sender: No OFD packet to send [08:17:54]OFD Sender: No OFD packet to send [08:17:59]OFD Sender: No OFD packet to send [08:18:04]OFD Sender: No OFD packet to send [08:18:09]OFD Sender: No OFD packet to send [08:18:14]OFD Sender: No OFD packet to send [08:18:19]OFD Sender: No OFD packet to send [08:18:24]OFD Sender: No OFD packet to send [08:18:29]OFD Sender: No OFD packet to send [08:18:34]OFD Sender: No OFD packet to send [08:18:39]OFD Sender: No OFD packet to send [08:18:44]OFD Sender: No OFD packet to send [08:18:49]OFD Sender: No OFD packet to send [08:18:54]OFD Sender: No OFD packet to send [08:18:59]OFD Sender: No OFD packet to send [08:19:04]OFD Sender: No OFD packet to send [08:19:09]OFD Sender: No OFD packet to send [08:19:14]OFD Sender: No OFD packet to send [08:19:19]OFD Sender: No OFD packet to send [08:19:24]OFD Sender: No OFD packet to send [08:19:29]OFD Sender: No OFD packet to send [08:19:34]OFD Sender: No OFD packet to send [08:19:39]OFD Sender: No OFD packet to send [08:19:44]OFD Sender: No OFD packet to send [08:19:49]OFD Sender: No OFD packet to send [08:19:54]OFD Sender: No OFD packet to send [08:19:59]OFD Sender: No OFD packet to send [08:20:04]OFD Sender: No OFD packet to send [08:20:09]OFD Sender: No OFD packet to send [08:20:14]OFD Sender: No OFD packet to send [08:20:19]OFD Sender: No OFD packet to send [08:20:24]OFD Sender: No OFD packet to send [08:20:29]OFD Sender: No OFD packet to send [08:20:34]OFD Sender: No OFD packet to send [08:20:39]OFD Sender: No OFD packet to send [08:20:44]OFD Sender: No OFD packet to send [08:20:49]OFD Sender: No OFD packet to send [08:20:54]OFD Sender: No OFD packet to send [08:20:59]OFD Sender: No OFD packet to send [08:21:04]OFD Sender: No OFD packet to send [08:21:09]OFD Sender: No OFD packet to send [08:21:14]OFD Sender: No OFD packet to send [08:21:19]OFD Sender: No OFD packet to send [08:21:24]OFD Sender: No OFD packet to send [08:21:29]OFD Sender: No OFD packet to send [08:21:34]OFD Sender: No OFD packet to send [08:21:39]OFD Sender: No OFD packet to send [08:21:44]OFD Sender: No OFD packet to send [08:21:49]OFD Sender: No OFD packet to send [08:21:54]OFD Sender: No OFD packet to send [08:21:59]OFD Sender: No OFD packet to send [08:22:04]OFD Sender: No OFD packet to send [08:22:09]OFD Sender: No OFD packet to send [08:22:14]OFD Sender: No OFD packet to send [08:22:19]OFD Sender: No OFD packet to send [08:22:24]OFD Sender: No OFD packet to send [08:22:29]OFD Sender: No OFD packet to send [08:22:34]OFD Sender: No OFD packet to send [08:22:39]OFD Sender: No OFD packet to send [08:22:44]OFD Sender: No OFD packet to send [08:22:49]OFD Sender: No OFD packet to send [08:22:54]OFD Sender: No OFD packet to send [08:22:59]OFD Sender: No OFD packet to send [08:23:04]OFD Sender: No OFD packet to send [08:23:09]OFD Sender: No OFD packet to send [08:23:14]OFD Sender: No OFD packet to send [08:23:19]OFD Sender: No OFD packet to send [08:23:24]OFD Sender: No OFD packet to send [08:23:29]OFD Sender: No OFD packet to send [08:23:34]OFD Sender: No OFD packet to send [08:23:39]OFD Sender: No OFD packet to send [08:23:44]OFD Sender: No OFD packet to send [08:23:49]OFD Sender: No OFD packet to send [08:23:54]OFD Sender: No OFD packet to send [08:23:59]OFD Sender: No OFD packet to send [08:24:04]OFD Sender: No OFD packet to send [08:24:09]OFD Sender: No OFD packet to send [08:24:14]OFD Sender: No OFD packet to send [08:24:19]OFD Sender: No OFD packet to send [08:24:24]OFD Sender: No OFD packet to send [08:24:29]OFD Sender: No OFD packet to send [08:24:34]OFD Sender: No OFD packet to send [08:24:39]OFD Sender: No OFD packet to send [08:24:44]OFD Sender: No OFD packet to send [08:24:49]OFD Sender: No OFD packet to send [08:24:54]OFD Sender: No OFD packet to send [08:24:59]OFD Sender: No OFD packet to send [08:25:04]OFD Sender: No OFD packet to send [08:25:09]OFD Sender: No OFD packet to send [08:25:14]OFD Sender: No OFD packet to send [08:25:19]OFD Sender: No OFD packet to send [08:25:24]OFD Sender: No OFD packet to send [08:25:29]OFD Sender: No OFD packet to send [08:25:34]OFD Sender: No OFD packet to send [08:25:35]accept exits with 9 [08:25:35]New connection [08:25:35]New thread 3066453348 created [08:25:35]Thread 3066596708 joined [08:25:35]Waiting for new connection... [08:25:35] Sock 9.Parse request [08:25:35]Sock 9.Check first char [08:25:35]Sock 9.First char is OK [08:25:35]request: POST /json_proto HTTP/1.0 [08:25:35]Method: POST [08:25:35]URL: /json_proto [08:25:35]Method is POST - this is cgi request [08:25:35]url: /json_proto [08:25:35]query_string will be loaded in cgi processing [08:25:35]execute_cgi json_proto POST (null) [08:25:35]execute_cgi path=json_proto method=POST [08:25:35]POST find Content-Length [08:25:35]Host: 172.17.32.68:8080 [08:25:35]Content-Length: 683 [08:25:35]Content-Type: application/json [08:25:35] [08:25:35]POST finish read [08:25:35]Found Content-Length = 683 [08:25:35]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)1039165", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 73", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 61.90, "quantity" : 32.320, "sum" : 2000.61, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 2000.00, "total" : 2000.00, "payments": [ { "type": 0, "sum" : 2000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:25:35]execute_script... [08:25:35]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)1039165", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 73", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 61.90, "quantity" : 32.320, "sum" : 2000.61, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 2000.00, "total" : 2000.00, "payments": [ { "type": 0, "sum" : 2000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:25:35]POST & json_proto [08:25:35]process_json_proto [08:25:35]json parsed OK: [08:25:35]protocol is kg_v1.0 [08:25:35]action value=close_receipt [08:25:35]process_action close_receipt [08:25:35]cmd_close_receipt [08:25:35]MH_GetDate [08:25:35]Write to MH i2c: F0 00 00 07 4F 45 [08:25:35]Write i2c OK [08:25:35]MH_I2C_Read... [08:25:35]Read from MH i2c: F0 [08:25:35]MH_I2C_Read... [08:25:35]Read from MH i2c: F0 09 00 [08:25:35]MH_I2C_Read... [08:25:35]Read from MH i2c: F0 09 00 07 4F 00 8D 11 F0 65 0A 64 6E 65 82 [08:25:35]GetLastDocTimeStamp 1710228643 [08:25:35]current date 1710231949 [08:25:35]FM_GetShiftState [08:25:35]SAM_PROTO_GetShiftState [08:25:35]wFMCommunicate request_size=4 [08:25:35]MH_SAM_APDU [08:25:35]CAPDU: 80 13 01 00 [08:25:35]Write to MH i2c: E2 08 00 08 4F 80 13 01 00 00 00 00 00 D4 [08:25:35]Write i2c OK [08:25:35]MH_I2C_Read... [08:25:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:25:35]Read from MH i2c: E2 [08:25:35]MH_I2C_Read... [08:25:35]Read from MH i2c: E2 0E 00 [08:25:35]MH_I2C_Read... [08:25:35]Read from MH i2c: E2 0E 00 08 4F 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 03 [08:25:35]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [08:25:35]wFMCommunicate OK [08:25:35]SAM_PROTO_GetShiftState done [08:25:35]FM_GetShiftState done [08:25:35]opened in 1710202417 [08:25:35]opened+sec_in_day 1710288817 [08:25:35]quantity*price = 200060 [08:25:35]sum+1 = 200062 [08:25:35]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.61 ИТОГО: 2000.00 Внесено: 2000.00 СДАЧА: 0.00 НСП 1% : 17.70 НДС 12% : 212.45 Наличными: 2000.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 14 12.03.2024 08:25 Смена: 314 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47336 ФПД: 272192186870025 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T082549&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47336&fm=272192186870025&tin=02508201610067®Number=0000000000092018&sum=200000 [08:25:36]StoreToDocumentArchive [08:25:36]shift 314 fd 47336 [08:25:36]save to /storage/0314/doc_00047336 [08:25:36]save last doc name /storage/0314/doc_00047336 to /storage/kkm_last_doc_name [08:25:36]save OK [08:25:36]Clear old archive folders... [08:25:36]ProcessDocumentItem done err = 0, tmpTLVsize=251 [08:25:36]tlvbuf is 0027A7C0 [08:25:36]SAM_PROTO_ClearQueue [08:25:36]wFMCommunicate request_size=4 [08:25:36]MH_SAM_APDU [08:25:36]CAPDU: 80 09 00 00 [08:25:36]Write to MH i2c: E2 08 00 15 4F 80 09 00 00 00 00 00 00 D6 [08:25:36]Write i2c OK [08:25:36]MH_I2C_Read... [08:25:36]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:25:36]Read from MH i2c: E2 [08:25:36]MH_I2C_Read... [08:25:36]Read from MH i2c: E2 03 00 [08:25:36]MH_I2C_Read... [08:25:36]Read from MH i2c: E2 03 00 15 4F 00 90 00 D8 [08:25:36]RAPDU: 90 00 [08:25:36]wFMCommunicate OK [08:25:36]SAM_PROTO_ClearQueue done [08:25:36]KKMCreateOFDPacket [08:25:36]OFDProtocolAddRootSTLVToBuf [08:25:36]FM_MakeSignedData [08:25:36]FM_MakeSignedData [08:25:36]SAM_PROTO_SignData [08:25:36]wFMCommunicate request_size=4 [08:25:36]MH_SAM_APDU [08:25:36]CAPDU: 80 0D 01 02 [08:25:36]Write to MH i2c: E2 08 00 16 4F 80 0D 01 02 00 00 00 00 DE [08:25:36]Write i2c OK [08:25:36]MH_I2C_Read... [08:25:36]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:25:36]Read from MH i2c: E2 [08:25:36]MH_I2C_Read... [08:25:36]Read from MH i2c: E2 03 00 [08:25:36]MH_I2C_Read... [08:25:36]Read from MH i2c: E2 03 00 16 4F 00 90 00 D9 [08:25:36]RAPDU: 90 00 [08:25:36]wFMCommunicate OK [08:25:36]wFMCommunicate request_size=255 [08:25:36]MH_SAM_APDU [08:25:36]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 40 7E 00 00 00 00 00 37 04 06 00 2E 18 00 00 00 00 13 04 06 00 7D 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FD 52 00 00 00 00 07 04 06 00 40 0D 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 8D 11 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 E8 B8 00 00 35 04 06 00 F7 [08:25:36]Write to MH i2c: E2 02 01 17 4F 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 40 7E 00 00 00 00 00 37 04 06 00 2E 18 00 00 00 00 13 04 06 00 7D 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FD 52 00 00 00 00 07 04 06 00 40 0D 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 8D 11 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 E8 B8 00 00 35 04 06 00 F7 00 00 25 [08:25:36]Write i2c OK [08:25:36]MH_I2C_Read... [08:25:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:25:37]Read from MH i2c: E2 [08:25:37]MH_I2C_Read... [08:25:37]Read from MH i2c: E2 03 00 [08:25:37]MH_I2C_Read... [08:25:37]Read from MH i2c: E2 03 00 17 4F 00 90 00 DA [08:25:37]RAPDU: 90 00 [08:25:37]wFMCommunicate OK [08:25:37]wFMCommunicate request_size=10 [08:25:37]MH_SAM_APDU [08:25:37]CAPDU: 80 0D 02 02 05 8E AE 9B E9 09 [08:25:37]Write to MH i2c: E2 0D 00 18 4F 80 0D 02 02 05 00 8E AE 9B E9 09 00 00 B4 [08:25:37]Write i2c OK [08:25:37]MH_I2C_Read... [08:25:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:25:37]Read from MH i2c: E2 [08:25:37]MH_I2C_Read... [08:25:37]Read from MH i2c: E2 03 00 [08:25:37]MH_I2C_Read... [08:25:37]Read from MH i2c: E2 03 00 18 4F 00 90 00 DB [08:25:37]RAPDU: 90 00 [08:25:37]wFMCommunicate OK [08:25:37]wFMCommunicate request_size=4 [08:25:37]MH_SAM_APDU [08:25:37]CAPDU: 80 0D 03 02 [08:25:37]Write to MH i2c: E2 08 00 19 4F 80 0D 03 02 00 00 00 00 E3 [08:25:37]Write i2c OK [08:25:37]MH_I2C_Read... [08:25:37]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:25:37]Read from MH i2c: E2 [08:25:37]MH_I2C_Read... [08:25:37]Read from MH i2c: E2 0B 00 [08:25:37]MH_I2C_Read... [08:25:37]Read from MH i2c: E2 0B 00 19 4F 00 C1 AA 1E 0C F7 8D 4E BE 90 00 09 [08:25:37]RAPDU: C1 AA 1E 0C F7 8D 4E BE 90 00 [08:25:37]wFMCommunicate OK [08:25:37]SAM_PROTO_SignData done [08:25:37]FM_MakeSignedData done [08:25:37]CreateOFDProtocolMessage [08:25:37]wFMCommunicate request_size=4 [08:25:37]MH_SAM_APDU [08:25:37]CAPDU: 80 11 00 00 [08:25:37]Write to MH i2c: E2 08 00 1A 4F 80 11 00 00 00 00 00 00 E3 [08:25:37]Write i2c OK [08:25:37]MH_I2C_Read... [08:25:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:25:37]Read from MH i2c: E2 [08:25:37]MH_I2C_Read... [08:25:37]Read from MH i2c: E2 17 00 [08:25:37]MH_I2C_Read... [08:25:37]Read from MH i2c: E2 17 00 1A 4F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 35 [08:25:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [08:25:37]wFMCommunicate OK [08:25:37]CreateOFDProtocolMessage done [08:25:37]OFDSenderStorePacket 47336 [08:25:37]StoreOFDPacket docnum=47336 [08:25:37]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0F 01 00 00 68 84 07 01 85 74 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 40 7E 00 00 00 00 00 37 04 06 00 2E 18 00 00 00 00 13 04 06 00 7D 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FD 52 00 00 00 00 07 04 06 00 40 0D 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 8D 11 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 E8 B8 00 00 35 04 06 00 F7 8E AE 9B E9 09 C1 AA 1E 0C F7 8D 4E BE [08:25:37]CheckFolder [08:25:37]dirname=/storage/ofd_packets [08:25:37]CheckFolder done [08:25:37]ProducePacketName [08:25:37]name=ofd_packets/00047336 [08:25:37]NVStorageSaveData ofd_packets/00047336 [08:25:37]File name is /storage/ofd_packets/00047336 [08:25:37]Write 301 bytes [08:25:37]NVStorageSaveData done [08:25:37]OFDSenderStorePacket done [08:25:37]KKMCreateOFDPacket done [08:25:37]NVStorageSaveData kkm_last_timestamp [08:25:37]File name is /storage/kkm_last_timestamp [08:25:37]Write 4 bytes [08:25:37]NVStorageSaveData done [08:25:37]ExternCall_PrintAddStr [08:25:37]wPrintStart [08:25:37]Write to MH i2c: 01 00 00 1B 4F 6A [08:25:37]Write i2c OK [08:25:37]MH_I2C_Read... [08:25:37]Read from MH i2c: 01 [08:25:37]MH_I2C_Read... [08:25:37]Read from MH i2c: 01 07 00 [08:25:37]MH_I2C_Read... [08:25:37]Read from MH i2c: 01 07 00 1B 4F 00 00 00 00 00 FF 0F 7F [08:25:37]RasterBufferAndPrint [08:25:37]line Счет N : (1)1039165 [08:25:37]line ИНН: 02508201610067 [08:25:37]line Контрольно-Кассовый Чек [08:25:37]line ПРОДАЖА [08:25:37]line ТРК (МРК, ГНК) : 73 [08:25:37]line Товар: 2710124130 [08:25:37]line Аи-92-К-5 [08:25:37]line 32.320 * 61.90 [08:25:37]line = 2000.61 [08:25:37]line НДС 12% НСП 1% [08:25:37]line > о реализуемом товаре [08:25:37]line ОКРУГЛЕНИЕ: -0.61 [08:25:37]line ИТОГО: 2000.00 [08:25:37]line Внесено: 2000.00 [08:25:37]line СДАЧА: 0.00 [08:25:37]line НСП 1% : 17.70 [08:25:37]line НДС 12% : 212.45 [08:25:37]line Наличными: 2000.00 [08:25:37]line Безнал.: 0.00 [08:25:37]line Место: АЗС № 15 "Партнер Нефть" [08:25:37]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [08:25:37]line СНО: Общий режим [08:25:37]line Чек 14 12.03.2024 08:25 [08:25:37]line Смена: 314 ФФД: 1.0 [08:25:37]line ЗНМ: 0300000097 [08:25:37]line РНМ: 0000000000092018 [08:25:37]line Версия ККМ: 001 [08:25:37]line ФМ: 0000000000871816 [08:25:37]line ФД: 47336 [08:25:37]line ФПД: 272192186870025 [08:25:37]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T082549&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47336&fm=272192186870025&tin=02508201610067®Number=0000000000092018&sum=200000 [08:25:37]OFD Sender: Processing packet 47336 [packets to send 8, broken 7] [08:25:37]ProducePacketName [08:25:37]name=ofd_packets/00047336 [08:25:37]OFD Sender: To server: pG, [08:25:37]CommunicateWithHost lk.salyk.kg:30040 [08:25:37]ConnectInit lk.salyk.kg [08:25:37]written 0, free lines is 4095 [08:25:37]Connected sock=10 [08:25:37]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 31 36 0F 01 00 00 68 84 07 01 85 74 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 40 7E 00 00 00 00 00 37 04 06 00 2E 18 00 00 00 00 13 04 06 00 7D 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FD 52 00 00 00 00 07 04 06 00 40 0D 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 8D 11 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 E8 B8 00 00 35 04 06 00 F7 8E AE 9B E9 09 C1 AA 1E 0C F7 8D 4E BE [08:25:37]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 EE 29 47 00 33 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 31 36 10 04 04 00 E8 B8 00 00 F4 03 04 00 20 BC EF 65 B6 04 01 00 00 BB EF A4 1D A3 D9 28 3A [08:25:37]CommunicateWithHost err = 0 [08:25:37]CheckOFDResponse [08:25:37]1017 (14) - 77093643461234 [08:25:37]1041 (16) - 0000000000871816 [08:25:37]1040 (4) - 47336 [08:25:37]1012 (4) - 12.03.2024 02:21 [08:25:37]1206 (1) - 0 [08:25:37]OFD Sender: Remove packet 47336 [08:25:37]ProducePacketName [08:25:37]name=ofd_packets/00047336 [08:25:37]NVStorageDeleteData [08:25:37]Write to MH i2c: 01 00 00 46 4F 95 [08:25:37]Write i2c OK [08:25:37]MH_I2C_Read... [08:25:37]Read from MH i2c: 01 [08:25:37]MH_I2C_Read... [08:25:37]Read from MH i2c: 01 07 00 [08:25:37]MH_I2C_Read... [08:25:37]Read from MH i2c: 01 07 00 46 4F 00 00 00 00 00 D2 0C 7A [08:25:37]RasterBufferAndPrint [08:25:37]line [08:25:37]line [08:25:37]line [08:25:37]line [08:25:37]line [08:25:38]written 0, free lines is 3288 [08:25:38]MH_Cut [08:25:38]Write to MH i2c: D1 01 00 4D 4F 01 6E [08:25:38]Write i2c OK [08:25:38]MH_I2C_Read... [08:25:38]Read from MH i2c: D1 [08:25:38]MH_I2C_Read... [08:25:38]Read from MH i2c: D1 01 00 [08:25:38]MH_I2C_Read... [08:25:38]Read from MH i2c: D1 01 00 4D 4F 00 6D [08:25:38]Write to MH i2c: 01 00 00 4E 4F 9D [08:25:38]Write i2c OK [08:25:38]MH_I2C_Read... [08:25:38]OFD Sender: No OFD packet to send [08:25:38]*** Cut start [08:25:38]*** Purtial cut [08:25:38]*** Stage 1: CUTSNS_PIN = 1 [08:25:39]Read from MH i2c: 01 [08:25:39]MH_I2C_Read... [08:25:39]*** Stop cut motor [08:25:39]*** Cut end [08:25:39]Read from MH i2c: 01 07 00 [08:25:39]MH_I2C_Read... [08:25:39]Read from MH i2c: 01 07 00 4E 4F 00 00 00 00 00 FF 0F B2 [08:25:39]process_action close_receipt done [08:25:39]requested_data is exist [08:25:39]produce_requested_data [08:25:39]requested_item fm.sn is exist - process it [08:25:39]wFMCommunicate request_size=4 [08:25:39]MH_SAM_APDU [08:25:39]CAPDU: 80 11 00 00 [08:25:39]Write to MH i2c: E2 08 00 4F 4F 80 11 00 00 00 00 00 00 18 [08:25:39]Write i2c OK [08:25:39]MH_I2C_Read... [08:25:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:25:39]Read from MH i2c: E2 [08:25:39]MH_I2C_Read... [08:25:39]Read from MH i2c: E2 17 00 [08:25:39]MH_I2C_Read... [08:25:39]Read from MH i2c: E2 17 00 4F 4F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 6A [08:25:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [08:25:39]wFMCommunicate OK [08:25:39]requested_item fd.num is exist - process it [08:25:39]SAM_PROTO_GetFieldsCounters [08:25:39]wFMCommunicate request_size=4 [08:25:39]MH_SAM_APDU [08:25:39]CAPDU: 80 13 00 00 [08:25:39]Write to MH i2c: E2 08 00 50 4F 80 13 00 00 00 00 00 00 1B [08:25:39]Write i2c OK [08:25:39]MH_I2C_Read... [08:25:39]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:25:39]Read from MH i2c: E2 [08:25:39]MH_I2C_Read... [08:25:39]Read from MH i2c: E2 62 00 [08:25:39]MH_I2C_Read... [08:25:39]Read from MH i2c: E2 62 00 50 4F 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 E8 B8 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 0E 00 00 00 5E 04 04 00 0E 00 00 00 57 04 04 00 0F 00 00 00 19 04 04 00 00 00 00 00 90 00 3B [08:25: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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 E8 B8 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 0E 00 00 00 5E 04 04 00 0E 00 00 00 57 04 04 00 0F 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:25:39]wFMCommunicate OK [08:25:39]SAM_PROTO_GetFieldsCounters done [08:25:39]requested_item shift.num is exist - process it [08:25:39]requested_item shift.opened is exist - process it [08:25:39]req_shift_opened [08:25:39]FM_GetShiftState [08:25:39]SAM_PROTO_GetShiftState [08:25:39]wFMCommunicate request_size=4 [08:25:39]MH_SAM_APDU [08:25:39]CAPDU: 80 13 01 00 [08:25:39]Write to MH i2c: E2 08 00 51 4F 80 13 01 00 00 00 00 00 1D [08:25:39]Write i2c OK [08:25:39]MH_I2C_Read... [08:25:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:25:39]Read from MH i2c: E2 [08:25:39]MH_I2C_Read... [08:25:39]Read from MH i2c: E2 0E 00 [08:25:39]MH_I2C_Read... [08:25:39]Read from MH i2c: E2 0E 00 51 4F 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 4C [08:25:39]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [08:25:39]wFMCommunicate OK [08:25:39]SAM_PROTO_GetShiftState done [08:25:39]FM_GetShiftState done [08:25:39]req_shift_opened done [08:25:39]requested_item shift.open_date is exist - process it [08:25:39]req_shift_open_date [08:25:39]req_shift_open_date done [08:25:39]produce_requested_data done [08:25:39]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47336,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [08:25:39]process_action_free close_receipt [08:25:39]json_value_free [08:25:39]json_value_free done [08:25:39]process_json_proto returns [08:25:39]Send response to host [08:25:39]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47336,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [08:25:39]free response buf [08:25:39]execute_script done [08:25:39]execute_script returns [08:25:39]free content buf [08:25:39]Sock 9.Close socket [08:25:39]Sock 9.Thread stoped [08:25:43]OFD Sender: No OFD packet to send [08:25:48]OFD Sender: No OFD packet to send [08:25:53]OFD Sender: No OFD packet to send [08:25:58]OFD Sender: No OFD packet to send [08:26:03]OFD Sender: No OFD packet to send [08:26:08]OFD Sender: No OFD packet to send [08:26:13]OFD Sender: No OFD packet to send [08:26:18]OFD Sender: No OFD packet to send [08:26:23]OFD Sender: No OFD packet to send [08:26:28]OFD Sender: No OFD packet to send [08:26:33]OFD Sender: No OFD packet to send [08:26:38]OFD Sender: No OFD packet to send [08:26:43]OFD Sender: No OFD packet to send [08:26:48]OFD Sender: No OFD packet to send [08:26:53]OFD Sender: No OFD packet to send [08:26:58]OFD Sender: No OFD packet to send [08:27:03]OFD Sender: No OFD packet to send [08:27:08]OFD Sender: No OFD packet to send [08:27:13]OFD Sender: No OFD packet to send [08:27:18]OFD Sender: No OFD packet to send [08:27:23]OFD Sender: No OFD packet to send [08:27:28]OFD Sender: No OFD packet to send [08:27:33]OFD Sender: No OFD packet to send [08:27:38]OFD Sender: No OFD packet to send [08:27:43]OFD Sender: No OFD packet to send [08:27:48]OFD Sender: No OFD packet to send [08:27:53]OFD Sender: No OFD packet to send [08:27:58]OFD Sender: No OFD packet to send [08:28:03]OFD Sender: No OFD packet to send [08:28:08]OFD Sender: No OFD packet to send [08:28:13]OFD Sender: No OFD packet to send [08:28:18]OFD Sender: No OFD packet to send [08:28:23]OFD Sender: No OFD packet to send [08:28:28]OFD Sender: No OFD packet to send [08:28:33]OFD Sender: No OFD packet to send [08:28:38]OFD Sender: No OFD packet to send [08:28:43]OFD Sender: No OFD packet to send [08:28:48]OFD Sender: No OFD packet to send [08:28:53]OFD Sender: No OFD packet to send [08:28:58]OFD Sender: No OFD packet to send [08:29:03]OFD Sender: No OFD packet to send [08:29:08]OFD Sender: No OFD packet to send [08:29:13]OFD Sender: No OFD packet to send [08:29:18]OFD Sender: No OFD packet to send [08:29:23]OFD Sender: No OFD packet to send [08:29:28]OFD Sender: No OFD packet to send [08:29:33]OFD Sender: No OFD packet to send [08:29:38]OFD Sender: No OFD packet to send [08:29:43]OFD Sender: No OFD packet to send [08:29:48]OFD Sender: No OFD packet to send [08:29:53]OFD Sender: No OFD packet to send [08:29:58]OFD Sender: No OFD packet to send [08:30:03]OFD Sender: No OFD packet to send [08:30:08]OFD Sender: No OFD packet to send [08:30:13]OFD Sender: No OFD packet to send [08:30:18]OFD Sender: No OFD packet to send [08:30:23]OFD Sender: No OFD packet to send [08:30:28]OFD Sender: No OFD packet to send [08:30:33]OFD Sender: No OFD packet to send [08:30:38]OFD Sender: No OFD packet to send [08:30:43]OFD Sender: No OFD packet to send [08:30:48]OFD Sender: No OFD packet to send [08:30:53]OFD Sender: No OFD packet to send [08:30:58]OFD Sender: No OFD packet to send [08:31:03]OFD Sender: No OFD packet to send [08:31:08]OFD Sender: No OFD packet to send [08:31:13]OFD Sender: No OFD packet to send [08:31:18]OFD Sender: No OFD packet to send [08:31:23]OFD Sender: No OFD packet to send [08:31:28]OFD Sender: No OFD packet to send [08:31:33]OFD Sender: No OFD packet to send [08:31:38]OFD Sender: No OFD packet to send [08:31:43]OFD Sender: No OFD packet to send [08:31:48]OFD Sender: No OFD packet to send [08:31:53]OFD Sender: No OFD packet to send [08:31:58]OFD Sender: No OFD packet to send [08:32:03]OFD Sender: No OFD packet to send [08:32:08]OFD Sender: No OFD packet to send [08:32:13]OFD Sender: No OFD packet to send [08:32:18]OFD Sender: No OFD packet to send [08:32:23]OFD Sender: No OFD packet to send [08:32:28]OFD Sender: No OFD packet to send [08:32:33]OFD Sender: No OFD packet to send [08:32:38]OFD Sender: No OFD packet to send [08:32:43]OFD Sender: No OFD packet to send [08:32:48]OFD Sender: No OFD packet to send [08:32:53]OFD Sender: No OFD packet to send [08:32:58]OFD Sender: No OFD packet to send [08:33:03]OFD Sender: No OFD packet to send [08:33:08]OFD Sender: No OFD packet to send [08:33:13]OFD Sender: No OFD packet to send [08:33:18]OFD Sender: No OFD packet to send [08:33:23]OFD Sender: No OFD packet to send [08:33:28]OFD Sender: No OFD packet to send [08:33:33]OFD Sender: No OFD packet to send [08:33:38]OFD Sender: No OFD packet to send [08:33:43]OFD Sender: No OFD packet to send [08:33:48]OFD Sender: No OFD packet to send [08:33:53]OFD Sender: No OFD packet to send [08:33:58]OFD Sender: No OFD packet to send [08:34:03]OFD Sender: No OFD packet to send [08:34:05]accept exits with 7 [08:34:05]New connection [08:34:05]New thread 3066596708 created [08:34:05]Thread 3066453348 joined [08:34:05]Waiting for new connection... [08:34:05] Sock 7.Parse request [08:34:05]Sock 7.Check first char [08:34:05]Sock 7.First char is OK [08:34:05]request: POST /json_proto HTTP/1.0 [08:34:05]Method: POST [08:34:05]URL: /json_proto [08:34:05]Method is POST - this is cgi request [08:34:05]url: /json_proto [08:34:05]query_string will be loaded in cgi processing [08:34:05]execute_cgi json_proto POST (null) [08:34:05]execute_cgi path=json_proto method=POST [08:34:05]POST find Content-Length [08:34:05]Host: 172.17.32.68:8080 [08:34:05]Content-Length: 922 [08:34:05]Content-Type: application/json [08:34:05] [08:34:05]POST finish read [08:34:05]Found Content-Length = 922 [08:34:05]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242250", "tax_sys" : 0, "items" : [ { "code": "48741156", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B LD Blue", "price" : 125.00, "quantity" : 5.000, "sum" : 625.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000027340020", "name": "\u041F\u0430\u043A\u0435\u0442 \u0431\u0443\u043C\u0430\u0436\u043D\u044B\u0439 \u0432\u0438\u0442\u0430\u044F \u0440\u0443\u0447\u043A\u0430", "price" : 25.00, "quantity" : 1.000, "sum" : 25.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 650.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:34:05]execute_script... [08:34:05]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242250", "tax_sys" : 0, "items" : [ { "code": "48741156", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B LD Blue", "price" : 125.00, "quantity" : 5.000, "sum" : 625.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000027340020", "name": "\u041F\u0430\u043A\u0435\u0442 \u0431\u0443\u043C\u0430\u0436\u043D\u044B\u0439 \u0432\u0438\u0442\u0430\u044F \u0440\u0443\u0447\u043A\u0430", "price" : 25.00, "quantity" : 1.000, "sum" : 25.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 650.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:34:05]POST & json_proto [08:34:05]process_json_proto [08:34:05]json parsed OK: [08:34:05]protocol is kg_v1.0 [08:34:05]action value=close_receipt [08:34:05]process_action close_receipt [08:34:05]cmd_close_receipt [08:34:05]MH_GetDate [08:34:05]Write to MH i2c: F0 00 00 52 4F 90 [08:34:05]Write i2c OK [08:34:05]MH_I2C_Read... [08:34:05]Read from MH i2c: F0 [08:34:05]MH_I2C_Read... [08:34:05]Read from MH i2c: F0 09 00 [08:34:05]MH_I2C_Read... [08:34:05]Read from MH i2c: F0 09 00 52 4F 00 8C 13 F0 65 0A 64 6E 65 CE [08:34:05]GetLastDocTimeStamp 1710231949 [08:34:05]current date 1710232460 [08:34:05]FM_GetShiftState [08:34:05]SAM_PROTO_GetShiftState [08:34:05]wFMCommunicate request_size=4 [08:34:05]MH_SAM_APDU [08:34:05]CAPDU: 80 13 01 00 [08:34:05]Write to MH i2c: E2 08 00 53 4F 80 13 01 00 00 00 00 00 1F [08:34:05]Write i2c OK [08:34:05]MH_I2C_Read... [08:34:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:34:05]Read from MH i2c: E2 [08:34:05]MH_I2C_Read... [08:34:05]Read from MH i2c: E2 0E 00 [08:34:05]MH_I2C_Read... [08:34:05]Read from MH i2c: E2 0E 00 53 4F 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 4E [08:34:05]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [08:34:05]wFMCommunicate OK [08:34:05]SAM_PROTO_GetShiftState done [08:34:05]FM_GetShiftState done [08:34:05]opened in 1710202417 [08:34:05]opened+sec_in_day 1710288817 [08:34:05]quantity*price = 62500 [08:34:05]sum+1 = 62501 [08:34:05]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000027340020 Пакет бумажный витая ручка 1.000 * 25.00 = 25.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 650.00 НСП 1% : 5.75 НДС 12% : 69.02 Наличными: 650.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 15 12.03.2024 08:34 Смена: 314 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47337 ФПД: 243667785159127 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T083420&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47337&fm=243667785159127&tin=02508201610067®Number=0000000000092018&sum=65000 0 [08:34:06]StoreToDocumentArchive [08:34:06]shift 314 fd 47337 [08:34:06]save to /storage/0314/doc_00047337 [08:34:06]save last doc name /storage/0314/doc_00047337 to /storage/kkm_last_doc_name [08:34:06]save OK [08:34:06]Clear old archive folders... [08:34:06]ProcessDocumentItem done err = 0, tmpTLVsize=382 [08:34:06]tlvbuf is B6E514A0 [08:34:06]SAM_PROTO_ClearQueue [08:34:06]wFMCommunicate request_size=4 [08:34:06]MH_SAM_APDU [08:34:06]CAPDU: 80 09 00 00 [08:34:06]Write to MH i2c: E2 08 00 60 4F 80 09 00 00 00 00 00 00 21 [08:34:06]Write i2c OK [08:34:06]MH_I2C_Read... [08:34:06]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:34:06]Read from MH i2c: E2 [08:34:06]MH_I2C_Read... [08:34:06]Read from MH i2c: E2 03 00 [08:34:06]MH_I2C_Read... [08:34:06]Read from MH i2c: E2 03 00 60 4F 00 90 00 23 [08:34:06]RAPDU: 90 00 [08:34:06]wFMCommunicate OK [08:34:06]SAM_PROTO_ClearQueue done [08:34:06]KKMCreateOFDPacket [08:34:06]OFDProtocolAddRootSTLVToBuf [08:34:06]FM_MakeSignedData [08:34:06]FM_MakeSignedData [08:34:06]SAM_PROTO_SignData [08:34:06]wFMCommunicate request_size=4 [08:34:06]MH_SAM_APDU [08:34:06]CAPDU: 80 0D 01 02 [08:34:06]Write to MH i2c: E2 08 00 61 4F 80 0D 01 02 00 00 00 00 29 [08:34:06]Write i2c OK [08:34:06]MH_I2C_Read... [08:34:06]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:34:06]Read from MH i2c: E2 [08:34:06]MH_I2C_Read... [08:34:06]Read from MH i2c: E2 03 00 [08:34:06]MH_I2C_Read... [08:34:06]Read from MH i2c: E2 03 00 61 4F 00 90 00 24 [08:34:06]RAPDU: 90 00 [08:34:06]wFMCommunicate OK [08:34:06]wFMCommunicate request_size=255 [08:34:06]MH_SAM_APDU [08:34:06]CAPDU: 80 0D 02 02 FA 03 00 7E 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 88 13 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 24 F4 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 75 00 8A 04 0D 00 32 30 30 30 30 32 37 33 34 30 30 32 30 06 04 31 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 20 D0 B1 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B9 20 D0 B2 D0 B8 D1 82 D0 B0 D1 8F 20 D1 80 D1 83 D1 87 D0 BA D0 B0 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C4 09 00 00 00 00 13 04 06 00 C4 09 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 FD 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3F 02 [08:34:06]Write to MH i2c: E2 02 01 62 4F 80 0D 02 02 FA 00 03 00 7E 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 88 13 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 24 F4 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 75 00 8A 04 0D 00 32 30 30 30 30 32 37 33 34 30 30 32 30 06 04 31 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 20 D0 B1 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B9 20 D0 B2 D0 B8 D1 82 D0 B0 D1 8F 20 D1 80 D1 83 D1 87 D0 BA D0 B0 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C4 09 00 00 00 00 13 04 06 00 C4 09 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 FD 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3F 02 00 00 F2 [08:34:06]Write i2c OK [08:34:06]MH_I2C_Read... [08:34:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:34:07]Read from MH i2c: E2 [08:34:07]MH_I2C_Read... [08:34:07]Read from MH i2c: E2 03 00 [08:34:07]MH_I2C_Read... [08:34:07]Read from MH i2c: E2 03 00 62 4F 00 90 00 25 [08:34:07]RAPDU: 90 00 [08:34:07]wFMCommunicate OK [08:34:07]wFMCommunicate request_size=141 [08:34:07]MH_SAM_APDU [08:34:07]CAPDU: 80 0D 02 02 88 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F6 1A 00 00 00 00 07 04 06 00 E8 FD 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 8C 13 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 E9 B8 00 00 35 04 06 00 DD 9D 53 C7 11 D7 [08:34:07]Write to MH i2c: E2 90 00 63 4F 80 0D 02 02 88 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F6 1A 00 00 00 00 07 04 06 00 E8 FD 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 8C 13 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 E9 B8 00 00 35 04 06 00 DD 9D 53 C7 11 D7 00 00 B3 [08:34:07]Write i2c OK [08:34:07]MH_I2C_Read... [08:34:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:34:07]Read from MH i2c: E2 [08:34:07]MH_I2C_Read... [08:34:07]Read from MH i2c: E2 03 00 [08:34:07]MH_I2C_Read... [08:34:07]Read from MH i2c: E2 03 00 63 4F 00 90 00 26 [08:34:07]RAPDU: 90 00 [08:34:07]wFMCommunicate OK [08:34:07]wFMCommunicate request_size=4 [08:34:07]MH_SAM_APDU [08:34:07]CAPDU: 80 0D 03 02 [08:34:07]Write to MH i2c: E2 08 00 64 4F 80 0D 03 02 00 00 00 00 2E [08:34:07]Write i2c OK [08:34:07]MH_I2C_Read... [08:34:07]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:34:07]Read from MH i2c: E2 [08:34:07]MH_I2C_Read... [08:34:07]Read from MH i2c: E2 0B 00 [08:34:07]MH_I2C_Read... [08:34:07]Read from MH i2c: E2 0B 00 64 4F 00 87 E7 8F 54 0E 57 FB B1 90 00 91 [08:34:07]RAPDU: 87 E7 8F 54 0E 57 FB B1 90 00 [08:34:07]wFMCommunicate OK [08:34:07]SAM_PROTO_SignData done [08:34:07]FM_MakeSignedData done [08:34:07]CreateOFDProtocolMessage [08:34:07]wFMCommunicate request_size=4 [08:34:07]MH_SAM_APDU [08:34:07]CAPDU: 80 11 00 00 [08:34:07]Write to MH i2c: E2 08 00 65 4F 80 11 00 00 00 00 00 00 2E [08:34:07]Write i2c OK [08:34:07]MH_I2C_Read... [08:34:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:34:07]Read from MH i2c: E2 [08:34:07]MH_I2C_Read... [08:34:07]Read from MH i2c: E2 17 00 [08:34:07]MH_I2C_Read... [08:34:07]Read from MH i2c: E2 17 00 65 4F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 80 [08:34:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [08:34:07]wFMCommunicate OK [08:34:07]CreateOFDProtocolMessage done [08:34:07]OFDSenderStorePacket 47337 [08:34:07]StoreOFDPacket docnum=47337 [08:34:07]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 92 01 00 00 8A 3B 8A 01 48 73 5A 03 01 00 03 00 7E 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 88 13 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 24 F4 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 75 00 8A 04 0D 00 32 30 30 30 30 32 37 33 34 30 30 32 30 06 04 31 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 20 D0 B1 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B9 20 D0 B2 D0 B8 D1 82 D0 B0 D1 8F 20 D1 80 D1 83 D1 87 D0 BA D0 B0 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C4 09 00 00 00 00 13 04 06 00 C4 09 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 FD 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3F 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F6 1A 00 00 00 00 07 04 06 00 E8 FD 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 8C 13 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 E9 B8 00 00 35 04 06 00 DD 9D 53 C7 11 D7 87 E7 8F 54 0E 57 FB B1 [08:34:07]CheckFolder [08:34:07]dirname=/storage/ofd_packets [08:34:07]CheckFolder done [08:34:07]ProducePacketName [08:34:07]name=ofd_packets/00047337 [08:34:07]NVStorageSaveData ofd_packets/00047337 [08:34:07]File name is /storage/ofd_packets/00047337 [08:34:07]Write 432 bytes [08:34:07]NVStorageSaveData done [08:34:07]OFDSenderStorePacket done [08:34:07]KKMCreateOFDPacket done [08:34:07]NVStorageSaveData kkm_last_timestamp [08:34:07]File name is /storage/kkm_last_timestamp [08:34:07]Write 4 bytes [08:34:07]NVStorageSaveData done [08:34:07]ExternCall_PrintAddStr [08:34:07]wPrintStart [08:34:07]Write to MH i2c: 01 00 00 66 4F B5 [08:34:07]Write i2c OK [08:34:07]MH_I2C_Read... [08:34:07]Read from MH i2c: 01 [08:34:07]MH_I2C_Read... [08:34:07]Read from MH i2c: 01 07 00 [08:34:07]MH_I2C_Read... [08:34:07]Read from MH i2c: 01 07 00 66 4F 00 00 00 00 00 FF 0F CA [08:34:07]RasterBufferAndPrint [08:34:07]line Счет N : (3)242250 [08:34:07]line ИНН: 02508201610067 [08:34:07]line Контрольно-Кассовый Чек [08:34:07]line ПРОДАЖА [08:34:07]line Товар: 48741156 [08:34:07]line Сигареты LD Blue [08:34:07]line 5.000 * 125.00 [08:34:07]line = 625.00 [08:34:07]line НДС 12% НСП 1% [08:34:07]line > о реализуемом товаре [08:34:07]line Товар: 2000027340020 [08:34:07]line Пакет бумажный витая ручка [08:34:07]line 1.000 * 25.00 [08:34:07]line = 25.00 [08:34:07]line НДС 12% НСП 1% [08:34:07]line > о реализуемом товаре [08:34:07]line ИТОГО: 650.00 [08:34:07]line НСП 1% : 5.75 [08:34:07]line НДС 12% : 69.02 [08:34:07]line Наличными: 650.00 [08:34:07]line Безнал.: 0.00 [08:34:07]line Место: АЗС № 15 "Партнер Нефть" [08:34:07]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [08:34:07]line СНО: Общий режим [08:34:07]line Чек 15 12.03.2024 08:34 [08:34:07]line Смена: 314 ФФД: 1.0 [08:34:07]line ЗНМ: 0300000097 [08:34:07]line РНМ: 0000000000092018 [08:34:07]line Версия ККМ: 001 [08:34:07]line ФМ: 0000000000871816 [08:34:07]line ФД: 47337 [08:34:07]line ФПД: 243667785159127 [08:34:07]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T083420&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47337&fm=243667785159127&tin=02508201610067®Number=0000000000092018&sum=65000 [08:34:07]line 0 [08:34:07]OFD Sender: Processing packet 47337 [packets to send 8, broken 7] [08:34:07]ProducePacketName [08:34:07]name=ofd_packets/00047337 [08:34:07]OFD Sender: To server: pG, [08:34:07]CommunicateWithHost lk.salyk.kg:30040 [08:34:07]ConnectInit lk.salyk.kg [08:34:07]written 0, free lines is 4095 [08:34:07]Connected sock=11 [08:34: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 31 36 92 01 00 00 8A 3B 8A 01 48 73 5A 03 01 00 03 00 7E 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 88 13 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 24 F4 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 75 00 8A 04 0D 00 32 30 30 30 30 32 37 33 34 30 30 32 30 06 04 31 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 20 D0 B1 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B9 20 D0 B2 D0 B8 D1 82 D0 B0 D1 8F 20 D1 80 D1 83 D1 87 D0 BA D0 B0 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C4 09 00 00 00 00 13 04 06 00 C4 09 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 FD 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3F 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F6 1A 00 00 00 00 07 04 06 00 E8 FD 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 8C 13 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 E9 B8 00 00 35 04 06 00 DD 9D 53 C7 11 D7 87 E7 8F 54 0E 57 FB B1 [08:34: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 31 36 4F 00 00 00 D8 83 47 00 BE C5 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 31 36 10 04 04 00 E9 B8 00 00 F4 03 04 00 1F BE EF 65 B6 04 01 00 00 78 89 C9 31 E5 3A ED 2C [08:34:08]CommunicateWithHost err = 0 [08:34:08]CheckOFDResponse [08:34:08]1017 (14) - 77093643461234 [08:34:08]1041 (16) - 0000000000871816 [08:34:08]1040 (4) - 47337 [08:34:08]1012 (4) - 12.03.2024 02:29 [08:34:08]1206 (1) - 0 [08:34:08]OFD Sender: Remove packet 47337 [08:34:08]ProducePacketName [08:34:08]name=ofd_packets/00047337 [08:34:08]NVStorageDeleteData [08:34:08]Write to MH i2c: 01 00 00 94 4F E3 [08:34:08]Write i2c OK [08:34:08]MH_I2C_Read... [08:34:08]Read from MH i2c: 01 [08:34:08]MH_I2C_Read... [08:34:08]Read from MH i2c: 01 07 00 [08:34:08]MH_I2C_Read... [08:34:08]Read from MH i2c: 01 07 00 94 4F 00 00 00 00 00 95 0C 8B [08:34:08]RasterBufferAndPrint [08:34:08]line [08:34:08]line [08:34:08]line [08:34:08]line [08:34:08]line [08:34:08]written 0, free lines is 3227 [08:34:08]MH_Cut [08:34:08]Write to MH i2c: D1 01 00 9B 4F 01 BC [08:34:08]Write i2c OK [08:34:08]MH_I2C_Read... [08:34:08]Read from MH i2c: D1 [08:34:08]MH_I2C_Read... [08:34:08]Read from MH i2c: D1 01 00 [08:34:08]MH_I2C_Read... [08:34:08]Read from MH i2c: D1 01 00 9B 4F 00 BB [08:34:08]Write to MH i2c: 01 00 00 9C 4F EB [08:34:08]Write i2c OK [08:34:08]MH_I2C_Read... [08:34:08]OFD Sender: No OFD packet to send [08:34:09]*** Cut start [08:34:09]*** Purtial cut [08:34:09]*** Stage 1: CUTSNS_PIN = 1 [08:34:09]Read from MH i2c: 01 [08:34:09]MH_I2C_Read... [08:34:09]*** Stop cut motor [08:34:09]*** Cut end [08:34:09]Read from MH i2c: 01 07 00 [08:34:09]MH_I2C_Read... [08:34:09]Read from MH i2c: 01 07 00 9C 4F 00 00 00 00 00 FF 0F 00 [08:34:09]process_action close_receipt done [08:34:09]requested_data is exist [08:34:09]produce_requested_data [08:34:09]requested_item fm.sn is exist - process it [08:34:09]wFMCommunicate request_size=4 [08:34:09]MH_SAM_APDU [08:34:09]CAPDU: 80 11 00 00 [08:34:09]Write to MH i2c: E2 08 00 9D 4F 80 11 00 00 00 00 00 00 66 [08:34:09]Write i2c OK [08:34:09]MH_I2C_Read... [08:34:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:34:09]Read from MH i2c: E2 [08:34:09]MH_I2C_Read... [08:34:09]Read from MH i2c: E2 17 00 [08:34:09]MH_I2C_Read... [08:34:09]Read from MH i2c: E2 17 00 9D 4F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 B8 [08:34:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [08:34:09]wFMCommunicate OK [08:34:09]requested_item fd.num is exist - process it [08:34:09]SAM_PROTO_GetFieldsCounters [08:34:09]wFMCommunicate request_size=4 [08:34:09]MH_SAM_APDU [08:34:09]CAPDU: 80 13 00 00 [08:34:09]Write to MH i2c: E2 08 00 9E 4F 80 13 00 00 00 00 00 00 69 [08:34:09]Write i2c OK [08:34:09]MH_I2C_Read... [08:34:09]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:34:09]Read from MH i2c: E2 [08:34:09]MH_I2C_Read... [08:34:09]Read from MH i2c: E2 62 00 [08:34:09]MH_I2C_Read... [08:34:09]Read from MH i2c: E2 62 00 9E 4F 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 E9 B8 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 0F 00 00 00 5E 04 04 00 0F 00 00 00 57 04 04 00 10 00 00 00 19 04 04 00 00 00 00 00 90 00 8D [08:34:09]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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 E9 B8 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 0F 00 00 00 5E 04 04 00 0F 00 00 00 57 04 04 00 10 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:34:09]wFMCommunicate OK [08:34:09]SAM_PROTO_GetFieldsCounters done [08:34:09]requested_item shift.num is exist - process it [08:34:09]requested_item shift.opened is exist - process it [08:34:09]req_shift_opened [08:34:09]FM_GetShiftState [08:34:09]SAM_PROTO_GetShiftState [08:34:09]wFMCommunicate request_size=4 [08:34:09]MH_SAM_APDU [08:34:09]CAPDU: 80 13 01 00 [08:34:09]Write to MH i2c: E2 08 00 9F 4F 80 13 01 00 00 00 00 00 6B [08:34:09]Write i2c OK [08:34:09]MH_I2C_Read... [08:34:09]Read from MH i2c: E2 [08:34:09]MH_I2C_Read... [08:34:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:34:09]Read from MH i2c: E2 0E 00 [08:34:09]MH_I2C_Read... [08:34:09]Read from MH i2c: E2 0E 00 9F 4F 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 9A [08:34:09]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [08:34:09]wFMCommunicate OK [08:34:09]SAM_PROTO_GetShiftState done [08:34:09]FM_GetShiftState done [08:34:09]req_shift_opened done [08:34:09]requested_item shift.open_date is exist - process it [08:34:09]req_shift_open_date [08:34:09]req_shift_open_date done [08:34:09]produce_requested_data done [08:34:09]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47337,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [08:34:09]process_action_free close_receipt [08:34:09]json_value_free [08:34:09]json_value_free done [08:34:09]process_json_proto returns [08:34:09]Send response to host [08:34:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47337,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [08:34:09]free response buf [08:34:09]execute_script done [08:34:09]execute_script returns [08:34:09]free content buf [08:34:09]Sock 7.Close socket [08:34:09]Sock 7.Thread stoped [08:34:13]OFD Sender: No OFD packet to send [08:34:18]OFD Sender: No OFD packet to send [08:34:23]OFD Sender: No OFD packet to send [08:34:28]OFD Sender: No OFD packet to send [08:34:33]OFD Sender: No OFD packet to send [08:34:38]OFD Sender: No OFD packet to send [08:34:43]OFD Sender: No OFD packet to send [08:34:48]OFD Sender: No OFD packet to send [08:34:53]OFD Sender: No OFD packet to send [08:34:58]OFD Sender: No OFD packet to send [08:35:03]OFD Sender: No OFD packet to send [08:35:08]OFD Sender: No OFD packet to send [08:35:13]OFD Sender: No OFD packet to send [08:35:18]OFD Sender: No OFD packet to send [08:35:23]OFD Sender: No OFD packet to send [08:35:28]OFD Sender: No OFD packet to send [08:35:33]OFD Sender: No OFD packet to send [08:35:38]OFD Sender: No OFD packet to send [08:35:43]OFD Sender: No OFD packet to send [08:35:48]OFD Sender: No OFD packet to send [08:35:53]OFD Sender: No OFD packet to send [08:35:58]OFD Sender: No OFD packet to send [08:36:03]OFD Sender: No OFD packet to send [08:36:08]OFD Sender: No OFD packet to send [08:36:13]OFD Sender: No OFD packet to send [08:36:18]OFD Sender: No OFD packet to send [08:36:23]OFD Sender: No OFD packet to send [08:36:28]OFD Sender: No OFD packet to send [08:36:33]OFD Sender: No OFD packet to send [08:36:38]OFD Sender: No OFD packet to send [08:36:43]OFD Sender: No OFD packet to send [08:36:48]OFD Sender: No OFD packet to send [08:36:53]OFD Sender: No OFD packet to send [08:36:58]OFD Sender: No OFD packet to send [08:37:03]OFD Sender: No OFD packet to send [08:37:08]OFD Sender: No OFD packet to send [08:37:13]OFD Sender: No OFD packet to send [08:37:18]OFD Sender: No OFD packet to send [08:37:23]OFD Sender: No OFD packet to send [08:37:28]OFD Sender: No OFD packet to send [08:37:33]OFD Sender: No OFD packet to send [08:37:38]OFD Sender: No OFD packet to send [08:37:43]OFD Sender: No OFD packet to send [08:37:48]OFD Sender: No OFD packet to send [08:37:53]OFD Sender: No OFD packet to send [08:37:58]OFD Sender: No OFD packet to send [08:38:03]OFD Sender: No OFD packet to send [08:38:08]OFD Sender: No OFD packet to send [08:38:13]OFD Sender: No OFD packet to send [08:38:18]OFD Sender: No OFD packet to send [08:38:23]OFD Sender: No OFD packet to send [08:38:28]OFD Sender: No OFD packet to send [08:38:33]OFD Sender: No OFD packet to send [08:38:38]OFD Sender: No OFD packet to send [08:38:43]OFD Sender: No OFD packet to send [08:38:48]OFD Sender: No OFD packet to send [08:38:53]OFD Sender: No OFD packet to send [08:38:58]OFD Sender: No OFD packet to send [08:39:03]OFD Sender: No OFD packet to send [08:39:08]OFD Sender: No OFD packet to send [08:39:13]OFD Sender: No OFD packet to send [08:39:18]OFD Sender: No OFD packet to send [08:39:23]OFD Sender: No OFD packet to send [08:39:28]OFD Sender: No OFD packet to send [08:39:33]OFD Sender: No OFD packet to send [08:39:38]OFD Sender: No OFD packet to send [08:39:43]OFD Sender: No OFD packet to send [08:39:48]OFD Sender: No OFD packet to send [08:39:53]OFD Sender: No OFD packet to send [08:39:58]OFD Sender: No OFD packet to send [08:40:03]OFD Sender: No OFD packet to send [08:40:08]OFD Sender: No OFD packet to send [08:40:13]OFD Sender: No OFD packet to send [08:40:18]OFD Sender: No OFD packet to send [08:40:23]OFD Sender: No OFD packet to send [08:40:28]OFD Sender: No OFD packet to send [08:40:33]OFD Sender: No OFD packet to send [08:40:38]OFD Sender: No OFD packet to send [08:40:43]OFD Sender: No OFD packet to send [08:40:48]OFD Sender: No OFD packet to send [08:40:53]OFD Sender: No OFD packet to send [08:40:58]OFD Sender: No OFD packet to send [08:41:03]OFD Sender: No OFD packet to send [08:41:08]OFD Sender: No OFD packet to send [08:41:13]OFD Sender: No OFD packet to send [08:41:19]OFD Sender: No OFD packet to send [08:41:24]OFD Sender: No OFD packet to send [08:41:29]OFD Sender: No OFD packet to send [08:41:34]OFD Sender: No OFD packet to send [08:41:39]OFD Sender: No OFD packet to send [08:41:44]OFD Sender: No OFD packet to send [08:41:49]OFD Sender: No OFD packet to send [08:41:54]OFD Sender: No OFD packet to send [08:41:59]OFD Sender: No OFD packet to send [08:42:04]OFD Sender: No OFD packet to send [08:42:09]OFD Sender: No OFD packet to send [08:42:14]OFD Sender: No OFD packet to send [08:42:19]OFD Sender: No OFD packet to send [08:42:24]OFD Sender: No OFD packet to send [08:42:29]OFD Sender: No OFD packet to send [08:42:34]OFD Sender: No OFD packet to send [08:42:39]OFD Sender: No OFD packet to send [08:42:44]OFD Sender: No OFD packet to send [08:42:49]OFD Sender: No OFD packet to send [08:42:54]OFD Sender: No OFD packet to send [08:42:59]OFD Sender: No OFD packet to send [08:43:04]OFD Sender: No OFD packet to send [08:43:09]OFD Sender: No OFD packet to send [08:43:14]OFD Sender: No OFD packet to send [08:43:19]OFD Sender: No OFD packet to send [08:43:24]OFD Sender: No OFD packet to send [08:43:29]OFD Sender: No OFD packet to send [08:43:34]OFD Sender: No OFD packet to send [08:43:39]OFD Sender: No OFD packet to send [08:43:44]OFD Sender: No OFD packet to send [08:43:49]OFD Sender: No OFD packet to send [08:43:54]OFD Sender: No OFD packet to send [08:43:59]OFD Sender: No OFD packet to send [08:44:04]OFD Sender: No OFD packet to send [08:44:09]OFD Sender: No OFD packet to send [08:44:14]OFD Sender: No OFD packet to send [08:44:19]OFD Sender: No OFD packet to send [08:44:24]OFD Sender: No OFD packet to send [08:44:29]OFD Sender: No OFD packet to send [08:44:34]OFD Sender: No OFD packet to send [08:44:39]OFD Sender: No OFD packet to send [08:44:44]OFD Sender: No OFD packet to send [08:44:49]OFD Sender: No OFD packet to send [08:44:54]OFD Sender: No OFD packet to send [08:44:59]OFD Sender: No OFD packet to send [08:45:04]OFD Sender: No OFD packet to send [08:45:09]OFD Sender: No OFD packet to send [08:45:14]OFD Sender: No OFD packet to send [08:45:19]OFD Sender: No OFD packet to send [08:45:24]OFD Sender: No OFD packet to send [08:45:29]OFD Sender: No OFD packet to send [08:45:34]OFD Sender: No OFD packet to send [08:45:39]OFD Sender: No OFD packet to send [08:45:44]OFD Sender: No OFD packet to send [08:45:49]OFD Sender: No OFD packet to send [08:45:54]OFD Sender: No OFD packet to send [08:45:59]OFD Sender: No OFD packet to send [08:46:04]OFD Sender: No OFD packet to send [08:46:09]OFD Sender: No OFD packet to send [08:46:14]OFD Sender: No OFD packet to send [08:46:19]OFD Sender: No OFD packet to send [08:46:24]OFD Sender: No OFD packet to send [08:46:29]OFD Sender: No OFD packet to send [08:46:34]OFD Sender: No OFD packet to send [08:46:39]OFD Sender: No OFD packet to send [08:46:44]OFD Sender: No OFD packet to send [08:46:49]OFD Sender: No OFD packet to send [08:46:54]OFD Sender: No OFD packet to send [08:46:59]OFD Sender: No OFD packet to send [08:47:04]OFD Sender: No OFD packet to send [08:47:09]OFD Sender: No OFD packet to send [08:47:14]OFD Sender: No OFD packet to send [08:47:19]OFD Sender: No OFD packet to send [08:47:24]OFD Sender: No OFD packet to send [08:47:29]OFD Sender: No OFD packet to send [08:47:34]OFD Sender: No OFD packet to send [08:47:39]OFD Sender: No OFD packet to send [08:47:44]OFD Sender: No OFD packet to send [08:47:49]OFD Sender: No OFD packet to send [08:47:54]OFD Sender: No OFD packet to send [08:47:59]OFD Sender: No OFD packet to send [08:48:04]OFD Sender: No OFD packet to send [08:48:09]OFD Sender: No OFD packet to send [08:48:14]OFD Sender: No OFD packet to send [08:48:19]OFD Sender: No OFD packet to send [08:48:24]OFD Sender: No OFD packet to send [08:48:29]OFD Sender: No OFD packet to send [08:48:34]OFD Sender: No OFD packet to send [08:48:34]accept exits with 9 [08:48:34]New connection [08:48:34]New thread 3066453348 created [08:48:34]Thread 3066596708 joined [08:48:34]Waiting for new connection... [08:48:34] Sock 9.Parse request [08:48:34]Sock 9.Check first char [08:48:34]Sock 9.First char is OK [08:48:34]request: POST /json_proto HTTP/1.0 [08:48:34]Method: POST [08:48:34]URL: /json_proto [08:48:34]Method is POST - this is cgi request [08:48:34]url: /json_proto [08:48:34]query_string will be loaded in cgi processing [08:48:34]execute_cgi json_proto POST (null) [08:48:34]execute_cgi path=json_proto method=POST [08:48:34]POST find Content-Length [08:48:34]Host: 172.17.32.68:8080 [08:48:34]Content-Length: 215 [08:48:34]Content-Type: application/json [08:48:34] [08:48:34]POST finish read [08:48:34]Found Content-Length = 215 [08:48:34]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:48:34]execute_script... [08:48:34]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:48:34]POST & json_proto [08:48:34]process_json_proto [08:48:34]json parsed OK: [08:48:34]protocol is kg_v1.0 [08:48:34]action value=get_value [08:48:34]process_action get_value [08:48:34]cmd_get_value [08:48:34]process_action get_value done [08:48:34]requested_data is exist [08:48:34]produce_requested_data [08:48:34]requested_item kkm.sn is exist - process it [08:48:34]requested_item kkm.ver is exist - process it [08:48:34]requested_item fm.sn is exist - process it [08:48:34]wFMCommunicate request_size=4 [08:48:34]MH_SAM_APDU [08:48:34]CAPDU: 80 11 00 00 [08:48:34]Write to MH i2c: E2 08 00 A0 4F 80 11 00 00 00 00 00 00 69 [08:48:34]Write i2c OK [08:48:34]MH_I2C_Read... [08:48:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:48:34]Read from MH i2c: E2 [08:48:34]MH_I2C_Read... [08:48:34]Read from MH i2c: E2 17 00 [08:48:34]MH_I2C_Read... [08:48:34]Read from MH i2c: E2 17 00 A0 4F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 BB [08:48:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [08:48:34]wFMCommunicate OK [08:48:34]requested_item fd.num is exist - process it [08:48:34]SAM_PROTO_GetFieldsCounters [08:48:34]wFMCommunicate request_size=4 [08:48:34]MH_SAM_APDU [08:48:34]CAPDU: 80 13 00 00 [08:48:34]Write to MH i2c: E2 08 00 A1 4F 80 13 00 00 00 00 00 00 6C [08:48:34]Write i2c OK [08:48:34]MH_I2C_Read... [08:48:34]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:48:34]Read from MH i2c: E2 [08:48:34]MH_I2C_Read... [08:48:34]Read from MH i2c: E2 62 00 [08:48:34]MH_I2C_Read... [08:48:34]Read from MH i2c: E2 62 00 A1 4F 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 E9 B8 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 0F 00 00 00 5E 04 04 00 0F 00 00 00 57 04 04 00 10 00 00 00 19 04 04 00 00 00 00 00 90 00 90 [08:48: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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 E9 B8 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 0F 00 00 00 5E 04 04 00 0F 00 00 00 57 04 04 00 10 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:48:34]wFMCommunicate OK [08:48:34]SAM_PROTO_GetFieldsCounters done [08:48:34]requested_item shift.num is exist - process it [08:48:34]requested_item shift.opened is exist - process it [08:48:34]req_shift_opened [08:48:34]FM_GetShiftState [08:48:34]SAM_PROTO_GetShiftState [08:48:34]wFMCommunicate request_size=4 [08:48:34]MH_SAM_APDU [08:48:34]CAPDU: 80 13 01 00 [08:48:34]Write to MH i2c: E2 08 00 A2 4F 80 13 01 00 00 00 00 00 6E [08:48:34]Write i2c OK [08:48:34]MH_I2C_Read... [08:48:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:48:34]Read from MH i2c: E2 [08:48:34]MH_I2C_Read... [08:48:34]Read from MH i2c: E2 0E 00 [08:48:34]MH_I2C_Read... [08:48:34]Read from MH i2c: E2 0E 00 A2 4F 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 9D [08:48:34]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [08:48:34]wFMCommunicate OK [08:48:34]SAM_PROTO_GetShiftState done [08:48:34]FM_GetShiftState done [08:48:34]req_shift_opened done [08:48:34]requested_item shift.open_date is exist - process it [08:48:34]req_shift_open_date [08:48:34]req_shift_open_date done [08:48:34]produce_requested_data done [08:48:34]produce_requested_data return {"kkm.sn":"0300000097","kkm.ver":"001","fm.sn":"0000000000871816","fd.num":47337,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [08:48:34]process_action_free get_value [08:48:34]json_value_free [08:48:34]json_value_free done [08:48:34]process_json_proto returns [08:48:34]Send response to host [08:48:34]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000097","kkm.ver":"001","fm.sn":"0000000000871816","fd.num":47337,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [08:48:34]free response buf [08:48:34]execute_script done [08:48:34]execute_script returns [08:48:34]free content buf [08:48:34]Sock 9.Close socket [08:48:34]Sock 9.Thread stoped [08:48:34]accept exits with 7 [08:48:34]New connection [08:48:34]New thread 3066596708 created [08:48:34]Thread 3066453348 joined [08:48:34]Waiting for new connection... [08:48:34] Sock 7.Parse request [08:48:34]Sock 7.Check first char [08:48:34]Sock 7.First char is OK [08:48:34]request: POST /json_proto HTTP/1.0 [08:48:34]Method: POST [08:48:34]URL: /json_proto [08:48:34]Method is POST - this is cgi request [08:48:34]url: /json_proto [08:48:34]query_string will be loaded in cgi processing [08:48:34]execute_cgi json_proto POST (null) [08:48:34]execute_cgi path=json_proto method=POST [08:48:34]POST find Content-Length [08:48:34]Host: 172.17.32.68:8080 [08:48:34]Content-Length: 331 [08:48:34]Content-Type: application/json [08:48:34] [08:48:34]POST finish read [08:48:34]Found Content-Length = 331 [08:48:34]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [08:48:34]execute_script... [08:48:35]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [08:48:35]POST & json_proto [08:48:35]process_json_proto [08:48:35]json parsed OK: [08:48:35]protocol is kg_v1.0 [08:48:35]action value=get_value [08:48:35]process_action get_value [08:48:35]cmd_get_value [08:48:35]process_action get_value done [08:48:35]requested_data is exist [08:48:35]produce_requested_data [08:48:35]requested_item fm.sale.total is exist - process it [08:48:35]SAM_PROTO_GetFMData [08:48:35]wFMCommunicate request_size=4 [08:48:35]MH_SAM_APDU [08:48:35]CAPDU: 80 13 03 00 [08:48:35]Write to MH i2c: E2 08 00 A3 4F 80 13 03 00 00 00 00 00 71 [08:48:35]Write i2c OK [08:48:35]MH_I2C_Read... [08:48:35]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [08:48:35]Read from MH i2c: E2 [08:48:35]MH_I2C_Read... [08:48:35]Read from MH i2c: E2 FD 00 [08:48:35]MH_I2C_Read... [08:48:35]Read from MH i2c: E2 FD 00 A3 4F 00 C1 04 85 04 BD 04 6E 04 04 00 74 B6 00 00 69 04 A0 00 6F 04 04 00 4F B5 00 00 B1 04 04 00 B7 0D 07 30 70 04 04 00 30 2E 1A 28 72 04 04 00 87 DF EC 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 42 A4 19 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 D8 B9 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 25 01 00 00 B1 04 03 00 58 DF 6D 70 04 03 00 7C D8 69 72 04 03 00 DC 06 04 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 0B AB 0B EF 03 09 00 F6 03 90 00 CB [08:48:35]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 74 B6 00 00 69 04 A0 00 6F 04 04 00 4F B5 00 00 B1 04 04 00 B7 0D 07 30 70 04 04 00 30 2E 1A 28 72 04 04 00 87 DF EC 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 42 A4 19 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 D8 B9 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 25 01 00 00 B1 04 03 00 58 DF 6D 70 04 03 00 7C D8 69 72 04 03 00 DC 06 04 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 0B AB 0B EF 03 09 00 F6 03 90 00 [08:48:35]wFMCommunicate OK [08:48:35]wFMCommunicate request_size=4 [08:48:35]MH_SAM_APDU [08:48:35]CAPDU: 80 17 00 00 [08:48:35]Write to MH i2c: E2 08 00 A4 4F 80 17 00 00 00 00 00 00 73 [08:48:35]Write i2c OK [08:48:35]MH_I2C_Read... [08:48:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:48:35]Read from MH i2c: E2 [08:48:35]MH_I2C_Read... [08:48:35]Read from MH i2c: E2 FD 00 [08:48:35]MH_I2C_Read... [08:48:35]Read from MH i2c: E2 FD 00 A4 4F 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 C7 F8 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 61 [08:48:35]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 C7 F8 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [08:48:35]wFMCommunicate OK [08:48:35]wFMCommunicate request_size=4 [08:48:35]MH_SAM_APDU [08:48:35]CAPDU: 80 17 00 00 [08:48:35]Write to MH i2c: E2 08 00 A5 4F 80 17 00 00 00 00 00 00 74 [08:48:35]Write i2c OK [08:48:35]MH_I2C_Read... [08:48:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:48:36]Read from MH i2c: E2 [08:48:36]MH_I2C_Read... [08:48:36]Read from MH i2c: E2 FD 00 [08:48:36]MH_I2C_Read... [08:48:36]Read from MH i2c: E2 FD 00 A5 4F 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 14 [08:48:36]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [08:48:36]wFMCommunicate OK [08:48:36]wFMCommunicate request_size=4 [08:48:36]MH_SAM_APDU [08:48:36]CAPDU: 80 17 00 00 [08:48:36]Write to MH i2c: E2 08 00 A6 4F 80 17 00 00 00 00 00 00 75 [08:48:36]Write i2c OK [08:48:36]MH_I2C_Read... [08:48:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:48:36]Read from MH i2c: E2 [08:48:36]MH_I2C_Read... [08:48:36]Read from MH i2c: E2 FD 00 [08:48:36]MH_I2C_Read... [08:48:36]Read from MH i2c: E2 FD 00 A6 4F 00 03 01 00 04 F7 03 00 00 EF 03 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 90 00 FA [08:48:36]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [08:48:36]wFMCommunicate OK [08:48:36]wFMCommunicate request_size=4 [08:48:36]MH_SAM_APDU [08:48:36]CAPDU: 80 17 00 00 [08:48:36]Write to MH i2c: E2 08 00 A7 4F 80 17 00 00 00 00 00 00 76 [08:48:36]Write i2c OK [08:48:36]MH_I2C_Read... [08:48:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [08:48:36]Read from MH i2c: E2 [08:48:36]MH_I2C_Read... [08:48:36]Read from MH i2c: E2 DE 00 [08:48:36]MH_I2C_Read... [08:48:36]Read from MH i2c: E2 DE 00 A7 4F 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 55 [08:48:36]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [08:48:36]wFMCommunicate OK [08:48:36]SAM_PROTO_GetFMData done [08:48:36]requested_item fm.sale_refund.total is exist - process it [08:48:36]requested_item fm.buy.total is exist - process it [08:48:36]requested_item shift.sale.total is exist - process it [08:48:36]SAM_PROTO_GetShiftData [08:48:36]wFMCommunicate request_size=4 [08:48:36]MH_SAM_APDU [08:48:36]CAPDU: 80 13 02 00 [08:48:36]Write to MH i2c: E2 08 00 A8 4F 80 13 02 00 00 00 00 00 75 [08:48:36]Write i2c OK [08:48:36]MH_I2C_Read... [08:48:37]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [08:48:37]Read from MH i2c: E2 [08:48:37]MH_I2C_Read... [08:48:37]Read from MH i2c: E2 FD 00 [08:48:37]MH_I2C_Read... [08:48:37]Read from MH i2c: E2 FD 00 A8 4F 00 AC 04 AA 04 A8 04 6E 04 04 00 0F 00 00 00 69 04 99 00 6F 04 04 00 0F 00 00 00 B1 04 03 00 24 79 08 70 04 03 00 68 44 08 72 04 02 00 BC 34 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 5D E6 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 2E 13 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 1A [08:48:37]RAPDU: AC 04 AA 04 A8 04 6E 04 04 00 0F 00 00 00 69 04 99 00 6F 04 04 00 0F 00 00 00 B1 04 03 00 24 79 08 70 04 03 00 68 44 08 72 04 02 00 BC 34 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 5D E6 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 2E 13 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [08:48:37]wFMCommunicate OK [08:48:37]wFMCommunicate request_size=4 [08:48:37]MH_SAM_APDU [08:48:37]CAPDU: 80 17 00 00 [08:48:37]Write to MH i2c: E2 08 00 A9 4F 80 17 00 00 00 00 00 00 78 [08:48:37]Write i2c OK [08:48:37]MH_I2C_Read... [08:48:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:48:37]Read from MH i2c: E2 [08:48:37]MH_I2C_Read... [08:48:37]Read from MH i2c: E2 FD 00 [08:48:37]MH_I2C_Read... [08:48:37]Read from MH i2c: E2 FD 00 A9 4F 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 8D [08:48:37]RAPDU: 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [08:48:37]wFMCommunicate OK [08:48:37]wFMCommunicate request_size=4 [08:48:37]MH_SAM_APDU [08:48:37]CAPDU: 80 17 00 00 [08:48:37]Write to MH i2c: E2 08 00 AA 4F 80 17 00 00 00 00 00 00 79 [08:48:37]Write i2c OK [08:48:37]MH_I2C_Read... [08:48:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:48:37]Read from MH i2c: E2 [08:48:37]MH_I2C_Read... [08:48:37]Read from MH i2c: E2 FD 00 [08:48:37]MH_I2C_Read... [08:48:37]Read from MH i2c: E2 FD 00 AA 4F 00 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 3A [08:48:37]RAPDU: 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [08:48:37]wFMCommunicate OK [08:48:37]wFMCommunicate request_size=4 [08:48:37]MH_SAM_APDU [08:48:37]CAPDU: 80 17 00 00 [08:48:37]Write to MH i2c: E2 08 00 AB 4F 80 17 00 00 00 00 00 00 7A [08:48:37]Write i2c OK [08:48:37]MH_I2C_Read... [08:48:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:48:37]Read from MH i2c: E2 [08:48:37]MH_I2C_Read... [08:48:37]Read from MH i2c: E2 FD 00 [08:48:37]MH_I2C_Read... [08:48:37]Read from MH i2c: E2 FD 00 AB 4F 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 90 00 EF [08:48:37]RAPDU: 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 90 00 [08:48:38]wFMCommunicate OK [08:48:38]wFMCommunicate request_size=4 [08:48:38]MH_SAM_APDU [08:48:38]CAPDU: 80 17 00 00 [08:48:38]Write to MH i2c: E2 08 00 AC 4F 80 17 00 00 00 00 00 00 7B [08:48:38]Write i2c OK [08:48:38]MH_I2C_Read... [08:48:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 198! [08:48:38]Read from MH i2c: E2 [08:48:38]MH_I2C_Read... [08:48:38]Read from MH i2c: E2 C9 00 [08:48:38]MH_I2C_Read... [08:48:38]Read from MH i2c: E2 C9 00 AC 4F 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 5F [08:48:38]RAPDU: 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [08:48:38]wFMCommunicate OK [08:48:38]SAM_PROTO_GetShiftData done [08:48:38]requested_item shift.sale.total_cash is exist - process it [08:48:38]requested_item shift.sale_refund.total is exist - process it [08:48:38]requested_item shift.sale_refund.total_cash is exist - process it [08:48:38]requested_item shift.buy.total is exist - process it [08:48:38]requested_item shift.buy.total_cash is exist - process it [08:48:38]produce_requested_data done [08:48:38]produce_requested_data return {"fm.sale.total":8057686.31,"fm.sale_refund.total":72006.00,"fm.buy.total":0.00,"shift.sale.total":5553.00,"shift.sale.total_cash":5418.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [08:48:38]process_action_free get_value [08:48:38]json_value_free [08:48:38]json_value_free done [08:48:38]process_json_proto returns [08:48:38]Send response to host [08:48:38]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8057686.31,"fm.sale_refund.total":72006.00,"fm.buy.total":0.00,"shift.sale.total":5553.00,"shift.sale.total_cash":5418.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [08:48:38]free response buf [08:48:38]execute_script done [08:48:38]execute_script returns [08:48:38]free content buf [08:48:38]Sock 7.Close socket [08:48:38]Sock 7.Thread stoped [08:48:38]accept exits with 9 [08:48:38]New connection [08:48:38]New thread 3066453348 created [08:48:38]Thread 3066596708 joined [08:48:38]Waiting for new connection... [08:48:38] Sock 9.Parse request [08:48:38]Sock 9.Check first char [08:48:38]Sock 9.First char is OK [08:48:38]request: POST /json_proto HTTP/1.0 [08:48:38]Method: POST [08:48:38]URL: /json_proto [08:48:38]Method is POST - this is cgi request [08:48:38]url: /json_proto [08:48:38]query_string will be loaded in cgi processing [08:48:38]execute_cgi json_proto POST (null) [08:48:38]execute_cgi path=json_proto method=POST [08:48:38]POST find Content-Length [08:48:38]Host: 172.17.32.68:8080 [08:48:38]Content-Length: 331 [08:48:38]Content-Type: application/json [08:48:38] [08:48:38]POST finish read [08:48:38]Found Content-Length = 331 [08:48:38]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [08:48:38]execute_script... [08:48:38]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [08:48:38]POST & json_proto [08:48:38]process_json_proto [08:48:38]json parsed OK: [08:48:38]protocol is kg_v1.0 [08:48:38]action value=get_value [08:48:38]process_action get_value [08:48:38]cmd_get_value [08:48:38]process_action get_value done [08:48:38]requested_data is exist [08:48:38]produce_requested_data [08:48:38]requested_item fm.sale.total is exist - process it [08:48:38]SAM_PROTO_GetFMData [08:48:38]wFMCommunicate request_size=4 [08:48:38]MH_SAM_APDU [08:48:38]CAPDU: 80 13 03 00 [08:48:38]Write to MH i2c: E2 08 00 AD 4F 80 13 03 00 00 00 00 00 7B [08:48:38]Write i2c OK [08:48:38]MH_I2C_Read... [08:48:38]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [08:48:38]Read from MH i2c: E2 [08:48:38]MH_I2C_Read... [08:48:38]Read from MH i2c: E2 FD 00 [08:48:38]MH_I2C_Read... [08:48:38]Read from MH i2c: E2 FD 00 AD 4F 00 C1 04 85 04 BD 04 6E 04 04 00 74 B6 00 00 69 04 A0 00 6F 04 04 00 4F B5 00 00 B1 04 04 00 B7 0D 07 30 70 04 04 00 30 2E 1A 28 72 04 04 00 87 DF EC 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 42 A4 19 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 D8 B9 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 25 01 00 00 B1 04 03 00 58 DF 6D 70 04 03 00 7C D8 69 72 04 03 00 DC 06 04 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 0B AB 0B EF 03 09 00 F6 03 90 00 D5 [08:48:38]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 74 B6 00 00 69 04 A0 00 6F 04 04 00 4F B5 00 00 B1 04 04 00 B7 0D 07 30 70 04 04 00 30 2E 1A 28 72 04 04 00 87 DF EC 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 42 A4 19 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 D8 B9 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 25 01 00 00 B1 04 03 00 58 DF 6D 70 04 03 00 7C D8 69 72 04 03 00 DC 06 04 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 0B AB 0B EF 03 09 00 F6 03 90 00 [08:48:39]wFMCommunicate OK [08:48:39]wFMCommunicate request_size=4 [08:48:39]MH_SAM_APDU [08:48:39]CAPDU: 80 17 00 00 [08:48:39]Write to MH i2c: E2 08 00 AE 4F 80 17 00 00 00 00 00 00 7D [08:48:39]Write i2c OK [08:48:39]MH_I2C_Read... [08:48:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:48:39]Read from MH i2c: E2 [08:48:39]MH_I2C_Read... [08:48:39]Read from MH i2c: E2 FD 00 [08:48:39]MH_I2C_Read... [08:48:39]Read from MH i2c: E2 FD 00 AE 4F 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 C7 F8 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 6B [08:48:39]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 C7 F8 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [08:48:39]wFMCommunicate OK [08:48:39]wFMCommunicate request_size=4 [08:48:39]MH_SAM_APDU [08:48:39]CAPDU: 80 17 00 00 [08:48:39]Write to MH i2c: E2 08 00 AF 4F 80 17 00 00 00 00 00 00 7E [08:48:39]Write i2c OK [08:48:39]MH_I2C_Read... [08:48:39]OFD Sender: No OFD packet to send [08:48:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:48:39]Read from MH i2c: E2 [08:48:39]MH_I2C_Read... [08:48:39]Read from MH i2c: E2 FD 00 [08:48:39]MH_I2C_Read... [08:48:39]Read from MH i2c: E2 FD 00 AF 4F 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 1E [08:48:39]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [08:48:39]wFMCommunicate OK [08:48:39]wFMCommunicate request_size=4 [08:48:39]MH_SAM_APDU [08:48:39]CAPDU: 80 17 00 00 [08:48:39]Write to MH i2c: E2 08 00 B0 4F 80 17 00 00 00 00 00 00 7F [08:48:39]Write i2c OK [08:48:39]MH_I2C_Read... [08:48:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:48:39]Read from MH i2c: E2 [08:48:39]MH_I2C_Read... [08:48:39]Read from MH i2c: E2 FD 00 [08:48:39]MH_I2C_Read... [08:48:39]Read from MH i2c: E2 FD 00 B0 4F 00 03 01 00 04 F7 03 00 00 EF 03 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 90 00 04 [08:48:40]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [08:48:40]wFMCommunicate OK [08:48:40]wFMCommunicate request_size=4 [08:48:40]MH_SAM_APDU [08:48:40]CAPDU: 80 17 00 00 [08:48:40]Write to MH i2c: E2 08 00 B1 4F 80 17 00 00 00 00 00 00 80 [08:48:40]Write i2c OK [08:48:40]MH_I2C_Read... [08:48:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [08:48:40]Read from MH i2c: E2 [08:48:40]MH_I2C_Read... [08:48:40]Read from MH i2c: E2 DE 00 [08:48:40]MH_I2C_Read... [08:48:40]Read from MH i2c: E2 DE 00 B1 4F 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 5F [08:48:40]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [08:48:40]wFMCommunicate OK [08:48:40]SAM_PROTO_GetFMData done [08:48:40]requested_item fm.sale_refund.total is exist - process it [08:48:40]requested_item fm.buy.total is exist - process it [08:48:40]requested_item shift.sale.total is exist - process it [08:48:40]SAM_PROTO_GetShiftData [08:48:40]wFMCommunicate request_size=4 [08:48:40]MH_SAM_APDU [08:48:40]CAPDU: 80 13 02 00 [08:48:40]Write to MH i2c: E2 08 00 B2 4F 80 13 02 00 00 00 00 00 7F [08:48:40]Write i2c OK [08:48:40]MH_I2C_Read... [08:48:40]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [08:48:40]Read from MH i2c: E2 [08:48:40]MH_I2C_Read... [08:48:40]Read from MH i2c: E2 FD 00 [08:48:40]MH_I2C_Read... [08:48:40]Read from MH i2c: E2 FD 00 B2 4F 00 AC 04 AA 04 A8 04 6E 04 04 00 0F 00 00 00 69 04 99 00 6F 04 04 00 0F 00 00 00 B1 04 03 00 24 79 08 70 04 03 00 68 44 08 72 04 02 00 BC 34 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 5D E6 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 2E 13 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 24 [08:48:40]RAPDU: AC 04 AA 04 A8 04 6E 04 04 00 0F 00 00 00 69 04 99 00 6F 04 04 00 0F 00 00 00 B1 04 03 00 24 79 08 70 04 03 00 68 44 08 72 04 02 00 BC 34 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 5D E6 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 2E 13 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [08:48:41]wFMCommunicate OK [08:48:41]wFMCommunicate request_size=4 [08:48:41]MH_SAM_APDU [08:48:41]CAPDU: 80 17 00 00 [08:48:41]Write to MH i2c: E2 08 00 B3 4F 80 17 00 00 00 00 00 00 82 [08:48:41]Write i2c OK [08:48:41]MH_I2C_Read... [08:48:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:48:41]Read from MH i2c: E2 [08:48:41]MH_I2C_Read... [08:48:41]Read from MH i2c: E2 FD 00 [08:48:41]MH_I2C_Read... [08:48:41]Read from MH i2c: E2 FD 00 B3 4F 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 97 [08:48:41]RAPDU: 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [08:48:41]wFMCommunicate OK [08:48:41]wFMCommunicate request_size=4 [08:48:41]MH_SAM_APDU [08:48:41]CAPDU: 80 17 00 00 [08:48:41]Write to MH i2c: E2 08 00 B4 4F 80 17 00 00 00 00 00 00 83 [08:48:41]Write i2c OK [08:48:41]MH_I2C_Read... [08:48:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:48:41]Read from MH i2c: E2 [08:48:41]MH_I2C_Read... [08:48:41]Read from MH i2c: E2 FD 00 [08:48:41]MH_I2C_Read... [08:48:41]Read from MH i2c: E2 FD 00 B4 4F 00 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 44 [08:48:41]RAPDU: 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [08:48:41]wFMCommunicate OK [08:48:41]wFMCommunicate request_size=4 [08:48:41]MH_SAM_APDU [08:48:41]CAPDU: 80 17 00 00 [08:48:41]Write to MH i2c: E2 08 00 B5 4F 80 17 00 00 00 00 00 00 84 [08:48:41]Write i2c OK [08:48:41]MH_I2C_Read... [08:48:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:48:42]Read from MH i2c: E2 [08:48:42]MH_I2C_Read... [08:48:42]Read from MH i2c: E2 FD 00 [08:48:42]MH_I2C_Read... [08:48:42]Read from MH i2c: E2 FD 00 B5 4F 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 90 00 F9 [08:48:42]RAPDU: 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 90 00 [08:48:42]wFMCommunicate OK [08:48:42]wFMCommunicate request_size=4 [08:48:42]MH_SAM_APDU [08:48:42]CAPDU: 80 17 00 00 [08:48:42]Write to MH i2c: E2 08 00 B6 4F 80 17 00 00 00 00 00 00 85 [08:48:42]Write i2c OK [08:48:42]MH_I2C_Read... [08:48:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 198! [08:48:42]Read from MH i2c: E2 [08:48:42]MH_I2C_Read... [08:48:42]Read from MH i2c: E2 C9 00 [08:48:42]MH_I2C_Read... [08:48:42]Read from MH i2c: E2 C9 00 B6 4F 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 69 [08:48:42]RAPDU: 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [08:48:42]wFMCommunicate OK [08:48:42]SAM_PROTO_GetShiftData done [08:48:42]requested_item shift.sale.total_cash is exist - process it [08:48:42]requested_item shift.sale_refund.total is exist - process it [08:48:42]requested_item shift.sale_refund.total_cash is exist - process it [08:48:42]requested_item shift.buy.total is exist - process it [08:48:42]requested_item shift.buy.total_cash is exist - process it [08:48:42]produce_requested_data done [08:48:42]produce_requested_data return {"fm.sale.total":8057686.31,"fm.sale_refund.total":72006.00,"fm.buy.total":0.00,"shift.sale.total":5553.00,"shift.sale.total_cash":5418.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [08:48:42]process_action_free get_value [08:48:42]json_value_free [08:48:42]json_value_free done [08:48:42]process_json_proto returns [08:48:42]Send response to host [08:48:42]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8057686.31,"fm.sale_refund.total":72006.00,"fm.buy.total":0.00,"shift.sale.total":5553.00,"shift.sale.total_cash":5418.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [08:48:42]free response buf [08:48:42]execute_script done [08:48:42]execute_script returns [08:48:42]free content buf [08:48:42]Sock 9.Close socket [08:48:42]Sock 9.Thread stoped [08:48:42]accept exits with 7 [08:48:42]New connection [08:48:42]New thread 3066596708 created [08:48:42]Thread 3066453348 joined [08:48:42]Waiting for new connection... [08:48:42] Sock 7.Parse request [08:48:42]Sock 7.Check first char [08:48:42]Sock 7.First char is OK [08:48:42]request: POST /json_proto HTTP/1.0 [08:48:42]Method: POST [08:48:42]URL: /json_proto [08:48:42]Method is POST - this is cgi request [08:48:42]url: /json_proto [08:48:42]query_string will be loaded in cgi processing [08:48:42]execute_cgi json_proto POST (null) [08:48:42]execute_cgi path=json_proto method=POST [08:48:42]POST find Content-Length [08:48:42]Host: 172.17.32.68:8080 [08:48:42]Content-Length: 270 [08:48:42]Content-Type: application/json [08:48:42] [08:48:42]POST finish read [08:48:42]Found Content-Length = 270 [08:48:42]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u041C\u0430\u043A\u0441\u0430\u0442\u0431\u0435\u043A \u0443 \u0414. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:48:42]execute_script... [08:48:42]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u041C\u0430\u043A\u0441\u0430\u0442\u0431\u0435\u043A \u0443 \u0414. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:48:42]POST & json_proto [08:48:42]process_json_proto [08:48:42]json parsed OK: [08:48:42]protocol is kg_v1.0 [08:48:42]action value=x_report [08:48:42]process_action x_report [08:48:42]cmd_x_report [08:48:42]MH_GetDate [08:48:42]Write to MH i2c: F0 00 00 B7 4F F5 [08:48:42]Write i2c OK [08:48:42]MH_I2C_Read... [08:48:42]Read from MH i2c: F0 [08:48:42]MH_I2C_Read... [08:48:42]Read from MH i2c: F0 09 00 [08:48:42]MH_I2C_Read... [08:48:42]Read from MH i2c: F0 09 00 B7 4F 00 F9 16 F0 65 0A 64 6E 65 A3 [08:48:43]GetLastDocTimeStamp 1710232460 [08:48:43]current date 1710233337 [08:48:43]FM_GetShiftState [08:48:43]SAM_PROTO_GetShiftState [08:48:43]wFMCommunicate request_size=4 [08:48:43]MH_SAM_APDU [08:48:43]CAPDU: 80 13 01 00 [08:48:43]Write to MH i2c: E2 08 00 B8 4F 80 13 01 00 00 00 00 00 84 [08:48:43]Write i2c OK [08:48:43]MH_I2C_Read... [08:48:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:48:43]Read from MH i2c: E2 [08:48:43]MH_I2C_Read... [08:48:43]Read from MH i2c: E2 0E 00 [08:48:43]MH_I2C_Read... [08:48:43]Read from MH i2c: E2 0E 00 B8 4F 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 B3 [08:48:43]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [08:48:43]wFMCommunicate OK [08:48:43]SAM_PROTO_GetShiftState done [08:48:43]FM_GetShiftState done [08:48:43]KKMCreateXReportDocument [08:48:43]Load OK [08:48:43]Malloc new data [08:48:43]MH_GetDate [08:48:43]Write to MH i2c: F0 00 00 B9 4F F7 [08:48:43]Write i2c OK [08:48:43]MH_I2C_Read... [08:48:43]Read from MH i2c: F0 [08:48:43]MH_I2C_Read... [08:48:43]Read from MH i2c: F0 09 00 [08:48:43]MH_I2C_Read... [08:48:43]Read from MH i2c: F0 09 00 B9 4F 00 F9 16 F0 65 0A 64 6E 65 A5 [08:48:43]Malloc new data [08:48:43]Malloc new data [08:48:43]wFMCommunicate request_size=4 [08:48:43]MH_SAM_APDU [08:48:43]CAPDU: 80 11 00 00 [08:48:43]Write to MH i2c: E2 08 00 BA 4F 80 11 00 00 00 00 00 00 83 [08:48:43]Write i2c OK [08:48:43]MH_I2C_Read... [08:48:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:48:43]Read from MH i2c: E2 [08:48:43]MH_I2C_Read... [08:48:43]Read from MH i2c: E2 17 00 [08:48:43]MH_I2C_Read... [08:48:43]Read from MH i2c: E2 17 00 BA 4F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 D5 [08:48:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [08:48:43]wFMCommunicate OK [08:48:43]SAM_PROTO_GetFieldsCounters [08:48:43]wFMCommunicate request_size=4 [08:48:43]MH_SAM_APDU [08:48:43]CAPDU: 80 13 00 00 [08:48:43]Write to MH i2c: E2 08 00 BB 4F 80 13 00 00 00 00 00 00 86 [08:48:43]Write i2c OK [08:48:43]MH_I2C_Read... [08:48:43]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:48:43]Read from MH i2c: E2 [08:48:43]MH_I2C_Read... [08:48:43]Read from MH i2c: E2 62 00 [08:48:43]MH_I2C_Read... [08:48:43]Read from MH i2c: E2 62 00 BB 4F 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 E9 B8 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 0F 00 00 00 5E 04 04 00 0F 00 00 00 57 04 04 00 10 00 00 00 19 04 04 00 00 00 00 00 90 00 AA [08:48: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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 E9 B8 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 0F 00 00 00 5E 04 04 00 0F 00 00 00 57 04 04 00 10 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:48:43]wFMCommunicate OK [08:48:43]SAM_PROTO_GetFieldsCounters done [08:48:43]Malloc new data [08:48:43]Malloc new data [08:48:43]Malloc new data [08:48:43]KKMCreateXReportDocument OK [08:48:43]KKMSetXReportData OK [08:48:43]KKMPrepareXReportFMData [08:48:43]SAM_PROTO_GetShiftData [08:48:43]wFMCommunicate request_size=4 [08:48:43]MH_SAM_APDU [08:48:43]CAPDU: 80 13 02 00 [08:48:43]Write to MH i2c: E2 08 00 BC 4F 80 13 02 00 00 00 00 00 89 [08:48:43]Write i2c OK [08:48:43]MH_I2C_Read... [08:48:43]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [08:48:43]Read from MH i2c: E2 [08:48:43]MH_I2C_Read... [08:48:43]Read from MH i2c: E2 FD 00 [08:48:43]MH_I2C_Read... [08:48:43]Read from MH i2c: E2 FD 00 BC 4F 00 AC 04 AA 04 A8 04 6E 04 04 00 0F 00 00 00 69 04 99 00 6F 04 04 00 0F 00 00 00 B1 04 03 00 24 79 08 70 04 03 00 68 44 08 72 04 02 00 BC 34 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 5D E6 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 2E 13 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 2E [08:48:43]RAPDU: AC 04 AA 04 A8 04 6E 04 04 00 0F 00 00 00 69 04 99 00 6F 04 04 00 0F 00 00 00 B1 04 03 00 24 79 08 70 04 03 00 68 44 08 72 04 02 00 BC 34 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 5D E6 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 2E 13 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [08:48:44]wFMCommunicate OK [08:48:44]wFMCommunicate request_size=4 [08:48:44]MH_SAM_APDU [08:48:44]CAPDU: 80 17 00 00 [08:48:44]Write to MH i2c: E2 08 00 BD 4F 80 17 00 00 00 00 00 00 8C [08:48:44]Write i2c OK [08:48:44]MH_I2C_Read... [08:48:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:48:44]Read from MH i2c: E2 [08:48:44]MH_I2C_Read... [08:48:44]Read from MH i2c: E2 FD 00 [08:48:44]MH_I2C_Read... [08:48:44]Read from MH i2c: E2 FD 00 BD 4F 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 A1 [08:48:44]RAPDU: 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [08:48:44]wFMCommunicate OK [08:48:44]wFMCommunicate request_size=4 [08:48:44]MH_SAM_APDU [08:48:44]CAPDU: 80 17 00 00 [08:48:44]Write to MH i2c: E2 08 00 BE 4F 80 17 00 00 00 00 00 00 8D [08:48:44]Write i2c OK [08:48:44]MH_I2C_Read... [08:48:44]OFD Sender: No OFD packet to send [08:48:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:48:44]Read from MH i2c: E2 [08:48:44]MH_I2C_Read... [08:48:44]Read from MH i2c: E2 FD 00 [08:48:44]MH_I2C_Read... [08:48:44]Read from MH i2c: E2 FD 00 BE 4F 00 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 4E [08:48:44]RAPDU: 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [08:48:44]wFMCommunicate OK [08:48:44]wFMCommunicate request_size=4 [08:48:44]MH_SAM_APDU [08:48:44]CAPDU: 80 17 00 00 [08:48:44]Write to MH i2c: E2 08 00 BF 4F 80 17 00 00 00 00 00 00 8E [08:48:44]Write i2c OK [08:48:44]MH_I2C_Read... [08:48:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:48:45]Read from MH i2c: E2 [08:48:45]MH_I2C_Read... [08:48:45]Read from MH i2c: E2 FD 00 [08:48:45]MH_I2C_Read... [08:48:45]Read from MH i2c: E2 FD 00 BF 4F 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 90 00 03 [08:48:45]RAPDU: 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 90 00 [08:48:45]wFMCommunicate OK [08:48:45]wFMCommunicate request_size=4 [08:48:45]MH_SAM_APDU [08:48:45]CAPDU: 80 17 00 00 [08:48:45]Write to MH i2c: E2 08 00 C0 4F 80 17 00 00 00 00 00 00 8F [08:48:45]Write i2c OK [08:48:45]MH_I2C_Read... [08:48:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 198! [08:48:45]Read from MH i2c: E2 [08:48:45]MH_I2C_Read... [08:48:45]Read from MH i2c: E2 C9 00 [08:48:45]MH_I2C_Read... [08:48:45]Read from MH i2c: E2 C9 00 C0 4F 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 73 [08:48:45]RAPDU: 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [08:48:45]wFMCommunicate OK [08:48:45]SAM_PROTO_GetShiftData done [08:48:45]1194 (1192) - счетчики итогов смены [08:48:45] 1134 (4) - 15 - количество чеков со всеми признаками расчетов [08:48:45] 1129 (153) - счетчики операций «приход» [08:48:45] 1135 (4) - 15 - количество чеков по признаку расчетов [08:48:45] 1201 (3) - 5553.00 - общая итоговая сумма в чеках [08:48:45] 1136 (3) - 5418.00 - итоговая сумма в чеках наличными [08:48:45] 1138 (2) - 135.00 - итоговая сумма в чеках безналичными [08:48:45] 1024 (121) - суммы налогов [08:48:45] 1006 (9) - суммы НДС [08:48:45] 1010 (1) - 0% - код ставки НДС [08:48:45] 1011 (0) - 0.00 - сумма НДС по ставке [08:48:45] 1006 (11) - суммы НДС [08:48:45] 1010 (1) - 12% - код ставки НДС [08:48:45] 1011 (2) - 589.73 - сумма НДС по ставке [08:48:45] 1007 (9) - суммы НСП [08:48:45] 1014 (1) - 0% - код ставки НСП [08:48:45] 1015 (0) - 0.00 - сумма НСП по ставке [08:48:45] 1007 (11) - суммы НСП [08:48:45] 1014 (1) - 1% - код ставки НСП [08:48:45] 1015 (2) - 49.10 - сумма НСП по ставке [08:48:45] 1007 (9) - суммы НСП [08:48:45] 1014 (1) - 2% - код ставки НСП [08:48:45] 1015 (0) - 0.00 - сумма НСП по ставке [08:48:45] 1007 (9) - суммы НСП [08:48:45] 1014 (1) - 3% - код ставки НСП [08:48:45] 1015 (0) - 0.00 - сумма НСП по ставке [08:48:45] 1007 (9) - суммы НСП [08:48:45] 1014 (1) - 5% - код ставки НСП [08:48:45] 1015 (0) - 0.00 - сумма НСП по ставке [08:48:45] 1007 (9) - суммы НСП [08:48:45] 1014 (1) - 0,50% - код ставки НСП [08:48:45] 1015 (0) - 0.00 - сумма НСП по ставке [08:48:45] 1007 (9) - суммы НСП [08:48:45] 1014 (1) - 1,50% - код ставки НСП [08:48:45] 1015 (0) - 0.00 - сумма НСП по ставке [08:48:45] 1130 (141) - счетчики операций «возврат прихода» [08:48:45] 1135 (4) - 0 - количество чеков по признаку расчетов [08:48:45] 1201 (0) - 0.00 - общая итоговая сумма в чеках [08:48:45] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [08:48:45] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [08:48:45] 1024 (117) - суммы налогов [08:48:45] 1006 (9) - суммы НДС [08:48:45] 1010 (1) - 0% - код ставки НДС [08:48:45] 1011 (0) - 0.00 - сумма НДС по ставке [08:48:45] 1006 (9) - суммы НДС [08:48:45] 1010 (1) - 12% - код ставки НДС [08:48:45] 1011 (0) - 0.00 - сумма НДС по ставке [08:48:45] 1007 (9) - суммы НСП [08:48:45] 1014 (1) - 0% - код ставки НСП [08:48:45] 1015 (0) - 0.00 - сумма НСП по ставке [08:48:45] 1007 (9) - суммы НСП [08:48:45] 1014 (1) - 1% - код ставки НСП [08:48:45] 1015 (0) - 0.00 - сумма НСП по ставке [08:48:45] 1007 (9) - суммы НСП [08:48:45] 1014 (1) - 2% - код ставки НСП [08:48:45] 1015 (0) - 0.00 - сумма НСП по ставке [08:48:45] 1007 (9) - суммы НСП [08:48:45] 1014 (1) - 3% - код ставки НСП [08:48:45] 1015 (0) - 0.00 - сумма НСП по ставке [08:48:45] 1007 (9) - суммы НСП [08:48:45] 1014 (1) - 5% - код ставки НСП [08:48:45] 1015 (0) - 0.00 - сумма НСП по ставке [08:48:45] 1007 (9) - суммы НСП [08:48:45] 1014 (1) - 0,50% - код ставки НСП [08:48:45] 1015 (0) - 0.00 - сумма НСП по ставке [08:48:45] 1007 (9) - суммы НСП [08:48:45] 1014 (1) - 1,50% - код ставки НСП [08:48:45] 1015 (0) - 0.00 - сумма НСП по ставке [08:48:45] 1131 (141) - счетчики операций «расход» [08:48:45] 1135 (4) - 0 - количество чеков по признаку расчетов [08:48:45] 1201 (0) - 0.00 - общая итоговая сумма в чеках [08:48:45] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [08:48:45] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [08:48:45] 1024 (117) - суммы налогов [08:48:45] 1006 (9) - суммы НДС [08:48:45] 1010 (1) - 0% - код ставки НДС [08:48:45] 1011 (0) - 0.00 - сумма НДС по ставке [08:48:45] 1006 (9) - суммы НДС [08:48:45] 1010 (1) - 12% - код ставки НДС [08:48:45] 1011 (0) - 0.00 - сумма НДС по ставке [08:48:45] 1007 (9) - суммы НСП [08:48:45] 1014 (1) - 0% - код ставки НСП [08:48:45] 1015 (0) - 0.00 - сумма НСП по ставке [08:48:45] 1007 (9) - суммы НСП [08:48:45] 1014 (1) - 1% - код ставки НСП [08:48:45] 1015 (0) - 0.00 - сумма НСП по ставке [08:48:45] 1007 (9) - суммы НСП [08:48:45] 1014 (1) - 2% - код ставки НСП [08:48:45] 1015 (0) - 0.00 - сумма НСП по ставке [08:48:45] 1007 (9) - суммы НСП [08:48:45] 1014 (1) - 3% - код ставки НСП [08:48:45] 1015 (0) - 0.00 - сумма НСП по ставке [08:48:45] 1007 (9) - суммы НСП [08:48:45] 1014 (1) - 5% - код ставки НСП [08:48:45] 1015 (0) - 0.00 - сумма НСП по ставке [08:48:45] 1007 (9) - суммы НСП [08:48:45] 1014 (1) - 0,50% - код ставки НСП [08:48:45] 1015 (0) - 0.00 - сумма НСП по ставке [08:48:45] 1007 (9) - суммы НСП [08:48:45] 1014 (1) - 1,50% - код ставки НСП [08:48:45] 1015 (0) - 0.00 - сумма НСП по ставке [08:48:45] 1132 (141) - счетчики операций «возврат расхода» [08:48:45] 1135 (4) - 0 - количество чеков по признаку расчетов [08:48:45] 1201 (0) - 0.00 - общая итоговая сумма в чеках [08:48:45] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [08:48:46] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [08:48:46] 1024 (117) - суммы налогов [08:48:46] 1006 (9) - суммы НДС [08:48:46] 1010 (1) - 0% - код ставки НДС [08:48:46] 1011 (0) - 0.00 - сумма НДС по ставке [08:48:46] 1006 (9) - суммы НДС [08:48:46] 1010 (1) - 12% - код ставки НДС [08:48:46] 1011 (0) - 0.00 - сумма НДС по ставке [08:48:46] 1007 (9) - суммы НСП [08:48:46] 1014 (1) - 0% - код ставки НСП [08:48:46] 1015 (0) - 0.00 - сумма НСП по ставке [08:48:46] 1007 (9) - суммы НСП [08:48:46] 1014 (1) - 1% - код ставки НСП [08:48:46] 1015 (0) - 0.00 - сумма НСП по ставке [08:48:46] 1007 (9) - суммы НСП [08:48:46] 1014 (1) - 2% - код ставки НСП [08:48:46] 1015 (0) - 0.00 - сумма НСП по ставке [08:48:46] 1007 (9) - суммы НСП [08:48:46] 1014 (1) - 3% - код ставки НСП [08:48:46] 1015 (0) - 0.00 - сумма НСП по ставке [08:48:46] 1007 (9) - суммы НСП [08:48:46] 1014 (1) - 5% - код ставки НСП [08:48:46] 1015 (0) - 0.00 - сумма НСП по ставке [08:48:46] 1007 (9) - суммы НСП [08:48:46] 1014 (1) - 0,50% - код ставки НСП [08:48:46] 1015 (0) - 0.00 - сумма НСП по ставке [08:48:46] 1007 (9) - суммы НСП [08:48:46] 1014 (1) - 1,50% - код ставки НСП [08:48:46] 1015 (0) - 0.00 - сумма НСП по ставке [08:48:46] 1133 (588) - - счетчики коррекции - не используются [08:48:46]SetTLVBufToDocument [08:48:46]Processing tag 1194 (04AA) [08:48:46]Load OK [08:48:46]SetTLVBufToDocument [08:48:46]Processing tag 1134 (046E) [08:48:46]Malloc new data [08:48:46]Processing tag 1129 (0469) [08:48:46]Load OK [08:48:46]SetTLVBufToDocument [08:48:46]Processing tag 1135 (046F) [08:48:46]Malloc new data [08:48:46]Processing tag 1201 (04B1) [08:48:46]Malloc new data [08:48:46]Processing tag 1136 (0470) [08:48:46]Malloc new data [08:48:46]Processing tag 1138 (0472) [08:48:46]Malloc new data [08:48:46]Processing tag 1024 (0400) [08:48:46]Load OK [08:48:46]SetTLVBufToDocument [08:48:46]Processing tag 1006 (03EE) [08:48:46]Load OK [08:48:46]SetTLVBufToDocument [08:48:46]Processing tag 1010 (03F2) [08:48:46]Malloc new data [08:48:46]Processing tag 1011 (03F3) [08:48:46]Malloc new data [08:48:46]SetTLVBufToDocument err=0 [08:48:46]Processing tag 1006 (03EE) [08:48:46]Load OK [08:48:46]SetTLVBufToDocument [08:48:46]Processing tag 1010 (03F2) [08:48:46]Malloc new data [08:48:46]Processing tag 1011 (03F3) [08:48:46]Malloc new data [08:48:46]SetTLVBufToDocument err=0 [08:48:46]Processing tag 1007 (03EF) [08:48:46]Load OK [08:48:46]SetTLVBufToDocument [08:48:46]Processing tag 1014 (03F6) [08:48:46]Malloc new data [08:48:46]Processing tag 1015 (03F7) [08:48:46]Malloc new data [08:48:46]SetTLVBufToDocument err=0 [08:48:46]Processing tag 1007 (03EF) [08:48:46]Load OK [08:48:46]SetTLVBufToDocument [08:48:46]Processing tag 1014 (03F6) [08:48:46]Malloc new data [08:48:46]Processing tag 1015 (03F7) [08:48:46]Malloc new data [08:48:46]SetTLVBufToDocument err=0 [08:48:46]Processing tag 1007 (03EF) [08:48:46]Load OK [08:48:46]SetTLVBufToDocument [08:48:46]Processing tag 1014 (03F6) [08:48:46]Malloc new data [08:48:46]Processing tag 1015 (03F7) [08:48:46]Malloc new data [08:48:46]SetTLVBufToDocument err=0 [08:48:46]Processing tag 1007 (03EF) [08:48:46]Load OK [08:48:46]SetTLVBufToDocument [08:48:46]Processing tag 1014 (03F6) [08:48:46]Malloc new data [08:48:46]Processing tag 1015 (03F7) [08:48:46]Malloc new data [08:48:46]SetTLVBufToDocument err=0 [08:48:46]Processing tag 1007 (03EF) [08:48:46]Load OK [08:48:46]SetTLVBufToDocument [08:48:46]Processing tag 1014 (03F6) [08:48:46]Malloc new data [08:48:46]Processing tag 1015 (03F7) [08:48:46]Malloc new data [08:48:46]SetTLVBufToDocument err=0 [08:48:46]Processing tag 1007 (03EF) [08:48:46]Load OK [08:48:46]SetTLVBufToDocument [08:48:46]Processing tag 1014 (03F6) [08:48:46]Malloc new data [08:48:46]Processing tag 1015 (03F7) [08:48:46]Malloc new data [08:48:46]SetTLVBufToDocument err=0 [08:48:46]Processing tag 1007 (03EF) [08:48:46]Load OK [08:48:46]SetTLVBufToDocument [08:48:46]Processing tag 1014 (03F6) [08:48:46]Malloc new data [08:48:46]Processing tag 1015 (03F7) [08:48:46]Malloc new data [08:48:46]SetTLVBufToDocument err=0 [08:48:46]SetTLVBufToDocument err=0 [08:48:46]SetTLVBufToDocument err=0 [08:48:46]Processing tag 1130 (046A) [08:48:46]Load OK [08:48:46]SetTLVBufToDocument [08:48:46]Processing tag 1135 (046F) [08:48:46]Malloc new data [08:48:46]Processing tag 1201 (04B1) [08:48:46]Malloc new data [08:48:46]Processing tag 1136 (0470) [08:48:46]Malloc new data [08:48:46]Processing tag 1138 (0472) [08:48:46]Malloc new data [08:48:46]Processing tag 1024 (0400) [08:48:46]Load OK [08:48:46]SetTLVBufToDocument [08:48:46]Processing tag 1006 (03EE) [08:48:46]Load OK [08:48:46]SetTLVBufToDocument [08:48:46]Processing tag 1010 (03F2) [08:48:46]Malloc new data [08:48:46]Processing tag 1011 (03F3) [08:48:46]Malloc new data [08:48:46]SetTLVBufToDocument err=0 [08:48:46]Processing tag 1006 (03EE) [08:48:46]Load OK [08:48:46]SetTLVBufToDocument [08:48:46]Processing tag 1010 (03F2) [08:48:46]Malloc new data [08:48:46]Processing tag 1011 (03F3) [08:48:46]Malloc new data [08:48:46]SetTLVBufToDocument err=0 [08:48:46]Processing tag 1007 (03EF) [08:48:46]Load OK [08:48:46]SetTLVBufToDocument [08:48:46]Processing tag 1014 (03F6) [08:48:46]Malloc new data [08:48:46]Processing tag 1015 (03F7) [08:48:46]Malloc new data [08:48:46]SetTLVBufToDocument err=0 [08:48:46]Processing tag 1007 (03EF) [08:48:46]Load OK [08:48:46]SetTLVBufToDocument [08:48:46]Processing tag 1014 (03F6) [08:48:46]Malloc new data [08:48:46]Processing tag 1015 (03F7) [08:48:46]Malloc new data [08:48:46]SetTLVBufToDocument err=0 [08:48:46]Processing tag 1007 (03EF) [08:48:46]Load OK [08:48:46]SetTLVBufToDocument [08:48:46]Processing tag 1014 (03F6) [08:48:46]Malloc new data [08:48:46]Processing tag 1015 (03F7) [08:48:46]Malloc new data [08:48:46]SetTLVBufToDocument err=0 [08:48:46]Processing tag 1007 (03EF) [08:48:46]Load OK [08:48:46]SetTLVBufToDocument [08:48:46]Processing tag 1014 (03F6) [08:48:46]Malloc new data [08:48:46]Processing tag 1015 (03F7) [08:48:46]Malloc new data [08:48:46]SetTLVBufToDocument err=0 [08:48:46]Processing tag 1007 (03EF) [08:48:46]Load OK [08:48:46]SetTLVBufToDocument [08:48:46]Processing tag 1014 (03F6) [08:48:46]Malloc new data [08:48:46]Processing tag 1015 (03F7) [08:48:46]Malloc new data [08:48:46]SetTLVBufToDocument err=0 [08:48:46]Processing tag 1007 (03EF) [08:48:46]Load OK [08:48:46]SetTLVBufToDocument [08:48:46]Processing tag 1014 (03F6) [08:48:46]Malloc new data [08:48:46]Processing tag 1015 (03F7) [08:48:46]Malloc new data [08:48:46]SetTLVBufToDocument err=0 [08:48:46]Processing tag 1007 (03EF) [08:48:46]Load OK [08:48:46]SetTLVBufToDocument [08:48:46]Processing tag 1014 (03F6) [08:48:46]Malloc new data [08:48:46]Processing tag 1015 (03F7) [08:48:46]Malloc new data [08:48:46]SetTLVBufToDocument err=0 [08:48:46]SetTLVBufToDocument err=0 [08:48:46]SetTLVBufToDocument err=0 [08:48:46]Processing tag 1131 (046B) [08:48:46]Load OK [08:48:46]SetTLVBufToDocument [08:48:46]Processing tag 1135 (046F) [08:48:46]Malloc new data [08:48:46]Processing tag 1201 (04B1) [08:48:46]Malloc new data [08:48:46]Processing tag 1136 (0470) [08:48:46]Malloc new data [08:48:46]Processing tag 1138 (0472) [08:48:46]Malloc new data [08:48:46]Processing tag 1024 (0400) [08:48:46]Load OK [08:48:46]SetTLVBufToDocument [08:48:46]Processing tag 1006 (03EE) [08:48:46]Load OK [08:48:46]SetTLVBufToDocument [08:48:46]Processing tag 1010 (03F2) [08:48:46]Malloc new data [08:48:46]Processing tag 1011 (03F3) [08:48:46]Malloc new data [08:48:46]SetTLVBufToDocument err=0 [08:48:46]Processing tag 1006 (03EE) [08:48:46]Load OK [08:48:46]SetTLVBufToDocument [08:48:46]Processing tag 1010 (03F2) [08:48:46]Malloc new data [08:48:46]Processing tag 1011 (03F3) [08:48:46]Malloc new data [08:48:46]SetTLVBufToDocument err=0 [08:48:46]Processing tag 1007 (03EF) [08:48:46]Load OK [08:48:46]SetTLVBufToDocument [08:48:46]Processing tag 1014 (03F6) [08:48:46]Malloc new data [08:48:46]Processing tag 1015 (03F7) [08:48:46]Malloc new data [08:48:46]SetTLVBufToDocument err=0 [08:48:46]Processing tag 1007 (03EF) [08:48:46]Load OK [08:48:46]SetTLVBufToDocument [08:48:46]Processing tag 1014 (03F6) [08:48:46]Malloc new data [08:48:46]Processing tag 1015 (03F7) [08:48:46]Malloc new data [08:48:46]SetTLVBufToDocument err=0 [08:48:46]Processing tag 1007 (03EF) [08:48:46]Load OK [08:48:46]SetTLVBufToDocument [08:48:46]Processing tag 1014 (03F6) [08:48:46]Malloc new data [08:48:46]Processing tag 1015 (03F7) [08:48:46]Malloc new data [08:48:46]SetTLVBufToDocument err=0 [08:48:46]Processing tag 1007 (03EF) [08:48:46]Load OK [08:48:46]SetTLVBufToDocument [08:48:46]Processing tag 1014 (03F6) [08:48:46]Malloc new data [08:48:46]Processing tag 1015 (03F7) [08:48:46]Malloc new data [08:48:46]SetTLVBufToDocument err=0 [08:48:46]Processing tag 1007 (03EF) [08:48:46]Load OK [08:48:46]SetTLVBufToDocument [08:48:46]Processing tag 1014 (03F6) [08:48:46]Malloc new data [08:48:46]Processing tag 1015 (03F7) [08:48:46]Malloc new data [08:48:46]SetTLVBufToDocument err=0 [08:48:46]Processing tag 1007 (03EF) [08:48:46]Load OK [08:48:46]SetTLVBufToDocument [08:48:46]Processing tag 1014 (03F6) [08:48:46]Malloc new data [08:48:46]Processing tag 1015 (03F7) [08:48:46]Malloc new data [08:48:46]SetTLVBufToDocument err=0 [08:48:46]Processing tag 1007 (03EF) [08:48:46]Load OK [08:48:46]SetTLVBufToDocument [08:48:46]Processing tag 1014 (03F6) [08:48:46]Malloc new data [08:48:46]Processing tag 1015 (03F7) [08:48:46]Malloc new data [08:48:46]SetTLVBufToDocument err=0 [08:48:46]SetTLVBufToDocument err=0 [08:48:46]SetTLVBufToDocument err=0 [08:48:46]Processing tag 1132 (046C) [08:48:46]Load OK [08:48:46]SetTLVBufToDocument [08:48:46]Processing tag 1135 (046F) [08:48:46]Malloc new data [08:48:46]Processing tag 1201 (04B1) [08:48:46]Malloc new data [08:48:46]Processing tag 1136 (0470) [08:48:46]Malloc new data [08:48:46]Processing tag 1138 (0472) [08:48:46]Malloc new data [08:48:46]Processing tag 1024 (0400) [08:48:46]Load OK [08:48:46]SetTLVBufToDocument [08:48:46]Processing tag 1006 (03EE) [08:48:46]Load OK [08:48:46]SetTLVBufToDocument [08:48:46]Processing tag 1010 (03F2) [08:48:46]Malloc new data [08:48:46]Processing tag 1011 (03F3) [08:48:46]Malloc new data [08:48:46]SetTLVBufToDocument err=0 [08:48:46]Processing tag 1006 (03EE) [08:48:46]Load OK [08:48:46]SetTLVBufToDocument [08:48:46]Processing tag 1010 (03F2) [08:48:46]Malloc new data [08:48:46]Processing tag 1011 (03F3) [08:48:46]Malloc new data [08:48:46]SetTLVBufToDocument err=0 [08:48:46]Processing tag 1007 (03EF) [08:48:46]Load OK [08:48:46]SetTLVBufToDocument [08:48:46]Processing tag 1014 (03F6) [08:48:46]Malloc new data [08:48:46]Processing tag 1015 (03F7) [08:48:46]Malloc new data [08:48:46]SetTLVBufToDocument err=0 [08:48:46]Processing tag 1007 (03EF) [08:48:46]Load OK [08:48:46]SetTLVBufToDocument [08:48:46]Processing tag 1014 (03F6) [08:48:46]Malloc new data [08:48:46]Processing tag 1015 (03F7) [08:48:46]Malloc new data [08:48:46]SetTLVBufToDocument err=0 [08:48:46]Processing tag 1007 (03EF) [08:48:46]Load OK [08:48:46]SetTLVBufToDocument [08:48:46]Processing tag 1014 (03F6) [08:48:46]Malloc new data [08:48:46]Processing tag 1015 (03F7) [08:48:46]Malloc new data [08:48:46]SetTLVBufToDocument err=0 [08:48:46]Processing tag 1007 (03EF) [08:48:46]Load OK [08:48:46]SetTLVBufToDocument [08:48:46]Processing tag 1014 (03F6) [08:48:46]Malloc new data [08:48:46]Processing tag 1015 (03F7) [08:48:46]Malloc new data [08:48:46]SetTLVBufToDocument err=0 [08:48:46]Processing tag 1007 (03EF) [08:48:46]Load OK [08:48:46]SetTLVBufToDocument [08:48:46]Processing tag 1014 (03F6) [08:48:46]Malloc new data [08:48:46]Processing tag 1015 (03F7) [08:48:46]Malloc new data [08:48:46]SetTLVBufToDocument err=0 [08:48:46]Processing tag 1007 (03EF) [08:48:46]Load OK [08:48:46]SetTLVBufToDocument [08:48:46]Processing tag 1014 (03F6) [08:48:46]Malloc new data [08:48:46]Processing tag 1015 (03F7) [08:48:46]Malloc new data [08:48:46]SetTLVBufToDocument err=0 [08:48:46]Processing tag 1007 (03EF) [08:48:46]Load OK [08:48:46]SetTLVBufToDocument [08:48:46]Processing tag 1014 (03F6) [08:48:46]Malloc new data [08:48:46]Processing tag 1015 (03F7) [08:48:46]Malloc new data [08:48:46]SetTLVBufToDocument err=0 [08:48:46]SetTLVBufToDocument err=0 [08:48:46]SetTLVBufToDocument err=0 [08:48:46]Processing tag 1133 (046D) [08:48:46]Malloc new data [08:48:46]SetTLVBufToDocument err=0 [08:48:46]SetTLVBufToDocument err=0 [08:48:46]Malloc new data [08:48:46]SAM_PROTO_GetFMData [08:48:46]wFMCommunicate request_size=4 [08:48:46]MH_SAM_APDU [08:48:46]CAPDU: 80 13 03 00 [08:48:46]Write to MH i2c: E2 08 00 C1 4F 80 13 03 00 00 00 00 00 8F [08:48:46]Write i2c OK [08:48:46]MH_I2C_Read... [08:48:47]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [08:48:47]Read from MH i2c: E2 [08:48:47]MH_I2C_Read... [08:48:47]Read from MH i2c: E2 FD 00 [08:48:47]MH_I2C_Read... [08:48:47]Read from MH i2c: E2 FD 00 C1 4F 00 C1 04 85 04 BD 04 6E 04 04 00 74 B6 00 00 69 04 A0 00 6F 04 04 00 4F B5 00 00 B1 04 04 00 B7 0D 07 30 70 04 04 00 30 2E 1A 28 72 04 04 00 87 DF EC 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 42 A4 19 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 D8 B9 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 25 01 00 00 B1 04 03 00 58 DF 6D 70 04 03 00 7C D8 69 72 04 03 00 DC 06 04 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 0B AB 0B EF 03 09 00 F6 03 90 00 E9 [08:48:47]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 74 B6 00 00 69 04 A0 00 6F 04 04 00 4F B5 00 00 B1 04 04 00 B7 0D 07 30 70 04 04 00 30 2E 1A 28 72 04 04 00 87 DF EC 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 42 A4 19 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 D8 B9 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 25 01 00 00 B1 04 03 00 58 DF 6D 70 04 03 00 7C D8 69 72 04 03 00 DC 06 04 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 0B AB 0B EF 03 09 00 F6 03 90 00 [08:48:47]wFMCommunicate OK [08:48:47]wFMCommunicate request_size=4 [08:48:47]MH_SAM_APDU [08:48:47]CAPDU: 80 17 00 00 [08:48:47]Write to MH i2c: E2 08 00 C2 4F 80 17 00 00 00 00 00 00 91 [08:48:47]Write i2c OK [08:48:47]MH_I2C_Read... [08:48:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:48:47]Read from MH i2c: E2 [08:48:47]MH_I2C_Read... [08:48:47]Read from MH i2c: E2 FD 00 [08:48:47]MH_I2C_Read... [08:48:47]Read from MH i2c: E2 FD 00 C2 4F 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 C7 F8 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 7F [08:48:48]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 C7 F8 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [08:48:48]wFMCommunicate OK [08:48:48]wFMCommunicate request_size=4 [08:48:48]MH_SAM_APDU [08:48:48]CAPDU: 80 17 00 00 [08:48:48]Write to MH i2c: E2 08 00 C3 4F 80 17 00 00 00 00 00 00 92 [08:48:48]Write i2c OK [08:48:48]MH_I2C_Read... [08:48:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:48:48]Read from MH i2c: E2 [08:48:48]MH_I2C_Read... [08:48:48]Read from MH i2c: E2 FD 00 [08:48:48]MH_I2C_Read... [08:48:48]Read from MH i2c: E2 FD 00 C3 4F 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 32 [08:48:48]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [08:48:48]wFMCommunicate OK [08:48:48]wFMCommunicate request_size=4 [08:48:48]MH_SAM_APDU [08:48:48]CAPDU: 80 17 00 00 [08:48:48]Write to MH i2c: E2 08 00 C4 4F 80 17 00 00 00 00 00 00 93 [08:48:48]Write i2c OK [08:48:48]MH_I2C_Read... [08:48:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:48:48]Read from MH i2c: E2 [08:48:48]MH_I2C_Read... [08:48:48]Read from MH i2c: E2 FD 00 [08:48:48]MH_I2C_Read... [08:48:48]Read from MH i2c: E2 FD 00 C4 4F 00 03 01 00 04 F7 03 00 00 EF 03 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 90 00 18 [08:48:49]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [08:48:49]wFMCommunicate OK [08:48:49]wFMCommunicate request_size=4 [08:48:49]MH_SAM_APDU [08:48:49]CAPDU: 80 17 00 00 [08:48:49]Write to MH i2c: E2 08 00 C5 4F 80 17 00 00 00 00 00 00 94 [08:48:49]Write i2c OK [08:48:49]MH_I2C_Read... [08:48:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [08:48:49]Read from MH i2c: E2 [08:48:49]MH_I2C_Read... [08:48:49]Read from MH i2c: E2 DE 00 [08:48:49]MH_I2C_Read... [08:48:49]Read from MH i2c: E2 DE 00 C5 4F 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 73 [08:48:49]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 OFD Sender: No OFD packet to send [08:48:49]01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [08:48:49]wFMCommunicate OK [08:48:49]SAM_PROTO_GetFMData done [08:48:49]FM_GetFMData:85 04 BD 04 6E 04 04 00 74 B6 00 00 69 04 A0 00 6F 04 04 00 4F B5 00 00 B1 04 04 00 B7 0D 07 30 70 04 04 00 30 2E 1A 28 72 04 04 00 87 DF EC 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 42 A4 19 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 D8 B9 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 25 01 00 00 B1 04 03 00 58 DF 6D 70 04 03 00 7C D8 69 72 04 03 00 DC 06 04 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 0B AB 0B 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 C7 F8 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [08:48:50]oper:6F 04 04 00 4F B5 00 00 B1 04 04 00 B7 0D 07 30 70 04 04 00 30 2E 1A 28 72 04 04 00 87 DF EC 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 42 A4 19 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 D8 B9 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [08:48:50]total:B7 0D 07 30 [08:48:50]Malloc new data [08:48:50]oper:6F 04 04 00 25 01 00 00 B1 04 03 00 58 DF 6D 70 04 03 00 7C D8 69 72 04 03 00 DC 06 04 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 0B AB 0B 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 C7 F8 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [08:48:50]total:58 DF 6D [08:48:50]Malloc new data [08:48:50]oper:6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [08:48:50]total: [08:48:50]Malloc new data [08:48:50]oper:6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [08:48:50]total: [08:48:50]Malloc new data [08:48:50]KKMPrepareXReportFMData err=0 [08:48:50]Х отчет ИНН: 02508201610067 Кассир: Максатбек у Д. 12.03.2024 08:48 Смена: 266 РНМ: 0000000000092018 ЗНМ: 0300000097 СНО: Общий режим Всего чеков: 15 ИТОГИ ПРИХОД Чеков: 15 Общий итог: 5553.00 Итого наличными: 5418.00 Итого безнал.: 135.00 НДС 0% : 0.00 НДС 12% : 589.73 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 49.10 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 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 Нал. в кассе: 5418.00 НС Приход: 8057686.31 НС Возвр.Прихода: 72006.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФМ: 0000000000871816 [08:48:50]StoreToDocumentArchive [08:48:50]MH_GetDate [08:48:50]Write to MH i2c: F0 00 00 C6 4F 04 [08:48:50]Write i2c OK [08:48:50]MH_I2C_Read... [08:48:50]Read from MH i2c: F0 [08:48:50]MH_I2C_Read... [08:48:50]Read from MH i2c: F0 09 00 [08:48:50]MH_I2C_Read... [08:48:50]Read from MH i2c: F0 09 00 C6 4F 00 01 17 F0 65 0A 64 6E 65 BB [08:48:50]shift 266 fd 1710233345 [08:48:50]Create dir for shift 0266 [08:48:50]save to /storage/0266/doc_1710233345 [08:48:50]save last doc name /storage/0266/doc_1710233345 to /storage/kkm_last_doc_name [08:48:50]save OK [08:48:50]Clear old archive folders... [08:48:50]NVStorageSaveData kkm_last_timestamp [08:48:50]File name is /storage/kkm_last_timestamp [08:48:50]Write 4 bytes [08:48:50]NVStorageSaveData done [08:48:50]ExternCall_PrintAddStr [08:48:50]wPrintStart [08:48:50]Write to MH i2c: 01 00 00 C7 4F 16 [08:48:50]Write i2c OK [08:48:50]MH_I2C_Read... [08:48:50]Read from MH i2c: 01 [08:48:50]MH_I2C_Read... [08:48:50]Read from MH i2c: 01 07 00 [08:48:50]MH_I2C_Read... [08:48:50]Read from MH i2c: 01 07 00 C7 4F 00 00 00 00 00 FF 0F 2B [08:48:50]RasterBufferAndPrint [08:48:50]line Х отчет [08:48:50]line ИНН: 02508201610067 [08:48:50]line Кассир: Максатбек у Д. [08:48:50]line 12.03.2024 08:48 [08:48:50]line Смена: 266 [08:48:50]line РНМ: 0000000000092018 [08:48:50]line ЗНМ: 0300000097 [08:48:50]line СНО: Общий режим [08:48:50]line Всего чеков: 15 [08:48:50]line ИТОГИ ПРИХОД [08:48:50]line Чеков: 15 [08:48:50]line Общий итог: 5553.00 [08:48:50]line Итого наличными: 5418.00 [08:48:50]line Итого безнал.: 135.00 [08:48:50]line НДС 0% : 0.00 [08:48:50]line НДС 12% : 589.73 [08:48:50]line НСП 0% : 0.00 [08:48:50]line НСП 1,50% : 0.00 [08:48:50]line НСП 0,50% : 0.00 [08:48:50]line НСП 5% : 0.00 [08:48:50]line НСП 3% : 0.00 [08:48:50]line НСП 2% : 0.00 [08:48:50]line НСП 1% : 49.10 [08:48:50]line ИТОГИ ВОЗВРАТ ПРИХОДА [08:48:50]line Чеков: 0 [08:48:50]line Общий итог: 0.00 [08:48:50]line Итого наличными: 0.00 [08:48:50]line Итого безнал.: 0.00 [08:48:50]line НДС 0% : 0.00 [08:48:50]line НДС 12% : 0.00 [08:48:50]line НСП 0% : 0.00 [08:48:50]line НСП 1,50% : 0.00 [08:48:50]line НСП 0,50% : 0.00 [08:48:50]line НСП 5% : 0.00 [08:48:50]line НСП 3% : 0.00 [08:48:50]line НСП 2% : 0.00 [08:48:50]line НСП 1% : 0.00 [08:48:50]line ИТОГИ РАСХОД [08:48:50]line Чеков: 0 [08:48:50]line Общий итог: 0.00 [08:48:50]line Итого наличными: 0.00 [08:48:50]line Итого безнал.: 0.00 [08:48:50]line НДС 0% : 0.00 [08:48:50]line НДС 12% : 0.00 [08:48:50]line НСП 0% : 0.00 [08:48:51]line НСП 1,50% : 0.00 [08:48:51]line НСП 0,50% : 0.00 [08:48:51]line НСП 5% : 0.00 [08:48:51]line НСП 3% : 0.00 [08:48:51]line НСП 2% : 0.00 [08:48:51]line НСП 1% : 0.00 [08:48:51]line ИТОГИ ВОЗВРАТ РАСХОДА [08:48:51]line Чеков: 0 [08:48:51]line Общий итог: 0.00 [08:48:51]line Итого наличными: 0.00 [08:48:51]line Итого безнал.: 0.00 [08:48:51]line НДС 0% : 0.00 [08:48:51]line НДС 12% : 0.00 [08:48:51]line НСП 0% : 0.00 [08:48:51]line НСП 1,50% : 0.00 [08:48:51]line НСП 0,50% : 0.00 [08:48:51]line НСП 5% : 0.00 [08:48:51]line НСП 3% : 0.00 [08:48:51]line НСП 2% : 0.00 [08:48:51]line НСП 1% : 0.00 [08:48:51]line Сумма внесений: 0.00 [08:48:51]line Сумма выплат: 0.00 [08:48:51]line Нал. в кассе: 5418.00 [08:48:51]line НС Приход: 8057686.31 [08:48:51]line НС Возвр.Прихода: 72006.00 [08:48:51]line НС Расход: 0.00 [08:48:51]line НС Возвр.Расхода: 0.00 [08:48:51]line ФМ: 0000000000871816 [08:48:51]written 0, free lines is 4095 [08:48:51]Write to MH i2c: 01 00 00 12 50 62 [08:48:51]Write i2c OK [08:48:51]MH_I2C_Read... [08:48:51]Read from MH i2c: 01 [08:48:51]MH_I2C_Read... [08:48:51]Read from MH i2c: 01 07 00 [08:48:51]MH_I2C_Read... [08:48:51]Read from MH i2c: 01 07 00 12 50 00 00 00 00 00 79 0A EC [08:48:51]RasterBufferAndPrint [08:48:51]line [08:48:51]line [08:48:51]line [08:48:51]line [08:48:51]line [08:48:51]written 0, free lines is 2710 [08:48:51]MH_Cut [08:48:51]Write to MH i2c: D1 01 00 19 50 01 3B [08:48:51]Write i2c OK [08:48:51]MH_I2C_Read... [08:48:51]Read from MH i2c: D1 [08:48:51]MH_I2C_Read... [08:48:51]Read from MH i2c: D1 01 00 [08:48:51]MH_I2C_Read... [08:48:51]Read from MH i2c: D1 01 00 19 50 00 3A [08:48:51]Write to MH i2c: 01 00 00 1A 50 6A [08:48:51]Write i2c OK [08:48:51]MH_I2C_Read... [08:48:52]*** Cut start [08:48:52]*** Purtial cut [08:48:52]*** Stage 1: CUTSNS_PIN = 1 [08:48:53]Read from MH i2c: 01 [08:48:53]MH_I2C_Read... [08:48:53]*** Stop cut motor [08:48:53]*** Cut end [08:48:53]Read from MH i2c: 01 07 00 [08:48:53]MH_I2C_Read... [08:48:53]Read from MH i2c: 01 07 00 1A 50 00 00 00 00 00 FF 0F 7F [08:48:53]process_action x_report done [08:48:53]requested_data is exist [08:48:53]produce_requested_data [08:48:53]requested_item fd.num is exist - process it [08:48:53]SAM_PROTO_GetFieldsCounters [08:48:53]wFMCommunicate request_size=4 [08:48:53]MH_SAM_APDU [08:48:53]CAPDU: 80 13 00 00 [08:48:53]Write to MH i2c: E2 08 00 1B 50 80 13 00 00 00 00 00 00 E7 [08:48:53]Write i2c OK [08:48:53]MH_I2C_Read... [08:48:53]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:48:53]Read from MH i2c: E2 [08:48:53]MH_I2C_Read... [08:48:53]Read from MH i2c: E2 62 00 [08:48:53]MH_I2C_Read... [08:48:53]Read from MH i2c: E2 62 00 1B 50 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 E9 B8 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 0F 00 00 00 5E 04 04 00 0F 00 00 00 57 04 04 00 10 00 00 00 19 04 04 00 00 00 00 00 90 00 0B [08:48: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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 E9 B8 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 0F 00 00 00 5E 04 04 00 0F 00 00 00 57 04 04 00 10 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:48:53]wFMCommunicate OK [08:48:53]SAM_PROTO_GetFieldsCounters done [08:48:53]requested_item shift.num is exist - process it [08:48:53]requested_item shift.opened is exist - process it [08:48:53]req_shift_opened [08:48:53]FM_GetShiftState [08:48:53]SAM_PROTO_GetShiftState [08:48:53]wFMCommunicate request_size=4 [08:48:53]MH_SAM_APDU [08:48:53]CAPDU: 80 13 01 00 [08:48:53]Write to MH i2c: E2 08 00 1C 50 80 13 01 00 00 00 00 00 E9 [08:48:53]Write i2c OK [08:48:53]MH_I2C_Read... [08:48:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:48:53]Read from MH i2c: E2 [08:48:53]MH_I2C_Read... [08:48:53]Read from MH i2c: E2 0E 00 [08:48:53]MH_I2C_Read... [08:48:53]Read from MH i2c: E2 0E 00 1C 50 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 18 [08:48:53]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [08:48:53]wFMCommunicate OK [08:48:53]SAM_PROTO_GetShiftState done [08:48:53]FM_GetShiftState done [08:48:53]req_shift_opened done [08:48:53]requested_item shift.open_date is exist - process it [08:48:53]req_shift_open_date [08:48:53]req_shift_open_date done [08:48:53]produce_requested_data done [08:48:53]produce_requested_data return {"fd.num":47337,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [08:48:53]process_action_free x_report [08:48:53]json_value_free [08:48:53]json_value_free done [08:48:53]process_json_proto returns [08:48:53]Send response to host [08:48:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":47337,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [08:48:53]free response buf [08:48:53]execute_script done [08:48:53]execute_script returns [08:48:53]free content buf [08:48:53]Sock 7.Close socket [08:48:53]Sock 7.Thread stoped [08:48:54]OFD Sender: No OFD packet to send [08:48:59]OFD Sender: No OFD packet to send [08:49:04]OFD Sender: No OFD packet to send [08:49:09]OFD Sender: No OFD packet to send [08:49:14]OFD Sender: No OFD packet to send [08:49:19]OFD Sender: No OFD packet to send [08:49:24]OFD Sender: No OFD packet to send [08:49:29]OFD Sender: No OFD packet to send [08:49:34]OFD Sender: No OFD packet to send [08:49:39]OFD Sender: No OFD packet to send [08:49:44]OFD Sender: No OFD packet to send [08:49:49]OFD Sender: No OFD packet to send [08:49:54]OFD Sender: No OFD packet to send [08:49:59]OFD Sender: No OFD packet to send [08:50:04]OFD Sender: No OFD packet to send [08:50:09]OFD Sender: No OFD packet to send [08:50:14]OFD Sender: No OFD packet to send [08:50:19]OFD Sender: No OFD packet to send [08:50:24]OFD Sender: No OFD packet to send [08:50:29]OFD Sender: No OFD packet to send [08:50:34]OFD Sender: No OFD packet to send [08:50:39]OFD Sender: No OFD packet to send [08:50:44]OFD Sender: No OFD packet to send [08:50:49]OFD Sender: No OFD packet to send [08:50:54]OFD Sender: No OFD packet to send [08:50:59]OFD Sender: No OFD packet to send [08:51:04]OFD Sender: No OFD packet to send [08:51:09]OFD Sender: No OFD packet to send [08:51:14]OFD Sender: No OFD packet to send [08:51:19]OFD Sender: No OFD packet to send [08:51:24]OFD Sender: No OFD packet to send [08:51:29]OFD Sender: No OFD packet to send [08:51:34]OFD Sender: No OFD packet to send [08:51:39]OFD Sender: No OFD packet to send [08:51:44]OFD Sender: No OFD packet to send [08:51:49]OFD Sender: No OFD packet to send [08:51:54]OFD Sender: No OFD packet to send [08:51:59]OFD Sender: No OFD packet to send [08:52:04]OFD Sender: No OFD packet to send [08:52:09]OFD Sender: No OFD packet to send [08:52:14]OFD Sender: No OFD packet to send [08:52:19]OFD Sender: No OFD packet to send [08:52:24]OFD Sender: No OFD packet to send [08:52:29]OFD Sender: No OFD packet to send [08:52:34]OFD Sender: No OFD packet to send [08:52:39]OFD Sender: No OFD packet to send [08:52:44]OFD Sender: No OFD packet to send [08:52:49]OFD Sender: No OFD packet to send [08:52:55]OFD Sender: No OFD packet to send [08:53:00]OFD Sender: No OFD packet to send [08:53:05]OFD Sender: No OFD packet to send [08:53:10]OFD Sender: No OFD packet to send [08:53:15]OFD Sender: No OFD packet to send [08:53:20]OFD Sender: No OFD packet to send [08:53:25]OFD Sender: No OFD packet to send [08:53:30]OFD Sender: No OFD packet to send [08:53:35]OFD Sender: No OFD packet to send [08:53:40]OFD Sender: No OFD packet to send [08:53:45]OFD Sender: No OFD packet to send [08:53:50]OFD Sender: No OFD packet to send [08:53:55]OFD Sender: No OFD packet to send [08:54:00]OFD Sender: No OFD packet to send [08:54:05]OFD Sender: No OFD packet to send [08:54:10]OFD Sender: No OFD packet to send [08:54:15]OFD Sender: No OFD packet to send [08:54:20]OFD Sender: No OFD packet to send [08:54:25]OFD Sender: No OFD packet to send [08:54:30]OFD Sender: No OFD packet to send [08:54:35]OFD Sender: No OFD packet to send [08:54:40]OFD Sender: No OFD packet to send [08:54:45]OFD Sender: No OFD packet to send [08:54:50]OFD Sender: No OFD packet to send [08:54:55]OFD Sender: No OFD packet to send [08:55:00]OFD Sender: No OFD packet to send [08:55:05]OFD Sender: No OFD packet to send [08:55:10]OFD Sender: No OFD packet to send [08:55:15]OFD Sender: No OFD packet to send [08:55:20]OFD Sender: No OFD packet to send [08:55:25]OFD Sender: No OFD packet to send [08:55:30]OFD Sender: No OFD packet to send [08:55:35]OFD Sender: No OFD packet to send [08:55:40]OFD Sender: No OFD packet to send [08:55:45]OFD Sender: No OFD packet to send [08:55:50]OFD Sender: No OFD packet to send [08:55:55]OFD Sender: No OFD packet to send [08:56:00]OFD Sender: No OFD packet to send [08:56:05]OFD Sender: No OFD packet to send [08:56:10]OFD Sender: No OFD packet to send [08:56:15]OFD Sender: No OFD packet to send [08:56:20]OFD Sender: No OFD packet to send [08:56:25]OFD Sender: No OFD packet to send [08:56:30]OFD Sender: No OFD packet to send [08:56:35]OFD Sender: No OFD packet to send [08:56:40]OFD Sender: No OFD packet to send [08:56:45]OFD Sender: No OFD packet to send [08:56:50]OFD Sender: No OFD packet to send [08:56:55]OFD Sender: No OFD packet to send [08:57:00]OFD Sender: No OFD packet to send [08:57:05]OFD Sender: No OFD packet to send [08:57:10]OFD Sender: No OFD packet to send [08:57:15]OFD Sender: No OFD packet to send [08:57:20]OFD Sender: No OFD packet to send [08:57:25]OFD Sender: No OFD packet to send [08:57:30]OFD Sender: No OFD packet to send [08:57:35]OFD Sender: No OFD packet to send [08:57:40]OFD Sender: No OFD packet to send [08:57:45]OFD Sender: No OFD packet to send [08:57:50]OFD Sender: No OFD packet to send [08:57:55]OFD Sender: No OFD packet to send [08:58:00]OFD Sender: No OFD packet to send [08:58:05]OFD Sender: No OFD packet to send [08:58:10]OFD Sender: No OFD packet to send [08:58:15]OFD Sender: No OFD packet to send [08:58:20]OFD Sender: No OFD packet to send [08:58:25]OFD Sender: No OFD packet to send [08:58:30]OFD Sender: No OFD packet to send [08:58:35]OFD Sender: No OFD packet to send [08:58:40]OFD Sender: No OFD packet to send [08:58:45]OFD Sender: No OFD packet to send [08:58:50]OFD Sender: No OFD packet to send [08:58:55]OFD Sender: No OFD packet to send [08:59:00]OFD Sender: No OFD packet to send [08:59:05]OFD Sender: No OFD packet to send [08:59:10]OFD Sender: No OFD packet to send [08:59:15]OFD Sender: No OFD packet to send [08:59:20]OFD Sender: No OFD packet to send [08:59:25]OFD Sender: No OFD packet to send [08:59:30]OFD Sender: No OFD packet to send [08:59:35]OFD Sender: No OFD packet to send [08:59:40]OFD Sender: No OFD packet to send [08:59:45]OFD Sender: No OFD packet to send [08:59:50]OFD Sender: No OFD packet to send [08:59:55]OFD Sender: No OFD packet to send [09:00:00]OFD Sender: No OFD packet to send [09:00:05]OFD Sender: No OFD packet to send [09:00:10]OFD Sender: No OFD packet to send [09:00:15]OFD Sender: No OFD packet to send [09:00:20]OFD Sender: No OFD packet to send [09:00:25]OFD Sender: No OFD packet to send [09:00:30]OFD Sender: No OFD packet to send [09:00:35]OFD Sender: No OFD packet to send [09:00:40]OFD Sender: No OFD packet to send [09:00:45]OFD Sender: No OFD packet to send [09:00:50]OFD Sender: No OFD packet to send [09:00:55]OFD Sender: No OFD packet to send [09:01:00]OFD Sender: No OFD packet to send [09:01:05]OFD Sender: No OFD packet to send [09:01:07]accept exits with 9 [09:01:07]New connection [09:01:07]New thread 3066453348 created [09:01:07]Thread 3066596708 joined [09:01:07]Waiting for new connection... [09:01:07] Sock 9.Parse request [09:01:07]Sock 9.Check first char [09:01:07]Sock 9.First char is OK [09:01:07]request: POST /json_proto HTTP/1.0 [09:01:07]Method: POST [09:01:07]URL: /json_proto [09:01:07]Method is POST - this is cgi request [09:01:07]url: /json_proto [09:01:07]query_string will be loaded in cgi processing [09:01:07]execute_cgi json_proto POST (null) [09:01:07]execute_cgi path=json_proto method=POST [09:01:07]POST find Content-Length [09:01:07]Host: 172.17.32.68:8080 [09:01:07]Content-Length: 813 [09:01:07]Content-Type: application/json [09:01:07] [09:01:07]POST finish read [09:01:07]Found Content-Length = 813 [09:01:07]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242251", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 135.00, "quantity" : 2.000, "sum" : 270.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: \u0414\u0435\u043C\u0438\u0440 \u041A\u0418 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 270.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:01:07]execute_script... [09:01:07]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242251", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 135.00, "quantity" : 2.000, "sum" : 270.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: \u0414\u0435\u043C\u0438\u0440 \u041A\u0418 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 270.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:01:07]POST & json_proto [09:01:07]process_json_proto [09:01:07]json parsed OK: [09:01:07]protocol is kg_v1.0 [09:01:07]action value=close_receipt [09:01:07]process_action close_receipt [09:01:07]cmd_close_receipt [09:01:07]MH_GetDate [09:01:07]Write to MH i2c: F0 00 00 1D 50 5C [09:01:07]Write i2c OK [09:01:07]MH_I2C_Read... [09:01:07]Read from MH i2c: F0 [09:01:07]MH_I2C_Read... [09:01:07]Read from MH i2c: F0 09 00 [09:01:07]MH_I2C_Read... [09:01:07]Read from MH i2c: F0 09 00 1D 50 00 E1 19 F0 65 0A 64 6E 65 F5 [09:01:07]GetLastDocTimeStamp 1710233337 [09:01:07]current date 1710234081 [09:01:07]FM_GetShiftState [09:01:07]SAM_PROTO_GetShiftState [09:01:07]wFMCommunicate request_size=4 [09:01:07]MH_SAM_APDU [09:01:07]CAPDU: 80 13 01 00 [09:01:07]Write to MH i2c: E2 08 00 1E 50 80 13 01 00 00 00 00 00 EB [09:01:07]Write i2c OK [09:01:07]MH_I2C_Read... [09:01:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:01:07]Read from MH i2c: E2 [09:01:07]MH_I2C_Read... [09:01:07]Read from MH i2c: E2 0E 00 [09:01:07]MH_I2C_Read... [09:01:07]Read from MH i2c: E2 0E 00 1E 50 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 1A [09:01:07]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [09:01:07]wFMCommunicate OK [09:01:07]SAM_PROTO_GetShiftState done [09:01:07]FM_GetShiftState done [09:01:07]opened in 1710202417 [09:01:07]opened+sec_in_day 1710288817 [09:01:07]quantity*price = 27000 [09:01:07]sum+1 = 27001 [09:01:07]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 270.00 НСП 1% : 2.39 НДС 12% : 28.67 Наличными: 0.00 Безнал.: 270.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 16 12.03.2024 09:01 Смена: 314 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 Платежная система: Демир КИ Банк ФМ: 0000000000871816 ФД: 47338 ФПД: 50328856726528 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T090121&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47338&fm=50328856726528&tin=02508201610067®Number=0000000000092018&sum=27000 0 [09:01:08]StoreToDocumentArchive [09:01:08]shift 314 fd 47338 [09:01:08]save to /storage/0314/doc_00047338 [09:01:08]save last doc name /storage/0314/doc_00047338 to /storage/kkm_last_doc_name [09:01:08]save OK [09:01:08]Clear old archive folders... [09:01:08]Remove dir /storage/0266 [09:01:08]opendir ok [09:01:08]file . [09:01:08]file .. [09:01:08]file doc_1710233345 [09:01:08]remove file /storage/0266/doc_1710233345 [09:01:08]remove dir /storage/0266 [09:01:08]ProcessDocumentItem done err = 0, tmpTLVsize=275 [09:01:08]tlvbuf is 003CA010 [09:01:08]SAM_PROTO_ClearQueue [09:01:08]wFMCommunicate request_size=4 [09:01:08]MH_SAM_APDU [09:01:08]CAPDU: 80 09 00 00 [09:01:08]Write to MH i2c: E2 08 00 2B 50 80 09 00 00 00 00 00 00 ED [09:01:08]Write i2c OK [09:01:08]MH_I2C_Read... [09:01:08]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:01:08]Read from MH i2c: E2 [09:01:08]MH_I2C_Read... [09:01:08]Read from MH i2c: E2 03 00 [09:01:08]MH_I2C_Read... [09:01:08]Read from MH i2c: E2 03 00 2B 50 00 90 00 EF [09:01:08]RAPDU: 90 00 [09:01:08]wFMCommunicate OK [09:01:08]SAM_PROTO_ClearQueue done [09:01:08]KKMCreateOFDPacket [09:01:08]OFDProtocolAddRootSTLVToBuf [09:01:08]FM_MakeSignedData [09:01:08]FM_MakeSignedData [09:01:08]SAM_PROTO_SignData [09:01:08]wFMCommunicate request_size=4 [09:01:08]MH_SAM_APDU [09:01:08]CAPDU: 80 0D 01 02 [09:01:08]Write to MH i2c: E2 08 00 2C 50 80 0D 01 02 00 00 00 00 F5 [09:01:08]Write i2c OK [09:01:08]MH_I2C_Read... [09:01:08]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:01:08]Read from MH i2c: E2 [09:01:08]MH_I2C_Read... [09:01:08]Read from MH i2c: E2 03 00 [09:01:08]MH_I2C_Read... [09:01:08]Read from MH i2c: E2 03 00 2C 50 00 90 00 F0 [09:01:08]RAPDU: 90 00 [09:01:08]wFMCommunicate OK [09:01:08]wFMCommunicate request_size=255 [09:01:08]MH_SAM_APDU [09:01:08]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 78 69 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 69 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 33 0B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 78 69 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 E1 19 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 [09:01:08]Write to MH i2c: E2 02 01 2D 50 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 78 69 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 69 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 33 0B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 78 69 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 E1 19 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 00 00 DE [09:01:08]Write i2c OK [09:01:08]MH_I2C_Read... [09:01:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:01:08]Read from MH i2c: E2 [09:01:08]MH_I2C_Read... [09:01:08]Read from MH i2c: E2 03 00 [09:01:08]MH_I2C_Read... [09:01:08]Read from MH i2c: E2 03 00 2D 50 00 90 00 F1 [09:01:08]RAPDU: 90 00 [09:01:08]wFMCommunicate OK [09:01:08]wFMCommunicate request_size=34 [09:01:08]MH_SAM_APDU [09:01:08]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 EA B8 00 00 35 04 06 00 2D C6 19 A0 8C 00 [09:01:08]Write to MH i2c: E2 25 00 2E 50 80 0D 02 02 1D 00 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 EA B8 00 00 35 04 06 00 2D C6 19 A0 8C 00 00 00 92 [09:01:08]Write i2c OK [09:01:08]MH_I2C_Read... [09:01:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:01:08]Read from MH i2c: E2 [09:01:08]MH_I2C_Read... [09:01:08]Read from MH i2c: E2 03 00 [09:01:08]MH_I2C_Read... [09:01:08]Read from MH i2c: E2 03 00 2E 50 00 90 00 F2 [09:01:08]RAPDU: 90 00 [09:01:08]wFMCommunicate OK [09:01:08]wFMCommunicate request_size=4 [09:01:08]MH_SAM_APDU [09:01:09]CAPDU: 80 0D 03 02 [09:01:09]Write to MH i2c: E2 08 00 2F 50 80 0D 03 02 00 00 00 00 FA [09:01:09]Write i2c OK [09:01:09]MH_I2C_Read... [09:01:09]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:01:09]Read from MH i2c: E2 [09:01:09]MH_I2C_Read... [09:01:09]Read from MH i2c: E2 0B 00 [09:01:09]MH_I2C_Read... [09:01:09]Read from MH i2c: E2 0B 00 2F 50 00 93 E2 26 83 E2 77 53 DB 90 00 A0 [09:01:09]RAPDU: 93 E2 26 83 E2 77 53 DB 90 00 [09:01:09]wFMCommunicate OK [09:01:09]SAM_PROTO_SignData done [09:01:09]FM_MakeSignedData done [09:01:09]CreateOFDProtocolMessage [09:01:09]wFMCommunicate request_size=4 [09:01:09]MH_SAM_APDU [09:01:09]CAPDU: 80 11 00 00 [09:01:09]Write to MH i2c: E2 08 00 30 50 80 11 00 00 00 00 00 00 FA [09:01:09]Write i2c OK [09:01:09]MH_I2C_Read... [09:01:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:01:09]Read from MH i2c: E2 [09:01:09]MH_I2C_Read... [09:01:09]Read from MH i2c: E2 17 00 [09:01:09]MH_I2C_Read... [09:01:09]Read from MH i2c: E2 17 00 30 50 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 4C [09:01:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [09:01:09]wFMCommunicate OK [09:01:09]CreateOFDProtocolMessage done [09:01:09]OFDSenderStorePacket 47338 [09:01:09]StoreOFDPacket docnum=47338 [09:01:09]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 27 01 00 00 8E 4C 1F 01 85 92 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 78 69 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 69 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 33 0B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 78 69 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 E1 19 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 EA B8 00 00 35 04 06 00 2D C6 19 A0 8C 00 93 E2 26 83 E2 77 53 DB [09:01:09]CheckFolder [09:01:09]dirname=/storage/ofd_packets [09:01:09]CheckFolder done [09:01:09]ProducePacketName [09:01:09]name=ofd_packets/00047338 [09:01:09]NVStorageSaveData ofd_packets/00047338 [09:01:09]File name is /storage/ofd_packets/00047338 [09:01:09]Write 325 bytes [09:01:09]NVStorageSaveData done [09:01:09]OFDSenderStorePacket done [09:01:09]KKMCreateOFDPacket done [09:01:09]NVStorageSaveData kkm_last_timestamp [09:01:09]File name is /storage/kkm_last_timestamp [09:01:09]Write 4 bytes [09:01:09]NVStorageSaveData done [09:01:09]ExternCall_PrintAddStr [09:01:09]wPrintStart [09:01:09]Write to MH i2c: 01 00 00 31 50 81 [09:01:09]Write i2c OK [09:01:09]MH_I2C_Read... [09:01:09]Read from MH i2c: 01 [09:01:09]MH_I2C_Read... [09:01:09]Read from MH i2c: 01 07 00 [09:01:09]MH_I2C_Read... [09:01:09]Read from MH i2c: 01 07 00 31 50 00 00 00 00 00 FF 0F 96 [09:01:09]RasterBufferAndPrint [09:01:09]line Счет N : (3)242251 [09:01:09]line ИНН: 02508201610067 [09:01:09]line Контрольно-Кассовый Чек [09:01:09]line ПРОДАЖА [09:01:09]line Товар: 48743587 [09:01:09]line Сигареты Winston XStyle Silver [09:01:09]line 2.000 * 135.00 [09:01:09]line = 270.00 [09:01:09]line НДС 12% НСП 1% [09:01:09]line > о реализуемом товаре [09:01:09]line ИТОГО: 270.00 [09:01:09]line НСП 1% : 2.39 [09:01:09]line НДС 12% : 28.67 [09:01:09]line Наличными: 0.00 [09:01:09]line Безнал.: 270.00 [09:01:09]line Место: АЗС № 15 "Партнер Нефть" [09:01:09]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [09:01:09]line СНО: Общий режим [09:01:09]line Чек 16 12.03.2024 09:01 [09:01:09]line Смена: 314 ФФД: 1.0 [09:01:09]line ЗНМ: 0300000097 [09:01:09]line РНМ: 0000000000092018 [09:01:09]line Версия ККМ: 001 [09:01:09]line Платежная система: Демир КИ Банк [09:01:09]line ФМ: 0000000000871816 [09:01:09]line ФД: 47338 [09:01:09]line ФПД: 50328856726528 [09:01:09]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T090121&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47338&fm=50328856726528&tin=02508201610067®Number=0000000000092018&sum=27000 [09:01:09]line 0 [09:01:09]OFD Sender: Processing packet 47338 [packets to send 8, broken 7] [09:01:09]ProducePacketName [09:01:09]name=ofd_packets/00047338 [09:01:09]OFD Sender: To server: pG, [09:01:09]CommunicateWithHost lk.salyk.kg:30040 [09:01:09]ConnectInit lk.salyk.kg [09:01:09]written 0, free lines is 4095 [09:01:09]Connected sock=10 [09:01: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 31 36 27 01 00 00 8E 4C 1F 01 85 92 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 78 69 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 69 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 33 0B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 78 69 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 E1 19 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 EA B8 00 00 35 04 06 00 2D C6 19 A0 8C 00 93 E2 26 83 E2 77 53 DB [09:01: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 31 36 4F 00 00 00 92 00 47 00 A7 F3 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 EA B8 00 00 F4 03 04 00 74 C4 EF 65 B6 04 01 00 00 D2 93 E7 B3 80 E5 FE E5 [09:01:09]CommunicateWithHost err = 0 [09:01:09]CheckOFDResponse [09:01:09]1017 (14) - 77093643461234 [09:01:09]1041 (16) - 0000000000871816 [09:01:09]1040 (4) - 47338 [09:01:09]1012 (4) - 12.03.2024 02:56 [09:01:09]1206 (1) - 0 [09:01:09]OFD Sender: Remove packet 47338 [09:01:09]ProducePacketName [09:01:09]name=ofd_packets/00047338 [09:01:09]NVStorageDeleteData [09:01:09]Write to MH i2c: 01 00 00 5C 50 AC [09:01:09]Write i2c OK [09:01:09]MH_I2C_Read... [09:01:09]Read from MH i2c: 01 [09:01:09]MH_I2C_Read... [09:01:09]Read from MH i2c: 01 07 00 [09:01:09]MH_I2C_Read... [09:01:09]Read from MH i2c: 01 07 00 5C 50 00 00 00 00 00 B2 0C 71 [09:01:09]RasterBufferAndPrint [09:01:09]line [09:01:09]line [09:01:09]line [09:01:09]line [09:01:09]line [09:01:09]written 0, free lines is 3256 [09:01:09]MH_Cut [09:01:09]Write to MH i2c: D1 01 00 63 50 01 85 [09:01:09]Write i2c OK [09:01:09]MH_I2C_Read... [09:01:09]Read from MH i2c: D1 [09:01:09]MH_I2C_Read... [09:01:09]Read from MH i2c: D1 01 00 [09:01:09]MH_I2C_Read... [09:01:09]Read from MH i2c: D1 01 00 63 50 00 84 [09:01:09]Write to MH i2c: 01 00 00 64 50 B4 [09:01:09]Write i2c OK [09:01:09]MH_I2C_Read... [09:01:10]OFD Sender: No OFD packet to send [09:01:10]*** Cut start [09:01:10]*** Purtial cut [09:01:10]*** Stage 1: CUTSNS_PIN = 1 [09:01:11]Read from MH i2c: 01 [09:01:11]MH_I2C_Read... [09:01:11]*** Stop cut motor [09:01:11]*** Cut end [09:01:11]Read from MH i2c: 01 07 00 [09:01:11]MH_I2C_Read... [09:01:11]Read from MH i2c: 01 07 00 64 50 00 00 00 00 00 FF 0F C9 [09:01:11]process_action close_receipt done [09:01:11]requested_data is exist [09:01:11]produce_requested_data [09:01:11]requested_item fm.sn is exist - process it [09:01:11]wFMCommunicate request_size=4 [09:01:11]MH_SAM_APDU [09:01:11]CAPDU: 80 11 00 00 [09:01:11]Write to MH i2c: E2 08 00 65 50 80 11 00 00 00 00 00 00 2F [09:01:11]Write i2c OK [09:01:11]MH_I2C_Read... [09:01:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:01:11]Read from MH i2c: E2 [09:01:11]MH_I2C_Read... [09:01:11]Read from MH i2c: E2 17 00 [09:01:11]MH_I2C_Read... [09:01:11]Read from MH i2c: E2 17 00 65 50 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 81 [09:01:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [09:01:11]wFMCommunicate OK [09:01:11]requested_item fd.num is exist - process it [09:01:11]SAM_PROTO_GetFieldsCounters [09:01:11]wFMCommunicate request_size=4 [09:01:11]MH_SAM_APDU [09:01:11]CAPDU: 80 13 00 00 [09:01:11]Write to MH i2c: E2 08 00 66 50 80 13 00 00 00 00 00 00 32 [09:01:11]Write i2c OK [09:01:11]MH_I2C_Read... [09:01:11]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:01:11]Read from MH i2c: E2 [09:01:11]MH_I2C_Read... [09:01:11]Read from MH i2c: E2 62 00 [09:01:11]MH_I2C_Read... [09:01:11]Read from MH i2c: E2 62 00 66 50 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 EA B8 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 10 00 00 00 5E 04 04 00 10 00 00 00 57 04 04 00 11 00 00 00 19 04 04 00 00 00 00 00 90 00 5A [09:01: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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 EA B8 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 10 00 00 00 5E 04 04 00 10 00 00 00 57 04 04 00 11 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:01:11]wFMCommunicate OK [09:01:11]SAM_PROTO_GetFieldsCounters done [09:01:11]requested_item shift.num is exist - process it [09:01:11]requested_item shift.opened is exist - process it [09:01:11]req_shift_opened [09:01:11]FM_GetShiftState [09:01:11]SAM_PROTO_GetShiftState [09:01:11]wFMCommunicate request_size=4 [09:01:11]MH_SAM_APDU [09:01:11]CAPDU: 80 13 01 00 [09:01:11]Write to MH i2c: E2 08 00 67 50 80 13 01 00 00 00 00 00 34 [09:01:11]Write i2c OK [09:01:11]MH_I2C_Read... [09:01:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:01:11]Read from MH i2c: E2 [09:01:11]MH_I2C_Read... [09:01:11]Read from MH i2c: E2 0E 00 [09:01:11]MH_I2C_Read... [09:01:11]Read from MH i2c: E2 0E 00 67 50 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 63 [09:01:11]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [09:01:11]wFMCommunicate OK [09:01:11]SAM_PROTO_GetShiftState done [09:01:11]FM_GetShiftState done [09:01:11]req_shift_opened done [09:01:11]requested_item shift.open_date is exist - process it [09:01:11]req_shift_open_date [09:01:11]req_shift_open_date done [09:01:11]produce_requested_data done [09:01:11]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47338,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [09:01:11]process_action_free close_receipt [09:01:11]json_value_free [09:01:11]json_value_free done [09:01:11]process_json_proto returns [09:01:11]Send response to host [09:01:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47338,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [09:01:11]free response buf [09:01:11]execute_script done [09:01:11]execute_script returns [09:01:11]free content buf [09:01:11]Sock 9.Close socket [09:01:11]Sock 9.Thread stoped [09:01:15]OFD Sender: No OFD packet to send [09:01:17]accept exits with 7 [09:01:17]New connection [09:01:17]New thread 3066596708 created [09:01:17]Thread 3066453348 joined [09:01:17]Waiting for new connection... [09:01:17] Sock 7.Parse request [09:01:17]Sock 7.Check first char [09:01:17]Sock 7.First char is OK [09:01:17]request: POST /json_proto HTTP/1.0 [09:01:17]Method: POST [09:01:17]URL: /json_proto [09:01:17]Method is POST - this is cgi request [09:01:17]url: /json_proto [09:01:17]query_string will be loaded in cgi processing [09:01:17]execute_cgi json_proto POST (null) [09:01:17]execute_cgi path=json_proto method=POST [09:01:17]POST find Content-Length [09:01:17]Host: 172.17.32.68:8080 [09:01:17]Content-Length: 628 [09:01:17]Content-Type: application/json [09:01:17] [09:01:17]POST finish read [09:01:17]Found Content-Length = 628 [09:01:17]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242252", "tax_sys" : 0, "items" : [ { "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:01:17]execute_script... [09:01: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)242252", "tax_sys" : 0, "items" : [ { "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:01:17]POST & json_proto [09:01:17]process_json_proto [09:01:17]json parsed OK: [09:01:17]protocol is kg_v1.0 [09:01:17]action value=close_receipt [09:01:17]process_action close_receipt [09:01:17]cmd_close_receipt [09:01:17]MH_GetDate [09:01:17]Write to MH i2c: F0 00 00 68 50 A7 [09:01:17]Write i2c OK [09:01:17]MH_I2C_Read... [09:01:17]Read from MH i2c: F0 [09:01:17]MH_I2C_Read... [09:01:17]Read from MH i2c: F0 09 00 [09:01:17]MH_I2C_Read... [09:01:17]Read from MH i2c: F0 09 00 68 50 00 EB 19 F0 65 0A 64 6E 65 4A [09:01:17]GetLastDocTimeStamp 1710234081 [09:01:17]current date 1710234091 [09:01:17]FM_GetShiftState [09:01:17]SAM_PROTO_GetShiftState [09:01:17]wFMCommunicate request_size=4 [09:01:17]MH_SAM_APDU [09:01:17]CAPDU: 80 13 01 00 [09:01:17]Write to MH i2c: E2 08 00 69 50 80 13 01 00 00 00 00 00 36 [09:01:17]Write i2c OK [09:01:17]MH_I2C_Read... [09:01:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:01:17]Read from MH i2c: E2 [09:01:17]MH_I2C_Read... [09:01:17]Read from MH i2c: E2 0E 00 [09:01:17]MH_I2C_Read... [09:01:17]Read from MH i2c: E2 0E 00 69 50 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 65 [09:01:17]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [09:01:17]wFMCommunicate OK [09:01:17]SAM_PROTO_GetShiftState done [09:01:17]FM_GetShiftState done [09:01:17]opened in 1710202417 [09:01:17]opened+sec_in_day 1710288817 [09:01:17]quantity*price = 13000 [09:01:17]sum+1 = 13001 [09:01:17]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 130.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 17 12.03.2024 09:01 Смена: 314 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47339 ФПД: 230223067030350 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T090131&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47339&fm=230223067030350&tin=02508201610067®Number=0000000000092018&sum=13000 0 [09:01:18]StoreToDocumentArchive [09:01:18]shift 314 fd 47339 [09:01:18]save to /storage/0314/doc_00047339 [09:01:18]save last doc name /storage/0314/doc_00047339 to /storage/kkm_last_doc_name [09:01:18]save OK [09:01:18]Clear old archive folders... [09:01:18]ProcessDocumentItem done err = 0, tmpTLVsize=276 [09:01:18]tlvbuf is 002953F0 [09:01:18]SAM_PROTO_ClearQueue [09:01:18]wFMCommunicate request_size=4 [09:01:18]MH_SAM_APDU [09:01:18]CAPDU: 80 09 00 00 [09:01:18]Write to MH i2c: E2 08 00 76 50 80 09 00 00 00 00 00 00 38 [09:01:18]Write i2c OK [09:01:18]MH_I2C_Read... [09:01:18]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:01:18]Read from MH i2c: E2 [09:01:18]MH_I2C_Read... [09:01:18]Read from MH i2c: E2 03 00 [09:01:18]MH_I2C_Read... [09:01:18]Read from MH i2c: E2 03 00 76 50 00 90 00 3A [09:01:18]RAPDU: 90 00 [09:01:18]wFMCommunicate OK [09:01:18]SAM_PROTO_ClearQueue done [09:01:18]KKMCreateOFDPacket [09:01:18]OFDProtocolAddRootSTLVToBuf [09:01:18]FM_MakeSignedData [09:01:18]FM_MakeSignedData [09:01:18]SAM_PROTO_SignData [09:01:18]wFMCommunicate request_size=4 [09:01:18]MH_SAM_APDU [09:01:18]CAPDU: 80 0D 01 02 [09:01:18]Write to MH i2c: E2 08 00 77 50 80 0D 01 02 00 00 00 00 40 [09:01:18]Write i2c OK [09:01:18]MH_I2C_Read... [09:01:18]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:01:18]Read from MH i2c: E2 [09:01:18]MH_I2C_Read... [09:01:18]Read from MH i2c: E2 03 00 [09:01:18]MH_I2C_Read... [09:01:18]Read from MH i2c: E2 03 00 77 50 00 90 00 3B [09:01:18]RAPDU: 90 00 [09:01:18]wFMCommunicate OK [09:01:18]wFMCommunicate request_size=255 [09:01:18]MH_SAM_APDU [09:01:18]CAPDU: 80 0D 02 02 FA 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 EB 19 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 [09:01:18]Write to MH i2c: E2 02 01 78 50 80 0D 02 02 FA 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 EB 19 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 00 00 FB [09:01:18]Write i2c OK [09:01:18]MH_I2C_Read... [09:01:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:01:18]Read from MH i2c: E2 [09:01:18]MH_I2C_Read... [09:01:18]Read from MH i2c: E2 03 00 [09:01:18]MH_I2C_Read... [09:01:18]Read from MH i2c: E2 03 00 78 50 00 90 00 3C [09:01:18]RAPDU: 90 00 [09:01:18]wFMCommunicate OK [09:01:18]wFMCommunicate request_size=35 [09:01:18]MH_SAM_APDU [09:01:18]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 EB B8 00 00 35 04 06 00 D1 62 FC 21 23 4E [09:01:18]Write to MH i2c: E2 26 00 79 50 80 0D 02 02 1E 00 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 EB B8 00 00 35 04 06 00 D1 62 FC 21 23 4E 00 00 99 [09:01:18]Write i2c OK [09:01:18]MH_I2C_Read... [09:01:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:01:19]Read from MH i2c: E2 [09:01:19]MH_I2C_Read... [09:01:19]Read from MH i2c: E2 03 00 [09:01:19]MH_I2C_Read... [09:01:19]Read from MH i2c: E2 03 00 79 50 00 90 00 3D [09:01:19]RAPDU: 90 00 [09:01:19]wFMCommunicate OK [09:01:19]wFMCommunicate request_size=4 [09:01:19]MH_SAM_APDU [09:01:19]CAPDU: 80 0D 03 02 [09:01:19]Write to MH i2c: E2 08 00 7A 50 80 0D 03 02 00 00 00 00 45 [09:01:19]Write i2c OK [09:01:19]MH_I2C_Read... [09:01:19]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:01:19]Read from MH i2c: E2 [09:01:19]MH_I2C_Read... [09:01:19]Read from MH i2c: E2 0B 00 [09:01:19]MH_I2C_Read... [09:01:19]Read from MH i2c: E2 0B 00 7A 50 00 6C F5 C9 23 93 6E AC 8F 90 00 CF [09:01:19]RAPDU: 6C F5 C9 23 93 6E AC 8F 90 00 [09:01:19]wFMCommunicate OK [09:01:19]SAM_PROTO_SignData done [09:01:19]FM_MakeSignedData done [09:01:19]CreateOFDProtocolMessage [09:01:19]wFMCommunicate request_size=4 [09:01:19]MH_SAM_APDU [09:01:19]CAPDU: 80 11 00 00 [09:01:19]Write to MH i2c: E2 08 00 7B 50 80 11 00 00 00 00 00 00 45 [09:01:19]Write i2c OK [09:01:19]MH_I2C_Read... [09:01:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:01:19]Read from MH i2c: E2 [09:01:19]MH_I2C_Read... [09:01:19]Read from MH i2c: E2 17 00 [09:01:19]MH_I2C_Read... [09:01:19]Read from MH i2c: E2 17 00 7B 50 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 97 [09:01:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [09:01:19]wFMCommunicate OK [09:01:19]CreateOFDProtocolMessage done [09:01:19]OFDSenderStorePacket 47339 [09:01:19]StoreOFDPacket docnum=47339 [09:01:19]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 28 01 00 00 7B BC 20 01 74 95 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 EB 19 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 EB B8 00 00 35 04 06 00 D1 62 FC 21 23 4E 6C F5 C9 23 93 6E AC 8F [09:01:19]CheckFolder [09:01:19]dirname=/storage/ofd_packets [09:01:19]CheckFolder done [09:01:19]ProducePacketName [09:01:19]name=ofd_packets/00047339 [09:01:19]NVStorageSaveData ofd_packets/00047339 [09:01:19]File name is /storage/ofd_packets/00047339 [09:01:19]Write 326 bytes [09:01:19]NVStorageSaveData done [09:01:19]OFDSenderStorePacket done [09:01:19]KKMCreateOFDPacket done [09:01:19]NVStorageSaveData kkm_last_timestamp [09:01:19]File name is /storage/kkm_last_timestamp [09:01:19]Write 4 bytes [09:01:19]NVStorageSaveData done [09:01:19]ExternCall_PrintAddStr [09:01:19]wPrintStart [09:01:19]Write to MH i2c: 01 00 00 7C 50 CC [09:01:19]Write i2c OK [09:01:19]MH_I2C_Read... [09:01:19]Read from MH i2c: 01 [09:01:19]MH_I2C_Read... [09:01:19]Read from MH i2c: 01 07 00 [09:01:19]MH_I2C_Read... [09:01:19]Read from MH i2c: 01 07 00 7C 50 00 00 00 00 00 FF 0F E1 [09:01:19]RasterBufferAndPrint [09:01:19]line Счет N : (3)242252 [09:01:19]line ИНН: 02508201610067 [09:01:19]line Контрольно-Кассовый Чек [09:01:19]line ПРОДАЖА [09:01:19]line Товар: 2000036230011 [09:01:19]line Кофе Латте XL(GABB TRADE) [09:01:19]line 1.000 * 130.00 [09:01:19]line = 130.00 [09:01:19]line НДС 12% НСП 1% [09:01:19]line > о реализуемом товаре [09:01:19]line ИТОГО: 130.00 [09:01:19]line НСП 1% : 1.15 [09:01:19]line НДС 12% : 13.80 [09:01:19]line Наличными: 130.00 [09:01:19]line Безнал.: 0.00 [09:01:19]line Место: АЗС № 15 "Партнер Нефть" [09:01:19]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [09:01:19]line СНО: Общий режим [09:01:19]line Чек 17 12.03.2024 09:01 [09:01:19]line Смена: 314 ФФД: 1.0 [09:01:19]line ЗНМ: 0300000097 [09:01:19]line РНМ: 0000000000092018 [09:01:19]line Версия ККМ: 001 [09:01:19]line ФМ: 0000000000871816 [09:01:19]line ФД: 47339 [09:01:19]line ФПД: 230223067030350 [09:01:19]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T090131&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47339&fm=230223067030350&tin=02508201610067®Number=0000000000092018&sum=13000 [09:01:19]line 0 [09:01:19]written 0, free lines is 4095 [09:01:19]OFD Sender: Processing packet 47339 [packets to send 8, broken 7] [09:01:19]ProducePacketName [09:01:19]name=ofd_packets/00047339 [09:01:19]OFD Sender: To server: pG, [09:01:19]CommunicateWithHost lk.salyk.kg:30040 [09:01:19]ConnectInit lk.salyk.kg [09:01:19]Connected sock=11 [09:01:19]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 31 36 28 01 00 00 7B BC 20 01 74 95 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 EB 19 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 EB B8 00 00 35 04 06 00 D1 62 FC 21 23 4E 6C F5 C9 23 93 6E AC 8F [09:01: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 31 36 4F 00 00 00 D1 02 47 00 B0 90 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 31 36 10 04 04 00 EB B8 00 00 F4 03 04 00 7E C4 EF 65 B6 04 01 00 00 AD 06 DA 9D 80 18 65 17 [09:01:19]CommunicateWithHost err = 0 [09:01:19]CheckOFDResponse [09:01:19]1017 (14) - 77093643461234 [09:01:19]1041 (16) - 0000000000871816 [09:01:19]1040 (4) - 47339 [09:01:19]1012 (4) - 12.03.2024 02:57 [09:01:19]1206 (1) - 0 [09:01:19]OFD Sender: Remove packet 47339 [09:01:19]ProducePacketName [09:01:19]name=ofd_packets/00047339 [09:01:19]NVStorageDeleteData [09:01:19]Write to MH i2c: 01 00 00 A4 50 F4 [09:01:19]Write i2c OK [09:01:19]MH_I2C_Read... [09:01:19]Read from MH i2c: 01 [09:01:19]MH_I2C_Read... [09:01:19]Read from MH i2c: 01 07 00 [09:01:19]MH_I2C_Read... [09:01:19]Read from MH i2c: 01 07 00 A4 50 00 00 00 00 00 E5 0C EC [09:01:19]RasterBufferAndPrint [09:01:19]line [09:01:19]line [09:01:19]line [09:01:19]line [09:01:19]line [09:01:19]written 0, free lines is 3309 [09:01:19]MH_Cut [09:01:19]Write to MH i2c: D1 01 00 AB 50 01 CD [09:01:19]Write i2c OK [09:01:19]MH_I2C_Read... [09:01:19]Read from MH i2c: D1 [09:01:19]MH_I2C_Read... [09:01:19]Read from MH i2c: D1 01 00 [09:01:19]MH_I2C_Read... [09:01:19]Read from MH i2c: D1 01 00 AB 50 00 CC [09:01:19]Write to MH i2c: 01 00 00 AC 50 FC [09:01:19]Write i2c OK [09:01:19]MH_I2C_Read... [09:01:20]OFD Sender: No OFD packet to send [09:01:20]*** Cut start [09:01:20]*** Purtial cut [09:01:20]*** Stage 1: CUTSNS_PIN = 1 [09:01:20]Read from MH i2c: 01 [09:01:20]MH_I2C_Read... [09:01:20]*** Stop cut motor [09:01:20]*** Cut end [09:01:20]Read from MH i2c: 01 07 00 [09:01:20]MH_I2C_Read... [09:01:20]Read from MH i2c: 01 07 00 AC 50 00 00 00 00 00 FF 0F 11 [09:01:20]process_action close_receipt done [09:01:20]requested_data is exist [09:01:20]produce_requested_data [09:01:20]requested_item fm.sn is exist - process it [09:01:20]wFMCommunicate request_size=4 [09:01:20]MH_SAM_APDU [09:01:20]CAPDU: 80 11 00 00 [09:01:20]Write to MH i2c: E2 08 00 AD 50 80 11 00 00 00 00 00 00 77 [09:01:20]Write i2c OK [09:01:20]MH_I2C_Read... [09:01:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:01:20]Read from MH i2c: E2 [09:01:20]MH_I2C_Read... [09:01:20]Read from MH i2c: E2 17 00 [09:01:20]MH_I2C_Read... [09:01:20]Read from MH i2c: E2 17 00 AD 50 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 C9 [09:01:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [09:01:20]wFMCommunicate OK [09:01:20]requested_item fd.num is exist - process it [09:01:20]SAM_PROTO_GetFieldsCounters [09:01:20]wFMCommunicate request_size=4 [09:01:20]MH_SAM_APDU [09:01:20]CAPDU: 80 13 00 00 [09:01:20]Write to MH i2c: E2 08 00 AE 50 80 13 00 00 00 00 00 00 7A [09:01:20]Write i2c OK [09:01:20]MH_I2C_Read... [09:01:20]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:01:20]Read from MH i2c: E2 [09:01:20]MH_I2C_Read... [09:01:20]Read from MH i2c: E2 62 00 [09:01:20]MH_I2C_Read... [09:01:20]Read from MH i2c: E2 62 00 AE 50 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 EB B8 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 11 00 00 00 5E 04 04 00 11 00 00 00 57 04 04 00 12 00 00 00 19 04 04 00 00 00 00 00 90 00 A6 [09:01: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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 EB B8 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 11 00 00 00 5E 04 04 00 11 00 00 00 57 04 04 00 12 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:01:20]wFMCommunicate OK [09:01:20]SAM_PROTO_GetFieldsCounters done [09:01:20]requested_item shift.num is exist - process it [09:01:20]requested_item shift.opened is exist - process it [09:01:20]req_shift_opened [09:01:20]FM_GetShiftState [09:01:20]SAM_PROTO_GetShiftState [09:01:20]wFMCommunicate request_size=4 [09:01:20]MH_SAM_APDU [09:01:20]CAPDU: 80 13 01 00 [09:01:20]Write to MH i2c: E2 08 00 AF 50 80 13 01 00 00 00 00 00 7C [09:01:20]Write i2c OK [09:01:20]MH_I2C_Read... [09:01:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:01:21]Read from MH i2c: E2 [09:01:21]MH_I2C_Read... [09:01:21]Read from MH i2c: E2 0E 00 [09:01:21]MH_I2C_Read... [09:01:21]Read from MH i2c: E2 0E 00 AF 50 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 AB [09:01:21]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [09:01:21]wFMCommunicate OK [09:01:21]SAM_PROTO_GetShiftState done [09:01:21]FM_GetShiftState done [09:01:21]req_shift_opened done [09:01:21]requested_item shift.open_date is exist - process it [09:01:21]req_shift_open_date [09:01:21]req_shift_open_date done [09:01:21]produce_requested_data done [09:01:21]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47339,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [09:01:21]process_action_free close_receipt [09:01:21]json_value_free [09:01:21]json_value_free done [09:01:21]process_json_proto returns [09:01:21]Send response to host [09:01:21]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47339,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [09:01:21]free response buf [09:01:21]execute_script done [09:01:21]execute_script returns [09:01:21]free content buf [09:01:21]Sock 7.Close socket [09:01:21]Sock 7.Thread stoped [09:01:25]OFD Sender: No OFD packet to send [09:01:30]OFD Sender: No OFD packet to send [09:01:35]OFD Sender: No OFD packet to send [09:01:40]OFD Sender: No OFD packet to send [09:01:45]OFD Sender: No OFD packet to send [09:01:50]OFD Sender: No OFD packet to send [09:01:55]OFD Sender: No OFD packet to send [09:02:00]OFD Sender: No OFD packet to send [09:02:05]OFD Sender: No OFD packet to send [09:02:10]OFD Sender: No OFD packet to send [09:02:15]OFD Sender: No OFD packet to send [09:02:20]OFD Sender: No OFD packet to send [09:02:25]OFD Sender: No OFD packet to send [09:02:30]OFD Sender: No OFD packet to send [09:02:35]OFD Sender: No OFD packet to send [09:02:40]OFD Sender: No OFD packet to send [09:02:45]OFD Sender: No OFD packet to send [09:02:50]OFD Sender: No OFD packet to send [09:02:55]OFD Sender: No OFD packet to send [09:03:00]OFD Sender: No OFD packet to send [09:03:05]OFD Sender: No OFD packet to send [09:03:10]OFD Sender: No OFD packet to send [09:03:15]OFD Sender: No OFD packet to send [09:03:20]OFD Sender: No OFD packet to send [09:03:25]OFD Sender: No OFD packet to send [09:03:30]OFD Sender: No OFD packet to send [09:03:35]OFD Sender: No OFD packet to send [09:03:40]OFD Sender: No OFD packet to send [09:03:45]OFD Sender: No OFD packet to send [09:03:50]OFD Sender: No OFD packet to send [09:03:55]OFD Sender: No OFD packet to send [09:04:00]OFD Sender: No OFD packet to send [09:04:05]OFD Sender: No OFD packet to send [09:04:10]OFD Sender: No OFD packet to send [09:04:15]OFD Sender: No OFD packet to send [09:04:20]OFD Sender: No OFD packet to send [09:04:25]OFD Sender: No OFD packet to send [09:04:30]OFD Sender: No OFD packet to send [09:04:35]OFD Sender: No OFD packet to send [09:04:40]OFD Sender: No OFD packet to send [09:04:45]OFD Sender: No OFD packet to send [09:04:50]OFD Sender: No OFD packet to send [09:04:55]OFD Sender: No OFD packet to send [09:05:00]OFD Sender: No OFD packet to send [09:05:05]OFD Sender: No OFD packet to send [09:05:10]OFD Sender: No OFD packet to send [09:05:15]OFD Sender: No OFD packet to send [09:05:20]OFD Sender: No OFD packet to send [09:05:25]OFD Sender: No OFD packet to send [09:05:30]OFD Sender: No OFD packet to send [09:05:35]OFD Sender: No OFD packet to send [09:05:40]OFD Sender: No OFD packet to send [09:05:45]OFD Sender: No OFD packet to send [09:05:50]OFD Sender: No OFD packet to send [09:05:55]OFD Sender: No OFD packet to send [09:06:00]OFD Sender: No OFD packet to send [09:06:05]OFD Sender: No OFD packet to send [09:06:10]OFD Sender: No OFD packet to send [09:06:15]OFD Sender: No OFD packet to send [09:06:20]OFD Sender: No OFD packet to send [09:06:25]OFD Sender: No OFD packet to send [09:06:30]OFD Sender: No OFD packet to send [09:06:35]OFD Sender: No OFD packet to send [09:06:40]OFD Sender: No OFD packet to send [09:06:45]OFD Sender: No OFD packet to send [09:06:50]OFD Sender: No OFD packet to send [09:06:55]OFD Sender: No OFD packet to send [09:07:00]OFD Sender: No OFD packet to send [09:07:05]OFD Sender: No OFD packet to send [09:07:10]OFD Sender: No OFD packet to send [09:07:15]OFD Sender: No OFD packet to send [09:07:20]OFD Sender: No OFD packet to send [09:07:25]OFD Sender: No OFD packet to send [09:07:30]OFD Sender: No OFD packet to send [09:07:35]OFD Sender: No OFD packet to send [09:07:40]OFD Sender: No OFD packet to send [09:07:45]OFD Sender: No OFD packet to send [09:07:50]OFD Sender: No OFD packet to send [09:07:55]OFD Sender: No OFD packet to send [09:08:00]OFD Sender: No OFD packet to send [09:08:05]OFD Sender: No OFD packet to send [09:08:10]OFD Sender: No OFD packet to send [09:08:15]OFD Sender: No OFD packet to send [09:08:20]OFD Sender: No OFD packet to send [09:08:25]OFD Sender: No OFD packet to send [09:08:30]OFD Sender: No OFD packet to send [09:08:35]OFD Sender: No OFD packet to send [09:08:40]OFD Sender: No OFD packet to send [09:08:45]OFD Sender: No OFD packet to send [09:08:50]OFD Sender: No OFD packet to send [09:08:55]OFD Sender: No OFD packet to send [09:09:00]OFD Sender: No OFD packet to send [09:09:05]OFD Sender: No OFD packet to send [09:09:10]OFD Sender: No OFD packet to send [09:09:15]OFD Sender: No OFD packet to send [09:09:20]OFD Sender: No OFD packet to send [09:09:25]OFD Sender: No OFD packet to send [09:09:30]OFD Sender: No OFD packet to send [09:09:35]OFD Sender: No OFD packet to send [09:09:40]OFD Sender: No OFD packet to send [09:09:45]OFD Sender: No OFD packet to send [09:09:50]OFD Sender: No OFD packet to send [09:09:55]OFD Sender: No OFD packet to send [09:10:00]OFD Sender: No OFD packet to send [09:10:05]OFD Sender: No OFD packet to send [09:10:10]OFD Sender: No OFD packet to send [09:10:15]OFD Sender: No OFD packet to send [09:10:20]OFD Sender: No OFD packet to send [09:10:25]OFD Sender: No OFD packet to send [09:10:30]OFD Sender: No OFD packet to send [09:10:35]OFD Sender: No OFD packet to send [09:10:40]OFD Sender: No OFD packet to send [09:10:45]OFD Sender: No OFD packet to send [09:10:50]OFD Sender: No OFD packet to send [09:10:55]OFD Sender: No OFD packet to send [09:11:00]OFD Sender: No OFD packet to send [09:11:05]OFD Sender: No OFD packet to send [09:11:10]OFD Sender: No OFD packet to send [09:11:15]OFD Sender: No OFD packet to send [09:11:20]OFD Sender: No OFD packet to send [09:11:25]OFD Sender: No OFD packet to send [09:11:30]OFD Sender: No OFD packet to send [09:11:35]OFD Sender: No OFD packet to send [09:11:40]OFD Sender: No OFD packet to send [09:11:45]OFD Sender: No OFD packet to send [09:11:50]OFD Sender: No OFD packet to send [09:11:55]OFD Sender: No OFD packet to send [09:12:00]OFD Sender: No OFD packet to send [09:12:05]OFD Sender: No OFD packet to send [09:12:10]OFD Sender: No OFD packet to send [09:12:15]OFD Sender: No OFD packet to send [09:12:20]OFD Sender: No OFD packet to send [09:12:25]OFD Sender: No OFD packet to send [09:12:30]OFD Sender: No OFD packet to send [09:12:35]OFD Sender: No OFD packet to send [09:12:40]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:20]OFD Sender: No OFD packet to send [09:13:25]OFD Sender: No OFD packet to send [09:13:30]OFD Sender: No OFD packet to send [09:13:35]OFD Sender: No OFD packet to send [09:13:40]OFD Sender: No OFD packet to send [09:13:45]OFD Sender: No OFD packet to send [09:13:50]OFD Sender: No OFD packet to send [09:13:55]OFD Sender: No OFD packet to send [09:14:00]OFD Sender: No OFD packet to send [09:14:05]OFD Sender: No OFD packet to send [09:14:10]OFD Sender: No OFD packet to send [09:14:15]OFD Sender: No OFD packet to send [09:14:20]OFD Sender: No OFD packet to send [09:14:25]OFD Sender: No OFD packet to send [09:14:30]OFD Sender: No OFD packet to send [09:14:35]OFD Sender: No OFD packet to send [09:14:40]OFD Sender: No OFD packet to send [09:14:45]OFD Sender: No OFD packet to send [09:14:50]OFD Sender: No OFD packet to send [09:14:55]OFD Sender: No OFD packet to send [09:15:00]OFD Sender: No OFD packet to send [09:15:05]OFD Sender: No OFD packet to send [09:15:10]OFD Sender: No OFD packet to send [09:15:15]OFD Sender: No OFD packet to send [09:15:20]OFD Sender: No OFD packet to send [09:15:25]OFD Sender: No OFD packet to send [09:15:30]OFD Sender: No OFD packet to send [09:15:35]OFD Sender: No OFD packet to send [09:15:40]OFD Sender: No OFD packet to send [09:15:45]OFD Sender: No OFD packet to send [09:15:50]OFD Sender: No OFD packet to send [09:15:55]OFD Sender: No OFD packet to send [09:16:00]OFD Sender: No OFD packet to send [09:16:05]OFD Sender: No OFD packet to send [09:16:10]OFD Sender: No OFD packet to send [09:16:15]OFD Sender: No OFD packet to send [09:16:20]OFD Sender: No OFD packet to send [09:16:25]OFD Sender: No OFD packet to send [09:16:30]OFD Sender: No OFD packet to send [09:16:35]OFD Sender: No OFD packet to send [09:16:40]OFD Sender: No OFD packet to send [09:16:45]OFD Sender: No OFD packet to send [09:16:50]OFD Sender: No OFD packet to send [09:16:55]OFD Sender: No OFD packet to send [09:17:00]OFD Sender: No OFD packet to send [09:17:05]OFD Sender: No OFD packet to send [09:17:10]OFD Sender: No OFD packet to send [09:17:15]OFD Sender: No OFD packet to send [09:17:20]OFD Sender: No OFD packet to send [09:17:25]OFD Sender: No OFD packet to send [09:17:30]OFD Sender: No OFD packet to send [09:17:35]OFD Sender: No OFD packet to send [09:17:40]OFD Sender: No OFD packet to send [09:17:45]OFD Sender: No OFD packet to send [09:17:50]OFD Sender: No OFD packet to send [09:17:55]OFD Sender: No OFD packet to send [09:18:00]OFD Sender: No OFD packet to send [09:18:05]OFD Sender: No OFD packet to send [09:18:10]OFD Sender: No OFD packet to send [09:18:15]OFD Sender: No OFD packet to send [09:18:20]OFD Sender: No OFD packet to send [09:18:25]OFD Sender: No OFD packet to send [09:18:30]OFD Sender: No OFD packet to send [09:18:35]OFD Sender: No OFD packet to send [09:18:40]OFD Sender: No OFD packet to send [09:18:45]OFD Sender: No OFD packet to send [09:18:50]OFD Sender: No OFD packet to send [09:18:55]OFD Sender: No OFD packet to send [09:19:00]OFD Sender: No OFD packet to send [09:19:05]OFD Sender: No OFD packet to send [09:19:10]OFD Sender: No OFD packet to send [09:19:15]OFD Sender: No OFD packet to send [09:19:20]OFD Sender: No OFD packet to send [09:19:25]OFD Sender: No OFD packet to send [09:19:30]OFD Sender: No OFD packet to send [09:19:35]OFD Sender: No OFD packet to send [09:19:40]OFD Sender: No OFD packet to send [09:19:45]OFD Sender: No OFD packet to send [09:19:50]OFD Sender: No OFD packet to send [09:19:55]OFD Sender: No OFD packet to send [09:20:00]OFD Sender: No OFD packet to send [09:20:05]OFD Sender: No OFD packet to send [09:20:10]OFD Sender: No OFD packet to send [09:20:15]OFD Sender: No OFD packet to send [09:20:20]OFD Sender: No OFD packet to send [09:20:25]OFD Sender: No OFD packet to send [09:20:30]OFD Sender: No OFD packet to send [09:20:35]OFD Sender: No OFD packet to send [09:20:40]OFD Sender: No OFD packet to send [09:20:45]OFD Sender: No OFD packet to send [09:20:50]OFD Sender: No OFD packet to send [09:20:54]accept exits with 9 [09:20:54]New connection [09:20:54]New thread 3066453348 created [09:20:54]Thread 3066596708 joined [09:20:54]Waiting for new connection... [09:20:54] Sock 9.Parse request [09:20:54]Sock 9.Check first char [09:20:54]Sock 9.First char is OK [09:20:54]request: POST /json_proto HTTP/1.0 [09:20:54]Method: POST [09:20:54]URL: /json_proto [09:20:54]Method is POST - this is cgi request [09:20:54]url: /json_proto [09:20:54]query_string will be loaded in cgi processing [09:20:54]execute_cgi json_proto POST (null) [09:20:54]execute_cgi path=json_proto method=POST [09:20:54]POST find Content-Length [09:20:54]Host: 172.17.32.68:8080 [09:20:54]Content-Length: 725 [09:20:54]Content-Type: application/json [09:20:54] [09:20:54]POST finish read [09:20:54]Found Content-Length = 725 [09:20:54]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242253", "tax_sys" : 0, "items" : [ { "code": "4870202521179", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B\u043E\u0434\u043D\u044B\u0439 MAXI \u0447\u0435\u0440\u043D\u044B\u0439 \u043F\u0435\u0440\u0441\u0438\u043A \u041F\u042D\u0422 0,45", "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" ] } } [09:20:54]execute_script... [09:20: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)242253", "tax_sys" : 0, "items" : [ { "code": "4870202521179", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B\u043E\u0434\u043D\u044B\u0439 MAXI \u0447\u0435\u0440\u043D\u044B\u0439 \u043F\u0435\u0440\u0441\u0438\u043A \u041F\u042D\u0422 0,45", "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" ] } } [09:20:54]POST & json_proto [09:20:54]process_json_proto [09:20:54]json parsed OK: [09:20:54]protocol is kg_v1.0 [09:20:54]action value=close_receipt [09:20:54]process_action close_receipt [09:20:54]cmd_close_receipt [09:20:54]MH_GetDate [09:20:54]Write to MH i2c: F0 00 00 B0 50 EF [09:20:54]Write i2c OK [09:20:54]MH_I2C_Read... [09:20:54]Read from MH i2c: F0 [09:20:54]MH_I2C_Read... [09:20:54]Read from MH i2c: F0 09 00 [09:20:54]MH_I2C_Read... [09:20:54]Read from MH i2c: F0 09 00 B0 50 00 84 1E F0 65 0A 64 6E 65 30 [09:20:54]GetLastDocTimeStamp 1710234091 [09:20:54]current date 1710235268 [09:20:54]FM_GetShiftState [09:20:54]SAM_PROTO_GetShiftState [09:20:54]wFMCommunicate request_size=4 [09:20:54]MH_SAM_APDU [09:20:54]CAPDU: 80 13 01 00 [09:20:54]Write to MH i2c: E2 08 00 B1 50 80 13 01 00 00 00 00 00 7E [09:20:54]Write i2c OK [09:20:54]MH_I2C_Read... [09:20:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:20:54]Read from MH i2c: E2 [09:20:54]MH_I2C_Read... [09:20:54]Read from MH i2c: E2 0E 00 [09:20:54]MH_I2C_Read... [09:20:54]Read from MH i2c: E2 0E 00 B1 50 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 AD [09:20:54]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [09:20:54]wFMCommunicate OK [09:20:54]SAM_PROTO_GetShiftState done [09:20:54]FM_GetShiftState done [09:20:54]opened in 1710202417 [09:20:54]opened+sec_in_day 1710288817 [09:20:54]quantity*price = 7000 [09:20:54]sum+1 = 7001 [09:20:54]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 70.00 НСП 1% : 0.62 НДС 12% : 7.43 Наличными: 70.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 18 12.03.2024 09:21 Смена: 314 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47340 ФПД: 99413524088587 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T092109&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47340&fm=99413524088587&tin=02508201610067®Number=0000000000092018&sum=7000 0 [09:20:55]StoreToDocumentArchive [09:20:55]shift 314 fd 47340 [09:20:55]save to /storage/0314/doc_00047340 [09:20:55]save last doc name /storage/0314/doc_00047340 to /storage/kkm_last_doc_name [09:20:55]save OK [09:20:55]Clear old archive folders... [09:20:55]ProcessDocumentItem done err = 0, tmpTLVsize=308 [09:20:55]tlvbuf is 0027CBF0 [09:20:55]SAM_PROTO_ClearQueue [09:20:55]wFMCommunicate request_size=4 [09:20:55]MH_SAM_APDU [09:20:55]CAPDU: 80 09 00 00 [09:20:55]Write to MH i2c: E2 08 00 BE 50 80 09 00 00 00 00 00 00 80 [09:20:55]Write i2c OK [09:20:55]MH_I2C_Read... [09:20:55]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:20:55]Read from MH i2c: E2 [09:20:55]MH_I2C_Read... [09:20:55]Read from MH i2c: E2 03 00 [09:20:55]MH_I2C_Read... [09:20:55]Read from MH i2c: E2 03 00 BE 50 00 90 00 82 [09:20:55]RAPDU: 90 00 [09:20:55]wFMCommunicate OK [09:20:55]SAM_PROTO_ClearQueue done [09:20:55]KKMCreateOFDPacket [09:20:55]OFDProtocolAddRootSTLVToBuf [09:20:55]FM_MakeSignedData [09:20:55]FM_MakeSignedData [09:20:55]SAM_PROTO_SignData [09:20:55]wFMCommunicate request_size=4 [09:20:55]MH_SAM_APDU [09:20:55]CAPDU: 80 0D 01 02 [09:20:55]Write to MH i2c: E2 08 00 BF 50 80 0D 01 02 00 00 00 00 88 [09:20:55]Write i2c OK [09:20:55]MH_I2C_Read... [09:20:55]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:20:55]Read from MH i2c: E2 [09:20:55]MH_I2C_Read... [09:20:55]Read from MH i2c: E2 03 00 [09:20:55]MH_I2C_Read... [09:20:55]Read from MH i2c: E2 03 00 BF 50 00 90 00 83 [09:20:55]RAPDU: 90 00 [09:20:55]wFMCommunicate OK [09:20:55]wFMCommunicate request_size=255 [09:20:55]MH_SAM_APDU [09:20:55]CAPDU: 80 0D 02 02 FA 03 00 34 01 1E 04 01 00 01 23 04 86 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 31 37 39 06 04 42 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 4D 41 58 49 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 30 2C 34 35 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 12 00 00 00 F4 03 04 00 85 1E F0 65 0E 04 04 00 3A 01 00 00 B9 [09:20:55]Write to MH i2c: E2 02 01 C0 50 80 0D 02 02 FA 00 03 00 34 01 1E 04 01 00 01 23 04 86 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 31 37 39 06 04 42 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 4D 41 58 49 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 30 2C 34 35 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 12 00 00 00 F4 03 04 00 85 1E F0 65 0E 04 04 00 3A 01 00 00 B9 00 00 A5 [09:20:55]Write i2c OK [09:20:55]MH_I2C_Read... [09:20:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:20:55]Read from MH i2c: E2 [09:20:55]MH_I2C_Read... [09:20:55]Read from MH i2c: E2 03 00 [09:20:55]MH_I2C_Read... [09:20:55]Read from MH i2c: E2 03 00 C0 50 00 90 00 84 [09:20:55]RAPDU: 90 00 [09:20:55]wFMCommunicate OK [09:20:55]wFMCommunicate request_size=67 [09:20:55]MH_SAM_APDU [09:20:55]CAPDU: 80 0D 02 02 3E 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 EC B8 00 00 35 04 06 00 5A 6A 83 CA 07 0B [09:20:55]Write to MH i2c: E2 46 00 C1 50 80 0D 02 02 3E 00 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 EC B8 00 00 35 04 06 00 5A 6A 83 CA 07 0B 00 00 A4 [09:20:55]Write i2c OK [09:20:55]MH_I2C_Read... [09:20:55]OFD Sender: No OFD packet to send [09:20:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:20:55]Read from MH i2c: E2 [09:20:55]MH_I2C_Read... [09:20:55]Read from MH i2c: E2 03 00 [09:20:55]MH_I2C_Read... [09:20:56]Read from MH i2c: E2 03 00 C1 50 00 90 00 85 [09:20:56]RAPDU: 90 00 [09:20:56]wFMCommunicate OK [09:20:56]wFMCommunicate request_size=4 [09:20:56]MH_SAM_APDU [09:20:56]CAPDU: 80 0D 03 02 [09:20:56]Write to MH i2c: E2 08 00 C2 50 80 0D 03 02 00 00 00 00 8D [09:20:56]Write i2c OK [09:20:56]MH_I2C_Read... [09:20:56]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:20:56]Read from MH i2c: E2 [09:20:56]MH_I2C_Read... [09:20:56]Read from MH i2c: E2 0B 00 [09:20:56]MH_I2C_Read... [09:20:56]Read from MH i2c: E2 0B 00 C2 50 00 E1 AD C1 E4 60 15 B5 AD 90 00 98 [09:20:56]RAPDU: E1 AD C1 E4 60 15 B5 AD 90 00 [09:20:56]wFMCommunicate OK [09:20:56]SAM_PROTO_SignData done [09:20:56]FM_MakeSignedData done [09:20:56]CreateOFDProtocolMessage [09:20:56]wFMCommunicate request_size=4 [09:20:56]MH_SAM_APDU [09:20:56]CAPDU: 80 11 00 00 [09:20:56]Write to MH i2c: E2 08 00 C3 50 80 11 00 00 00 00 00 00 8D [09:20:56]Write i2c OK [09:20:56]MH_I2C_Read... [09:20:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:20:56]Read from MH i2c: E2 [09:20:56]MH_I2C_Read... [09:20:56]Read from MH i2c: E2 17 00 [09:20:56]MH_I2C_Read... [09:20:56]Read from MH i2c: E2 17 00 C3 50 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 DF [09:20:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [09:20:56]wFMCommunicate OK [09:20:56]CreateOFDProtocolMessage done [09:20:56]OFDSenderStorePacket 47340 [09:20:56]StoreOFDPacket docnum=47340 [09:20:56]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 48 01 00 00 08 EE 40 01 DE 25 5A 03 01 00 03 00 34 01 1E 04 01 00 01 23 04 86 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 31 37 39 06 04 42 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 4D 41 58 49 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 30 2C 34 35 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 12 00 00 00 F4 03 04 00 85 1E F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 EC B8 00 00 35 04 06 00 5A 6A 83 CA 07 0B E1 AD C1 E4 60 15 B5 AD [09:20:56]CheckFolder [09:20:56]dirname=/storage/ofd_packets [09:20:56]CheckFolder done [09:20:56]ProducePacketName [09:20:56]name=ofd_packets/00047340 [09:20:56]NVStorageSaveData ofd_packets/00047340 [09:20:56]File name is /storage/ofd_packets/00047340 [09:20:56]Write 358 bytes [09:20:56]NVStorageSaveData done [09:20:56]OFDSenderStorePacket done [09:20:56]KKMCreateOFDPacket done [09:20:56]NVStorageSaveData kkm_last_timestamp [09:20:56]File name is /storage/kkm_last_timestamp [09:20:56]Write 4 bytes [09:20:56]NVStorageSaveData done [09:20:56]ExternCall_PrintAddStr [09:20:56]wPrintStart [09:20:56]Write to MH i2c: 01 00 00 C4 50 14 [09:20:56]Write i2c OK [09:20:56]MH_I2C_Read... [09:20:56]Read from MH i2c: 01 [09:20:56]MH_I2C_Read... [09:20:56]Read from MH i2c: 01 07 00 [09:20:56]MH_I2C_Read... [09:20:56]Read from MH i2c: 01 07 00 C4 50 00 00 00 00 00 FF 0F 29 [09:20:56]RasterBufferAndPrint [09:20:56]line Счет N : (3)242253 [09:20:56]line ИНН: 02508201610067 [09:20:56]line Контрольно-Кассовый Чек [09:20:56]line ПРОДАЖА [09:20:56]line Товар: 4870202521179 [09:20:56]line Чай холодный MAXI черный персик ПЭТ 0,45 [09:20:56]line 1.000 * 70.00 [09:20:56]line = 70.00 [09:20:56]line НДС 12% НСП 1% [09:20:56]line > о реализуемом товаре [09:20:56]line ИТОГО: 70.00 [09:20:56]line НСП 1% : 0.62 [09:20:56]line НДС 12% : 7.43 [09:20:56]line Наличными: 70.00 [09:20:56]line Безнал.: 0.00 [09:20:56]line Место: АЗС № 15 "Партнер Нефть" [09:20:56]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [09:20:56]line СНО: Общий режим [09:20:56]line Чек 18 12.03.2024 09:21 [09:20:56]line Смена: 314 ФФД: 1.0 [09:20:56]line ЗНМ: 0300000097 [09:20:56]line РНМ: 0000000000092018 [09:20:56]line Версия ККМ: 001 [09:20:56]line ФМ: 0000000000871816 [09:20:56]line ФД: 47340 [09:20:56]line ФПД: 99413524088587 [09:20:56]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T092109&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47340&fm=99413524088587&tin=02508201610067®Number=0000000000092018&sum=7000 [09:20:56]line 0 [09:20:56]OFD Sender: Processing packet 47340 [packets to send 8, broken 7] [09:20:56]ProducePacketName [09:20:56]name=ofd_packets/00047340 [09:20:56]OFD Sender: To server: pG, [09:20:56]CommunicateWithHost lk.salyk.kg:30040 [09:20:56]ConnectInit lk.salyk.kg [09:20:56]written 0, free lines is 4095 [09:20:56]Connected sock=10 [09:20: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 31 36 48 01 00 00 08 EE 40 01 DE 25 5A 03 01 00 03 00 34 01 1E 04 01 00 01 23 04 86 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 31 37 39 06 04 42 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 4D 41 58 49 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 30 2C 34 35 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 12 00 00 00 F4 03 04 00 85 1E F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 EC B8 00 00 35 04 06 00 5A 6A 83 CA 07 0B E1 AD C1 E4 60 15 B5 AD [09:20: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 31 36 4F 00 00 00 CB 28 47 00 06 11 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 EC B8 00 00 F4 03 04 00 17 C9 EF 65 B6 04 01 00 00 D6 62 7B 4C BD E7 A7 37 [09:20:56]CommunicateWithHost err = 0 [09:20:56]CheckOFDResponse [09:20:56]1017 (14) - 77093643461234 [09:20:56]1041 (16) - 0000000000871816 [09:20:56]1040 (4) - 47340 [09:20:56]1012 (4) - 12.03.2024 03:16 [09:20:56]1206 (1) - 0 [09:20:56]OFD Sender: Remove packet 47340 [09:20:56]ProducePacketName [09:20:56]name=ofd_packets/00047340 [09:20:56]NVStorageDeleteData [09:20:56]Write to MH i2c: 01 00 00 ED 50 3D [09:20:56]Write i2c OK [09:20:56]MH_I2C_Read... [09:20:56]Read from MH i2c: 01 [09:20:56]MH_I2C_Read... [09:20:56]Read from MH i2c: 01 07 00 [09:20:56]MH_I2C_Read... [09:20:56]Read from MH i2c: 01 07 00 ED 50 00 00 00 00 00 C8 0C 18 [09:20:56]RasterBufferAndPrint [09:20:56]line [09:20:56]line [09:20:56]line [09:20:56]line [09:20:56]line [09:20:56]written 0, free lines is 3276 [09:20:56]MH_Cut [09:20:56]Write to MH i2c: D1 01 00 F4 50 01 16 [09:20:56]Write i2c OK [09:20:56]MH_I2C_Read... [09:20:56]Read from MH i2c: D1 [09:20:56]MH_I2C_Read... [09:20:56]Read from MH i2c: D1 01 00 [09:20:56]MH_I2C_Read... [09:20:56]Read from MH i2c: D1 01 00 F4 50 00 15 [09:20:56]Write to MH i2c: 01 00 00 F5 50 45 [09:20:56]Write i2c OK [09:20:56]MH_I2C_Read... [09:20:57]OFD Sender: No OFD packet to send [09:20:57]*** Cut start [09:20:57]*** Purtial cut [09:20:57]*** Stage 1: CUTSNS_PIN = 1 [09:20:57]Read from MH i2c: 01 [09:20:58]MH_I2C_Read... [09:20:58]*** Stop cut motor [09:20:58]*** Cut end [09:20:58]Read from MH i2c: 01 07 00 [09:20:58]MH_I2C_Read... [09:20:58]Read from MH i2c: 01 07 00 F5 50 00 00 00 00 00 FF 0F 5A [09:20:58]process_action close_receipt done [09:20:58]requested_data is exist [09:20:58]produce_requested_data [09:20:58]requested_item fm.sn is exist - process it [09:20:58]wFMCommunicate request_size=4 [09:20:58]MH_SAM_APDU [09:20:58]CAPDU: 80 11 00 00 [09:20:58]Write to MH i2c: E2 08 00 F6 50 80 11 00 00 00 00 00 00 C0 [09:20:58]Write i2c OK [09:20:58]MH_I2C_Read... [09:20:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:20:58]Read from MH i2c: E2 [09:20:58]MH_I2C_Read... [09:20:58]Read from MH i2c: E2 17 00 [09:20:58]MH_I2C_Read... [09:20:58]Read from MH i2c: E2 17 00 F6 50 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 12 [09:20:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [09:20:58]wFMCommunicate OK [09:20:58]requested_item fd.num is exist - process it [09:20:58]SAM_PROTO_GetFieldsCounters [09:20:58]wFMCommunicate request_size=4 [09:20:58]MH_SAM_APDU [09:20:58]CAPDU: 80 13 00 00 [09:20:58]Write to MH i2c: E2 08 00 F7 50 80 13 00 00 00 00 00 00 C3 [09:20:58]Write i2c OK [09:20:58]MH_I2C_Read... [09:20:58]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:20:58]Read from MH i2c: E2 [09:20:58]MH_I2C_Read... [09:20:58]Read from MH i2c: E2 62 00 [09:20:58]MH_I2C_Read... [09:20:58]Read from MH i2c: E2 62 00 F7 50 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 EC B8 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 12 00 00 00 5E 04 04 00 12 00 00 00 57 04 04 00 13 00 00 00 19 04 04 00 00 00 00 00 90 00 F3 [09:20:58]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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 EC B8 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 12 00 00 00 5E 04 04 00 12 00 00 00 57 04 04 00 13 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:20:58]wFMCommunicate OK [09:20:58]SAM_PROTO_GetFieldsCounters done [09:20:58]requested_item shift.num is exist - process it [09:20:58]requested_item shift.opened is exist - process it [09:20:58]req_shift_opened [09:20:58]FM_GetShiftState [09:20:58]SAM_PROTO_GetShiftState [09:20:58]wFMCommunicate request_size=4 [09:20:58]MH_SAM_APDU [09:20:58]CAPDU: 80 13 01 00 [09:20:58]Write to MH i2c: E2 08 00 F8 50 80 13 01 00 00 00 00 00 C5 [09:20:58]Write i2c OK [09:20:58]MH_I2C_Read... [09:20:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:20:58]Read from MH i2c: E2 [09:20:58]MH_I2C_Read... [09:20:58]Read from MH i2c: E2 0E 00 [09:20:58]MH_I2C_Read... [09:20:58]Read from MH i2c: E2 0E 00 F8 50 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 F4 [09:20:58]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [09:20:58]wFMCommunicate OK [09:20:58]SAM_PROTO_GetShiftState done [09:20:58]FM_GetShiftState done [09:20:58]req_shift_opened done [09:20:58]requested_item shift.open_date is exist - process it [09:20:58]req_shift_open_date [09:20:58]req_shift_open_date done [09:20:58]produce_requested_data done [09:20:58]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47340,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [09:20:58]process_action_free close_receipt [09:20:58]json_value_free [09:20:58]json_value_free done [09:20:58]process_json_proto returns [09:20:58]Send response to host [09:20:58]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47340,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [09:20:58]free response buf [09:20:58]execute_script done [09:20:58]execute_script returns [09:20:58]free content buf [09:20:58]Sock 9.Close socket [09:20:58]Sock 9.Thread stoped [09:21:02]OFD Sender: No OFD packet to send [09:21:07]OFD Sender: No OFD packet to send [09:21:12]OFD Sender: No OFD packet to send [09:21:17]OFD Sender: No OFD packet to send [09:21:22]OFD Sender: No OFD packet to send [09:21:23]accept exits with 7 [09:21:23]New connection [09:21:23]New thread 3066596708 created [09:21:23]Thread 3066453348 joined [09:21:23]Waiting for new connection... [09:21:23] Sock 7.Parse request [09:21:23]Sock 7.Check first char [09:21:23]Sock 7.First char is OK [09:21:23]request: POST /json_proto HTTP/1.0 [09:21:23]Method: POST [09:21:23]URL: /json_proto [09:21:23]Method is POST - this is cgi request [09:21:23]url: /json_proto [09:21:23]query_string will be loaded in cgi processing [09:21:23]execute_cgi json_proto POST (null) [09:21:23]execute_cgi path=json_proto method=POST [09:21:23]POST find Content-Length [09:21:23]Host: 172.17.32.68:8080 [09:21:23]Content-Length: 680 [09:21:23]Content-Type: application/json [09:21:23] [09:21:23]POST finish read [09:21:23]Found Content-Length = 680 [09:21:23]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242254", "tax_sys" : 0, "items" : [ { "code": "4700452010610", "name": "\u041A\u043E\u0444\u0435 \u043A\u0430\u043F\u0443\u0447\u0438\u043D\u043E 200\u043C\u043B (\u0410\u041A\u0426\u0418\u042F)", "price" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 105.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:21:23]execute_script... [09:21: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)242254", "tax_sys" : 0, "items" : [ { "code": "4700452010610", "name": "\u041A\u043E\u0444\u0435 \u043A\u0430\u043F\u0443\u0447\u0438\u043D\u043E 200\u043C\u043B (\u0410\u041A\u0426\u0418\u042F)", "price" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 105.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:21:23]POST & json_proto [09:21:23]process_json_proto [09:21:23]json parsed OK: [09:21:23]protocol is kg_v1.0 [09:21:23]action value=close_receipt [09:21:23]process_action close_receipt [09:21:23]cmd_close_receipt [09:21:23]MH_GetDate [09:21:23]Write to MH i2c: F0 00 00 F9 50 38 [09:21:23]Write i2c OK [09:21:23]MH_I2C_Read... [09:21:23]Read from MH i2c: F0 [09:21:23]MH_I2C_Read... [09:21:23]Read from MH i2c: F0 09 00 [09:21:23]MH_I2C_Read... [09:21:23]Read from MH i2c: F0 09 00 F9 50 00 A1 1E F0 65 0A 64 6E 65 96 [09:21:23]GetLastDocTimeStamp 1710235269 [09:21:23]current date 1710235297 [09:21:23]FM_GetShiftState [09:21:23]SAM_PROTO_GetShiftState [09:21:23]wFMCommunicate request_size=4 [09:21:23]MH_SAM_APDU [09:21:23]CAPDU: 80 13 01 00 [09:21:23]Write to MH i2c: E2 08 00 FA 50 80 13 01 00 00 00 00 00 C7 [09:21:23]Write i2c OK [09:21:23]MH_I2C_Read... [09:21:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:21:23]Read from MH i2c: E2 [09:21:23]MH_I2C_Read... [09:21:23]Read from MH i2c: E2 0E 00 [09:21:23]MH_I2C_Read... [09:21:23]Read from MH i2c: E2 0E 00 FA 50 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 F6 [09:21:23]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [09:21:23]wFMCommunicate OK [09:21:23]SAM_PROTO_GetShiftState done [09:21:23]FM_GetShiftState done [09:21:23]opened in 1710202417 [09:21:23]opened+sec_in_day 1710288817 [09:21:23]quantity*price = 10500 [09:21:23]sum+1 = 10501 [09:21:23]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 105.00 НСП 1% : 0.93 НДС 12% : 11.15 Наличными: 105.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 19 12.03.2024 09:21 Смена: 314 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47341 ФПД: 81502420736695 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T092137&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47341&fm=81502420736695&tin=02508201610067®Number=0000000000092018&sum=10500 0 [09:21:24]StoreToDocumentArchive [09:21:24]shift 314 fd 47341 [09:21:24]save to /storage/0314/doc_00047341 [09:21:24]save last doc name /storage/0314/doc_00047341 to /storage/kkm_last_doc_name [09:21:24]save OK [09:21:24]Clear old archive folders... [09:21:24]ProcessDocumentItem done err = 0, tmpTLVsize=288 [09:21:24]tlvbuf is 003ABA40 [09:21:24]SAM_PROTO_ClearQueue [09:21:24]wFMCommunicate request_size=4 [09:21:24]MH_SAM_APDU [09:21:24]CAPDU: 80 09 00 00 [09:21:24]Write to MH i2c: E2 08 00 07 51 80 09 00 00 00 00 00 00 CA [09:21:24]Write i2c OK [09:21:24]MH_I2C_Read... [09:21:24]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:21:24]Read from MH i2c: E2 [09:21:24]MH_I2C_Read... [09:21:24]Read from MH i2c: E2 03 00 [09:21:24]MH_I2C_Read... [09:21:24]Read from MH i2c: E2 03 00 07 51 00 90 00 CC [09:21:24]RAPDU: 90 00 [09:21:24]wFMCommunicate OK [09:21:24]SAM_PROTO_ClearQueue done [09:21:24]KKMCreateOFDPacket [09:21:24]OFDProtocolAddRootSTLVToBuf [09:21:24]FM_MakeSignedData [09:21:24]FM_MakeSignedData [09:21:24]SAM_PROTO_SignData [09:21:24]wFMCommunicate request_size=4 [09:21:24]MH_SAM_APDU [09:21:24]CAPDU: 80 0D 01 02 [09:21:24]Write to MH i2c: E2 08 00 08 51 80 0D 01 02 00 00 00 00 D2 [09:21:24]Write i2c OK [09:21:24]MH_I2C_Read... [09:21:24]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:21:24]Read from MH i2c: E2 [09:21:24]MH_I2C_Read... [09:21:24]Read from MH i2c: E2 03 00 [09:21:24]MH_I2C_Read... [09:21:24]Read from MH i2c: E2 03 00 08 51 00 90 00 CD [09:21:24]RAPDU: 90 00 [09:21:24]wFMCommunicate OK [09:21:24]wFMCommunicate request_size=255 [09:21:24]MH_SAM_APDU [09:21:24]CAPDU: 80 0D 02 02 FA 03 00 20 01 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 34 37 30 30 34 35 32 30 31 30 36 31 30 06 04 2E 00 D0 9A D0 BE D1 84 D0 B5 20 D0 BA D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 32 30 30 D0 BC D0 BB 20 28 D0 90 D0 9A D0 A6 D0 98 D0 AF 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 A1 1E F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 [09:21:24]Write to MH i2c: E2 02 01 09 51 80 0D 02 02 FA 00 03 00 20 01 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 34 37 30 30 34 35 32 30 31 30 36 31 30 06 04 2E 00 D0 9A D0 BE D1 84 D0 B5 20 D0 BA D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 32 30 30 D0 BC D0 BB 20 28 D0 90 D0 9A D0 A6 D0 98 D0 AF 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 A1 1E F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 00 00 F8 [09:21:24]Write i2c OK [09:21:24]MH_I2C_Read... [09:21:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:21:24]Read from MH i2c: E2 [09:21:24]MH_I2C_Read... [09:21:24]Read from MH i2c: E2 03 00 [09:21:24]MH_I2C_Read... [09:21:24]Read from MH i2c: E2 03 00 09 51 00 90 00 CE [09:21:24]RAPDU: 90 00 [09:21:24]wFMCommunicate OK [09:21:24]wFMCommunicate request_size=47 [09:21:24]MH_SAM_APDU [09:21:24]CAPDU: 80 0D 02 02 2A 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 ED B8 00 00 35 04 06 00 4A 20 42 D6 1A B7 [09:21:24]Write to MH i2c: E2 32 00 0A 51 80 0D 02 02 2A 00 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 ED B8 00 00 35 04 06 00 4A 20 42 D6 1A B7 00 00 87 [09:21:24]Write i2c OK [09:21:24]MH_I2C_Read... [09:21:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:21:24]Read from MH i2c: E2 [09:21:24]MH_I2C_Read... [09:21:24]Read from MH i2c: E2 03 00 [09:21:24]MH_I2C_Read... [09:21:24]Read from MH i2c: E2 03 00 0A 51 00 90 00 CF [09:21:24]RAPDU: 90 00 [09:21:24]wFMCommunicate OK [09:21:24]wFMCommunicate request_size=4 [09:21:24]MH_SAM_APDU [09:21:24]CAPDU: 80 0D 03 02 [09:21:24]Write to MH i2c: E2 08 00 0B 51 80 0D 03 02 00 00 00 00 D7 [09:21:24]Write i2c OK [09:21:24]MH_I2C_Read... [09:21:25]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:21:25]Read from MH i2c: E2 [09:21:25]MH_I2C_Read... [09:21:25]Read from MH i2c: E2 0B 00 [09:21:25]MH_I2C_Read... [09:21:25]Read from MH i2c: E2 0B 00 0B 51 00 12 D1 80 84 CA F0 AB C0 90 00 E4 [09:21:25]RAPDU: 12 D1 80 84 CA F0 AB C0 90 00 [09:21:25]wFMCommunicate OK [09:21:25]SAM_PROTO_SignData done [09:21:25]FM_MakeSignedData done [09:21:25]CreateOFDProtocolMessage [09:21:25]wFMCommunicate request_size=4 [09:21:25]MH_SAM_APDU [09:21:25]CAPDU: 80 11 00 00 [09:21:25]Write to MH i2c: E2 08 00 0C 51 80 11 00 00 00 00 00 00 D7 [09:21:25]Write i2c OK [09:21:25]MH_I2C_Read... [09:21:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:21:25]Read from MH i2c: E2 [09:21:25]MH_I2C_Read... [09:21:25]Read from MH i2c: E2 17 00 [09:21:25]MH_I2C_Read... [09:21:25]Read from MH i2c: E2 17 00 0C 51 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 29 [09:21:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [09:21:25]wFMCommunicate OK [09:21:25]CreateOFDProtocolMessage done [09:21:25]OFDSenderStorePacket 47341 [09:21:25]StoreOFDPacket docnum=47341 [09:21:25]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 34 01 00 00 82 55 2C 01 BC AA 5A 03 01 00 03 00 20 01 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 34 37 30 30 34 35 32 30 31 30 36 31 30 06 04 2E 00 D0 9A D0 BE D1 84 D0 B5 20 D0 BA D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 32 30 30 D0 BC D0 BB 20 28 D0 90 D0 9A D0 A6 D0 98 D0 AF 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 A1 1E F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 ED B8 00 00 35 04 06 00 4A 20 42 D6 1A B7 12 D1 80 84 CA F0 AB C0 [09:21:25]CheckFolder [09:21:25]dirname=/storage/ofd_packets [09:21:25]CheckFolder done [09:21:25]ProducePacketName [09:21:25]name=ofd_packets/00047341 [09:21:25]NVStorageSaveData ofd_packets/00047341 [09:21:25]File name is /storage/ofd_packets/00047341 [09:21:25]Write 338 bytes [09:21:25]NVStorageSaveData done [09:21:25]OFDSenderStorePacket done [09:21:25]KKMCreateOFDPacket done [09:21:25]NVStorageSaveData kkm_last_timestamp [09:21:25]File name is /storage/kkm_last_timestamp [09:21:25]Write 4 bytes [09:21:25]NVStorageSaveData done [09:21:25]ExternCall_PrintAddStr [09:21:25]wPrintStart [09:21:25]Write to MH i2c: 01 00 00 0D 51 5E [09:21:25]Write i2c OK [09:21:25]MH_I2C_Read... [09:21:25]Read from MH i2c: 01 [09:21:25]MH_I2C_Read... [09:21:25]Read from MH i2c: 01 07 00 [09:21:25]MH_I2C_Read... [09:21:25]Read from MH i2c: 01 07 00 0D 51 00 00 00 00 00 FF 0F 73 [09:21:25]RasterBufferAndPrint [09:21:25]line Счет N : (3)242254 [09:21:25]line ИНН: 02508201610067 [09:21:25]line Контрольно-Кассовый Чек [09:21:25]line ПРОДАЖА [09:21:25]line Товар: 4700452010610 [09:21:25]line Кофе капучино 200мл (АКЦИЯ) [09:21:25]line 1.000 * 105.00 [09:21:25]line = 105.00 [09:21:25]line НДС 12% НСП 1% [09:21:25]line > о реализуемом товаре [09:21:25]line ИТОГО: 105.00 [09:21:25]line НСП 1% : 0.93 [09:21:25]line НДС 12% : 11.15 [09:21:25]line Наличными: 105.00 [09:21:25]line Безнал.: 0.00 [09:21:25]line Место: АЗС № 15 "Партнер Нефть" [09:21:25]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [09:21:25]line СНО: Общий режим [09:21:25]line Чек 19 12.03.2024 09:21 [09:21:25]line Смена: 314 ФФД: 1.0 [09:21:25]line ЗНМ: 0300000097 [09:21:25]line РНМ: 0000000000092018 [09:21:25]line Версия ККМ: 001 [09:21:25]line ФМ: 0000000000871816 [09:21:25]line ФД: 47341 [09:21:25]line ФПД: 81502420736695 [09:21:25]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T092137&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47341&fm=81502420736695&tin=02508201610067®Number=0000000000092018&sum=10500 [09:21:25]line 0 [09:21:25]OFD Sender: Processing packet 47341 [packets to send 8, broken 7] [09:21:25]ProducePacketName [09:21:25]name=ofd_packets/00047341 [09:21:25]OFD Sender: To server: pG, [09:21:25]CommunicateWithHost lk.salyk.kg:30040 [09:21:25]ConnectInit lk.salyk.kg [09:21:25]written 0, free lines is 4095 [09:21:25]Connected sock=10 [09:21: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 31 36 34 01 00 00 82 55 2C 01 BC AA 5A 03 01 00 03 00 20 01 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 34 37 30 30 34 35 32 30 31 30 36 31 30 06 04 2E 00 D0 9A D0 BE D1 84 D0 B5 20 D0 BA D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 32 30 30 D0 BC D0 BB 20 28 D0 90 D0 9A D0 A6 D0 98 D0 AF 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 A1 1E F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 ED B8 00 00 35 04 06 00 4A 20 42 D6 1A B7 12 D1 80 84 CA F0 AB C0 [09:21: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 31 36 4F 00 00 00 82 6D 47 00 C0 A1 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 31 36 10 04 04 00 ED B8 00 00 F4 03 04 00 34 C9 EF 65 B6 04 01 00 00 34 B3 CC 5B D6 63 9C 09 [09:21:25]CommunicateWithHost err = 0 [09:21:25]CheckOFDResponse [09:21:25]1017 (14) - 77093643461234 [09:21:25]1041 (16) - 0000000000871816 [09:21:25]1040 (4) - 47341 [09:21:25]1012 (4) - 12.03.2024 03:17 [09:21:25]1206 (1) - 0 [09:21:25]OFD Sender: Remove packet 47341 [09:21:25]ProducePacketName [09:21:25]name=ofd_packets/00047341 [09:21:25]NVStorageDeleteData [09:21:25]Write to MH i2c: 01 00 00 36 51 87 [09:21:25]Write i2c OK [09:21:25]MH_I2C_Read... [09:21:25]Read from MH i2c: 01 [09:21:25]MH_I2C_Read... [09:21:25]Read from MH i2c: 01 07 00 [09:21:25]MH_I2C_Read... [09:21:25]Read from MH i2c: 01 07 00 36 51 00 00 00 00 00 D3 0C 6D [09:21:25]RasterBufferAndPrint [09:21:25]line [09:21:25]line [09:21:25]line [09:21:25]line [09:21:25]line [09:21:25]written 0, free lines is 3290 [09:21:25]MH_Cut [09:21:25]Write to MH i2c: D1 01 00 3D 51 01 60 [09:21:25]Write i2c OK [09:21:25]MH_I2C_Read... [09:21:25]Read from MH i2c: D1 [09:21:25]MH_I2C_Read... [09:21:25]Read from MH i2c: D1 01 00 [09:21:25]MH_I2C_Read... [09:21:25]Read from MH i2c: D1 01 00 3D 51 00 5F [09:21:25]Write to MH i2c: 01 00 00 3E 51 8F [09:21:25]Write i2c OK [09:21:25]MH_I2C_Read... [09:21:26]OFD Sender: No OFD packet to send [09:21:26]*** Cut start [09:21:26]*** Purtial cut [09:21:26]*** Stage 1: CUTSNS_PIN = 1 [09:21:26]Read from MH i2c: 01 [09:21:26]MH_I2C_Read... [09:21:26]*** Stop cut motor [09:21:26]*** Cut end [09:21:26]Read from MH i2c: 01 07 00 [09:21:26]MH_I2C_Read... [09:21:26]Read from MH i2c: 01 07 00 3E 51 00 00 00 00 00 FF 0F A4 [09:21:26]process_action close_receipt done [09:21:26]requested_data is exist [09:21:26]produce_requested_data [09:21:26]requested_item fm.sn is exist - process it [09:21:26]wFMCommunicate request_size=4 [09:21:26]MH_SAM_APDU [09:21:26]CAPDU: 80 11 00 00 [09:21:26]Write to MH i2c: E2 08 00 3F 51 80 11 00 00 00 00 00 00 0A [09:21:26]Write i2c OK [09:21:26]MH_I2C_Read... [09:21:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:21:27]Read from MH i2c: E2 [09:21:27]MH_I2C_Read... [09:21:27]Read from MH i2c: E2 17 00 [09:21:27]MH_I2C_Read... [09:21:27]Read from MH i2c: E2 17 00 3F 51 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 5C [09:21:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [09:21:27]wFMCommunicate OK [09:21:27]requested_item fd.num is exist - process it [09:21:27]SAM_PROTO_GetFieldsCounters [09:21:27]wFMCommunicate request_size=4 [09:21:27]MH_SAM_APDU [09:21:27]CAPDU: 80 13 00 00 [09:21:27]Write to MH i2c: E2 08 00 40 51 80 13 00 00 00 00 00 00 0D [09:21:27]Write i2c OK [09:21:27]MH_I2C_Read... [09:21:27]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:21:27]Read from MH i2c: E2 [09:21:27]MH_I2C_Read... [09:21:27]Read from MH i2c: E2 62 00 [09:21:27]MH_I2C_Read... [09:21:27]Read from MH i2c: E2 62 00 40 51 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 ED B8 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 13 00 00 00 5E 04 04 00 13 00 00 00 57 04 04 00 14 00 00 00 19 04 04 00 00 00 00 00 90 00 41 [09:21: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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 ED B8 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 13 00 00 00 5E 04 04 00 13 00 00 00 57 04 04 00 14 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:21:27]wFMCommunicate OK [09:21:27]SAM_PROTO_GetFieldsCounters done [09:21:27]requested_item shift.num is exist - process it [09:21:27]requested_item shift.opened is exist - process it [09:21:27]req_shift_opened [09:21:27]FM_GetShiftState [09:21:27]SAM_PROTO_GetShiftState [09:21:27]wFMCommunicate request_size=4 [09:21:27]MH_SAM_APDU [09:21:27]CAPDU: 80 13 01 00 [09:21:27]Write to MH i2c: E2 08 00 41 51 80 13 01 00 00 00 00 00 0F [09:21:27]Write i2c OK [09:21:27]MH_I2C_Read... [09:21:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:21:27]Read from MH i2c: E2 [09:21:27]MH_I2C_Read... [09:21:27]Read from MH i2c: E2 0E 00 [09:21:27]MH_I2C_Read... [09:21:27]Read from MH i2c: E2 0E 00 41 51 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 3E [09:21:27]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [09:21:27]wFMCommunicate OK [09:21:27]SAM_PROTO_GetShiftState done [09:21:27]FM_GetShiftState done [09:21:27]req_shift_opened done [09:21:27]requested_item shift.open_date is exist - process it [09:21:27]req_shift_open_date [09:21:27]req_shift_open_date done [09:21:27]produce_requested_data done [09:21:27]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47341,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [09:21:27]process_action_free close_receipt [09:21:27]json_value_free [09:21:27]json_value_free done [09:21:27]process_json_proto returns [09:21:27]Send response to host [09:21:27]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47341,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [09:21:27]free response buf [09:21:27]execute_script done [09:21:27]execute_script returns [09:21:27]free content buf [09:21:27]Sock 7.Close socket [09:21:27]Sock 7.Thread stoped [09:21:31]OFD Sender: No OFD packet to send [09:21:36]OFD Sender: No OFD packet to send [09:21:41]OFD Sender: No OFD packet to send [09:21:46]OFD Sender: No OFD packet to send [09:21:51]OFD Sender: No OFD packet to send [09:21:56]OFD Sender: No OFD packet to send [09:22:01]OFD Sender: No OFD packet to send [09:22:06]OFD Sender: No OFD packet to send [09:22:11]OFD Sender: No OFD packet to send [09:22:16]OFD Sender: No OFD packet to send [09:22:21]OFD Sender: No OFD packet to send [09:22:26]OFD Sender: No OFD packet to send [09:22:31]OFD Sender: No OFD packet to send [09:22:36]OFD Sender: No OFD packet to send [09:22:41]OFD Sender: No OFD packet to send [09:22:46]OFD Sender: No OFD packet to send [09:22:51]OFD Sender: No OFD packet to send [09:22:56]OFD Sender: No OFD packet to send [09:23:01]OFD Sender: No OFD packet to send [09:23:06]OFD Sender: No OFD packet to send [09:23:11]OFD Sender: No OFD packet to send [09:23:16]OFD Sender: No OFD packet to send [09:23:21]OFD Sender: No OFD packet to send [09:23:26]OFD Sender: No OFD packet to send [09:23:31]OFD Sender: No OFD packet to send [09:23:36]OFD Sender: No OFD packet to send [09:23:41]OFD Sender: No OFD packet to send [09:23:46]OFD Sender: No OFD packet to send [09:23:51]OFD Sender: No OFD packet to send [09:23:56]OFD Sender: No OFD packet to send [09:24:01]OFD Sender: No OFD packet to send [09:24:06]OFD Sender: No OFD packet to send [09:24:11]OFD Sender: No OFD packet to send [09:24:16]OFD Sender: No OFD packet to send [09:24:21]OFD Sender: No OFD packet to send [09:24:26]OFD Sender: No OFD packet to send [09:24:31]OFD Sender: No OFD packet to send [09:24:36]OFD Sender: No OFD packet to send [09:24:41]OFD Sender: No OFD packet to send [09:24:46]OFD Sender: No OFD packet to send [09:24:51]OFD Sender: No OFD packet to send [09:24:56]OFD Sender: No OFD packet to send [09:25:01]OFD Sender: No OFD packet to send [09:25:06]OFD Sender: No OFD packet to send [09:25:11]OFD Sender: No OFD packet to send [09:25:16]OFD Sender: No OFD packet to send [09:25:21]OFD Sender: No OFD packet to send [09:25:26]OFD Sender: No OFD packet to send [09:25:31]OFD Sender: No OFD packet to send [09:25:36]OFD Sender: No OFD packet to send [09:25:41]OFD Sender: No OFD packet to send [09:25:46]OFD Sender: No OFD packet to send [09:25:51]OFD Sender: No OFD packet to send [09:25:56]OFD Sender: No OFD packet to send [09:26:01]OFD Sender: No OFD packet to send [09:26:06]OFD Sender: No OFD packet to send [09:26:11]OFD Sender: No OFD packet to send [09:26:16]OFD Sender: No OFD packet to send [09:26:21]OFD Sender: No OFD packet to send [09:26:26]OFD Sender: No OFD packet to send [09:26:31]OFD Sender: No OFD packet to send [09:26:36]OFD Sender: No OFD packet to send [09:26:41]OFD Sender: No OFD packet to send [09:26:46]OFD Sender: No OFD packet to send [09:26:51]OFD Sender: No OFD packet to send [09:26:56]OFD Sender: No OFD packet to send [09:27:01]OFD Sender: No OFD packet to send [09:27:06]OFD Sender: No OFD packet to send [09:27:11]OFD Sender: No OFD packet to send [09:27:16]OFD Sender: No OFD packet to send [09:27:21]OFD Sender: No OFD packet to send [09:27:26]OFD Sender: No OFD packet to send [09:27:31]OFD Sender: No OFD packet to send [09:27:36]OFD Sender: No OFD packet to send [09:27:41]OFD Sender: No OFD packet to send [09:27:46]OFD Sender: No OFD packet to send [09:27:51]OFD Sender: No OFD packet to send [09:27:56]OFD Sender: No OFD packet to send [09:28:01]OFD Sender: No OFD packet to send [09:28:06]OFD Sender: No OFD packet to send [09:28:11]OFD Sender: No OFD packet to send [09:28:16]OFD Sender: No OFD packet to send [09:28:21]OFD Sender: No OFD packet to send [09:28:26]OFD Sender: No OFD packet to send [09:28:31]OFD Sender: No OFD packet to send [09:28:36]OFD Sender: No OFD packet to send [09:28:41]OFD Sender: No OFD packet to send [09:28:46]OFD Sender: No OFD packet to send [09:28:51]OFD Sender: No OFD packet to send [09:28:56]OFD Sender: No OFD packet to send [09:29:01]OFD Sender: No OFD packet to send [09:29:06]OFD Sender: No OFD packet to send [09:29:11]OFD Sender: No OFD packet to send [09:29:16]OFD Sender: No OFD packet to send [09:29:21]OFD Sender: No OFD packet to send [09:29:26]OFD Sender: No OFD packet to send [09:29:31]OFD Sender: No OFD packet to send [09:29:36]OFD Sender: No OFD packet to send [09:29:41]OFD Sender: No OFD packet to send [09:29:46]OFD Sender: No OFD packet to send [09:29:51]OFD Sender: No OFD packet to send [09:29:56]OFD Sender: No OFD packet to send [09:30:01]OFD Sender: No OFD packet to send [09:30:06]OFD Sender: No OFD packet to send [09:30:11]OFD Sender: No OFD packet to send [09:30:16]OFD Sender: No OFD packet to send [09:30:21]OFD Sender: No OFD packet to send [09:30:26]OFD Sender: No OFD packet to send [09:30:31]OFD Sender: No OFD packet to send [09:30:36]OFD Sender: No OFD packet to send [09:30:41]OFD Sender: No OFD packet to send [09:30:46]OFD Sender: No OFD packet to send [09:30:51]OFD Sender: No OFD packet to send [09:30:56]OFD Sender: No OFD packet to send [09:31:01]OFD Sender: No OFD packet to send [09:31:06]OFD Sender: No OFD packet to send [09:31:11]OFD Sender: No OFD packet to send [09:31:16]OFD Sender: No OFD packet to send [09:31:21]OFD Sender: No OFD packet to send [09:31:26]OFD Sender: No OFD packet to send [09:31:31]OFD Sender: No OFD packet to send [09:31:36]OFD Sender: No OFD packet to send [09:31:41]OFD Sender: No OFD packet to send [09:31:46]OFD Sender: No OFD packet to send [09:31:51]OFD Sender: No OFD packet to send [09:31:56]OFD Sender: No OFD packet to send [09:32:01]OFD Sender: No OFD packet to send [09:32:06]OFD Sender: No OFD packet to send [09:32:11]OFD Sender: No OFD packet to send [09:32:16]OFD Sender: No OFD packet to send [09:32:21]OFD Sender: No OFD packet to send [09:32:26]OFD Sender: No OFD packet to send [09:32:31]OFD Sender: No OFD packet to send [09:32:36]OFD Sender: No OFD packet to send [09:32:41]OFD Sender: No OFD packet to send [09:32:46]OFD Sender: No OFD packet to send [09:32:51]OFD Sender: No OFD packet to send [09:32:56]OFD Sender: No OFD packet to send [09:33:01]OFD Sender: No OFD packet to send [09:33:06]OFD Sender: No OFD packet to send [09:33:11]OFD Sender: No OFD packet to send [09:33:16]OFD Sender: No OFD packet to send [09:33:21]OFD Sender: No OFD packet to send [09:33:26]OFD Sender: No OFD packet to send [09:33:31]OFD Sender: No OFD packet to send [09:33:36]OFD Sender: No OFD packet to send [09:33:41]OFD Sender: No OFD packet to send [09:33:46]OFD Sender: No OFD packet to send [09:33:51]OFD Sender: No OFD packet to send [09:33:56]OFD Sender: No OFD packet to send [09:34:01]OFD Sender: No OFD packet to send [09:34:06]OFD Sender: No OFD packet to send [09:34:11]OFD Sender: No OFD packet to send [09:34:16]OFD Sender: No OFD packet to send [09:34:21]OFD Sender: No OFD packet to send [09:34:26]OFD Sender: No OFD packet to send [09:34:31]OFD Sender: No OFD packet to send [09:34:36]OFD Sender: No OFD packet to send [09:34:41]OFD Sender: No OFD packet to send [09:34:46]OFD Sender: No OFD packet to send [09:34:51]OFD Sender: No OFD packet to send [09:34:56]OFD Sender: No OFD packet to send [09:35:01]OFD Sender: No OFD packet to send [09:35:06]OFD Sender: No OFD packet to send [09:35:11]OFD Sender: No OFD packet to send [09:35:16]OFD Sender: No OFD packet to send [09:35:21]OFD Sender: No OFD packet to send [09:35:26]OFD Sender: No OFD packet to send [09:35:31]OFD Sender: No OFD packet to send [09:35:36]OFD Sender: No OFD packet to send [09:35:41]OFD Sender: No OFD packet to send [09:35:46]OFD Sender: No OFD packet to send [09:35:51]OFD Sender: No OFD packet to send [09:35:56]OFD Sender: No OFD packet to send [09:36:01]OFD Sender: No OFD packet to send [09:36:06]OFD Sender: No OFD packet to send [09:36:11]OFD Sender: No OFD packet to send [09:36:16]OFD Sender: No OFD packet to send [09:36:21]OFD Sender: No OFD packet to send [09:36:26]OFD Sender: No OFD packet to send [09:36:31]OFD Sender: No OFD packet to send [09:36:36]OFD Sender: No OFD packet to send [09:36:41]OFD Sender: No OFD packet to send [09:36:46]OFD Sender: No OFD packet to send [09:36:51]OFD Sender: No OFD packet to send [09:36:56]OFD Sender: No OFD packet to send [09:37:01]OFD Sender: No OFD packet to send [09:37:06]OFD Sender: No OFD packet to send [09:37:11]OFD Sender: No OFD packet to send [09:37:16]OFD Sender: No OFD packet to send [09:37:21]OFD Sender: No OFD packet to send [09:37:26]OFD Sender: No OFD packet to send [09:37:31]OFD Sender: No OFD packet to send [09:37:36]OFD Sender: No OFD packet to send [09:37:41]OFD Sender: No OFD packet to send [09:37:46]OFD Sender: No OFD packet to send [09:37:51]OFD Sender: No OFD packet to send [09:37:56]OFD Sender: No OFD packet to send [09:38:01]OFD Sender: No OFD packet to send [09:38:06]OFD Sender: No OFD packet to send [09:38:11]OFD Sender: No OFD packet to send [09:38:16]OFD Sender: No OFD packet to send [09:38:22]OFD Sender: No OFD packet to send [09:38:27]OFD Sender: No OFD packet to send [09:38:32]OFD Sender: No OFD packet to send [09:38:37]OFD Sender: No OFD packet to send [09:38:42]OFD Sender: No OFD packet to send [09:38:47]OFD Sender: No OFD packet to send [09:38:52]OFD Sender: No OFD packet to send [09:38:57]OFD Sender: No OFD packet to send [09:39:02]OFD Sender: No OFD packet to send [09:39:07]OFD Sender: No OFD packet to send [09:39:12]OFD Sender: No OFD packet to send [09:39:17]OFD Sender: No OFD packet to send [09:39:22]OFD Sender: No OFD packet to send [09:39:27]OFD Sender: No OFD packet to send [09:39:32]OFD Sender: No OFD packet to send [09:39:37]OFD Sender: No OFD packet to send [09:39:42]OFD Sender: No OFD packet to send [09:39:47]OFD Sender: No OFD packet to send [09:39:52]OFD Sender: No OFD packet to send [09:39:57]OFD Sender: No OFD packet to send [09:40:02]OFD Sender: No OFD packet to send [09:40:07]OFD Sender: No OFD packet to send [09:40:12]OFD Sender: No OFD packet to send [09:40:17]OFD Sender: No OFD packet to send [09:40:22]OFD Sender: No OFD packet to send [09:40:27]OFD Sender: No OFD packet to send [09:40:32]OFD Sender: No OFD packet to send [09:40:37]OFD Sender: No OFD packet to send [09:40:42]OFD Sender: No OFD packet to send [09:40:47]OFD Sender: No OFD packet to send [09:40:52]OFD Sender: No OFD packet to send [09:40:57]OFD Sender: No OFD packet to send [09:41:02]OFD Sender: No OFD packet to send [09:41:07]OFD Sender: No OFD packet to send [09:41:12]OFD Sender: No OFD packet to send [09:41:17]OFD Sender: No OFD packet to send [09:41:22]OFD Sender: No OFD packet to send [09:41:27]OFD Sender: No OFD packet to send [09:41:32]OFD Sender: No OFD packet to send [09:41:37]OFD Sender: No OFD packet to send [09:41:42]OFD Sender: No OFD packet to send [09:41:47]OFD Sender: No OFD packet to send [09:41:52]OFD Sender: No OFD packet to send [09:41:57]OFD Sender: No OFD packet to send [09:42:02]OFD Sender: No OFD packet to send [09:42:07]OFD Sender: No OFD packet to send [09:42:12]OFD Sender: No OFD packet to send [09:42:17]OFD Sender: No OFD packet to send [09:42:22]OFD Sender: No OFD packet to send [09:42:27]OFD Sender: No OFD packet to send [09:42:32]OFD Sender: No OFD packet to send [09:42:37]OFD Sender: No OFD packet to send [09:42:42]OFD Sender: No OFD packet to send [09:42:47]OFD Sender: No OFD packet to send [09:42:52]OFD Sender: No OFD packet to send [09:42:57]OFD Sender: No OFD packet to send [09:43:02]OFD Sender: No OFD packet to send [09:43:07]OFD Sender: No OFD packet to send [09:43:12]OFD Sender: No OFD packet to send [09:43:17]OFD Sender: No OFD packet to send [09:43:22]OFD Sender: No OFD packet to send [09:43:27]OFD Sender: No OFD packet to send [09:43:32]OFD Sender: No OFD packet to send [09:43:37]OFD Sender: No OFD packet to send [09:43:42]OFD Sender: No OFD packet to send [09:43:47]OFD Sender: No OFD packet to send [09:43:52]OFD Sender: No OFD packet to send [09:43:57]OFD Sender: No OFD packet to send [09:44:02]OFD Sender: No OFD packet to send [09:44:07]OFD Sender: No OFD packet to send [09:44:12]OFD Sender: No OFD packet to send [09:44:17]OFD Sender: No OFD packet to send [09:44:22]OFD Sender: No OFD packet to send [09:44:27]OFD Sender: No OFD packet to send [09:44:32]OFD Sender: No OFD packet to send [09:44:37]OFD Sender: No OFD packet to send [09:44:42]OFD Sender: No OFD packet to send [09:44:47]OFD Sender: No OFD packet to send [09:44:52]OFD Sender: No OFD packet to send [09:44:57]OFD Sender: No OFD packet to send [09:45:02]OFD Sender: No OFD packet to send [09:45:07]OFD Sender: No OFD packet to send [09:45:12]OFD Sender: No OFD packet to send [09:45:17]OFD Sender: No OFD packet to send [09:45:22]OFD Sender: No OFD packet to send [09:45:27]OFD Sender: No OFD packet to send [09:45:32]OFD Sender: No OFD packet to send [09:45:37]OFD Sender: No OFD packet to send [09:45:42]OFD Sender: No OFD packet to send [09:45:47]OFD Sender: No OFD packet to send [09:45:52]OFD Sender: No OFD packet to send [09:45:57]OFD Sender: No OFD packet to send [09:46:02]OFD Sender: No OFD packet to send [09:46:07]OFD Sender: No OFD packet to send [09:46:12]OFD Sender: No OFD packet to send [09:46:17]OFD Sender: No OFD packet to send [09:46:22]OFD Sender: No OFD packet to send [09:46:27]OFD Sender: No OFD packet to send [09:46:32]OFD Sender: No OFD packet to send [09:46:37]OFD Sender: No OFD packet to send [09:46:42]OFD Sender: No OFD packet to send [09:46:47]OFD Sender: No OFD packet to send [09:46:52]OFD Sender: No OFD packet to send [09:46:57]OFD Sender: No OFD packet to send [09:47:02]OFD Sender: No OFD packet to send [09:47:07]OFD Sender: No OFD packet to send [09:47:12]OFD Sender: No OFD packet to send [09:47:17]OFD Sender: No OFD packet to send [09:47:22]OFD Sender: No OFD packet to send [09:47:27]OFD Sender: No OFD packet to send [09:47:32]OFD Sender: No OFD packet to send [09:47:37]OFD Sender: No OFD packet to send [09:47:42]OFD Sender: No OFD packet to send [09:47:47]OFD Sender: No OFD packet to send [09:47:52]OFD Sender: No OFD packet to send [09:47:57]OFD Sender: No OFD packet to send [09:48:02]OFD Sender: No OFD packet to send [09:48:07]OFD Sender: No OFD packet to send [09:48:12]OFD Sender: No OFD packet to send [09:48:17]OFD Sender: No OFD packet to send [09:48:22]OFD Sender: No OFD packet to send [09:48:27]OFD Sender: No OFD packet to send [09:48:32]OFD Sender: No OFD packet to send [09:48:37]OFD Sender: No OFD packet to send [09:48:42]OFD Sender: No OFD packet to send [09:48:47]OFD Sender: No OFD packet to send [09:48:52]OFD Sender: No OFD packet to send [09:48:57]OFD Sender: No OFD packet to send [09:49:02]OFD Sender: No OFD packet to send [09:49:07]OFD Sender: No OFD packet to send [09:49:12]OFD Sender: No OFD packet to send [09:49:17]OFD Sender: No OFD packet to send [09:49:22]OFD Sender: No OFD packet to send [09:49:27]OFD Sender: No OFD packet to send [09:49:32]OFD Sender: No OFD packet to send [09:49:37]OFD Sender: No OFD packet to send [09:49:42]OFD Sender: No OFD packet to send [09:49:47]OFD Sender: No OFD packet to send [09:49:52]OFD Sender: No OFD packet to send [09:49:57]OFD Sender: No OFD packet to send [09:50:02]OFD Sender: No OFD packet to send [09:50:07]OFD Sender: No OFD packet to send [09:50:12]OFD Sender: No OFD packet to send [09:50:17]OFD Sender: No OFD packet to send [09:50:22]OFD Sender: No OFD packet to send [09:50:27]OFD Sender: No OFD packet to send [09:50:32]OFD Sender: No OFD packet to send [09:50:37]OFD Sender: No OFD packet to send [09:50:42]OFD Sender: No OFD packet to send [09:50:47]OFD Sender: No OFD packet to send [09:50:52]OFD Sender: No OFD packet to send [09:50:57]OFD Sender: No OFD packet to send [09:51:02]OFD Sender: No OFD packet to send [09:51:07]OFD Sender: No OFD packet to send [09:51:12]OFD Sender: No OFD packet to send [09:51:17]OFD Sender: No OFD packet to send [09:51:22]OFD Sender: No OFD packet to send [09:51:27]OFD Sender: No OFD packet to send [09:51:32]OFD Sender: No OFD packet to send [09:51:37]OFD Sender: No OFD packet to send [09:51:42]OFD Sender: No OFD packet to send [09:51:47]OFD Sender: No OFD packet to send [09:51:52]OFD Sender: No OFD packet to send [09:51:57]OFD Sender: No OFD packet to send [09:52:02]OFD Sender: No OFD packet to send [09:52:07]OFD Sender: No OFD packet to send [09:52:12]OFD Sender: No OFD packet to send [09:52:17]OFD Sender: No OFD packet to send [09:52:22]OFD Sender: No OFD packet to send [09:52:27]OFD Sender: No OFD packet to send [09:52:32]OFD Sender: No OFD packet to send [09:52:37]OFD Sender: No OFD packet to send [09:52:42]OFD Sender: No OFD packet to send [09:52:47]OFD Sender: No OFD packet to send [09:52:52]OFD Sender: No OFD packet to send [09:52:57]OFD Sender: No OFD packet to send [09:53:02]OFD Sender: No OFD packet to send [09:53:07]OFD Sender: No OFD packet to send [09:53:12]OFD Sender: No OFD packet to send [09:53:17]OFD Sender: No OFD packet to send [09:53:22]OFD Sender: No OFD packet to send [09:53:27]OFD Sender: No OFD packet to send [09:53:32]OFD Sender: No OFD packet to send [09:53:37]OFD Sender: No OFD packet to send [09:53:42]OFD Sender: No OFD packet to send [09:53:47]OFD Sender: No OFD packet to send [09:53:52]OFD Sender: No OFD packet to send [09:53:57]OFD Sender: No OFD packet to send [09:54:02]OFD Sender: No OFD packet to send [09:54:07]OFD Sender: No OFD packet to send [09:54:12]OFD Sender: No OFD packet to send [09:54:17]OFD Sender: No OFD packet to send [09:54:22]OFD Sender: No OFD packet to send [09:54:27]OFD Sender: No OFD packet to send [09:54:32]OFD Sender: No OFD packet to send [09:54:37]OFD Sender: No OFD packet to send [09:54:42]OFD Sender: No OFD packet to send [09:54:47]OFD Sender: No OFD packet to send [09:54:52]OFD Sender: No OFD packet to send [09:54:57]OFD Sender: No OFD packet to send [09:55:02]OFD Sender: No OFD packet to send [09:55:07]OFD Sender: No OFD packet to send [09:55:12]OFD Sender: No OFD packet to send [09:55:17]OFD Sender: No OFD packet to send [09:55:22]OFD Sender: No OFD packet to send [09:55:27]OFD Sender: No OFD packet to send [09:55:32]OFD Sender: No OFD packet to send [09:55:37]OFD Sender: No OFD packet to send [09:55:42]OFD Sender: No OFD packet to send [09:55:47]OFD Sender: No OFD packet to send [09:55:52]OFD Sender: No OFD packet to send [09:55:57]OFD Sender: No OFD packet to send [09:56:02]OFD Sender: No OFD packet to send [09:56:07]OFD Sender: No OFD packet to send [09:56:12]OFD Sender: No OFD packet to send [09:56:17]OFD Sender: No OFD packet to send [09:56:22]OFD Sender: No OFD packet to send [09:56:27]OFD Sender: No OFD packet to send [09:56:32]OFD Sender: No OFD packet to send [09:56:37]OFD Sender: No OFD packet to send [09:56:42]OFD Sender: No OFD packet to send [09:56:47]OFD Sender: No OFD packet to send [09:56:52]OFD Sender: No OFD packet to send [09:56:57]OFD Sender: No OFD packet to send [09:57:02]OFD Sender: No OFD packet to send [09:57:07]OFD Sender: No OFD packet to send [09:57:12]OFD Sender: No OFD packet to send [09:57:17]OFD Sender: No OFD packet to send [09:57:22]OFD Sender: No OFD packet to send [09:57:27]OFD Sender: No OFD packet to send [09:57:32]OFD Sender: No OFD packet to send [09:57:37]OFD Sender: No OFD packet to send [09:57:42]OFD Sender: No OFD packet to send [09:57:47]OFD Sender: No OFD packet to send [09:57:52]OFD Sender: No OFD packet to send [09:57:57]OFD Sender: No OFD packet to send [09:58:02]OFD Sender: No OFD packet to send [09:58:07]OFD Sender: No OFD packet to send [09:58:12]OFD Sender: No OFD packet to send [09:58:17]OFD Sender: No OFD packet to send [09:58:22]OFD Sender: No OFD packet to send [09:58:27]OFD Sender: No OFD packet to send [09:58:32]OFD Sender: No OFD packet to send [09:58:37]OFD Sender: No OFD packet to send [09:58:42]OFD Sender: No OFD packet to send [09:58:47]OFD Sender: No OFD packet to send [09:58:52]OFD Sender: No OFD packet to send [09:58:57]OFD Sender: No OFD packet to send [09:59:02]OFD Sender: No OFD packet to send [09:59:07]OFD Sender: No OFD packet to send [09:59:12]OFD Sender: No OFD packet to send [09:59:17]OFD Sender: No OFD packet to send [09:59:22]OFD Sender: No OFD packet to send [09:59:27]OFD Sender: No OFD packet to send [09:59:32]OFD Sender: No OFD packet to send [09:59:37]OFD Sender: No OFD packet to send [09:59:42]OFD Sender: No OFD packet to send [09:59:47]OFD Sender: No OFD packet to send [09:59:52]OFD Sender: No OFD packet to send [09:59:58]OFD Sender: No OFD packet to send [10:00:03]OFD Sender: No OFD packet to send [10:00:08]OFD Sender: No OFD packet to send [10:00:13]OFD Sender: No OFD packet to send [10:00:18]OFD Sender: No OFD packet to send [10:00:23]OFD Sender: No OFD packet to send [10:00:28]OFD Sender: No OFD packet to send [10:00:33]OFD Sender: No OFD packet to send [10:00:38]OFD Sender: No OFD packet to send [10:00:43]OFD Sender: No OFD packet to send [10:00:48]OFD Sender: No OFD packet to send [10:00:53]OFD Sender: No OFD packet to send [10:00:58]OFD Sender: No OFD packet to send [10:01:03]OFD Sender: No OFD packet to send [10:01:08]OFD Sender: No OFD packet to send [10:01:13]OFD Sender: No OFD packet to send [10:01:18]OFD Sender: No OFD packet to send [10:01:23]OFD Sender: No OFD packet to send [10:01:28]OFD Sender: No OFD packet to send [10:01:33]OFD Sender: No OFD packet to send [10:01:38]OFD Sender: No OFD packet to send [10:01:43]OFD Sender: No OFD packet to send [10:01:48]OFD Sender: No OFD packet to send [10:01:53]OFD Sender: No OFD packet to send [10:01:58]OFD Sender: No OFD packet to send [10:02:03]OFD Sender: No OFD packet to send [10:02:08]OFD Sender: No OFD packet to send [10:02:13]OFD Sender: No OFD packet to send [10:02:18]OFD Sender: No OFD packet to send [10:02:23]OFD Sender: No OFD packet to send [10:02:28]OFD Sender: No OFD packet to send [10:02:33]OFD Sender: No OFD packet to send [10:02:38]OFD Sender: No OFD packet to send [10:02:43]OFD Sender: No OFD packet to send [10:02:48]OFD Sender: No OFD packet to send [10:02:53]OFD Sender: No OFD packet to send [10:02:58]OFD Sender: No OFD packet to send [10:03:03]OFD Sender: No OFD packet to send [10:03:08]OFD Sender: No OFD packet to send [10:03:13]OFD Sender: No OFD packet to send [10:03:18]OFD Sender: No OFD packet to send [10:03:23]OFD Sender: No OFD packet to send [10:03:28]OFD Sender: No OFD packet to send [10:03:33]OFD Sender: No OFD packet to send [10:03:38]OFD Sender: No OFD packet to send [10:03:43]OFD Sender: No OFD packet to send [10:03:48]OFD Sender: No OFD packet to send [10:03:53]OFD Sender: No OFD packet to send [10:03:58]OFD Sender: No OFD packet to send [10:04:03]OFD Sender: No OFD packet to send [10:04:08]OFD Sender: No OFD packet to send [10:04:13]OFD Sender: No OFD packet to send [10:04:18]OFD Sender: No OFD packet to send [10:04:23]OFD Sender: No OFD packet to send [10:04:28]OFD Sender: No OFD packet to send [10:04:33]OFD Sender: No OFD packet to send [10:04:38]OFD Sender: No OFD packet to send [10:04:43]OFD Sender: No OFD packet to send [10:04:48]OFD Sender: No OFD packet to send [10:04:53]OFD Sender: No OFD packet to send [10:04:58]OFD Sender: No OFD packet to send [10:05:03]OFD Sender: No OFD packet to send [10:05:08]OFD Sender: No OFD packet to send [10:05:13]OFD Sender: No OFD packet to send [10:05:18]OFD Sender: No OFD packet to send [10:05:23]OFD Sender: No OFD packet to send [10:05:28]OFD Sender: No OFD packet to send [10:05:33]OFD Sender: No OFD packet to send [10:05:38]OFD Sender: No OFD packet to send [10:05:43]OFD Sender: No OFD packet to send [10:05:48]OFD Sender: No OFD packet to send [10:05:53]OFD Sender: No OFD packet to send [10:05:58]OFD Sender: No OFD packet to send [10:06:03]OFD Sender: No OFD packet to send [10:06:08]OFD Sender: No OFD packet to send [10:06:13]OFD Sender: No OFD packet to send [10:06:18]OFD Sender: No OFD packet to send [10:06:23]OFD Sender: No OFD packet to send [10:06:28]OFD Sender: No OFD packet to send [10:06:33]OFD Sender: No OFD packet to send [10:06:38]OFD Sender: No OFD packet to send [10:06:43]OFD Sender: No OFD packet to send [10:06:48]OFD Sender: No OFD packet to send [10:06:53]OFD Sender: No OFD packet to send [10:06:58]OFD Sender: No OFD packet to send [10:07:03]OFD Sender: No OFD packet to send [10:07:08]OFD Sender: No OFD packet to send [10:07:13]OFD Sender: No OFD packet to send [10:07:18]OFD Sender: No OFD packet to send [10:07:23]OFD Sender: No OFD packet to send [10:07:28]OFD Sender: No OFD packet to send [10:07:33]OFD Sender: No OFD packet to send [10:07:38]OFD Sender: No OFD packet to send [10:07:43]OFD Sender: No OFD packet to send [10:07:48]OFD Sender: No OFD packet to send [10:07:53]OFD Sender: No OFD packet to send [10:07:58]OFD Sender: No OFD packet to send [10:08:03]OFD Sender: No OFD packet to send [10:08:08]OFD Sender: No OFD packet to send [10:08:13]OFD Sender: No OFD packet to send [10:08:18]OFD Sender: No OFD packet to send [10:08:23]OFD Sender: No OFD packet to send [10:08:28]OFD Sender: No OFD packet to send [10:08:33]OFD Sender: No OFD packet to send [10:08:38]OFD Sender: No OFD packet to send [10:08:43]OFD Sender: No OFD packet to send [10:08:48]OFD Sender: No OFD packet to send [10:08:53]OFD Sender: No OFD packet to send [10:08:58]OFD Sender: No OFD packet to send [10:09:03]OFD Sender: No OFD packet to send [10:09:08]OFD Sender: No OFD packet to send [10:09:13]OFD Sender: No OFD packet to send [10:09:18]OFD Sender: No OFD packet to send [10:09:23]OFD Sender: No OFD packet to send [10:09:28]OFD Sender: No OFD packet to send [10:09:33]OFD Sender: No OFD packet to send [10:09:38]OFD Sender: No OFD packet to send [10:09:43]OFD Sender: No OFD packet to send [10:09:48]OFD Sender: No OFD packet to send [10:09:53]OFD Sender: No OFD packet to send [10:09:58]OFD Sender: No OFD packet to send [10:10:03]OFD Sender: No OFD packet to send [10:10:08]OFD Sender: No OFD packet to send [10:10:13]OFD Sender: No OFD packet to send [10:10:18]OFD Sender: No OFD packet to send [10:10:23]OFD Sender: No OFD packet to send [10:10:28]OFD Sender: No OFD packet to send [10:10:33]OFD Sender: No OFD packet to send [10:10:38]OFD Sender: No OFD packet to send [10:10:43]OFD Sender: No OFD packet to send [10:10:48]OFD Sender: No OFD packet to send [10:10:53]OFD Sender: No OFD packet to send [10:10:58]OFD Sender: No OFD packet to send [10:11:03]OFD Sender: No OFD packet to send [10:11:08]OFD Sender: No OFD packet to send [10:11:13]OFD Sender: No OFD packet to send [10:11:18]OFD Sender: No OFD packet to send [10:11:23]OFD Sender: No OFD packet to send [10:11:28]OFD Sender: No OFD packet to send [10:11:33]OFD Sender: No OFD packet to send [10:11:38]OFD Sender: No OFD packet to send [10:11:43]OFD Sender: No OFD packet to send [10:11:48]OFD Sender: No OFD packet to send [10:11:53]OFD Sender: No OFD packet to send [10:11:58]OFD Sender: No OFD packet to send [10:12:03]OFD Sender: No OFD packet to send [10:12:08]OFD Sender: No OFD packet to send [10:12:13]OFD Sender: No OFD packet to send [10:12:18]OFD Sender: No OFD packet to send [10:12:23]OFD Sender: No OFD packet to send [10:12:28]OFD Sender: No OFD packet to send [10:12:33]OFD Sender: No OFD packet to send [10:12:38]OFD Sender: No OFD packet to send [10:12:43]OFD Sender: No OFD packet to send [10:12:48]OFD Sender: No OFD packet to send [10:12:53]OFD Sender: No OFD packet to send [10:12:58]OFD Sender: No OFD packet to send [10:13:03]OFD Sender: No OFD packet to send [10:13:08]OFD Sender: No OFD packet to send [10:13:13]OFD Sender: No OFD packet to send [10:13:18]OFD Sender: No OFD packet to send [10:13:23]OFD Sender: No OFD packet to send [10:13:28]OFD Sender: No OFD packet to send [10:13:33]OFD Sender: No OFD packet to send [10:13:38]OFD Sender: No OFD packet to send [10:13:43]OFD Sender: No OFD packet to send [10:13:48]OFD Sender: No OFD packet to send [10:13:53]OFD Sender: No OFD packet to send [10:13:58]OFD Sender: No OFD packet to send [10:14:03]OFD Sender: No OFD packet to send [10:14:08]OFD Sender: No OFD packet to send [10:14:13]OFD Sender: No OFD packet to send [10:14:18]OFD Sender: No OFD packet to send [10:14:23]OFD Sender: No OFD packet to send [10:14:28]OFD Sender: No OFD packet to send [10:14:33]OFD Sender: No OFD packet to send [10:14:38]OFD Sender: No OFD packet to send [10:14:43]OFD Sender: No OFD packet to send [10:14:48]OFD Sender: No OFD packet to send [10:14:53]OFD Sender: No OFD packet to send [10:14:58]OFD Sender: No OFD packet to send [10:15:03]OFD Sender: No OFD packet to send [10:15:08]OFD Sender: No OFD packet to send [10:15:13]OFD Sender: No OFD packet to send [10:15:18]OFD Sender: No OFD packet to send [10:15:23]OFD Sender: No OFD packet to send [10:15:28]OFD Sender: No OFD packet to send [10:15:33]OFD Sender: No OFD packet to send [10:15:38]OFD Sender: No OFD packet to send [10:15:43]OFD Sender: No OFD packet to send [10:15:48]OFD Sender: No OFD packet to send [10:15:53]OFD Sender: No OFD packet to send [10:15:58]OFD Sender: No OFD packet to send [10:16:03]OFD Sender: No OFD packet to send [10:16:08]OFD Sender: No OFD packet to send [10:16:13]OFD Sender: No OFD packet to send [10:16:18]OFD Sender: No OFD packet to send [10:16:23]OFD Sender: No OFD packet to send [10:16:28]OFD Sender: No OFD packet to send [10:16:33]OFD Sender: No OFD packet to send [10:16:38]OFD Sender: No OFD packet to send [10:16:43]OFD Sender: No OFD packet to send [10:16:48]OFD Sender: No OFD packet to send [10:16:53]OFD Sender: No OFD packet to send [10:16:58]OFD Sender: No OFD packet to send [10:17:03]OFD Sender: No OFD packet to send [10:17:08]OFD Sender: No OFD packet to send [10:17:13]OFD Sender: No OFD packet to send [10:17:18]OFD Sender: No OFD packet to send [10:17:23]OFD Sender: No OFD packet to send [10:17:28]OFD Sender: No OFD packet to send [10:17:33]OFD Sender: No OFD packet to send [10:17:38]OFD Sender: No OFD packet to send [10:17:43]OFD Sender: No OFD packet to send [10:17:48]OFD Sender: No OFD packet to send [10:17:53]OFD Sender: No OFD packet to send [10:17:58]OFD Sender: No OFD packet to send [10:18:03]OFD Sender: No OFD packet to send [10:18:08]OFD Sender: No OFD packet to send [10:18:13]OFD Sender: No OFD packet to send [10:18:18]OFD Sender: No OFD packet to send [10:18:23]OFD Sender: No OFD packet to send [10:18:28]OFD Sender: No OFD packet to send [10:18:33]OFD Sender: No OFD packet to send [10:18:38]OFD Sender: No OFD packet to send [10:18:43]OFD Sender: No OFD packet to send [10:18:48]OFD Sender: No OFD packet to send [10:18:53]OFD Sender: No OFD packet to send [10:18:58]OFD Sender: No OFD packet to send [10:19:03]OFD Sender: No OFD packet to send [10:19:08]OFD Sender: No OFD packet to send [10:19:13]OFD Sender: No OFD packet to send [10:19:18]OFD Sender: No OFD packet to send [10:19:23]OFD Sender: No OFD packet to send [10:19:28]OFD Sender: No OFD packet to send [10:19:33]OFD Sender: No OFD packet to send [10:19:38]OFD Sender: No OFD packet to send [10:19:43]OFD Sender: No OFD packet to send [10:19:48]OFD Sender: No OFD packet to send [10:19:53]OFD Sender: No OFD packet to send [10:19:58]OFD Sender: No OFD packet to send [10:20:03]OFD Sender: No OFD packet to send [10:20:08]OFD Sender: No OFD packet to send [10:20:13]OFD Sender: No OFD packet to send [10:20:18]OFD Sender: No OFD packet to send [10:20:23]OFD Sender: No OFD packet to send [10:20:28]OFD Sender: No OFD packet to send [10:20:33]OFD Sender: No OFD packet to send [10:20:38]OFD Sender: No OFD packet to send [10:20:43]OFD Sender: No OFD packet to send [10:20:48]OFD Sender: No OFD packet to send [10:20:53]OFD Sender: No OFD packet to send [10:20:58]OFD Sender: No OFD packet to send [10:21:03]OFD Sender: No OFD packet to send [10:21:08]OFD Sender: No OFD packet to send [10:21:13]OFD Sender: No OFD packet to send [10:21:18]OFD Sender: No OFD packet to send [10:21:24]OFD Sender: No OFD packet to send [10:21:29]OFD Sender: No OFD packet to send [10:21:34]OFD Sender: No OFD packet to send [10:21:39]OFD Sender: No OFD packet to send [10:21:44]OFD Sender: No OFD packet to send [10:21:49]OFD Sender: No OFD packet to send [10:21:54]OFD Sender: No OFD packet to send [10:21:59]OFD Sender: No OFD packet to send [10:22:04]OFD Sender: No OFD packet to send [10:22:09]OFD Sender: No OFD packet to send [10:22:14]OFD Sender: No OFD packet to send [10:22:19]OFD Sender: No OFD packet to send [10:22:24]OFD Sender: No OFD packet to send [10:22:29]OFD Sender: No OFD packet to send [10:22:34]OFD Sender: No OFD packet to send [10:22:39]OFD Sender: No OFD packet to send [10:22:44]OFD Sender: No OFD packet to send [10:22:49]OFD Sender: No OFD packet to send [10:22:54]OFD Sender: No OFD packet to send [10:22:59]OFD Sender: No OFD packet to send [10:23:04]OFD Sender: No OFD packet to send [10:23:09]OFD Sender: No OFD packet to send [10:23:14]OFD Sender: No OFD packet to send [10:23:19]OFD Sender: No OFD packet to send [10:23:24]OFD Sender: No OFD packet to send [10:23:29]OFD Sender: No OFD packet to send [10:23:34]OFD Sender: No OFD packet to send [10:23:39]OFD Sender: No OFD packet to send [10:23:44]OFD Sender: No OFD packet to send [10:23:49]OFD Sender: No OFD packet to send [10:23:54]OFD Sender: No OFD packet to send [10:23:59]OFD Sender: No OFD packet to send [10:24:04]OFD Sender: No OFD packet to send [10:24:09]OFD Sender: No OFD packet to send [10:24:14]OFD Sender: No OFD packet to send [10:24:19]OFD Sender: No OFD packet to send [10:24:24]OFD Sender: No OFD packet to send [10:24:29]OFD Sender: No OFD packet to send [10:24:34]OFD Sender: No OFD packet to send [10:24:39]OFD Sender: No OFD packet to send [10:24:44]OFD Sender: No OFD packet to send [10:24:49]OFD Sender: No OFD packet to send [10:24:54]OFD Sender: No OFD packet to send [10:24:59]OFD Sender: No OFD packet to send [10:25:04]OFD Sender: No OFD packet to send [10:25:09]OFD Sender: No OFD packet to send [10:25:14]OFD Sender: No OFD packet to send [10:25:19]OFD Sender: No OFD packet to send [10:25:24]OFD Sender: No OFD packet to send [10:25:29]OFD Sender: No OFD packet to send [10:25:34]OFD Sender: No OFD packet to send [10:25:39]OFD Sender: No OFD packet to send [10:25:44]OFD Sender: No OFD packet to send [10:25:49]OFD Sender: No OFD packet to send [10:25:54]OFD Sender: No OFD packet to send [10:25:59]OFD Sender: No OFD packet to send [10:26:04]OFD Sender: No OFD packet to send [10:26:09]OFD Sender: No OFD packet to send [10:26:14]OFD Sender: No OFD packet to send [10:26:19]OFD Sender: No OFD packet to send [10:26:24]OFD Sender: No OFD packet to send [10:26:29]OFD Sender: No OFD packet to send [10:26:34]OFD Sender: No OFD packet to send [10:26:39]OFD Sender: No OFD packet to send [10:26:44]OFD Sender: No OFD packet to send [10:26:49]OFD Sender: No OFD packet to send [10:26:54]OFD Sender: No OFD packet to send [10:26:59]OFD Sender: No OFD packet to send [10:27:04]OFD Sender: No OFD packet to send [10:27:09]OFD Sender: No OFD packet to send [10:27:14]OFD Sender: No OFD packet to send [10:27:19]OFD Sender: No OFD packet to send [10:27:24]OFD Sender: No OFD packet to send [10:27:29]OFD Sender: No OFD packet to send [10:27:34]OFD Sender: No OFD packet to send [10:27:39]OFD Sender: No OFD packet to send [10:27:44]OFD Sender: No OFD packet to send [10:27:49]OFD Sender: No OFD packet to send [10:27:54]OFD Sender: No OFD packet to send [10:27:59]OFD Sender: No OFD packet to send [10:28:04]OFD Sender: No OFD packet to send [10:28:09]OFD Sender: No OFD packet to send [10:28:14]OFD Sender: No OFD packet to send [10:28:19]OFD Sender: No OFD packet to send [10:28:24]OFD Sender: No OFD packet to send [10:28:29]OFD Sender: No OFD packet to send [10:28:34]OFD Sender: No OFD packet to send [10:28:39]OFD Sender: No OFD packet to send [10:28:44]OFD Sender: No OFD packet to send [10:28:49]OFD Sender: No OFD packet to send [10:28:54]OFD Sender: No OFD packet to send [10:28:59]OFD Sender: No OFD packet to send [10:29:04]OFD Sender: No OFD packet to send [10:29:09]OFD Sender: No OFD packet to send [10:29:14]OFD Sender: No OFD packet to send [10:29:19]OFD Sender: No OFD packet to send [10:29:24]OFD Sender: No OFD packet to send [10:29:29]OFD Sender: No OFD packet to send [10:29:34]OFD Sender: No OFD packet to send [10:29:39]OFD Sender: No OFD packet to send [10:29:44]OFD Sender: No OFD packet to send [10:29:49]OFD Sender: No OFD packet to send [10:29:54]OFD Sender: No OFD packet to send [10:29:59]OFD Sender: No OFD packet to send [10:30:04]OFD Sender: No OFD packet to send [10:30:09]OFD Sender: No OFD packet to send [10:30:14]OFD Sender: No OFD packet to send [10:30:19]OFD Sender: No OFD packet to send [10:30:24]OFD Sender: No OFD packet to send [10:30:29]OFD Sender: No OFD packet to send [10:30:34]OFD Sender: No OFD packet to send [10:30:39]OFD Sender: No OFD packet to send [10:30:44]OFD Sender: No OFD packet to send [10:30:49]OFD Sender: No OFD packet to send [10:30:54]OFD Sender: No OFD packet to send [10:30:59]OFD Sender: No OFD packet to send [10:31:04]OFD Sender: No OFD packet to send [10:31:09]OFD Sender: No OFD packet to send [10:31:14]OFD Sender: No OFD packet to send [10:31:19]OFD Sender: No OFD packet to send [10:31:24]OFD Sender: No OFD packet to send [10:31:29]OFD Sender: No OFD packet to send [10:31:34]OFD Sender: No OFD packet to send [10:31:39]OFD Sender: No OFD packet to send [10:31:44]OFD Sender: No OFD packet to send [10:31:49]OFD Sender: No OFD packet to send [10:31:54]OFD Sender: No OFD packet to send [10:31:59]OFD Sender: No OFD packet to send [10:32:04]OFD Sender: No OFD packet to send [10:32:09]OFD Sender: No OFD packet to send [10:32:14]OFD Sender: No OFD packet to send [10:32:19]OFD Sender: No OFD packet to send [10:32:24]OFD Sender: No OFD packet to send [10:32:29]OFD Sender: No OFD packet to send [10:32:34]OFD Sender: No OFD packet to send [10:32:39]OFD Sender: No OFD packet to send [10:32:44]OFD Sender: No OFD packet to send [10:32:49]OFD Sender: No OFD packet to send [10:32:54]OFD Sender: No OFD packet to send [10:32:59]OFD Sender: No OFD packet to send [10:33:04]OFD Sender: No OFD packet to send [10:33:09]OFD Sender: No OFD packet to send [10:33:14]OFD Sender: No OFD packet to send [10:33:19]OFD Sender: No OFD packet to send [10:33:24]OFD Sender: No OFD packet to send [10:33:29]OFD Sender: No OFD packet to send [10:33:34]OFD Sender: No OFD packet to send [10:33:39]OFD Sender: No OFD packet to send [10:33:44]OFD Sender: No OFD packet to send [10:33:49]OFD Sender: No OFD packet to send [10:33:54]OFD Sender: No OFD packet to send [10:33:59]OFD Sender: No OFD packet to send [10:34:04]OFD Sender: No OFD packet to send [10:34:09]OFD Sender: No OFD packet to send [10:34:14]OFD Sender: No OFD packet to send [10:34:19]OFD Sender: No OFD packet to send [10:34:24]OFD Sender: No OFD packet to send [10:34:29]OFD Sender: No OFD packet to send [10:34:34]OFD Sender: No OFD packet to send [10:34:39]OFD Sender: No OFD packet to send [10:34:44]OFD Sender: No OFD packet to send [10:34:49]OFD Sender: No OFD packet to send [10:34:54]OFD Sender: No OFD packet to send [10:34:59]OFD Sender: No OFD packet to send [10:35:04]OFD Sender: No OFD packet to send [10:35:09]OFD Sender: No OFD packet to send [10:35:14]OFD Sender: No OFD packet to send [10:35:19]OFD Sender: No OFD packet to send [10:35:24]OFD Sender: No OFD packet to send [10:35:29]OFD Sender: No OFD packet to send [10:35:34]OFD Sender: No OFD packet to send [10:35:39]OFD Sender: No OFD packet to send [10:35:44]OFD Sender: No OFD packet to send [10:35:49]OFD Sender: No OFD packet to send [10:35:54]OFD Sender: No OFD packet to send [10:35:59]OFD Sender: No OFD packet to send [10:36:04]OFD Sender: No OFD packet to send [10:36:09]OFD Sender: No OFD packet to send [10:36:14]OFD Sender: No OFD packet to send [10:36:19]OFD Sender: No OFD packet to send [10:36:24]OFD Sender: No OFD packet to send [10:36:29]OFD Sender: No OFD packet to send [10:36:34]OFD Sender: No OFD packet to send [10:36:39]OFD Sender: No OFD packet to send [10:36:44]OFD Sender: No OFD packet to send [10:36:49]OFD Sender: No OFD packet to send [10:36:54]OFD Sender: No OFD packet to send [10:36:59]OFD Sender: No OFD packet to send [10:37:04]OFD Sender: No OFD packet to send [10:37:09]OFD Sender: No OFD packet to send [10:37:14]OFD Sender: No OFD packet to send [10:37:19]OFD Sender: No OFD packet to send [10:37:24]OFD Sender: No OFD packet to send [10:37:29]OFD Sender: No OFD packet to send [10:37:34]OFD Sender: No OFD packet to send [10:37:39]OFD Sender: No OFD packet to send [10:37:44]OFD Sender: No OFD packet to send [10:37:49]OFD Sender: No OFD packet to send [10:37:54]OFD Sender: No OFD packet to send [10:37:59]OFD Sender: No OFD packet to send [10:38:04]OFD Sender: No OFD packet to send [10:38:09]OFD Sender: No OFD packet to send [10:38:14]OFD Sender: No OFD packet to send [10:38:19]OFD Sender: No OFD packet to send [10:38:24]OFD Sender: No OFD packet to send [10:38:29]OFD Sender: No OFD packet to send [10:38:34]OFD Sender: No OFD packet to send [10:38:39]OFD Sender: No OFD packet to send [10:38:44]OFD Sender: No OFD packet to send [10:38:49]OFD Sender: No OFD packet to send [10:38:54]OFD Sender: No OFD packet to send [10:38:59]OFD Sender: No OFD packet to send [10:39:04]OFD Sender: No OFD packet to send [10:39:09]OFD Sender: No OFD packet to send [10:39:14]OFD Sender: No OFD packet to send [10:39:19]OFD Sender: No OFD packet to send [10:39:24]OFD Sender: No OFD packet to send [10:39:29]OFD Sender: No OFD packet to send [10:39:34]OFD Sender: No OFD packet to send [10:39:39]OFD Sender: No OFD packet to send [10:39:44]OFD Sender: No OFD packet to send [10:39:49]OFD Sender: No OFD packet to send [10:39:54]OFD Sender: No OFD packet to send [10:39:59]OFD Sender: No OFD packet to send [10:40:04]OFD Sender: No OFD packet to send [10:40:09]OFD Sender: No OFD packet to send [10:40:14]OFD Sender: No OFD packet to send [10:40:19]OFD Sender: No OFD packet to send [10:40:24]OFD Sender: No OFD packet to send [10:40:29]OFD Sender: No OFD packet to send [10:40:34]OFD Sender: No OFD packet to send [10:40:39]OFD Sender: No OFD packet to send [10:40:44]OFD Sender: No OFD packet to send [10:40:49]OFD Sender: No OFD packet to send [10:40:54]OFD Sender: No OFD packet to send [10:40:59]OFD Sender: No OFD packet to send [10:41:04]OFD Sender: No OFD packet to send [10:41:09]OFD Sender: No OFD packet to send [10:41:14]OFD Sender: No OFD packet to send [10:41:19]OFD Sender: No OFD packet to send [10:41:24]OFD Sender: No OFD packet to send [10:41:29]OFD Sender: No OFD packet to send [10:41:34]OFD Sender: No OFD packet to send [10:41:39]OFD Sender: No OFD packet to send [10:41:44]OFD Sender: No OFD packet to send [10:41:49]OFD Sender: No OFD packet to send [10:41:54]OFD Sender: No OFD packet to send [10:41:59]OFD Sender: No OFD packet to send [10:42:04]OFD Sender: No OFD packet to send [10:42:09]OFD Sender: No OFD packet to send [10:42:14]OFD Sender: No OFD packet to send [10:42:19]OFD Sender: No OFD packet to send [10:42:24]OFD Sender: No OFD packet to send [10:42:29]OFD Sender: No OFD packet to send [10:42:34]OFD Sender: No OFD packet to send [10:42:39]OFD Sender: No OFD packet to send [10:42:44]OFD Sender: No OFD packet to send [10:42:50]OFD Sender: No OFD packet to send [10:42:55]OFD Sender: No OFD packet to send [10:43:00]OFD Sender: No OFD packet to send [10:43:05]OFD Sender: No OFD packet to send [10:43:10]OFD Sender: No OFD packet to send [10:43:15]OFD Sender: No OFD packet to send [10:43:20]OFD Sender: No OFD packet to send [10:43:25]OFD Sender: No OFD packet to send [10:43:30]OFD Sender: No OFD packet to send [10:43:35]OFD Sender: No OFD packet to send [10:43:40]OFD Sender: No OFD packet to send [10:43:45]OFD Sender: No OFD packet to send [10:43:50]OFD Sender: No OFD packet to send [10:43:55]OFD Sender: No OFD packet to send [10:44:00]OFD Sender: No OFD packet to send [10:44:05]OFD Sender: No OFD packet to send [10:44:10]OFD Sender: No OFD packet to send [10:44:15]OFD Sender: No OFD packet to send [10:44:20]OFD Sender: No OFD packet to send [10:44:25]OFD Sender: No OFD packet to send [10:44:30]OFD Sender: No OFD packet to send [10:44:35]OFD Sender: No OFD packet to send [10:44:40]OFD Sender: No OFD packet to send [10:44:45]OFD Sender: No OFD packet to send [10:44:50]OFD Sender: No OFD packet to send [10:44:55]OFD Sender: No OFD packet to send [10:45:00]OFD Sender: No OFD packet to send [10:45:05]OFD Sender: No OFD packet to send [10:45:10]OFD Sender: No OFD packet to send [10:45:15]OFD Sender: No OFD packet to send [10:45:20]OFD Sender: No OFD packet to send [10:45:25]OFD Sender: No OFD packet to send [10:45:30]OFD Sender: No OFD packet to send [10:45:35]OFD Sender: No OFD packet to send [10:45:40]OFD Sender: No OFD packet to send [10:45:45]OFD Sender: No OFD packet to send [10:45:50]OFD Sender: No OFD packet to send [10:45:55]OFD Sender: No OFD packet to send [10:46:00]OFD Sender: No OFD packet to send [10:46:05]OFD Sender: No OFD packet to send [10:46:10]OFD Sender: No OFD packet to send [10:46:15]OFD Sender: No OFD packet to send [10:46:20]OFD Sender: No OFD packet to send [10:46:25]OFD Sender: No OFD packet to send [10:46:30]OFD Sender: No OFD packet to send [10:46:35]OFD Sender: No OFD packet to send [10:46:40]OFD Sender: No OFD packet to send [10:46:45]OFD Sender: No OFD packet to send [10:46:50]OFD Sender: No OFD packet to send [10:46:55]OFD Sender: No OFD packet to send [10:47:00]OFD Sender: No OFD packet to send [10:47:05]OFD Sender: No OFD packet to send [10:47:10]OFD Sender: No OFD packet to send [10:47:15]OFD Sender: No OFD packet to send [10:47:20]OFD Sender: No OFD packet to send [10:47:25]OFD Sender: No OFD packet to send [10:47:30]OFD Sender: No OFD packet to send [10:47:35]OFD Sender: No OFD packet to send [10:47:40]OFD Sender: No OFD packet to send [10:47:45]OFD Sender: No OFD packet to send [10:47:50]OFD Sender: No OFD packet to send [10:47:55]OFD Sender: No OFD packet to send [10:48:00]OFD Sender: No OFD packet to send [10:48:05]OFD Sender: No OFD packet to send [10:48:10]OFD Sender: No OFD packet to send [10:48:15]OFD Sender: No OFD packet to send [10:48:20]OFD Sender: No OFD packet to send [10:48:25]OFD Sender: No OFD packet to send [10:48:30]OFD Sender: No OFD packet to send [10:48:35]OFD Sender: No OFD packet to send [10:48:40]OFD Sender: No OFD packet to send [10:48:45]OFD Sender: No OFD packet to send [10:48:50]OFD Sender: No OFD packet to send [10:48:55]OFD Sender: No OFD packet to send [10:49:00]OFD Sender: No OFD packet to send [10:49:05]OFD Sender: No OFD packet to send [10:49:10]OFD Sender: No OFD packet to send [10:49:15]OFD Sender: No OFD packet to send [10:49:20]OFD Sender: No OFD packet to send [10:49:25]OFD Sender: No OFD packet to send [10:49:30]OFD Sender: No OFD packet to send [10:49:35]OFD Sender: No OFD packet to send [10:49:40]OFD Sender: No OFD packet to send [10:49:45]OFD Sender: No OFD packet to send [10:49:50]OFD Sender: No OFD packet to send [10:49:55]OFD Sender: No OFD packet to send [10:50:00]OFD Sender: No OFD packet to send [10:50:05]OFD Sender: No OFD packet to send [10:50:10]OFD Sender: No OFD packet to send [10:50:15]OFD Sender: No OFD packet to send [10:50:20]OFD Sender: No OFD packet to send [10:50:25]OFD Sender: No OFD packet to send [10:50:30]OFD Sender: No OFD packet to send [10:50:35]OFD Sender: No OFD packet to send [10:50:40]OFD Sender: No OFD packet to send [10:50:45]OFD Sender: No OFD packet to send [10:50:50]OFD Sender: No OFD packet to send [10:50:55]OFD Sender: No OFD packet to send [10:51:00]OFD Sender: No OFD packet to send [10:51:05]OFD Sender: No OFD packet to send [10:51:10]OFD Sender: No OFD packet to send [10:51:15]OFD Sender: No OFD packet to send [10:51:20]OFD Sender: No OFD packet to send [10:51:25]OFD Sender: No OFD packet to send [10:51:30]OFD Sender: No OFD packet to send [10:51:35]OFD Sender: No OFD packet to send [10:51:40]OFD Sender: No OFD packet to send [10:51:45]OFD Sender: No OFD packet to send [10:51:50]OFD Sender: No OFD packet to send [10:51:51]accept exits with 9 [10:51:51]New connection [10:51:51]New thread 3066453348 created [10:51:51]Thread 3066596708 joined [10:51:51]Waiting for new connection... [10:51:51] Sock 9.Parse request [10:51:51]Sock 9.Check first char [10:51:51]Sock 9.First char is OK [10:51:51]request: POST /json_proto HTTP/1.0 [10:51:51]Method: POST [10:51:51]URL: /json_proto [10:51:51]Method is POST - this is cgi request [10:51:51]url: /json_proto [10:51:51]query_string will be loaded in cgi processing [10:51:51]execute_cgi json_proto POST (null) [10:51:51]execute_cgi path=json_proto method=POST [10:51:51]POST find Content-Length [10:51:51]Host: 172.17.32.68:8080 [10:51:51]Content-Length: 746 [10:51:51]Content-Type: application/json [10:51:51] [10:51:51]POST finish read [10:51:51]Found Content-Length = 746 [10:51:51]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242255", "tax_sys" : 0, "items" : [ { "code": "50173808", "name": "\u0416\u0435\u0432 Orbit Sweet Mint", "price" : 40.00, "quantity" : 1.000, "sum" : 40.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: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 40.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:51:51]execute_script... [10:51: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)242255", "tax_sys" : 0, "items" : [ { "code": "50173808", "name": "\u0416\u0435\u0432 Orbit Sweet Mint", "price" : 40.00, "quantity" : 1.000, "sum" : 40.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: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 40.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:51:51]POST & json_proto [10:51:51]process_json_proto [10:51:51]json parsed OK: [10:51:51]protocol is kg_v1.0 [10:51:51]action value=close_receipt [10:51:51]process_action close_receipt [10:51:51]cmd_close_receipt [10:51:51]MH_GetDate [10:51:51]Write to MH i2c: F0 00 00 42 51 82 [10:51:51]Write i2c OK [10:51:51]MH_I2C_Read... [10:51:51]Read from MH i2c: F0 [10:51:51]MH_I2C_Read... [10:51:51]Read from MH i2c: F0 09 00 [10:51:51]MH_I2C_Read... [10:51:51]Read from MH i2c: F0 09 00 42 51 00 D6 33 F0 65 0A 64 6E 65 2A [10:51:51]GetLastDocTimeStamp 1710235297 [10:51:51]current date 1710240726 [10:51:51]FM_GetShiftState [10:51:51]SAM_PROTO_GetShiftState [10:51:51]wFMCommunicate request_size=4 [10:51:51]MH_SAM_APDU [10:51:51]CAPDU: 80 13 01 00 [10:51:51]Write to MH i2c: E2 08 00 43 51 80 13 01 00 00 00 00 00 11 [10:51:51]Write i2c OK [10:51:51]MH_I2C_Read... [10:51:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:51:51]Read from MH i2c: E2 [10:51:51]MH_I2C_Read... [10:51:51]Read from MH i2c: E2 0E 00 [10:51:51]MH_I2C_Read... [10:51:51]Read from MH i2c: E2 0E 00 43 51 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 40 [10:51:51]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [10:51:51]wFMCommunicate OK [10:51:51]SAM_PROTO_GetShiftState done [10:51:51]FM_GetShiftState done [10:51:51]opened in 1710202417 [10:51:51]opened+sec_in_day 1710288817 [10:51:51]quantity*price = 4000 [10:51:51]sum+1 = 4001 [10:51:51]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 40.00 НСП 1% : 0.35 НДС 12% : 4.25 Наличными: 0.00 Безнал.: 40.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 20 12.03.2024 10:52 Смена: 314 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 Платежная система: O! деньги ФМ: 0000000000871816 ФД: 47342 ФПД: 159327800878354 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T105206&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47342&fm=159327800878354&tin=02508201610067®Number=0000000000092018&sum=4000 0 [10:51:52]StoreToDocumentArchive [10:51:52]shift 314 fd 47342 [10:51:52]save to /storage/0314/doc_00047342 [10:51:52]save last doc name /storage/0314/doc_00047342 to /storage/kkm_last_doc_name [10:51:52]save OK [10:51:52]Clear old archive folders... [10:51:52]ProcessDocumentItem done err = 0, tmpTLVsize=260 [10:51:52]tlvbuf is B6E6A3F0 [10:51:52]SAM_PROTO_ClearQueue [10:51:52]wFMCommunicate request_size=4 [10:51:52]MH_SAM_APDU [10:51:52]CAPDU: 80 09 00 00 [10:51:52]Write to MH i2c: E2 08 00 50 51 80 09 00 00 00 00 00 00 13 [10:51:52]Write i2c OK [10:51:52]MH_I2C_Read... [10:51:52]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:51:52]Read from MH i2c: E2 [10:51:52]MH_I2C_Read... [10:51:52]Read from MH i2c: E2 03 00 [10:51:52]MH_I2C_Read... [10:51:52]Read from MH i2c: E2 03 00 50 51 00 90 00 15 [10:51:52]RAPDU: 90 00 [10:51:52]wFMCommunicate OK [10:51:52]SAM_PROTO_ClearQueue done [10:51:52]KKMCreateOFDPacket [10:51:52]OFDProtocolAddRootSTLVToBuf [10:51:52]FM_MakeSignedData [10:51:52]FM_MakeSignedData [10:51:52]SAM_PROTO_SignData [10:51:52]wFMCommunicate request_size=4 [10:51:52]MH_SAM_APDU [10:51:52]CAPDU: 80 0D 01 02 [10:51:52]Write to MH i2c: E2 08 00 51 51 80 0D 01 02 00 00 00 00 1B [10:51:52]Write i2c OK [10:51:52]MH_I2C_Read... [10:51:52]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:51:52]Read from MH i2c: E2 [10:51:52]MH_I2C_Read... [10:51:52]Read from MH i2c: E2 03 00 [10:51:52]MH_I2C_Read... [10:51:52]Read from MH i2c: E2 03 00 51 51 00 90 00 16 [10:51:52]RAPDU: 90 00 [10:51:52]wFMCommunicate OK [10:51:52]wFMCommunicate request_size=255 [10:51:52]MH_SAM_APDU [10:51:52]CAPDU: 80 0D 02 02 FA 03 00 04 01 1E 04 01 00 01 23 04 56 00 8A 04 08 00 35 30 31 37 33 38 30 38 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 53 77 65 65 74 20 4D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A0 0F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 D6 33 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 [10:51:52]Write to MH i2c: E2 02 01 52 51 80 0D 02 02 FA 00 03 00 04 01 1E 04 01 00 01 23 04 56 00 8A 04 08 00 35 30 31 37 33 38 30 38 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 53 77 65 65 74 20 4D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A0 0F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 D6 33 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 00 00 BC [10:51:52]Write i2c OK [10:51:52]MH_I2C_Read... [10:51:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:51:52]Read from MH i2c: E2 [10:51:52]MH_I2C_Read... [10:51:52]Read from MH i2c: E2 03 00 [10:51:52]MH_I2C_Read... [10:51:52]Read from MH i2c: E2 03 00 52 51 00 90 00 17 [10:51:52]RAPDU: 90 00 [10:51:52]wFMCommunicate OK [10:51:52]wFMCommunicate request_size=19 [10:51:52]MH_SAM_APDU [10:51:52]CAPDU: 80 0D 02 02 0E EE B8 00 00 35 04 06 00 90 E8 64 F9 65 12 [10:51:52]Write to MH i2c: E2 16 00 53 51 80 0D 02 02 0E 00 EE B8 00 00 35 04 06 00 90 E8 64 F9 65 12 00 00 6B [10:51:52]Write i2c OK [10:51:52]MH_I2C_Read... [10:51:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:51:52]Read from MH i2c: E2 [10:51:52]MH_I2C_Read... [10:51:52]Read from MH i2c: E2 03 00 [10:51:52]MH_I2C_Read... [10:51:52]Read from MH i2c: E2 03 00 53 51 00 90 00 18 [10:51:52]RAPDU: 90 00 [10:51:52]wFMCommunicate OK [10:51:52]wFMCommunicate request_size=4 [10:51:52]MH_SAM_APDU [10:51:52]CAPDU: 80 0D 03 02 [10:51:52]Write to MH i2c: E2 08 00 54 51 80 0D 03 02 00 00 00 00 20 [10:51:52]Write i2c OK [10:51:52]MH_I2C_Read... [10:51:52]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:51:52]Read from MH i2c: E2 [10:51:52]MH_I2C_Read... [10:51:52]Read from MH i2c: E2 0B 00 [10:51:52]MH_I2C_Read... [10:51:52]Read from MH i2c: E2 0B 00 54 51 00 DE 51 27 2E 6E 04 10 C3 90 00 EA [10:51:52]RAPDU: DE 51 27 2E 6E 04 10 C3 90 00 [10:51:52]wFMCommunicate OK [10:51:52]SAM_PROTO_SignData done [10:51:52]FM_MakeSignedData done [10:51:52]CreateOFDProtocolMessage [10:51:52]wFMCommunicate request_size=4 [10:51:52]MH_SAM_APDU [10:51:52]CAPDU: 80 11 00 00 [10:51:52]Write to MH i2c: E2 08 00 55 51 80 11 00 00 00 00 00 00 20 [10:51:52]Write i2c OK [10:51:52]MH_I2C_Read... [10:51:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:51:52]Read from MH i2c: E2 [10:51:52]MH_I2C_Read... [10:51:52]Read from MH i2c: E2 17 00 [10:51:52]MH_I2C_Read... [10:51:52]Read from MH i2c: E2 17 00 55 51 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 72 [10:51:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [10:51:52]wFMCommunicate OK [10:51:52]CreateOFDProtocolMessage done [10:51:52]OFDSenderStorePacket 47342 [10:51:52]StoreOFDPacket docnum=47342 [10:51:52]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 18 01 00 00 D6 5F 10 01 2A 1A 5A 03 01 00 03 00 04 01 1E 04 01 00 01 23 04 56 00 8A 04 08 00 35 30 31 37 33 38 30 38 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 53 77 65 65 74 20 4D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A0 0F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 D6 33 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 EE B8 00 00 35 04 06 00 90 E8 64 F9 65 12 DE 51 27 2E 6E 04 10 C3 [10:51:52]CheckFolder [10:51:52]dirname=/storage/ofd_packets [10:51:52]CheckFolder done [10:51:52]ProducePacketName [10:51:52]name=ofd_packets/00047342 [10:51:52]NVStorageSaveData ofd_packets/00047342 [10:51:52]File name is /storage/ofd_packets/00047342 [10:51:52]Write 310 bytes [10:51:52]NVStorageSaveData done [10:51:52]OFDSenderStorePacket done [10:51:52]KKMCreateOFDPacket done [10:51:52]NVStorageSaveData kkm_last_timestamp [10:51:52]File name is /storage/kkm_last_timestamp [10:51:52]Write 4 bytes [10:51:52]NVStorageSaveData done [10:51:52]ExternCall_PrintAddStr [10:51:52]wPrintStart [10:51:52]Write to MH i2c: 01 00 00 56 51 A7 [10:51:52]Write i2c OK [10:51:52]MH_I2C_Read... [10:51:52]Read from MH i2c: 01 [10:51:52]MH_I2C_Read... [10:51:52]Read from MH i2c: 01 07 00 [10:51:52]MH_I2C_Read... [10:51:52]Read from MH i2c: 01 07 00 56 51 00 00 00 00 00 FF 0F BC [10:51:52]RasterBufferAndPrint [10:51:52]line Счет N : (3)242255 [10:51:52]line ИНН: 02508201610067 [10:51:52]line Контрольно-Кассовый Чек [10:51:52]line ПРОДАЖА [10:51:52]line Товар: 50173808 [10:51:52]line Жев Orbit Sweet Mint [10:51:52]line 1.000 * 40.00 [10:51:52]line = 40.00 [10:51:52]line НДС 12% НСП 1% [10:51:52]line > о реализуемом товаре [10:51:52]line ИТОГО: 40.00 [10:51:52]line НСП 1% : 0.35 [10:51:52]line НДС 12% : 4.25 [10:51:52]line Наличными: 0.00 [10:51:52]line Безнал.: 40.00 [10:51:52]line Место: АЗС № 15 "Партнер Нефть" [10:51:52]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [10:51:52]line СНО: Общий режим [10:51:52]line Чек 20 12.03.2024 10:52 [10:51:52]line Смена: 314 ФФД: 1.0 [10:51:52]line ЗНМ: 0300000097 [10:51:52]line РНМ: 0000000000092018 [10:51:52]line Версия ККМ: 001 [10:51:52]line Платежная система: O! деньги [10:51:52]line ФМ: 0000000000871816 [10:51:52]line ФД: 47342 [10:51:52]line ФПД: 159327800878354 [10:51:53]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T105206&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47342&fm=159327800878354&tin=02508201610067®Number=0000000000092018&sum=4000 [10:51:53]line 0 [10:51:53]OFD Sender: Processing packet 47342 [packets to send 8, broken 7] [10:51:53]ProducePacketName [10:51:53]name=ofd_packets/00047342 [10:51:53]OFD Sender: To server: pG, [10:51:53]CommunicateWithHost lk.salyk.kg:30040 [10:51:53]ConnectInit lk.salyk.kg [10:51:53]written 0, free lines is 4095 [10:51:53]Connected sock=10 [10:51: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 31 36 18 01 00 00 D6 5F 10 01 2A 1A 5A 03 01 00 03 00 04 01 1E 04 01 00 01 23 04 56 00 8A 04 08 00 35 30 31 37 33 38 30 38 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 53 77 65 65 74 20 4D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A0 0F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 D6 33 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 EE B8 00 00 35 04 06 00 90 E8 64 F9 65 12 DE 51 27 2E 6E 04 10 C3 [10:51: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 31 36 4F 00 00 00 95 A2 47 00 05 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 31 36 10 04 04 00 EE B8 00 00 F4 03 04 00 68 DE EF 65 B6 04 01 00 00 BA B1 D6 16 51 43 00 C6 [10:51:53]CommunicateWithHost err = 0 [10:51:53]CheckOFDResponse [10:51:53]1017 (14) - 77093643461234 [10:51:53]1041 (16) - 0000000000871816 [10:51:53]1040 (4) - 47342 [10:51:53]1012 (4) - 12.03.2024 04:47 [10:51:53]1206 (1) - 0 [10:51:53]OFD Sender: Remove packet 47342 [10:51:53]ProducePacketName [10:51:53]name=ofd_packets/00047342 [10:51:53]NVStorageDeleteData [10:51:53]Write to MH i2c: 01 00 00 80 51 D1 [10:51:53]Write i2c OK [10:51:53]MH_I2C_Read... [10:51:53]Read from MH i2c: 01 [10:51:53]MH_I2C_Read... [10:51:53]Read from MH i2c: 01 07 00 [10:51:53]MH_I2C_Read... [10:51:53]Read from MH i2c: 01 07 00 80 51 00 00 00 00 00 C9 0C AD [10:51:53]RasterBufferAndPrint [10:51:53]line [10:51:53]line [10:51:53]line [10:51:53]line [10:51:53]line [10:51:53]written 0, free lines is 3282 [10:51:53]MH_Cut [10:51:53]Write to MH i2c: D1 01 00 87 51 01 AA [10:51:53]Write i2c OK [10:51:53]MH_I2C_Read... [10:51:53]Read from MH i2c: D1 [10:51:53]MH_I2C_Read... [10:51:53]Read from MH i2c: D1 01 00 [10:51:53]MH_I2C_Read... [10:51:53]Read from MH i2c: D1 01 00 87 51 00 A9 [10:51:53]Write to MH i2c: 01 00 00 88 51 D9 [10:51:53]Write i2c OK [10:51:53]MH_I2C_Read... [10:51:54]OFD Sender: No OFD packet to send [10:51:54]*** Cut start [10:51:54]*** Purtial cut [10:51:54]*** Stage 1: CUTSNS_PIN = 1 [10:51:54]Read from MH i2c: 01 [10:51:54]MH_I2C_Read... [10:51:54]*** Stop cut motor [10:51:54]*** Cut end [10:51:54]Read from MH i2c: 01 07 00 [10:51:54]MH_I2C_Read... [10:51:54]Read from MH i2c: 01 07 00 88 51 00 00 00 00 00 FF 0F EE [10:51:54]process_action close_receipt done [10:51:54]requested_data is exist [10:51:54]produce_requested_data [10:51:54]requested_item fm.sn is exist - process it [10:51:54]wFMCommunicate request_size=4 [10:51:54]MH_SAM_APDU [10:51:54]CAPDU: 80 11 00 00 [10:51:54]Write to MH i2c: E2 08 00 89 51 80 11 00 00 00 00 00 00 54 [10:51:54]Write i2c OK [10:51:54]MH_I2C_Read... [10:51:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:51:54]Read from MH i2c: E2 [10:51:54]MH_I2C_Read... [10:51:54]Read from MH i2c: E2 17 00 [10:51:54]MH_I2C_Read... [10:51:54]Read from MH i2c: E2 17 00 89 51 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 A6 [10:51:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [10:51:54]wFMCommunicate OK [10:51:54]requested_item fd.num is exist - process it [10:51:54]SAM_PROTO_GetFieldsCounters [10:51:54]wFMCommunicate request_size=4 [10:51:54]MH_SAM_APDU [10:51:54]CAPDU: 80 13 00 00 [10:51:54]Write to MH i2c: E2 08 00 8A 51 80 13 00 00 00 00 00 00 57 [10:51:54]Write i2c OK [10:51:54]MH_I2C_Read... [10:51:55]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:51:55]Read from MH i2c: E2 [10:51:55]MH_I2C_Read... [10:51:55]Read from MH i2c: E2 62 00 [10:51:55]MH_I2C_Read... [10:51:55]Read from MH i2c: E2 62 00 8A 51 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 EE B8 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 14 00 00 00 5E 04 04 00 14 00 00 00 57 04 04 00 15 00 00 00 19 04 04 00 00 00 00 00 90 00 8F [10:51: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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 EE B8 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 14 00 00 00 5E 04 04 00 14 00 00 00 57 04 04 00 15 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:51:55]wFMCommunicate OK [10:51:55]SAM_PROTO_GetFieldsCounters done [10:51:55]requested_item shift.num is exist - process it [10:51:55]requested_item shift.opened is exist - process it [10:51:55]req_shift_opened [10:51:55]FM_GetShiftState [10:51:55]SAM_PROTO_GetShiftState [10:51:55]wFMCommunicate request_size=4 [10:51:55]MH_SAM_APDU [10:51:55]CAPDU: 80 13 01 00 [10:51:55]Write to MH i2c: E2 08 00 8B 51 80 13 01 00 00 00 00 00 59 [10:51:55]Write i2c OK [10:51:55]MH_I2C_Read... [10:51:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:51:55]Read from MH i2c: E2 [10:51:55]MH_I2C_Read... [10:51:55]Read from MH i2c: E2 0E 00 [10:51:55]MH_I2C_Read... [10:51:55]Read from MH i2c: E2 0E 00 8B 51 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 88 [10:51:55]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [10:51:55]wFMCommunicate OK [10:51:55]SAM_PROTO_GetShiftState done [10:51:55]FM_GetShiftState done [10:51:55]req_shift_opened done [10:51:55]requested_item shift.open_date is exist - process it [10:51:55]req_shift_open_date [10:51:55]req_shift_open_date done [10:51:55]produce_requested_data done [10:51:55]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47342,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [10:51:55]process_action_free close_receipt [10:51:55]json_value_free [10:51:55]json_value_free done [10:51:55]process_json_proto returns [10:51:55]Send response to host [10:51:55]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47342,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [10:51:55]free response buf [10:51:55]execute_script done [10:51:55]execute_script returns [10:51:55]free content buf [10:51:55]Sock 9.Close socket [10:51:55]Sock 9.Thread stoped [10:51:59]OFD Sender: No OFD packet to send [10:52:04]OFD Sender: No OFD packet to send [10:52:09]OFD Sender: No OFD packet to send [10:52:14]OFD Sender: No OFD packet to send [10:52:19]OFD Sender: No OFD packet to send [10:52:24]OFD Sender: No OFD packet to send [10:52:29]OFD Sender: No OFD packet to send [10:52:34]OFD Sender: No OFD packet to send [10:52:39]OFD Sender: No OFD packet to send [10:52:44]OFD Sender: No OFD packet to send [10:52:49]OFD Sender: No OFD packet to send [10:52:54]OFD Sender: No OFD packet to send [10:52:59]OFD Sender: No OFD packet to send [10:53:04]OFD Sender: No OFD packet to send [10:53:09]OFD Sender: No OFD packet to send [10:53:14]OFD Sender: No OFD packet to send [10:53:19]OFD Sender: No OFD packet to send [10:53:24]OFD Sender: No OFD packet to send [10:53:29]OFD Sender: No OFD packet to send [10:53:34]OFD Sender: No OFD packet to send [10:53:39]OFD Sender: No OFD packet to send [10:53:44]OFD Sender: No OFD packet to send [10:53:49]OFD Sender: No OFD packet to send [10:53:54]OFD Sender: No OFD packet to send [10:53:59]OFD Sender: No OFD packet to send [10:54:04]OFD Sender: No OFD packet to send [10:54:09]OFD Sender: No OFD packet to send [10:54:14]OFD Sender: No OFD packet to send [10:54:19]OFD Sender: No OFD packet to send [10:54:24]OFD Sender: No OFD packet to send [10:54:29]OFD Sender: No OFD packet to send [10:54:34]OFD Sender: No OFD packet to send [10:54:39]OFD Sender: No OFD packet to send [10:54:44]OFD Sender: No OFD packet to send [10:54:49]OFD Sender: No OFD packet to send [10:54:54]OFD Sender: No OFD packet to send [10:54:59]OFD Sender: No OFD packet to send [10:55:04]OFD Sender: No OFD packet to send [10:55:09]OFD Sender: No OFD packet to send [10:55:14]OFD Sender: No OFD packet to send [10:55:19]OFD Sender: No OFD packet to send [10:55:24]OFD Sender: No OFD packet to send [10:55:29]OFD Sender: No OFD packet to send [10:55:34]OFD Sender: No OFD packet to send [10:55:39]OFD Sender: No OFD packet to send [10:55:44]OFD Sender: No OFD packet to send [10:55:49]OFD Sender: No OFD packet to send [10:55:54]OFD Sender: No OFD packet to send [10:56:04]OFD Sender: No OFD packet to send [10:56:09]OFD Sender: No OFD packet to send [10:56:14]OFD Sender: No OFD packet to send [10:56:19]OFD Sender: No OFD packet to send [10:56:24]OFD Sender: No OFD packet to send [10:56:29]OFD Sender: No OFD packet to send [10:56:34]OFD Sender: No OFD packet to send [10:56:39]OFD Sender: No OFD packet to send [10:56:44]OFD Sender: No OFD packet to send [10:56:49]OFD Sender: No OFD packet to send [10:56:54]OFD Sender: No OFD packet to send [10:56:59]OFD Sender: No OFD packet to send [10:57:04]OFD Sender: No OFD packet to send [10:57:09]OFD Sender: No OFD packet to send [10:57:14]OFD Sender: No OFD packet to send [10:57:19]OFD Sender: No OFD packet to send [10:57:24]OFD Sender: No OFD packet to send [10:57:29]OFD Sender: No OFD packet to send [10:57:34]OFD Sender: No OFD packet to send [10:57:39]OFD Sender: No OFD packet to send [10:57:44]OFD Sender: No OFD packet to send [10:57:49]OFD Sender: No OFD packet to send [10:57:54]OFD Sender: No OFD packet to send [10:57:59]OFD Sender: No OFD packet to send [10:58:04]OFD Sender: No OFD packet to send [10:58:09]OFD Sender: No OFD packet to send [10:58:12]accept exits with 7 [10:58:12]New connection [10:58:12]New thread 3066596708 created [10:58:12]Thread 3066453348 joined [10:58:12]Waiting for new connection... [10:58:12] Sock 7.Parse request [10:58:12]Sock 7.Check first char [10:58:12]Sock 7.First char is OK [10:58:12]request: POST /json_proto HTTP/1.0 [10:58:12]Method: POST [10:58:12]URL: /json_proto [10:58:12]Method is POST - this is cgi request [10:58:12]url: /json_proto [10:58:12]query_string will be loaded in cgi processing [10:58:12]execute_cgi json_proto POST (null) [10:58:12]execute_cgi path=json_proto method=POST [10:58:12]POST find Content-Length [10:58:12]Host: 172.17.32.68:8080 [10:58:12]Content-Length: 621 [10:58:12]Content-Type: application/json [10:58:12] [10:58:12]POST finish read [10:58:12]Found Content-Length = 621 [10:58:12]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242256", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:58:12]execute_script... [10:58: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)242256", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:58:12]POST & json_proto [10:58:12]process_json_proto [10:58:12]json parsed OK: [10:58:12]protocol is kg_v1.0 [10:58:12]action value=close_receipt [10:58:12]process_action close_receipt [10:58:12]cmd_close_receipt [10:58:12]MH_GetDate [10:58:12]Write to MH i2c: F0 00 00 8C 51 CC [10:58:12]Write i2c OK [10:58:12]MH_I2C_Read... [10:58:12]Read from MH i2c: F0 [10:58:12]MH_I2C_Read... [10:58:12]Read from MH i2c: F0 09 00 [10:58:12]MH_I2C_Read... [10:58:12]Read from MH i2c: F0 09 00 8C 51 00 53 35 F0 65 0A 64 6E 65 F3 [10:58:12]GetLastDocTimeStamp 1710240726 [10:58:12]current date 1710241107 [10:58:12]FM_GetShiftState [10:58:12]SAM_PROTO_GetShiftState [10:58:12]wFMCommunicate request_size=4 [10:58:12]MH_SAM_APDU [10:58:12]CAPDU: 80 13 01 00 [10:58:12]Write to MH i2c: E2 08 00 8D 51 80 13 01 00 00 00 00 00 5B [10:58:12]Write i2c OK [10:58:12]MH_I2C_Read... [10:58:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:58:12]Read from MH i2c: E2 [10:58:12]MH_I2C_Read... [10:58:12]Read from MH i2c: E2 0E 00 [10:58:12]MH_I2C_Read... [10:58:12]Read from MH i2c: E2 0E 00 8D 51 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 8A [10:58:12]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [10:58:12]wFMCommunicate OK [10:58:12]SAM_PROTO_GetShiftState done [10:58:12]FM_GetShiftState done [10:58:12]opened in 1710202417 [10:58:12]opened+sec_in_day 1710288817 [10:58:12]quantity*price = 13500 [10:58:12]sum+1 = 13501 [10:58:12]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 135.00 НСП 1% : 1.19 НДС 12% : 14.34 Наличными: 135.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 21 12.03.2024 10:58 Смена: 314 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47343 ФПД: 70913959223385 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T105827&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47343&fm=70913959223385&tin=02508201610067®Number=0000000000092018&sum=13500 0 [10:58:13]StoreToDocumentArchive [10:58:13]shift 314 fd 47343 [10:58:13]save to /storage/0314/doc_00047343 [10:58:13]save last doc name /storage/0314/doc_00047343 to /storage/kkm_last_doc_name [10:58:13]save OK [10:58:13]Clear old archive folders... [10:58:13]ProcessDocumentItem done err = 0, tmpTLVsize=273 [10:58:13]tlvbuf is B6E51B50 [10:58:13]SAM_PROTO_ClearQueue [10:58:13]wFMCommunicate request_size=4 [10:58:13]MH_SAM_APDU [10:58:13]CAPDU: 80 09 00 00 [10:58:13]Write to MH i2c: E2 08 00 9A 51 80 09 00 00 00 00 00 00 5D [10:58:13]Write i2c OK [10:58:13]MH_I2C_Read... [10:58:13]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:58:13]Read from MH i2c: E2 [10:58:13]MH_I2C_Read... [10:58:13]Read from MH i2c: E2 03 00 [10:58:13]MH_I2C_Read... [10:58:13]Read from MH i2c: E2 03 00 9A 51 00 90 00 5F [10:58:13]RAPDU: 90 00 [10:58:13]wFMCommunicate OK [10:58:13]SAM_PROTO_ClearQueue done [10:58:13]KKMCreateOFDPacket [10:58:13]OFDProtocolAddRootSTLVToBuf [10:58:13]FM_MakeSignedData [10:58:13]FM_MakeSignedData [10:58:13]SAM_PROTO_SignData [10:58:13]wFMCommunicate request_size=4 [10:58:13]MH_SAM_APDU [10:58:13]CAPDU: 80 0D 01 02 [10:58:13]Write to MH i2c: E2 08 00 9B 51 80 0D 01 02 00 00 00 00 65 [10:58:13]Write i2c OK [10:58:13]MH_I2C_Read... [10:58:13]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:58:13]Read from MH i2c: E2 [10:58:13]MH_I2C_Read... [10:58:13]Read from MH i2c: E2 03 00 [10:58:13]MH_I2C_Read... [10:58:13]Read from MH i2c: E2 03 00 9B 51 00 90 00 60 [10:58:13]RAPDU: 90 00 [10:58:13]wFMCommunicate OK [10:58:13]wFMCommunicate request_size=255 [10:58:13]MH_SAM_APDU [10:58:13]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 53 35 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 [10:58:13]Write to MH i2c: E2 02 01 9C 51 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 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 53 35 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 00 00 70 [10:58:13]Write i2c OK [10:58:13]MH_I2C_Read... [10:58:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:58:13]Read from MH i2c: E2 [10:58:13]MH_I2C_Read... [10:58:13]Read from MH i2c: E2 03 00 [10:58:13]MH_I2C_Read... [10:58:13]Read from MH i2c: E2 03 00 9C 51 00 90 00 61 [10:58:13]RAPDU: 90 00 [10:58:13]wFMCommunicate OK [10:58:13]wFMCommunicate request_size=32 [10:58:13]MH_SAM_APDU [10:58:13]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 31 38 31 36 10 04 04 00 EF B8 00 00 35 04 06 00 40 7E F1 59 60 59 [10:58:13]Write to MH i2c: E2 23 00 9D 51 80 0D 02 02 1B 00 30 30 30 38 37 31 38 31 36 10 04 04 00 EF B8 00 00 35 04 06 00 40 7E F1 59 60 59 00 00 2C [10:58:13]Write i2c OK [10:58:13]MH_I2C_Read... [10:58:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:58:13]Read from MH i2c: E2 [10:58:13]MH_I2C_Read... [10:58:13]Read from MH i2c: E2 03 00 [10:58:13]MH_I2C_Read... [10:58:13]Read from MH i2c: E2 03 00 9D 51 00 90 00 62 [10:58:13]RAPDU: 90 00 [10:58:13]wFMCommunicate OK [10:58:13]wFMCommunicate request_size=4 [10:58:13]MH_SAM_APDU [10:58:13]CAPDU: 80 0D 03 02 [10:58:13]Write to MH i2c: E2 08 00 9E 51 80 0D 03 02 00 00 00 00 6A [10:58:13]Write i2c OK [10:58:13]MH_I2C_Read... [10:58:13]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:58:13]Read from MH i2c: E2 [10:58:13]MH_I2C_Read... [10:58:13]Read from MH i2c: E2 0B 00 [10:58:13]MH_I2C_Read... [10:58:13]Read from MH i2c: E2 0B 00 9E 51 00 E2 5A CF C2 F1 05 F3 23 90 00 44 [10:58:13]RAPDU: E2 5A CF C2 F1 05 F3 23 90 00 [10:58:13]wFMCommunicate OK [10:58:13]SAM_PROTO_SignData done [10:58:13]FM_MakeSignedData done [10:58:13]CreateOFDProtocolMessage [10:58:13]wFMCommunicate request_size=4 [10:58:13]MH_SAM_APDU [10:58:13]CAPDU: 80 11 00 00 [10:58:13]Write to MH i2c: E2 08 00 9F 51 80 11 00 00 00 00 00 00 6A [10:58:13]Write i2c OK [10:58:13]MH_I2C_Read... [10:58:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:58:14]Read from MH i2c: E2 [10:58:14]MH_I2C_Read... [10:58:14]Read from MH i2c: E2 17 00 [10:58:14]MH_I2C_Read... [10:58:14]Read from MH i2c: E2 17 00 9F 51 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 BC [10:58:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [10:58:14]wFMCommunicate OK [10:58:14]CreateOFDProtocolMessage done [10:58:14]OFDSenderStorePacket 47343 [10:58:14]StoreOFDPacket docnum=47343 [10:58:14]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 25 01 00 00 C7 5D 1D 01 67 D3 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 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 53 35 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 EF B8 00 00 35 04 06 00 40 7E F1 59 60 59 E2 5A CF C2 F1 05 F3 23 [10:58:14]CheckFolder [10:58:14]dirname=/storage/ofd_packets [10:58:14]CheckFolder done [10:58:14]ProducePacketName [10:58:14]name=ofd_packets/00047343 [10:58:14]NVStorageSaveData ofd_packets/00047343 [10:58:14]File name is /storage/ofd_packets/00047343 [10:58:14]Write 323 bytes [10:58:14]NVStorageSaveData done [10:58:14]OFDSenderStorePacket done [10:58:14]KKMCreateOFDPacket done [10:58:14]NVStorageSaveData kkm_last_timestamp [10:58:14]File name is /storage/kkm_last_timestamp [10:58:14]Write 4 bytes [10:58:14]NVStorageSaveData done [10:58:14]ExternCall_PrintAddStr [10:58:14]wPrintStart [10:58:14]Write to MH i2c: 01 00 00 A0 51 F1 [10:58:14]Write i2c OK [10:58:14]MH_I2C_Read... [10:58:14]Read from MH i2c: 01 [10:58:14]MH_I2C_Read... [10:58:14]Read from MH i2c: 01 07 00 [10:58:14]MH_I2C_Read... [10:58:14]Read from MH i2c: 01 07 00 A0 51 00 00 00 00 00 FF 0F 06 [10:58:14]RasterBufferAndPrint [10:58:14]line Счет N : (3)242256 [10:58:14]line ИНН: 02508201610067 [10:58:14]line Контрольно-Кассовый Чек [10:58:14]line ПРОДАЖА [10:58:14]line Товар: 48743570 [10:58:14]line Сигареты Winston XStyle Blue [10:58:14]line 1.000 * 135.00 [10:58:14]line = 135.00 [10:58:14]line НДС 12% НСП 1% [10:58:14]line > о реализуемом товаре [10:58:14]line ИТОГО: 135.00 [10:58:14]line НСП 1% : 1.19 [10:58:14]line НДС 12% : 14.34 [10:58:14]line Наличными: 135.00 [10:58:14]line Безнал.: 0.00 [10:58:14]line Место: АЗС № 15 "Партнер Нефть" [10:58:14]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [10:58:14]line СНО: Общий режим [10:58:14]line Чек 21 12.03.2024 10:58 [10:58:14]line Смена: 314 ФФД: 1.0 [10:58:14]line ЗНМ: 0300000097 [10:58:14]line РНМ: 0000000000092018 [10:58:14]line Версия ККМ: 001 [10:58:14]line ФМ: 0000000000871816 [10:58:14]line ФД: 47343 [10:58:14]line ФПД: 70913959223385 [10:58:14]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T105827&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47343&fm=70913959223385&tin=02508201610067®Number=0000000000092018&sum=13500 [10:58:14]line 0 [10:58:14]OFD Sender: Processing packet 47343 [packets to send 8, broken 7] [10:58:14]ProducePacketName [10:58:14]name=ofd_packets/00047343 [10:58:14]OFD Sender: To server: pG, [10:58:14]CommunicateWithHost lk.salyk.kg:30040 [10:58:14]ConnectInit lk.salyk.kg [10:58:14]written 0, free lines is 4095 [10:58:14]Connected sock=9 [10:58: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 31 36 25 01 00 00 C7 5D 1D 01 67 D3 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 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 53 35 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 EF B8 00 00 35 04 06 00 40 7E F1 59 60 59 E2 5A CF C2 F1 05 F3 23 [10:58: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 31 36 4F 00 00 00 AF 61 47 00 A3 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 31 36 10 04 04 00 EF B8 00 00 F4 03 04 00 E5 DF EF 65 B6 04 01 00 00 E2 C8 CD CD 2B 2E 6A 8B [10:58:14]CommunicateWithHost err = 0 [10:58:14]CheckOFDResponse [10:58:14]1017 (14) - 77093643461234 [10:58:14]1041 (16) - 0000000000871816 [10:58:14]1040 (4) - 47343 [10:58:14]1012 (4) - 12.03.2024 04:53 [10:58:14]1206 (1) - 0 [10:58:14]OFD Sender: Remove packet 47343 [10:58:14]ProducePacketName [10:58:14]name=ofd_packets/00047343 [10:58:14]NVStorageDeleteData [10:58:14]Write to MH i2c: 01 00 00 C8 51 19 [10:58:14]Write i2c OK [10:58:14]MH_I2C_Read... [10:58:14]Read from MH i2c: 01 [10:58:14]MH_I2C_Read... [10:58:14]Read from MH i2c: 01 07 00 [10:58:14]MH_I2C_Read... [10:58:14]Read from MH i2c: 01 07 00 C8 51 00 00 00 00 00 D7 0C 03 [10:58:14]RasterBufferAndPrint [10:58:14]line [10:58:14]line [10:58:14]line [10:58:14]line [10:58:14]line [10:58:14]written 0, free lines is 3295 [10:58:14]MH_Cut [10:58:14]Write to MH i2c: D1 01 00 CF 51 01 F2 [10:58:14]Write i2c OK [10:58:14]MH_I2C_Read... [10:58:14]Read from MH i2c: D1 [10:58:14]MH_I2C_Read... [10:58:14]Read from MH i2c: D1 01 00 [10:58:14]MH_I2C_Read... [10:58:14]Read from MH i2c: D1 01 00 CF 51 00 F1 [10:58:14]Write to MH i2c: 01 00 00 D0 51 21 [10:58:14]Write i2c OK [10:58:14]MH_I2C_Read... [10:58:15]OFD Sender: No OFD packet to send [10:58:15]*** Cut start [10:58:15]*** Purtial cut [10:58:15]*** Stage 1: CUTSNS_PIN = 1 [10:58:15]Read from MH i2c: 01 [10:58:15]MH_I2C_Read... [10:58:15]*** Stop cut motor [10:58:15]*** Cut end [10:58:15]Read from MH i2c: 01 07 00 [10:58:15]MH_I2C_Read... [10:58:15]Read from MH i2c: 01 07 00 D0 51 00 00 00 00 00 FF 0F 36 [10:58:15]process_action close_receipt done [10:58:15]requested_data is exist [10:58:15]produce_requested_data [10:58:15]requested_item fm.sn is exist - process it [10:58:15]wFMCommunicate request_size=4 [10:58:15]MH_SAM_APDU [10:58:15]CAPDU: 80 11 00 00 [10:58:15]Write to MH i2c: E2 08 00 D1 51 80 11 00 00 00 00 00 00 9C [10:58:15]Write i2c OK [10:58:15]MH_I2C_Read... [10:58:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:58:15]Read from MH i2c: E2 [10:58:15]MH_I2C_Read... [10:58:15]Read from MH i2c: E2 17 00 [10:58:15]MH_I2C_Read... [10:58:15]Read from MH i2c: E2 17 00 D1 51 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 EE [10:58:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [10:58:16]wFMCommunicate OK [10:58:16]requested_item fd.num is exist - process it [10:58:16]SAM_PROTO_GetFieldsCounters [10:58:16]wFMCommunicate request_size=4 [10:58:16]MH_SAM_APDU [10:58:16]CAPDU: 80 13 00 00 [10:58:16]Write to MH i2c: E2 08 00 D2 51 80 13 00 00 00 00 00 00 9F [10:58:16]Write i2c OK [10:58:16]MH_I2C_Read... [10:58:16]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:58:16]Read from MH i2c: E2 [10:58:16]MH_I2C_Read... [10:58:16]Read from MH i2c: E2 62 00 [10:58:16]MH_I2C_Read... [10:58:16]Read from MH i2c: E2 62 00 D2 51 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 EF B8 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 15 00 00 00 5E 04 04 00 15 00 00 00 57 04 04 00 16 00 00 00 19 04 04 00 00 00 00 00 90 00 DB [10:58: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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 EF B8 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 15 00 00 00 5E 04 04 00 15 00 00 00 57 04 04 00 16 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:58:16]wFMCommunicate OK [10:58:16]SAM_PROTO_GetFieldsCounters done [10:58:16]requested_item shift.num is exist - process it [10:58:16]requested_item shift.opened is exist - process it [10:58:16]req_shift_opened [10:58:16]FM_GetShiftState [10:58:16]SAM_PROTO_GetShiftState [10:58:16]wFMCommunicate request_size=4 [10:58:16]MH_SAM_APDU [10:58:16]CAPDU: 80 13 01 00 [10:58:16]Write to MH i2c: E2 08 00 D3 51 80 13 01 00 00 00 00 00 A1 [10:58:16]Write i2c OK [10:58:16]MH_I2C_Read... [10:58:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:58:16]Read from MH i2c: E2 [10:58:16]MH_I2C_Read... [10:58:16]Read from MH i2c: E2 0E 00 [10:58:16]MH_I2C_Read... [10:58:16]Read from MH i2c: E2 0E 00 D3 51 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 D0 [10:58:16]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [10:58:16]wFMCommunicate OK [10:58:16]SAM_PROTO_GetShiftState done [10:58:16]FM_GetShiftState done [10:58:16]req_shift_opened done [10:58:16]requested_item shift.open_date is exist - process it [10:58:16]req_shift_open_date [10:58:16]req_shift_open_date done [10:58:16]produce_requested_data done [10:58:16]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47343,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [10:58:16]process_action_free close_receipt [10:58:16]json_value_free [10:58:16]json_value_free done [10:58:16]process_json_proto returns [10:58:16]Send response to host [10:58:16]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47343,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [10:58:16]free response buf [10:58:16]execute_script done [10:58:16]execute_script returns [10:58:16]free content buf [10:58:16]Sock 7.Close socket [10:58:16]Sock 7.Thread stoped [10:58:20]OFD Sender: No OFD packet to send [10:58:25]OFD Sender: No OFD packet to send [10:58:30]OFD Sender: No OFD packet to send [10:58:35]OFD Sender: No OFD packet to send [10:58:40]OFD Sender: No OFD packet to send [10:58:45]OFD Sender: No OFD packet to send [10:58:50]OFD Sender: No OFD packet to send [10:58:55]OFD Sender: No OFD packet to send [10:59:00]OFD Sender: No OFD packet to send [10:59:05]OFD Sender: No OFD packet to send [10:59:10]OFD Sender: No OFD packet to send [10:59:15]OFD Sender: No OFD packet to send [10:59:20]OFD Sender: No OFD packet to send [10:59:25]OFD Sender: No OFD packet to send [10:59:30]OFD Sender: No OFD packet to send [10:59:35]OFD Sender: No OFD packet to send [10:59:40]OFD Sender: No OFD packet to send [10:59:45]OFD Sender: No OFD packet to send [10:59:50]OFD Sender: No OFD packet to send [10:59:55]OFD Sender: No OFD packet to send [11:00:00]OFD Sender: No OFD packet to send [11:00:05]OFD Sender: No OFD packet to send [11:00:10]OFD Sender: No OFD packet to send [11:00:15]OFD Sender: No OFD packet to send [11:00:20]OFD Sender: No OFD packet to send [11:00:25]OFD Sender: No OFD packet to send [11:00:30]OFD Sender: No OFD packet to send [11:00:35]OFD Sender: No OFD packet to send [11:00:40]OFD Sender: No OFD packet to send [11:00:45]OFD Sender: No OFD packet to send [11:00:50]OFD Sender: No OFD packet to send [11:00:55]OFD Sender: No OFD packet to send [11:01:00]OFD Sender: No OFD packet to send [11:01:05]OFD Sender: No OFD packet to send [11:01:10]OFD Sender: No OFD packet to send [11:01:15]OFD Sender: No OFD packet to send [11:01:20]OFD Sender: No OFD packet to send [11:01:25]OFD Sender: No OFD packet to send [11:01:30]OFD Sender: No OFD packet to send [11:01:35]OFD Sender: No OFD packet to send [11:01:40]OFD Sender: No OFD packet to send [11:01:45]OFD Sender: No OFD packet to send [11:01:50]OFD Sender: No OFD packet to send [11:01:55]OFD Sender: No OFD packet to send [11:02:00]OFD Sender: No OFD packet to send [11:02:05]OFD Sender: No OFD packet to send [11:02:10]OFD Sender: No OFD packet to send [11:02:15]OFD Sender: No OFD packet to send [11:02:20]OFD Sender: No OFD packet to send [11:02:25]OFD Sender: No OFD packet to send [11:02:30]OFD Sender: No OFD packet to send [11:02:35]OFD Sender: No OFD packet to send [11:02:40]OFD Sender: No OFD packet to send [11:02:45]OFD Sender: No OFD packet to send [11:02:50]OFD Sender: No OFD packet to send [11:02:55]OFD Sender: No OFD packet to send [11:03:00]OFD Sender: No OFD packet to send [11:03:05]OFD Sender: No OFD packet to send [11:03:10]OFD Sender: No OFD packet to send [11:03:15]OFD Sender: No OFD packet to send [11:03:20]OFD Sender: No OFD packet to send [11:03:25]OFD Sender: No OFD packet to send [11:03:30]OFD Sender: No OFD packet to send [11:03:35]OFD Sender: No OFD packet to send [11:03:40]OFD Sender: No OFD packet to send [11:03:45]OFD Sender: No OFD packet to send [11:03:50]OFD Sender: No OFD packet to send [11:03:55]OFD Sender: No OFD packet to send [11:04:00]OFD Sender: No OFD packet to send [11:04:05]OFD Sender: No OFD packet to send [11:04:10]OFD Sender: No OFD packet to send [11:04:15]OFD Sender: No OFD packet to send [11:04:20]OFD Sender: No OFD packet to send [11:04:25]OFD Sender: No OFD packet to send [11:04:30]OFD Sender: No OFD packet to send [11:04:35]OFD Sender: No OFD packet to send [11:04:40]OFD Sender: No OFD packet to send [11:04:45]OFD Sender: No OFD packet to send [11:04:50]OFD Sender: No OFD packet to send [11:04:55]OFD Sender: No OFD packet to send [11:05:00]OFD Sender: No OFD packet to send [11:05:05]OFD Sender: No OFD packet to send [11:05:10]OFD Sender: No OFD packet to send [11:05:15]OFD Sender: No OFD packet to send [11:05:20]OFD Sender: No OFD packet to send [11:05:25]OFD Sender: No OFD packet to send [11:05:30]OFD Sender: No OFD packet to send [11:05:35]OFD Sender: No OFD packet to send [11:05:40]OFD Sender: No OFD packet to send [11:05:45]OFD Sender: No OFD packet to send [11:05:50]OFD Sender: No OFD packet to send [11:05:55]OFD Sender: No OFD packet to send [11:06:00]OFD Sender: No OFD packet to send [11:06:05]OFD Sender: No OFD packet to send [11:06:10]OFD Sender: No OFD packet to send [11:06:15]OFD Sender: No OFD packet to send [11:06:20]OFD Sender: No OFD packet to send [11:06:25]OFD Sender: No OFD packet to send [11:06:30]OFD Sender: No OFD packet to send [11:06:35]OFD Sender: No OFD packet to send [11:06:40]OFD Sender: No OFD packet to send [11:06:45]OFD Sender: No OFD packet to send [11:06:50]OFD Sender: No OFD packet to send [11:06:55]OFD Sender: No OFD packet to send [11:07:00]OFD Sender: No OFD packet to send [11:07:05]OFD Sender: No OFD packet to send [11:07:10]OFD Sender: No OFD packet to send [11:07:15]OFD Sender: No OFD packet to send [11:07:20]OFD Sender: No OFD packet to send [11:07:25]OFD Sender: No OFD packet to send [11:07:30]OFD Sender: No OFD packet to send [11:07:35]OFD Sender: No OFD packet to send [11:07:40]OFD Sender: No OFD packet to send [11:07:45]OFD Sender: No OFD packet to send [11:07:50]OFD Sender: No OFD packet to send [11:07:55]OFD Sender: No OFD packet to send [11:08:00]OFD Sender: No OFD packet to send [11:08:05]OFD Sender: No OFD packet to send [11:08:10]OFD Sender: No OFD packet to send [11:08:15]OFD Sender: No OFD packet to send [11:08:20]OFD Sender: No OFD packet to send [11:08:25]OFD Sender: No OFD packet to send [11:08:30]OFD Sender: No OFD packet to send [11:08:35]OFD Sender: No OFD packet to send [11:08:40]OFD Sender: No OFD packet to send [11:08:45]OFD Sender: No OFD packet to send [11:08:50]OFD Sender: No OFD packet to send [11:08:55]OFD Sender: No OFD packet to send [11:09:00]OFD Sender: No OFD packet to send [11:09:05]OFD Sender: No OFD packet to send [11:09:10]OFD Sender: No OFD packet to send [11:09:15]OFD Sender: No OFD packet to send [11:09:20]OFD Sender: No OFD packet to send [11:09:25]OFD Sender: No OFD packet to send [11:09:30]OFD Sender: No OFD packet to send [11:09:35]OFD Sender: No OFD packet to send [11:09:40]OFD Sender: No OFD packet to send [11:09:45]OFD Sender: No OFD packet to send [11:09:50]OFD Sender: No OFD packet to send [11:09:55]OFD Sender: No OFD packet to send [11:10:00]OFD Sender: No OFD packet to send [11:10:05]OFD Sender: No OFD packet to send [11:10:10]OFD Sender: No OFD packet to send [11:10:15]accept exits with 10 [11:10:15]New connection [11:10:15]New thread 3066453348 created [11:10:15]Thread 3066596708 joined [11:10:15]Waiting for new connection... [11:10:15] Sock 10.Parse request [11:10:15]Sock 10.Check first char [11:10:15]Sock 10.First char is OK [11:10:15]request: POST /json_proto HTTP/1.0 [11:10:15]Method: POST [11:10:15]URL: /json_proto [11:10:15]Method is POST - this is cgi request [11:10:15]url: /json_proto [11:10:15]query_string will be loaded in cgi processing [11:10:15]execute_cgi json_proto POST (null) [11:10:15]execute_cgi path=json_proto method=POST [11:10:15]POST find Content-Length [11:10:15]Host: 172.17.32.68:8080 [11:10:15]Content-Length: 618 [11:10:15]Content-Type: application/json [11:10:15] [11:10:15]POST finish read [11:10:15]Found Content-Length = 618 [11:10:15]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242257", "tax_sys" : 0, "items" : [ { "code": "4700000180097", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B West Silver UP", "price" : 96.00, "quantity" : 1.000, "sum" : 96.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 96.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:10:15]execute_script... [11:10:15]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242257", "tax_sys" : 0, "items" : [ { "code": "4700000180097", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B West Silver UP", "price" : 96.00, "quantity" : 1.000, "sum" : 96.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 96.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:10:15]POST & json_proto [11:10:15]process_json_proto [11:10:15]json parsed OK: [11:10:15]protocol is kg_v1.0 [11:10:15]action value=close_receipt [11:10:15]process_action close_receipt [11:10:15]cmd_close_receipt [11:10:15]MH_GetDate [11:10:15]Write to MH i2c: F0 00 00 D4 51 14 [11:10:15]Write i2c OK [11:10:15]MH_I2C_Read... [11:10:15]Read from MH i2c: F0 [11:10:15]MH_I2C_Read... [11:10:15]Read from MH i2c: F0 09 00 [11:10:15]MH_I2C_Read... [11:10:15]Read from MH i2c: F0 09 00 D4 51 00 26 38 F0 65 0A 64 6E 65 11 [11:10:15]GetLastDocTimeStamp 1710241107 [11:10:15]current date 1710241830 [11:10:15]FM_GetShiftState [11:10:15]SAM_PROTO_GetShiftState [11:10:15]wFMCommunicate request_size=4 [11:10:15]MH_SAM_APDU [11:10:15]CAPDU: 80 13 01 00 [11:10:15]Write to MH i2c: E2 08 00 D5 51 80 13 01 00 00 00 00 00 A3 [11:10:15]Write i2c OK [11:10:15]MH_I2C_Read... [11:10:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:10:15]Read from MH i2c: E2 [11:10:15]MH_I2C_Read... [11:10:15]Read from MH i2c: E2 0E 00 [11:10:15]MH_I2C_Read... [11:10:15]Read from MH i2c: E2 0E 00 D5 51 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 D2 [11:10:15]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [11:10:15]wFMCommunicate OK [11:10:15]SAM_PROTO_GetShiftState done [11:10:15]FM_GetShiftState done [11:10:15]opened in 1710202417 [11:10:15]opened+sec_in_day 1710288817 [11:10:15]quantity*price = 9600 [11:10:15]sum+1 = 9601 [11:10:15]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 96.00 НСП 1% : 0.85 НДС 12% : 10.19 Наличными: 96.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 22 12.03.2024 11:10 Смена: 314 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47344 ФПД: 164202506780068 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T111030&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47344&fm=164202506780068&tin=02508201610067®Number=0000000000092018&sum=9600 0 [11:10:16]StoreToDocumentArchive [11:10:16]shift 314 fd 47344 [11:10:16]save to /storage/0314/doc_00047344 [11:10:16]save last doc name /storage/0314/doc_00047344 to /storage/kkm_last_doc_name [11:10:16]save OK [11:10:16]Clear old archive folders... [11:10:16]ProcessDocumentItem done err = 0, tmpTLVsize=273 [11:10:16]tlvbuf is B6E51850 [11:10:16]SAM_PROTO_ClearQueue [11:10:16]wFMCommunicate request_size=4 [11:10:16]MH_SAM_APDU [11:10:16]CAPDU: 80 09 00 00 [11:10:16]Write to MH i2c: E2 08 00 E2 51 80 09 00 00 00 00 00 00 A5 [11:10:16]Write i2c OK [11:10:16]MH_I2C_Read... [11:10:16]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:10:16]Read from MH i2c: E2 [11:10:16]MH_I2C_Read... [11:10:16]Read from MH i2c: E2 03 00 [11:10:16]MH_I2C_Read... [11:10:16]Read from MH i2c: E2 03 00 E2 51 00 90 00 A7 [11:10:16]RAPDU: 90 00 [11:10:16]wFMCommunicate OK [11:10:16]SAM_PROTO_ClearQueue done [11:10:16]KKMCreateOFDPacket [11:10:16]OFDProtocolAddRootSTLVToBuf [11:10:16]FM_MakeSignedData [11:10:16]FM_MakeSignedData [11:10:16]SAM_PROTO_SignData [11:10:16]wFMCommunicate request_size=4 [11:10:16]MH_SAM_APDU [11:10:16]CAPDU: 80 0D 01 02 [11:10:16]Write to MH i2c: E2 08 00 E3 51 80 0D 01 02 00 00 00 00 AD [11:10:16]Write i2c OK [11:10:16]MH_I2C_Read... [11:10:16]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:10:16]Read from MH i2c: E2 [11:10:16]MH_I2C_Read... [11:10:16]Read from MH i2c: E2 03 00 [11:10:16]MH_I2C_Read... [11:10:16]Read from MH i2c: E2 03 00 E3 51 00 90 00 A8 [11:10:16]RAPDU: 90 00 [11:10:16]wFMCommunicate OK [11:10:16]wFMCommunicate request_size=255 [11:10:16]MH_SAM_APDU [11:10:16]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 30 31 38 30 30 39 37 06 04 1F 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 65 73 74 20 53 69 6C 76 65 72 20 55 50 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 80 25 00 00 00 00 13 04 06 00 80 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 55 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FB 03 00 00 00 00 07 04 06 00 80 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 16 00 00 00 F4 03 04 00 26 38 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 [11:10:16]Write to MH i2c: E2 02 01 E4 51 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 30 31 38 30 30 39 37 06 04 1F 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 65 73 74 20 53 69 6C 76 65 72 20 55 50 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 80 25 00 00 00 00 13 04 06 00 80 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 55 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FB 03 00 00 00 00 07 04 06 00 80 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 16 00 00 00 F4 03 04 00 26 38 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 00 00 68 [11:10:16]Write i2c OK [11:10:16]MH_I2C_Read... [11:10:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:10:16]Read from MH i2c: E2 [11:10:16]MH_I2C_Read... [11:10:16]Read from MH i2c: E2 03 00 [11:10:16]MH_I2C_Read... [11:10:16]Read from MH i2c: E2 03 00 E4 51 00 90 00 A9 [11:10:16]RAPDU: 90 00 [11:10:16]wFMCommunicate OK [11:10:16]wFMCommunicate request_size=32 [11:10:16]MH_SAM_APDU [11:10:16]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 31 38 31 36 10 04 04 00 F0 B8 00 00 35 04 06 00 95 57 60 16 7D A4 [11:10:16]Write to MH i2c: E2 23 00 E5 51 80 0D 02 02 1B 00 30 30 30 38 37 31 38 31 36 10 04 04 00 F0 B8 00 00 35 04 06 00 95 57 60 16 7D A4 00 00 37 [11:10:16]Write i2c OK [11:10:16]MH_I2C_Read... [11:10:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:10:16]Read from MH i2c: E2 [11:10:16]MH_I2C_Read... [11:10:16]Read from MH i2c: E2 03 00 [11:10:16]MH_I2C_Read... [11:10:16]Read from MH i2c: E2 03 00 E5 51 00 90 00 AA [11:10:16]RAPDU: 90 00 [11:10:16]wFMCommunicate OK [11:10:16]wFMCommunicate request_size=4 [11:10:16]MH_SAM_APDU [11:10:16]CAPDU: 80 0D 03 02 [11:10:16]Write to MH i2c: E2 08 00 E6 51 80 0D 03 02 00 00 00 00 B2 [11:10:16]Write i2c OK [11:10:16]MH_I2C_Read... [11:10:16]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:10:16]Read from MH i2c: E2 [11:10:16]MH_I2C_Read... [11:10:16]Read from MH i2c: E2 0B 00 [11:10:16]MH_I2C_Read... [11:10:16]Read from MH i2c: E2 0B 00 E6 51 00 E0 77 09 F6 A2 E5 D0 9C 90 00 FC [11:10:16]RAPDU: E0 77 09 F6 A2 E5 D0 9C 90 00 [11:10:16]wFMCommunicate OK [11:10:16]SAM_PROTO_SignData done [11:10:16]FM_MakeSignedData done [11:10:16]CreateOFDProtocolMessage [11:10:16]wFMCommunicate request_size=4 [11:10:16]MH_SAM_APDU [11:10:16]CAPDU: 80 11 00 00 [11:10:16]Write to MH i2c: E2 08 00 E7 51 80 11 00 00 00 00 00 00 B2 [11:10:16]Write i2c OK [11:10:16]MH_I2C_Read... [11:10:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:10:16]Read from MH i2c: E2 [11:10:16]MH_I2C_Read... [11:10:16]Read from MH i2c: E2 17 00 [11:10:16]MH_I2C_Read... [11:10:16]Read from MH i2c: E2 17 00 E7 51 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 04 [11:10:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [11:10:16]wFMCommunicate OK [11:10:16]CreateOFDProtocolMessage done [11:10:16]OFDSenderStorePacket 47344 [11:10:16]StoreOFDPacket docnum=47344 [11:10:16]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 25 01 00 00 99 2E 1D 01 A3 86 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 30 31 38 30 30 39 37 06 04 1F 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 65 73 74 20 53 69 6C 76 65 72 20 55 50 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 80 25 00 00 00 00 13 04 06 00 80 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 55 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FB 03 00 00 00 00 07 04 06 00 80 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 16 00 00 00 F4 03 04 00 26 38 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 F0 B8 00 00 35 04 06 00 95 57 60 16 7D A4 E0 77 09 F6 A2 E5 D0 9C [11:10:16]CheckFolder [11:10:16]dirname=/storage/ofd_packets [11:10:16]CheckFolder done [11:10:16]ProducePacketName [11:10:16]name=ofd_packets/00047344 [11:10:16]NVStorageSaveData ofd_packets/00047344 [11:10:16]File name is /storage/ofd_packets/00047344 [11:10:16]Write 323 bytes [11:10:16]NVStorageSaveData done [11:10:16]OFDSenderStorePacket done [11:10:16]KKMCreateOFDPacket done [11:10:16]NVStorageSaveData kkm_last_timestamp [11:10:16]File name is /storage/kkm_last_timestamp [11:10:16]Write 4 bytes [11:10:16]NVStorageSaveData done [11:10:16]ExternCall_PrintAddStr [11:10:16]wPrintStart [11:10:16]Write to MH i2c: 01 00 00 E8 51 39 [11:10:16]Write i2c OK [11:10:16]MH_I2C_Read... [11:10:16]Read from MH i2c: 01 [11:10:16]MH_I2C_Read... [11:10:16]Read from MH i2c: 01 07 00 [11:10:16]MH_I2C_Read... [11:10:16]Read from MH i2c: 01 07 00 E8 51 00 00 00 00 00 FF 0F 4E [11:10:16]RasterBufferAndPrint [11:10:16]line Счет N : (3)242257 [11:10:16]line ИНН: 02508201610067 [11:10:16]line Контрольно-Кассовый Чек [11:10:16]line ПРОДАЖА [11:10:16]line Товар: 4700000180097 [11:10:16]line Сигареты West Silver UP [11:10:16]line 1.000 * 96.00 [11:10:16]line = 96.00 [11:10:16]line НДС 12% НСП 1% [11:10:16]line > о реализуемом товаре [11:10:16]line ИТОГО: 96.00 [11:10:16]line НСП 1% : 0.85 [11:10:16]line НДС 12% : 10.19 [11:10:16]line Наличными: 96.00 [11:10:16]line Безнал.: 0.00 [11:10:16]line Место: АЗС № 15 "Партнер Нефть" [11:10:16]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [11:10:16]line СНО: Общий режим [11:10:16]line Чек 22 12.03.2024 11:10 [11:10:16]line Смена: 314 ФФД: 1.0 [11:10:16]line ЗНМ: 0300000097 [11:10:16]line РНМ: 0000000000092018 [11:10:16]line Версия ККМ: 001 [11:10:16]line ФМ: 0000000000871816 [11:10:16]line ФД: 47344 [11:10:16]line ФПД: 164202506780068 [11:10:16]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T111030&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47344&fm=164202506780068&tin=02508201610067®Number=0000000000092018&sum=9600 [11:10:17]OFD Sender: Processing packet 47344 [packets to send 8, broken 7] [11:10:17]ProducePacketName [11:10:17]name=ofd_packets/00047344 [11:10:17]OFD Sender: To server: pG, [11:10:17]CommunicateWithHost lk.salyk.kg:30040 [11:10:17]ConnectInit lk.salyk.kg [11:10:17]line 0 [11:10:17]written 0, free lines is 4095 [11:10:17]Connected sock=9 [11:10:17]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 31 36 25 01 00 00 99 2E 1D 01 A3 86 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 30 31 38 30 30 39 37 06 04 1F 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 65 73 74 20 53 69 6C 76 65 72 20 55 50 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 80 25 00 00 00 00 13 04 06 00 80 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 55 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FB 03 00 00 00 00 07 04 06 00 80 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 16 00 00 00 F4 03 04 00 26 38 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 F0 B8 00 00 35 04 06 00 95 57 60 16 7D A4 E0 77 09 F6 A2 E5 D0 9C [11:10: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 31 36 4F 00 00 00 B9 1D 47 00 BD 9D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 F0 B8 00 00 F4 03 04 00 B8 E2 EF 65 B6 04 01 00 00 60 05 B6 C4 9D 43 4E 0E [11:10:17]CommunicateWithHost err = 0 [11:10:17]CheckOFDResponse [11:10:17]1017 (14) - 77093643461234 [11:10:17]1041 (16) - 0000000000871816 [11:10:17]1040 (4) - 47344 [11:10:17]1012 (4) - 12.03.2024 05:06 [11:10:17]1206 (1) - 0 [11:10:17]OFD Sender: Remove packet 47344 [11:10:17]ProducePacketName [11:10:17]name=ofd_packets/00047344 [11:10:17]NVStorageDeleteData [11:10:17]Write to MH i2c: 01 00 00 10 52 62 [11:10:17]Write i2c OK [11:10:17]MH_I2C_Read... [11:10:17]Read from MH i2c: 01 [11:10:17]MH_I2C_Read... [11:10:17]Read from MH i2c: 01 07 00 [11:10:17]MH_I2C_Read... [11:10:17]Read from MH i2c: 01 07 00 10 52 00 00 00 00 00 E5 0C 5A [11:10:17]RasterBufferAndPrint [11:10:17]line [11:10:17]line [11:10:17]line [11:10:17]line [11:10:17]line [11:10:17]written 0, free lines is 3309 [11:10:17]MH_Cut [11:10:17]Write to MH i2c: D1 01 00 17 52 01 3B [11:10:17]Write i2c OK [11:10:17]MH_I2C_Read... [11:10:17]Read from MH i2c: D1 [11:10:17]MH_I2C_Read... [11:10:17]Read from MH i2c: D1 01 00 [11:10:17]MH_I2C_Read... [11:10:17]Read from MH i2c: D1 01 00 17 52 00 3A [11:10:17]Write to MH i2c: 01 00 00 18 52 6A [11:10:17]Write i2c OK [11:10:17]MH_I2C_Read... [11:10:17]OFD Sender: No OFD packet to send [11:10:18]*** Cut start [11:10:18]*** Purtial cut [11:10:18]*** Stage 1: CUTSNS_PIN = 1 [11:10:18]Read from MH i2c: 01 [11:10:18]MH_I2C_Read... [11:10:18]*** Stop cut motor [11:10:18]*** Cut end [11:10:18]Read from MH i2c: 01 07 00 [11:10:18]MH_I2C_Read... [11:10:18]Read from MH i2c: 01 07 00 18 52 00 00 00 00 00 FF 0F 7F [11:10:18]process_action close_receipt done [11:10:18]requested_data is exist [11:10:18]produce_requested_data [11:10:18]requested_item fm.sn is exist - process it [11:10:18]wFMCommunicate request_size=4 [11:10:18]MH_SAM_APDU [11:10:18]CAPDU: 80 11 00 00 [11:10:18]Write to MH i2c: E2 08 00 19 52 80 11 00 00 00 00 00 00 E5 [11:10:18]Write i2c OK [11:10:18]MH_I2C_Read... [11:10:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:10:18]Read from MH i2c: E2 [11:10:18]MH_I2C_Read... [11:10:18]Read from MH i2c: E2 17 00 [11:10:18]MH_I2C_Read... [11:10:18]Read from MH i2c: E2 17 00 19 52 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 37 [11:10:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [11:10:18]wFMCommunicate OK [11:10:18]requested_item fd.num is exist - process it [11:10:18]SAM_PROTO_GetFieldsCounters [11:10:18]wFMCommunicate request_size=4 [11:10:18]MH_SAM_APDU [11:10:18]CAPDU: 80 13 00 00 [11:10:18]Write to MH i2c: E2 08 00 1A 52 80 13 00 00 00 00 00 00 E8 [11:10:18]Write i2c OK [11:10:18]MH_I2C_Read... [11:10:18]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:10:18]Read from MH i2c: E2 [11:10:18]MH_I2C_Read... [11:10:18]Read from MH i2c: E2 62 00 [11:10:18]MH_I2C_Read... [11:10:18]Read from MH i2c: E2 62 00 1A 52 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 F0 B8 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 16 00 00 00 5E 04 04 00 16 00 00 00 57 04 04 00 17 00 00 00 19 04 04 00 00 00 00 00 90 00 28 [11:10: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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 F0 B8 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 16 00 00 00 5E 04 04 00 16 00 00 00 57 04 04 00 17 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:10:18]wFMCommunicate OK [11:10:18]SAM_PROTO_GetFieldsCounters done [11:10:18]requested_item shift.num is exist - process it [11:10:18]requested_item shift.opened is exist - process it [11:10:18]req_shift_opened [11:10:18]FM_GetShiftState [11:10:18]SAM_PROTO_GetShiftState [11:10:18]wFMCommunicate request_size=4 [11:10:18]MH_SAM_APDU [11:10:18]CAPDU: 80 13 01 00 [11:10:18]Write to MH i2c: E2 08 00 1B 52 80 13 01 00 00 00 00 00 EA [11:10:18]Write i2c OK [11:10:18]MH_I2C_Read... [11:10:18]Read from MH i2c: E2 [11:10:18]MH_I2C_Read... [11:10:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:10:18]Read from MH i2c: E2 0E 00 [11:10:18]MH_I2C_Read... [11:10:18]Read from MH i2c: E2 0E 00 1B 52 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 19 [11:10:18]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [11:10:18]wFMCommunicate OK [11:10:18]SAM_PROTO_GetShiftState done [11:10:18]FM_GetShiftState done [11:10:18]req_shift_opened done [11:10:18]requested_item shift.open_date is exist - process it [11:10:18]req_shift_open_date [11:10:18]req_shift_open_date done [11:10:18]produce_requested_data done [11:10:18]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47344,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [11:10:18]process_action_free close_receipt [11:10:18]json_value_free [11:10:18]json_value_free done [11:10:18]process_json_proto returns [11:10:18]Send response to host [11:10:18]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47344,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [11:10:18]free response buf [11:10:18]execute_script done [11:10:18]execute_script returns [11:10:18]free content buf [11:10:18]Sock 10.Close socket [11:10:18]Sock 10.Thread stoped [11:10:22]OFD Sender: No OFD packet to send [11:10:27]OFD Sender: No OFD packet to send [11:10:32]OFD Sender: No OFD packet to send [11:10:34]accept exits with 7 [11:10:34]New connection [11:10:34]New thread 3066596708 created [11:10:34]Thread 3066453348 joined [11:10:34]Waiting for new connection... [11:10:34] Sock 7.Parse request [11:10:34]Sock 7.Check first char [11:10:34]Sock 7.First char is OK [11:10:34]request: POST /json_proto HTTP/1.0 [11:10:34]Method: POST [11:10:34]URL: /json_proto [11:10:34]Method is POST - this is cgi request [11:10:34]url: /json_proto [11:10:34]query_string will be loaded in cgi processing [11:10:34]execute_cgi json_proto POST (null) [11:10:34]execute_cgi path=json_proto method=POST [11:10:34]POST find Content-Length [11:10:34]Host: 172.17.32.68:8080 [11:10:34]Content-Length: 654 [11:10:34]Content-Type: application/json [11:10:34] [11:10:34]POST finish read [11:10:34]Found Content-Length = 654 [11:10:34]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242258", "tax_sys" : 0, "items" : [ { "code": "42203100", "name": "\u0416\u0435\u0432 Orbit \u0431\u0430\u043D\u0430\u043D-\u043A\u043B\u0443\u0431\u043D\u0438\u043A\u0430", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 40.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:10:34]execute_script... [11:10:34]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242258", "tax_sys" : 0, "items" : [ { "code": "42203100", "name": "\u0416\u0435\u0432 Orbit \u0431\u0430\u043D\u0430\u043D-\u043A\u043B\u0443\u0431\u043D\u0438\u043A\u0430", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 40.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:10:34]POST & json_proto [11:10:34]process_json_proto [11:10:34]json parsed OK: [11:10:34]protocol is kg_v1.0 [11:10:34]action value=close_receipt [11:10:34]process_action close_receipt [11:10:34]cmd_close_receipt [11:10:34]MH_GetDate [11:10:34]Write to MH i2c: F0 00 00 1C 52 5D [11:10:34]Write i2c OK [11:10:34]MH_I2C_Read... [11:10:34]Read from MH i2c: F0 [11:10:34]MH_I2C_Read... [11:10:34]Read from MH i2c: F0 09 00 [11:10:34]MH_I2C_Read... [11:10:34]Read from MH i2c: F0 09 00 1C 52 00 39 38 F0 65 0A 64 6E 65 6D [11:10:34]GetLastDocTimeStamp 1710241830 [11:10:34]current date 1710241849 [11:10:34]FM_GetShiftState [11:10:34]SAM_PROTO_GetShiftState [11:10:34]wFMCommunicate request_size=4 [11:10:34]MH_SAM_APDU [11:10:34]CAPDU: 80 13 01 00 [11:10:34]Write to MH i2c: E2 08 00 1D 52 80 13 01 00 00 00 00 00 EC [11:10:34]Write i2c OK [11:10:34]MH_I2C_Read... [11:10:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:10:34]Read from MH i2c: E2 [11:10:34]MH_I2C_Read... [11:10:34]Read from MH i2c: E2 0E 00 [11:10:34]MH_I2C_Read... [11:10:34]Read from MH i2c: E2 0E 00 1D 52 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 1B [11:10:34]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [11:10:34]wFMCommunicate OK [11:10:34]SAM_PROTO_GetShiftState done [11:10:34]FM_GetShiftState done [11:10:34]opened in 1710202417 [11:10:34]opened+sec_in_day 1710288817 [11:10:34]quantity*price = 4000 [11:10:34]sum+1 = 4001 [11:10:34]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 40.00 НСП 1% : 0.35 НДС 12% : 4.25 Наличными: 40.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 23 12.03.2024 11:10 Смена: 314 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47345 ФПД: 40007824202197 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T111049&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47345&fm=40007824202197&tin=02508201610067®Number=0000000000092018&sum=4000 0 [11:10:35]StoreToDocumentArchive [11:10:35]shift 314 fd 47345 [11:10:35]save to /storage/0314/doc_00047345 [11:10:35]save last doc name /storage/0314/doc_00047345 to /storage/kkm_last_doc_name [11:10:35]save OK [11:10:35]Clear old archive folders... [11:10:35]ProcessDocumentItem done err = 0, tmpTLVsize=277 [11:10:35]tlvbuf is 002836A0 [11:10:35]SAM_PROTO_ClearQueue [11:10:35]wFMCommunicate request_size=4 [11:10:35]MH_SAM_APDU [11:10:35]CAPDU: 80 09 00 00 [11:10:35]Write to MH i2c: E2 08 00 2A 52 80 09 00 00 00 00 00 00 EE [11:10:35]Write i2c OK [11:10:35]MH_I2C_Read... [11:10:35]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:10:35]Read from MH i2c: E2 [11:10:35]MH_I2C_Read... [11:10:35]Read from MH i2c: E2 03 00 [11:10:35]MH_I2C_Read... [11:10:35]Read from MH i2c: E2 03 00 2A 52 00 90 00 F0 [11:10:35]RAPDU: 90 00 [11:10:35]wFMCommunicate OK [11:10:35]SAM_PROTO_ClearQueue done [11:10:35]KKMCreateOFDPacket [11:10:35]OFDProtocolAddRootSTLVToBuf [11:10:35]FM_MakeSignedData [11:10:35]FM_MakeSignedData [11:10:35]SAM_PROTO_SignData [11:10:35]wFMCommunicate request_size=4 [11:10:35]MH_SAM_APDU [11:10:35]CAPDU: 80 0D 01 02 [11:10:35]Write to MH i2c: E2 08 00 2B 52 80 0D 01 02 00 00 00 00 F6 [11:10:35]Write i2c OK [11:10:35]MH_I2C_Read... [11:10:35]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:10:35]Read from MH i2c: E2 [11:10:35]MH_I2C_Read... [11:10:35]Read from MH i2c: E2 03 00 [11:10:35]MH_I2C_Read... [11:10:35]Read from MH i2c: E2 03 00 2B 52 00 90 00 F1 [11:10:35]RAPDU: 90 00 [11:10:35]wFMCommunicate OK [11:10:35]wFMCommunicate request_size=255 [11:10:35]MH_SAM_APDU [11:10:35]CAPDU: 80 0D 02 02 FA 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 08 00 34 32 32 30 33 31 30 30 06 04 28 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 B1 D0 B0 D0 BD D0 B0 D0 BD 2D D0 BA D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 39 38 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 [11:10:35]Write to MH i2c: E2 02 01 2C 52 80 0D 02 02 FA 00 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 08 00 34 32 32 30 33 31 30 30 06 04 28 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 B1 D0 B0 D0 BD D0 B0 D0 BD 2D D0 BA D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 39 38 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 00 00 8B [11:10:35]Write i2c OK [11:10:35]MH_I2C_Read... [11:10:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:10:35]Read from MH i2c: E2 [11:10:35]MH_I2C_Read... [11:10:35]Read from MH i2c: E2 03 00 [11:10:35]MH_I2C_Read... [11:10:35]Read from MH i2c: E2 03 00 2C 52 00 90 00 F2 [11:10:35]RAPDU: 90 00 [11:10:35]wFMCommunicate OK [11:10:35]wFMCommunicate request_size=36 [11:10:35]MH_SAM_APDU [11:10:35]CAPDU: 80 0D 02 02 1F 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 F1 B8 00 00 35 04 06 00 24 63 0C 26 59 D5 [11:10:35]Write to MH i2c: E2 27 00 2D 52 80 0D 02 02 1F 00 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 F1 B8 00 00 35 04 06 00 24 63 0C 26 59 D5 00 00 AD [11:10:35]Write i2c OK [11:10:35]MH_I2C_Read... [11:10:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:10:35]Read from MH i2c: E2 [11:10:35]MH_I2C_Read... [11:10:35]Read from MH i2c: E2 03 00 [11:10:35]MH_I2C_Read... [11:10:35]Read from MH i2c: E2 03 00 2D 52 00 90 00 F3 [11:10:35]RAPDU: 90 00 [11:10:35]wFMCommunicate OK [11:10:35]wFMCommunicate request_size=4 [11:10:35]MH_SAM_APDU [11:10:35]CAPDU: 80 0D 03 02 [11:10:35]Write to MH i2c: E2 08 00 2E 52 80 0D 03 02 00 00 00 00 FB [11:10:35]Write i2c OK [11:10:35]MH_I2C_Read... [11:10:35]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:10:35]Read from MH i2c: E2 [11:10:35]MH_I2C_Read... [11:10:35]Read from MH i2c: E2 0B 00 [11:10:35]MH_I2C_Read... [11:10:35]Read from MH i2c: E2 0B 00 2E 52 00 C7 AF C5 52 09 61 4D 37 90 00 77 [11:10:35]RAPDU: C7 AF C5 52 09 61 4D 37 90 00 [11:10:35]wFMCommunicate OK [11:10:35]SAM_PROTO_SignData done [11:10:35]FM_MakeSignedData done [11:10:35]CreateOFDProtocolMessage [11:10:35]wFMCommunicate request_size=4 [11:10:35]MH_SAM_APDU [11:10:35]CAPDU: 80 11 00 00 [11:10:35]Write to MH i2c: E2 08 00 2F 52 80 11 00 00 00 00 00 00 FB [11:10:35]Write i2c OK [11:10:35]MH_I2C_Read... [11:10:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:10:35]Read from MH i2c: E2 [11:10:35]MH_I2C_Read... [11:10:35]Read from MH i2c: E2 17 00 [11:10:35]MH_I2C_Read... [11:10:35]Read from MH i2c: E2 17 00 2F 52 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 4D [11:10:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [11:10:35]wFMCommunicate OK [11:10:35]CreateOFDProtocolMessage done [11:10:35]OFDSenderStorePacket 47345 [11:10:35]StoreOFDPacket docnum=47345 [11:10:35]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 29 01 00 00 1D 71 21 01 73 CD 5A 03 01 00 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 08 00 34 32 32 30 33 31 30 30 06 04 28 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 B1 D0 B0 D0 BD D0 B0 D0 BD 2D D0 BA D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 39 38 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 F1 B8 00 00 35 04 06 00 24 63 0C 26 59 D5 C7 AF C5 52 09 61 4D 37 [11:10:35]CheckFolder [11:10:35]dirname=/storage/ofd_packets [11:10:35]CheckFolder done [11:10:35]ProducePacketName [11:10:35]name=ofd_packets/00047345 [11:10:35]NVStorageSaveData ofd_packets/00047345 [11:10:35]File name is /storage/ofd_packets/00047345 [11:10:35]Write 327 bytes [11:10:35]NVStorageSaveData done [11:10:35]OFDSenderStorePacket done [11:10:35]KKMCreateOFDPacket done [11:10:35]NVStorageSaveData kkm_last_timestamp [11:10:35]File name is /storage/kkm_last_timestamp [11:10:35]Write 4 bytes [11:10:35]NVStorageSaveData done [11:10:35]ExternCall_PrintAddStr [11:10:35]wPrintStart [11:10:35]Write to MH i2c: 01 00 00 30 52 82 [11:10:35]Write i2c OK [11:10:35]MH_I2C_Read... [11:10:35]Read from MH i2c: 01 [11:10:35]MH_I2C_Read... [11:10:35]Read from MH i2c: 01 07 00 [11:10:35]MH_I2C_Read... [11:10:35]Read from MH i2c: 01 07 00 30 52 00 00 00 00 00 FF 0F 97 [11:10:35]RasterBufferAndPrint [11:10:35]line Счет N : (3)242258 [11:10:35]line ИНН: 02508201610067 [11:10:35]line Контрольно-Кассовый Чек [11:10:35]line ПРОДАЖА [11:10:35]line Товар: 42203100 [11:10:35]line Жев Orbit банан-клубника [11:10:35]line 1.000 * 40.00 [11:10:35]line = 40.00 [11:10:35]line НДС 12% НСП 1% [11:10:35]line > о реализуемом товаре [11:10:35]line ИТОГО: 40.00 [11:10:35]line НСП 1% : 0.35 [11:10:35]line НДС 12% : 4.25 [11:10:35]line Наличными: 40.00 [11:10:35]line Безнал.: 0.00 [11:10:35]line Место: АЗС № 15 "Партнер Нефть" [11:10:35]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [11:10:35]line СНО: Общий режим [11:10:35]line Чек 23 12.03.2024 11:10 [11:10:35]line Смена: 314 ФФД: 1.0 [11:10:35]line ЗНМ: 0300000097 [11:10:35]line РНМ: 0000000000092018 [11:10:35]line Версия ККМ: 001 [11:10:35]line ФМ: 0000000000871816 [11:10:35]line ФД: 47345 [11:10:35]line ФПД: 40007824202197 [11:10:36]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T111049&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47345&fm=40007824202197&tin=02508201610067®Number=0000000000092018&sum=4000 [11:10:36]line 0 [11:10:36]OFD Sender: Processing packet 47345 [packets to send 8, broken 7] [11:10:36]ProducePacketName [11:10:36]name=ofd_packets/00047345 [11:10:36]OFD Sender: To server: pG, [11:10:36]CommunicateWithHost lk.salyk.kg:30040 [11:10:36]ConnectInit lk.salyk.kg [11:10:36]written 0, free lines is 4095 [11:10:36]Connected sock=10 [11:10:36]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 31 36 29 01 00 00 1D 71 21 01 73 CD 5A 03 01 00 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 08 00 34 32 32 30 33 31 30 30 06 04 28 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 B1 D0 B0 D0 BD D0 B0 D0 BD 2D D0 BA D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 39 38 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 F1 B8 00 00 35 04 06 00 24 63 0C 26 59 D5 C7 AF C5 52 09 61 4D 37 [11:10:36]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 E5 0C 47 00 DD 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 31 36 10 04 04 00 F1 B8 00 00 F4 03 04 00 CB E2 EF 65 B6 04 01 00 00 1F 95 07 F4 43 FF C8 E2 [11:10:36]CommunicateWithHost err = 0 [11:10:36]CheckOFDResponse [11:10:36]1017 (14) - 77093643461234 [11:10:36]1041 (16) - 0000000000871816 [11:10:36]1040 (4) - 47345 [11:10:36]1012 (4) - 12.03.2024 05:06 [11:10:36]1206 (1) - 0 [11:10:36]OFD Sender: Remove packet 47345 [11:10:36]ProducePacketName [11:10:36]name=ofd_packets/00047345 [11:10:36]NVStorageDeleteData [11:10:36]Write to MH i2c: 01 00 00 58 52 AA [11:10:36]Write i2c OK [11:10:36]MH_I2C_Read... [11:10:36]Read from MH i2c: 01 [11:10:36]MH_I2C_Read... [11:10:36]Read from MH i2c: 01 07 00 [11:10:36]MH_I2C_Read... [11:10:36]Read from MH i2c: 01 07 00 58 52 00 00 00 00 00 E6 0C A3 [11:10:36]RasterBufferAndPrint [11:10:36]line [11:10:36]line [11:10:36]line [11:10:36]line [11:10:36]line [11:10:36]written 0, free lines is 3308 [11:10:36]MH_Cut [11:10:36]Write to MH i2c: D1 01 00 5F 52 01 83 [11:10:36]Write i2c OK [11:10:36]MH_I2C_Read... [11:10:36]Read from MH i2c: D1 [11:10:36]MH_I2C_Read... [11:10:36]Read from MH i2c: D1 01 00 [11:10:36]MH_I2C_Read... [11:10:36]Read from MH i2c: D1 01 00 5F 52 00 82 [11:10:36]Write to MH i2c: 01 00 00 60 52 B2 [11:10:36]Write i2c OK [11:10:36]MH_I2C_Read... [11:10:37]OFD Sender: No OFD packet to send [11:10:37]*** Cut start [11:10:37]*** Purtial cut [11:10:37]*** Stage 1: CUTSNS_PIN = 1 [11:10:37]Read from MH i2c: 01 [11:10:37]MH_I2C_Read... [11:10:37]*** Stop cut motor [11:10:37]*** Cut end [11:10:37]Read from MH i2c: 01 07 00 [11:10:37]MH_I2C_Read... [11:10:37]Read from MH i2c: 01 07 00 60 52 00 00 00 00 00 FF 0F C7 [11:10:37]process_action close_receipt done [11:10:37]requested_data is exist [11:10:37]produce_requested_data [11:10:37]requested_item fm.sn is exist - process it [11:10:37]wFMCommunicate request_size=4 [11:10:37]MH_SAM_APDU [11:10:37]CAPDU: 80 11 00 00 [11:10:37]Write to MH i2c: E2 08 00 61 52 80 11 00 00 00 00 00 00 2D [11:10:37]Write i2c OK [11:10:37]MH_I2C_Read... [11:10:37]Read from MH i2c: E2 [11:10:37]MH_I2C_Read... [11:10:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:10:37]Read from MH i2c: E2 17 00 [11:10:37]MH_I2C_Read... [11:10:37]Read from MH i2c: E2 17 00 61 52 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 7F [11:10:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [11:10:37]wFMCommunicate OK [11:10:37]requested_item fd.num is exist - process it [11:10:37]SAM_PROTO_GetFieldsCounters [11:10:37]wFMCommunicate request_size=4 [11:10:37]MH_SAM_APDU [11:10:37]CAPDU: 80 13 00 00 [11:10:37]Write to MH i2c: E2 08 00 62 52 80 13 00 00 00 00 00 00 30 [11:10:37]Write i2c OK [11:10:37]MH_I2C_Read... [11:10:38]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:10:38]Read from MH i2c: E2 [11:10:38]MH_I2C_Read... [11:10:38]Read from MH i2c: E2 62 00 [11:10:38]MH_I2C_Read... [11:10:38]Read from MH i2c: E2 62 00 62 52 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 F1 B8 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 17 00 00 00 5E 04 04 00 17 00 00 00 57 04 04 00 18 00 00 00 19 04 04 00 00 00 00 00 90 00 74 [11:10:38]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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 F1 B8 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 17 00 00 00 5E 04 04 00 17 00 00 00 57 04 04 00 18 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:10:38]wFMCommunicate OK [11:10:38]SAM_PROTO_GetFieldsCounters done [11:10:38]requested_item shift.num is exist - process it [11:10:38]requested_item shift.opened is exist - process it [11:10:38]req_shift_opened [11:10:38]FM_GetShiftState [11:10:38]SAM_PROTO_GetShiftState [11:10:38]wFMCommunicate request_size=4 [11:10:38]MH_SAM_APDU [11:10:38]CAPDU: 80 13 01 00 [11:10:38]Write to MH i2c: E2 08 00 63 52 80 13 01 00 00 00 00 00 32 [11:10:38]Write i2c OK [11:10:38]MH_I2C_Read... [11:10:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:10:38]Read from MH i2c: E2 [11:10:38]MH_I2C_Read... [11:10:38]Read from MH i2c: E2 0E 00 [11:10:38]MH_I2C_Read... [11:10:38]Read from MH i2c: E2 0E 00 63 52 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 61 [11:10:38]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [11:10:38]wFMCommunicate OK [11:10:38]SAM_PROTO_GetShiftState done [11:10:38]FM_GetShiftState done [11:10:38]req_shift_opened done [11:10:38]requested_item shift.open_date is exist - process it [11:10:38]req_shift_open_date [11:10:38]req_shift_open_date done [11:10:38]produce_requested_data done [11:10:38]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47345,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [11:10:38]process_action_free close_receipt [11:10:38]json_value_free [11:10:38]json_value_free done [11:10:38]process_json_proto returns [11:10:38]Send response to host [11:10:38]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47345,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [11:10:38]free response buf [11:10:38]execute_script done [11:10:38]execute_script returns [11:10:38]free content buf [11:10:38]Sock 7.Close socket [11:10:38]Sock 7.Thread stoped [11:10:42]OFD Sender: No OFD packet to send [11:10:47]OFD Sender: No OFD packet to send [11:10:52]OFD Sender: No OFD packet to send [11:10:57]OFD Sender: No OFD packet to send [11:11:02]OFD Sender: No OFD packet to send [11:11:07]OFD Sender: No OFD packet to send [11:11:12]OFD Sender: No OFD packet to send [11:11:17]OFD Sender: No OFD packet to send [11:11:22]OFD Sender: No OFD packet to send [11:11:27]OFD Sender: No OFD packet to send [11:11:32]OFD Sender: No OFD packet to send [11:11:37]OFD Sender: No OFD packet to send [11:11:42]OFD Sender: No OFD packet to send [11:11:47]OFD Sender: No OFD packet to send [11:11:52]OFD Sender: No OFD packet to send [11:11:57]OFD Sender: No OFD packet to send [11:12:02]OFD Sender: No OFD packet to send [11:12:07]OFD Sender: No OFD packet to send [11:12:12]OFD Sender: No OFD packet to send [11:12:17]OFD Sender: No OFD packet to send [11:12:22]OFD Sender: No OFD packet to send [11:12:27]OFD Sender: No OFD packet to send [11:12:32]OFD Sender: No OFD packet to send [11:12:37]OFD Sender: No OFD packet to send [11:12:42]OFD Sender: No OFD packet to send [11:12:47]OFD Sender: No OFD packet to send [11:12:52]OFD Sender: No OFD packet to send [11:12:57]OFD Sender: No OFD packet to send [11:13:02]OFD Sender: No OFD packet to send [11:13:07]OFD Sender: No OFD packet to send [11:13:12]OFD Sender: No OFD packet to send [11:13:17]OFD Sender: No OFD packet to send [11:13:22]OFD Sender: No OFD packet to send [11:13:27]OFD Sender: No OFD packet to send [11:13:32]OFD Sender: No OFD packet to send [11:13:37]OFD Sender: No OFD packet to send [11:13:42]OFD Sender: No OFD packet to send [11:13:47]OFD Sender: No OFD packet to send [11:13:52]OFD Sender: No OFD packet to send [11:13:57]OFD Sender: No OFD packet to send [11:14:02]OFD Sender: No OFD packet to send [11:14:07]OFD Sender: No OFD packet to send [11:14:12]OFD Sender: No OFD packet to send [11:14:17]OFD Sender: No OFD packet to send [11:14:22]OFD Sender: No OFD packet to send [11:14:27]OFD Sender: No OFD packet to send [11:14:32]OFD Sender: No OFD packet to send [11:14:37]OFD Sender: No OFD packet to send [11:14:42]OFD Sender: No OFD packet to send [11:14:47]OFD Sender: No OFD packet to send [11:14:52]OFD Sender: No OFD packet to send [11:14:57]OFD Sender: No OFD packet to send [11:15:02]OFD Sender: No OFD packet to send [11:15:07]OFD Sender: No OFD packet to send [11:15:12]OFD Sender: No OFD packet to send [11:15:17]OFD Sender: No OFD packet to send [11:15:22]OFD Sender: No OFD packet to send [11:15:27]OFD Sender: No OFD packet to send [11:15:32]OFD Sender: No OFD packet to send [11:15:37]OFD Sender: No OFD packet to send [11:15:42]OFD Sender: No OFD packet to send [11:15:47]OFD Sender: No OFD packet to send [11:15:52]OFD Sender: No OFD packet to send [11:15:57]OFD Sender: No OFD packet to send [11:16:02]OFD Sender: No OFD packet to send [11:16:07]OFD Sender: No OFD packet to send [11:16:12]OFD Sender: No OFD packet to send [11:16:17]OFD Sender: No OFD packet to send [11:16:22]OFD Sender: No OFD packet to send [11:16:27]OFD Sender: No OFD packet to send [11:16:32]OFD Sender: No OFD packet to send [11:16:37]OFD Sender: No OFD packet to send [11:16:42]OFD Sender: No OFD packet to send [11:16:47]OFD Sender: No OFD packet to send [11:16:47]accept exits with 9 [11:16:47]New connection [11:16:47]New thread 3066453348 created [11:16:47]Thread 3066596708 joined [11:16:47]Waiting for new connection... [11:16:47] Sock 9.Parse request [11:16:47]Sock 9.Check first char [11:16:47]Sock 9.First char is OK [11:16:47]request: POST /json_proto HTTP/1.0 [11:16:47]Method: POST [11:16:47]URL: /json_proto [11:16:47]Method is POST - this is cgi request [11:16:47]url: /json_proto [11:16:47]query_string will be loaded in cgi processing [11:16:47]execute_cgi json_proto POST (null) [11:16:47]execute_cgi path=json_proto method=POST [11:16:47]POST find Content-Length [11:16:47]Host: 172.17.32.68:8080 [11:16:47]Content-Length: 1857 [11:16:47]Content-Type: application/json [11:16:47] [11:16:47]POST finish read [11:16:47]Found Content-Length = 1857 [11:16:47]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242259", "tax_sys" : 0, "items" : [ { "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4601025111663", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0424\u0440\u0443\u0442\u043C\u043E\u0442\u0438\u0432 \u0430\u043F\u0435\u043B\u044C\u0441\u0438\u043D 0,5", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4601025112370", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0424\u0440\u0443\u0442\u043C\u043E\u0442\u0438\u0432 \u0433\u0440\u0430\u043D\u0430\u0442 0,5", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "80942726", "name": "\u0420/\u0436 mentos \u043C\u044F\u0442\u0430 \u0440\u043E\u043B\u043B 16\u0433", "price" : 49.00, "quantity" : 1.000, "sum" : 49.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160792", "name": "\u0421\u043D\u0435\u043A \u041A\u0443\u0440\u0443\u0442 \u043A\u043B\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043A\u0438\u0439 (\u043A\u0440\u0443\u0433\u043B\u044B\u0439)", "price" : 60.00, "quantity" : 3.000, "sum" : 180.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 439.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:16:47]execute_script... [11:16:48]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242259", "tax_sys" : 0, "items" : [ { "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4601025111663", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0424\u0440\u0443\u0442\u043C\u043E\u0442\u0438\u0432 \u0430\u043F\u0435\u043B\u044C\u0441\u0438\u043D 0,5", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4601025112370", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0424\u0440\u0443\u0442\u043C\u043E\u0442\u0438\u0432 \u0433\u0440\u0430\u043D\u0430\u0442 0,5", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "80942726", "name": "\u0420/\u0436 mentos \u043C\u044F\u0442\u0430 \u0440\u043E\u043B\u043B 16\u0433", "price" : 49.00, "quantity" : 1.000, "sum" : 49.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160792", "name": "\u0421\u043D\u0435\u043A \u041A\u0443\u0440\u0443\u0442 \u043A\u043B\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043A\u0438\u0439 (\u043A\u0440\u0443\u0433\u043B\u044B\u0439)", "price" : 60.00, "quantity" : 3.000, "sum" : 180.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 439.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:16:48]POST & json_proto [11:16:48]process_json_proto [11:16:48]json parsed OK: [11:16:48]protocol is kg_v1.0 [11:16:48]action value=close_receipt [11:16:48]process_action close_receipt [11:16:48]cmd_close_receipt [11:16:48]MH_GetDate [11:16:48]Write to MH i2c: F0 00 00 64 52 A5 [11:16:48]Write i2c OK [11:16:48]MH_I2C_Read... [11:16:48]Read from MH i2c: F0 [11:16:48]MH_I2C_Read... [11:16:48]Read from MH i2c: F0 09 00 [11:16:48]MH_I2C_Read... [11:16:48]Read from MH i2c: F0 09 00 64 52 00 AF 39 F0 65 0A 64 6E 65 2C [11:16:48]GetLastDocTimeStamp 1710241849 [11:16:48]current date 1710242223 [11:16:48]FM_GetShiftState [11:16:48]SAM_PROTO_GetShiftState [11:16:48]wFMCommunicate request_size=4 [11:16:48]MH_SAM_APDU [11:16:48]CAPDU: 80 13 01 00 [11:16:48]Write to MH i2c: E2 08 00 65 52 80 13 01 00 00 00 00 00 34 [11:16:48]Write i2c OK [11:16:48]MH_I2C_Read... [11:16:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:16:48]Read from MH i2c: E2 [11:16:48]MH_I2C_Read... [11:16:48]Read from MH i2c: E2 0E 00 [11:16:48]MH_I2C_Read... [11:16:48]Read from MH i2c: E2 0E 00 65 52 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 63 [11:16:48]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [11:16:48]wFMCommunicate OK [11:16:48]SAM_PROTO_GetShiftState done [11:16:48]FM_GetShiftState done [11:16:48]opened in 1710202417 [11:16:48]opened+sec_in_day 1710288817 [11:16:48]quantity*price = 4000 [11:16:48]sum+1 = 4001 [11:16:48]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4601025111663 Напиток Фрутмотив апельсин 0,5 1.000 * 85.00 = 85.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4601025112370 Напиток Фрутмотив гранат 0,5 1.000 * 85.00 = 85.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 80942726 Р/ж mentos мята ролл 16г 1.000 * 49.00 = 49.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700000160792 Снек Курут классический (круглый) 3.000 * 60.00 = 180.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 439.00 НСП 1% : 3.87 НДС 12% : 46.62 Наличными: 439.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 24 12.03.2024 11:17 Смена: 314 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47346 ФПД: 111532559661402 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T111703&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47346&fm=111532559661402&tin=02508201610067®Number=0000000000092018&sum=43900 0 [11:16:49]StoreToDocumentArchive [11:16:49]shift 314 fd 47346 [11:16:49]save to /storage/0314/doc_00047346 [11:16:49]save last doc name /storage/0314/doc_00047346 to /storage/kkm_last_doc_name [11:16:49]save OK [11:16:49]Clear old archive folders... [11:16:49]ProcessDocumentItem done err = 0, tmpTLVsize=754 [11:16:49]tlvbuf is 003E4AF0 [11:16:49]SAM_PROTO_ClearQueue [11:16:49]wFMCommunicate request_size=4 [11:16:49]MH_SAM_APDU [11:16:49]CAPDU: 80 09 00 00 [11:16:49]Write to MH i2c: E2 08 00 72 52 80 09 00 00 00 00 00 00 36 [11:16:49]Write i2c OK [11:16:49]MH_I2C_Read... [11:16:49]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:16:49]Read from MH i2c: E2 [11:16:49]MH_I2C_Read... [11:16:49]Read from MH i2c: E2 03 00 [11:16:49]MH_I2C_Read... [11:16:49]Read from MH i2c: E2 03 00 72 52 00 90 00 38 [11:16:49]RAPDU: 90 00 [11:16:49]wFMCommunicate OK [11:16:49]SAM_PROTO_ClearQueue done [11:16:49]KKMCreateOFDPacket [11:16:49]OFDProtocolAddRootSTLVToBuf [11:16:49]FM_MakeSignedData [11:16:49]FM_MakeSignedData [11:16:49]SAM_PROTO_SignData [11:16:49]wFMCommunicate request_size=4 [11:16:49]MH_SAM_APDU [11:16:49]CAPDU: 80 0D 01 02 [11:16:49]Write to MH i2c: E2 08 00 73 52 80 0D 01 02 00 00 00 00 3E [11:16:49]Write i2c OK [11:16:49]MH_I2C_Read... [11:16:49]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:16:49]Read from MH i2c: E2 [11:16:49]MH_I2C_Read... [11:16:49]Read from MH i2c: E2 03 00 [11:16:49]MH_I2C_Read... [11:16:49]Read from MH i2c: E2 03 00 73 52 00 90 00 39 [11:16:49]RAPDU: 90 00 [11:16:49]wFMCommunicate OK [11:16:49]wFMCommunicate request_size=255 [11:16:49]MH_SAM_APDU [11:16:49]CAPDU: 80 0D 02 02 FA 03 00 F2 02 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 30 31 30 32 35 31 31 31 36 36 33 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D1 80 D1 83 D1 82 D0 BC D0 BE D1 82 D0 B8 D0 B2 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 30 2C 35 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 76 00 8A 04 0D 00 34 36 30 31 30 32 [11:16:49]Write to MH i2c: E2 02 01 74 52 80 0D 02 02 FA 00 03 00 F2 02 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 30 31 30 32 35 31 31 31 36 36 33 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D1 80 D1 83 D1 82 D0 BC D0 BE D1 82 D0 B8 D0 B2 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 30 2C 35 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 76 00 8A 04 0D 00 34 36 30 31 30 32 00 00 B0 [11:16:49]Write i2c OK [11:16:49]MH_I2C_Read... [11:16:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:16:50]Read from MH i2c: E2 [11:16:50]MH_I2C_Read... [11:16:50]Read from MH i2c: E2 03 00 [11:16:50]MH_I2C_Read... [11:16:50]Read from MH i2c: E2 03 00 74 52 00 90 00 3A [11:16:50]RAPDU: 90 00 [11:16:50]wFMCommunicate OK [11:16:50]wFMCommunicate request_size=255 [11:16:50]MH_SAM_APDU [11:16:50]CAPDU: 80 0D 02 02 FA 35 31 31 32 33 37 30 06 04 32 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D1 80 D1 83 D1 82 D0 BC D0 BE D1 82 D0 B8 D0 B2 20 D0 B3 D1 80 D0 B0 D0 BD D0 B0 D1 82 20 30 2C 35 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 08 00 38 30 39 34 32 37 32 36 06 04 23 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 D0 BC D1 8F D1 82 D0 B0 20 D1 80 D0 BE D0 BB D0 BB 20 31 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 37 39 32 06 04 3D 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 [11:16:50]Write to MH i2c: E2 02 01 75 52 80 0D 02 02 FA 00 35 31 31 32 33 37 30 06 04 32 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D1 80 D1 83 D1 82 D0 BC D0 BE D1 82 D0 B8 D0 B2 20 D0 B3 D1 80 D0 B0 D0 BD D0 B0 D1 82 20 30 2C 35 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 08 00 38 30 39 34 32 37 32 36 06 04 23 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 D0 BC D1 8F D1 82 D0 B0 20 D1 80 D0 BE D0 BB D0 BB 20 31 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 37 39 32 06 04 3D 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 00 00 1D [11:16:50]Write i2c OK [11:16:50]MH_I2C_Read... [11:16:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:16:50]Read from MH i2c: E2 [11:16:50]MH_I2C_Read... [11:16:50]Read from MH i2c: E2 03 00 [11:16:50]MH_I2C_Read... [11:16:50]Read from MH i2c: E2 03 00 75 52 00 90 00 3B [11:16:50]RAPDU: 90 00 [11:16:50]wFMCommunicate OK [11:16:50]wFMCommunicate request_size=255 [11:16:50]MH_SAM_APDU [11:16:50]CAPDU: 80 0D 02 02 FA D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 28 D0 BA D1 80 D1 83 D0 B3 D0 BB D1 8B D0 B9 29 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C AB 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 83 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 36 12 00 00 00 00 07 04 06 00 7C AB 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 AF 39 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 F2 B8 00 00 35 04 [11:16:50]Write to MH i2c: E2 02 01 76 52 80 0D 02 02 FA 00 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 28 D0 BA D1 80 D1 83 D0 B3 D0 BB D1 8B D0 B9 29 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C AB 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 83 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 36 12 00 00 00 00 07 04 06 00 7C AB 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 AF 39 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 F2 B8 00 00 35 04 00 00 A5 [11:16:50]Write i2c OK [11:16:50]MH_I2C_Read... [11:16:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:16:50]Read from MH i2c: E2 [11:16:50]MH_I2C_Read... [11:16:50]Read from MH i2c: E2 03 00 [11:16:50]MH_I2C_Read... [11:16:50]Read from MH i2c: E2 03 00 76 52 00 90 00 3C [11:16:50]RAPDU: 90 00 [11:16:50]wFMCommunicate OK [11:16:50]wFMCommunicate request_size=13 [11:16:50]MH_SAM_APDU [11:16:50]CAPDU: 80 0D 02 02 08 06 00 65 70 32 99 79 5A [11:16:50]Write to MH i2c: E2 10 00 77 52 80 0D 02 02 08 00 06 00 65 70 32 99 79 5A 00 00 CC [11:16:50]Write i2c OK [11:16:50]MH_I2C_Read... [11:16:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:16:50]Read from MH i2c: E2 [11:16:50]MH_I2C_Read... [11:16:50]Read from MH i2c: E2 03 00 [11:16:50]MH_I2C_Read... [11:16:50]Read from MH i2c: E2 03 00 77 52 00 90 00 3D [11:16:50]RAPDU: 90 00 [11:16:50]wFMCommunicate OK [11:16:50]wFMCommunicate request_size=4 [11:16:50]MH_SAM_APDU [11:16:50]CAPDU: 80 0D 03 02 [11:16:50]Write to MH i2c: E2 08 00 78 52 80 0D 03 02 00 00 00 00 45 [11:16:50]Write i2c OK [11:16:50]MH_I2C_Read... [11:16:50]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:16:50]Read from MH i2c: E2 [11:16:50]MH_I2C_Read... [11:16:50]Read from MH i2c: E2 0B 00 [11:16:50]MH_I2C_Read... [11:16:50]Read from MH i2c: E2 0B 00 78 52 00 05 AB 6B 20 7F 9D A4 96 90 00 D7 [11:16:50]RAPDU: 05 AB 6B 20 7F 9D A4 96 90 00 [11:16:50]wFMCommunicate OK [11:16:50]SAM_PROTO_SignData done [11:16:50]FM_MakeSignedData done [11:16:50]CreateOFDProtocolMessage [11:16:50]wFMCommunicate request_size=4 [11:16:50]MH_SAM_APDU [11:16:50]CAPDU: 80 11 00 00 [11:16:50]Write to MH i2c: E2 08 00 79 52 80 11 00 00 00 00 00 00 45 [11:16:50]Write i2c OK [11:16:50]MH_I2C_Read... [11:16:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:16:50]Read from MH i2c: E2 [11:16:50]MH_I2C_Read... [11:16:50]Read from MH i2c: E2 17 00 [11:16:50]MH_I2C_Read... [11:16:50]Read from MH i2c: E2 17 00 79 52 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 97 [11:16:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [11:16:50]wFMCommunicate OK [11:16:50]CreateOFDProtocolMessage done [11:16:50]OFDSenderStorePacket 47346 [11:16:50]StoreOFDPacket docnum=47346 [11:16:50]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 06 03 00 00 9F 7B FE 02 6E A3 5A 03 01 00 03 00 F2 02 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 30 31 30 32 35 31 31 31 36 36 33 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D1 80 D1 83 D1 82 D0 BC D0 BE D1 82 D0 B8 D0 B2 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 30 2C 35 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 76 00 8A 04 0D 00 34 36 30 31 30 32 35 31 31 32 33 37 30 06 04 32 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D1 80 D1 83 D1 82 D0 BC D0 BE D1 82 D0 B8 D0 B2 20 D0 B3 D1 80 D0 B0 D0 BD D0 B0 D1 82 20 30 2C 35 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 08 00 38 30 39 34 32 37 32 36 06 04 23 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 D0 BC D1 8F D1 82 D0 B0 20 D1 80 D0 BE D0 BB D0 BB 20 31 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 37 39 32 06 04 3D 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 28 D0 BA D1 80 D1 83 D0 B3 D0 BB D1 8B D0 B9 29 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C AB 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 83 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 36 12 00 00 00 00 07 04 06 00 7C AB 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 AF 39 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 F2 B8 00 00 35 04 06 00 65 70 32 99 79 5A 05 AB 6B 20 7F 9D A4 96 [11:16:50]CheckFolder [11:16:50]dirname=/storage/ofd_packets [11:16:50]CheckFolder done [11:16:50]ProducePacketName [11:16:50]name=ofd_packets/00047346 [11:16:50]NVStorageSaveData ofd_packets/00047346 [11:16:50]File name is /storage/ofd_packets/00047346 [11:16:50]Write 804 bytes [11:16:50]NVStorageSaveData done [11:16:50]OFDSenderStorePacket done [11:16:50]KKMCreateOFDPacket done [11:16:50]NVStorageSaveData kkm_last_timestamp [11:16:50]File name is /storage/kkm_last_timestamp [11:16:50]Write 4 bytes [11:16:50]NVStorageSaveData done [11:16:50]ExternCall_PrintAddStr [11:16:50]wPrintStart [11:16:50]Write to MH i2c: 01 00 00 7A 52 CC [11:16:50]Write i2c OK [11:16:50]MH_I2C_Read... [11:16:50]Read from MH i2c: 01 [11:16:50]MH_I2C_Read... [11:16:50]Read from MH i2c: 01 07 00 [11:16:50]MH_I2C_Read... [11:16:50]Read from MH i2c: 01 07 00 7A 52 00 00 00 00 00 FF 0F E1 [11:16:50]RasterBufferAndPrint [11:16:50]line Счет N : (3)242259 [11:16:50]line ИНН: 02508201610067 [11:16:50]line Контрольно-Кассовый Чек [11:16:50]line ПРОДАЖА [11:16:50]line Товар: 4700000160211 [11:16:50]line Вода Легенда 0,5л [11:16:50]line 1.000 * 40.00 [11:16:50]line = 40.00 [11:16:50]line НДС 12% НСП 1% [11:16:50]line > о реализуемом товаре [11:16:50]line Товар: 4601025111663 [11:16:50]line Напиток Фрутмотив апельсин 0,5 [11:16:50]line 1.000 * 85.00 [11:16:50]line = 85.00 [11:16:50]line НДС 12% НСП 1% [11:16:50]line > о реализуемом товаре [11:16:50]line Товар: 4601025112370 [11:16:50]line Напиток Фрутмотив гранат 0,5 [11:16:50]line 1.000 * 85.00 [11:16:50]line = 85.00 [11:16:50]line НДС 12% НСП 1% [11:16:50]line > о реализуемом товаре [11:16:50]line Товар: 80942726 [11:16:50]line Р/ж mentos мята ролл 16г [11:16:50]line 1.000 * 49.00 [11:16:50]line = 49.00 [11:16:50]line НДС 12% НСП 1% [11:16:50]line > о реализуемом товаре [11:16:50]line Товар: 4700000160792 [11:16:51]line Снек Курут классический (круглый) [11:16:51]line 3.000 * 60.00 [11:16:51]line = 180.00 [11:16:51]line НДС 12% НСП 1% [11:16:51]line > о реализуемом товаре [11:16:51]line ИТОГО: 439.00 [11:16:51]line НСП 1% : 3.87 [11:16:51]line НДС 12% : 46.62 [11:16:51]line Наличными: 439.00 [11:16:51]line Безнал.: 0.00 [11:16:51]line Место: АЗС № 15 "Партнер Нефть" [11:16:51]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [11:16:51]line СНО: Общий режим [11:16:51]line Чек 24 12.03.2024 11:17 [11:16:51]line Смена: 314 ФФД: 1.0 [11:16:51]line ЗНМ: 0300000097 [11:16:51]line РНМ: 0000000000092018 [11:16:51]line Версия ККМ: 001 [11:16:51]line ФМ: 0000000000871816 [11:16:51]line ФД: 47346 [11:16:51]line ФПД: 111532559661402 [11:16:51]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T111703&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47346&fm=111532559661402&tin=02508201610067®Number=0000000000092018&sum=43900 [11:16:51]line 0 [11:16:51]OFD Sender: Processing packet 47346 [packets to send 8, broken 7] [11:16:51]ProducePacketName [11:16:51]name=ofd_packets/00047346 [11:16:51]OFD Sender: To server: pG, [11:16:51]CommunicateWithHost lk.salyk.kg:30040 [11:16:51]ConnectInit lk.salyk.kg [11:16:51]written 0, free lines is 4095 [11:16:51]Connected sock=10 [11:16: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 31 36 06 03 00 00 9F 7B FE 02 6E A3 5A 03 01 00 03 00 F2 02 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 30 31 30 32 35 31 31 31 36 36 33 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D1 80 D1 83 D1 82 D0 BC D0 BE D1 82 D0 B8 D0 B2 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 30 2C 35 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 76 00 8A 04 0D 00 34 36 30 31 30 32 35 31 31 32 33 37 30 06 04 32 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D1 80 D1 83 D1 82 D0 BC D0 BE D1 82 D0 B8 D0 B2 20 D0 B3 D1 80 D0 B0 D0 BD D0 B0 D1 82 20 30 2C 35 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 08 00 38 30 39 34 32 37 32 36 06 04 23 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 D0 BC D1 8F D1 82 D0 B0 20 D1 80 D0 BE D0 BB D0 BB 20 31 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 37 39 32 06 04 3D 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 28 D0 BA D1 80 D1 83 D0 B3 D0 BB D1 8B D0 B9 29 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C AB 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 83 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 36 12 00 00 00 00 07 04 06 00 7C AB 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 AF 39 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 F2 B8 00 00 35 04 06 00 65 70 32 99 79 5A 05 AB 6B 20 7F 9D A4 96 [11:16: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 31 36 4F 00 00 00 AB 11 47 00 B5 80 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 31 36 10 04 04 00 F2 B8 00 00 F4 03 04 00 42 E4 EF 65 B6 04 01 00 00 08 09 36 EC 0C DC 27 0F [11:16:51]CommunicateWithHost err = 0 [11:16:51]CheckOFDResponse [11:16:51]1017 (14) - 77093643461234 [11:16:51]1041 (16) - 0000000000871816 [11:16:51]1040 (4) - 47346 [11:16:51]1012 (4) - 12.03.2024 05:12 [11:16:51]1206 (1) - 0 [11:16:51]OFD Sender: Remove packet 47346 [11:16:51]ProducePacketName [11:16:51]name=ofd_packets/00047346 [11:16:51]NVStorageDeleteData [11:16:51]Write to MH i2c: 01 00 00 BD 52 0F [11:16:51]Write i2c OK [11:16:51]MH_I2C_Read... [11:16:51]Read from MH i2c: 01 [11:16:51]MH_I2C_Read... [11:16:51]Read from MH i2c: 01 07 00 [11:16:51]MH_I2C_Read... [11:16:51]Read from MH i2c: 01 07 00 BD 52 00 00 00 00 00 3A 0B 5B [11:16:51]RasterBufferAndPrint [11:16:51]line [11:16:51]line [11:16:51]line [11:16:51]line [11:16:51]line [11:16:51]written 0, free lines is 2882 [11:16:51]MH_Cut [11:16:51]Write to MH i2c: D1 01 00 C4 52 01 E8 [11:16:51]Write i2c OK [11:16:51]MH_I2C_Read... [11:16:51]Read from MH i2c: D1 [11:16:51]MH_I2C_Read... [11:16:51]Read from MH i2c: D1 01 00 [11:16:51]MH_I2C_Read... [11:16:51]Read from MH i2c: D1 01 00 C4 52 00 E7 [11:16:52]Write to MH i2c: 01 00 00 C5 52 17 [11:16:52]Write i2c OK [11:16:52]MH_I2C_Read... [11:16:52]OFD Sender: No OFD packet to send [11:16:53]*** Cut start [11:16:53]*** Purtial cut [11:16:53]*** Stage 1: CUTSNS_PIN = 1 [11:16:53]Read from MH i2c: 01 [11:16:53]MH_I2C_Read... [11:16:53]*** Stop cut motor [11:16:53]*** Cut end [11:16:53]Read from MH i2c: 01 07 00 [11:16:53]MH_I2C_Read... [11:16:53]Read from MH i2c: 01 07 00 C5 52 00 00 00 00 00 FF 0F 2C [11:16:53]process_action close_receipt done [11:16:53]requested_data is exist [11:16:53]produce_requested_data [11:16:53]requested_item fm.sn is exist - process it [11:16:53]wFMCommunicate request_size=4 [11:16:53]MH_SAM_APDU [11:16:53]CAPDU: 80 11 00 00 [11:16:53]Write to MH i2c: E2 08 00 C6 52 80 11 00 00 00 00 00 00 92 [11:16:53]Write i2c OK [11:16:53]MH_I2C_Read... [11:16:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:16:53]Read from MH i2c: E2 [11:16:53]MH_I2C_Read... [11:16:53]Read from MH i2c: E2 17 00 [11:16:53]MH_I2C_Read... [11:16:53]Read from MH i2c: E2 17 00 C6 52 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 E4 [11:16:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [11:16:53]wFMCommunicate OK [11:16:53]requested_item fd.num is exist - process it [11:16:53]SAM_PROTO_GetFieldsCounters [11:16:53]wFMCommunicate request_size=4 [11:16:53]MH_SAM_APDU [11:16:53]CAPDU: 80 13 00 00 [11:16:53]Write to MH i2c: E2 08 00 C7 52 80 13 00 00 00 00 00 00 95 [11:16:53]Write i2c OK [11:16:53]MH_I2C_Read... [11:16:53]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:16:53]Read from MH i2c: E2 [11:16:53]MH_I2C_Read... [11:16:53]Read from MH i2c: E2 62 00 [11:16:53]MH_I2C_Read... [11:16:53]Read from MH i2c: E2 62 00 C7 52 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 F2 B8 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 18 00 00 00 5E 04 04 00 18 00 00 00 57 04 04 00 19 00 00 00 19 04 04 00 00 00 00 00 90 00 DD [11:16: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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 F2 B8 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 18 00 00 00 5E 04 04 00 18 00 00 00 57 04 04 00 19 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:16:53]wFMCommunicate OK [11:16:53]SAM_PROTO_GetFieldsCounters done [11:16:53]requested_item shift.num is exist - process it [11:16:53]requested_item shift.opened is exist - process it [11:16:53]req_shift_opened [11:16:53]FM_GetShiftState [11:16:53]SAM_PROTO_GetShiftState [11:16:53]wFMCommunicate request_size=4 [11:16:53]MH_SAM_APDU [11:16:53]CAPDU: 80 13 01 00 [11:16:53]Write to MH i2c: E2 08 00 C8 52 80 13 01 00 00 00 00 00 97 [11:16:53]Write i2c OK [11:16:53]MH_I2C_Read... [11:16:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:16:53]Read from MH i2c: E2 [11:16:53]MH_I2C_Read... [11:16:53]Read from MH i2c: E2 0E 00 [11:16:53]MH_I2C_Read... [11:16:53]Read from MH i2c: E2 0E 00 C8 52 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 C6 [11:16:53]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [11:16:53]wFMCommunicate OK [11:16:53]SAM_PROTO_GetShiftState done [11:16:53]FM_GetShiftState done [11:16:53]req_shift_opened done [11:16:53]requested_item shift.open_date is exist - process it [11:16:53]req_shift_open_date [11:16:53]req_shift_open_date done [11:16:53]produce_requested_data done [11:16:53]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47346,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [11:16:53]process_action_free close_receipt [11:16:53]json_value_free [11:16:53]json_value_free done [11:16:53]process_json_proto returns [11:16:53]Send response to host [11:16:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47346,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [11:16:53]free response buf [11:16:53]execute_script done [11:16:53]execute_script returns [11:16:53]free content buf [11:16:53]Sock 9.Close socket [11:16:53]Sock 9.Thread stoped [11:16:57]OFD Sender: No OFD packet to send [11:17:02]OFD Sender: No OFD packet to send [11:17:07]OFD Sender: No OFD packet to send [11:17:12]OFD Sender: No OFD packet to send [11:17:17]OFD Sender: No OFD packet to send [11:17:22]OFD Sender: No OFD packet to send [11:17:27]OFD Sender: No OFD packet to send [11:17:32]OFD Sender: No OFD packet to send [11:17:37]OFD Sender: No OFD packet to send [11:17:42]OFD Sender: No OFD packet to send [11:17:47]OFD Sender: No OFD packet to send [11:17:52]OFD Sender: No OFD packet to send [11:17:55]accept exits with 7 [11:17:55]New connection [11:17:55]New thread 3066596708 created [11:17:55]Thread 3066453348 joined [11:17:55]Waiting for new connection... [11:17:55] Sock 7.Parse request [11:17:55]Sock 7.Check first char [11:17:55]Sock 7.First char is OK [11:17:55]request: POST /json_proto HTTP/1.0 [11:17:55]Method: POST [11:17:55]URL: /json_proto [11:17:55]Method is POST - this is cgi request [11:17:55]url: /json_proto [11:17:55]query_string will be loaded in cgi processing [11:17:55]execute_cgi json_proto POST (null) [11:17:55]execute_cgi path=json_proto method=POST [11:17:55]POST find Content-Length [11:17:55]Host: 172.17.32.68:8080 [11:17:55]Content-Length: 696 [11:17:55]Content-Type: application/json [11:17:55] [11:17:55]POST finish read [11:17:55]Found Content-Length = 696 [11:17:55]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242260", "tax_sys" : 0, "items" : [ { "code": "2000027340020", "name": "\u041F\u0430\u043A\u0435\u0442 \u0431\u0443\u043C\u0430\u0436\u043D\u044B\u0439 \u0432\u0438\u0442\u0430\u044F \u0440\u0443\u0447\u043A\u0430", "price" : 25.00, "quantity" : 1.000, "sum" : 25.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 25.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:17:55]execute_script... [11:17: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)242260", "tax_sys" : 0, "items" : [ { "code": "2000027340020", "name": "\u041F\u0430\u043A\u0435\u0442 \u0431\u0443\u043C\u0430\u0436\u043D\u044B\u0439 \u0432\u0438\u0442\u0430\u044F \u0440\u0443\u0447\u043A\u0430", "price" : 25.00, "quantity" : 1.000, "sum" : 25.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 25.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:17:55]POST & json_proto [11:17:55]process_json_proto [11:17:55]json parsed OK: [11:17:55]protocol is kg_v1.0 [11:17:55]action value=close_receipt [11:17:55]process_action close_receipt [11:17:55]cmd_close_receipt [11:17:55]MH_GetDate [11:17:55]Write to MH i2c: F0 00 00 C9 52 0A [11:17:55]Write i2c OK [11:17:55]MH_I2C_Read... [11:17:55]Read from MH i2c: F0 [11:17:55]MH_I2C_Read... [11:17:55]Read from MH i2c: F0 09 00 [11:17:55]MH_I2C_Read... [11:17:55]Read from MH i2c: F0 09 00 C9 52 00 F2 39 F0 65 0A 64 6E 65 D4 [11:17:55]GetLastDocTimeStamp 1710242223 [11:17:55]current date 1710242290 [11:17:55]FM_GetShiftState [11:17:55]SAM_PROTO_GetShiftState [11:17:55]wFMCommunicate request_size=4 [11:17:55]MH_SAM_APDU [11:17:55]CAPDU: 80 13 01 00 [11:17:55]Write to MH i2c: E2 08 00 CA 52 80 13 01 00 00 00 00 00 99 [11:17:55]Write i2c OK [11:17:55]MH_I2C_Read... [11:17:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:17:55]Read from MH i2c: E2 [11:17:55]MH_I2C_Read... [11:17:55]Read from MH i2c: E2 0E 00 [11:17:55]MH_I2C_Read... [11:17:55]Read from MH i2c: E2 0E 00 CA 52 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 C8 [11:17:55]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [11:17:55]wFMCommunicate OK [11:17:55]SAM_PROTO_GetShiftState done [11:17:55]FM_GetShiftState done [11:17:55]opened in 1710202417 [11:17:55]opened+sec_in_day 1710288817 [11:17:55]quantity*price = 2500 [11:17:55]sum+1 = 2501 [11:17:55]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 25.00 НСП 1% : 0.22 НДС 12% : 2.65 Наличными: 25.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 25 12.03.2024 11:18 Смена: 314 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47347 ФПД: 64626848680683 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T111810&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47347&fm=64626848680683&tin=02508201610067®Number=0000000000092018&sum=2500 0 [11:17:56]StoreToDocumentArchive [11:17:56]shift 314 fd 47347 [11:17:56]save to /storage/0314/doc_00047347 [11:17:56]save last doc name /storage/0314/doc_00047347 to /storage/kkm_last_doc_name [11:17:56]save OK [11:17:56]Clear old archive folders... [11:17:56]ProcessDocumentItem done err = 0, tmpTLVsize=291 [11:17:56]tlvbuf is 003E1440 [11:17:56]SAM_PROTO_ClearQueue [11:17:56]wFMCommunicate request_size=4 [11:17:56]MH_SAM_APDU [11:17:56]CAPDU: 80 09 00 00 [11:17:56]Write to MH i2c: E2 08 00 D7 52 80 09 00 00 00 00 00 00 9B [11:17:56]Write i2c OK [11:17:56]MH_I2C_Read... [11:17:56]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:17:56]Read from MH i2c: E2 [11:17:56]MH_I2C_Read... [11:17:56]Read from MH i2c: E2 03 00 [11:17:56]MH_I2C_Read... [11:17:56]Read from MH i2c: E2 03 00 D7 52 00 90 00 9D [11:17:56]RAPDU: 90 00 [11:17:56]wFMCommunicate OK [11:17:56]SAM_PROTO_ClearQueue done [11:17:56]KKMCreateOFDPacket [11:17:56]OFDProtocolAddRootSTLVToBuf [11:17:56]FM_MakeSignedData [11:17:56]FM_MakeSignedData [11:17:56]SAM_PROTO_SignData [11:17:56]wFMCommunicate request_size=4 [11:17:56]MH_SAM_APDU [11:17:56]CAPDU: 80 0D 01 02 [11:17:56]Write to MH i2c: E2 08 00 D8 52 80 0D 01 02 00 00 00 00 A3 [11:17:56]Write i2c OK [11:17:56]MH_I2C_Read... [11:17:56]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:17:56]Read from MH i2c: E2 [11:17:56]MH_I2C_Read... [11:17:56]Read from MH i2c: E2 03 00 [11:17:56]MH_I2C_Read... [11:17:56]Read from MH i2c: E2 03 00 D8 52 00 90 00 9E [11:17:56]RAPDU: 90 00 [11:17:56]wFMCommunicate OK [11:17:56]wFMCommunicate request_size=255 [11:17:56]MH_SAM_APDU [11:17:56]CAPDU: 80 0D 02 02 FA 03 00 23 01 1E 04 01 00 01 23 04 75 00 8A 04 0D 00 32 30 30 30 30 32 37 33 34 30 30 32 30 06 04 31 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 20 D0 B1 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B9 20 D0 B2 D0 B8 D1 82 D0 B0 D1 8F 20 D1 80 D1 83 D1 87 D0 BA D0 B0 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C4 09 00 00 00 00 13 04 06 00 C4 09 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C4 09 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 16 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 09 01 00 00 00 00 07 04 06 00 C4 09 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 F2 39 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 [11:17:56]Write to MH i2c: E2 02 01 D9 52 80 0D 02 02 FA 00 03 00 23 01 1E 04 01 00 01 23 04 75 00 8A 04 0D 00 32 30 30 30 30 32 37 33 34 30 30 32 30 06 04 31 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 20 D0 B1 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B9 20 D0 B2 D0 B8 D1 82 D0 B0 D1 8F 20 D1 80 D1 83 D1 87 D0 BA D0 B0 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C4 09 00 00 00 00 13 04 06 00 C4 09 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C4 09 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 16 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 09 01 00 00 00 00 07 04 06 00 C4 09 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 F2 39 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 00 00 18 [11:17:56]Write i2c OK [11:17:56]MH_I2C_Read... [11:17:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:17:56]Read from MH i2c: E2 [11:17:56]MH_I2C_Read... [11:17:56]Read from MH i2c: E2 03 00 [11:17:56]MH_I2C_Read... [11:17:56]Read from MH i2c: E2 03 00 D9 52 00 90 00 9F [11:17:56]RAPDU: 90 00 [11:17:56]wFMCommunicate OK [11:17:56]wFMCommunicate request_size=50 [11:17:56]MH_SAM_APDU [11:17:56]CAPDU: 80 0D 02 02 2D 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 F3 B8 00 00 35 04 06 00 3A C7 1C 5B CA EB [11:17:56]Write to MH i2c: E2 35 00 DA 52 80 0D 02 02 2D 00 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 F3 B8 00 00 35 04 06 00 3A C7 1C 5B CA EB 00 00 D7 [11:17:56]Write i2c OK [11:17:56]MH_I2C_Read... [11:17:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:17:56]Read from MH i2c: E2 [11:17:56]MH_I2C_Read... [11:17:56]Read from MH i2c: E2 03 00 [11:17:56]MH_I2C_Read... [11:17:56]Read from MH i2c: E2 03 00 DA 52 00 90 00 A0 [11:17:56]RAPDU: 90 00 [11:17:56]wFMCommunicate OK [11:17:56]wFMCommunicate request_size=4 [11:17:56]MH_SAM_APDU [11:17:56]CAPDU: 80 0D 03 02 [11:17:56]Write to MH i2c: E2 08 00 DB 52 80 0D 03 02 00 00 00 00 A8 [11:17:56]Write i2c OK [11:17:56]MH_I2C_Read... [11:17:56]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:17:56]Read from MH i2c: E2 [11:17:56]MH_I2C_Read... [11:17:56]Read from MH i2c: E2 0B 00 [11:17:56]MH_I2C_Read... [11:17:56]Read from MH i2c: E2 0B 00 DB 52 00 B3 B0 BB 4A 3B 6B D1 81 90 00 09 [11:17:56]RAPDU: B3 B0 BB 4A 3B 6B D1 81 90 00 [11:17:56]wFMCommunicate OK [11:17:56]SAM_PROTO_SignData done [11:17:56]FM_MakeSignedData done [11:17:56]CreateOFDProtocolMessage [11:17:56]wFMCommunicate request_size=4 [11:17:56]MH_SAM_APDU [11:17:56]CAPDU: 80 11 00 00 [11:17:56]Write to MH i2c: E2 08 00 DC 52 80 11 00 00 00 00 00 00 A8 [11:17:56]Write i2c OK [11:17:56]MH_I2C_Read... [11:17:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:17:56]Read from MH i2c: E2 [11:17:56]MH_I2C_Read... [11:17:56]Read from MH i2c: E2 17 00 [11:17:56]MH_I2C_Read... [11:17:56]Read from MH i2c: E2 17 00 DC 52 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 FA [11:17:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [11:17:56]wFMCommunicate OK [11:17:56]CreateOFDProtocolMessage done [11:17:56]OFDSenderStorePacket 47347 [11:17:56]StoreOFDPacket docnum=47347 [11:17:56]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 37 01 00 00 A2 B0 2F 01 BB E9 5A 03 01 00 03 00 23 01 1E 04 01 00 01 23 04 75 00 8A 04 0D 00 32 30 30 30 30 32 37 33 34 30 30 32 30 06 04 31 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 20 D0 B1 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B9 20 D0 B2 D0 B8 D1 82 D0 B0 D1 8F 20 D1 80 D1 83 D1 87 D0 BA D0 B0 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C4 09 00 00 00 00 13 04 06 00 C4 09 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C4 09 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 16 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 09 01 00 00 00 00 07 04 06 00 C4 09 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 F2 39 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 F3 B8 00 00 35 04 06 00 3A C7 1C 5B CA EB B3 B0 BB 4A 3B 6B D1 81 [11:17:56]CheckFolder [11:17:56]dirname=/storage/ofd_packets [11:17:56]CheckFolder done [11:17:56]ProducePacketName [11:17:56]name=ofd_packets/00047347 [11:17:56]NVStorageSaveData ofd_packets/00047347 [11:17:56]File name is /storage/ofd_packets/00047347 [11:17:56]Write 341 bytes [11:17:56]NVStorageSaveData done [11:17:56]OFDSenderStorePacket done [11:17:56]KKMCreateOFDPacket done [11:17:56]NVStorageSaveData kkm_last_timestamp [11:17:56]File name is /storage/kkm_last_timestamp [11:17:56]Write 4 bytes [11:17:56]NVStorageSaveData done [11:17:56]ExternCall_PrintAddStr [11:17:56]wPrintStart [11:17:56]Write to MH i2c: 01 00 00 DD 52 2F [11:17:56]Write i2c OK [11:17:56]MH_I2C_Read... [11:17:56]Read from MH i2c: 01 [11:17:56]MH_I2C_Read... [11:17:56]Read from MH i2c: 01 07 00 [11:17:56]MH_I2C_Read... [11:17:56]Read from MH i2c: 01 07 00 DD 52 00 00 00 00 00 FF 0F 44 [11:17:56]RasterBufferAndPrint [11:17:56]line Счет N : (3)242260 [11:17:56]line ИНН: 02508201610067 [11:17:56]line Контрольно-Кассовый Чек [11:17:56]line ПРОДАЖА [11:17:56]line Товар: 2000027340020 [11:17:56]line Пакет бумажный витая ручка [11:17:56]line 1.000 * 25.00 [11:17:56]line = 25.00 [11:17:56]line НДС 12% НСП 1% [11:17:56]line > о реализуемом товаре [11:17:56]line ИТОГО: 25.00 [11:17:56]line НСП 1% : 0.22 [11:17:56]line НДС 12% : 2.65 [11:17:56]line Наличными: 25.00 [11:17:56]line Безнал.: 0.00 [11:17:56]line Место: АЗС № 15 "Партнер Нефть" [11:17:56]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [11:17:56]line СНО: Общий режим [11:17:56]line Чек 25 12.03.2024 11:18 [11:17:56]line Смена: 314 ФФД: 1.0 [11:17:56]line ЗНМ: 0300000097 [11:17:56]line РНМ: 0000000000092018 [11:17:56]line Версия ККМ: 001 [11:17:56]line ФМ: 0000000000871816 [11:17:56]line ФД: 47347 [11:17:56]line ФПД: 64626848680683 [11:17:57]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T111810&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47347&fm=64626848680683&tin=02508201610067®Number=0000000000092018&sum=2500 [11:17:57]line 0 [11:17:57]OFD Sender: Processing packet 47347 [packets to send 8, broken 7] [11:17:57]ProducePacketName [11:17:57]name=ofd_packets/00047347 [11:17:57]OFD Sender: To server: pG, [11:17:57]CommunicateWithHost lk.salyk.kg:30040 [11:17:57]ConnectInit lk.salyk.kg [11:17:57]written 0, free lines is 4095 [11:17:57]Connected sock=10 [11:17: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 31 36 37 01 00 00 A2 B0 2F 01 BB E9 5A 03 01 00 03 00 23 01 1E 04 01 00 01 23 04 75 00 8A 04 0D 00 32 30 30 30 30 32 37 33 34 30 30 32 30 06 04 31 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 20 D0 B1 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B9 20 D0 B2 D0 B8 D1 82 D0 B0 D1 8F 20 D1 80 D1 83 D1 87 D0 BA D0 B0 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C4 09 00 00 00 00 13 04 06 00 C4 09 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C4 09 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 16 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 09 01 00 00 00 00 07 04 06 00 C4 09 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 F2 39 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 F3 B8 00 00 35 04 06 00 3A C7 1C 5B CA EB B3 B0 BB 4A 3B 6B D1 81 [11:17: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 31 36 4F 00 00 00 FE F6 47 00 9C 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 31 36 10 04 04 00 F3 B8 00 00 F4 03 04 00 84 E4 EF 65 B6 04 01 00 00 CC D9 4F 05 4C 56 FE 17 [11:17:57]CommunicateWithHost err = 0 [11:17:57]CheckOFDResponse [11:17:57]1017 (14) - 77093643461234 [11:17:57]1041 (16) - 0000000000871816 [11:17:57]1040 (4) - 47347 [11:17:57]1012 (4) - 12.03.2024 05:13 [11:17:57]1206 (1) - 0 [11:17:57]OFD Sender: Remove packet 47347 [11:17:57]ProducePacketName [11:17:57]name=ofd_packets/00047347 [11:17:57]NVStorageDeleteData [11:17:57]Write to MH i2c: 01 00 00 05 53 58 [11:17:57]Write i2c OK [11:17:57]MH_I2C_Read... [11:17:57]Read from MH i2c: 01 [11:17:57]MH_I2C_Read... [11:17:57]Read from MH i2c: 01 07 00 [11:17:57]MH_I2C_Read... [11:17:57]Read from MH i2c: 01 07 00 05 53 00 00 00 00 00 E7 0C 52 [11:17:57]RasterBufferAndPrint [11:17:57]line [11:17:57]line [11:17:57]line [11:17:57]line [11:17:57]line [11:17:57]written 0, free lines is 3312 [11:17:57]MH_Cut [11:17:57]Write to MH i2c: D1 01 00 0C 53 01 31 [11:17:57]Write i2c OK [11:17:57]MH_I2C_Read... [11:17:57]Read from MH i2c: D1 [11:17:57]MH_I2C_Read... [11:17:57]Read from MH i2c: D1 01 00 [11:17:57]MH_I2C_Read... [11:17:57]Read from MH i2c: D1 01 00 0C 53 00 30 [11:17:57]Write to MH i2c: 01 00 00 0D 53 60 [11:17:57]Write i2c OK [11:17:57]MH_I2C_Read... [11:17:58]OFD Sender: No OFD packet to send [11:17:58]*** Cut start [11:17:58]*** Purtial cut [11:17:58]*** Stage 1: CUTSNS_PIN = 1 [11:17:58]Read from MH i2c: 01 [11:17:58]MH_I2C_Read... [11:17:58]*** Stop cut motor [11:17:58]*** Cut end [11:17:58]Read from MH i2c: 01 07 00 [11:17:58]MH_I2C_Read... [11:17:58]Read from MH i2c: 01 07 00 0D 53 00 00 00 00 00 FF 0F 75 [11:17:58]process_action close_receipt done [11:17:58]requested_data is exist [11:17:58]produce_requested_data [11:17:58]requested_item fm.sn is exist - process it [11:17:58]wFMCommunicate request_size=4 [11:17:58]MH_SAM_APDU [11:17:58]CAPDU: 80 11 00 00 [11:17:58]Write to MH i2c: E2 08 00 0E 53 80 11 00 00 00 00 00 00 DB [11:17:58]Write i2c OK [11:17:58]MH_I2C_Read... [11:17:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:17:58]Read from MH i2c: E2 [11:17:58]MH_I2C_Read... [11:17:58]Read from MH i2c: E2 17 00 [11:17:58]MH_I2C_Read... [11:17:58]Read from MH i2c: E2 17 00 0E 53 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 2D [11:17:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [11:17:58]wFMCommunicate OK [11:17:58]requested_item fd.num is exist - process it [11:17:58]SAM_PROTO_GetFieldsCounters [11:17:58]wFMCommunicate request_size=4 [11:17:58]MH_SAM_APDU [11:17:58]CAPDU: 80 13 00 00 [11:17:58]Write to MH i2c: E2 08 00 0F 53 80 13 00 00 00 00 00 00 DE [11:17:58]Write i2c OK [11:17:58]MH_I2C_Read... [11:17:59]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:17:59]Read from MH i2c: E2 [11:17:59]MH_I2C_Read... [11:17:59]Read from MH i2c: E2 62 00 [11:17:59]MH_I2C_Read... [11:17:59]Read from MH i2c: E2 62 00 0F 53 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 F3 B8 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 19 00 00 00 5E 04 04 00 19 00 00 00 57 04 04 00 1A 00 00 00 19 04 04 00 00 00 00 00 90 00 2A [11:17: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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 F3 B8 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 19 00 00 00 5E 04 04 00 19 00 00 00 57 04 04 00 1A 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:17:59]wFMCommunicate OK [11:17:59]SAM_PROTO_GetFieldsCounters done [11:17:59]requested_item shift.num is exist - process it [11:17:59]requested_item shift.opened is exist - process it [11:17:59]req_shift_opened [11:17:59]FM_GetShiftState [11:17:59]SAM_PROTO_GetShiftState [11:17:59]wFMCommunicate request_size=4 [11:17:59]MH_SAM_APDU [11:17:59]CAPDU: 80 13 01 00 [11:17:59]Write to MH i2c: E2 08 00 10 53 80 13 01 00 00 00 00 00 E0 [11:17:59]Write i2c OK [11:17:59]MH_I2C_Read... [11:17:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:17:59]Read from MH i2c: E2 [11:17:59]MH_I2C_Read... [11:17:59]Read from MH i2c: E2 0E 00 [11:17:59]MH_I2C_Read... [11:17:59]Read from MH i2c: E2 0E 00 10 53 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 0F [11:17:59]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [11:17:59]wFMCommunicate OK [11:17:59]SAM_PROTO_GetShiftState done [11:17:59]FM_GetShiftState done [11:17:59]req_shift_opened done [11:17:59]requested_item shift.open_date is exist - process it [11:17:59]req_shift_open_date [11:17:59]req_shift_open_date done [11:17:59]produce_requested_data done [11:17:59]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47347,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [11:17:59]process_action_free close_receipt [11:17:59]json_value_free [11:17:59]json_value_free done [11:17:59]process_json_proto returns [11:17:59]Send response to host [11:17:59]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47347,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [11:17:59]free response buf [11:17:59]execute_script done [11:17:59]execute_script returns [11:17:59]free content buf [11:17:59]Sock 7.Close socket [11:17:59]Sock 7.Thread stoped [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:23]OFD Sender: No OFD packet to send [11:23:28]OFD Sender: No OFD packet to send [11:23:33]OFD Sender: No OFD packet to send [11:23:38]OFD Sender: No OFD packet to send [11:23:43]OFD Sender: No OFD packet to send [11:23:48]OFD Sender: No OFD packet to send [11:23:53]OFD Sender: No OFD packet to send [11:23:58]OFD Sender: No OFD packet to send [11:24:03]OFD Sender: No OFD packet to send [11:24:08]OFD Sender: No OFD packet to send [11:24:13]OFD Sender: No OFD packet to send [11:24:18]OFD Sender: No OFD packet to send [11:24:23]OFD Sender: No OFD packet to send [11:24:28]OFD Sender: No OFD packet to send [11:24:33]OFD Sender: No OFD packet to send [11:24:38]OFD Sender: No OFD packet to send [11:24:43]OFD Sender: No OFD packet to send [11:24:48]OFD Sender: No OFD packet to send [11:24:53]OFD Sender: No OFD packet to send [11:24:58]OFD Sender: No OFD packet to send [11:25:03]OFD Sender: No OFD packet to send [11:25:08]OFD Sender: No OFD packet to send [11:25:13]OFD Sender: No OFD packet to send [11:25:18]OFD Sender: No OFD packet to send [11:25:23]OFD Sender: No OFD packet to send [11:25:28]OFD Sender: No OFD packet to send [11:25:33]OFD Sender: No OFD packet to send [11:25:38]OFD Sender: No OFD packet to send [11:25:43]OFD Sender: No OFD packet to send [11:25:48]OFD Sender: No OFD packet to send [11:25:53]OFD Sender: No OFD packet to send [11:25:58]OFD Sender: No OFD packet to send [11:26:03]OFD Sender: No OFD packet to send [11:26:08]OFD Sender: No OFD packet to send [11:26:13]OFD Sender: No OFD packet to send [11:26:18]OFD Sender: No OFD packet to send [11:26:23]OFD Sender: No OFD packet to send [11:26:28]OFD Sender: No OFD packet to send [11:26:33]OFD Sender: No OFD packet to send [11:26:38]OFD Sender: No OFD packet to send [11:26:43]OFD Sender: No OFD packet to send [11:26:48]OFD Sender: No OFD packet to send [11:26:53]OFD Sender: No OFD packet to send [11:26:58]OFD Sender: No OFD packet to send [11:27:03]OFD Sender: No OFD packet to send [11:27:08]OFD Sender: No OFD packet to send [11:27:13]OFD Sender: No OFD packet to send [11:27:18]OFD Sender: No OFD packet to send [11:27:23]OFD Sender: No OFD packet to send [11:27:28]OFD Sender: No OFD packet to send [11:27:33]OFD Sender: No OFD packet to send [11:27:38]OFD Sender: No OFD packet to send [11:27:43]OFD Sender: No OFD packet to send [11:27:48]OFD Sender: No OFD packet to send [11:27:53]OFD Sender: No OFD packet to send [11:27:58]OFD Sender: No OFD packet to send [11:28:03]OFD Sender: No OFD packet to send [11:28:08]OFD Sender: No OFD packet to send [11:28:13]OFD Sender: No OFD packet to send [11:28:18]OFD Sender: No OFD packet to send [11:28:23]OFD Sender: No OFD packet to send [11:28:28]OFD Sender: No OFD packet to send [11:28:33]OFD Sender: No OFD packet to send [11:28:38]OFD Sender: No OFD packet to send [11:28:43]OFD Sender: No OFD packet to send [11:28:48]OFD Sender: No OFD packet to send [11:28:53]OFD Sender: No OFD packet to send [11:28:58]OFD Sender: No OFD packet to send [11:29:03]OFD Sender: No OFD packet to send [11:29:08]OFD Sender: No OFD packet to send [11:29:13]OFD Sender: No OFD packet to send [11:29:18]OFD Sender: No OFD packet to send [11:29:23]OFD Sender: No OFD packet to send [11:29:28]OFD Sender: No OFD packet to send [11:29:33]OFD Sender: No OFD packet to send [11:29:38]OFD Sender: No OFD packet to send [11:29:43]OFD Sender: No OFD packet to send [11:29:48]OFD Sender: No OFD packet to send [11:29:53]OFD Sender: No OFD packet to send [11:29:58]OFD Sender: No OFD packet to send [11:30:03]OFD Sender: No OFD packet to send [11:30:08]OFD Sender: No OFD packet to send [11:30:13]OFD Sender: No OFD packet to send [11:30:18]OFD Sender: No OFD packet to send [11:30:23]OFD Sender: No OFD packet to send [11:30:28]OFD Sender: No OFD packet to send [11:30:33]OFD Sender: No OFD packet to send [11:30:38]OFD Sender: No OFD packet to send [11:30:43]OFD Sender: No OFD packet to send [11:30:48]OFD Sender: No OFD packet to send [11:30:53]OFD Sender: No OFD packet to send [11:30:58]OFD Sender: No OFD packet to send [11:31:03]OFD Sender: No OFD packet to send [11:31:08]OFD Sender: No OFD packet to send [11:31:13]OFD Sender: No OFD packet to send [11:31:18]OFD Sender: No OFD packet to send [11:31:23]OFD Sender: No OFD packet to send [11:31:28]OFD Sender: No OFD packet to send [11:31:33]OFD Sender: No OFD packet to send [11:31:38]OFD Sender: No OFD packet to send [11:31:43]OFD Sender: No OFD packet to send [11:31:48]OFD Sender: No OFD packet to send [11:31:53]OFD Sender: No OFD packet to send [11:31:58]OFD Sender: No OFD packet to send [11:32:03]OFD Sender: No OFD packet to send [11:32:08]OFD Sender: No OFD packet to send [11:32:13]OFD Sender: No OFD packet to send [11:32:18]OFD Sender: No OFD packet to send [11:32:23]OFD Sender: No OFD packet to send [11:32:28]OFD Sender: No OFD packet to send [11:32:33]OFD Sender: No OFD packet to send [11:32:38]OFD Sender: No OFD packet to send [11:32:43]OFD Sender: No OFD packet to send [11:32:48]OFD Sender: No OFD packet to send [11:32:53]OFD Sender: No OFD packet to send [11:32:58]OFD Sender: No OFD packet to send [11:33:03]OFD Sender: No OFD packet to send [11:33:08]OFD Sender: No OFD packet to send [11:33:13]OFD Sender: No OFD packet to send [11:33:18]OFD Sender: No OFD packet to send [11:33:23]OFD Sender: No OFD packet to send [11:33:28]OFD Sender: No OFD packet to send [11:33:33]OFD Sender: No OFD packet to send [11:33:38]OFD Sender: No OFD packet to send [11:33:43]OFD Sender: No OFD packet to send [11:33:48]OFD Sender: No OFD packet to send [11:33:53]OFD Sender: No OFD packet to send [11:33:58]OFD Sender: No OFD packet to send [11:34:03]OFD Sender: No OFD packet to send [11:34:08]OFD Sender: No OFD packet to send [11:34:13]OFD Sender: No OFD packet to send [11:34:18]OFD Sender: No OFD packet to send [11:34:23]OFD Sender: No OFD packet to send [11:34:28]OFD Sender: No OFD packet to send [11:34:33]OFD Sender: No OFD packet to send [11:34:38]OFD Sender: No OFD packet to send [11:34:43]OFD Sender: No OFD packet to send [11:34:48]OFD Sender: No OFD packet to send [11:34:53]OFD Sender: No OFD packet to send [11:34:58]OFD Sender: No OFD packet to send [11:35:03]OFD Sender: No OFD packet to send [11:35:08]OFD Sender: No OFD packet to send [11:35:13]OFD Sender: No OFD packet to send [11:35:18]OFD Sender: No OFD packet to send [11:35:23]OFD Sender: No OFD packet to send [11:35:28]OFD Sender: No OFD packet to send [11:35:33]OFD Sender: No OFD packet to send [11:35:38]OFD Sender: No OFD packet to send [11:35:43]OFD Sender: No OFD packet to send [11:35:48]OFD Sender: No OFD packet to send [11:35:53]OFD Sender: No OFD packet to send [11:35:58]OFD Sender: No OFD packet to send [11:36:03]OFD Sender: No OFD packet to send [11:36:08]OFD Sender: No OFD packet to send [11:36:13]OFD Sender: No OFD packet to send [11:36:18]OFD Sender: No OFD packet to send [11:36:23]OFD Sender: No OFD packet to send [11:36:28]OFD Sender: No OFD packet to send [11:36:33]OFD Sender: No OFD packet to send [11:36:38]OFD Sender: No OFD packet to send [11:36:43]OFD Sender: No OFD packet to send [11:36:48]OFD Sender: No OFD packet to send [11:36:53]OFD Sender: No OFD packet to send [11:36:58]OFD Sender: No OFD packet to send [11:37:03]OFD Sender: No OFD packet to send [11:37:08]OFD Sender: No OFD packet to send [11:37:13]OFD Sender: No OFD packet to send [11:37:18]OFD Sender: No OFD packet to send [11:37:23]OFD Sender: No OFD packet to send [11:37:28]OFD Sender: No OFD packet to send [11:37:33]OFD Sender: No OFD packet to send [11:37:38]OFD Sender: No OFD packet to send [11:37:43]OFD Sender: No OFD packet to send [11:37:48]OFD Sender: No OFD packet to send [11:37:53]OFD Sender: No OFD packet to send [11:37:58]OFD Sender: No OFD packet to send [11:38:03]OFD Sender: No OFD packet to send [11:38:08]OFD Sender: No OFD packet to send [11:38:13]OFD Sender: No OFD packet to send [11:38:18]OFD Sender: No OFD packet to send [11:38:23]OFD Sender: No OFD packet to send [11:38:28]OFD Sender: No OFD packet to send [11:38:34]OFD Sender: No OFD packet to send [11:38:39]OFD Sender: No OFD packet to send [11:38:44]OFD Sender: No OFD packet to send [11:38:49]OFD Sender: No OFD packet to send [11:38:54]OFD Sender: No OFD packet to send [11:38:59]OFD Sender: No OFD packet to send [11:39:04]OFD Sender: No OFD packet to send [11:39:09]OFD Sender: No OFD packet to send [11:39:14]OFD Sender: No OFD packet to send [11:39:19]OFD Sender: No OFD packet to send [11:39:24]OFD Sender: No OFD packet to send [11:39:29]OFD Sender: No OFD packet to send [11:39:34]OFD Sender: No OFD packet to send [11:39:39]OFD Sender: No OFD packet to send [11:39:44]OFD Sender: No OFD packet to send [11:39:49]OFD Sender: No OFD packet to send [11:39:54]OFD Sender: No OFD packet to send [11:39:59]OFD Sender: No OFD packet to send [11:40:04]OFD Sender: No OFD packet to send [11:40:09]OFD Sender: No OFD packet to send [11:40:14]OFD Sender: No OFD packet to send [11:40:19]OFD Sender: No OFD packet to send [11:40:24]OFD Sender: No OFD packet to send [11:40:29]OFD Sender: No OFD packet to send [11:40:34]OFD Sender: No OFD packet to send [11:40:39]OFD Sender: No OFD packet to send [11:40:44]OFD Sender: No OFD packet to send [11:40:49]OFD Sender: No OFD packet to send [11:40:54]OFD Sender: No OFD packet to send [11:40:59]OFD Sender: No OFD packet to send [11:41:04]OFD Sender: No OFD packet to send [11:41:09]OFD Sender: No OFD packet to send [11:41:14]OFD Sender: No OFD packet to send [11:41:19]OFD Sender: No OFD packet to send [11:41:24]OFD Sender: No OFD packet to send [11:41:29]OFD Sender: No OFD packet to send [11:41:34]OFD Sender: No OFD packet to send [11:41:39]OFD Sender: No OFD packet to send [11:41:44]OFD Sender: No OFD packet to send [11:41:49]OFD Sender: No OFD packet to send [11:41:54]OFD Sender: No OFD packet to send [11:41:59]OFD Sender: No OFD packet to send [11:42:04]OFD Sender: No OFD packet to send [11:42:09]OFD Sender: No OFD packet to send [11:42:14]OFD Sender: No OFD packet to send [11:42:19]OFD Sender: No OFD packet to send [11:42:24]OFD Sender: No OFD packet to send [11:42:29]OFD Sender: No OFD packet to send [11:42:34]OFD Sender: No OFD packet to send [11:42:39]OFD Sender: No OFD packet to send [11:42:44]OFD Sender: No OFD packet to send [11:42:49]OFD Sender: No OFD packet to send [11:42:54]OFD Sender: No OFD packet to send [11:42:59]OFD Sender: No OFD packet to send [11:43:04]OFD Sender: No OFD packet to send [11:43:09]OFD Sender: No OFD packet to send [11:43:14]OFD Sender: No OFD packet to send [11:43:19]OFD Sender: No OFD packet to send [11:43:24]OFD Sender: No OFD packet to send [11:43:29]OFD Sender: No OFD packet to send [11:43:34]OFD Sender: No OFD packet to send [11:43:39]OFD Sender: No OFD packet to send [11:43:39]accept exits with 9 [11:43:39]New connection [11:43:39]New thread 3066453348 created [11:43:39]Thread 3066596708 joined [11:43:39]Waiting for new connection... [11:43:39] Sock 9.Parse request [11:43:39]Sock 9.Check first char [11:43:39]Sock 9.First char is OK [11:43:39]request: POST /json_proto HTTP/1.0 [11:43:39]Method: POST [11:43:39]URL: /json_proto [11:43:39]Method is POST - this is cgi request [11:43:39]url: /json_proto [11:43:39]query_string will be loaded in cgi processing [11:43:39]execute_cgi json_proto POST (null) [11:43:39]execute_cgi path=json_proto method=POST [11:43:39]POST find Content-Length [11:43:39]Host: 172.17.32.68:8080 [11:43:39]Content-Length: 632 [11:43:39]Content-Type: application/json [11:43:39] [11:43:39]POST finish read [11:43:39]Found Content-Length = 632 [11:43:39]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242261", "tax_sys" : 0, "items" : [ { "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 2.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" ] } } [11:43:39]execute_script... [11:43: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)242261", "tax_sys" : 0, "items" : [ { "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 2.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" ] } } [11:43:39]POST & json_proto [11:43:39]process_json_proto [11:43:39]json parsed OK: [11:43:39]protocol is kg_v1.0 [11:43:39]action value=close_receipt [11:43:39]process_action close_receipt [11:43:39]cmd_close_receipt [11:43:39]MH_GetDate [11:43:39]Write to MH i2c: F0 00 00 11 53 53 [11:43:39]Write i2c OK [11:43:39]MH_I2C_Read... [11:43:39]Read from MH i2c: F0 [11:43:39]MH_I2C_Read... [11:43:39]Read from MH i2c: F0 09 00 [11:43:39]MH_I2C_Read... [11:43:39]Read from MH i2c: F0 09 00 11 53 00 FA 3F F0 65 0A 64 6E 65 2B [11:43:39]GetLastDocTimeStamp 1710242290 [11:43:39]current date 1710243834 [11:43:39]FM_GetShiftState [11:43:39]SAM_PROTO_GetShiftState [11:43:39]wFMCommunicate request_size=4 [11:43:39]MH_SAM_APDU [11:43:39]CAPDU: 80 13 01 00 [11:43:39]Write to MH i2c: E2 08 00 12 53 80 13 01 00 00 00 00 00 E2 [11:43:39]Write i2c OK [11:43:39]MH_I2C_Read... [11:43:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:43:39]Read from MH i2c: E2 [11:43:39]MH_I2C_Read... [11:43:39]Read from MH i2c: E2 0E 00 [11:43:39]MH_I2C_Read... [11:43:39]Read from MH i2c: E2 0E 00 12 53 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 11 [11:43:39]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [11:43:39]wFMCommunicate OK [11:43:39]SAM_PROTO_GetShiftState done [11:43:39]FM_GetShiftState done [11:43:39]opened in 1710202417 [11:43:39]opened+sec_in_day 1710288817 [11:43:39]quantity*price = 8000 [11:43:39]sum+1 = 8001 [11:43:39]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 80.00 НСП 1% : 0.71 НДС 12% : 8.50 Наличными: 80.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 26 12.03.2024 11:43 Смена: 314 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47348 ФПД: 8854684352603 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T114354&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47348&fm=8854684352603&tin=02508201610067®Number=0000000000092018&sum=8000 0 [11:43:40]StoreToDocumentArchive [11:43:40]shift 314 fd 47348 [11:43:40]save to /storage/0314/doc_00047348 [11:43:40]save last doc name /storage/0314/doc_00047348 to /storage/kkm_last_doc_name [11:43:40]save OK [11:43:40]Clear old archive folders... [11:43:40]ProcessDocumentItem done err = 0, tmpTLVsize=271 [11:43:40]tlvbuf is 003E1260 [11:43:40]SAM_PROTO_ClearQueue [11:43:40]wFMCommunicate request_size=4 [11:43:40]MH_SAM_APDU [11:43:40]CAPDU: 80 09 00 00 [11:43:40]Write to MH i2c: E2 08 00 1F 53 80 09 00 00 00 00 00 00 E4 [11:43:40]Write i2c OK [11:43:40]MH_I2C_Read... [11:43:40]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:43:40]Read from MH i2c: E2 [11:43:40]MH_I2C_Read... [11:43:40]Read from MH i2c: E2 03 00 [11:43:40]MH_I2C_Read... [11:43:40]Read from MH i2c: E2 03 00 1F 53 00 90 00 E6 [11:43:40]RAPDU: 90 00 [11:43:40]wFMCommunicate OK [11:43:40]SAM_PROTO_ClearQueue done [11:43:40]KKMCreateOFDPacket [11:43:40]OFDProtocolAddRootSTLVToBuf [11:43:40]FM_MakeSignedData [11:43:40]FM_MakeSignedData [11:43:40]SAM_PROTO_SignData [11:43:40]wFMCommunicate request_size=4 [11:43:40]MH_SAM_APDU [11:43:40]CAPDU: 80 0D 01 02 [11:43:40]Write to MH i2c: E2 08 00 20 53 80 0D 01 02 00 00 00 00 EC [11:43:40]Write i2c OK [11:43:40]MH_I2C_Read... [11:43:40]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:43:40]Read from MH i2c: E2 [11:43:40]MH_I2C_Read... [11:43:40]Read from MH i2c: E2 03 00 [11:43:40]MH_I2C_Read... [11:43:40]Read from MH i2c: E2 03 00 20 53 00 90 00 E7 [11:43:40]RAPDU: 90 00 [11:43:40]wFMCommunicate OK [11:43:40]wFMCommunicate request_size=255 [11:43:40]MH_SAM_APDU [11:43:40]CAPDU: 80 0D 02 02 FA 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 A0 0F 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 1A 00 00 00 F4 03 04 00 FA 3F F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 [11:43:40]Write to MH i2c: E2 02 01 21 53 80 0D 02 02 FA 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 A0 0F 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 1A 00 00 00 F4 03 04 00 FA 3F F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 00 00 7A [11:43:40]Write i2c OK [11:43:40]MH_I2C_Read... [11:43:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:43:40]Read from MH i2c: E2 [11:43:40]MH_I2C_Read... [11:43:40]Read from MH i2c: E2 03 00 [11:43:40]MH_I2C_Read... [11:43:40]Read from MH i2c: E2 03 00 21 53 00 90 00 E8 [11:43:40]RAPDU: 90 00 [11:43:40]wFMCommunicate OK [11:43:40]wFMCommunicate request_size=30 [11:43:40]MH_SAM_APDU [11:43:40]CAPDU: 80 0D 02 02 19 30 38 37 31 38 31 36 10 04 04 00 F4 B8 00 00 35 04 06 00 08 0D A4 50 C0 5B [11:43:40]Write to MH i2c: E2 21 00 22 53 80 0D 02 02 19 00 30 38 37 31 38 31 36 10 04 04 00 F4 B8 00 00 35 04 06 00 08 0D A4 50 C0 5B 00 00 B7 [11:43:40]Write i2c OK [11:43:40]MH_I2C_Read... [11:43:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:43:40]Read from MH i2c: E2 [11:43:40]MH_I2C_Read... [11:43:40]Read from MH i2c: E2 03 00 [11:43:40]MH_I2C_Read... [11:43:40]Read from MH i2c: E2 03 00 22 53 00 90 00 E9 [11:43:40]RAPDU: 90 00 [11:43:40]wFMCommunicate OK [11:43:40]wFMCommunicate request_size=4 [11:43:40]MH_SAM_APDU [11:43:40]CAPDU: 80 0D 03 02 [11:43:40]Write to MH i2c: E2 08 00 23 53 80 0D 03 02 00 00 00 00 F1 [11:43:40]Write i2c OK [11:43:40]MH_I2C_Read... [11:43:40]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:43:40]Read from MH i2c: E2 [11:43:40]MH_I2C_Read... [11:43:40]Read from MH i2c: E2 0B 00 [11:43:40]MH_I2C_Read... [11:43:40]Read from MH i2c: E2 0B 00 23 53 00 9A 66 00 AE 3F 6B 4A DD 90 00 71 [11:43:40]RAPDU: 9A 66 00 AE 3F 6B 4A DD 90 00 [11:43:40]wFMCommunicate OK [11:43:40]SAM_PROTO_SignData done [11:43:40]FM_MakeSignedData done [11:43:40]CreateOFDProtocolMessage [11:43:40]wFMCommunicate request_size=4 [11:43:40]MH_SAM_APDU [11:43:40]CAPDU: 80 11 00 00 [11:43:40]Write to MH i2c: E2 08 00 24 53 80 11 00 00 00 00 00 00 F1 [11:43:40]Write i2c OK [11:43:40]MH_I2C_Read... [11:43:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:43:40]Read from MH i2c: E2 [11:43:40]MH_I2C_Read... [11:43:40]Read from MH i2c: E2 17 00 [11:43:40]MH_I2C_Read... [11:43:40]Read from MH i2c: E2 17 00 24 53 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 43 [11:43:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [11:43:40]wFMCommunicate OK [11:43:40]CreateOFDProtocolMessage done [11:43:40]OFDSenderStorePacket 47348 [11:43:40]StoreOFDPacket docnum=47348 [11:43:40]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 23 01 00 00 DB ED 1B 01 8C 12 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 A0 0F 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 1A 00 00 00 F4 03 04 00 FA 3F F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 F4 B8 00 00 35 04 06 00 08 0D A4 50 C0 5B 9A 66 00 AE 3F 6B 4A DD [11:43:40]CheckFolder [11:43:40]dirname=/storage/ofd_packets [11:43:40]CheckFolder done [11:43:40]ProducePacketName [11:43:40]name=ofd_packets/00047348 [11:43:40]NVStorageSaveData ofd_packets/00047348 [11:43:40]File name is /storage/ofd_packets/00047348 [11:43:40]Write 321 bytes [11:43:40]NVStorageSaveData done [11:43:40]OFDSenderStorePacket done [11:43:40]KKMCreateOFDPacket done [11:43:40]NVStorageSaveData kkm_last_timestamp [11:43:40]File name is /storage/kkm_last_timestamp [11:43:40]Write 4 bytes [11:43:40]NVStorageSaveData done [11:43:40]ExternCall_PrintAddStr [11:43:40]wPrintStart [11:43:40]Write to MH i2c: 01 00 00 25 53 78 [11:43:40]Write i2c OK [11:43:40]MH_I2C_Read... [11:43:40]Read from MH i2c: 01 [11:43:40]MH_I2C_Read... [11:43:40]Read from MH i2c: 01 07 00 [11:43:40]MH_I2C_Read... [11:43:40]Read from MH i2c: 01 07 00 25 53 00 00 00 00 00 FF 0F 8D [11:43:40]RasterBufferAndPrint [11:43:40]line Счет N : (3)242261 [11:43:40]line ИНН: 02508201610067 [11:43:40]line Контрольно-Кассовый Чек [11:43:40]line ПРОДАЖА [11:43:40]line Товар: 4700000160211 [11:43:40]line Вода Легенда 0,5л [11:43:40]line 2.000 * 40.00 [11:43:40]line = 80.00 [11:43:40]line НДС 12% НСП 1% [11:43:40]line > о реализуемом товаре [11:43:40]line ИТОГО: 80.00 [11:43:40]line НСП 1% : 0.71 [11:43:40]line НДС 12% : 8.50 [11:43:40]line Наличными: 80.00 [11:43:40]line Безнал.: 0.00 [11:43:40]line Место: АЗС № 15 "Партнер Нефть" [11:43:40]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [11:43:40]line СНО: Общий режим [11:43:40]line Чек 26 12.03.2024 11:43 [11:43:40]line Смена: 314 ФФД: 1.0 [11:43:40]line ЗНМ: 0300000097 [11:43:40]line РНМ: 0000000000092018 [11:43:40]line Версия ККМ: 001 [11:43:40]line ФМ: 0000000000871816 [11:43:40]line ФД: 47348 [11:43:40]line ФПД: 8854684352603 [11:43:41]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T114354&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47348&fm=8854684352603&tin=02508201610067®Number=0000000000092018&sum=8000 [11:43:41]line 0 [11:43:41]OFD Sender: Processing packet 47348 [packets to send 8, broken 7] [11:43:41]ProducePacketName [11:43:41]name=ofd_packets/00047348 [11:43:41]OFD Sender: To server: pG, [11:43:41]CommunicateWithHost lk.salyk.kg:30040 [11:43:41]ConnectInit lk.salyk.kg [11:43:41]written 0, free lines is 4095 [11:43:41]Connected sock=7 [11:43: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 31 36 23 01 00 00 DB ED 1B 01 8C 12 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 A0 0F 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 1A 00 00 00 F4 03 04 00 FA 3F F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 F4 B8 00 00 35 04 06 00 08 0D A4 50 C0 5B 9A 66 00 AE 3F 6B 4A DD [11:43: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 31 36 4F 00 00 00 2A E7 47 00 E8 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 31 36 10 04 04 00 F4 B8 00 00 F4 03 04 00 8C EA EF 65 B6 04 01 00 00 A8 EF 6C 57 C9 90 E1 A8 [11:43:41]CommunicateWithHost err = 0 [11:43:41]CheckOFDResponse [11:43:41]1017 (14) - 77093643461234 [11:43:41]1041 (16) - 0000000000871816 [11:43:41]1040 (4) - 47348 [11:43:41]1012 (4) - 12.03.2024 05:39 [11:43:41]1206 (1) - 0 [11:43:41]OFD Sender: Remove packet 47348 [11:43:41]ProducePacketName [11:43:41]name=ofd_packets/00047348 [11:43:41]NVStorageDeleteData [11:43:41]Write to MH i2c: 01 00 00 4D 53 A0 [11:43:41]Write i2c OK [11:43:41]MH_I2C_Read... [11:43:41]Read from MH i2c: 01 [11:43:41]MH_I2C_Read... [11:43:41]Read from MH i2c: 01 07 00 [11:43:41]MH_I2C_Read... [11:43:41]Read from MH i2c: 01 07 00 4D 53 00 00 00 00 00 EB 0C 9E [11:43:41]RasterBufferAndPrint [11:43:41]line [11:43:41]line [11:43:41]line [11:43:41]line [11:43:41]line [11:43:41]written 0, free lines is 3313 [11:43:41]MH_Cut [11:43:41]Write to MH i2c: D1 01 00 54 53 01 79 [11:43:41]Write i2c OK [11:43:41]MH_I2C_Read... [11:43:41]Read from MH i2c: D1 [11:43:41]MH_I2C_Read... [11:43:41]Read from MH i2c: D1 01 00 [11:43:41]MH_I2C_Read... [11:43:41]Read from MH i2c: D1 01 00 54 53 00 78 [11:43:41]Write to MH i2c: 01 00 00 55 53 A8 [11:43:41]Write i2c OK [11:43:41]MH_I2C_Read... [11:43:42]OFD Sender: No OFD packet to send [11:43:42]*** Cut start [11:43:42]*** Purtial cut [11:43:42]*** Stage 1: CUTSNS_PIN = 1 [11:43:42]Read from MH i2c: 01 [11:43:42]MH_I2C_Read... [11:43:42]*** Stop cut motor [11:43:42]*** Cut end [11:43:42]Read from MH i2c: 01 07 00 [11:43:42]MH_I2C_Read... [11:43:42]Read from MH i2c: 01 07 00 55 53 00 00 00 00 00 FF 0F BD [11:43:42]process_action close_receipt done [11:43:42]requested_data is exist [11:43:42]produce_requested_data [11:43:42]requested_item fm.sn is exist - process it [11:43:42]wFMCommunicate request_size=4 [11:43:42]MH_SAM_APDU [11:43:42]CAPDU: 80 11 00 00 [11:43:42]Write to MH i2c: E2 08 00 56 53 80 11 00 00 00 00 00 00 23 [11:43:42]Write i2c OK [11:43:42]MH_I2C_Read... [11:43:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:43:42]Read from MH i2c: E2 [11:43:42]MH_I2C_Read... [11:43:42]Read from MH i2c: E2 17 00 [11:43:42]MH_I2C_Read... [11:43:42]Read from MH i2c: E2 17 00 56 53 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 75 [11:43:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [11:43:42]wFMCommunicate OK [11:43:42]requested_item fd.num is exist - process it [11:43:42]SAM_PROTO_GetFieldsCounters [11:43:42]wFMCommunicate request_size=4 [11:43:42]MH_SAM_APDU [11:43:42]CAPDU: 80 13 00 00 [11:43:42]Write to MH i2c: E2 08 00 57 53 80 13 00 00 00 00 00 00 26 [11:43:42]Write i2c OK [11:43:42]MH_I2C_Read... [11:43:43]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:43:43]Read from MH i2c: E2 [11:43:43]MH_I2C_Read... [11:43:43]Read from MH i2c: E2 62 00 [11:43:43]MH_I2C_Read... [11:43:43]Read from MH i2c: E2 62 00 57 53 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 F4 B8 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 1A 00 00 00 5E 04 04 00 1A 00 00 00 57 04 04 00 1B 00 00 00 19 04 04 00 00 00 00 00 90 00 76 [11:43: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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 F4 B8 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 1A 00 00 00 5E 04 04 00 1A 00 00 00 57 04 04 00 1B 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:43:43]wFMCommunicate OK [11:43:43]SAM_PROTO_GetFieldsCounters done [11:43:43]requested_item shift.num is exist - process it [11:43:43]requested_item shift.opened is exist - process it [11:43:43]req_shift_opened [11:43:43]FM_GetShiftState [11:43:43]SAM_PROTO_GetShiftState [11:43:43]wFMCommunicate request_size=4 [11:43:43]MH_SAM_APDU [11:43:43]CAPDU: 80 13 01 00 [11:43:43]Write to MH i2c: E2 08 00 58 53 80 13 01 00 00 00 00 00 28 [11:43:43]Write i2c OK [11:43:43]MH_I2C_Read... [11:43:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:43:43]Read from MH i2c: E2 [11:43:43]MH_I2C_Read... [11:43:43]Read from MH i2c: E2 0E 00 [11:43:43]MH_I2C_Read... [11:43:43]Read from MH i2c: E2 0E 00 58 53 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 57 [11:43:43]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [11:43:43]wFMCommunicate OK [11:43:43]SAM_PROTO_GetShiftState done [11:43:43]FM_GetShiftState done [11:43:43]req_shift_opened done [11:43:43]requested_item shift.open_date is exist - process it [11:43:43]req_shift_open_date [11:43:43]req_shift_open_date done [11:43:43]produce_requested_data done [11:43:43]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47348,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [11:43:43]process_action_free close_receipt [11:43:43]json_value_free [11:43:43]json_value_free done [11:43:43]process_json_proto returns [11:43:43]Send response to host [11:43:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47348,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [11:43:43]free response buf [11:43:43]execute_script done [11:43:43]execute_script returns [11:43:43]free content buf [11:43:43]Sock 9.Close socket [11:43:43]Sock 9.Thread stoped [11:43:47]OFD Sender: No OFD packet to send [11:43:52]OFD Sender: No OFD packet to send [11:43:57]OFD Sender: No OFD packet to send [11:44:02]OFD Sender: No OFD packet to send [11:44:07]OFD Sender: No OFD packet to send [11:44:12]OFD Sender: No OFD packet to send [11:44:17]OFD Sender: No OFD packet to send [11:44:22]OFD Sender: No OFD packet to send [11:44:27]OFD Sender: No OFD packet to send [11:44:32]OFD Sender: No OFD packet to send [11:44:37]OFD Sender: No OFD packet to send [11:44:42]OFD Sender: No OFD packet to send [11:44:47]OFD Sender: No OFD packet to send [11:44:52]OFD Sender: No OFD packet to send [11:44:57]OFD Sender: No OFD packet to send [11:45:02]OFD Sender: No OFD packet to send [11:45:07]OFD Sender: No OFD packet to send [11:45:12]OFD Sender: No OFD packet to send [11:45:17]OFD Sender: No OFD packet to send [11:45:22]OFD Sender: No OFD packet to send [11:45:27]OFD Sender: No OFD packet to send [11:45:32]OFD Sender: No OFD packet to send [11:45:37]OFD Sender: No OFD packet to send [11:45:42]OFD Sender: No OFD packet to send [11:45:47]OFD Sender: No OFD packet to send [11:45:52]OFD Sender: No OFD packet to send [11:45:57]OFD Sender: No OFD packet to send [11:46:02]OFD Sender: No OFD packet to send [11:46:07]OFD Sender: No OFD packet to send [11:46:12]OFD Sender: No OFD packet to send [11:46:17]OFD Sender: No OFD packet to send [11:46:22]OFD Sender: No OFD packet to send [11:46:27]OFD Sender: No OFD packet to send [11:46:32]OFD Sender: No OFD packet to send [11:46:37]OFD Sender: No OFD packet to send [11:46:42]OFD Sender: No OFD packet to send [11:46:47]OFD Sender: No OFD packet to send [11:46:52]OFD Sender: No OFD packet to send [11:46:57]OFD Sender: No OFD packet to send [11:47:02]OFD Sender: No OFD packet to send [11:47:07]OFD Sender: No OFD packet to send [11:47:12]OFD Sender: No OFD packet to send [11:47:17]OFD Sender: No OFD packet to send [11:47:22]OFD Sender: No OFD packet to send [11:47:27]OFD Sender: No OFD packet to send [11:47:32]OFD Sender: No OFD packet to send [11:47:37]OFD Sender: No OFD packet to send [11:47:42]OFD Sender: No OFD packet to send [11:47:47]OFD Sender: No OFD packet to send [11:47:52]OFD Sender: No OFD packet to send [11:47:57]OFD Sender: No OFD packet to send [11:48:02]OFD Sender: No OFD packet to send [11:48:07]OFD Sender: No OFD packet to send [11:48:12]OFD Sender: No OFD packet to send [11:48:17]OFD Sender: No OFD packet to send [11:48:22]OFD Sender: No OFD packet to send [11:48:27]OFD Sender: No OFD packet to send [11:48:32]OFD Sender: No OFD packet to send [11:48:37]OFD Sender: No OFD packet to send [11:48:42]OFD Sender: No OFD packet to send [11:48:47]OFD Sender: No OFD packet to send [11:48:52]OFD Sender: No OFD packet to send [11:48:57]OFD Sender: No OFD packet to send [11:49:02]OFD Sender: No OFD packet to send [11:49:07]OFD Sender: No OFD packet to send [11:49:12]OFD Sender: No OFD packet to send [11:49:17]OFD Sender: No OFD packet to send [11:49:22]OFD Sender: No OFD packet to send [11:49:27]OFD Sender: No OFD packet to send [11:49:32]OFD Sender: No OFD packet to send [11:49:37]OFD Sender: No OFD packet to send [11:49:42]OFD Sender: No OFD packet to send [11:49:47]OFD Sender: No OFD packet to send [11:49:52]OFD Sender: No OFD packet to send [11:49:57]OFD Sender: No OFD packet to send [11:50:02]OFD Sender: No OFD packet to send [11:50:07]OFD Sender: No OFD packet to send [11:50:12]OFD Sender: No OFD packet to send [11:50:17]OFD Sender: No OFD packet to send [11:50:22]OFD Sender: No OFD packet to send [11:50:27]OFD Sender: No OFD packet to send [11:50:32]OFD Sender: No OFD packet to send [11:50:37]OFD Sender: No OFD packet to send [11:50:42]OFD Sender: No OFD packet to send [11:50:47]OFD Sender: No OFD packet to send [11:50:52]OFD Sender: No OFD packet to send [11:50:57]OFD Sender: No OFD packet to send [11:51:02]OFD Sender: No OFD packet to send [11:51:07]OFD Sender: No OFD packet to send [11:51:12]OFD Sender: No OFD packet to send [11:51:17]OFD Sender: No OFD packet to send [11:51:22]OFD Sender: No OFD packet to send [11:51:27]OFD Sender: No OFD packet to send [11:51:32]OFD Sender: No OFD packet to send [11:51:37]OFD Sender: No OFD packet to send [11:51:42]OFD Sender: No OFD packet to send [11:51:47]OFD Sender: No OFD packet to send [11:51:52]OFD Sender: No OFD packet to send [11:51:57]OFD Sender: No OFD packet to send [11:52:02]OFD Sender: No OFD packet to send [11:52:07]OFD Sender: No OFD packet to send [11:52:12]OFD Sender: No OFD packet to send [11:52:17]OFD Sender: No OFD packet to send [11:52:22]OFD Sender: No OFD packet to send [11:52:27]OFD Sender: No OFD packet to send [11:52:32]OFD Sender: No OFD packet to send [11:52:37]OFD Sender: No OFD packet to send [11:52:42]OFD Sender: No OFD packet to send [11:52:47]OFD Sender: No OFD packet to send [11:52:52]OFD Sender: No OFD packet to send [11:52:57]OFD Sender: No OFD packet to send [11:53:02]OFD Sender: No OFD packet to send [11:53:07]OFD Sender: No OFD packet to send [11:53:12]OFD Sender: No OFD packet to send [11:53:17]OFD Sender: No OFD packet to send [11:53:22]OFD Sender: No OFD packet to send [11:53:27]OFD Sender: No OFD packet to send [11:53:32]OFD Sender: No OFD packet to send [11:53:37]OFD Sender: No OFD packet to send [11:53:42]OFD Sender: No OFD packet to send [11:53:47]OFD Sender: No OFD packet to send [11:53:52]OFD Sender: No OFD packet to send [11:53:57]OFD Sender: No OFD packet to send [11:54:02]OFD Sender: No OFD packet to send [11:54:07]OFD Sender: No OFD packet to send [11:54:12]OFD Sender: No OFD packet to send [11:54:17]OFD Sender: No OFD packet to send [11:54:22]OFD Sender: No OFD packet to send [11:54:27]OFD Sender: No OFD packet to send [11:54:32]OFD Sender: No OFD packet to send [11:54:37]OFD Sender: No OFD packet to send [11:54:42]OFD Sender: No OFD packet to send [11:54:47]OFD Sender: No OFD packet to send [11:54:52]OFD Sender: No OFD packet to send [11:54:57]OFD Sender: No OFD packet to send [11:55:02]OFD Sender: No OFD packet to send [11:55:07]OFD Sender: No OFD packet to send [11:55:12]OFD Sender: No OFD packet to send [11:55: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:13]OFD Sender: No OFD packet to send [12:03:18]OFD Sender: No OFD packet to send [12:03:23]OFD Sender: No OFD packet to send [12:03:28]OFD Sender: No OFD packet to send [12:03:33]OFD Sender: No OFD packet to send [12:03:38]OFD Sender: No OFD packet to send [12:03:39]accept exits with 10 [12:03:39]New connection [12:03:39]New thread 3066596708 created [12:03:39]Thread 3066453348 joined [12:03:39]Waiting for new connection... [12:03:39] Sock 10.Parse request [12:03:39]Sock 10.Check first char [12:03:39]Sock 10.First char is OK [12:03:39]request: POST /json_proto HTTP/1.0 [12:03:39]Method: POST [12:03:39]URL: /json_proto [12:03:39]Method is POST - this is cgi request [12:03:39]url: /json_proto [12:03:39]query_string will be loaded in cgi processing [12:03:39]execute_cgi json_proto POST (null) [12:03:39]execute_cgi path=json_proto method=POST [12:03:39]POST find Content-Length [12:03:39]Host: 172.17.32.68:8080 [12:03:39]Content-Length: 627 [12:03:39]Content-Type: application/json [12:03:39] [12:03:39]POST finish read [12:03:39]Found Content-Length = 627 [12:03:39]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242262", "tax_sys" : 0, "items" : [ { "code": "2000039440011", "name": "\u0427\u0430\u0439 \u0447\u0435\u0440\u043D\u044B\u0439 200 \u043C\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 40.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:03:39]execute_script... [12:03: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)242262", "tax_sys" : 0, "items" : [ { "code": "2000039440011", "name": "\u0427\u0430\u0439 \u0447\u0435\u0440\u043D\u044B\u0439 200 \u043C\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 40.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:03:39]POST & json_proto [12:03:39]process_json_proto [12:03:39]json parsed OK: [12:03:39]protocol is kg_v1.0 [12:03:39]action value=close_receipt [12:03:39]process_action close_receipt [12:03:39]cmd_close_receipt [12:03:39]MH_GetDate [12:03:39]Write to MH i2c: F0 00 00 59 53 9B [12:03:39]Write i2c OK [12:03:39]MH_I2C_Read... [12:03:39]Read from MH i2c: F0 [12:03:39]MH_I2C_Read... [12:03:39]Read from MH i2c: F0 09 00 [12:03:39]MH_I2C_Read... [12:03:39]Read from MH i2c: F0 09 00 59 53 00 AA 44 F0 65 0A 64 6E 65 28 [12:03:39]GetLastDocTimeStamp 1710243834 [12:03:39]current date 1710245034 [12:03:39]FM_GetShiftState [12:03:39]SAM_PROTO_GetShiftState [12:03:39]wFMCommunicate request_size=4 [12:03:39]MH_SAM_APDU [12:03:39]CAPDU: 80 13 01 00 [12:03:39]Write to MH i2c: E2 08 00 5A 53 80 13 01 00 00 00 00 00 2A [12:03:39]Write i2c OK [12:03:39]MH_I2C_Read... [12:03:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:03:39]Read from MH i2c: E2 [12:03:39]MH_I2C_Read... [12:03:39]Read from MH i2c: E2 0E 00 [12:03:39]MH_I2C_Read... [12:03:39]Read from MH i2c: E2 0E 00 5A 53 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 59 [12:03:39]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [12:03:39]wFMCommunicate OK [12:03:39]SAM_PROTO_GetShiftState done [12:03:39]FM_GetShiftState done [12:03:39]opened in 1710202417 [12:03:39]opened+sec_in_day 1710288817 [12:03:39]quantity*price = 4000 [12:03:39]sum+1 = 4001 [12:03:39]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 40.00 НСП 1% : 0.35 НДС 12% : 4.25 Наличными: 40.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 27 12.03.2024 12:03 Смена: 314 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47349 ФПД: 42511710692822 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T120354&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47349&fm=42511710692822&tin=02508201610067®Number=0000000000092018&sum=4000 0 [12:03:40]StoreToDocumentArchive [12:03:40]shift 314 fd 47349 [12:03:40]save to /storage/0314/doc_00047349 [12:03:40]save last doc name /storage/0314/doc_00047349 to /storage/kkm_last_doc_name [12:03:40]save OK [12:03:40]Clear old archive folders... [12:03:40]ProcessDocumentItem done err = 0, tmpTLVsize=270 [12:03:40]tlvbuf is 0039C990 [12:03:40]SAM_PROTO_ClearQueue [12:03:40]wFMCommunicate request_size=4 [12:03:40]MH_SAM_APDU [12:03:40]CAPDU: 80 09 00 00 [12:03:40]Write to MH i2c: E2 08 00 67 53 80 09 00 00 00 00 00 00 2C [12:03:40]Write i2c OK [12:03:40]MH_I2C_Read... [12:03:40]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:03:40]Read from MH i2c: E2 [12:03:40]MH_I2C_Read... [12:03:40]Read from MH i2c: E2 03 00 [12:03:40]MH_I2C_Read... [12:03:40]Read from MH i2c: E2 03 00 67 53 00 90 00 2E [12:03:40]RAPDU: 90 00 [12:03:40]wFMCommunicate OK [12:03:40]SAM_PROTO_ClearQueue done [12:03:40]KKMCreateOFDPacket [12:03:40]OFDProtocolAddRootSTLVToBuf [12:03:40]FM_MakeSignedData [12:03:40]FM_MakeSignedData [12:03:40]SAM_PROTO_SignData [12:03:40]wFMCommunicate request_size=4 [12:03:40]MH_SAM_APDU [12:03:40]CAPDU: 80 0D 01 02 [12:03:40]Write to MH i2c: E2 08 00 68 53 80 0D 01 02 00 00 00 00 34 [12:03:40]Write i2c OK [12:03:40]MH_I2C_Read... [12:03:40]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:03:40]Read from MH i2c: E2 [12:03:40]MH_I2C_Read... [12:03:40]Read from MH i2c: E2 03 00 [12:03:40]MH_I2C_Read... [12:03:40]Read from MH i2c: E2 03 00 68 53 00 90 00 2F [12:03:40]RAPDU: 90 00 [12:03:40]wFMCommunicate OK [12:03:40]wFMCommunicate request_size=255 [12:03:40]MH_SAM_APDU [12:03:40]CAPDU: 80 0D 02 02 FA 03 00 0E 01 1E 04 01 00 01 23 04 60 00 8A 04 0D 00 32 30 30 30 30 33 39 34 34 30 30 31 31 06 04 1C 00 D0 A7 D0 B0 D0 B9 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 32 30 30 20 D0 BC D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 AA 44 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 [12:03:40]Write to MH i2c: E2 02 01 69 53 80 0D 02 02 FA 00 03 00 0E 01 1E 04 01 00 01 23 04 60 00 8A 04 0D 00 32 30 30 30 30 33 39 34 34 30 30 31 31 06 04 1C 00 D0 A7 D0 B0 D0 B9 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 32 30 30 20 D0 BC D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 AA 44 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 00 00 2C [12:03:40]Write i2c OK [12:03:40]MH_I2C_Read... [12:03:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:03:40]Read from MH i2c: E2 [12:03:40]MH_I2C_Read... [12:03:40]Read from MH i2c: E2 03 00 [12:03:40]MH_I2C_Read... [12:03:40]Read from MH i2c: E2 03 00 69 53 00 90 00 30 [12:03:40]RAPDU: 90 00 [12:03:40]wFMCommunicate OK [12:03:40]wFMCommunicate request_size=29 [12:03:40]MH_SAM_APDU [12:03:40]CAPDU: 80 0D 02 02 18 38 37 31 38 31 36 10 04 04 00 F5 B8 00 00 35 04 06 00 26 AA 07 6A 25 D6 [12:03:40]Write to MH i2c: E2 20 00 6A 53 80 0D 02 02 18 00 38 37 31 38 31 36 10 04 04 00 F5 B8 00 00 35 04 06 00 26 AA 07 6A 25 D6 00 00 E6 [12:03:40]Write i2c OK [12:03:40]MH_I2C_Read... [12:03:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:03:40]Read from MH i2c: E2 [12:03:40]MH_I2C_Read... [12:03:40]Read from MH i2c: E2 03 00 [12:03:40]MH_I2C_Read... [12:03:40]Read from MH i2c: E2 03 00 6A 53 00 90 00 31 [12:03:40]RAPDU: 90 00 [12:03:40]wFMCommunicate OK [12:03:40]wFMCommunicate request_size=4 [12:03:40]MH_SAM_APDU [12:03:40]CAPDU: 80 0D 03 02 [12:03:40]Write to MH i2c: E2 08 00 6B 53 80 0D 03 02 00 00 00 00 39 [12:03:40]Write i2c OK [12:03:40]MH_I2C_Read... [12:03:40]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:03:40]Read from MH i2c: E2 [12:03:40]MH_I2C_Read... [12:03:40]Read from MH i2c: E2 0B 00 [12:03:40]MH_I2C_Read... [12:03:40]Read from MH i2c: E2 0B 00 6B 53 00 A9 54 AD 6B A3 27 DB 6C 90 00 60 [12:03:40]RAPDU: A9 54 AD 6B A3 27 DB 6C 90 00 [12:03:40]wFMCommunicate OK [12:03:40]SAM_PROTO_SignData done [12:03:40]FM_MakeSignedData done [12:03:40]CreateOFDProtocolMessage [12:03:40]wFMCommunicate request_size=4 [12:03:40]MH_SAM_APDU [12:03:40]CAPDU: 80 11 00 00 [12:03:40]Write to MH i2c: E2 08 00 6C 53 80 11 00 00 00 00 00 00 39 [12:03:40]Write i2c OK [12:03:40]MH_I2C_Read... [12:03:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:03:40]Read from MH i2c: E2 [12:03:40]MH_I2C_Read... [12:03:40]Read from MH i2c: E2 17 00 [12:03:40]MH_I2C_Read... [12:03:40]Read from MH i2c: E2 17 00 6C 53 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 8B [12:03:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [12:03:40]wFMCommunicate OK [12:03:40]CreateOFDProtocolMessage done [12:03:40]OFDSenderStorePacket 47349 [12:03:40]StoreOFDPacket docnum=47349 [12:03:40]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 22 01 00 00 4B E3 1A 01 20 F2 5A 03 01 00 03 00 0E 01 1E 04 01 00 01 23 04 60 00 8A 04 0D 00 32 30 30 30 30 33 39 34 34 30 30 31 31 06 04 1C 00 D0 A7 D0 B0 D0 B9 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 32 30 30 20 D0 BC D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 AA 44 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 F5 B8 00 00 35 04 06 00 26 AA 07 6A 25 D6 A9 54 AD 6B A3 27 DB 6C [12:03:40]CheckFolder [12:03:40]dirname=/storage/ofd_packets [12:03:40]CheckFolder done [12:03:40]ProducePacketName [12:03:40]name=ofd_packets/00047349 [12:03:40]NVStorageSaveData ofd_packets/00047349 [12:03:40]File name is /storage/ofd_packets/00047349 [12:03:40]Write 320 bytes [12:03:40]NVStorageSaveData done [12:03:40]OFDSenderStorePacket done [12:03:40]KKMCreateOFDPacket done [12:03:40]NVStorageSaveData kkm_last_timestamp [12:03:40]File name is /storage/kkm_last_timestamp [12:03:40]Write 4 bytes [12:03:40]NVStorageSaveData done [12:03:40]ExternCall_PrintAddStr [12:03:40]wPrintStart [12:03:40]Write to MH i2c: 01 00 00 6D 53 C0 [12:03:40]Write i2c OK [12:03:40]MH_I2C_Read... [12:03:40]Read from MH i2c: 01 [12:03:40]MH_I2C_Read... [12:03:40]Read from MH i2c: 01 07 00 [12:03:40]MH_I2C_Read... [12:03:40]Read from MH i2c: 01 07 00 6D 53 00 00 00 00 00 FF 0F D5 [12:03:40]RasterBufferAndPrint [12:03:40]line Счет N : (3)242262 [12:03:40]line ИНН: 02508201610067 [12:03:40]line Контрольно-Кассовый Чек [12:03:40]line ПРОДАЖА [12:03:40]line Товар: 2000039440011 [12:03:40]line Чай черный 200 мл [12:03:40]line 1.000 * 40.00 [12:03:40]line = 40.00 [12:03:40]line НДС 12% НСП 1% [12:03:40]line > о реализуемом товаре [12:03:40]line ИТОГО: 40.00 [12:03:40]line НСП 1% : 0.35 [12:03:40]line НДС 12% : 4.25 [12:03:40]line Наличными: 40.00 [12:03:40]line Безнал.: 0.00 [12:03:40]line Место: АЗС № 15 "Партнер Нефть" [12:03:40]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [12:03:40]line СНО: Общий режим [12:03:40]line Чек 27 12.03.2024 12:03 [12:03:40]line Смена: 314 ФФД: 1.0 [12:03:40]line ЗНМ: 0300000097 [12:03:40]line РНМ: 0000000000092018 [12:03:40]line Версия ККМ: 001 [12:03:40]line ФМ: 0000000000871816 [12:03:40]line ФД: 47349 [12:03:40]line ФПД: 42511710692822 [12:03:41]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T120354&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47349&fm=42511710692822&tin=02508201610067®Number=0000000000092018&sum=4000 [12:03:41]line 0 [12:03:41]OFD Sender: Processing packet 47349 [packets to send 8, broken 7] [12:03:41]ProducePacketName [12:03:41]name=ofd_packets/00047349 [12:03:41]OFD Sender: To server: pG, [12:03:41]CommunicateWithHost lk.salyk.kg:30040 [12:03:41]ConnectInit lk.salyk.kg [12:03:41]written 0, free lines is 4095 [12:03:41]Connected sock=9 [12:03: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 31 36 22 01 00 00 4B E3 1A 01 20 F2 5A 03 01 00 03 00 0E 01 1E 04 01 00 01 23 04 60 00 8A 04 0D 00 32 30 30 30 30 33 39 34 34 30 30 31 31 06 04 1C 00 D0 A7 D0 B0 D0 B9 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 32 30 30 20 D0 BC D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 AA 44 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 F5 B8 00 00 35 04 06 00 26 AA 07 6A 25 D6 A9 54 AD 6B A3 27 DB 6C [12:03: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 31 36 4F 00 00 00 5C D6 47 00 F6 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 31 36 10 04 04 00 F5 B8 00 00 F4 03 04 00 3C EF EF 65 B6 04 01 00 00 52 FE A6 50 DC C5 C5 8E [12:03:41]CommunicateWithHost err = 0 [12:03:41]CheckOFDResponse [12:03:41]1017 (14) - 77093643461234 [12:03:41]1041 (16) - 0000000000871816 [12:03:41]1040 (4) - 47349 [12:03:41]1012 (4) - 12.03.2024 05:59 [12:03:41]1206 (1) - 0 [12:03:41]OFD Sender: Remove packet 47349 [12:03:41]ProducePacketName [12:03:41]name=ofd_packets/00047349 [12:03:41]NVStorageDeleteData [12:03:41]Write to MH i2c: 01 00 00 95 53 E8 [12:03:41]Write i2c OK [12:03:41]MH_I2C_Read... [12:03:41]Read from MH i2c: 01 [12:03:41]MH_I2C_Read... [12:03:41]Read from MH i2c: 01 07 00 [12:03:41]MH_I2C_Read... [12:03:41]Read from MH i2c: 01 07 00 95 53 00 00 00 00 00 EA 0C E5 [12:03:41]RasterBufferAndPrint [12:03:41]line [12:03:41]line [12:03:41]line [12:03:41]line [12:03:41]line [12:03:41]written 0, free lines is 3312 [12:03:41]MH_Cut [12:03:41]Write to MH i2c: D1 01 00 9C 53 01 C1 [12:03:41]Write i2c OK [12:03:41]MH_I2C_Read... [12:03:41]Read from MH i2c: D1 [12:03:41]MH_I2C_Read... [12:03:41]Read from MH i2c: D1 01 00 [12:03:41]MH_I2C_Read... [12:03:41]Read from MH i2c: D1 01 00 9C 53 00 C0 [12:03:41]Write to MH i2c: 01 00 00 9D 53 F0 [12:03:41]Write i2c OK [12:03:41]MH_I2C_Read... [12:03:41]OFD Sender: No OFD packet to send [12:03:42]*** Cut start [12:03:42]*** Purtial cut [12:03:42]*** Stage 1: CUTSNS_PIN = 1 [12:03:42]Read from MH i2c: 01 [12:03:42]MH_I2C_Read... [12:03:42]*** Stop cut motor [12:03:42]*** Cut end [12:03:42]Read from MH i2c: 01 07 00 [12:03:42]MH_I2C_Read... [12:03:42]Read from MH i2c: 01 07 00 9D 53 00 00 00 00 00 FF 0F 05 [12:03:42]process_action close_receipt done [12:03:42]requested_data is exist [12:03:42]produce_requested_data [12:03:42]requested_item fm.sn is exist - process it [12:03:42]wFMCommunicate request_size=4 [12:03:42]MH_SAM_APDU [12:03:42]CAPDU: 80 11 00 00 [12:03:42]Write to MH i2c: E2 08 00 9E 53 80 11 00 00 00 00 00 00 6B [12:03:42]Write i2c OK [12:03:42]MH_I2C_Read... [12:03:42]Read from MH i2c: E2 [12:03:42]MH_I2C_Read... [12:03:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:03:42]Read from MH i2c: E2 17 00 [12:03:42]MH_I2C_Read... [12:03:42]Read from MH i2c: E2 17 00 9E 53 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 BD [12:03:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [12:03:42]wFMCommunicate OK [12:03:42]requested_item fd.num is exist - process it [12:03:42]SAM_PROTO_GetFieldsCounters [12:03:42]wFMCommunicate request_size=4 [12:03:42]MH_SAM_APDU [12:03:42]CAPDU: 80 13 00 00 [12:03:42]Write to MH i2c: E2 08 00 9F 53 80 13 00 00 00 00 00 00 6E [12:03:42]Write i2c OK [12:03:42]MH_I2C_Read... [12:03:42]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:03:42]Read from MH i2c: E2 [12:03:42]MH_I2C_Read... [12:03:42]Read from MH i2c: E2 62 00 [12:03:42]MH_I2C_Read... [12:03:42]Read from MH i2c: E2 62 00 9F 53 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 F5 B8 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 1B 00 00 00 5E 04 04 00 1B 00 00 00 57 04 04 00 1C 00 00 00 19 04 04 00 00 00 00 00 90 00 C2 [12:03: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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 F5 B8 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 1B 00 00 00 5E 04 04 00 1B 00 00 00 57 04 04 00 1C 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:03:42]wFMCommunicate OK [12:03:42]SAM_PROTO_GetFieldsCounters done [12:03:42]requested_item shift.num is exist - process it [12:03:42]requested_item shift.opened is exist - process it [12:03:42]req_shift_opened [12:03:42]FM_GetShiftState [12:03:42]SAM_PROTO_GetShiftState [12:03:42]wFMCommunicate request_size=4 [12:03:42]MH_SAM_APDU [12:03:42]CAPDU: 80 13 01 00 [12:03:42]Write to MH i2c: E2 08 00 A0 53 80 13 01 00 00 00 00 00 70 [12:03:42]Write i2c OK [12:03:42]MH_I2C_Read... [12:03:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:03:42]Read from MH i2c: E2 [12:03:42]MH_I2C_Read... [12:03:42]Read from MH i2c: E2 0E 00 [12:03:42]MH_I2C_Read... [12:03:42]Read from MH i2c: E2 0E 00 A0 53 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 9F [12:03:42]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [12:03:42]wFMCommunicate OK [12:03:42]SAM_PROTO_GetShiftState done [12:03:42]FM_GetShiftState done [12:03:42]req_shift_opened done [12:03:42]requested_item shift.open_date is exist - process it [12:03:42]req_shift_open_date [12:03:42]req_shift_open_date done [12:03:42]produce_requested_data done [12:03:42]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47349,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [12:03:42]process_action_free close_receipt [12:03:42]json_value_free [12:03:42]json_value_free done [12:03:42]process_json_proto returns [12:03:42]Send response to host [12:03:42]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47349,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [12:03:42]free response buf [12:03:42]execute_script done [12:03:42]execute_script returns [12:03:42]free content buf [12:03:42]Sock 10.Close socket [12:03:42]Sock 10.Thread stoped [12:03:46]OFD Sender: No OFD packet to send [12:03:51]OFD Sender: No OFD packet to send [12:03:56]OFD Sender: No OFD packet to send [12:04:01]OFD Sender: No OFD packet to send [12:04:06]OFD Sender: No OFD packet to send [12:04:11]OFD Sender: No OFD packet to send [12:04:16]OFD Sender: No OFD packet to send [12:04:21]OFD Sender: No OFD packet to send [12:04:26]OFD Sender: No OFD packet to send [12:04:31]OFD Sender: No OFD packet to send [12:04:36]OFD Sender: No OFD packet to send [12:04:42]OFD Sender: No OFD packet to send [12:04:47]OFD Sender: No OFD packet to send [12:04:52]OFD Sender: No OFD packet to send [12:04:57]OFD Sender: No OFD packet to send [12:05:02]OFD Sender: No OFD packet to send [12:05:07]OFD Sender: No OFD packet to send [12:05:12]OFD Sender: No OFD packet to send [12:05:17]OFD Sender: No OFD packet to send [12:05:22]OFD Sender: No OFD packet to send [12:05:27]OFD Sender: No OFD packet to send [12:05:32]OFD Sender: No OFD packet to send [12:05:37]OFD Sender: No OFD packet to send [12:05:42]OFD Sender: No OFD packet to send [12:05:47]OFD Sender: No OFD packet to send [12:05:52]OFD Sender: No OFD packet to send [12:05:57]OFD Sender: No OFD packet to send [12:06:02]OFD Sender: No OFD packet to send [12:06:07]OFD Sender: No OFD packet to send [12:06:12]OFD Sender: No OFD packet to send [12:06:17]OFD Sender: No OFD packet to send [12:06:22]OFD Sender: No OFD packet to send [12:06:27]OFD Sender: No OFD packet to send [12:06:32]OFD Sender: No OFD packet to send [12:06:37]OFD Sender: No OFD packet to send [12:06:42]OFD Sender: No OFD packet to send [12:06:47]OFD Sender: No OFD packet to send [12:06:52]OFD Sender: No OFD packet to send [12:06:57]OFD Sender: No OFD packet to send [12:07:02]OFD Sender: No OFD packet to send [12:07:07]OFD Sender: No OFD packet to send [12:07:12]OFD Sender: No OFD packet to send [12:07:17]OFD Sender: No OFD packet to send [12:07:22]OFD Sender: No OFD packet to send [12:07:27]OFD Sender: No OFD packet to send [12:07:32]OFD Sender: No OFD packet to send [12:07:37]OFD Sender: No OFD packet to send [12:07:42]OFD Sender: No OFD packet to send [12:07:47]OFD Sender: No OFD packet to send [12:07:52]OFD Sender: No OFD packet to send [12:07:57]OFD Sender: No OFD packet to send [12:08:02]OFD Sender: No OFD packet to send [12:08:07]OFD Sender: No OFD packet to send [12:08:12]OFD Sender: No OFD packet to send [12:08:17]OFD Sender: No OFD packet to send [12:08:22]OFD Sender: No OFD packet to send [12:08:27]OFD Sender: No OFD packet to send [12:08:32]OFD Sender: No OFD packet to send [12:08:37]OFD Sender: No OFD packet to send [12:08:42]OFD Sender: No OFD packet to send [12:08:47]OFD Sender: No OFD packet to send [12:08:52]OFD Sender: No OFD packet to send [12:08:57]OFD Sender: No OFD packet to send [12:09:02]OFD Sender: No OFD packet to send [12:09:07]OFD Sender: No OFD packet to send [12:09:12]OFD Sender: No OFD packet to send [12:09:17]OFD Sender: No OFD packet to send [12:09:22]OFD Sender: No OFD packet to send [12:09:27]OFD Sender: No OFD packet to send [12:09:32]OFD Sender: No OFD packet to send [12:09:37]OFD Sender: No OFD packet to send [12:09:42]OFD Sender: No OFD packet to send [12:09:47]OFD Sender: No OFD packet to send [12:09:52]OFD Sender: No OFD packet to send [12:09:57]OFD Sender: No OFD packet to send [12:10:02]OFD Sender: No OFD packet to send [12:10:07]OFD Sender: No OFD packet to send [12:10:12]OFD Sender: No OFD packet to send [12:10:17]OFD Sender: No OFD packet to send [12:10:22]OFD Sender: No OFD packet to send [12:10:27]OFD Sender: No OFD packet to send [12:10:32]OFD Sender: No OFD packet to send [12:10:37]OFD Sender: No OFD packet to send [12:10:42]OFD Sender: No OFD packet to send [12:10:47]OFD Sender: No OFD packet to send [12:10:52]OFD Sender: No OFD packet to send [12:10:57]OFD Sender: No OFD packet to send [12:11:02]OFD Sender: No OFD packet to send [12:11:07]OFD Sender: No OFD packet to send [12:11:12]OFD Sender: No OFD packet to send [12:11:17]OFD Sender: No OFD packet to send [12:11:22]OFD Sender: No OFD packet to send [12:11:27]OFD Sender: No OFD packet to send [12:11:32]OFD Sender: No OFD packet to send [12:11:37]OFD Sender: No OFD packet to send [12:11:42]OFD Sender: No OFD packet to send [12:11:47]OFD Sender: No OFD packet to send [12:11:52]OFD Sender: No OFD packet to send [12:11:57]OFD Sender: No OFD packet to send [12:12:02]OFD Sender: No OFD packet to send [12:12:07]OFD Sender: No OFD packet to send [12:12:12]OFD Sender: No OFD packet to send [12:12:17]OFD Sender: No OFD packet to send [12:12:22]OFD Sender: No OFD packet to send [12:12:27]OFD Sender: No OFD packet to send [12:12:32]OFD Sender: No OFD packet to send [12:12:37]OFD Sender: No OFD packet to send [12:12:42]OFD Sender: No OFD packet to send [12:12:47]OFD Sender: No OFD packet to send [12:12:52]OFD Sender: No OFD packet to send [12:12:57]OFD Sender: No OFD packet to send [12:13:02]OFD Sender: No OFD packet to send [12:13:07]OFD Sender: No OFD packet to send [12:13:12]OFD Sender: No OFD packet to send [12:13:17]OFD Sender: No OFD packet to send [12:13:22]OFD Sender: No OFD packet to send [12:13:27]OFD Sender: No OFD packet to send [12:13:32]OFD Sender: No OFD packet to send [12:13:37]OFD Sender: No OFD packet to send [12:13:42]OFD Sender: No OFD packet to send [12:13:47]OFD Sender: No OFD packet to send [12:13:52]OFD Sender: No OFD packet to send [12:13:57]OFD Sender: No OFD packet to send [12:14:02]OFD Sender: No OFD packet to send [12:14:07]OFD Sender: No OFD packet to send [12:14:12]OFD Sender: No OFD packet to send [12:14:17]OFD Sender: No OFD packet to send [12:14:22]OFD Sender: No OFD packet to send [12:14:27]OFD Sender: No OFD packet to send [12:14:32]OFD Sender: No OFD packet to send [12:14:37]OFD Sender: No OFD packet to send [12:14:42]OFD Sender: No OFD packet to send [12:14:47]OFD Sender: No OFD packet to send [12:14:52]OFD Sender: No OFD packet to send [12:14:57]OFD Sender: No OFD packet to send [12:15:02]OFD Sender: No OFD packet to send [12:15:07]OFD Sender: No OFD packet to send [12:15:12]OFD Sender: No OFD packet to send [12:15:17]OFD Sender: No OFD packet to send [12:15:22]OFD Sender: No OFD packet to send [12:15:27]OFD Sender: No OFD packet to send [12:15:32]OFD Sender: No OFD packet to send [12:15:37]OFD Sender: No OFD packet to send [12:15:42]OFD Sender: No OFD packet to send [12:15:47]OFD Sender: No OFD packet to send [12:15:52]OFD Sender: No OFD packet to send [12:15:57]OFD Sender: No OFD packet to send [12:16:02]OFD Sender: No OFD packet to send [12:16:07]OFD Sender: No OFD packet to send [12:16:12]OFD Sender: No OFD packet to send [12:16:17]OFD Sender: No OFD packet to send [12:16:22]OFD Sender: No OFD packet to send [12:16:27]OFD Sender: No OFD packet to send [12:16:32]OFD Sender: No OFD packet to send [12:16:37]OFD Sender: No OFD packet to send [12:16:42]OFD Sender: No OFD packet to send [12:16:47]OFD Sender: No OFD packet to send [12:16:52]OFD Sender: No OFD packet to send [12:16:57]OFD Sender: No OFD packet to send [12:17:02]OFD Sender: No OFD packet to send [12:17:07]OFD Sender: No OFD packet to send [12:17:12]OFD Sender: No OFD packet to send [12:17:17]OFD Sender: No OFD packet to send [12:17:22]OFD Sender: No OFD packet to send [12:17:27]OFD Sender: No OFD packet to send [12:17:32]OFD Sender: No OFD packet to send [12:17:37]OFD Sender: No OFD packet to send [12:17:42]OFD Sender: No OFD packet to send [12:17:47]OFD Sender: No OFD packet to send [12:17:52]OFD Sender: No OFD packet to send [12:17:57]OFD Sender: No OFD packet to send [12:18:02]OFD Sender: No OFD packet to send [12:18:07]OFD Sender: No OFD packet to send [12:18:12]OFD Sender: No OFD packet to send [12:18:17]OFD Sender: No OFD packet to send [12:18:22]OFD Sender: No OFD packet to send [12:18:27]OFD Sender: No OFD packet to send [12:18:32]OFD Sender: No OFD packet to send [12:18:37]OFD Sender: No OFD packet to send [12:18:42]OFD Sender: No OFD packet to send [12:18:47]OFD Sender: No OFD packet to send [12:18:52]OFD Sender: No OFD packet to send [12:18:57]OFD Sender: No OFD packet to send [12:19:02]OFD Sender: No OFD packet to send [12:19:07]OFD Sender: No OFD packet to send [12:19:12]OFD Sender: No OFD packet to send [12:19:17]OFD Sender: No OFD packet to send [12:19:22]OFD Sender: No OFD packet to send [12:19:27]OFD Sender: No OFD packet to send [12:19:32]OFD Sender: No OFD packet to send [12:19:37]OFD Sender: No OFD packet to send [12:19:42]OFD Sender: No OFD packet to send [12:19:47]OFD Sender: No OFD packet to send [12:19:52]OFD Sender: No OFD packet to send [12:19:57]OFD Sender: No OFD packet to send [12:20:02]OFD Sender: No OFD packet to send [12:20:07]OFD Sender: No OFD packet to send [12:20:12]OFD Sender: No OFD packet to send [12:20:17]OFD Sender: No OFD packet to send [12:20:22]OFD Sender: No OFD packet to send [12:20:27]OFD Sender: No OFD packet to send [12:20:32]OFD Sender: No OFD packet to send [12:20:37]OFD Sender: No OFD packet to send [12:20:42]OFD Sender: No OFD packet to send [12:20:47]OFD Sender: No OFD packet to send [12:20:52]OFD Sender: No OFD packet to send [12:20:57]OFD Sender: No OFD packet to send [12:21:02]OFD Sender: No OFD packet to send [12:21:07]OFD Sender: No OFD packet to send [12:21:12]OFD Sender: No OFD packet to send [12:21:17]OFD Sender: No OFD packet to send [12:21:22]OFD Sender: No OFD packet to send [12:21:27]OFD Sender: No OFD packet to send [12:21:32]OFD Sender: No OFD packet to send [12:21:37]OFD Sender: No OFD packet to send [12:21:42]OFD Sender: No OFD packet to send [12:21:47]OFD Sender: No OFD packet to send [12:21:52]OFD Sender: No OFD packet to send [12:21:57]OFD Sender: No OFD packet to send [12:22:02]OFD Sender: No OFD packet to send [12:22:07]OFD Sender: No OFD packet to send [12:22:12]OFD Sender: No OFD packet to send [12:22:17]OFD Sender: No OFD packet to send [12:22:22]OFD Sender: No OFD packet to send [12:22:27]OFD Sender: No OFD packet to send [12:22:32]OFD Sender: No OFD packet to send [12:22:37]OFD Sender: No OFD packet to send [12:22:42]OFD Sender: No OFD packet to send [12:22:47]OFD Sender: No OFD packet to send [12:22:52]OFD Sender: No OFD packet to send [12:22:57]OFD Sender: No OFD packet to send [12:23:02]OFD Sender: No OFD packet to send [12:23:07]OFD Sender: No OFD packet to send [12:23:12]OFD Sender: No OFD packet to send [12:23:17]OFD Sender: No OFD packet to send [12:23:22]OFD Sender: No OFD packet to send [12:23:27]OFD Sender: No OFD packet to send [12:23:32]OFD Sender: No OFD packet to send [12:23:37]OFD Sender: No OFD packet to send [12:23:42]OFD Sender: No OFD packet to send [12:23:47]OFD Sender: No OFD packet to send [12:23:52]OFD Sender: No OFD packet to send [12:23:57]OFD Sender: No OFD packet to send [12:24:02]OFD Sender: No OFD packet to send [12:24:07]OFD Sender: No OFD packet to send [12:24:12]OFD Sender: No OFD packet to send [12:24:17]OFD Sender: No OFD packet to send [12:24:22]OFD Sender: No OFD packet to send [12:24:27]OFD Sender: No OFD packet to send [12:24:32]OFD Sender: No OFD packet to send [12:24:37]OFD Sender: No OFD packet to send [12:24:42]OFD Sender: No OFD packet to send [12:24:47]OFD Sender: No OFD packet to send [12:24:52]OFD Sender: No OFD packet to send [12:24:57]OFD Sender: No OFD packet to send [12:25:02]OFD Sender: No OFD packet to send [12:25:07]OFD Sender: No OFD packet to send [12:25:12]OFD Sender: No OFD packet to send [12:25:17]OFD Sender: No OFD packet to send [12:25:22]OFD Sender: No OFD packet to send [12:25:27]OFD Sender: No OFD packet to send [12:25:32]OFD Sender: No OFD packet to send [12:25:37]OFD Sender: No OFD packet to send [12:25:42]OFD Sender: No OFD packet to send [12:25:47]OFD Sender: No OFD packet to send [12:25:52]OFD Sender: No OFD packet to send [12:25:57]OFD Sender: No OFD packet to send [12:26: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:18]OFD Sender: No OFD packet to send [12:32:23]OFD Sender: No OFD packet to send [12:32:28]OFD Sender: No OFD packet to send [12:32:33]OFD Sender: No OFD packet to send [12:32:38]OFD Sender: No OFD packet to send [12:32:43]OFD Sender: No OFD packet to send [12:32:48]OFD Sender: No OFD packet to send [12:32:53]OFD Sender: No OFD packet to send [12:32:58]OFD Sender: No OFD packet to send [12:33:03]OFD Sender: No OFD packet to send [12:33:08]OFD Sender: No OFD packet to send [12:33:13]OFD Sender: No OFD packet to send [12:33:18]OFD Sender: No OFD packet to send [12:33:23]OFD Sender: No OFD packet to send [12:33:28]OFD Sender: No OFD packet to send [12:33:33]OFD Sender: No OFD packet to send [12:33:38]OFD Sender: No OFD packet to send [12:33:43]OFD Sender: No OFD packet to send [12:33:48]OFD Sender: No OFD packet to send [12:33:53]OFD Sender: No OFD packet to send [12:33:58]OFD Sender: No OFD packet to send [12:34:03]OFD Sender: No OFD packet to send [12:34:08]OFD Sender: No OFD packet to send [12:34:13]OFD Sender: No OFD packet to send [12:34:18]OFD Sender: No OFD packet to send [12:34:23]OFD Sender: No OFD packet to send [12:34:28]OFD Sender: No OFD packet to send [12:34:33]OFD Sender: No OFD packet to send [12:34:38]OFD Sender: No OFD packet to send [12:34:43]OFD Sender: No OFD packet to send [12:34:48]OFD Sender: No OFD packet to send [12:34:53]OFD Sender: No OFD packet to send [12:34:58]OFD Sender: No OFD packet to send [12:35:03]OFD Sender: No OFD packet to send [12:35:08]OFD Sender: No OFD packet to send [12:35:13]OFD Sender: No OFD packet to send [12:35:18]OFD Sender: No OFD packet to send [12:35:23]OFD Sender: No OFD packet to send [12:35:28]OFD Sender: No OFD packet to send [12:35:33]OFD Sender: No OFD packet to send [12:35:38]OFD Sender: No OFD packet to send [12:35:43]OFD Sender: No OFD packet to send [12:35:48]OFD Sender: No OFD packet to send [12:35:53]OFD Sender: No OFD packet to send [12:35:58]OFD Sender: No OFD packet to send [12:36:03]OFD Sender: No OFD packet to send [12:36:08]OFD Sender: No OFD packet to send [12:36:13]OFD Sender: No OFD packet to send [12:36:18]OFD Sender: No OFD packet to send [12:36:23]OFD Sender: No OFD packet to send [12:36:28]OFD Sender: No OFD packet to send [12:36:33]OFD Sender: No OFD packet to send [12:36:38]OFD Sender: No OFD packet to send [12:36:43]OFD Sender: No OFD packet to send [12:36:48]OFD Sender: No OFD packet to send [12:36:53]OFD Sender: No OFD packet to send [12:36:58]OFD Sender: No OFD packet to send [12:37:03]OFD Sender: No OFD packet to send [12:37:08]OFD Sender: No OFD packet to send [12:37:13]OFD Sender: No OFD packet to send [12:37:18]OFD Sender: No OFD packet to send [12:37:20]accept exits with 7 [12:37:20]New connection [12:37:20]New thread 3066453348 created [12:37:20]Thread 3066596708 joined [12:37:20]Waiting for new connection... [12:37:20] Sock 7.Parse request [12:37:20]Sock 7.Check first char [12:37:20]Sock 7.First char is OK [12:37:20]request: POST /json_proto HTTP/1.0 [12:37:20]Method: POST [12:37:20]URL: /json_proto [12:37:20]Method is POST - this is cgi request [12:37:20]url: /json_proto [12:37:20]query_string will be loaded in cgi processing [12:37:20]execute_cgi json_proto POST (null) [12:37:20]execute_cgi path=json_proto method=POST [12:37:20]POST find Content-Length [12:37:20]Host: 172.17.32.68:8080 [12:37:20]Content-Length: 844 [12:37:20]Content-Type: application/json [12:37:20] [12:37:20]POST finish read [12:37:20]Found Content-Length = 844 [12:37:20]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242263", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0414\u0435\u043C\u0438\u0440 \u041A\u0418 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 90.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:37:20]execute_script... [12:37:20]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242263", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0414\u0435\u043C\u0438\u0440 \u041A\u0418 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 90.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:37:20]POST & json_proto [12:37:20]process_json_proto [12:37:20]json parsed OK: [12:37:20]protocol is kg_v1.0 [12:37:20]action value=close_receipt [12:37:20]process_action close_receipt [12:37:20]cmd_close_receipt [12:37:20]MH_GetDate [12:37:20]Write to MH i2c: F0 00 00 A1 53 E3 [12:37:20]Write i2c OK [12:37:20]MH_I2C_Read... [12:37:20]Read from MH i2c: F0 [12:37:20]MH_I2C_Read... [12:37:20]Read from MH i2c: F0 09 00 [12:37:20]MH_I2C_Read... [12:37:20]Read from MH i2c: F0 09 00 A1 53 00 8F 4C F0 65 0A 64 6E 65 5D [12:37:20]GetLastDocTimeStamp 1710245034 [12:37:20]current date 1710247055 [12:37:20]FM_GetShiftState [12:37:20]SAM_PROTO_GetShiftState [12:37:20]wFMCommunicate request_size=4 [12:37:20]MH_SAM_APDU [12:37:20]CAPDU: 80 13 01 00 [12:37:20]Write to MH i2c: E2 08 00 A2 53 80 13 01 00 00 00 00 00 72 [12:37:20]Write i2c OK [12:37:20]MH_I2C_Read... [12:37:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:37:20]Read from MH i2c: E2 [12:37:20]MH_I2C_Read... [12:37:20]Read from MH i2c: E2 0E 00 [12:37:20]MH_I2C_Read... [12:37:20]Read from MH i2c: E2 0E 00 A2 53 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 A1 [12:37:20]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [12:37:20]wFMCommunicate OK [12:37:20]SAM_PROTO_GetShiftState done [12:37:20]FM_GetShiftState done [12:37:20]opened in 1710202417 [12:37:20]opened+sec_in_day 1710288817 [12:37:20]quantity*price = 9000 [12:37:20]sum+1 = 9001 [12:37:20]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 90.00 НСП 1% : 0.80 НДС 12% : 9.56 Наличными: 0.00 Безнал.: 90.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 28 12.03.2024 12:37 Смена: 314 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 Платежная система: Демир КИ Банк ФМ: 0000000000871816 ФД: 47350 ФПД: 165737155864163 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T123735&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47350&fm=165737155864163&tin=02508201610067®Number=0000000000092018&sum=9000 0 [12:37:21]StoreToDocumentArchive [12:37:21]shift 314 fd 47350 [12:37:21]save to /storage/0314/doc_00047350 [12:37:21]save last doc name /storage/0314/doc_00047350 to /storage/kkm_last_doc_name [12:37:21]save OK [12:37:21]Clear old archive folders... [12:37:21]ProcessDocumentItem done err = 0, tmpTLVsize=293 [12:37:21]tlvbuf is B6E6A0E0 [12:37:21]SAM_PROTO_ClearQueue [12:37:21]wFMCommunicate request_size=4 [12:37:21]MH_SAM_APDU [12:37:21]CAPDU: 80 09 00 00 [12:37:21]Write to MH i2c: E2 08 00 AF 53 80 09 00 00 00 00 00 00 74 [12:37:21]Write i2c OK [12:37:21]MH_I2C_Read... [12:37:21]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:37:21]Read from MH i2c: E2 [12:37:21]MH_I2C_Read... [12:37:21]Read from MH i2c: E2 03 00 [12:37:21]MH_I2C_Read... [12:37:21]Read from MH i2c: E2 03 00 AF 53 00 90 00 76 [12:37:21]RAPDU: 90 00 [12:37:21]wFMCommunicate OK [12:37:21]SAM_PROTO_ClearQueue done [12:37:21]KKMCreateOFDPacket [12:37:21]OFDProtocolAddRootSTLVToBuf [12:37:21]FM_MakeSignedData [12:37:21]FM_MakeSignedData [12:37:21]SAM_PROTO_SignData [12:37:21]wFMCommunicate request_size=4 [12:37:21]MH_SAM_APDU [12:37:21]CAPDU: 80 0D 01 02 [12:37:21]Write to MH i2c: E2 08 00 B0 53 80 0D 01 02 00 00 00 00 7C [12:37:21]Write i2c OK [12:37:21]MH_I2C_Read... [12:37:21]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:37:21]Read from MH i2c: E2 [12:37:21]MH_I2C_Read... [12:37:21]Read from MH i2c: E2 03 00 [12:37:21]MH_I2C_Read... [12:37:21]Read from MH i2c: E2 03 00 B0 53 00 90 00 77 [12:37:21]RAPDU: 90 00 [12:37:21]wFMCommunicate OK [12:37:21]wFMCommunicate request_size=255 [12:37:21]MH_SAM_APDU [12:37:21]CAPDU: 80 0D 02 02 FA 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 00 00 00 00 00 00 39 04 06 00 28 23 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 8F 4C F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 [12:37:21]Write to MH i2c: E2 02 01 B1 53 80 0D 02 02 FA 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 00 00 00 00 00 00 39 04 06 00 28 23 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 8F 4C F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 00 00 92 [12:37:21]Write i2c OK [12:37:21]MH_I2C_Read... [12:37:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:37:21]Read from MH i2c: E2 [12:37:21]MH_I2C_Read... [12:37:21]Read from MH i2c: E2 03 00 [12:37:21]MH_I2C_Read... [12:37:21]Read from MH i2c: E2 03 00 B1 53 00 90 00 78 [12:37:21]RAPDU: 90 00 [12:37:21]wFMCommunicate OK [12:37:21]wFMCommunicate request_size=52 [12:37:21]MH_SAM_APDU [12:37:21]CAPDU: 80 0D 02 02 2F 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 F6 B8 00 00 35 04 06 00 96 BC B0 4D 26 63 [12:37:21]Write to MH i2c: E2 37 00 B2 53 80 0D 02 02 2F 00 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 F6 B8 00 00 35 04 06 00 96 BC B0 4D 26 63 00 00 C2 [12:37:21]Write i2c OK [12:37:21]MH_I2C_Read... [12:37:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:37:21]Read from MH i2c: E2 [12:37:21]MH_I2C_Read... [12:37:21]Read from MH i2c: E2 03 00 [12:37:21]MH_I2C_Read... [12:37:21]Read from MH i2c: E2 03 00 B2 53 00 90 00 79 [12:37:21]RAPDU: 90 00 [12:37:21]wFMCommunicate OK [12:37:21]wFMCommunicate request_size=4 [12:37:21]MH_SAM_APDU [12:37:21]CAPDU: 80 0D 03 02 [12:37:21]Write to MH i2c: E2 08 00 B3 53 80 0D 03 02 00 00 00 00 81 [12:37:21]Write i2c OK [12:37:21]MH_I2C_Read... [12:37:21]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:37:21]Read from MH i2c: E2 [12:37:21]MH_I2C_Read... [12:37:21]Read from MH i2c: E2 0B 00 [12:37:21]MH_I2C_Read... [12:37:21]Read from MH i2c: E2 0B 00 B3 53 00 71 AA 02 9F 23 76 54 F7 90 00 22 [12:37:21]RAPDU: 71 AA 02 9F 23 76 54 F7 90 00 [12:37:21]wFMCommunicate OK [12:37:21]SAM_PROTO_SignData done [12:37:21]FM_MakeSignedData done [12:37:21]CreateOFDProtocolMessage [12:37:21]wFMCommunicate request_size=4 [12:37:21]MH_SAM_APDU [12:37:21]CAPDU: 80 11 00 00 [12:37:21]Write to MH i2c: E2 08 00 B4 53 80 11 00 00 00 00 00 00 81 [12:37:21]Write i2c OK [12:37:21]MH_I2C_Read... [12:37:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:37:21]Read from MH i2c: E2 [12:37:21]MH_I2C_Read... [12:37:21]Read from MH i2c: E2 17 00 [12:37:21]MH_I2C_Read... [12:37:21]Read from MH i2c: E2 17 00 B4 53 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 D3 [12:37:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [12:37:21]wFMCommunicate OK [12:37:21]CreateOFDProtocolMessage done [12:37:21]OFDSenderStorePacket 47350 [12:37:21]StoreOFDPacket docnum=47350 [12:37:21]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 39 01 00 00 A7 7E 31 01 E6 37 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 00 00 00 00 00 00 39 04 06 00 28 23 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 8F 4C F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 F6 B8 00 00 35 04 06 00 96 BC B0 4D 26 63 71 AA 02 9F 23 76 54 F7 [12:37:21]CheckFolder [12:37:21]dirname=/storage/ofd_packets [12:37:21]CheckFolder done [12:37:21]ProducePacketName [12:37:21]name=ofd_packets/00047350 [12:37:21]NVStorageSaveData ofd_packets/00047350 [12:37:21]File name is /storage/ofd_packets/00047350 [12:37:21]Write 343 bytes [12:37:21]NVStorageSaveData done [12:37:21]OFDSenderStorePacket done [12:37:21]KKMCreateOFDPacket done [12:37:21]NVStorageSaveData kkm_last_timestamp [12:37:21]File name is /storage/kkm_last_timestamp [12:37:21]Write 4 bytes [12:37:21]NVStorageSaveData done [12:37:21]ExternCall_PrintAddStr [12:37:21]wPrintStart [12:37:21]Write to MH i2c: 01 00 00 B5 53 08 [12:37:21]Write i2c OK [12:37:21]MH_I2C_Read... [12:37:21]Read from MH i2c: 01 [12:37:21]MH_I2C_Read... [12:37:21]Read from MH i2c: 01 07 00 [12:37:21]MH_I2C_Read... [12:37:21]Read from MH i2c: 01 07 00 B5 53 00 00 00 00 00 FF 0F 1D [12:37:21]RasterBufferAndPrint [12:37:21]line Счет N : (3)242263 [12:37:21]line ИНН: 02508201610067 [12:37:21]line Контрольно-Кассовый Чек [12:37:21]line ПРОДАЖА [12:37:21]line Товар: 4700000480050 [12:37:21]line Напиток Nitro Energy эн green ж/б 0,45л [12:37:21]line 1.000 * 90.00 [12:37:21]line = 90.00 [12:37:21]line НДС 12% НСП 1% [12:37:21]line > о реализуемом товаре [12:37:21]line ИТОГО: 90.00 [12:37:21]line НСП 1% : 0.80 [12:37:21]line НДС 12% : 9.56 [12:37:21]line Наличными: 0.00 [12:37:21]line Безнал.: 90.00 [12:37:21]line Место: АЗС № 15 "Партнер Нефть" [12:37:21]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [12:37:21]line СНО: Общий режим [12:37:21]line Чек 28 12.03.2024 12:37 [12:37:21]line Смена: 314 ФФД: 1.0 [12:37:21]line ЗНМ: 0300000097 [12:37:21]line РНМ: 0000000000092018 [12:37:21]line Версия ККМ: 001 [12:37:21]line Платежная система: Демир КИ Банк [12:37:21]line ФМ: 0000000000871816 [12:37:21]line ФД: 47350 [12:37:21]line ФПД: 165737155864163 [12:37:22]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T123735&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47350&fm=165737155864163&tin=02508201610067®Number=0000000000092018&sum=9000 [12:37:22]line 0 [12:37:22]OFD Sender: Processing packet 47350 [packets to send 8, broken 7] [12:37:22]ProducePacketName [12:37:22]name=ofd_packets/00047350 [12:37:22]OFD Sender: To server: pG, [12:37:22]CommunicateWithHost lk.salyk.kg:30040 [12:37:22]ConnectInit lk.salyk.kg [12:37:22]written 0, free lines is 4095 [12:37:22]Connected sock=10 [12:37: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 31 36 39 01 00 00 A7 7E 31 01 E6 37 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 00 00 00 00 00 00 39 04 06 00 28 23 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 8F 4C F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 F6 B8 00 00 35 04 06 00 96 BC B0 4D 26 63 71 AA 02 9F 23 76 54 F7 [12:37: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 31 36 4F 00 00 00 5C 5B 47 00 9E 71 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 31 36 10 04 04 00 F6 B8 00 00 F4 03 04 00 21 F7 EF 65 B6 04 01 00 00 54 9A FD 8C 81 2D E7 AD [12:37:22]CommunicateWithHost err = 0 [12:37:22]CheckOFDResponse [12:37:22]1017 (14) - 77093643461234 [12:37:22]1041 (16) - 0000000000871816 [12:37:22]1040 (4) - 47350 [12:37:22]1012 (4) - 12.03.2024 06:33 [12:37:22]1206 (1) - 0 [12:37:22]OFD Sender: Remove packet 47350 [12:37:22]ProducePacketName [12:37:22]name=ofd_packets/00047350 [12:37:22]NVStorageDeleteData [12:37:22]Write to MH i2c: 01 00 00 E0 53 33 [12:37:22]Write i2c OK [12:37:22]MH_I2C_Read... [12:37:22]Read from MH i2c: 01 [12:37:22]MH_I2C_Read... [12:37:22]Read from MH i2c: 01 07 00 [12:37:22]MH_I2C_Read... [12:37:22]Read from MH i2c: 01 07 00 E0 53 00 00 00 00 00 BF 0C 05 [12:37:22]RasterBufferAndPrint [12:37:22]line [12:37:22]line [12:37:22]line [12:37:22]line [12:37:22]line [12:37:22]written 0, free lines is 3269 [12:37:22]MH_Cut [12:37:22]Write to MH i2c: D1 01 00 E7 53 01 0C [12:37:22]Write i2c OK [12:37:22]MH_I2C_Read... [12:37:22]Read from MH i2c: D1 [12:37:22]MH_I2C_Read... [12:37:22]Read from MH i2c: D1 01 00 [12:37:22]MH_I2C_Read... [12:37:22]Read from MH i2c: D1 01 00 E7 53 00 0B [12:37:22]Write to MH i2c: 01 00 00 E8 53 3B [12:37:22]Write i2c OK [12:37:22]MH_I2C_Read... [12:37:22]OFD Sender: No OFD packet to send [12:37:23]*** Cut start [12:37:23]*** Purtial cut [12:37:23]*** Stage 1: CUTSNS_PIN = 1 [12:37:23]Read from MH i2c: 01 [12:37:23]MH_I2C_Read... [12:37:23]*** Stop cut motor [12:37:23]*** Cut end [12:37:23]Read from MH i2c: 01 07 00 [12:37:23]MH_I2C_Read... [12:37:23]Read from MH i2c: 01 07 00 E8 53 00 00 00 00 00 FF 0F 50 [12:37:23]process_action close_receipt done [12:37:23]requested_data is exist [12:37:23]produce_requested_data [12:37:23]requested_item fm.sn is exist - process it [12:37:23]wFMCommunicate request_size=4 [12:37:23]MH_SAM_APDU [12:37:23]CAPDU: 80 11 00 00 [12:37:23]Write to MH i2c: E2 08 00 E9 53 80 11 00 00 00 00 00 00 B6 [12:37:23]Write i2c OK [12:37:23]MH_I2C_Read... [12:37:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:37:23]Read from MH i2c: E2 [12:37:23]MH_I2C_Read... [12:37:23]Read from MH i2c: E2 17 00 [12:37:23]MH_I2C_Read... [12:37:23]Read from MH i2c: E2 17 00 E9 53 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 08 [12:37:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [12:37:23]wFMCommunicate OK [12:37:23]requested_item fd.num is exist - process it [12:37:23]SAM_PROTO_GetFieldsCounters [12:37:23]wFMCommunicate request_size=4 [12:37:23]MH_SAM_APDU [12:37:23]CAPDU: 80 13 00 00 [12:37:23]Write to MH i2c: E2 08 00 EA 53 80 13 00 00 00 00 00 00 B9 [12:37:23]Write i2c OK [12:37:23]MH_I2C_Read... [12:37:23]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:37:23]Read from MH i2c: E2 [12:37:23]MH_I2C_Read... [12:37:23]Read from MH i2c: E2 62 00 [12:37:23]MH_I2C_Read... [12:37:23]Read from MH i2c: E2 62 00 EA 53 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 F6 B8 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 1C 00 00 00 5E 04 04 00 1C 00 00 00 57 04 04 00 1D 00 00 00 19 04 04 00 00 00 00 00 90 00 11 [12:37: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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 F6 B8 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 1C 00 00 00 5E 04 04 00 1C 00 00 00 57 04 04 00 1D 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:37:23]wFMCommunicate OK [12:37:23]SAM_PROTO_GetFieldsCounters done [12:37:23]requested_item shift.num is exist - process it [12:37:23]requested_item shift.opened is exist - process it [12:37:23]req_shift_opened [12:37:23]FM_GetShiftState [12:37:23]SAM_PROTO_GetShiftState [12:37:23]wFMCommunicate request_size=4 [12:37:23]MH_SAM_APDU [12:37:23]CAPDU: 80 13 01 00 [12:37:23]Write to MH i2c: E2 08 00 EB 53 80 13 01 00 00 00 00 00 BB [12:37:23]Write i2c OK [12:37:23]MH_I2C_Read... [12:37:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:37:23]Read from MH i2c: E2 [12:37:23]MH_I2C_Read... [12:37:23]Read from MH i2c: E2 0E 00 [12:37:23]MH_I2C_Read... [12:37:23]Read from MH i2c: E2 0E 00 EB 53 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 EA [12:37:23]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [12:37:23]wFMCommunicate OK [12:37:23]SAM_PROTO_GetShiftState done [12:37:23]FM_GetShiftState done [12:37:23]req_shift_opened done [12:37:23]requested_item shift.open_date is exist - process it [12:37:23]req_shift_open_date [12:37:23]req_shift_open_date done [12:37:23]produce_requested_data done [12:37:23]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47350,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [12:37:23]process_action_free close_receipt [12:37:23]json_value_free [12:37:23]json_value_free done [12:37:23]process_json_proto returns [12:37:23]Send response to host [12:37:23]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47350,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [12:37:23]free response buf [12:37:23]execute_script done [12:37:23]execute_script returns [12:37:23]free content buf [12:37:23]Sock 7.Close socket [12:37:23]Sock 7.Thread stoped [12:37:27]OFD Sender: No OFD packet to send [12:37:32]OFD Sender: No OFD packet to send [12:37:37]OFD Sender: No OFD packet to send [12:37:42]OFD Sender: No OFD packet to send [12:37:47]OFD Sender: No OFD packet to send [12:37:52]OFD Sender: No OFD packet to send [12:37:57]OFD Sender: No OFD packet to send [12:38:02]OFD Sender: No OFD packet to send [12:38:07]OFD Sender: No OFD packet to send [12:38:12]OFD Sender: No OFD packet to send [12:38:17]OFD Sender: No OFD packet to send [12:38:22]OFD Sender: No OFD packet to send [12:38:27]OFD Sender: No OFD packet to send [12:38:32]OFD Sender: No OFD packet to send [12:38:37]OFD Sender: No OFD packet to send [12:38:42]OFD Sender: No OFD packet to send [12:38:47]OFD Sender: No OFD packet to send [12:38:52]OFD Sender: No OFD packet to send [12:38:57]OFD Sender: No OFD packet to send [12:39:02]OFD Sender: No OFD packet to send [12:39:07]OFD Sender: No OFD packet to send [12:39:12]OFD Sender: No OFD packet to send [12:39:17]OFD Sender: No OFD packet to send [12:39:22]OFD Sender: No OFD packet to send [12:39:27]OFD Sender: No OFD packet to send [12:39:32]OFD Sender: No OFD packet to send [12:39:37]OFD Sender: No OFD packet to send [12:39:42]OFD Sender: No OFD packet to send [12:39:47]OFD Sender: No OFD packet to send [12:39:52]OFD Sender: No OFD packet to send [12:39:57]OFD Sender: No OFD packet to send [12:40:02]OFD Sender: No OFD packet to send [12:40:08]OFD Sender: No OFD packet to send [12:40:13]OFD Sender: No OFD packet to send [12:40:18]OFD Sender: No OFD packet to send [12:40:23]OFD Sender: No OFD packet to send [12:40:28]OFD Sender: No OFD packet to send [12:40:33]OFD Sender: No OFD packet to send [12:40:38]OFD Sender: No OFD packet to send [12:40:43]OFD Sender: No OFD packet to send [12:40:48]OFD Sender: No OFD packet to send [12:40:53]OFD Sender: No OFD packet to send [12:40:58]OFD Sender: No OFD packet to send [12:41:03]OFD Sender: No OFD packet to send [12:41:08]OFD Sender: No OFD packet to send [12:41:13]OFD Sender: No OFD packet to send [12:41:18]OFD Sender: No OFD packet to send [12:41:23]OFD Sender: No OFD packet to send [12:41:28]OFD Sender: No OFD packet to send [12:41:33]OFD Sender: No OFD packet to send [12:41:38]OFD Sender: No OFD packet to send [12:41:43]OFD Sender: No OFD packet to send [12:41:48]OFD Sender: No OFD packet to send [12:41:53]OFD Sender: No OFD packet to send [12:41:58]OFD Sender: No OFD packet to send [12:42:03]OFD Sender: No OFD packet to send [12:42:08]OFD Sender: No OFD packet to send [12:42:13]OFD Sender: No OFD packet to send [12:42:18]OFD Sender: No OFD packet to send [12:42:23]OFD Sender: No OFD packet to send [12:42:28]OFD Sender: No OFD packet to send [12:42:33]OFD Sender: No OFD packet to send [12:42:38]OFD Sender: No OFD packet to send [12:42:43]OFD Sender: No OFD packet to send [12:42:48]OFD Sender: No OFD packet to send [12:42:53]OFD Sender: No OFD packet to send [12:42:58]OFD Sender: No OFD packet to send [12:43:03]OFD Sender: No OFD packet to send [12:43:08]OFD Sender: No OFD packet to send [12:43:13]OFD Sender: No OFD packet to send [12:43:18]OFD Sender: No OFD packet to send [12:43:23]OFD Sender: No OFD packet to send [12:43:28]OFD Sender: No OFD packet to send [12:43:33]OFD Sender: No OFD packet to send [12:43:38]OFD Sender: No OFD packet to send [12:43:43]OFD Sender: No OFD packet to send [12:43:48]OFD Sender: No OFD packet to send [12:43:53]OFD Sender: No OFD packet to send [12:43:58]OFD Sender: No OFD packet to send [12:44:03]OFD Sender: No OFD packet to send [12:44:08]OFD Sender: No OFD packet to send [12:44:13]OFD Sender: No OFD packet to send [12:44:18]OFD Sender: No OFD packet to send [12:44:23]OFD Sender: No OFD packet to send [12:44:28]OFD Sender: No OFD packet to send [12:44:33]OFD Sender: No OFD packet to send [12:44:38]OFD Sender: No OFD packet to send [12:44:43]OFD Sender: No OFD packet to send [12:44:48]OFD Sender: No OFD packet to send [12:44:53]OFD Sender: No OFD packet to send [12:44:58]OFD Sender: No OFD packet to send [12:45:03]OFD Sender: No OFD packet to send [12:45:08]OFD Sender: No OFD packet to send [12:45:13]OFD Sender: No OFD packet to send [12:45:18]OFD Sender: No OFD packet to send [12:45:23]OFD Sender: No OFD packet to send [12:45:28]OFD Sender: No OFD packet to send [12:45:33]OFD Sender: No OFD packet to send [12:45:38]OFD Sender: No OFD packet to send [12:45:43]OFD Sender: No OFD packet to send [12:45:48]OFD Sender: No OFD packet to send [12:45:53]OFD Sender: No OFD packet to send [12:45:58]OFD Sender: No OFD packet to send [12:46:03]OFD Sender: No OFD packet to send [12:46:08]OFD Sender: No OFD packet to send [12:46:13]OFD Sender: No OFD packet to send [12:46:18]OFD Sender: No OFD packet to send [12:46:23]OFD Sender: No OFD packet to send [12:46:28]OFD Sender: No OFD packet to send [12:46:33]OFD Sender: No OFD packet to send [12:46:38]OFD Sender: No OFD packet to send [12:46:43]OFD Sender: No OFD packet to send [12:46:48]OFD Sender: No OFD packet to send [12:46:53]OFD Sender: No OFD packet to send [12:46:58]OFD Sender: No OFD packet to send [12:47:03]OFD Sender: No OFD packet to send [12:47:08]OFD Sender: No OFD packet to send [12:47:13]OFD Sender: No OFD packet to send [12:47:18]OFD Sender: No OFD packet to send [12:47:23]OFD Sender: No OFD packet to send [12:47:28]OFD Sender: No OFD packet to send [12:47:33]OFD Sender: No OFD packet to send [12:47:38]OFD Sender: No OFD packet to send [12:47:43]OFD Sender: No OFD packet to send [12:47:48]OFD Sender: No OFD packet to send [12:47:53]OFD Sender: No OFD packet to send [12:47:58]OFD Sender: No OFD packet to send [12:48:03]OFD Sender: No OFD packet to send [12:48:08]OFD Sender: No OFD packet to send [12:48:13]OFD Sender: No OFD packet to send [12:48:18]OFD Sender: No OFD packet to send [12:48:23]OFD Sender: No OFD packet to send [12:48:28]OFD Sender: No OFD packet to send [12:48:33]OFD Sender: No OFD packet to send [12:48:35]accept exits with 9 [12:48:35]New connection [12:48:35]New thread 3066596708 created [12:48:35]Thread 3066453348 joined [12:48:35]Waiting for new connection... [12:48:35] Sock 9.Parse request [12:48:35]Sock 9.Check first char [12:48:35]Sock 9.First char is OK [12:48:35]request: POST /json_proto HTTP/1.0 [12:48:35]Method: POST [12:48:35]URL: /json_proto [12:48:35]Method is POST - this is cgi request [12:48:35]url: /json_proto [12:48:35]query_string will be loaded in cgi processing [12:48:35]execute_cgi json_proto POST (null) [12:48:35]execute_cgi path=json_proto method=POST [12:48:35]POST find Content-Length [12:48:35]Host: 172.17.32.68:8080 [12:48:35]Content-Length: 630 [12:48:35]Content-Type: application/json [12:48:35] [12:48:35]POST finish read [12:48:35]Found Content-Length = 630 [12:48:35]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242264", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 50.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:48:35]execute_script... [12:48: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)242264", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 50.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:48:35]POST & json_proto [12:48:35]process_json_proto [12:48:35]json parsed OK: [12:48:35]protocol is kg_v1.0 [12:48:35]action value=close_receipt [12:48:35]process_action close_receipt [12:48:35]cmd_close_receipt [12:48:35]MH_GetDate [12:48:35]Write to MH i2c: F0 00 00 EC 53 2E [12:48:35]Write i2c OK [12:48:35]MH_I2C_Read... [12:48:35]Read from MH i2c: F0 [12:48:35]MH_I2C_Read... [12:48:35]Read from MH i2c: F0 09 00 [12:48:35]MH_I2C_Read... [12:48:35]Read from MH i2c: F0 09 00 EC 53 00 32 4F F0 65 0A 64 6E 65 4E [12:48:35]GetLastDocTimeStamp 1710247055 [12:48:35]current date 1710247730 [12:48:35]FM_GetShiftState [12:48:35]SAM_PROTO_GetShiftState [12:48:35]wFMCommunicate request_size=4 [12:48:35]MH_SAM_APDU [12:48:35]CAPDU: 80 13 01 00 [12:48:35]Write to MH i2c: E2 08 00 ED 53 80 13 01 00 00 00 00 00 BD [12:48:35]Write i2c OK [12:48:35]MH_I2C_Read... [12:48:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:48:35]Read from MH i2c: E2 [12:48:35]MH_I2C_Read... [12:48:35]Read from MH i2c: E2 0E 00 [12:48:35]MH_I2C_Read... [12:48:35]Read from MH i2c: E2 0E 00 ED 53 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 EC [12:48:35]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [12:48:35]wFMCommunicate OK [12:48:35]SAM_PROTO_GetShiftState done [12:48:35]FM_GetShiftState done [12:48:35]opened in 1710202417 [12:48:35]opened+sec_in_day 1710288817 [12:48:35]quantity*price = 5000 [12:48:35]sum+1 = 5001 [12:48:35]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 50.00 НСП 1% : 0.44 НДС 12% : 5.31 Наличными: 50.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 29 12.03.2024 12:48 Смена: 314 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47351 ФПД: 161420465736737 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T124850&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47351&fm=161420465736737&tin=02508201610067®Number=0000000000092018&sum=5000 0 [12:48:36]StoreToDocumentArchive [12:48:36]shift 314 fd 47351 [12:48:36]save to /storage/0314/doc_00047351 [12:48:36]save last doc name /storage/0314/doc_00047351 to /storage/kkm_last_doc_name [12:48:36]save OK [12:48:36]Clear old archive folders... [12:48:36]ProcessDocumentItem done err = 0, tmpTLVsize=269 [12:48:36]tlvbuf is 003BC320 [12:48:36]SAM_PROTO_ClearQueue [12:48:36]wFMCommunicate request_size=4 [12:48:36]MH_SAM_APDU [12:48:36]CAPDU: 80 09 00 00 [12:48:36]Write to MH i2c: E2 08 00 FA 53 80 09 00 00 00 00 00 00 BF [12:48:36]Write i2c OK [12:48:36]MH_I2C_Read... [12:48:36]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:48:36]Read from MH i2c: E2 [12:48:36]MH_I2C_Read... [12:48:36]Read from MH i2c: E2 03 00 [12:48:36]MH_I2C_Read... [12:48:36]Read from MH i2c: E2 03 00 FA 53 00 90 00 C1 [12:48:36]RAPDU: 90 00 [12:48:36]wFMCommunicate OK [12:48:36]SAM_PROTO_ClearQueue done [12:48:36]KKMCreateOFDPacket [12:48:36]OFDProtocolAddRootSTLVToBuf [12:48:36]FM_MakeSignedData [12:48:36]FM_MakeSignedData [12:48:36]SAM_PROTO_SignData [12:48:36]wFMCommunicate request_size=4 [12:48:36]MH_SAM_APDU [12:48:36]CAPDU: 80 0D 01 02 [12:48:36]Write to MH i2c: E2 08 00 FB 53 80 0D 01 02 00 00 00 00 C7 [12:48:36]Write i2c OK [12:48:36]MH_I2C_Read... [12:48:36]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:48:36]Read from MH i2c: E2 [12:48:36]MH_I2C_Read... [12:48:36]Read from MH i2c: E2 03 00 [12:48:36]MH_I2C_Read... [12:48:36]Read from MH i2c: E2 03 00 FB 53 00 90 00 C2 [12:48:36]RAPDU: 90 00 [12:48:36]wFMCommunicate OK [12:48:36]wFMCommunicate request_size=255 [12:48:36]MH_SAM_APDU [12:48:36]CAPDU: 80 0D 02 02 FA 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 32 4F F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 [12:48:36]Write to MH i2c: E2 02 01 FC 53 80 0D 02 02 FA 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 32 4F F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 00 00 07 [12:48:36]Write i2c OK [12:48:36]MH_I2C_Read... [12:48:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:48:36]Read from MH i2c: E2 [12:48:36]MH_I2C_Read... [12:48:36]Read from MH i2c: E2 03 00 [12:48:36]MH_I2C_Read... [12:48:36]Read from MH i2c: E2 03 00 FC 53 00 90 00 C3 [12:48:36]RAPDU: 90 00 [12:48:36]wFMCommunicate OK [12:48:36]wFMCommunicate request_size=28 [12:48:36]MH_SAM_APDU [12:48:36]CAPDU: 80 0D 02 02 17 37 31 38 31 36 10 04 04 00 F7 B8 00 00 35 04 06 00 92 CF A1 85 0C 21 [12:48:36]Write to MH i2c: E2 1F 00 FD 53 80 0D 02 02 17 00 37 31 38 31 36 10 04 04 00 F7 B8 00 00 35 04 06 00 92 CF A1 85 0C 21 00 00 B9 [12:48:36]Write i2c OK [12:48:36]MH_I2C_Read... [12:48:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:48:36]Read from MH i2c: E2 [12:48:36]MH_I2C_Read... [12:48:36]Read from MH i2c: E2 03 00 [12:48:36]MH_I2C_Read... [12:48:36]Read from MH i2c: E2 03 00 FD 53 00 90 00 C4 [12:48:36]RAPDU: 90 00 [12:48:36]wFMCommunicate OK [12:48:36]wFMCommunicate request_size=4 [12:48:36]MH_SAM_APDU [12:48:36]CAPDU: 80 0D 03 02 [12:48:36]Write to MH i2c: E2 08 00 FE 53 80 0D 03 02 00 00 00 00 CC [12:48:36]Write i2c OK [12:48:36]MH_I2C_Read... [12:48:36]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:48:36]Read from MH i2c: E2 [12:48:36]MH_I2C_Read... [12:48:36]Read from MH i2c: E2 0B 00 [12:48:36]MH_I2C_Read... [12:48:36]Read from MH i2c: E2 0B 00 FE 53 00 03 A1 2B 57 25 27 21 16 90 00 76 [12:48:36]RAPDU: 03 A1 2B 57 25 27 21 16 90 00 [12:48:36]wFMCommunicate OK [12:48:36]SAM_PROTO_SignData done [12:48:36]FM_MakeSignedData done [12:48:36]CreateOFDProtocolMessage [12:48:36]wFMCommunicate request_size=4 [12:48:36]MH_SAM_APDU [12:48:36]CAPDU: 80 11 00 00 [12:48:36]Write to MH i2c: E2 08 00 FF 53 80 11 00 00 00 00 00 00 CC [12:48:36]Write i2c OK [12:48:36]MH_I2C_Read... [12:48:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:48:36]Read from MH i2c: E2 [12:48:36]MH_I2C_Read... [12:48:36]Read from MH i2c: E2 17 00 [12:48:36]MH_I2C_Read... [12:48:36]Read from MH i2c: E2 17 00 FF 53 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 1E [12:48:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [12:48:36]wFMCommunicate OK [12:48:36]CreateOFDProtocolMessage done [12:48:36]OFDSenderStorePacket 47351 [12:48:36]StoreOFDPacket docnum=47351 [12:48:36]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 21 01 00 00 87 89 19 01 A7 35 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 32 4F F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 F7 B8 00 00 35 04 06 00 92 CF A1 85 0C 21 03 A1 2B 57 25 27 21 16 [12:48:36]CheckFolder [12:48:36]dirname=/storage/ofd_packets [12:48:36]CheckFolder done [12:48:36]ProducePacketName [12:48:36]name=ofd_packets/00047351 [12:48:36]NVStorageSaveData ofd_packets/00047351 [12:48:36]File name is /storage/ofd_packets/00047351 [12:48:36]Write 319 bytes [12:48:36]NVStorageSaveData done [12:48:36]OFDSenderStorePacket done [12:48:36]KKMCreateOFDPacket done [12:48:36]NVStorageSaveData kkm_last_timestamp [12:48:36]File name is /storage/kkm_last_timestamp [12:48:36]Write 4 bytes [12:48:36]NVStorageSaveData done [12:48:36]ExternCall_PrintAddStr [12:48:36]wPrintStart [12:48:36]Write to MH i2c: 01 00 00 00 54 54 [12:48:36]Write i2c OK [12:48:36]MH_I2C_Read... [12:48:36]Read from MH i2c: 01 [12:48:36]MH_I2C_Read... [12:48:36]Read from MH i2c: 01 07 00 [12:48:36]MH_I2C_Read... [12:48:36]Read from MH i2c: 01 07 00 00 54 00 00 00 00 00 FF 0F 69 [12:48:36]RasterBufferAndPrint [12:48:36]line Счет N : (3)242264 [12:48:36]line ИНН: 02508201610067 [12:48:36]line Контрольно-Кассовый Чек [12:48:36]line ПРОДАЖА [12:48:36]line Товар: 4700000160358 [12:48:36]line Вода Легенда 1л [12:48:36]line 1.000 * 50.00 [12:48:36]line = 50.00 [12:48:36]line НДС 12% НСП 1% [12:48:36]line > о реализуемом товаре [12:48:36]line ИТОГО: 50.00 [12:48:36]line НСП 1% : 0.44 [12:48:36]line НДС 12% : 5.31 [12:48:36]line Наличными: 50.00 [12:48:36]line Безнал.: 0.00 [12:48:36]line Место: АЗС № 15 "Партнер Нефть" [12:48:36]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [12:48:36]line СНО: Общий режим [12:48:37]line Чек 29 12.03.2024 12:48 [12:48:37]line Смена: 314 ФФД: 1.0 [12:48:37]line ЗНМ: 0300000097 [12:48:37]line РНМ: 0000000000092018 [12:48:37]line Версия ККМ: 001 [12:48:37]line ФМ: 0000000000871816 [12:48:37]line ФД: 47351 [12:48:37]line ФПД: 161420465736737 [12:48:37]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T124850&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47351&fm=161420465736737&tin=02508201610067®Number=0000000000092018&sum=5000 [12:48:37]line 0 [12:48:37]OFD Sender: Processing packet 47351 [packets to send 8, broken 7] [12:48:37]ProducePacketName [12:48:37]name=ofd_packets/00047351 [12:48:37]OFD Sender: To server: pG, [12:48:37]CommunicateWithHost lk.salyk.kg:30040 [12:48:37]ConnectInit lk.salyk.kg [12:48:37]written 0, free lines is 4095 [12:48:37]Connected sock=10 [12:48:37]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 31 36 21 01 00 00 87 89 19 01 A7 35 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 32 4F F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 F7 B8 00 00 35 04 06 00 92 CF A1 85 0C 21 03 A1 2B 57 25 27 21 16 [12:48:37]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 36 EC 47 00 4B C3 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 F7 B8 00 00 F4 03 04 00 C4 F9 EF 65 B6 04 01 00 00 41 0B 95 6D 74 06 39 27 [12:48:37]CommunicateWithHost err = 0 [12:48:37]CheckOFDResponse [12:48:37]1017 (14) - 77093643461234 [12:48:37]1041 (16) - 0000000000871816 [12:48:37]1040 (4) - 47351 [12:48:37]1012 (4) - 12.03.2024 06:44 [12:48:37]1206 (1) - 0 [12:48:37]OFD Sender: Remove packet 47351 [12:48:37]ProducePacketName [12:48:37]name=ofd_packets/00047351 [12:48:37]NVStorageDeleteData [12:48:37]Write to MH i2c: 01 00 00 28 54 7C [12:48:37]Write i2c OK [12:48:37]MH_I2C_Read... [12:48:37]Read from MH i2c: 01 [12:48:37]MH_I2C_Read... [12:48:37]Read from MH i2c: 01 07 00 [12:48:37]MH_I2C_Read... [12:48:37]Read from MH i2c: 01 07 00 28 54 00 00 00 00 00 E8 0C 77 [12:48:37]RasterBufferAndPrint [12:48:37]line [12:48:37]line [12:48:37]line [12:48:37]line [12:48:37]line [12:48:37]written 0, free lines is 3310 [12:48:37]MH_Cut [12:48:37]Write to MH i2c: D1 01 00 2F 54 01 55 [12:48:37]Write i2c OK [12:48:37]MH_I2C_Read... [12:48:37]Read from MH i2c: D1 [12:48:37]MH_I2C_Read... [12:48:37]Read from MH i2c: D1 01 00 [12:48:37]MH_I2C_Read... [12:48:37]Read from MH i2c: D1 01 00 2F 54 00 54 [12:48:37]Write to MH i2c: 01 00 00 30 54 84 [12:48:37]Write i2c OK [12:48:37]MH_I2C_Read... [12:48:37]OFD Sender: No OFD packet to send [12:48:38]*** Cut start [12:48:38]*** Purtial cut [12:48:38]*** Stage 1: CUTSNS_PIN = 1 [12:48:38]Read from MH i2c: 01 [12:48:38]MH_I2C_Read... [12:48:38]*** Stop cut motor [12:48:38]*** Cut end [12:48:38]Read from MH i2c: 01 07 00 [12:48:38]MH_I2C_Read... [12:48:38]Read from MH i2c: 01 07 00 30 54 00 00 00 00 00 FF 0F 99 [12:48:38]process_action close_receipt done [12:48:38]requested_data is exist [12:48:38]produce_requested_data [12:48:38]requested_item fm.sn is exist - process it [12:48:38]wFMCommunicate request_size=4 [12:48:38]MH_SAM_APDU [12:48:38]CAPDU: 80 11 00 00 [12:48:38]Write to MH i2c: E2 08 00 31 54 80 11 00 00 00 00 00 00 FF [12:48:38]Write i2c OK [12:48:38]MH_I2C_Read... [12:48:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:48:38]Read from MH i2c: E2 [12:48:38]MH_I2C_Read... [12:48:38]Read from MH i2c: E2 17 00 [12:48:38]MH_I2C_Read... [12:48:38]Read from MH i2c: E2 17 00 31 54 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 51 [12:48:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [12:48:38]wFMCommunicate OK [12:48:38]requested_item fd.num is exist - process it [12:48:38]SAM_PROTO_GetFieldsCounters [12:48:38]wFMCommunicate request_size=4 [12:48:38]MH_SAM_APDU [12:48:38]CAPDU: 80 13 00 00 [12:48:38]Write to MH i2c: E2 08 00 32 54 80 13 00 00 00 00 00 00 02 [12:48:38]Write i2c OK [12:48:38]MH_I2C_Read... [12:48:38]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:48:38]Read from MH i2c: E2 [12:48:38]MH_I2C_Read... [12:48:38]Read from MH i2c: E2 62 00 [12:48:38]MH_I2C_Read... [12:48:38]Read from MH i2c: E2 62 00 32 54 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 F7 B8 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 1D 00 00 00 5E 04 04 00 1D 00 00 00 57 04 04 00 1E 00 00 00 19 04 04 00 00 00 00 00 90 00 5E [12:48:38]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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 F7 B8 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 1D 00 00 00 5E 04 04 00 1D 00 00 00 57 04 04 00 1E 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:48:38]wFMCommunicate OK [12:48:38]SAM_PROTO_GetFieldsCounters done [12:48:38]requested_item shift.num is exist - process it [12:48:38]requested_item shift.opened is exist - process it [12:48:38]req_shift_opened [12:48:38]FM_GetShiftState [12:48:38]SAM_PROTO_GetShiftState [12:48:38]wFMCommunicate request_size=4 [12:48:38]MH_SAM_APDU [12:48:38]CAPDU: 80 13 01 00 [12:48:38]Write to MH i2c: E2 08 00 33 54 80 13 01 00 00 00 00 00 04 [12:48:38]Write i2c OK [12:48:38]MH_I2C_Read... [12:48:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:48:38]Read from MH i2c: E2 [12:48:38]MH_I2C_Read... [12:48:38]Read from MH i2c: E2 0E 00 [12:48:38]MH_I2C_Read... [12:48:38]Read from MH i2c: E2 0E 00 33 54 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 33 [12:48:38]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [12:48:38]wFMCommunicate OK [12:48:38]SAM_PROTO_GetShiftState done [12:48:38]FM_GetShiftState done [12:48:38]req_shift_opened done [12:48:38]requested_item shift.open_date is exist - process it [12:48:38]req_shift_open_date [12:48:38]req_shift_open_date done [12:48:38]produce_requested_data done [12:48:38]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47351,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [12:48:38]process_action_free close_receipt [12:48:38]json_value_free [12:48:38]json_value_free done [12:48:38]process_json_proto returns [12:48:38]Send response to host [12:48:38]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47351,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [12:48:38]free response buf [12:48:38]execute_script done [12:48:38]execute_script returns [12:48:38]free content buf [12:48:38]Sock 9.Close socket [12:48:38]Sock 9.Thread stoped [12:48:42]OFD Sender: No OFD packet to send [12:48:47]OFD Sender: No OFD packet to send [12:48:52]OFD Sender: No OFD packet to send [12:48:57]OFD Sender: No OFD packet to send [12:49:02]OFD Sender: No OFD packet to send [12:49:07]OFD Sender: No OFD packet to send [12:49:12]OFD Sender: No OFD packet to send [12:49:17]OFD Sender: No OFD packet to send [12:49:22]OFD Sender: No OFD packet to send [12:49:27]OFD Sender: No OFD packet to send [12:49:32]OFD Sender: No OFD packet to send [12:49:37]OFD Sender: No OFD packet to send [12:49:42]OFD Sender: No OFD packet to send [12:49:47]OFD Sender: No OFD packet to send [12:49:52]OFD Sender: No OFD packet to send [12:49:57]OFD Sender: No OFD packet to send [12:50:02]OFD Sender: No OFD packet to send [12:50:07]OFD Sender: No OFD packet to send [12:50:12]OFD Sender: No OFD packet to send [12:50:17]OFD Sender: No OFD packet to send [12:50:22]OFD Sender: No OFD packet to send [12:50:27]OFD Sender: No OFD packet to send [12:50:32]OFD Sender: No OFD packet to send [12:50:37]OFD Sender: No OFD packet to send [12:50:42]OFD Sender: No OFD packet to send [12:50:47]OFD Sender: No OFD packet to send [12:50:52]OFD Sender: No OFD packet to send [12:50:57]OFD Sender: No OFD packet to send [12:51:03]OFD Sender: No OFD packet to send [12:51:08]OFD Sender: No OFD packet to send [12:51:13]OFD Sender: No OFD packet to send [12:51:18]OFD Sender: No OFD packet to send [12:51:23]OFD Sender: No OFD packet to send [12:51:28]OFD Sender: No OFD packet to send [12:51:33]OFD Sender: No OFD packet to send [12:51:38]OFD Sender: No OFD packet to send [12:51:43]OFD Sender: No OFD packet to send [12:51:48]OFD Sender: No OFD packet to send [12:51:53]OFD Sender: No OFD packet to send [12:51:58]OFD Sender: No OFD packet to send [12:52:03]OFD Sender: No OFD packet to send [12:52:08]OFD Sender: No OFD packet to send [12:52:13]OFD Sender: No OFD packet to send [12:52:18]OFD Sender: No OFD packet to send [12:52:23]OFD Sender: No OFD packet to send [12:52:28]OFD Sender: No OFD packet to send [12:52:33]OFD Sender: No OFD packet to send [12:52:38]OFD Sender: No OFD packet to send [12:52:43]OFD Sender: No OFD packet to send [12:52:48]OFD Sender: No OFD packet to send [12:52:53]OFD Sender: No OFD packet to send [12:52:58]OFD Sender: No OFD packet to send [12:53:03]OFD Sender: No OFD packet to send [12:53:08]OFD Sender: No OFD packet to send [12:53:13]OFD Sender: No OFD packet to send [12:53:18]OFD Sender: No OFD packet to send [12:53:23]OFD Sender: No OFD packet to send [12:53:28]OFD Sender: No OFD packet to send [12:53:33]OFD Sender: No OFD packet to send [12:53:38]OFD Sender: No OFD packet to send [12:53:43]OFD Sender: No OFD packet to send [12:53:48]OFD Sender: No OFD packet to send [12:53:53]OFD Sender: No OFD packet to send [12:53:58]OFD Sender: No OFD packet to send [12:54:03]OFD Sender: No OFD packet to send [12:54:08]OFD Sender: No OFD packet to send [12:54:13]OFD Sender: No OFD packet to send [12:54:18]OFD Sender: No OFD packet to send [12:54:23]OFD Sender: No OFD packet to send [12:54:28]OFD Sender: No OFD packet to send [12:54:33]OFD Sender: No OFD packet to send [12:54:38]OFD Sender: No OFD packet to send [12:54:43]OFD Sender: No OFD packet to send [12:54:48]OFD Sender: No OFD packet to send [12:54:53]OFD Sender: No OFD packet to send [12:54:58]OFD Sender: No OFD packet to send [12:55:03]OFD Sender: No OFD packet to send [12:55:08]OFD Sender: No OFD packet to send [12:55:13]OFD Sender: No OFD packet to send [12:55:18]OFD Sender: No OFD packet to send [12:55:23]OFD Sender: No OFD packet to send [12:55:28]OFD Sender: No OFD packet to send [12:55:33]OFD Sender: No OFD packet to send [12:55:38]OFD Sender: No OFD packet to send [12:55:43]OFD Sender: No OFD packet to send [12:55:48]OFD Sender: No OFD packet to send [12:55:53]OFD Sender: No OFD packet to send [12:55:58]OFD Sender: No OFD packet to send [12:56:03]OFD Sender: No OFD packet to send [12:56:08]OFD Sender: No OFD packet to send [12:56:13]OFD Sender: No OFD packet to send [12:56:18]OFD Sender: No OFD packet to send [12:56:23]OFD Sender: No OFD packet to send [12:56:28]OFD Sender: No OFD packet to send [12:56:33]OFD Sender: No OFD packet to send [12:56:38]OFD Sender: No OFD packet to send [12:56:43]OFD Sender: No OFD packet to send [12:56:48]OFD Sender: No OFD packet to send [12:56:53]OFD Sender: No OFD packet to send [12:56:58]OFD Sender: No OFD packet to send [12:57:03]OFD Sender: No OFD packet to send [12:57:08]OFD Sender: No OFD packet to send [12:57:13]OFD Sender: No OFD packet to send [12:57:18]OFD Sender: No OFD packet to send [12:57:23]OFD Sender: No OFD packet to send [12:57:28]OFD Sender: No OFD packet to send [12:57:33]OFD Sender: No OFD packet to send [12:57:38]OFD Sender: No OFD packet to send [12:57:43]OFD Sender: No OFD packet to send [12:57:48]OFD Sender: No OFD packet to send [12:57:53]OFD Sender: No OFD packet to send [12:57:58]OFD Sender: No OFD packet to send [12:58:03]OFD Sender: No OFD packet to send [12:58:08]OFD Sender: No OFD packet to send [12:58:13]OFD Sender: No OFD packet to send [12:58:18]OFD Sender: No OFD packet to send [12:58:23]OFD Sender: No OFD packet to send [12:58:28]OFD Sender: No OFD packet to send [12:58:33]OFD Sender: No OFD packet to send [12:58:38]OFD Sender: No OFD packet to send [12:58:43]OFD Sender: No OFD packet to send [12:58:48]OFD Sender: No OFD packet to send [12:58:53]OFD Sender: No OFD packet to send [12:58:58]OFD Sender: No OFD packet to send [12:59:03]OFD Sender: No OFD packet to send [12:59:08]OFD Sender: No OFD packet to send [12:59:13]OFD Sender: No OFD packet to send [12:59:18]OFD Sender: No OFD packet to send [12:59:23]OFD Sender: No OFD packet to send [12:59:28]OFD Sender: No OFD packet to send [12:59:33]OFD Sender: No OFD packet to send [12:59:38]OFD Sender: No OFD packet to send [12:59:43]OFD Sender: No OFD packet to send [12:59:48]OFD Sender: No OFD packet to send [12:59:53]OFD Sender: No OFD packet to send [12:59:58]OFD Sender: No OFD packet to send [13:00:03]OFD Sender: No OFD packet to send [13:00:08]OFD Sender: No OFD packet to send [13:00:13]OFD Sender: No OFD packet to send [13:00:18]OFD Sender: No OFD packet to send [13:00:23]OFD Sender: No OFD packet to send [13:00:28]OFD Sender: No OFD packet to send [13:00:33]OFD Sender: No OFD packet to send [13:00:38]OFD Sender: No OFD packet to send [13:00:43]OFD Sender: No OFD packet to send [13:00:48]OFD Sender: No OFD packet to send [13:00:53]OFD Sender: No OFD packet to send [13:00:58]OFD Sender: No OFD packet to send [13:01:03]OFD Sender: No OFD packet to send [13:01:08]OFD Sender: No OFD packet to send [13:01:13]OFD Sender: No OFD packet to send [13:01:18]OFD Sender: No OFD packet to send [13:01:23]OFD Sender: No OFD packet to send [13:01:28]OFD Sender: No OFD packet to send [13:01:33]OFD Sender: No OFD packet to send [13:01:38]OFD Sender: No OFD packet to send [13:01:43]OFD Sender: No OFD packet to send [13:01:48]OFD Sender: No OFD packet to send [13:01:53]OFD Sender: No OFD packet to send [13:01:58]OFD Sender: No OFD packet to send [13:02:03]OFD Sender: No OFD packet to send [13:02:08]OFD Sender: No OFD packet to send [13:02:13]OFD Sender: No OFD packet to send [13:02:18]OFD Sender: No OFD packet to send [13:02:23]OFD Sender: No OFD packet to send [13:02:28]OFD Sender: No OFD packet to send [13:02:33]OFD Sender: No OFD packet to send [13:02:38]OFD Sender: No OFD packet to send [13:02:43]OFD Sender: No OFD packet to send [13:02:48]OFD Sender: No OFD packet to send [13:02:53]OFD Sender: No OFD packet to send [13:02:58]OFD Sender: No OFD packet to send [13:03:03]OFD Sender: No OFD packet to send [13:03:08]OFD Sender: No OFD packet to send [13:03:13]OFD Sender: No OFD packet to send [13:03:18]OFD Sender: No OFD packet to send [13:03:23]OFD Sender: No OFD packet to send [13:03:28]OFD Sender: No OFD packet to send [13:03:33]OFD Sender: No OFD packet to send [13:03:38]OFD Sender: No OFD packet to send [13:03:43]OFD Sender: No OFD packet to send [13:03:48]OFD Sender: No OFD packet to send [13:03:53]OFD Sender: No OFD packet to send [13:03:58]OFD Sender: No OFD packet to send [13:04:03]OFD Sender: No OFD packet to send [13:04:08]OFD Sender: No OFD packet to send [13:04:13]OFD Sender: No OFD packet to send [13:04:18]OFD Sender: No OFD packet to send [13:04:23]OFD Sender: No OFD packet to send [13:04:28]OFD Sender: No OFD packet to send [13:04:33]OFD Sender: No OFD packet to send [13:04:38]OFD Sender: No OFD packet to send [13:04:43]OFD Sender: No OFD packet to send [13:04:48]OFD Sender: No OFD packet to send [13:04:53]OFD Sender: No OFD packet to send [13:04:58]OFD Sender: No OFD packet to send [13:05:03]OFD Sender: No OFD packet to send [13:05:08]OFD Sender: No OFD packet to send [13:05:13]OFD Sender: No OFD packet to send [13:05:18]OFD Sender: No OFD packet to send [13:05:23]OFD Sender: No OFD packet to send [13:05:28]OFD Sender: No OFD packet to send [13:05:33]OFD Sender: No OFD packet to send [13:05:38]OFD Sender: No OFD packet to send [13:05:43]OFD Sender: No OFD packet to send [13:05:48]OFD Sender: No OFD packet to send [13:05:53]OFD Sender: No OFD packet to send [13:05:58]OFD Sender: No OFD packet to send [13:06:03]OFD Sender: No OFD packet to send [13:06:08]OFD Sender: No OFD packet to send [13:06:13]OFD Sender: No OFD packet to send [13:06:18]OFD Sender: No OFD packet to send [13:06:23]OFD Sender: No OFD packet to send [13:06:28]OFD Sender: No OFD packet to send [13:06:33]OFD Sender: No OFD packet to send [13:06:38]OFD Sender: No OFD packet to send [13:06:43]OFD Sender: No OFD packet to send [13:06:48]OFD Sender: No OFD packet to send [13:06:53]OFD Sender: No OFD packet to send [13:06:58]OFD Sender: No OFD packet to send [13:07:03]OFD Sender: No OFD packet to send [13:07:08]OFD Sender: No OFD packet to send [13:07:13]OFD Sender: No OFD packet to send [13:07:18]OFD Sender: No OFD packet to send [13:07:23]OFD Sender: No OFD packet to send [13:07:28]OFD Sender: No OFD packet to send [13:07:33]OFD Sender: No OFD packet to send [13:07:38]OFD Sender: No OFD packet to send [13:07:43]OFD Sender: No OFD packet to send [13:07:48]OFD Sender: No OFD packet to send [13:07:53]OFD Sender: No OFD packet to send [13:07:58]OFD Sender: No OFD packet to send [13:08:03]OFD Sender: No OFD packet to send [13:08:08]OFD Sender: No OFD packet to send [13:08:13]OFD Sender: No OFD packet to send [13:08:18]OFD Sender: No OFD packet to send [13:08:23]OFD Sender: No OFD packet to send [13:08:28]OFD Sender: No OFD packet to send [13:08:33]OFD Sender: No OFD packet to send [13:08:38]OFD Sender: No OFD packet to send [13:08:43]OFD Sender: No OFD packet to send [13:08:48]OFD Sender: No OFD packet to send [13:08:53]OFD Sender: No OFD packet to send [13:08:58]OFD Sender: No OFD packet to send [13:09:03]OFD Sender: No OFD packet to send [13:09:08]OFD Sender: No OFD packet to send [13:09:13]OFD Sender: No OFD packet to send [13:09:18]OFD Sender: No OFD packet to send [13:09:23]OFD Sender: No OFD packet to send [13:09:28]OFD Sender: No OFD packet to send [13:09:33]OFD Sender: No OFD packet to send [13:09:38]OFD Sender: No OFD packet to send [13:09:43]OFD Sender: No OFD packet to send [13:09:48]OFD Sender: No OFD packet to send [13:09:53]OFD Sender: No OFD packet to send [13:09:58]OFD Sender: No OFD packet to send [13:10:03]OFD Sender: No OFD packet to send [13:10:08]OFD Sender: No OFD packet to send [13:10:13]OFD Sender: No OFD packet to send [13:10:18]OFD Sender: No OFD packet to send [13:10:23]OFD Sender: No OFD packet to send [13:10:28]OFD Sender: No OFD packet to send [13:10:33]OFD Sender: No OFD packet to send [13:10:38]OFD Sender: No OFD packet to send [13:10:43]OFD Sender: No OFD packet to send [13:10:48]OFD Sender: No OFD packet to send [13:10:53]OFD Sender: No OFD packet to send [13:10:58]OFD Sender: No OFD packet to send [13:11:03]OFD Sender: No OFD packet to send [13:11:08]OFD Sender: No OFD packet to send [13:11:13]OFD Sender: No OFD packet to send [13:11:18]OFD Sender: No OFD packet to send [13:11:23]OFD Sender: No OFD packet to send [13:11:28]OFD Sender: No OFD packet to send [13:11:33]OFD Sender: No OFD packet to send [13:11:38]OFD Sender: No OFD packet to send [13:11:43]OFD Sender: No OFD packet to send [13:11:48]OFD Sender: No OFD packet to send [13:11:53]OFD Sender: No OFD packet to send [13:11:58]OFD Sender: No OFD packet to send [13:12:03]OFD Sender: No OFD packet to send [13:12:08]OFD Sender: No OFD packet to send [13:12:13]OFD Sender: No OFD packet to send [13:12:18]OFD Sender: No OFD packet to send [13:12:23]OFD Sender: No OFD packet to send [13:12:28]OFD Sender: No OFD packet to send [13:12:33]OFD Sender: No OFD packet to send [13:12:39]OFD Sender: No OFD packet to send [13:12:44]OFD Sender: No OFD packet to send [13:12:49]OFD Sender: No OFD packet to send [13:12:54]OFD Sender: No OFD packet to send [13:12:59]OFD Sender: No OFD packet to send [13:13:04]OFD Sender: No OFD packet to send [13:13:09]OFD Sender: No OFD packet to send [13:13:14]OFD Sender: No OFD packet to send [13:13:19]OFD Sender: No OFD packet to send [13:13:24]OFD Sender: No OFD packet to send [13:13:29]OFD Sender: No OFD packet to send [13:13:34]OFD Sender: No OFD packet to send [13:13:39]OFD Sender: No OFD packet to send [13:13:44]OFD Sender: No OFD packet to send [13:13:49]OFD Sender: No OFD packet to send [13:13:54]OFD Sender: No OFD packet to send [13:13:59]OFD Sender: No OFD packet to send [13:14:04]OFD Sender: No OFD packet to send [13:14:09]OFD Sender: No OFD packet to send [13:14:14]OFD Sender: No OFD packet to send [13:14:19]OFD Sender: No OFD packet to send [13:14:24]OFD Sender: No OFD packet to send [13:14:29]OFD Sender: No OFD packet to send [13:14:34]OFD Sender: No OFD packet to send [13:14:39]OFD Sender: No OFD packet to send [13:14:44]OFD Sender: No OFD packet to send [13:14:49]OFD Sender: No OFD packet to send [13:14:54]OFD Sender: No OFD packet to send [13:14:59]OFD Sender: No OFD packet to send [13:15:04]OFD Sender: No OFD packet to send [13:15:09]OFD Sender: No OFD packet to send [13:15:14]OFD Sender: No OFD packet to send [13:15:19]OFD Sender: No OFD packet to send [13:15:24]OFD Sender: No OFD packet to send [13:15:29]OFD Sender: No OFD packet to send [13:15:34]OFD Sender: No OFD packet to send [13:15:39]OFD Sender: No OFD packet to send [13:15:44]OFD Sender: No OFD packet to send [13:15:49]OFD Sender: No OFD packet to send [13:15:54]OFD Sender: No OFD packet to send [13:15:59]OFD Sender: No OFD packet to send [13:16:04]OFD Sender: No OFD packet to send [13:16:09]OFD Sender: No OFD packet to send [13:16:14]OFD Sender: No OFD packet to send [13:16:19]OFD Sender: No OFD packet to send [13:16:24]OFD Sender: No OFD packet to send [13:16:29]OFD Sender: No OFD packet to send [13:16:34]OFD Sender: No OFD packet to send [13:16:39]OFD Sender: No OFD packet to send [13:16:44]OFD Sender: No OFD packet to send [13:16:49]OFD Sender: No OFD packet to send [13:16:54]OFD Sender: No OFD packet to send [13:16:59]OFD Sender: No OFD packet to send [13:17:04]OFD Sender: No OFD packet to send [13:17:09]OFD Sender: No OFD packet to send [13:17:14]OFD Sender: No OFD packet to send [13:17:19]OFD Sender: No OFD packet to send [13:17:24]OFD Sender: No OFD packet to send [13:17:29]OFD Sender: No OFD packet to send [13:17:34]OFD Sender: No OFD packet to send [13:17:39]OFD Sender: No OFD packet to send [13:17:44]OFD Sender: No OFD packet to send [13:17:49]OFD Sender: No OFD packet to send [13:17:54]OFD Sender: No OFD packet to send [13:17:59]OFD Sender: No OFD packet to send [13:18:04]OFD Sender: No OFD packet to send [13:18:09]OFD Sender: No OFD packet to send [13:18:14]OFD Sender: No OFD packet to send [13:18:19]OFD Sender: No OFD packet to send [13:18:24]OFD Sender: No OFD packet to send [13:18:29]OFD Sender: No OFD packet to send [13:18:34]OFD Sender: No OFD packet to send [13:18:39]OFD Sender: No OFD packet to send [13:18:44]OFD Sender: No OFD packet to send [13:18:49]OFD Sender: No OFD packet to send [13:18:54]OFD Sender: No OFD packet to send [13:18:59]OFD Sender: No OFD packet to send [13:19:04]OFD Sender: No OFD packet to send [13:19:09]OFD Sender: No OFD packet to send [13:19:14]OFD Sender: No OFD packet to send [13:19:19]OFD Sender: No OFD packet to send [13:19:24]OFD Sender: No OFD packet to send [13:19:29]OFD Sender: No OFD packet to send [13:19:34]OFD Sender: No OFD packet to send [13:19:39]OFD Sender: No OFD packet to send [13:19:44]OFD Sender: No OFD packet to send [13:19:49]OFD Sender: No OFD packet to send [13:19:54]OFD Sender: No OFD packet to send [13:19:59]OFD Sender: No OFD packet to send [13:20:04]OFD Sender: No OFD packet to send [13:20:09]OFD Sender: No OFD packet to send [13:20:14]OFD Sender: No OFD packet to send [13:20:19]OFD Sender: No OFD packet to send [13:20:24]OFD Sender: No OFD packet to send [13:20:29]OFD Sender: No OFD packet to send [13:20:34]OFD Sender: No OFD packet to send [13:20:39]OFD Sender: No OFD packet to send [13:20:44]OFD Sender: No OFD packet to send [13:20:49]OFD Sender: No OFD packet to send [13:20:54]OFD Sender: No OFD packet to send [13:20:59]OFD Sender: No OFD packet to send [13:21:04]OFD Sender: No OFD packet to send [13:21:09]OFD Sender: No OFD packet to send [13:21:14]OFD Sender: No OFD packet to send [13:21:19]OFD Sender: No OFD packet to send [13:21:24]OFD Sender: No OFD packet to send [13:21:29]OFD Sender: No OFD packet to send [13:21:34]OFD Sender: No OFD packet to send [13:21:39]OFD Sender: No OFD packet to send [13:21:44]OFD Sender: No OFD packet to send [13:21:49]OFD Sender: No OFD packet to send [13:21:54]OFD Sender: No OFD packet to send [13:21:59]OFD Sender: No OFD packet to send [13:22:04]OFD Sender: No OFD packet to send [13:22:09]OFD Sender: No OFD packet to send [13:22:14]OFD Sender: No OFD packet to send [13:22:19]OFD Sender: No OFD packet to send [13:22:24]OFD Sender: No OFD packet to send [13:22:29]OFD Sender: No OFD packet to send [13:22:34]OFD Sender: No OFD packet to send [13:22:39]OFD Sender: No OFD packet to send [13:22:44]OFD Sender: No OFD packet to send [13:22:49]OFD Sender: No OFD packet to send [13:22:54]OFD Sender: No OFD packet to send [13:22:59]OFD Sender: No OFD packet to send [13:23:04]OFD Sender: No OFD packet to send [13:23:09]OFD Sender: No OFD packet to send [13:23:14]OFD Sender: No OFD packet to send [13:23:19]OFD Sender: No OFD packet to send [13:23:24]OFD Sender: No OFD packet to send [13:23:29]OFD Sender: No OFD packet to send [13:23:34]OFD Sender: No OFD packet to send [13:23:39]OFD Sender: No OFD packet to send [13:23:44]OFD Sender: No OFD packet to send [13:23:49]OFD Sender: No OFD packet to send [13:23:54]OFD Sender: No OFD packet to send [13:23:59]OFD Sender: No OFD packet to send [13:24:04]OFD Sender: No OFD packet to send [13:24:09]OFD Sender: No OFD packet to send [13:24:14]OFD Sender: No OFD packet to send [13:24:19]OFD Sender: No OFD packet to send [13:24:24]OFD Sender: No OFD packet to send [13:24:29]OFD Sender: No OFD packet to send [13:24:34]OFD Sender: No OFD packet to send [13:24:39]OFD Sender: No OFD packet to send [13:24:44]OFD Sender: No OFD packet to send [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:14]OFD Sender: No OFD packet to send [13:26:19]OFD Sender: No OFD packet to send [13:26:24]OFD Sender: No OFD packet to send [13:26:29]OFD Sender: No OFD packet to send [13:26:34]OFD Sender: No OFD packet to send [13:26:39]OFD Sender: No OFD packet to send [13:26:44]OFD Sender: No OFD packet to send [13:26:49]OFD Sender: No OFD packet to send [13:26:54]OFD Sender: No OFD packet to send [13:26:59]OFD Sender: No OFD packet to send [13:27:04]OFD Sender: No OFD packet to send [13:27:09]OFD Sender: No OFD packet to send [13:27:14]OFD Sender: No OFD packet to send [13:27:19]OFD Sender: No OFD packet to send [13:27:24]OFD Sender: No OFD packet to send [13:27:29]OFD Sender: No OFD packet to send [13:27:34]OFD Sender: No OFD packet to send [13:27:39]OFD Sender: No OFD packet to send [13:27:44]OFD Sender: No OFD packet to send [13:27:49]OFD Sender: No OFD packet to send [13:27:54]OFD Sender: No OFD packet to send [13:27:59]OFD Sender: No OFD packet to send [13:28:04]OFD Sender: No OFD packet to send [13:28:09]OFD Sender: No OFD packet to send [13:28:14]OFD Sender: No OFD packet to send [13:28:19]OFD Sender: No OFD packet to send [13:28:24]OFD Sender: No OFD packet to send [13:28:29]OFD Sender: No OFD packet to send [13:28:34]OFD Sender: No OFD packet to send [13:28:39]OFD Sender: No OFD packet to send [13:28:44]OFD Sender: No OFD packet to send [13:28:49]OFD Sender: No OFD packet to send [13:28:54]OFD Sender: No OFD packet to send [13:28:59]OFD Sender: No OFD packet to send [13:29:04]OFD Sender: No OFD packet to send [13:29:09]OFD Sender: No OFD packet to send [13:29:14]OFD Sender: No OFD packet to send [13:29:19]OFD Sender: No OFD packet to send [13:29:24]OFD Sender: No OFD packet to send [13:29:29]OFD Sender: No OFD packet to send [13:29:34]OFD Sender: No OFD packet to send [13:29:39]OFD Sender: No OFD packet to send [13:29:44]OFD Sender: No OFD packet to send [13:29:49]OFD Sender: No OFD packet to send [13:29:54]OFD Sender: No OFD packet to send [13:29:59]OFD Sender: No OFD packet to send [13:30:04]OFD Sender: No OFD packet to send [13:30:09]OFD Sender: No OFD packet to send [13:30:14]OFD Sender: No OFD packet to send [13:30:19]OFD Sender: No OFD packet to send [13:30:24]OFD Sender: No OFD packet to send [13:30:29]OFD Sender: No OFD packet to send [13:30:34]OFD Sender: No OFD packet to send [13:30:39]OFD Sender: No OFD packet to send [13:30:44]OFD Sender: No OFD packet to send [13:30:49]OFD Sender: No OFD packet to send [13:30:54]OFD Sender: No OFD packet to send [13:30:59]OFD Sender: No OFD packet to send [13:31:04]OFD Sender: No OFD packet to send [13:31:09]OFD Sender: No OFD packet to send [13:31:14]OFD Sender: No OFD packet to send [13:31:19]OFD Sender: No OFD packet to send [13:31:24]OFD Sender: No OFD packet to send [13:31:29]OFD Sender: No OFD packet to send [13:31:34]OFD Sender: No OFD packet to send [13:31:39]OFD Sender: No OFD packet to send [13:31:44]OFD Sender: No OFD packet to send [13:31:49]OFD Sender: No OFD packet to send [13:31:54]OFD Sender: No OFD packet to send [13:31:59]OFD Sender: No OFD packet to send [13:32:04]OFD Sender: No OFD packet to send [13:32:09]OFD Sender: No OFD packet to send [13:32:14]OFD Sender: No OFD packet to send [13:32:19]OFD Sender: No OFD packet to send [13:32:24]OFD Sender: No OFD packet to send [13:32:29]OFD Sender: No OFD packet to send [13:32:34]OFD Sender: No OFD packet to send [13:32:39]OFD Sender: No OFD packet to send [13:32:44]OFD Sender: No OFD packet to send [13:32:49]OFD Sender: No OFD packet to send [13:32:54]OFD Sender: No OFD packet to send [13:32:59]OFD Sender: No OFD packet to send [13:33:04]OFD Sender: No OFD packet to send [13:33:09]OFD Sender: No OFD packet to send [13:33:14]OFD Sender: No OFD packet to send [13:33:19]OFD Sender: No OFD packet to send [13:33:24]OFD Sender: No OFD packet to send [13:33:29]OFD Sender: No OFD packet to send [13:33:34]OFD Sender: No OFD packet to send [13:33:39]OFD Sender: No OFD packet to send [13:33:44]OFD Sender: No OFD packet to send [13:33:49]OFD Sender: No OFD packet to send [13:33:54]OFD Sender: No OFD packet to send [13:33:59]OFD Sender: No OFD packet to send [13:34:05]OFD Sender: No OFD packet to send [13:34:10]OFD Sender: No OFD packet to send [13:34:15]OFD Sender: No OFD packet to send [13:34:20]OFD Sender: No OFD packet to send [13:34:25]OFD Sender: No OFD packet to send [13:34:30]OFD Sender: No OFD packet to send [13:34:35]OFD Sender: No OFD packet to send [13:34:40]OFD Sender: No OFD packet to send [13:34:45]OFD Sender: No OFD packet to send [13:34:50]OFD Sender: No OFD packet to send [13:34:55]OFD Sender: No OFD packet to send [13:35:00]OFD Sender: No OFD packet to send [13:35:05]OFD Sender: No OFD packet to send [13:35:10]OFD Sender: No OFD packet to send [13:35:15]OFD Sender: No OFD packet to send [13:35:20]OFD Sender: No OFD packet to send [13:35:25]OFD Sender: No OFD packet to send [13:35:30]OFD Sender: No OFD packet to send [13:35:35]OFD Sender: No OFD packet to send [13:35:40]OFD Sender: No OFD packet to send [13:35:45]OFD Sender: No OFD packet to send [13:35:50]OFD Sender: No OFD packet to send [13:35:55]OFD Sender: No OFD packet to send [13:36:00]OFD Sender: No OFD packet to send [13:36:05]OFD Sender: No OFD packet to send [13:36:10]OFD Sender: No OFD packet to send [13:36:15]OFD Sender: No OFD packet to send [13:36:20]OFD Sender: No OFD packet to send [13:36:25]OFD Sender: No OFD packet to send [13:36:30]OFD Sender: No OFD packet to send [13:36:35]OFD Sender: No OFD packet to send [13:36:40]OFD Sender: No OFD packet to send [13:36:45]OFD Sender: No OFD packet to send [13:36:50]OFD Sender: No OFD packet to send [13:36:55]OFD Sender: No OFD packet to send [13:37:00]OFD Sender: No OFD packet to send [13:37:05]OFD Sender: No OFD packet to send [13:37:10]OFD Sender: No OFD packet to send [13:37:15]OFD Sender: No OFD packet to send [13:37:20]OFD Sender: No OFD packet to send [13:37:25]OFD Sender: No OFD packet to send [13:37:30]OFD Sender: No OFD packet to send [13:37:35]OFD Sender: No OFD packet to send [13:37:40]OFD Sender: No OFD packet to send [13:37:45]OFD Sender: No OFD packet to send [13:37:50]OFD Sender: No OFD packet to send [13:37:55]OFD Sender: No OFD packet to send [13:38:00]OFD Sender: No OFD packet to send [13:38:05]OFD Sender: No OFD packet to send [13:38:10]OFD Sender: No OFD packet to send [13:38:15]OFD Sender: No OFD packet to send [13:38:20]OFD Sender: No OFD packet to send [13:38:25]OFD Sender: No OFD packet to send [13:38:30]OFD Sender: No OFD packet to send [13:38:35]OFD Sender: No OFD packet to send [13:38:40]OFD Sender: No OFD packet to send [13:38:45]OFD Sender: No OFD packet to send [13:38:50]OFD Sender: No OFD packet to send [13:38:55]accept exits with 7 [13:38:55]New connection [13:38:55]New thread 3066453348 created [13:38:55]Thread 3066596708 joined [13:38:55]Waiting for new connection... [13:38:55] Sock 7.Parse request [13:38:55]Sock 7.Check first char [13:38:55]Sock 7.First char is OK [13:38:55]request: POST /json_proto HTTP/1.0 [13:38:55]Method: POST [13:38:55]URL: /json_proto [13:38:55]Method is POST - this is cgi request [13:38:55]url: /json_proto [13:38:55]query_string will be loaded in cgi processing [13:38:55]execute_cgi json_proto POST (null) [13:38:55]execute_cgi path=json_proto method=POST [13:38:55]POST find Content-Length [13:38:55]Host: 172.17.32.68:8080 [13:38:55]Content-Length: 663 [13:38:55]Content-Type: application/json [13:38:55] [13:38:55]POST finish read [13:38:55]Found Content-Length = 663 [13:38:55]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242265", "tax_sys" : 0, "items" : [ { "code": "90456060", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Red Bull Sugarfree 0.25\u043B \u0436", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:38:55]execute_script... [13:38: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)242265", "tax_sys" : 0, "items" : [ { "code": "90456060", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Red Bull Sugarfree 0.25\u043B \u0436", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:38:55]POST & json_proto [13:38:55]process_json_proto [13:38:55]json parsed OK: [13:38:55]protocol is kg_v1.0 [13:38:55]action value=close_receipt [13:38:55]process_action close_receipt [13:38:55]cmd_close_receipt [13:38:55]MH_GetDate [13:38:55]Write to MH i2c: F0 00 00 34 54 77 [13:38:55]Write i2c OK [13:38:55]MH_I2C_Read... [13:38:55]Read from MH i2c: F0 [13:38:55]MH_I2C_Read... [13:38:55]Read from MH i2c: F0 09 00 [13:38:55]MH_I2C_Read... [13:38:55]Read from MH i2c: F0 09 00 34 54 00 FE 5A F0 65 0A 64 6E 65 6E [13:38:55]GetLastDocTimeStamp 1710247730 [13:38:55]current date 1710250750 [13:38:55]FM_GetShiftState [13:38:55]SAM_PROTO_GetShiftState [13:38:55]wFMCommunicate request_size=4 [13:38:55]MH_SAM_APDU [13:38:55]CAPDU: 80 13 01 00 [13:38:55]Write to MH i2c: E2 08 00 35 54 80 13 01 00 00 00 00 00 06 [13:38:55]Write i2c OK [13:38:55]MH_I2C_Read... [13:38:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:38:55]Read from MH i2c: E2 [13:38:55]MH_I2C_Read... [13:38:55]Read from MH i2c: E2 0E 00 [13:38:55]MH_I2C_Read... [13:38:55]Read from MH i2c: E2 0E 00 35 54 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 35 [13:38:55]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [13:38:55]wFMCommunicate OK [13:38:55]SAM_PROTO_GetShiftState done [13:38:55]FM_GetShiftState done [13:38:55]opened in 1710202417 [13:38:55]opened+sec_in_day 1710288817 [13:38:55]quantity*price = 14000 [13:38:55]sum+1 = 14001 [13:38:55]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 140.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 30 12.03.2024 13:39 Смена: 314 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47352 ФПД: 253767372747141 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T133910&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47352&fm=253767372747141&tin=02508201610067®Number=0000000000092018&sum=14000 0 [13:38:56]StoreToDocumentArchive [13:38:56]shift 314 fd 47352 [13:38:56]save to /storage/0314/doc_00047352 [13:38:56]save last doc name /storage/0314/doc_00047352 to /storage/kkm_last_doc_name [13:38:56]save OK [13:38:56]Clear old archive folders... [13:38:56]ProcessDocumentItem done err = 0, tmpTLVsize=291 [13:38:56]tlvbuf is B6E83A60 [13:38:56]SAM_PROTO_ClearQueue [13:38:56]wFMCommunicate request_size=4 [13:38:56]MH_SAM_APDU [13:38:56]CAPDU: 80 09 00 00 [13:38:56]Write to MH i2c: E2 08 00 42 54 80 09 00 00 00 00 00 00 08 [13:38:56]Write i2c OK [13:38:56]MH_I2C_Read... [13:38:56]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:38:56]Read from MH i2c: E2 [13:38:56]MH_I2C_Read... [13:38:56]Read from MH i2c: E2 03 00 [13:38:56]MH_I2C_Read... [13:38:56]Read from MH i2c: E2 03 00 42 54 00 90 00 0A [13:38:56]RAPDU: 90 00 [13:38:56]wFMCommunicate OK [13:38:56]SAM_PROTO_ClearQueue done [13:38:56]KKMCreateOFDPacket [13:38:56]OFDProtocolAddRootSTLVToBuf [13:38:56]FM_MakeSignedData [13:38:56]FM_MakeSignedData [13:38:56]SAM_PROTO_SignData [13:38:56]wFMCommunicate request_size=4 [13:38:56]MH_SAM_APDU [13:38:56]CAPDU: 80 0D 01 02 [13:38:56]Write to MH i2c: E2 08 00 43 54 80 0D 01 02 00 00 00 00 10 [13:38:56]Write i2c OK [13:38:56]MH_I2C_Read... [13:38:56]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:38:56]Read from MH i2c: E2 [13:38:56]MH_I2C_Read... [13:38:56]Read from MH i2c: E2 03 00 [13:38:56]MH_I2C_Read... [13:38:56]Read from MH i2c: E2 03 00 43 54 00 90 00 0B [13:38:56]RAPDU: 90 00 [13:38:56]wFMCommunicate OK [13:38:56]wFMCommunicate request_size=255 [13:38:56]MH_SAM_APDU [13:38:56]CAPDU: 80 0D 02 02 FA 03 00 23 01 1E 04 01 00 01 23 04 75 00 8A 04 08 00 39 30 34 35 36 30 36 30 06 04 36 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 52 65 64 20 42 75 6C 6C 20 53 75 67 61 72 66 72 65 65 20 30 2E 32 35 D0 BB 20 D0 B6 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 FE 5A F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 [13:38:56]Write to MH i2c: E2 02 01 44 54 80 0D 02 02 FA 00 03 00 23 01 1E 04 01 00 01 23 04 75 00 8A 04 08 00 39 30 34 35 36 30 36 30 06 04 36 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 52 65 64 20 42 75 6C 6C 20 53 75 67 61 72 66 72 65 65 20 30 2E 32 35 D0 BB 20 D0 B6 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 FE 5A F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 00 00 2E [13:38:56]Write i2c OK [13:38:56]MH_I2C_Read... [13:38:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:38:56]Read from MH i2c: E2 [13:38:56]MH_I2C_Read... [13:38:56]Read from MH i2c: E2 03 00 [13:38:56]MH_I2C_Read... [13:38:56]Read from MH i2c: E2 03 00 44 54 00 90 00 0C [13:38:56]RAPDU: 90 00 [13:38:56]wFMCommunicate OK [13:38:56]wFMCommunicate request_size=50 [13:38:56]MH_SAM_APDU [13:38:56]CAPDU: 80 0D 02 02 2D 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 F8 B8 00 00 35 04 06 00 E6 CC D2 1B B1 85 [13:38:56]Write to MH i2c: E2 35 00 45 54 80 0D 02 02 2D 00 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 F8 B8 00 00 35 04 06 00 E6 CC D2 1B B1 85 00 00 F1 [13:38:56]Write i2c OK [13:38:56]MH_I2C_Read... [13:38:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:38:56]Read from MH i2c: E2 [13:38:56]MH_I2C_Read... [13:38:56]Read from MH i2c: E2 03 00 [13:38:56]MH_I2C_Read... [13:38:56]Read from MH i2c: E2 03 00 45 54 00 90 00 0D [13:38:56]RAPDU: 90 00 [13:38:56]wFMCommunicate OK [13:38:56]wFMCommunicate request_size=4 [13:38:56]MH_SAM_APDU [13:38:56]CAPDU: 80 0D 03 02 [13:38:56]Write to MH i2c: E2 08 00 46 54 80 0D 03 02 00 00 00 00 15 [13:38:56]Write i2c OK [13:38:56]MH_I2C_Read... [13:38:56]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:38:56]Read from MH i2c: E2 [13:38:56]MH_I2C_Read... [13:38:56]Read from MH i2c: E2 0B 00 [13:38:56]MH_I2C_Read... [13:38:56]Read from MH i2c: E2 0B 00 46 54 00 D9 27 CF 2D EF 16 F8 55 90 00 64 [13:38:56]RAPDU: D9 27 CF 2D EF 16 F8 55 90 00 [13:38:56]wFMCommunicate OK [13:38:56]SAM_PROTO_SignData done [13:38:56]FM_MakeSignedData done [13:38:56]CreateOFDProtocolMessage [13:38:56]wFMCommunicate request_size=4 [13:38:56]MH_SAM_APDU [13:38:56]CAPDU: 80 11 00 00 [13:38:56]Write to MH i2c: E2 08 00 47 54 80 11 00 00 00 00 00 00 15 [13:38:56]Write i2c OK [13:38:56]MH_I2C_Read... [13:38:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:38:56]Read from MH i2c: E2 [13:38:56]MH_I2C_Read... [13:38:56]Read from MH i2c: E2 17 00 [13:38:56]MH_I2C_Read... [13:38:56]Read from MH i2c: E2 17 00 47 54 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 67 [13:38:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [13:38:56]wFMCommunicate OK [13:38:56]CreateOFDProtocolMessage done [13:38:56]OFDSenderStorePacket 47352 [13:38:56]StoreOFDPacket docnum=47352 [13:38:56]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 37 01 00 00 E3 A1 2F 01 A6 97 5A 03 01 00 03 00 23 01 1E 04 01 00 01 23 04 75 00 8A 04 08 00 39 30 34 35 36 30 36 30 06 04 36 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 52 65 64 20 42 75 6C 6C 20 53 75 67 61 72 66 72 65 65 20 30 2E 32 35 D0 BB 20 D0 B6 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 FE 5A F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 F8 B8 00 00 35 04 06 00 E6 CC D2 1B B1 85 D9 27 CF 2D EF 16 F8 55 [13:38:56]CheckFolder [13:38:56]dirname=/storage/ofd_packets [13:38:56]CheckFolder done [13:38:56]ProducePacketName [13:38:56]name=ofd_packets/00047352 [13:38:56]NVStorageSaveData ofd_packets/00047352 [13:38:56]File name is /storage/ofd_packets/00047352 [13:38:56]Write 341 bytes [13:38:56]NVStorageSaveData done [13:38:56]OFDSenderStorePacket done [13:38:56]KKMCreateOFDPacket done [13:38:56]NVStorageSaveData kkm_last_timestamp [13:38:56]File name is /storage/kkm_last_timestamp [13:38:56]Write 4 bytes [13:38:56]NVStorageSaveData done [13:38:56]ExternCall_PrintAddStr [13:38:56]wPrintStart [13:38:56]Write to MH i2c: 01 00 00 48 54 9C [13:38:56]Write i2c OK [13:38:56]MH_I2C_Read... [13:38:56]Read from MH i2c: 01 [13:38:56]MH_I2C_Read... [13:38:56]Read from MH i2c: 01 07 00 [13:38:56]MH_I2C_Read... [13:38:56]Read from MH i2c: 01 07 00 48 54 00 00 00 00 00 FF 0F B1 [13:38:56]RasterBufferAndPrint [13:38:56]line Счет N : (3)242265 [13:38:56]line ИНН: 02508201610067 [13:38:56]line Контрольно-Кассовый Чек [13:38:56]line ПРОДАЖА [13:38:56]line Товар: 90456060 [13:38:56]line Напиток энерг Red Bull Sugarfree 0.25л ж [13:38:56]line 1.000 * 140.00 [13:38:56]line = 140.00 [13:38:56]line НДС 12% НСП 1% [13:38:56]line > о реализуемом товаре [13:38:56]line ИТОГО: 140.00 [13:38:56]line НСП 1% : 1.24 [13:38:56]line НДС 12% : 14.87 [13:38:56]line Наличными: 140.00 [13:38:56]line Безнал.: 0.00 [13:38:56]line Место: АЗС № 15 "Партнер Нефть" [13:38:56]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [13:38:56]line СНО: Общий режим [13:38:56]line Чек 30 12.03.2024 13:39 [13:38:57]line Смена: 314 ФФД: 1.0 [13:38:57]line ЗНМ: 0300000097 [13:38:57]line РНМ: 0000000000092018 [13:38:57]line Версия ККМ: 001 [13:38:57]line ФМ: 0000000000871816 [13:38:57]line ФД: 47352 [13:38:57]line ФПД: 253767372747141 [13:38:57]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T133910&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47352&fm=253767372747141&tin=02508201610067®Number=0000000000092018&sum=14000 [13:38:57]line 0 [13:38:57]OFD Sender: Processing packet 47352 [packets to send 8, broken 7] [13:38:57]ProducePacketName [13:38:57]name=ofd_packets/00047352 [13:38:57]OFD Sender: To server: pG, [13:38:57]CommunicateWithHost lk.salyk.kg:30040 [13:38:57]ConnectInit lk.salyk.kg [13:38:57]written 0, free lines is 4095 [13:38:57]Connected sock=10 [13:38: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 31 36 37 01 00 00 E3 A1 2F 01 A6 97 5A 03 01 00 03 00 23 01 1E 04 01 00 01 23 04 75 00 8A 04 08 00 39 30 34 35 36 30 36 30 06 04 36 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 52 65 64 20 42 75 6C 6C 20 53 75 67 61 72 66 72 65 65 20 30 2E 32 35 D0 BB 20 D0 B6 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 FE 5A F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 F8 B8 00 00 35 04 06 00 E6 CC D2 1B B1 85 D9 27 CF 2D EF 16 F8 55 [13:38: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 31 36 4F 00 00 00 D9 0C 47 00 12 96 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 F8 B8 00 00 F4 03 04 00 90 05 F0 65 B6 04 01 00 00 E9 D5 5B 52 31 9F 9D C0 [13:38:57]CommunicateWithHost err = 0 [13:38:57]CheckOFDResponse [13:38:57]1017 (14) - 77093643461234 [13:38:57]1041 (16) - 0000000000871816 [13:38:57]1040 (4) - 47352 [13:38:57]1012 (4) - 12.03.2024 07:34 [13:38:57]1206 (1) - 0 [13:38:57]OFD Sender: Remove packet 47352 [13:38:57]ProducePacketName [13:38:57]name=ofd_packets/00047352 [13:38:57]NVStorageDeleteData [13:38:57]Write to MH i2c: 01 00 00 71 54 C5 [13:38:57]Write i2c OK [13:38:57]MH_I2C_Read... [13:38:57]Read from MH i2c: 01 [13:38:57]MH_I2C_Read... [13:38:57]Read from MH i2c: 01 07 00 [13:38:57]MH_I2C_Read... [13:38:57]Read from MH i2c: 01 07 00 71 54 00 00 00 00 00 C8 0C A0 [13:38:57]RasterBufferAndPrint [13:38:57]line [13:38:57]line [13:38:57]line [13:38:57]line [13:38:57]line [13:38:57]written 0, free lines is 3277 [13:38:57]MH_Cut [13:38:57]Write to MH i2c: D1 01 00 78 54 01 9E [13:38:57]Write i2c OK [13:38:57]MH_I2C_Read... [13:38:57]Read from MH i2c: D1 [13:38:57]MH_I2C_Read... [13:38:57]Read from MH i2c: D1 01 00 [13:38:57]MH_I2C_Read... [13:38:57]Read from MH i2c: D1 01 00 78 54 00 9D [13:38:57]Write to MH i2c: 01 00 00 79 54 CD [13:38:57]Write i2c OK [13:38:57]MH_I2C_Read... [13:38:57]OFD Sender: No OFD packet to send [13:38:58]*** Cut start [13:38:58]*** Purtial cut [13:38:58]*** Stage 1: CUTSNS_PIN = 1 [13:38:58]Read from MH i2c: 01 [13:38:58]MH_I2C_Read... [13:38:58]*** Stop cut motor [13:38:58]*** Cut end [13:38:58]Read from MH i2c: 01 07 00 [13:38:58]MH_I2C_Read... [13:38:58]Read from MH i2c: 01 07 00 79 54 00 00 00 00 00 FF 0F E2 [13:38:58]process_action close_receipt done [13:38:58]requested_data is exist [13:38:58]produce_requested_data [13:38:58]requested_item fm.sn is exist - process it [13:38:58]wFMCommunicate request_size=4 [13:38:58]MH_SAM_APDU [13:38:58]CAPDU: 80 11 00 00 [13:38:58]Write to MH i2c: E2 08 00 7A 54 80 11 00 00 00 00 00 00 48 [13:38:58]Write i2c OK [13:38:58]MH_I2C_Read... [13:38:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:38:58]Read from MH i2c: E2 [13:38:58]MH_I2C_Read... [13:38:58]Read from MH i2c: E2 17 00 [13:38:58]MH_I2C_Read... [13:38:58]Read from MH i2c: E2 17 00 7A 54 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 9A [13:38:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [13:38:58]wFMCommunicate OK [13:38:58]requested_item fd.num is exist - process it [13:38:58]SAM_PROTO_GetFieldsCounters [13:38:58]wFMCommunicate request_size=4 [13:38:58]MH_SAM_APDU [13:38:58]CAPDU: 80 13 00 00 [13:38:58]Write to MH i2c: E2 08 00 7B 54 80 13 00 00 00 00 00 00 4B [13:38:58]Write i2c OK [13:38:58]MH_I2C_Read... [13:38:58]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:38:58]Read from MH i2c: E2 [13:38:58]MH_I2C_Read... [13:38:58]Read from MH i2c: E2 62 00 [13:38:58]MH_I2C_Read... [13:38:58]Read from MH i2c: E2 62 00 7B 54 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 F8 B8 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 1E 00 00 00 5E 04 04 00 1E 00 00 00 57 04 04 00 1F 00 00 00 19 04 04 00 00 00 00 00 90 00 AB [13:38:58]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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 F8 B8 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 1E 00 00 00 5E 04 04 00 1E 00 00 00 57 04 04 00 1F 00 00 00 19 04 04 00 00 00 00 00 90 00 [13:38:58]wFMCommunicate OK [13:38:58]SAM_PROTO_GetFieldsCounters done [13:38:58]requested_item shift.num is exist - process it [13:38:58]requested_item shift.opened is exist - process it [13:38:58]req_shift_opened [13:38:58]FM_GetShiftState [13:38:58]SAM_PROTO_GetShiftState [13:38:58]wFMCommunicate request_size=4 [13:38:58]MH_SAM_APDU [13:38:58]CAPDU: 80 13 01 00 [13:38:58]Write to MH i2c: E2 08 00 7C 54 80 13 01 00 00 00 00 00 4D [13:38:58]Write i2c OK [13:38:58]MH_I2C_Read... [13:38:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:38:58]Read from MH i2c: E2 [13:38:58]MH_I2C_Read... [13:38:58]Read from MH i2c: E2 0E 00 [13:38:58]MH_I2C_Read... [13:38:58]Read from MH i2c: E2 0E 00 7C 54 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 7C [13:38:58]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [13:38:58]wFMCommunicate OK [13:38:58]SAM_PROTO_GetShiftState done [13:38:58]FM_GetShiftState done [13:38:58]req_shift_opened done [13:38:58]requested_item shift.open_date is exist - process it [13:38:58]req_shift_open_date [13:38:58]req_shift_open_date done [13:38:58]produce_requested_data done [13:38:58]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47352,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [13:38:58]process_action_free close_receipt [13:38:58]json_value_free [13:38:58]json_value_free done [13:38:58]process_json_proto returns [13:38:58]Send response to host [13:38:58]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47352,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [13:38:58]free response buf [13:38:58]execute_script done [13:38:58]execute_script returns [13:38:58]free content buf [13:38:58]Sock 7.Close socket [13:38:58]Sock 7.Thread stoped [13:39:02]OFD Sender: No OFD packet to send [13:39:07]OFD Sender: No OFD packet to send [13:39:12]OFD Sender: No OFD packet to send [13:39:17]OFD Sender: No OFD packet to send [13:39:22]OFD Sender: No OFD packet to send [13:39:27]OFD Sender: No OFD packet to send [13:39:32]OFD Sender: No OFD packet to send [13:39:37]OFD Sender: No OFD packet to send [13:39:42]OFD Sender: No OFD packet to send [13:39:47]OFD Sender: No OFD packet to send [13:39:52]OFD Sender: No OFD packet to send [13:39:57]OFD Sender: No OFD packet to send [13:40:02]OFD Sender: No OFD packet to send [13:40:07]OFD Sender: No OFD packet to send [13:40:12]OFD Sender: No OFD packet to send [13:40:17]OFD Sender: No OFD packet to send [13:40:22]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:53]OFD Sender: No OFD packet to send [13:42:58]OFD Sender: No OFD packet to send [13:43:03]OFD Sender: No OFD packet to send [13:43:08]OFD Sender: No OFD packet to send [13:43:13]OFD Sender: No OFD packet to send [13:43:18]OFD Sender: No OFD packet to send [13:43:23]OFD Sender: No OFD packet to send [13:43:28]OFD Sender: No OFD packet to send [13:43:33]OFD Sender: No OFD packet to send [13:43:38]OFD Sender: No OFD packet to send [13:43:43]OFD Sender: No OFD packet to send [13:43:48]OFD Sender: No OFD packet to send [13:43:53]OFD Sender: No OFD packet to send [13:43:58]OFD Sender: No OFD packet to send [13:44:03]OFD Sender: No OFD packet to send [13:44:08]OFD Sender: No OFD packet to send [13:44:13]OFD Sender: No OFD packet to send [13:44:18]OFD Sender: No OFD packet to send [13:44:23]OFD Sender: No OFD packet to send [13:44:28]OFD Sender: No OFD packet to send [13:44:33]OFD Sender: No OFD packet to send [13:44:38]OFD Sender: No OFD packet to send [13:44:43]OFD Sender: No OFD packet to send [13:44:48]OFD Sender: No OFD packet to send [13:44:53]OFD Sender: No OFD packet to send [13:44:58]OFD Sender: No OFD packet to send [13:45:03]OFD Sender: No OFD packet to send [13:45:08]OFD Sender: No OFD packet to send [13:45:13]OFD Sender: No OFD packet to send [13:45:18]OFD Sender: No OFD packet to send [13:45:23]OFD Sender: No OFD packet to send [13:45:28]OFD Sender: No OFD packet to send [13:45:33]OFD Sender: No OFD packet to send [13:45:38]OFD Sender: No OFD packet to send [13:45:43]OFD Sender: No OFD packet to send [13:45:48]OFD Sender: No OFD packet to send [13:45:53]OFD Sender: No OFD packet to send [13:45:58]OFD Sender: No OFD packet to send [13:46:03]OFD Sender: No OFD packet to send [13:46:08]OFD Sender: No OFD packet to send [13:46:13]OFD Sender: No OFD packet to send [13:46:18]OFD Sender: No OFD packet to send [13:46:23]OFD Sender: No OFD packet to send [13:46:28]OFD Sender: No OFD packet to send [13:46:33]OFD Sender: No OFD packet to send [13:46:38]OFD Sender: No OFD packet to send [13:46:43]OFD Sender: No OFD packet to send [13:46:48]OFD Sender: No OFD packet to send [13:46:53]OFD Sender: No OFD packet to send [13:46:58]OFD Sender: No OFD packet to send [13:47:03]OFD Sender: No OFD packet to send [13:47:08]OFD Sender: No OFD packet to send [13:47:13]OFD Sender: No OFD packet to send [13:47:18]OFD Sender: No OFD packet to send [13:47:23]OFD Sender: No OFD packet to send [13:47:28]OFD Sender: No OFD packet to send [13:47:33]OFD Sender: No OFD packet to send [13:47:38]OFD Sender: No OFD packet to send [13:47:43]OFD Sender: No OFD packet to send [13:47:48]OFD Sender: No OFD packet to send [13:47:53]OFD Sender: No OFD packet to send [13:47:58]OFD Sender: No OFD packet to send [13:48:03]OFD Sender: No OFD packet to send [13:48:08]OFD Sender: No OFD packet to send [13:48:13]OFD Sender: No OFD packet to send [13:48:18]OFD Sender: No OFD packet to send [13:48:23]OFD Sender: No OFD packet to send [13:48:28]OFD Sender: No OFD packet to send [13:48:33]OFD Sender: No OFD packet to send [13:48:38]OFD Sender: No OFD packet to send [13:48:43]OFD Sender: No OFD packet to send [13:48:48]OFD Sender: No OFD packet to send [13:48:53]OFD Sender: No OFD packet to send [13:48:58]OFD Sender: No OFD packet to send [13:49:03]OFD Sender: No OFD packet to send [13:49:08]OFD Sender: No OFD packet to send [13:49:13]OFD Sender: No OFD packet to send [13:49:18]OFD Sender: No OFD packet to send [13:49:23]OFD Sender: No OFD packet to send [13:49:28]OFD Sender: No OFD packet to send [13:49:33]OFD Sender: No OFD packet to send [13:49:38]OFD Sender: No OFD packet to send [13:49:43]OFD Sender: No OFD packet to send [13:49:48]OFD Sender: No OFD packet to send [13:49:53]OFD Sender: No OFD packet to send [13:49:58]OFD Sender: No OFD packet to send [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:53]OFD Sender: No OFD packet to send [13:51:58]OFD Sender: No OFD packet to send [13:52:03]OFD Sender: No OFD packet to send [13:52:08]OFD Sender: No OFD packet to send [13:52:13]OFD Sender: No OFD packet to send [13:52:18]OFD Sender: No OFD packet to send [13:52:23]OFD Sender: No OFD packet to send [13:52:28]OFD Sender: No OFD packet to send [13:52:33]OFD Sender: No OFD packet to send [13:52:38]OFD Sender: No OFD packet to send [13:52:43]OFD Sender: No OFD packet to send [13:52:48]OFD Sender: No OFD packet to send [13:52:53]OFD Sender: No OFD packet to send [13:52:58]OFD Sender: No OFD packet to send [13:53:03]OFD Sender: No OFD packet to send [13:53:08]OFD Sender: No OFD packet to send [13:53:13]OFD Sender: No OFD packet to send [13:53:18]OFD Sender: No OFD packet to send [13:53:23]OFD Sender: No OFD packet to send [13:53:28]OFD Sender: No OFD packet to send [13:53:33]OFD Sender: No OFD packet to send [13:53:38]OFD Sender: No OFD packet to send [13:53:43]OFD Sender: No OFD packet to send [13:53:48]OFD Sender: No OFD packet to send [13:53:53]OFD Sender: No OFD packet to send [13:53:58]OFD Sender: No OFD packet to send [13:54:03]OFD Sender: No OFD packet to send [13:54:08]OFD Sender: No OFD packet to send [13:54:13]OFD Sender: No OFD packet to send [13:54:18]OFD Sender: No OFD packet to send [13:54:23]OFD Sender: No OFD packet to send [13:54:28]OFD Sender: No OFD packet to send [13:54:33]OFD Sender: No OFD packet to send [13:54:38]OFD Sender: No OFD packet to send [13:54:43]OFD Sender: No OFD packet to send [13:54:48]OFD Sender: No OFD packet to send [13:54:53]OFD Sender: No OFD packet to send [13:54:58]OFD Sender: No OFD packet to send [13:55:03]OFD Sender: No OFD packet to send [13:55:08]OFD Sender: No OFD packet to send [13:55:13]OFD Sender: No OFD packet to send [13:55:18]OFD Sender: No OFD packet to send [13:55:23]OFD Sender: No OFD packet to send [13:55:28]OFD Sender: No OFD packet to send [13:55:33]OFD Sender: No OFD packet to send [13:55:38]OFD Sender: No OFD packet to send [13:55:43]OFD Sender: No OFD packet to send [13:55:48]OFD Sender: No OFD packet to send [13:55:53]OFD Sender: No OFD packet to send [13:55:58]OFD Sender: No OFD packet to send [13:56:03]OFD Sender: No OFD packet to send [13:56:08]OFD Sender: No OFD packet to send [13:56:13]OFD Sender: No OFD packet to send [13:56:18]OFD Sender: No OFD packet to send [13:56:23]OFD Sender: No OFD packet to send [13:56:28]OFD Sender: No OFD packet to send [13:56:33]OFD Sender: No OFD packet to send [13:56:38]OFD Sender: No OFD packet to send [13:56:43]OFD Sender: No OFD packet to send [13:56:48]OFD Sender: No OFD packet to send [13:56:53]OFD Sender: No OFD packet to send [13:56:58]OFD Sender: No OFD packet to send [13:57:03]OFD Sender: No OFD packet to send [13:57:08]OFD Sender: No OFD packet to send [13:57:13]OFD Sender: No OFD packet to send [13:57:18]OFD Sender: No OFD packet to send [13:57:23]OFD Sender: No OFD packet to send [13:57:28]OFD Sender: No OFD packet to send [13:57:33]OFD Sender: No OFD packet to send [13:57:38]OFD Sender: No OFD packet to send [13:57:43]OFD Sender: No OFD packet to send [13:57:48]OFD Sender: No OFD packet to send [13:57:53]OFD Sender: No OFD packet to send [13:57:58]OFD Sender: No OFD packet to send [13:58:03]OFD Sender: No OFD packet to send [13:58:08]OFD Sender: No OFD packet to send [13:58:13]OFD Sender: No OFD packet to send [13:58:18]OFD Sender: No OFD packet to send [13:58:23]OFD Sender: No OFD packet to send [13:58:28]OFD Sender: No OFD packet to send [13:58:33]OFD Sender: No OFD packet to send [13:58:38]OFD Sender: No OFD packet to send [13:58:43]OFD Sender: No OFD packet to send [13:58:48]OFD Sender: No OFD packet to send [13:58:53]OFD Sender: No OFD packet to send [13:58:58]OFD Sender: No OFD packet to send [13:59:03]OFD Sender: No OFD packet to send [13:59:08]OFD Sender: No OFD packet to send [13:59:13]OFD Sender: No OFD packet to send [13:59:18]OFD Sender: No OFD packet to send [13:59:23]OFD Sender: No OFD packet to send [13:59:28]OFD Sender: No OFD packet to send [13:59:33]OFD Sender: No OFD packet to send [13:59:38]OFD Sender: No OFD packet to send [13:59:43]OFD Sender: No OFD packet to send [13:59:48]OFD Sender: No OFD packet to send [13:59:53]OFD Sender: No OFD packet to send [13:59:58]OFD Sender: No OFD packet to send [14:00:03]OFD Sender: No OFD packet to send [14:00:08]OFD Sender: No OFD packet to send [14:00:13]OFD Sender: No OFD packet to send [14:00:18]OFD Sender: No OFD packet to send [14:00:23]OFD Sender: No OFD packet to send [14:00:28]OFD Sender: No OFD packet to send [14:00:33]OFD Sender: No OFD packet to send [14:00:38]OFD Sender: No OFD packet to send [14:00:43]OFD Sender: No OFD packet to send [14:00:48]OFD Sender: No OFD packet to send [14:00:53]OFD Sender: No OFD packet to send [14:00:58]OFD Sender: No OFD packet to send [14:01:03]OFD Sender: No OFD packet to send [14:01:08]OFD Sender: No OFD packet to send [14:01:13]OFD Sender: No OFD packet to send [14:01:18]OFD Sender: No OFD packet to send [14:01:23]OFD Sender: No OFD packet to send [14:01:28]OFD Sender: No OFD packet to send [14:01:33]OFD Sender: No OFD packet to send [14:01:38]OFD Sender: No OFD packet to send [14:01:43]OFD Sender: No OFD packet to send [14:01:48]OFD Sender: No OFD packet to send [14:01:53]OFD Sender: No OFD packet to send [14:01:58]OFD Sender: No OFD packet to send [14:02:03]OFD Sender: No OFD packet to send [14:02:08]OFD Sender: No OFD packet to send [14:02:09]accept exits with 9 [14:02:09]New connection [14:02:09]New thread 3066596708 created [14:02:09]Thread 3066453348 joined [14:02:09]Waiting for new connection... [14:02:09] Sock 9.Parse request [14:02:09]Sock 9.Check first char [14:02:09]Sock 9.First char is OK [14:02:09]request: POST /json_proto HTTP/1.0 [14:02:09]Method: POST [14:02:09]URL: /json_proto [14:02:09]Method is POST - this is cgi request [14:02:09]url: /json_proto [14:02:09]query_string will be loaded in cgi processing [14:02:09]execute_cgi json_proto POST (null) [14:02:09]execute_cgi path=json_proto method=POST [14:02:09]POST find Content-Length [14:02:09]Host: 172.17.32.68:8080 [14:02:09]Content-Length: 650 [14:02:09]Content-Type: application/json [14:02:09] [14:02:09]POST finish read [14:02:09]Found Content-Length = 650 [14:02:09]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242267", "tax_sys" : 0, "items" : [ { "code": "8590042701239", "name": "\u0421\u0430\u043B\u0444\u0435\u0442\u043A\u0438 \u0432\u043B\u0430\u0436\u043D\u044B\u0435 VOK", "price" : 36.00, "quantity" : 1.000, "sum" : 36.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 36.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:02:09]execute_script... [14:02: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)242267", "tax_sys" : 0, "items" : [ { "code": "8590042701239", "name": "\u0421\u0430\u043B\u0444\u0435\u0442\u043A\u0438 \u0432\u043B\u0430\u0436\u043D\u044B\u0435 VOK", "price" : 36.00, "quantity" : 1.000, "sum" : 36.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 36.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:02:09]POST & json_proto [14:02:09]process_json_proto [14:02:09]json parsed OK: [14:02:09]protocol is kg_v1.0 [14:02:09]action value=close_receipt [14:02:09]process_action close_receipt [14:02:09]cmd_close_receipt [14:02:09]MH_GetDate [14:02:09]Write to MH i2c: F0 00 00 7D 54 C0 [14:02:09]Write i2c OK [14:02:09]MH_I2C_Read... [14:02:09]Read from MH i2c: F0 [14:02:09]MH_I2C_Read... [14:02:09]Read from MH i2c: F0 09 00 [14:02:09]MH_I2C_Read... [14:02:09]Read from MH i2c: F0 09 00 7D 54 00 71 60 F0 65 0A 64 6E 65 30 [14:02:09]GetLastDocTimeStamp 1710250750 [14:02:09]current date 1710252145 [14:02:09]FM_GetShiftState [14:02:09]SAM_PROTO_GetShiftState [14:02:09]wFMCommunicate request_size=4 [14:02:09]MH_SAM_APDU [14:02:09]CAPDU: 80 13 01 00 [14:02:09]Write to MH i2c: E2 08 00 7E 54 80 13 01 00 00 00 00 00 4F [14:02:09]Write i2c OK [14:02:09]MH_I2C_Read... [14:02:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:02:09]Read from MH i2c: E2 [14:02:09]MH_I2C_Read... [14:02:09]Read from MH i2c: E2 0E 00 [14:02:09]MH_I2C_Read... [14:02:09]Read from MH i2c: E2 0E 00 7E 54 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 7E [14:02:09]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [14:02:09]wFMCommunicate OK [14:02:09]SAM_PROTO_GetShiftState done [14:02:09]FM_GetShiftState done [14:02:09]opened in 1710202417 [14:02:09]opened+sec_in_day 1710288817 [14:02:09]quantity*price = 3600 [14:02:09]sum+1 = 3601 [14:02:09]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 36.00 НСП 1% : 0.32 НДС 12% : 3.82 Наличными: 36.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 31 12.03.2024 14:02 Смена: 314 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47353 ФПД: 16281697005832 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T140225&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47353&fm=16281697005832&tin=02508201610067®Number=0000000000092018&sum=3600 0 [14:02:11]StoreToDocumentArchive [14:02:11]shift 314 fd 47353 [14:02:11]save to /storage/0314/doc_00047353 [14:02:11]save last doc name /storage/0314/doc_00047353 to /storage/kkm_last_doc_name [14:02:11]save OK [14:02:11]Clear old archive folders... [14:02:11]ProcessDocumentItem done err = 0, tmpTLVsize=277 [14:02:11]tlvbuf is 0042FC40 [14:02:11]SAM_PROTO_ClearQueue [14:02:11]wFMCommunicate request_size=4 [14:02:11]MH_SAM_APDU [14:02:11]CAPDU: 80 09 00 00 [14:02:11]Write to MH i2c: E2 08 00 8B 54 80 09 00 00 00 00 00 00 51 [14:02:11]Write i2c OK [14:02:11]MH_I2C_Read... [14:02:11]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:02:11]Read from MH i2c: E2 [14:02:11]MH_I2C_Read... [14:02:11]Read from MH i2c: E2 03 00 [14:02:11]MH_I2C_Read... [14:02:11]Read from MH i2c: E2 03 00 8B 54 00 90 00 53 [14:02:11]RAPDU: 90 00 [14:02:11]wFMCommunicate OK [14:02:11]SAM_PROTO_ClearQueue done [14:02:11]KKMCreateOFDPacket [14:02:11]OFDProtocolAddRootSTLVToBuf [14:02:11]FM_MakeSignedData [14:02:11]FM_MakeSignedData [14:02:11]SAM_PROTO_SignData [14:02:11]wFMCommunicate request_size=4 [14:02:11]MH_SAM_APDU [14:02:11]CAPDU: 80 0D 01 02 [14:02:11]Write to MH i2c: E2 08 00 8C 54 80 0D 01 02 00 00 00 00 59 [14:02:11]Write i2c OK [14:02:11]MH_I2C_Read... [14:02:11]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:02:11]Read from MH i2c: E2 [14:02:11]MH_I2C_Read... [14:02:11]Read from MH i2c: E2 03 00 [14:02:11]MH_I2C_Read... [14:02:11]Read from MH i2c: E2 03 00 8C 54 00 90 00 54 [14:02:11]RAPDU: 90 00 [14:02:11]wFMCommunicate OK [14:02:11]wFMCommunicate request_size=255 [14:02:11]MH_SAM_APDU [14:02:11]CAPDU: 80 0D 02 02 FA 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 38 35 39 30 30 34 32 37 30 31 32 33 39 06 04 23 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B8 20 D0 B2 D0 BB D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 56 4F 4B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 0E 00 00 00 00 13 04 06 00 10 0E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 0E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 20 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7E 01 00 00 00 00 07 04 06 00 10 0E 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 71 60 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 [14:02:11]Write to MH i2c: E2 02 01 8D 54 80 0D 02 02 FA 00 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 38 35 39 30 30 34 32 37 30 31 32 33 39 06 04 23 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B8 20 D0 B2 D0 BB D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 56 4F 4B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 0E 00 00 00 00 13 04 06 00 10 0E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 0E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 20 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7E 01 00 00 00 00 07 04 06 00 10 0E 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 71 60 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 00 00 E8 [14:02:11]Write i2c OK [14:02:11]MH_I2C_Read... [14:02:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:02:11]Read from MH i2c: E2 [14:02:11]MH_I2C_Read... [14:02:11]Read from MH i2c: E2 03 00 [14:02:11]MH_I2C_Read... [14:02:11]Read from MH i2c: E2 03 00 8D 54 00 90 00 55 [14:02:11]RAPDU: 90 00 [14:02:11]wFMCommunicate OK [14:02:11]wFMCommunicate request_size=36 [14:02:11]MH_SAM_APDU [14:02:11]CAPDU: 80 0D 02 02 1F 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 F9 B8 00 00 35 04 06 00 0E CE E0 C4 31 08 [14:02:11]Write to MH i2c: E2 27 00 8E 54 80 0D 02 02 1F 00 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 F9 B8 00 00 35 04 06 00 0E CE E0 C4 31 08 00 00 EA [14:02:11]Write i2c OK [14:02:11]MH_I2C_Read... [14:02:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:02:11]Read from MH i2c: E2 [14:02:11]MH_I2C_Read... [14:02:11]Read from MH i2c: E2 03 00 [14:02:11]MH_I2C_Read... [14:02:11]Read from MH i2c: E2 03 00 8E 54 00 90 00 56 [14:02:11]RAPDU: 90 00 [14:02:11]wFMCommunicate OK [14:02:11]wFMCommunicate request_size=4 [14:02:11]MH_SAM_APDU [14:02:11]CAPDU: 80 0D 03 02 [14:02:11]Write to MH i2c: E2 08 00 8F 54 80 0D 03 02 00 00 00 00 5E [14:02:11]Write i2c OK [14:02:11]MH_I2C_Read... [14:02:11]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:02:11]Read from MH i2c: E2 [14:02:11]MH_I2C_Read... [14:02:11]Read from MH i2c: E2 0B 00 [14:02:11]MH_I2C_Read... [14:02:11]Read from MH i2c: E2 0B 00 8F 54 00 4E 92 32 30 62 8C D2 DB 90 00 3C [14:02:11]RAPDU: 4E 92 32 30 62 8C D2 DB 90 00 [14:02:11]wFMCommunicate OK [14:02:11]SAM_PROTO_SignData done [14:02:11]FM_MakeSignedData done [14:02:11]CreateOFDProtocolMessage [14:02:11]wFMCommunicate request_size=4 [14:02:11]MH_SAM_APDU [14:02:11]CAPDU: 80 11 00 00 [14:02:11]Write to MH i2c: E2 08 00 90 54 80 11 00 00 00 00 00 00 5E [14:02:11]Write i2c OK [14:02:11]MH_I2C_Read... [14:02:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:02:11]Read from MH i2c: E2 [14:02:11]MH_I2C_Read... [14:02:11]Read from MH i2c: E2 17 00 [14:02:11]MH_I2C_Read... [14:02:11]Read from MH i2c: E2 17 00 90 54 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 B0 [14:02:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [14:02:11]wFMCommunicate OK [14:02:11]CreateOFDProtocolMessage done [14:02:11]OFDSenderStorePacket 47353 [14:02:11]StoreOFDPacket docnum=47353 [14:02:11]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 29 01 00 00 67 29 21 01 0B 97 5A 03 01 00 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 38 35 39 30 30 34 32 37 30 31 32 33 39 06 04 23 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B8 20 D0 B2 D0 BB D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 56 4F 4B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 0E 00 00 00 00 13 04 06 00 10 0E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 0E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 20 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7E 01 00 00 00 00 07 04 06 00 10 0E 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 71 60 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 F9 B8 00 00 35 04 06 00 0E CE E0 C4 31 08 4E 92 32 30 62 8C D2 DB [14:02:11]CheckFolder [14:02:11]dirname=/storage/ofd_packets [14:02:11]CheckFolder done [14:02:11]ProducePacketName [14:02:11]name=ofd_packets/00047353 [14:02:11]NVStorageSaveData ofd_packets/00047353 [14:02:11]File name is /storage/ofd_packets/00047353 [14:02:11]Write 327 bytes [14:02:11]NVStorageSaveData done [14:02:11]OFDSenderStorePacket done [14:02:11]KKMCreateOFDPacket done [14:02:11]NVStorageSaveData kkm_last_timestamp [14:02:11]File name is /storage/kkm_last_timestamp [14:02:11]Write 4 bytes [14:02:11]NVStorageSaveData done [14:02:11]ExternCall_PrintAddStr [14:02:11]wPrintStart [14:02:11]Write to MH i2c: 01 00 00 91 54 E5 [14:02:11]Write i2c OK [14:02:11]MH_I2C_Read... [14:02:11]Read from MH i2c: 01 [14:02:11]MH_I2C_Read... [14:02:11]Read from MH i2c: 01 07 00 [14:02:11]MH_I2C_Read... [14:02:11]Read from MH i2c: 01 07 00 91 54 00 00 00 00 00 FF 0F FA [14:02:11]RasterBufferAndPrint [14:02:11]line Счет N : (3)242267 [14:02:11]line ИНН: 02508201610067 [14:02:11]line Контрольно-Кассовый Чек [14:02:11]line ПРОДАЖА [14:02:11]line Товар: 8590042701239 [14:02:11]line Салфетки влажные VOK [14:02:11]line 1.000 * 36.00 [14:02:11]line = 36.00 [14:02:11]line НДС 12% НСП 1% [14:02:11]line > о реализуемом товаре [14:02:11]line ИТОГО: 36.00 [14:02:11]line НСП 1% : 0.32 [14:02:11]line НДС 12% : 3.82 [14:02:11]line Наличными: 36.00 [14:02:11]line Безнал.: 0.00 [14:02:11]line Место: АЗС № 15 "Партнер Нефть" [14:02:11]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [14:02:11]line СНО: Общий режим [14:02:11]line Чек 31 12.03.2024 14:02 [14:02:11]line Смена: 314 ФФД: 1.0 [14:02:11]line ЗНМ: 0300000097 [14:02:11]line РНМ: 0000000000092018 [14:02:11]line Версия ККМ: 001 [14:02:11]line ФМ: 0000000000871816 [14:02:11]line ФД: 47353 [14:02:11]line ФПД: 16281697005832 [14:02:11]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T140225&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47353&fm=16281697005832&tin=02508201610067®Number=0000000000092018&sum=3600 [14:02:11]line 0 [14:02:11]OFD Sender: Processing packet 47353 [packets to send 8, broken 7] [14:02:11]ProducePacketName [14:02:11]name=ofd_packets/00047353 [14:02:11]OFD Sender: To server: pG, [14:02:11]CommunicateWithHost lk.salyk.kg:30040 [14:02:11]ConnectInit lk.salyk.kg [14:02:11]written 0, free lines is 4095 [14:02:12]Connected sock=10 [14:02:12]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 31 36 29 01 00 00 67 29 21 01 0B 97 5A 03 01 00 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 38 35 39 30 30 34 32 37 30 31 32 33 39 06 04 23 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B8 20 D0 B2 D0 BB D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 56 4F 4B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 0E 00 00 00 00 13 04 06 00 10 0E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 0E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 20 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7E 01 00 00 00 00 07 04 06 00 10 0E 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 71 60 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 F9 B8 00 00 35 04 06 00 0E CE E0 C4 31 08 4E 92 32 30 62 8C D2 DB [14:02: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 31 36 4F 00 00 00 6F 49 47 00 82 DB A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 F9 B8 00 00 F4 03 04 00 03 0B F0 65 B6 04 01 00 00 B3 26 83 82 6B D6 02 DB [14:02:12]CommunicateWithHost err = 0 [14:02:12]CheckOFDResponse [14:02:12]1017 (14) - 77093643461234 [14:02:12]1041 (16) - 0000000000871816 [14:02:12]1040 (4) - 47353 [14:02:12]1012 (4) - 12.03.2024 07:57 [14:02:12]1206 (1) - 0 [14:02:12]OFD Sender: Remove packet 47353 [14:02:12]ProducePacketName [14:02:12]name=ofd_packets/00047353 [14:02:12]NVStorageDeleteData [14:02:12]Write to MH i2c: 01 00 00 B9 54 0D [14:02:12]Write i2c OK [14:02:12]MH_I2C_Read... [14:02:12]Read from MH i2c: 01 [14:02:12]MH_I2C_Read... [14:02:12]Read from MH i2c: 01 07 00 [14:02:12]MH_I2C_Read... [14:02:12]Read from MH i2c: 01 07 00 B9 54 00 00 00 00 00 F1 0C 11 [14:02:12]RasterBufferAndPrint [14:02:12]line [14:02:12]line [14:02:12]line [14:02:12]line [14:02:12]line [14:02:12]written 0, free lines is 3319 [14:02:12]MH_Cut [14:02:12]Write to MH i2c: D1 01 00 C0 54 01 E6 [14:02:12]Write i2c OK [14:02:12]MH_I2C_Read... [14:02:12]Read from MH i2c: D1 [14:02:12]MH_I2C_Read... [14:02:12]Read from MH i2c: D1 01 00 [14:02:12]MH_I2C_Read... [14:02:12]Read from MH i2c: D1 01 00 C0 54 00 E5 [14:02:12]Write to MH i2c: 01 00 00 C1 54 15 [14:02:12]Write i2c OK [14:02:12]MH_I2C_Read... [14:02:12]OFD Sender: No OFD packet to send [14:02:13]*** Cut start [14:02:13]*** Purtial cut [14:02:13]*** Stage 1: CUTSNS_PIN = 1 [14:02:13]Read from MH i2c: 01 [14:02:13]MH_I2C_Read... [14:02:13]*** Stop cut motor [14:02:13]*** Cut end [14:02:13]Read from MH i2c: 01 07 00 [14:02:13]MH_I2C_Read... [14:02:13]Read from MH i2c: 01 07 00 C1 54 00 00 00 00 00 FF 0F 2A [14:02:13]process_action close_receipt done [14:02:13]requested_data is exist [14:02:13]produce_requested_data [14:02:13]requested_item fm.sn is exist - process it [14:02:13]wFMCommunicate request_size=4 [14:02:13]MH_SAM_APDU [14:02:13]CAPDU: 80 11 00 00 [14:02:13]Write to MH i2c: E2 08 00 C2 54 80 11 00 00 00 00 00 00 90 [14:02:13]Write i2c OK [14:02:13]MH_I2C_Read... [14:02:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:02:13]Read from MH i2c: E2 [14:02:13]MH_I2C_Read... [14:02:13]Read from MH i2c: E2 17 00 [14:02:13]MH_I2C_Read... [14:02:13]Read from MH i2c: E2 17 00 C2 54 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 E2 [14:02:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [14:02:13]wFMCommunicate OK [14:02:13]requested_item fd.num is exist - process it [14:02:13]SAM_PROTO_GetFieldsCounters [14:02:13]wFMCommunicate request_size=4 [14:02:13]MH_SAM_APDU [14:02:13]CAPDU: 80 13 00 00 [14:02:13]Write to MH i2c: E2 08 00 C3 54 80 13 00 00 00 00 00 00 93 [14:02:13]Write i2c OK [14:02:13]MH_I2C_Read... [14:02:13]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:02:13]Read from MH i2c: E2 [14:02:13]MH_I2C_Read... [14:02:13]Read from MH i2c: E2 62 00 [14:02:13]MH_I2C_Read... [14:02:13]Read from MH i2c: E2 62 00 C3 54 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 F9 B8 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 1F 00 00 00 5E 04 04 00 1F 00 00 00 57 04 04 00 20 00 00 00 19 04 04 00 00 00 00 00 90 00 F7 [14:02: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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 F9 B8 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 1F 00 00 00 5E 04 04 00 1F 00 00 00 57 04 04 00 20 00 00 00 19 04 04 00 00 00 00 00 90 00 [14:02:13]wFMCommunicate OK [14:02:13]SAM_PROTO_GetFieldsCounters done [14:02:13]requested_item shift.num is exist - process it [14:02:13]requested_item shift.opened is exist - process it [14:02:13]req_shift_opened [14:02:13]FM_GetShiftState [14:02:13]SAM_PROTO_GetShiftState [14:02:13]wFMCommunicate request_size=4 [14:02:13]MH_SAM_APDU [14:02:13]CAPDU: 80 13 01 00 [14:02:13]Write to MH i2c: E2 08 00 C4 54 80 13 01 00 00 00 00 00 95 [14:02:13]Write i2c OK [14:02:13]MH_I2C_Read... [14:02:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:02:13]Read from MH i2c: E2 [14:02:13]MH_I2C_Read... [14:02:13]Read from MH i2c: E2 0E 00 [14:02:13]MH_I2C_Read... [14:02:13]Read from MH i2c: E2 0E 00 C4 54 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 C4 [14:02:13]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [14:02:13]wFMCommunicate OK [14:02:13]SAM_PROTO_GetShiftState done [14:02:13]FM_GetShiftState done [14:02:13]req_shift_opened done [14:02:13]requested_item shift.open_date is exist - process it [14:02:13]req_shift_open_date [14:02:13]req_shift_open_date done [14:02:13]produce_requested_data done [14:02:13]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47353,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [14:02:13]process_action_free close_receipt [14:02:13]json_value_free [14:02:13]json_value_free done [14:02:13]process_json_proto returns [14:02:13]Send response to host [14:02:13]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47353,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [14:02:13]free response buf [14:02:13]execute_script done [14:02:13]execute_script returns [14:02:13]free content buf [14:02:13]Sock 9.Close socket [14:02:13]Sock 9.Thread stoped [14:02:17]OFD Sender: No OFD packet to send [14:02:22]OFD Sender: No OFD packet to send [14:02:27]OFD Sender: No OFD packet to send [14:02:32]OFD Sender: No OFD packet to send [14:02:37]OFD Sender: No OFD packet to send [14:02:42]OFD Sender: No OFD packet to send [14:02:47]OFD Sender: No OFD packet to send [14:02:52]OFD Sender: No OFD packet to send [14:02:57]OFD Sender: No OFD packet to send [14:03:02]OFD Sender: No OFD packet to send [14:03:07]OFD Sender: No OFD packet to send [14:03:12]OFD Sender: No OFD packet to send [14:03:17]OFD Sender: No OFD packet to send [14:03:22]OFD Sender: No OFD packet to send [14:03:27]OFD Sender: No OFD packet to send [14:03:32]OFD Sender: No OFD packet to send [14:03:37]OFD Sender: No OFD packet to send [14:03:42]OFD Sender: No OFD packet to send [14:03:47]OFD Sender: No OFD packet to send [14:03:52]OFD Sender: No OFD packet to send [14:03:57]OFD Sender: No OFD packet to send [14:04:02]OFD Sender: No OFD packet to send [14:04:07]OFD Sender: No OFD packet to send [14:04:12]OFD Sender: No OFD packet to send [14:04:17]OFD Sender: No OFD packet to send [14:04:22]OFD Sender: No OFD packet to send [14:04:27]OFD Sender: No OFD packet to send [14:04:32]OFD Sender: No OFD packet to send [14:04:37]OFD Sender: No OFD packet to send [14:04:42]OFD Sender: No OFD packet to send [14:04:47]OFD Sender: No OFD packet to send [14:04:52]OFD Sender: No OFD packet to send [14:04:57]OFD Sender: No OFD packet to send [14:05:02]OFD Sender: No OFD packet to send [14:05:07]OFD Sender: No OFD packet to send [14:05:12]OFD Sender: No OFD packet to send [14:05:17]OFD Sender: No OFD packet to send [14:05:22]OFD Sender: No OFD packet to send [14:05:27]OFD Sender: No OFD packet to send [14:05:32]OFD Sender: No OFD packet to send [14:05:37]OFD Sender: No OFD packet to send [14:05:42]OFD Sender: No OFD packet to send [14:05:47]OFD Sender: No OFD packet to send [14:05:52]OFD Sender: No OFD packet to send [14:05:57]OFD Sender: No OFD packet to send [14:06:02]OFD Sender: No OFD packet to send [14:06:07]OFD Sender: No OFD packet to send [14:06:12]OFD Sender: No OFD packet to send [14:06:18]OFD Sender: No OFD packet to send [14:06:23]OFD Sender: No OFD packet to send [14:06:28]OFD Sender: No OFD packet to send [14:06:33]OFD Sender: No OFD packet to send [14:06:38]OFD Sender: No OFD packet to send [14:06:43]OFD Sender: No OFD packet to send [14:06:48]OFD Sender: No OFD packet to send [14:06:53]OFD Sender: No OFD packet to send [14:06:58]OFD Sender: No OFD packet to send [14:07:03]OFD Sender: No OFD packet to send [14:07:08]OFD Sender: No OFD packet to send [14:07:13]OFD Sender: No OFD packet to send [14:07:18]OFD Sender: No OFD packet to send [14:07:23]OFD Sender: No OFD packet to send [14:07:28]OFD Sender: No OFD packet to send [14:07:33]OFD Sender: No OFD packet to send [14:07:38]OFD Sender: No OFD packet to send [14:07:43]OFD Sender: No OFD packet to send [14:07:48]OFD Sender: No OFD packet to send [14:07:53]OFD Sender: No OFD packet to send [14:07:58]OFD Sender: No OFD packet to send [14:08:03]OFD Sender: No OFD packet to send [14:08:08]OFD Sender: No OFD packet to send [14:08:13]OFD Sender: No OFD packet to send [14:08:18]OFD Sender: No OFD packet to send [14:08:23]OFD Sender: No OFD packet to send [14:08:28]OFD Sender: No OFD packet to send [14:08:33]OFD Sender: No OFD packet to send [14:08:38]OFD Sender: No OFD packet to send [14:08:43]OFD Sender: No OFD packet to send [14:08:48]OFD Sender: No OFD packet to send [14:08:53]OFD Sender: No OFD packet to send [14:08:58]OFD Sender: No OFD packet to send [14:09:03]OFD Sender: No OFD packet to send [14:09:08]OFD Sender: No OFD packet to send [14:09:13]OFD Sender: No OFD packet to send [14:09:18]OFD Sender: No OFD packet to send [14:09:23]OFD Sender: No OFD packet to send [14:09:28]OFD Sender: No OFD packet to send [14:09:33]OFD Sender: No OFD packet to send [14:09:38]OFD Sender: No OFD packet to send [14:09:43]OFD Sender: No OFD packet to send [14:09:48]OFD Sender: No OFD packet to send [14:09:53]OFD Sender: No OFD packet to send [14:09:58]OFD Sender: No OFD packet to send [14:10:03]OFD Sender: No OFD packet to send [14:10:08]OFD Sender: No OFD packet to send [14:10:13]OFD Sender: No OFD packet to send [14:10:18]OFD Sender: No OFD packet to send [14:10:23]OFD Sender: No OFD packet to send [14:10:28]OFD Sender: No OFD packet to send [14:10:33]OFD Sender: No OFD packet to send [14:10:38]OFD Sender: No OFD packet to send [14:10:43]OFD Sender: No OFD packet to send [14:10:48]OFD Sender: No OFD packet to send [14:10:53]OFD Sender: No OFD packet to send [14:10:58]OFD Sender: No OFD packet to send [14:11:03]OFD Sender: No OFD packet to send [14:11:08]OFD Sender: No OFD packet to send [14:11:13]OFD Sender: No OFD packet to send [14:11:18]OFD Sender: No OFD packet to send [14:11:23]OFD Sender: No OFD packet to send [14:11:28]OFD Sender: No OFD packet to send [14:11:33]OFD Sender: No OFD packet to send [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:58]OFD Sender: No OFD packet to send [14:12:03]OFD Sender: No OFD packet to send [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:53]OFD Sender: No OFD packet to send [14:12:58]OFD Sender: No OFD packet to send [14:13:03]OFD Sender: No OFD packet to send [14:13:08]OFD Sender: No OFD packet to send [14:13:13]OFD Sender: No OFD packet to send [14:13:18]OFD Sender: No OFD packet to send [14:13:23]OFD Sender: No OFD packet to send [14:13:28]OFD Sender: No OFD packet to send [14:13:33]OFD Sender: No OFD packet to send [14:13:38]OFD Sender: No OFD packet to send [14:13:43]OFD Sender: No OFD packet to send [14:13:48]OFD Sender: No OFD packet to send [14:13:53]OFD Sender: No OFD packet to send [14:13:58]OFD Sender: No OFD packet to send [14:14:03]OFD Sender: No OFD packet to send [14:14:08]OFD Sender: No OFD packet to send [14:14:13]OFD Sender: No OFD packet to send [14:14:18]OFD Sender: No OFD packet to send [14:14:23]OFD Sender: No OFD packet to send [14:14:28]OFD Sender: No OFD packet to send [14:14:33]OFD Sender: No OFD packet to send [14:14:38]OFD Sender: No OFD packet to send [14:14:43]OFD Sender: No OFD packet to send [14:14:48]OFD Sender: No OFD packet to send [14:14:53]OFD Sender: No OFD packet to send [14:14:58]OFD Sender: No OFD packet to send [14:15:03]OFD Sender: No OFD packet to send [14:15:08]OFD Sender: No OFD packet to send [14:15:13]OFD Sender: No OFD packet to send [14:15:18]OFD Sender: No OFD packet to send [14:15:23]OFD Sender: No OFD packet to send [14:15:28]OFD Sender: No OFD packet to send [14:15:33]OFD Sender: No OFD packet to send [14:15:38]OFD Sender: No OFD packet to send [14:15:43]OFD Sender: No OFD packet to send [14:15:48]OFD Sender: No OFD packet to send [14:15:53]OFD Sender: No OFD packet to send [14:15:58]OFD Sender: No OFD packet to send [14:16:03]OFD Sender: No OFD packet to send [14:16:08]OFD Sender: No OFD packet to send [14:16:13]OFD Sender: No OFD packet to send [14:16:18]OFD Sender: No OFD packet to send [14:16:23]OFD Sender: No OFD packet to send [14:16:28]OFD Sender: No OFD packet to send [14:16:33]OFD Sender: No OFD packet to send [14:16:38]OFD Sender: No OFD packet to send [14:16:43]OFD Sender: No OFD packet to send [14:16:48]OFD Sender: No OFD packet to send [14:16:53]OFD Sender: No OFD packet to send [14:16:58]OFD Sender: No OFD packet to send [14:17:03]OFD Sender: No OFD packet to send [14:17:08]OFD Sender: No OFD packet to send [14:17:13]OFD Sender: No OFD packet to send [14:17:18]OFD Sender: No OFD packet to send [14:17:23]OFD Sender: No OFD packet to send [14:17:28]OFD Sender: No OFD packet to send [14:17:33]OFD Sender: No OFD packet to send [14:17:38]OFD Sender: No OFD packet to send [14:17:43]OFD Sender: No OFD packet to send [14:17:48]OFD Sender: No OFD packet to send [14:17:53]OFD Sender: No OFD packet to send [14:17:58]OFD Sender: No OFD packet to send [14:18:03]OFD Sender: No OFD packet to send [14:18:08]OFD Sender: No OFD packet to send [14:18:13]OFD Sender: No OFD packet to send [14:18:18]OFD Sender: No OFD packet to send [14:18:23]OFD Sender: No OFD packet to send [14:18:28]OFD Sender: No OFD packet to send [14:18:33]OFD Sender: No OFD packet to send [14:18:38]OFD Sender: No OFD packet to send [14:18:43]OFD Sender: No OFD packet to send [14:18:48]OFD Sender: No OFD packet to send [14:18:53]OFD Sender: No OFD packet to send [14:18:58]OFD Sender: No OFD packet to send [14:19:03]OFD Sender: No OFD packet to send [14:19:08]OFD Sender: No OFD packet to send [14:19:13]OFD Sender: No OFD packet to send [14:19:18]OFD Sender: No OFD packet to send [14:19:23]OFD Sender: No OFD packet to send [14:19:28]OFD Sender: No OFD packet to send [14:19:33]OFD Sender: No OFD packet to send [14:19:38]OFD Sender: No OFD packet to send [14:19:43]OFD Sender: No OFD packet to send [14:19:48]OFD Sender: No OFD packet to send [14:19:53]OFD Sender: No OFD packet to send [14:19:58]OFD Sender: No OFD packet to send [14:20:03]OFD Sender: No OFD packet to send [14:20:08]OFD Sender: No OFD packet to send [14:20:13]OFD Sender: No OFD packet to send [14:20:18]OFD Sender: No OFD packet to send [14:20:23]OFD Sender: No OFD packet to send [14:20:28]OFD Sender: No OFD packet to send [14:20:33]OFD Sender: No OFD packet to send [14:20:38]OFD Sender: No OFD packet to send [14:20:41]accept exits with 7 [14:20:41]New connection [14:20:41]New thread 3066453348 created [14:20:41]Thread 3066596708 joined [14:20:41]Waiting for new connection... [14:20:41] Sock 7.Parse request [14:20:41]Sock 7.Check first char [14:20:41]Sock 7.First char is OK [14:20:41]request: POST /json_proto HTTP/1.0 [14:20:41]Method: POST [14:20:41]URL: /json_proto [14:20:41]Method is POST - this is cgi request [14:20:41]url: /json_proto [14:20:41]query_string will be loaded in cgi processing [14:20:41]execute_cgi json_proto POST (null) [14:20:41]execute_cgi path=json_proto method=POST [14:20:41]POST find Content-Length [14:20:41]Host: 172.17.32.68:8080 [14:20:41]Content-Length: 642 [14:20:41]Content-Type: application/json [14:20:41] [14:20:41]POST finish read [14:20:41]Found Content-Length = 642 [14:20:41]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242268", "tax_sys" : 0, "items" : [ { "code": "58411125749", "name": "\u0422\u0435 \u0441\u0430\u043C\u044B\u0435 \u043C\u0430\u043A\u0430\u0440\u043E\u043D", "price" : 190.00, "quantity" : 1.000, "sum" : 190.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 190.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:20:41]execute_script... [14:20: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)242268", "tax_sys" : 0, "items" : [ { "code": "58411125749", "name": "\u0422\u0435 \u0441\u0430\u043C\u044B\u0435 \u043C\u0430\u043A\u0430\u0440\u043E\u043D", "price" : 190.00, "quantity" : 1.000, "sum" : 190.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 190.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:20:41]POST & json_proto [14:20:41]process_json_proto [14:20:41]json parsed OK: [14:20:41]protocol is kg_v1.0 [14:20:41]action value=close_receipt [14:20:41]process_action close_receipt [14:20:41]cmd_close_receipt [14:20:41]MH_GetDate [14:20:41]Write to MH i2c: F0 00 00 C5 54 08 [14:20:41]Write i2c OK [14:20:41]MH_I2C_Read... [14:20:41]Read from MH i2c: F0 [14:20:41]MH_I2C_Read... [14:20:41]Read from MH i2c: F0 09 00 [14:20:41]MH_I2C_Read... [14:20:41]Read from MH i2c: F0 09 00 C5 54 00 C9 64 F0 65 0A 64 6E 65 D4 [14:20:41]GetLastDocTimeStamp 1710252145 [14:20:41]current date 1710253257 [14:20:41]FM_GetShiftState [14:20:41]SAM_PROTO_GetShiftState [14:20:41]wFMCommunicate request_size=4 [14:20:41]MH_SAM_APDU [14:20:41]CAPDU: 80 13 01 00 [14:20:41]Write to MH i2c: E2 08 00 C6 54 80 13 01 00 00 00 00 00 97 [14:20:41]Write i2c OK [14:20:41]MH_I2C_Read... [14:20:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:20:41]Read from MH i2c: E2 [14:20:41]MH_I2C_Read... [14:20:41]Read from MH i2c: E2 0E 00 [14:20:41]MH_I2C_Read... [14:20:41]Read from MH i2c: E2 0E 00 C6 54 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 C6 [14:20:41]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [14:20:41]wFMCommunicate OK [14:20:41]SAM_PROTO_GetShiftState done [14:20:41]FM_GetShiftState done [14:20:41]opened in 1710202417 [14:20:41]opened+sec_in_day 1710288817 [14:20:41]quantity*price = 19000 [14:20:41]sum+1 = 19001 [14:20:41]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 190.00 НСП 1% : 1.68 НДС 12% : 20.18 Наличными: 190.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 32 12.03.2024 14:20 Смена: 314 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47354 ФПД: 131894503973200 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T142057&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47354&fm=131894503973200&tin=02508201610067®Number=0000000000092018&sum=19000 0 [14:20:43]StoreToDocumentArchive [14:20:43]shift 314 fd 47354 [14:20:43]save to /storage/0314/doc_00047354 [14:20:43]save last doc name /storage/0314/doc_00047354 to /storage/kkm_last_doc_name [14:20:43]save OK [14:20:43]Clear old archive folders... [14:20:43]ProcessDocumentItem done err = 0, tmpTLVsize=270 [14:20:43]tlvbuf is 0042FC40 [14:20:43]SAM_PROTO_ClearQueue [14:20:43]wFMCommunicate request_size=4 [14:20:43]MH_SAM_APDU [14:20:43]CAPDU: 80 09 00 00 [14:20:43]Write to MH i2c: E2 08 00 D3 54 80 09 00 00 00 00 00 00 99 [14:20:43]Write i2c OK [14:20:43]MH_I2C_Read... [14:20:43]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:20:43]Read from MH i2c: E2 [14:20:43]MH_I2C_Read... [14:20:43]Read from MH i2c: E2 03 00 [14:20:43]MH_I2C_Read... [14:20:43]Read from MH i2c: E2 03 00 D3 54 00 90 00 9B [14:20:43]RAPDU: 90 00 [14:20:43]wFMCommunicate OK [14:20:43]SAM_PROTO_ClearQueue done [14:20:43]KKMCreateOFDPacket [14:20:43]OFDProtocolAddRootSTLVToBuf [14:20:43]FM_MakeSignedData [14:20:43]FM_MakeSignedData [14:20:43]SAM_PROTO_SignData [14:20:43]wFMCommunicate request_size=4 [14:20:43]MH_SAM_APDU [14:20:43]CAPDU: 80 0D 01 02 [14:20:43]Write to MH i2c: E2 08 00 D4 54 80 0D 01 02 00 00 00 00 A1 [14:20:43]Write i2c OK [14:20:43]MH_I2C_Read... [14:20:43]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:20:43]Read from MH i2c: E2 [14:20:43]MH_I2C_Read... [14:20:43]Read from MH i2c: E2 03 00 [14:20:43]MH_I2C_Read... [14:20:43]Read from MH i2c: E2 03 00 D4 54 00 90 00 9C [14:20:43]RAPDU: 90 00 [14:20:43]wFMCommunicate OK [14:20:43]wFMCommunicate request_size=255 [14:20:43]MH_SAM_APDU [14:20:43]CAPDU: 80 0D 02 02 FA 03 00 0E 01 1E 04 01 00 01 23 04 60 00 8A 04 0B 00 35 38 34 31 31 31 32 35 37 34 39 06 04 1E 00 D0 A2 D0 B5 20 D1 81 D0 B0 D0 BC D1 8B D0 B5 20 D0 BC D0 B0 D0 BA D0 B0 D1 80 D0 BE D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 38 4A 00 00 00 00 13 04 06 00 38 4A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 4A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 07 00 00 00 00 07 04 06 00 38 4A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 C9 64 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 [14:20:43]Write to MH i2c: E2 02 01 D5 54 80 0D 02 02 FA 00 03 00 0E 01 1E 04 01 00 01 23 04 60 00 8A 04 0B 00 35 38 34 31 31 31 32 35 37 34 39 06 04 1E 00 D0 A2 D0 B5 20 D1 81 D0 B0 D0 BC D1 8B D0 B5 20 D0 BC D0 B0 D0 BA D0 B0 D1 80 D0 BE D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 38 4A 00 00 00 00 13 04 06 00 38 4A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 4A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 07 00 00 00 00 07 04 06 00 38 4A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 C9 64 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 00 00 73 [14:20:43]Write i2c OK [14:20:43]MH_I2C_Read... [14:20:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:20:43]Read from MH i2c: E2 [14:20:43]MH_I2C_Read... [14:20:43]Read from MH i2c: E2 03 00 [14:20:43]MH_I2C_Read... [14:20:43]Read from MH i2c: E2 03 00 D5 54 00 90 00 9D [14:20:43]RAPDU: 90 00 [14:20:43]wFMCommunicate OK [14:20:43]wFMCommunicate request_size=29 [14:20:43]MH_SAM_APDU [14:20:43]CAPDU: 80 0D 02 02 18 38 37 31 38 31 36 10 04 04 00 FA B8 00 00 35 04 06 00 77 F5 15 0E A1 50 [14:20:43]Write to MH i2c: E2 20 00 D6 54 80 0D 02 02 18 00 38 37 31 38 31 36 10 04 04 00 FA B8 00 00 35 04 06 00 77 F5 15 0E A1 50 00 00 9C [14:20:43]Write i2c OK [14:20:43]MH_I2C_Read... [14:20:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:20:43]Read from MH i2c: E2 [14:20:43]MH_I2C_Read... [14:20:43]Read from MH i2c: E2 03 00 [14:20:43]MH_I2C_Read... [14:20:43]Read from MH i2c: E2 03 00 D6 54 00 90 00 9E [14:20:43]RAPDU: 90 00 [14:20:43]wFMCommunicate OK [14:20:43]wFMCommunicate request_size=4 [14:20:43]MH_SAM_APDU [14:20:43]CAPDU: 80 0D 03 02 [14:20:43]Write to MH i2c: E2 08 00 D7 54 80 0D 03 02 00 00 00 00 A6 [14:20:43]Write i2c OK [14:20:43]MH_I2C_Read... [14:20:43]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:20:43]Read from MH i2c: E2 [14:20:43]MH_I2C_Read... [14:20:43]Read from MH i2c: E2 0B 00 [14:20:43]MH_I2C_Read... [14:20:43]Read from MH i2c: E2 0B 00 D7 54 00 27 C3 9A 07 49 FF A6 69 90 00 89 [14:20:43]RAPDU: 27 C3 9A 07 49 FF A6 69 90 00 [14:20:43]wFMCommunicate OK [14:20:43]SAM_PROTO_SignData done [14:20:43]FM_MakeSignedData done [14:20:43]CreateOFDProtocolMessage [14:20:43]wFMCommunicate request_size=4 [14:20:43]MH_SAM_APDU [14:20:43]CAPDU: 80 11 00 00 [14:20:43]Write to MH i2c: E2 08 00 D8 54 80 11 00 00 00 00 00 00 A6 [14:20:43]Write i2c OK [14:20:43]MH_I2C_Read... [14:20:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:20:43]Read from MH i2c: E2 [14:20:43]MH_I2C_Read... [14:20:43]Read from MH i2c: E2 17 00 [14:20:43]MH_I2C_Read... [14:20:43]Read from MH i2c: E2 17 00 D8 54 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 F8 [14:20:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [14:20:43]wFMCommunicate OK [14:20:43]CreateOFDProtocolMessage done [14:20:43]OFDSenderStorePacket 47354 [14:20:43]StoreOFDPacket docnum=47354 [14:20:43]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 22 01 00 00 79 6A 1A 01 6C 17 5A 03 01 00 03 00 0E 01 1E 04 01 00 01 23 04 60 00 8A 04 0B 00 35 38 34 31 31 31 32 35 37 34 39 06 04 1E 00 D0 A2 D0 B5 20 D1 81 D0 B0 D0 BC D1 8B D0 B5 20 D0 BC D0 B0 D0 BA D0 B0 D1 80 D0 BE D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 38 4A 00 00 00 00 13 04 06 00 38 4A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 4A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 07 00 00 00 00 07 04 06 00 38 4A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 C9 64 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 FA B8 00 00 35 04 06 00 77 F5 15 0E A1 50 27 C3 9A 07 49 FF A6 69 [14:20:43]CheckFolder [14:20:43]dirname=/storage/ofd_packets [14:20:43]CheckFolder done [14:20:43]ProducePacketName [14:20:43]name=ofd_packets/00047354 [14:20:43]NVStorageSaveData ofd_packets/00047354 [14:20:43]File name is /storage/ofd_packets/00047354 [14:20:43]Write 320 bytes [14:20:43]NVStorageSaveData done [14:20:43]OFDSenderStorePacket done [14:20:43]KKMCreateOFDPacket done [14:20:43]NVStorageSaveData kkm_last_timestamp [14:20:43]File name is /storage/kkm_last_timestamp [14:20:43]Write 4 bytes [14:20:43]NVStorageSaveData done [14:20:43]ExternCall_PrintAddStr [14:20:43]wPrintStart [14:20:43]Write to MH i2c: 01 00 00 D9 54 2D [14:20:43]Write i2c OK [14:20:43]MH_I2C_Read... [14:20:43]Read from MH i2c: 01 [14:20:43]MH_I2C_Read... [14:20:43]Read from MH i2c: 01 07 00 [14:20:43]MH_I2C_Read... [14:20:43]Read from MH i2c: 01 07 00 D9 54 00 00 00 00 00 FF 0F 42 [14:20:43]RasterBufferAndPrint [14:20:43]line Счет N : (3)242268 [14:20:43]line ИНН: 02508201610067 [14:20:43]line Контрольно-Кассовый Чек [14:20:43]line ПРОДАЖА [14:20:43]line Товар: 58411125749 [14:20:43]line Те самые макарон [14:20:43]line 1.000 * 190.00 [14:20:43]line = 190.00 [14:20:43]line НДС 12% НСП 1% [14:20:43]line > о реализуемом товаре [14:20:43]line ИТОГО: 190.00 [14:20:43]line НСП 1% : 1.68 [14:20:43]line НДС 12% : 20.18 [14:20:43]line Наличными: 190.00 [14:20:43]line Безнал.: 0.00 [14:20:43]line Место: АЗС № 15 "Партнер Нефть" [14:20:43]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [14:20:43]line СНО: Общий режим [14:20:43]line Чек 32 12.03.2024 14:20 [14:20:43]line Смена: 314 ФФД: 1.0 [14:20:43]line ЗНМ: 0300000097 [14:20:43]line РНМ: 0000000000092018 [14:20:43]line Версия ККМ: 001 [14:20:43]line ФМ: 0000000000871816 [14:20:43]line ФД: 47354 [14:20:43]line ФПД: 131894503973200 [14:20:43]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T142057&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47354&fm=131894503973200&tin=02508201610067®Number=0000000000092018&sum=19000 [14:20:43]line 0 [14:20:43]OFD Sender: Processing packet 47354 [packets to send 8, broken 7] [14:20:43]ProducePacketName [14:20:43]name=ofd_packets/00047354 [14:20:43]OFD Sender: To server: pG, [14:20:43]CommunicateWithHost lk.salyk.kg:30040 [14:20:43]ConnectInit lk.salyk.kg [14:20:43]written 0, free lines is 4095 [14:20:44]Connected sock=10 [14:20: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 31 36 22 01 00 00 79 6A 1A 01 6C 17 5A 03 01 00 03 00 0E 01 1E 04 01 00 01 23 04 60 00 8A 04 0B 00 35 38 34 31 31 31 32 35 37 34 39 06 04 1E 00 D0 A2 D0 B5 20 D1 81 D0 B0 D0 BC D1 8B D0 B5 20 D0 BC D0 B0 D0 BA D0 B0 D1 80 D0 BE D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 38 4A 00 00 00 00 13 04 06 00 38 4A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 4A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 07 00 00 00 00 07 04 06 00 38 4A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 C9 64 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 FA B8 00 00 35 04 06 00 77 F5 15 0E A1 50 27 C3 9A 07 49 FF A6 69 [14:20: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 31 36 4F 00 00 00 59 BC 47 00 77 6C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 FA B8 00 00 F4 03 04 00 5B 0F F0 65 B6 04 01 00 00 76 73 2F C6 09 0E D2 6C [14:20:44]CommunicateWithHost err = 0 [14:20:44]CheckOFDResponse [14:20:44]1017 (14) - 77093643461234 [14:20:44]1041 (16) - 0000000000871816 [14:20:44]1040 (4) - 47354 [14:20:44]1012 (4) - 12.03.2024 08:16 [14:20:44]1206 (1) - 0 [14:20:44]OFD Sender: Remove packet 47354 [14:20:44]ProducePacketName [14:20:44]name=ofd_packets/00047354 [14:20:44]NVStorageDeleteData [14:20:44]Write to MH i2c: 01 00 00 01 55 56 [14:20:44]Write i2c OK [14:20:44]MH_I2C_Read... [14:20:44]Read from MH i2c: 01 [14:20:44]MH_I2C_Read... [14:20:44]Read from MH i2c: 01 07 00 [14:20:44]MH_I2C_Read... [14:20:44]Read from MH i2c: 01 07 00 01 55 00 00 00 00 00 EB 0C 54 [14:20:44]RasterBufferAndPrint [14:20:44]line [14:20:44]line [14:20:44]line [14:20:44]line [14:20:44]line [14:20:44]written 0, free lines is 3313 [14:20:44]MH_Cut [14:20:44]Write to MH i2c: D1 01 00 08 55 01 2F [14:20:44]Write i2c OK [14:20:44]MH_I2C_Read... [14:20:44]Read from MH i2c: D1 [14:20:44]MH_I2C_Read... [14:20:44]Read from MH i2c: D1 01 00 [14:20:44]MH_I2C_Read... [14:20:44]Read from MH i2c: D1 01 00 08 55 00 2E [14:20:44]Write to MH i2c: 01 00 00 09 55 5E [14:20:44]Write i2c OK [14:20:44]MH_I2C_Read... [14:20:44]OFD Sender: No OFD packet to send [14:20:45]*** Cut start [14:20:45]*** Purtial cut [14:20:45]*** Stage 1: CUTSNS_PIN = 1 [14:20:45]Read from MH i2c: 01 [14:20:45]MH_I2C_Read... [14:20:45]*** Stop cut motor [14:20:45]*** Cut end [14:20:45]Read from MH i2c: 01 07 00 [14:20:45]MH_I2C_Read... [14:20:45]Read from MH i2c: 01 07 00 09 55 00 00 00 00 00 FF 0F 73 [14:20:45]process_action close_receipt done [14:20:45]requested_data is exist [14:20:45]produce_requested_data [14:20:45]requested_item fm.sn is exist - process it [14:20:45]wFMCommunicate request_size=4 [14:20:45]MH_SAM_APDU [14:20:45]CAPDU: 80 11 00 00 [14:20:45]Write to MH i2c: E2 08 00 0A 55 80 11 00 00 00 00 00 00 D9 [14:20:45]Write i2c OK [14:20:45]MH_I2C_Read... [14:20:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:20:45]Read from MH i2c: E2 [14:20:45]MH_I2C_Read... [14:20:45]Read from MH i2c: E2 17 00 [14:20:45]MH_I2C_Read... [14:20:45]Read from MH i2c: E2 17 00 0A 55 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 2B [14:20:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [14:20:45]wFMCommunicate OK [14:20:45]requested_item fd.num is exist - process it [14:20:45]SAM_PROTO_GetFieldsCounters [14:20:45]wFMCommunicate request_size=4 [14:20:45]MH_SAM_APDU [14:20:45]CAPDU: 80 13 00 00 [14:20:45]Write to MH i2c: E2 08 00 0B 55 80 13 00 00 00 00 00 00 DC [14:20:45]Write i2c OK [14:20:45]MH_I2C_Read... [14:20:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:20:45]Read from MH i2c: E2 [14:20:45]MH_I2C_Read... [14:20:45]Read from MH i2c: E2 62 00 [14:20:45]MH_I2C_Read... [14:20:45]Read from MH i2c: E2 62 00 0B 55 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 FA B8 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 20 00 00 00 5E 04 04 00 20 00 00 00 57 04 04 00 21 00 00 00 19 04 04 00 00 00 00 00 90 00 44 [14:20:45]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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 FA B8 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 20 00 00 00 5E 04 04 00 20 00 00 00 57 04 04 00 21 00 00 00 19 04 04 00 00 00 00 00 90 00 [14:20:45]wFMCommunicate OK [14:20:45]SAM_PROTO_GetFieldsCounters done [14:20:45]requested_item shift.num is exist - process it [14:20:45]requested_item shift.opened is exist - process it [14:20:45]req_shift_opened [14:20:45]FM_GetShiftState [14:20:45]SAM_PROTO_GetShiftState [14:20:45]wFMCommunicate request_size=4 [14:20:45]MH_SAM_APDU [14:20:45]CAPDU: 80 13 01 00 [14:20:45]Write to MH i2c: E2 08 00 0C 55 80 13 01 00 00 00 00 00 DE [14:20:45]Write i2c OK [14:20:45]MH_I2C_Read... [14:20:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:20:45]Read from MH i2c: E2 [14:20:45]MH_I2C_Read... [14:20:45]Read from MH i2c: E2 0E 00 [14:20:45]MH_I2C_Read... [14:20:45]Read from MH i2c: E2 0E 00 0C 55 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 0D [14:20:45]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [14:20:45]wFMCommunicate OK [14:20:45]SAM_PROTO_GetShiftState done [14:20:45]FM_GetShiftState done [14:20:45]req_shift_opened done [14:20:45]requested_item shift.open_date is exist - process it [14:20:45]req_shift_open_date [14:20:45]req_shift_open_date done [14:20:45]produce_requested_data done [14:20:45]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47354,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [14:20:45]process_action_free close_receipt [14:20:45]json_value_free [14:20:45]json_value_free done [14:20:45]process_json_proto returns [14:20:45]Send response to host [14:20:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47354,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [14:20:45]free response buf [14:20:45]execute_script done [14:20:45]execute_script returns [14:20:45]free content buf [14:20:45]Sock 7.Close socket [14:20:45]Sock 7.Thread stoped [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:50]OFD Sender: No OFD packet to send [14:26:55]OFD Sender: No OFD packet to send [14:27:00]OFD Sender: No OFD packet to send [14:27:05]OFD Sender: No OFD packet to send [14:27:10]OFD Sender: No OFD packet to send [14:27:15]OFD Sender: No OFD packet to send [14:27:20]OFD Sender: No OFD packet to send [14:27:25]OFD Sender: No OFD packet to send [14:27:30]OFD Sender: No OFD packet to send [14:27:35]OFD Sender: No OFD packet to send [14:27:40]OFD Sender: No OFD packet to send [14:27:45]OFD Sender: No OFD packet to send [14:27:50]OFD Sender: No OFD packet to send [14:27:55]OFD Sender: No OFD packet to send [14:28:00]OFD Sender: No OFD packet to send [14:28:05]OFD Sender: No OFD packet to send [14:28:10]OFD Sender: No OFD packet to send [14:28:15]OFD Sender: No OFD packet to send [14:28:20]OFD Sender: No OFD packet to send [14:28:25]OFD Sender: No OFD packet to send [14:28:30]OFD Sender: No OFD packet to send [14:28:35]OFD Sender: No OFD packet to send [14:28:40]OFD Sender: No OFD packet to send [14:28:45]OFD Sender: No OFD packet to send [14:28:50]OFD Sender: No OFD packet to send [14:28:55]OFD Sender: No OFD packet to send [14:29:00]OFD Sender: No OFD packet to send [14:29:05]OFD Sender: No OFD packet to send [14:29:10]OFD Sender: No OFD packet to send [14:29:15]OFD Sender: No OFD packet to send [14:29:20]OFD Sender: No OFD packet to send [14:29:25]OFD Sender: No OFD packet to send [14:29:30]OFD Sender: No OFD packet to send [14:29:35]OFD Sender: No OFD packet to send [14:29:40]OFD Sender: No OFD packet to send [14:29:45]OFD Sender: No OFD packet to send [14:29:50]OFD Sender: No OFD packet to send [14:29:55]OFD Sender: No OFD packet to send [14:30:00]OFD Sender: No OFD packet to send [14:30:05]OFD Sender: No OFD packet to send [14:30:10]OFD Sender: No OFD packet to send [14:30:15]OFD Sender: No OFD packet to send [14:30:20]OFD Sender: No OFD packet to send [14:30:25]OFD Sender: No OFD packet to send [14:30:30]OFD Sender: No OFD packet to send [14:30:35]OFD Sender: No OFD packet to send [14:30:40]OFD Sender: No OFD packet to send [14:30:45]OFD Sender: No OFD packet to send [14:30:50]OFD Sender: No OFD packet to send [14:30:55]OFD Sender: No OFD packet to send [14:31:00]OFD Sender: No OFD packet to send [14:31:05]OFD Sender: No OFD packet to send [14:31:10]OFD Sender: No OFD packet to send [14:31:15]OFD Sender: No OFD packet to send [14:31:20]OFD Sender: No OFD packet to send [14:31:25]OFD Sender: No OFD packet to send [14:31:30]OFD Sender: No OFD packet to send [14:31:35]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:21]OFD Sender: No OFD packet to send [14:48:26]OFD Sender: No OFD packet to send [14:48:31]OFD Sender: No OFD packet to send [14:48:36]OFD Sender: No OFD packet to send [14:48:41]OFD Sender: No OFD packet to send [14:48:46]OFD Sender: No OFD packet to send [14:48:51]OFD Sender: No OFD packet to send [14:48:56]OFD Sender: No OFD packet to send [14:49:01]OFD Sender: No OFD packet to send [14:49:06]OFD Sender: No OFD packet to send [14:49:11]OFD Sender: No OFD packet to send [14:49:16]OFD Sender: No OFD packet to send [14:49:21]OFD Sender: No OFD packet to send [14:49:26]OFD Sender: No OFD packet to send [14:49:31]OFD Sender: No OFD packet to send [14:49:36]OFD Sender: No OFD packet to send [14:49:41]OFD Sender: No OFD packet to send [14:49:46]OFD Sender: No OFD packet to send [14:49:51]OFD Sender: No OFD packet to send [14:49:56]OFD Sender: No OFD packet to send [14:50:01]OFD Sender: No OFD packet to send [14:50:06]OFD Sender: No OFD packet to send [14:50:11]OFD Sender: No OFD packet to send [14:50:16]OFD Sender: No OFD packet to send [14:50:21]OFD Sender: No OFD packet to send [14:50:26]OFD Sender: No OFD packet to send [14:50:31]OFD Sender: No OFD packet to send [14:50:36]OFD Sender: No OFD packet to send [14:50:41]OFD Sender: No OFD packet to send [14:50:46]OFD Sender: No OFD packet to send [14:50:51]OFD Sender: No OFD packet to send [14:50:56]OFD Sender: No OFD packet to send [14:51:01]OFD Sender: No OFD packet to send [14:51:06]OFD Sender: No OFD packet to send [14:51:11]OFD Sender: No OFD packet to send [14:51:16]OFD Sender: No OFD packet to send [14:51:21]OFD Sender: No OFD packet to send [14:51:26]OFD Sender: No OFD packet to send [14:51:31]OFD Sender: No OFD packet to send [14:51:36]OFD Sender: No OFD packet to send [14:51:41]OFD Sender: No OFD packet to send [14:51:46]OFD Sender: No OFD packet to send [14:51:51]OFD Sender: No OFD packet to send [14:51:56]OFD Sender: No OFD packet to send [14:52:01]OFD Sender: No OFD packet to send [14:52:06]OFD Sender: No OFD packet to send [14:52:11]OFD Sender: No OFD packet to send [14:52:16]OFD Sender: No OFD packet to send [14:52:21]OFD Sender: No OFD packet to send [14:52:26]OFD Sender: No OFD packet to send [14:52:31]OFD Sender: No OFD packet to send [14:52:36]OFD Sender: No OFD packet to send [14:52:41]OFD Sender: No OFD packet to send [14:52:46]OFD Sender: No OFD packet to send [14:52:51]OFD Sender: No OFD packet to send [14:52:56]OFD Sender: No OFD packet to send [14:53:01]OFD Sender: No OFD packet to send [14:53:06]OFD Sender: No OFD packet to send [14:53:11]OFD Sender: No OFD packet to send [14:53:16]OFD Sender: No OFD packet to send [14:53:21]OFD Sender: No OFD packet to send [14:53:26]OFD Sender: No OFD packet to send [14:53:31]OFD Sender: No OFD packet to send [14:53:36]OFD Sender: No OFD packet to send [14:53:41]OFD Sender: No OFD packet to send [14:53:46]OFD Sender: No OFD packet to send [14:53:51]OFD Sender: No OFD packet to send [14:53:56]OFD Sender: No OFD packet to send [14:54:01]OFD Sender: No OFD packet to send [14:54:06]OFD Sender: No OFD packet to send [14:54:11]OFD Sender: No OFD packet to send [14:54:16]OFD Sender: No OFD packet to send [14:54:21]OFD Sender: No OFD packet to send [14:54:26]OFD Sender: No OFD packet to send [14:54:31]OFD Sender: No OFD packet to send [14:54:36]OFD Sender: No OFD packet to send [14:54:41]OFD Sender: No OFD packet to send [14:54:46]OFD Sender: No OFD packet to send [14:54:51]OFD Sender: No OFD packet to send [14:54:56]OFD Sender: No OFD packet to send [14:55:01]OFD Sender: No OFD packet to send [14:55:06]OFD Sender: No OFD packet to send [14:55:11]OFD Sender: No OFD packet to send [14:55:16]OFD Sender: No OFD packet to send [14:55:21]OFD Sender: No OFD packet to send [14:55:26]OFD Sender: No OFD packet to send [14:55:31]OFD Sender: No OFD packet to send [14:55:36]OFD Sender: No OFD packet to send [14:55:41]OFD Sender: No OFD packet to send [14:55:46]OFD Sender: No OFD packet to send [14:55:51]OFD Sender: No OFD packet to send [14:55:56]OFD Sender: No OFD packet to send [14:56:01]OFD Sender: No OFD packet to send [14:56:06]OFD Sender: No OFD packet to send [14:56:11]OFD Sender: No OFD packet to send [14:56:16]OFD Sender: No OFD packet to send [14:56:21]OFD Sender: No OFD packet to send [14:56:26]OFD Sender: No OFD packet to send [14:56:31]OFD Sender: No OFD packet to send [14:56:36]OFD Sender: No OFD packet to send [14:56:41]OFD Sender: No OFD packet to send [14:56:46]OFD Sender: No OFD packet to send [14:56:51]OFD Sender: No OFD packet to send [14:56:56]OFD Sender: No OFD packet to send [14:57:01]OFD Sender: No OFD packet to send [14:57:06]OFD Sender: No OFD packet to send [14:57:11]OFD Sender: No OFD packet to send [14:57:16]OFD Sender: No OFD packet to send [14:57:21]OFD Sender: No OFD packet to send [14:57:26]OFD Sender: No OFD packet to send [14:57:31]OFD Sender: No OFD packet to send [14:57:36]OFD Sender: No OFD packet to send [14:57:41]OFD Sender: No OFD packet to send [14:57:46]OFD Sender: No OFD packet to send [14:57:51]OFD Sender: No OFD packet to send [14:57:56]OFD Sender: No OFD packet to send [14:58:01]OFD Sender: No OFD packet to send [14:58:06]OFD Sender: No OFD packet to send [14:58:11]OFD Sender: No OFD packet to send [14:58:16]OFD Sender: No OFD packet to send [14:58:21]OFD Sender: No OFD packet to send [14:58:26]OFD Sender: No OFD packet to send [14:58:31]OFD Sender: No OFD packet to send [14:58:36]OFD Sender: No OFD packet to send [14:58:41]OFD Sender: No OFD packet to send [14:58:46]OFD Sender: No OFD packet to send [14:58:51]OFD Sender: No OFD packet to send [14:58:56]OFD Sender: No OFD packet to send [14:59:01]OFD Sender: No OFD packet to send [14:59:06]OFD Sender: No OFD packet to send [14:59:11]OFD Sender: No OFD packet to send [14:59:16]OFD Sender: No OFD packet to send [14:59:21]OFD Sender: No OFD packet to send [14:59:26]OFD Sender: No OFD packet to send [14:59:31]OFD Sender: No OFD packet to send [14:59:36]OFD Sender: No OFD packet to send [14:59:41]OFD Sender: No OFD packet to send [14:59:46]OFD Sender: No OFD packet to send [14:59:51]OFD Sender: No OFD packet to send [14:59:56]OFD Sender: No OFD packet to send [15:00:01]OFD Sender: No OFD packet to send [15:00:06]OFD Sender: No OFD packet to send [15:00:11]OFD Sender: No OFD packet to send [15:00:16]OFD Sender: No OFD packet to send [15:00:21]OFD Sender: No OFD packet to send [15:00:26]OFD Sender: No OFD packet to send [15:00:31]OFD Sender: No OFD packet to send [15:00:36]OFD Sender: No OFD packet to send [15:00:41]OFD Sender: No OFD packet to send [15:00:46]OFD Sender: No OFD packet to send [15:00:51]OFD Sender: No OFD packet to send [15:00:56]OFD Sender: No OFD packet to send [15:01:01]OFD Sender: No OFD packet to send [15:01:06]OFD Sender: No OFD packet to send [15:01:11]OFD Sender: No OFD packet to send [15:01:16]OFD Sender: No OFD packet to send [15:01:21]OFD Sender: No OFD packet to send [15:01:26]OFD Sender: No OFD packet to send [15:01:31]OFD Sender: No OFD packet to send [15:01:36]OFD Sender: No OFD packet to send [15:01:41]OFD Sender: No OFD packet to send [15:01:46]OFD Sender: No OFD packet to send [15:01:51]OFD Sender: No OFD packet to send [15:01:56]OFD Sender: No OFD packet to send [15:02:01]OFD Sender: No OFD packet to send [15:02:06]OFD Sender: No OFD packet to send [15:02:11]OFD Sender: No OFD packet to send [15:02:16]OFD Sender: No OFD packet to send [15:02:21]OFD Sender: No OFD packet to send [15:02:26]OFD Sender: No OFD packet to send [15:02:31]OFD Sender: No OFD packet to send [15:02:36]OFD Sender: No OFD packet to send [15:02:41]OFD Sender: No OFD packet to send [15:02:46]OFD Sender: No OFD packet to send [15:02:51]OFD Sender: No OFD packet to send [15:02:56]OFD Sender: No OFD packet to send [15:03:01]OFD Sender: No OFD packet to send [15:03:06]OFD Sender: No OFD packet to send [15:03:11]OFD Sender: No OFD packet to send [15:03:16]OFD Sender: No OFD packet to send [15:03:21]OFD Sender: No OFD packet to send [15:03:26]OFD Sender: No OFD packet to send [15:03:31]OFD Sender: No OFD packet to send [15:03:36]OFD Sender: No OFD packet to send [15:03:41]OFD Sender: No OFD packet to send [15:03:46]OFD Sender: No OFD packet to send [15:03:51]OFD Sender: No OFD packet to send [15:03:56]OFD Sender: No OFD packet to send [15:04:01]OFD Sender: No OFD packet to send [15:04:06]OFD Sender: No OFD packet to send [15:04:11]OFD Sender: No OFD packet to send [15:04:16]OFD Sender: No OFD packet to send [15:04:21]OFD Sender: No OFD packet to send [15:04:26]OFD Sender: No OFD packet to send [15:04:31]OFD Sender: No OFD packet to send [15:04:36]OFD Sender: No OFD packet to send [15:04:41]OFD Sender: No OFD packet to send [15:04:46]OFD Sender: No OFD packet to send [15:04:51]OFD Sender: No OFD packet to send [15:04:56]OFD Sender: No OFD packet to send [15:05:01]OFD Sender: No OFD packet to send [15:05:06]OFD Sender: No OFD packet to send [15:05:11]OFD Sender: No OFD packet to send [15:05:16]OFD Sender: No OFD packet to send [15:05:21]OFD Sender: No OFD packet to send [15:05:26]OFD Sender: No OFD packet to send [15:05:31]OFD Sender: No OFD packet to send [15:05:36]OFD Sender: No OFD packet to send [15:05:41]OFD Sender: No OFD packet to send [15:05:46]OFD Sender: No OFD packet to send [15:05:51]OFD Sender: No OFD packet to send [15:05:56]OFD Sender: No OFD packet to send [15:06:01]OFD Sender: No OFD packet to send [15:06:06]OFD Sender: No OFD packet to send [15:06:11]OFD Sender: No OFD packet to send [15:06:16]OFD Sender: No OFD packet to send [15:06:21]OFD Sender: No OFD packet to send [15:06:26]OFD Sender: No OFD packet to send [15:06:31]OFD Sender: No OFD packet to send [15:06:36]OFD Sender: No OFD packet to send [15:06:41]OFD Sender: No OFD packet to send [15:06:46]OFD Sender: No OFD packet to send [15:06:51]OFD Sender: No OFD packet to send [15:06:56]OFD Sender: No OFD packet to send [15:07:01]OFD Sender: No OFD packet to send [15:07:06]OFD Sender: No OFD packet to send [15:07:11]OFD Sender: No OFD packet to send [15:07:16]OFD Sender: No OFD packet to send [15:07:21]OFD Sender: No OFD packet to send [15:07:26]OFD Sender: No OFD packet to send [15:07:31]OFD Sender: No OFD packet to send [15:07:36]OFD Sender: No OFD packet to send [15:07:41]OFD Sender: No OFD packet to send [15:07:46]OFD Sender: No OFD packet to send [15:07:51]OFD Sender: No OFD packet to send [15:07:56]OFD Sender: No OFD packet to send [15:08:01]OFD Sender: No OFD packet to send [15:08:06]OFD Sender: No OFD packet to send [15:08:11]OFD Sender: No OFD packet to send [15:08:16]OFD Sender: No OFD packet to send [15:08:21]OFD Sender: No OFD packet to send [15:08:26]OFD Sender: No OFD packet to send [15:08:31]OFD Sender: No OFD packet to send [15:08:36]OFD Sender: No OFD packet to send [15:08:41]OFD Sender: No OFD packet to send [15:08:46]OFD Sender: No OFD packet to send [15:08:51]OFD Sender: No OFD packet to send [15:08:56]OFD Sender: No OFD packet to send [15:09:01]OFD Sender: No OFD packet to send [15:09:06]OFD Sender: No OFD packet to send [15:09:11]OFD Sender: No OFD packet to send [15:09:16]OFD Sender: No OFD packet to send [15:09:21]OFD Sender: No OFD packet to send [15:09:26]OFD Sender: No OFD packet to send [15:09:31]OFD Sender: No OFD packet to send [15:09:36]OFD Sender: No OFD packet to send [15:09:41]OFD Sender: No OFD packet to send [15:09:47]OFD Sender: No OFD packet to send [15:09:52]OFD Sender: No OFD packet to send [15:09:57]OFD Sender: No OFD packet to send [15:10:02]OFD Sender: No OFD packet to send [15:10:07]OFD Sender: No OFD packet to send [15:10:12]OFD Sender: No OFD packet to send [15:10:17]OFD Sender: No OFD packet to send [15:10:22]OFD Sender: No OFD packet to send [15:10:27]OFD Sender: No OFD packet to send [15:10:32]OFD Sender: No OFD packet to send [15:10:37]OFD Sender: No OFD packet to send [15:10:42]OFD Sender: No OFD packet to send [15:10:47]OFD Sender: No OFD packet to send [15:10:52]OFD Sender: No OFD packet to send [15:10:57]OFD Sender: No OFD packet to send [15:11:02]OFD Sender: No OFD packet to send [15:11:07]OFD Sender: No OFD packet to send [15:11:12]OFD Sender: No OFD packet to send [15:11:17]OFD Sender: No OFD packet to send [15:11:22]OFD Sender: No OFD packet to send [15:11:27]OFD Sender: No OFD packet to send [15:11:32]OFD Sender: No OFD packet to send [15:11:37]OFD Sender: No OFD packet to send [15:11:42]OFD Sender: No OFD packet to send [15:11:47]OFD Sender: No OFD packet to send [15:11:52]OFD Sender: No OFD packet to send [15:11:57]OFD Sender: No OFD packet to send [15:12:02]OFD Sender: No OFD packet to send [15:12:07]OFD Sender: No OFD packet to send [15:12:12]OFD Sender: No OFD packet to send [15:12:17]OFD Sender: No OFD packet to send [15:12:22]OFD Sender: No OFD packet to send [15:12:27]OFD Sender: No OFD packet to send [15:12:32]OFD Sender: No OFD packet to send [15:12:37]OFD Sender: No OFD packet to send [15:12:42]OFD Sender: No OFD packet to send [15:12:47]OFD Sender: No OFD packet to send [15:12:52]OFD Sender: No OFD packet to send [15:12:57]OFD Sender: No OFD packet to send [15:13:02]OFD Sender: No OFD packet to send [15:13:07]OFD Sender: No OFD packet to send [15:13:12]OFD Sender: No OFD packet to send [15:13:17]OFD Sender: No OFD packet to send [15:13:22]OFD Sender: No OFD packet to send [15:13:27]OFD Sender: No OFD packet to send [15:13:32]OFD Sender: No OFD packet to send [15:13:37]OFD Sender: No OFD packet to send [15:13:42]OFD Sender: No OFD packet to send [15:13:47]OFD Sender: No OFD packet to send [15:13:52]OFD Sender: No OFD packet to send [15:13:57]OFD Sender: No OFD packet to send [15:14:02]OFD Sender: No OFD packet to send [15:14:07]OFD Sender: No OFD packet to send [15:14:12]OFD Sender: No OFD packet to send [15:14:17]OFD Sender: No OFD packet to send [15:14:22]OFD Sender: No OFD packet to send [15:14:27]OFD Sender: No OFD packet to send [15:14:32]OFD Sender: No OFD packet to send [15:14:37]OFD Sender: No OFD packet to send [15:14:42]OFD Sender: No OFD packet to send [15:14:47]OFD Sender: No OFD packet to send [15:14:52]OFD Sender: No OFD packet to send [15:14:57]OFD Sender: No OFD packet to send [15:15:02]OFD Sender: No OFD packet to send [15:15:07]OFD Sender: No OFD packet to send [15:15:12]OFD Sender: No OFD packet to send [15:15:17]OFD Sender: No OFD packet to send [15:15:22]OFD Sender: No OFD packet to send [15:15:27]OFD Sender: No OFD packet to send [15:15:32]OFD Sender: No OFD packet to send [15:15:37]OFD Sender: No OFD packet to send [15:15:42]OFD Sender: No OFD packet to send [15:15:47]OFD Sender: No OFD packet to send [15:15:52]OFD Sender: No OFD packet to send [15:15:57]OFD Sender: No OFD packet to send [15:16:02]OFD Sender: No OFD packet to send [15:16:07]OFD Sender: No OFD packet to send [15:16:12]OFD Sender: No OFD packet to send [15:16:17]OFD Sender: No OFD packet to send [15:16:22]OFD Sender: No OFD packet to send [15:16:27]OFD Sender: No OFD packet to send [15:16:32]OFD Sender: No OFD packet to send [15:16:37]OFD Sender: No OFD packet to send [15:16:42]OFD Sender: No OFD packet to send [15:16:47]OFD Sender: No OFD packet to send [15:16:52]OFD Sender: No OFD packet to send [15:16:57]OFD Sender: No OFD packet to send [15:17:02]OFD Sender: No OFD packet to send [15:17:07]OFD Sender: No OFD packet to send [15:17:12]OFD Sender: No OFD packet to send [15:17:17]OFD Sender: No OFD packet to send [15:17:22]OFD Sender: No OFD packet to send [15:17:27]OFD Sender: No OFD packet to send [15:17:32]OFD Sender: No OFD packet to send [15:17:37]OFD Sender: No OFD packet to send [15:17:42]OFD Sender: No OFD packet to send [15:17:47]OFD Sender: No OFD packet to send [15:17:52]OFD Sender: No OFD packet to send [15:17:57]OFD Sender: No OFD packet to send [15:18:02]OFD Sender: No OFD packet to send [15:18:07]OFD Sender: No OFD packet to send [15:18:12]OFD Sender: No OFD packet to send [15:18:17]OFD Sender: No OFD packet to send [15:18:22]OFD Sender: No OFD packet to send [15:18:27]OFD Sender: No OFD packet to send [15:18:32]OFD Sender: No OFD packet to send [15:18:37]OFD Sender: No OFD packet to send [15:18:42]OFD Sender: No OFD packet to send [15:18:47]OFD Sender: No OFD packet to send [15:18:52]OFD Sender: No OFD packet to send [15:18:57]OFD Sender: No OFD packet to send [15:19:02]OFD Sender: No OFD packet to send [15:19:07]OFD Sender: No OFD packet to send [15:19:12]OFD Sender: No OFD packet to send [15:19:17]OFD Sender: No OFD packet to send [15:19:22]OFD Sender: No OFD packet to send [15:19:27]OFD Sender: No OFD packet to send [15:19:32]OFD Sender: No OFD packet to send [15:19:37]OFD Sender: No OFD packet to send [15:19:42]OFD Sender: No OFD packet to send [15:19:47]OFD Sender: No OFD packet to send [15:19:52]OFD Sender: No OFD packet to send [15:19:57]OFD Sender: No OFD packet to send [15:20:02]OFD Sender: No OFD packet to send [15:20:07]OFD Sender: No OFD packet to send [15:20:12]OFD Sender: No OFD packet to send [15:20:17]OFD Sender: No OFD packet to send [15:20:22]OFD Sender: No OFD packet to send [15:20:27]OFD Sender: No OFD packet to send [15:20:32]OFD Sender: No OFD packet to send [15:20:37]OFD Sender: No OFD packet to send [15:20:42]OFD Sender: No OFD packet to send [15:20:47]OFD Sender: No OFD packet to send [15:20:52]OFD Sender: No OFD packet to send [15:20:57]OFD Sender: No OFD packet to send [15:21:02]OFD Sender: No OFD packet to send [15:21:07]OFD Sender: No OFD packet to send [15:21:12]OFD Sender: No OFD packet to send [15:21:17]OFD Sender: No OFD packet to send [15:21:22]OFD Sender: No OFD packet to send [15:21:27]OFD Sender: No OFD packet to send [15:21:32]OFD Sender: No OFD packet to send [15:21:37]OFD Sender: No OFD packet to send [15:21:42]OFD Sender: No OFD packet to send [15:21:47]OFD Sender: No OFD packet to send [15:21:52]OFD Sender: No OFD packet to send [15:21:57]OFD Sender: No OFD packet to send [15:22:02]OFD Sender: No OFD packet to send [15:22:07]OFD Sender: No OFD packet to send [15:22:12]OFD Sender: No OFD packet to send [15:22:17]OFD Sender: No OFD packet to send [15:22:22]OFD Sender: No OFD packet to send [15:22:27]OFD Sender: No OFD packet to send [15:22:32]OFD Sender: No OFD packet to send [15:22:37]OFD Sender: No OFD packet to send [15:22:42]OFD Sender: No OFD packet to send [15:22:47]OFD Sender: No OFD packet to send [15:22:52]OFD Sender: No OFD packet to send [15:22:57]OFD Sender: No OFD packet to send [15:23:02]OFD Sender: No OFD packet to send [15:23:07]OFD Sender: No OFD packet to send [15:23:12]OFD Sender: No OFD packet to send [15:23:17]OFD Sender: No OFD packet to send [15:23:22]OFD Sender: No OFD packet to send [15:23:27]OFD Sender: No OFD packet to send [15:23:32]OFD Sender: No OFD packet to send [15:23:37]OFD Sender: No OFD packet to send [15:23:42]OFD Sender: No OFD packet to send [15:23:47]OFD Sender: No OFD packet to send [15:23:52]OFD Sender: No OFD packet to send [15:23:57]OFD Sender: No OFD packet to send [15:24:02]OFD Sender: No OFD packet to send [15:24:07]OFD Sender: No OFD packet to send [15:24:12]OFD Sender: No OFD packet to send [15:24:17]OFD Sender: No OFD packet to send [15:24:22]OFD Sender: No OFD packet to send [15:24:27]OFD Sender: No OFD packet to send [15:24:32]OFD Sender: No OFD packet to send [15:24:37]OFD Sender: No OFD packet to send [15:24:42]OFD Sender: No OFD packet to send [15:24:47]OFD Sender: No OFD packet to send [15:24:52]OFD Sender: No OFD packet to send [15:24:57]OFD Sender: No OFD packet to send [15:25:02]OFD Sender: No OFD packet to send [15:25:07]OFD Sender: No OFD packet to send [15:25:12]OFD Sender: No OFD packet to send [15:25:17]OFD Sender: No OFD packet to send [15:25:22]OFD Sender: No OFD packet to send [15:25:27]OFD Sender: No OFD packet to send [15:25:32]OFD Sender: No OFD packet to send [15:25:37]OFD Sender: No OFD packet to send [15:25:42]OFD Sender: No OFD packet to send [15:25:47]OFD Sender: No OFD packet to send [15:25:52]OFD Sender: No OFD packet to send [15:25:57]OFD Sender: No OFD packet to send [15:26:02]OFD Sender: No OFD packet to send [15:26:07]OFD Sender: No OFD packet to send [15:26:12]OFD Sender: No OFD packet to send [15:26:17]OFD Sender: No OFD packet to send [15:26:22]OFD Sender: No OFD packet to send [15:26:27]OFD Sender: No OFD packet to send [15:26:32]OFD Sender: No OFD packet to send [15:26:37]OFD Sender: No OFD packet to send [15:26:42]OFD Sender: No OFD packet to send [15:26:47]OFD Sender: No OFD packet to send [15:26:52]OFD Sender: No OFD packet to send [15:26:57]OFD Sender: No OFD packet to send [15:27:02]OFD Sender: No OFD packet to send [15:27:07]OFD Sender: No OFD packet to send [15:27:12]OFD Sender: No OFD packet to send [15:27:17]OFD Sender: No OFD packet to send [15:27:22]OFD Sender: No OFD packet to send [15:27:27]OFD Sender: No OFD packet to send [15:27:32]OFD Sender: No OFD packet to send [15:27:37]OFD Sender: No OFD packet to send [15:27:42]OFD Sender: No OFD packet to send [15:27:47]OFD Sender: No OFD packet to send [15:27:52]OFD Sender: No OFD packet to send [15:27:57]OFD Sender: No OFD packet to send [15:28:02]OFD Sender: No OFD packet to send [15:28:07]OFD Sender: No OFD packet to send [15:28:12]OFD Sender: No OFD packet to send [15:28:17]OFD Sender: No OFD packet to send [15:28:22]OFD Sender: No OFD packet to send [15:28:27]OFD Sender: No OFD packet to send [15:28:32]OFD Sender: No OFD packet to send [15:28:37]OFD Sender: No OFD packet to send [15:28:42]OFD Sender: No OFD packet to send [15:28:47]OFD Sender: No OFD packet to send [15:28:52]OFD Sender: No OFD packet to send [15:28:57]OFD Sender: No OFD packet to send [15:29:02]OFD Sender: No OFD packet to send [15:29:07]OFD Sender: No OFD packet to send [15:29:12]OFD Sender: No OFD packet to send [15:29:17]OFD Sender: No OFD packet to send [15:29: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:13]OFD Sender: No OFD packet to send [15:31:18]OFD Sender: No OFD packet to send [15:31:23]OFD Sender: No OFD packet to send [15:31:28]OFD Sender: No OFD packet to send [15:31:33]OFD Sender: No OFD packet to send [15:31:38]OFD Sender: No OFD packet to send [15:31:43]OFD Sender: No OFD packet to send [15:31:48]OFD Sender: No OFD packet to send [15:31:53]OFD Sender: No OFD packet to send [15:31:58]OFD Sender: No OFD packet to send [15:32:03]OFD Sender: No OFD packet to send [15:32:08]OFD Sender: No OFD packet to send [15:32:13]OFD Sender: No OFD packet to send [15:32:18]OFD Sender: No OFD packet to send [15:32:23]OFD Sender: No OFD packet to send [15:32:28]OFD Sender: No OFD packet to send [15:32:33]OFD Sender: No OFD packet to send [15:32:38]OFD Sender: No OFD packet to send [15:32:43]OFD Sender: No OFD packet to send [15:32:48]OFD Sender: No OFD packet to send [15:32:53]OFD Sender: No OFD packet to send [15:32:58]OFD Sender: No OFD packet to send [15:33:03]OFD Sender: No OFD packet to send [15:33:08]OFD Sender: No OFD packet to send [15:33:13]OFD Sender: No OFD packet to send [15:33:18]OFD Sender: No OFD packet to send [15:33:23]OFD Sender: No OFD packet to send [15:33:28]OFD Sender: No OFD packet to send [15:33:33]OFD Sender: No OFD packet to send [15:33:38]OFD Sender: No OFD packet to send [15:33:43]OFD Sender: No OFD packet to send [15:33:48]OFD Sender: No OFD packet to send [15:33:53]OFD Sender: No OFD packet to send [15:33:58]OFD Sender: No OFD packet to send [15:34:03]OFD Sender: No OFD packet to send [15:34:08]OFD Sender: No OFD packet to send [15:34:13]OFD Sender: No OFD packet to send [15:34:18]OFD Sender: No OFD packet to send [15:34:23]OFD Sender: No OFD packet to send [15:34:28]OFD Sender: No OFD packet to send [15:34:33]OFD Sender: No OFD packet to send [15:34:38]OFD Sender: No OFD packet to send [15:34:43]OFD Sender: No OFD packet to send [15:34:48]OFD Sender: No OFD packet to send [15:34:53]OFD Sender: No OFD packet to send [15:34:58]OFD Sender: No OFD packet to send [15:35:03]OFD Sender: No OFD packet to send [15:35:08]OFD Sender: No OFD packet to send [15:35:13]OFD Sender: No OFD packet to send [15:35:18]OFD Sender: No OFD packet to send [15:35:23]OFD Sender: No OFD packet to send [15:35:28]OFD Sender: No OFD packet to send [15:35:33]OFD Sender: No OFD packet to send [15:35:38]OFD Sender: No OFD packet to send [15:35:43]OFD Sender: No OFD packet to send [15:35:48]OFD Sender: No OFD packet to send [15:35:53]OFD Sender: No OFD packet to send [15:35:58]OFD Sender: No OFD packet to send [15:36:03]OFD Sender: No OFD packet to send [15:36:08]OFD Sender: No OFD packet to send [15:36:13]OFD Sender: No OFD packet to send [15:36:18]OFD Sender: No OFD packet to send [15:36:23]OFD Sender: No OFD packet to send [15:36:28]OFD Sender: No OFD packet to send [15:36:33]OFD Sender: No OFD packet to send [15:36:38]OFD Sender: No OFD packet to send [15:36:43]OFD Sender: No OFD packet to send [15:36:48]OFD Sender: No OFD packet to send [15:36:53]OFD Sender: No OFD packet to send [15:36:58]OFD Sender: No OFD packet to send [15:37:03]OFD Sender: No OFD packet to send [15:37:08]OFD Sender: No OFD packet to send [15:37:13]OFD Sender: No OFD packet to send [15:37:18]OFD Sender: No OFD packet to send [15:37:23]OFD Sender: No OFD packet to send [15:37:28]OFD Sender: No OFD packet to send [15:37:33]OFD Sender: No OFD packet to send [15:37:38]OFD Sender: No OFD packet to send [15:37:43]OFD Sender: No OFD packet to send [15:37:48]OFD Sender: No OFD packet to send [15:37:53]OFD Sender: No OFD packet to send [15:37:58]OFD Sender: No OFD packet to send [15:38:03]OFD Sender: No OFD packet to send [15:38:08]OFD Sender: No OFD packet to send [15:38:13]OFD Sender: No OFD packet to send [15:38:18]OFD Sender: No OFD packet to send [15:38:23]OFD Sender: No OFD packet to send [15:38:28]OFD Sender: No OFD packet to send [15:38:33]OFD Sender: No OFD packet to send [15:38:38]OFD Sender: No OFD packet to send [15:38:43]OFD Sender: No OFD packet to send [15:38:48]OFD Sender: No OFD packet to send [15:38:53]OFD Sender: No OFD packet to send [15:38:58]OFD Sender: No OFD packet to send [15:39:03]OFD Sender: No OFD packet to send [15:39:08]OFD Sender: No OFD packet to send [15:39:13]OFD Sender: No OFD packet to send [15:39:18]OFD Sender: No OFD packet to send [15:39:23]OFD Sender: No OFD packet to send [15:39:28]OFD Sender: No OFD packet to send [15:39:33]OFD Sender: No OFD packet to send [15:39:38]OFD Sender: No OFD packet to send [15:39:43]OFD Sender: No OFD packet to send [15:39:48]OFD Sender: No OFD packet to send [15:39:53]OFD Sender: No OFD packet to send [15:39:58]OFD Sender: No OFD packet to send [15:40:03]OFD Sender: No OFD packet to send [15:40:08]OFD Sender: No OFD packet to send [15:40:13]OFD Sender: No OFD packet to send [15:40:18]OFD Sender: No OFD packet to send [15:40:23]OFD Sender: No OFD packet to send [15:40:28]OFD Sender: No OFD packet to send [15:40:33]OFD Sender: No OFD packet to send [15:40:38]OFD Sender: No OFD packet to send [15:40:43]OFD Sender: No OFD packet to send [15:40:48]OFD Sender: No OFD packet to send [15:40:53]OFD Sender: No OFD packet to send [15:40:58]OFD Sender: No OFD packet to send [15:41:03]OFD Sender: No OFD packet to send [15:41:08]OFD Sender: No OFD packet to send [15:41:13]OFD Sender: No OFD packet to send [15:41:18]OFD Sender: No OFD packet to send [15:41:23]OFD Sender: No OFD packet to send [15:41:28]OFD Sender: No OFD packet to send [15:41:33]OFD Sender: No OFD packet to send [15:41:38]OFD Sender: No OFD packet to send [15:41:43]OFD Sender: No OFD packet to send [15:41:48]OFD Sender: No OFD packet to send [15:41:53]OFD Sender: No OFD packet to send [15:41:58]OFD Sender: No OFD packet to send [15:42:03]OFD Sender: No OFD packet to send [15:42:08]OFD Sender: No OFD packet to send [15:42:13]OFD Sender: No OFD packet to send [15:42:18]OFD Sender: No OFD packet to send [15:42:23]OFD Sender: No OFD packet to send [15:42:28]OFD Sender: No OFD packet to send [15:42:33]OFD Sender: No OFD packet to send [15:42:38]OFD Sender: No OFD packet to send [15:42:43]OFD Sender: No OFD packet to send [15:42:48]OFD Sender: No OFD packet to send [15:42:53]OFD Sender: No OFD packet to send [15:42:58]OFD Sender: No OFD packet to send [15:43:03]OFD Sender: No OFD packet to send [15:43:08]OFD Sender: No OFD packet to send [15:43:13]OFD Sender: No OFD packet to send [15:43:18]OFD Sender: No OFD packet to send [15:43:23]OFD Sender: No OFD packet to send [15:43:28]OFD Sender: No OFD packet to send [15:43:33]OFD Sender: No OFD packet to send [15:43:38]OFD Sender: No OFD packet to send [15:43:43]OFD Sender: No OFD packet to send [15:43:48]OFD Sender: No OFD packet to send [15:43:53]OFD Sender: No OFD packet to send [15:43:58]OFD Sender: No OFD packet to send [15:44:03]OFD Sender: No OFD packet to send [15:44:08]OFD Sender: No OFD packet to send [15:44:13]OFD Sender: No OFD packet to send [15:44:18]OFD Sender: No OFD packet to send [15:44:23]OFD Sender: No OFD packet to send [15:44:28]OFD Sender: No OFD packet to send [15:44:33]OFD Sender: No OFD packet to send [15:44:38]OFD Sender: No OFD packet to send [15:44:43]OFD Sender: No OFD packet to send [15:44:48]OFD Sender: No OFD packet to send [15:44:53]OFD Sender: No OFD packet to send [15:44:58]OFD Sender: No OFD packet to send [15:45:03]OFD Sender: No OFD packet to send [15:45:08]OFD Sender: No OFD packet to send [15:45:13]OFD Sender: No OFD packet to send [15:45:18]OFD Sender: No OFD packet to send [15:45:23]OFD Sender: No OFD packet to send [15:45:28]OFD Sender: No OFD packet to send [15:45:33]OFD Sender: No OFD packet to send [15:45:38]OFD Sender: No OFD packet to send [15:45:43]OFD Sender: No OFD packet to send [15:45:48]OFD Sender: No OFD packet to send [15:45:53]OFD Sender: No OFD packet to send [15:45:58]OFD Sender: No OFD packet to send [15:46:03]OFD Sender: No OFD packet to send [15:46:08]OFD Sender: No OFD packet to send [15:46:13]OFD Sender: No OFD packet to send [15:46:18]OFD Sender: No OFD packet to send [15:46:23]OFD Sender: No OFD packet to send [15:46:28]OFD Sender: No OFD packet to send [15:46:33]OFD Sender: No OFD packet to send [15:46:38]OFD Sender: No OFD packet to send [15:46:43]OFD Sender: No OFD packet to send [15:46:48]OFD Sender: No OFD packet to send [15:46:53]OFD Sender: No OFD packet to send [15:46:58]OFD Sender: No OFD packet to send [15:47:03]OFD Sender: No OFD packet to send [15:47:08]OFD Sender: No OFD packet to send [15:47:13]OFD Sender: No OFD packet to send [15:47:18]OFD Sender: No OFD packet to send [15:47:23]OFD Sender: No OFD packet to send [15:47:28]OFD Sender: No OFD packet to send [15:47:33]OFD Sender: No OFD packet to send [15:47:38]OFD Sender: No OFD packet to send [15:47:43]OFD Sender: No OFD packet to send [15:47:48]OFD Sender: No OFD packet to send [15:47:53]OFD Sender: No OFD packet to send [15:47:58]OFD Sender: No OFD packet to send [15:48:03]OFD Sender: No OFD packet to send [15:48:08]OFD Sender: No OFD packet to send [15:48:13]OFD Sender: No OFD packet to send [15:48:18]OFD Sender: No OFD packet to send [15:48:23]OFD Sender: No OFD packet to send [15:48:28]OFD Sender: No OFD packet to send [15:48:33]OFD Sender: No OFD packet to send [15:48:38]OFD Sender: No OFD packet to send [15:48:43]OFD Sender: No OFD packet to send [15:48:48]OFD Sender: No OFD packet to send [15:48:53]OFD Sender: No OFD packet to send [15:48:58]OFD Sender: No OFD packet to send [15:49:03]OFD Sender: No OFD packet to send [15:49:08]OFD Sender: No OFD packet to send [15:49:13]OFD Sender: No OFD packet to send [15:49:18]OFD Sender: No OFD packet to send [15:49:23]OFD Sender: No OFD packet to send [15:49:28]OFD Sender: No OFD packet to send [15:49:33]OFD Sender: No OFD packet to send [15:49:38]OFD Sender: No OFD packet to send [15:49:43]OFD Sender: No OFD packet to send [15:49:48]OFD Sender: No OFD packet to send [15:49:53]OFD Sender: No OFD packet to send [15:49:58]OFD Sender: No OFD packet to send [15:50:03]OFD Sender: No OFD packet to send [15:50:08]OFD Sender: No OFD packet to send [15:50:13]OFD Sender: No OFD packet to send [15:50:18]OFD Sender: No OFD packet to send [15:50:23]OFD Sender: No OFD packet to send [15:50:28]OFD Sender: No OFD packet to send [15:50:33]OFD Sender: No OFD packet to send [15:50:38]OFD Sender: No OFD packet to send [15:50:43]OFD Sender: No OFD packet to send [15:50: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:13]OFD Sender: No OFD packet to send [15:52:18]OFD Sender: No OFD packet to send [15:52:23]OFD Sender: No OFD packet to send [15:52:28]OFD Sender: No OFD packet to send [15:52:33]OFD Sender: No OFD packet to send [15:52:38]OFD Sender: No OFD packet to send [15:52:43]OFD Sender: No OFD packet to send [15:52:48]OFD Sender: No OFD packet to send [15:52:54]OFD Sender: No OFD packet to send [15:52:59]OFD Sender: No OFD packet to send [15:53:04]OFD Sender: No OFD packet to send [15:53:09]OFD Sender: No OFD packet to send [15:53:14]OFD Sender: No OFD packet to send [15:53:19]OFD Sender: No OFD packet to send [15:53:24]OFD Sender: No OFD packet to send [15:53:29]OFD Sender: No OFD packet to send [15:53:34]OFD Sender: No OFD packet to send [15:53:39]OFD Sender: No OFD packet to send [15:53:44]OFD Sender: No OFD packet to send [15:53:49]OFD Sender: No OFD packet to send [15:53:54]OFD Sender: No OFD packet to send [15:53:59]OFD Sender: No OFD packet to send [15:54:04]OFD Sender: No OFD packet to send [15:54:09]OFD Sender: No OFD packet to send [15:54:14]OFD Sender: No OFD packet to send [15:54:19]OFD Sender: No OFD packet to send [15:54:24]OFD Sender: No OFD packet to send [15:54:29]OFD Sender: No OFD packet to send [15:54:34]OFD Sender: No OFD packet to send [15:54:39]OFD Sender: No OFD packet to send [15:54:44]OFD Sender: No OFD packet to send [15:54:49]OFD Sender: No OFD packet to send [15:54:54]OFD Sender: No OFD packet to send [15:54:59]OFD Sender: No OFD packet to send [15:55:04]OFD Sender: No OFD packet to send [15:55:09]OFD Sender: No OFD packet to send [15:55:14]OFD Sender: No OFD packet to send [15:55:19]OFD Sender: No OFD packet to send [15:55:24]OFD Sender: No OFD packet to send [15:55:29]OFD Sender: No OFD packet to send [15:55:34]OFD Sender: No OFD packet to send [15:55:39]OFD Sender: No OFD packet to send [15:55:44]OFD Sender: No OFD packet to send [15:55:49]OFD Sender: No OFD packet to send [15:55:54]OFD Sender: No OFD packet to send [15:55:59]OFD Sender: No OFD packet to send [15:56:04]OFD Sender: No OFD packet to send [15:56:09]OFD Sender: No OFD packet to send [15:56:14]OFD Sender: No OFD packet to send [15:56:19]OFD Sender: No OFD packet to send [15:56:24]OFD Sender: No OFD packet to send [15:56:29]OFD Sender: No OFD packet to send [15:56:34]OFD Sender: No OFD packet to send [15:56:39]OFD Sender: No OFD packet to send [15:56:44]OFD Sender: No OFD packet to send [15:56:49]OFD Sender: No OFD packet to send [15:56:54]OFD Sender: No OFD packet to send [15:56:59]OFD Sender: No OFD packet to send [15:57:04]OFD Sender: No OFD packet to send [15:57:09]OFD Sender: No OFD packet to send [15:57:14]OFD Sender: No OFD packet to send [15:57:19]OFD Sender: No OFD packet to send [15:57:24]OFD Sender: No OFD packet to send [15:57:29]OFD Sender: No OFD packet to send [15:57:34]OFD Sender: No OFD packet to send [15:57:39]OFD Sender: No OFD packet to send [15:57:44]OFD Sender: No OFD packet to send [15:57:49]OFD Sender: No OFD packet to send [15:57:54]OFD Sender: No OFD packet to send [15:57:59]OFD Sender: No OFD packet to send [15:58:04]OFD Sender: No OFD packet to send [15:58:09]OFD Sender: No OFD packet to send [15:58:14]OFD Sender: No OFD packet to send [15:58:19]OFD Sender: No OFD packet to send [15:58:24]OFD Sender: No OFD packet to send [15:58:29]OFD Sender: No OFD packet to send [15:58:34]OFD Sender: No OFD packet to send [15:58:39]OFD Sender: No OFD packet to send [15:58:44]OFD Sender: No OFD packet to send [15:58:49]OFD Sender: No OFD packet to send [15:58:54]OFD Sender: No OFD packet to send [15:58:59]OFD Sender: No OFD packet to send [15:59:04]OFD Sender: No OFD packet to send [15:59:09]OFD Sender: No OFD packet to send [15:59:14]OFD Sender: No OFD packet to send [15:59:19]OFD Sender: No OFD packet to send [15:59:24]OFD Sender: No OFD packet to send [15:59:29]OFD Sender: No OFD packet to send [15:59:34]OFD Sender: No OFD packet to send [15:59:39]OFD Sender: No OFD packet to send [15:59:44]OFD Sender: No OFD packet to send [15:59:49]OFD Sender: No OFD packet to send [15:59:54]OFD Sender: No OFD packet to send [15:59:59]OFD Sender: No OFD packet to send [16:00:04]OFD Sender: No OFD packet to send [16:00:09]OFD Sender: No OFD packet to send [16:00:14]OFD Sender: No OFD packet to send [16:00:19]OFD Sender: No OFD packet to send [16:00:24]OFD Sender: No OFD packet to send [16:00:29]OFD Sender: No OFD packet to send [16:00:34]OFD Sender: No OFD packet to send [16:00:39]OFD Sender: No OFD packet to send [16:00:44]OFD Sender: No OFD packet to send [16:00:49]OFD Sender: No OFD packet to send [16:00:54]OFD Sender: No OFD packet to send [16:00:59]OFD Sender: No OFD packet to send [16:01:04]OFD Sender: No OFD packet to send [16:01:09]OFD Sender: No OFD packet to send [16:01:14]OFD Sender: No OFD packet to send [16:01:19]OFD Sender: No OFD packet to send [16:01:24]OFD Sender: No OFD packet to send [16:01:29]OFD Sender: No OFD packet to send [16:01:34]OFD Sender: No OFD packet to send [16:01:39]OFD Sender: No OFD packet to send [16:01:44]OFD Sender: No OFD packet to send [16:01:49]OFD Sender: No OFD packet to send [16:01:54]OFD Sender: No OFD packet to send [16:01:59]OFD Sender: No OFD packet to send [16:02:04]OFD Sender: No OFD packet to send [16:02:09]OFD Sender: No OFD packet to send [16:02:14]OFD Sender: No OFD packet to send [16:02:19]OFD Sender: No OFD packet to send [16:02:24]OFD Sender: No OFD packet to send [16:02:29]OFD Sender: No OFD packet to send [16:02:34]OFD Sender: No OFD packet to send [16:02:39]OFD Sender: No OFD packet to send [16:02:44]OFD Sender: No OFD packet to send [16:02:49]OFD Sender: No OFD packet to send [16:02:54]OFD Sender: No OFD packet to send [16:02:59]OFD Sender: No OFD packet to send [16:03:04]OFD Sender: No OFD packet to send [16:03:09]OFD Sender: No OFD packet to send [16:03:14]OFD Sender: No OFD packet to send [16:03:19]OFD Sender: No OFD packet to send [16:03:24]OFD Sender: No OFD packet to send [16:03:29]OFD Sender: No OFD packet to send [16:03:34]OFD Sender: No OFD packet to send [16:03:39]OFD Sender: No OFD packet to send [16:03:44]OFD Sender: No OFD packet to send [16:03:49]OFD Sender: No OFD packet to send [16:03:54]OFD Sender: No OFD packet to send [16:03:59]OFD Sender: No OFD packet to send [16:04:04]OFD Sender: No OFD packet to send [16:04:09]OFD Sender: No OFD packet to send [16:04:14]OFD Sender: No OFD packet to send [16:04:19]OFD Sender: No OFD packet to send [16:04:24]OFD Sender: No OFD packet to send [16:04:29]OFD Sender: No OFD packet to send [16:04:34]OFD Sender: No OFD packet to send [16:04:39]OFD Sender: No OFD packet to send [16:04:44]OFD Sender: No OFD packet to send [16:04:49]OFD Sender: No OFD packet to send [16:04:54]OFD Sender: No OFD packet to send [16:04:59]OFD Sender: No OFD packet to send [16:05:04]OFD Sender: No OFD packet to send [16:05:09]OFD Sender: No OFD packet to send [16:05:14]OFD Sender: No OFD packet to send [16:05:19]OFD Sender: No OFD packet to send [16:05:24]OFD Sender: No OFD packet to send [16:05:29]OFD Sender: No OFD packet to send [16:05:34]OFD Sender: No OFD packet to send [16:05:39]OFD Sender: No OFD packet to send [16:05:44]OFD Sender: No OFD packet to send [16:05:49]OFD Sender: No OFD packet to send [16:05:54]OFD Sender: No OFD packet to send [16:05:59]OFD Sender: No OFD packet to send [16:06:04]OFD Sender: No OFD packet to send [16:06:09]OFD Sender: No OFD packet to send [16:06:14]OFD Sender: No OFD packet to send [16:06:19]OFD Sender: No OFD packet to send [16:06:24]OFD Sender: No OFD packet to send [16:06:29]OFD Sender: No OFD packet to send [16:06:34]OFD Sender: No OFD packet to send [16:06:39]OFD Sender: No OFD packet to send [16:06:44]OFD Sender: No OFD packet to send [16:06:49]OFD Sender: No OFD packet to send [16:06:54]OFD Sender: No OFD packet to send [16:06:59]OFD Sender: No OFD packet to send [16:07:04]OFD Sender: No OFD packet to send [16:07:09]OFD Sender: No OFD packet to send [16:07:14]OFD Sender: No OFD packet to send [16:07:19]OFD Sender: No OFD packet to send [16:07:24]OFD Sender: No OFD packet to send [16:07:29]OFD Sender: No OFD packet to send [16:07:34]OFD Sender: No OFD packet to send [16:07:39]OFD Sender: No OFD packet to send [16:07:44]OFD Sender: No OFD packet to send [16:07:49]OFD Sender: No OFD packet to send [16:07:54]OFD Sender: No OFD packet to send [16:07:59]OFD Sender: No OFD packet to send [16:08:04]OFD Sender: No OFD packet to send [16:08:09]OFD Sender: No OFD packet to send [16:08:14]OFD Sender: No OFD packet to send [16:08:19]OFD Sender: No OFD packet to send [16:08:24]OFD Sender: No OFD packet to send [16:08:29]OFD Sender: No OFD packet to send [16:08:34]OFD Sender: No OFD packet to send [16:08:39]OFD Sender: No OFD packet to send [16:08:44]OFD Sender: No OFD packet to send [16:08:49]OFD Sender: No OFD packet to send [16:08:54]OFD Sender: No OFD packet to send [16:08:59]OFD Sender: No OFD packet to send [16:09:04]OFD Sender: No OFD packet to send [16:09:09]OFD Sender: No OFD packet to send [16:09:14]OFD Sender: No OFD packet to send [16:09:19]OFD Sender: No OFD packet to send [16:09:24]OFD Sender: No OFD packet to send [16:09:29]OFD Sender: No OFD packet to send [16:09:34]OFD Sender: No OFD packet to send [16:09:39]OFD Sender: No OFD packet to send [16:09:44]OFD Sender: No OFD packet to send [16:09:49]OFD Sender: No OFD packet to send [16:09:54]OFD Sender: No OFD packet to send [16:09:59]OFD Sender: No OFD packet to send [16:10:04]OFD Sender: No OFD packet to send [16:10:09]OFD Sender: No OFD packet to send [16:10:14]OFD Sender: No OFD packet to send [16:10:19]OFD Sender: No OFD packet to send [16:10:24]OFD Sender: No OFD packet to send [16:10:29]OFD Sender: No OFD packet to send [16:10:34]OFD Sender: No OFD packet to send [16:10:39]OFD Sender: No OFD packet to send [16:10:44]OFD Sender: No OFD packet to send [16:10:49]OFD Sender: No OFD packet to send [16:10:54]OFD Sender: No OFD packet to send [16:10:59]OFD Sender: No OFD packet to send [16:11:04]OFD Sender: No OFD packet to send [16:11:09]OFD Sender: No OFD packet to send [16:11:14]OFD Sender: No OFD packet to send [16:11:19]OFD Sender: No OFD packet to send [16:11:24]OFD Sender: No OFD packet to send [16:11:29]OFD Sender: No OFD packet to send [16:11:34]OFD Sender: No OFD packet to send [16:11:39]OFD Sender: No OFD packet to send [16:11:44]OFD Sender: No OFD packet to send [16:11:49]OFD Sender: No OFD packet to send [16:11:54]OFD Sender: No OFD packet to send [16:11:59]OFD Sender: No OFD packet to send [16:12:04]OFD Sender: No OFD packet to send [16:12:09]OFD Sender: No OFD packet to send [16:12:14]OFD Sender: No OFD packet to send [16:12:19]OFD Sender: No OFD packet to send [16:12:24]OFD Sender: No OFD packet to send [16:12:29]OFD Sender: No OFD packet to send [16:12:34]OFD Sender: No OFD packet to send [16:12:39]OFD Sender: No OFD packet to send [16:12:44]OFD Sender: No OFD packet to send [16:12:49]OFD Sender: No OFD packet to send [16:12:54]OFD Sender: No OFD packet to send [16:12:59]OFD Sender: No OFD packet to send [16:13:04]OFD Sender: No OFD packet to send [16:13:09]OFD Sender: No OFD packet to send [16:13:14]OFD Sender: No OFD packet to send [16:13:19]OFD Sender: No OFD packet to send [16:13:24]OFD Sender: No OFD packet to send [16:13:29]OFD Sender: No OFD packet to send [16:13:34]OFD Sender: No OFD packet to send [16:13:39]OFD Sender: No OFD packet to send [16:13:44]OFD Sender: No OFD packet to send [16:13:49]OFD Sender: No OFD packet to send [16:13:54]OFD Sender: No OFD packet to send [16:13:59]OFD Sender: No OFD packet to send [16:14:04]OFD Sender: No OFD packet to send [16:14:09]OFD Sender: No OFD packet to send [16:14:15]OFD Sender: No OFD packet to send [16:14:20]OFD Sender: No OFD packet to send [16:14:25]OFD Sender: No OFD packet to send [16:14:30]OFD Sender: No OFD packet to send [16:14:35]OFD Sender: No OFD packet to send [16:14:40]OFD Sender: No OFD packet to send [16:14:45]OFD Sender: No OFD packet to send [16:14:50]OFD Sender: No OFD packet to send [16:14:55]OFD Sender: No OFD packet to send [16:15:00]OFD Sender: No OFD packet to send [16:15:05]OFD Sender: No OFD packet to send [16:15:10]OFD Sender: No OFD packet to send [16:15:15]OFD Sender: No OFD packet to send [16:15:20]OFD Sender: No OFD packet to send [16:15:25]OFD Sender: No OFD packet to send [16:15:30]OFD Sender: No OFD packet to send [16:15:35]OFD Sender: No OFD packet to send [16:15:40]OFD Sender: No OFD packet to send [16:15:45]OFD Sender: No OFD packet to send [16:15:50]OFD Sender: No OFD packet to send [16:15:55]OFD Sender: No OFD packet to send [16:16:00]OFD Sender: No OFD packet to send [16:16:05]OFD Sender: No OFD packet to send [16:16:10]OFD Sender: No OFD packet to send [16:16:15]OFD Sender: No OFD packet to send [16:16:20]OFD Sender: No OFD packet to send [16:16:25]OFD Sender: No OFD packet to send [16:16:30]OFD Sender: No OFD packet to send [16:16:35]OFD Sender: No OFD packet to send [16:16:40]OFD Sender: No OFD packet to send [16:16:45]OFD Sender: No OFD packet to send [16:16:50]OFD Sender: No OFD packet to send [16:16:55]OFD Sender: No OFD packet to send [16:17:00]OFD Sender: No OFD packet to send [16:17:05]OFD Sender: No OFD packet to send [16:17:10]OFD Sender: No OFD packet to send [16:17:15]OFD Sender: No OFD packet to send [16:17:20]OFD Sender: No OFD packet to send [16:17:25]OFD Sender: No OFD packet to send [16:17:30]OFD Sender: No OFD packet to send [16:17:35]OFD Sender: No OFD packet to send [16:17:40]OFD Sender: No OFD packet to send [16:17:45]OFD Sender: No OFD packet to send [16:17:50]OFD Sender: No OFD packet to send [16:17:55]OFD Sender: No OFD packet to send [16:18:00]OFD Sender: No OFD packet to send [16:18:05]OFD Sender: No OFD packet to send [16:18:10]OFD Sender: No OFD packet to send [16:18:15]OFD Sender: No OFD packet to send [16:18:20]OFD Sender: No OFD packet to send [16:18:25]OFD Sender: No OFD packet to send [16:18:30]OFD Sender: No OFD packet to send [16:18:35]OFD Sender: No OFD packet to send [16:18:40]OFD Sender: No OFD packet to send [16:18:45]OFD Sender: No OFD packet to send [16:18:50]OFD Sender: No OFD packet to send [16:18:55]OFD Sender: No OFD packet to send [16:19:00]OFD Sender: No OFD packet to send [16:19:05]OFD Sender: No OFD packet to send [16:19:10]OFD Sender: No OFD packet to send [16:19:15]OFD Sender: No OFD packet to send [16:19:20]OFD Sender: No OFD packet to send [16:19:25]OFD Sender: No OFD packet to send [16:19:30]OFD Sender: No OFD packet to send [16:19:35]OFD Sender: No OFD packet to send [16:19:40]OFD Sender: No OFD packet to send [16:19:45]OFD Sender: No OFD packet to send [16:19:50]OFD Sender: No OFD packet to send [16:19:55]OFD Sender: No OFD packet to send [16:20:00]OFD Sender: No OFD packet to send [16:20:05]OFD Sender: No OFD packet to send [16:20:10]OFD Sender: No OFD packet to send [16:20:15]OFD Sender: No OFD packet to send [16:20:20]OFD Sender: No OFD packet to send [16:20:25]OFD Sender: No OFD packet to send [16:20:30]OFD Sender: No OFD packet to send [16:20:35]OFD Sender: No OFD packet to send [16:20:40]OFD Sender: No OFD packet to send [16:20:45]OFD Sender: No OFD packet to send [16:20:50]OFD Sender: No OFD packet to send [16:20:55]OFD Sender: No OFD packet to send [16:21:00]OFD Sender: No OFD packet to send [16:21:05]OFD Sender: No OFD packet to send [16:21:10]OFD Sender: No OFD packet to send [16:21:15]OFD Sender: No OFD packet to send [16:21:20]OFD Sender: No OFD packet to send [16:21:25]OFD Sender: No OFD packet to send [16:21:30]OFD Sender: No OFD packet to send [16:21:35]OFD Sender: No OFD packet to send [16:21:40]OFD Sender: No OFD packet to send [16:21:45]OFD Sender: No OFD packet to send [16:21:50]OFD Sender: No OFD packet to send [16:21:55]OFD Sender: No OFD packet to send [16:22:00]OFD Sender: No OFD packet to send [16:22:05]OFD Sender: No OFD packet to send [16:22:10]OFD Sender: No OFD packet to send [16:22:15]OFD Sender: No OFD packet to send [16:22:20]OFD Sender: No OFD packet to send [16:22:25]OFD Sender: No OFD packet to send [16:22:30]OFD Sender: No OFD packet to send [16:22:35]OFD Sender: No OFD packet to send [16:22:40]OFD Sender: No OFD packet to send [16:22:45]OFD Sender: No OFD packet to send [16:22:50]OFD Sender: No OFD packet to send [16:22:55]OFD Sender: No OFD packet to send [16:23:00]OFD Sender: No OFD packet to send [16:23:05]OFD Sender: No OFD packet to send [16:23:10]OFD Sender: No OFD packet to send [16:23:15]OFD Sender: No OFD packet to send [16:23:20]OFD Sender: No OFD packet to send [16:23:25]OFD Sender: No OFD packet to send [16:23:30]OFD Sender: No OFD packet to send [16:23:35]OFD Sender: No OFD packet to send [16:23:40]OFD Sender: No OFD packet to send [16:23:45]OFD Sender: No OFD packet to send [16:23:50]OFD Sender: No OFD packet to send [16:23:55]OFD Sender: No OFD packet to send [16:24:00]OFD Sender: No OFD packet to send [16:24:05]OFD Sender: No OFD packet to send [16:24:10]OFD Sender: No OFD packet to send [16:24:15]OFD Sender: No OFD packet to send [16:24:20]OFD Sender: No OFD packet to send [16:24:25]OFD Sender: No OFD packet to send [16:24:30]OFD Sender: No OFD packet to send [16:24:35]OFD Sender: No OFD packet to send [16:24:40]OFD Sender: No OFD packet to send [16:24:45]OFD Sender: No OFD packet to send [16:24:50]OFD Sender: No OFD packet to send [16:24:55]OFD Sender: No OFD packet to send [16:25:00]OFD Sender: No OFD packet to send [16:25:05]OFD Sender: No OFD packet to send [16:25:10]OFD Sender: No OFD packet to send [16:25:15]OFD Sender: No OFD packet to send [16:25:20]OFD Sender: No OFD packet to send [16:25:25]OFD Sender: No OFD packet to send [16:25:30]OFD Sender: No OFD packet to send [16:25:35]OFD Sender: No OFD packet to send [16:25:40]OFD Sender: No OFD packet to send [16:25:45]OFD Sender: No OFD packet to send [16:25:50]OFD Sender: No OFD packet to send [16:25:55]OFD Sender: No OFD packet to send [16:26:00]OFD Sender: No OFD packet to send [16:26:05]OFD Sender: No OFD packet to send [16:26:10]OFD Sender: No OFD packet to send [16:26:15]OFD Sender: No OFD packet to send [16:26:20]OFD Sender: No OFD packet to send [16:26:25]OFD Sender: No OFD packet to send [16:26:30]OFD Sender: No OFD packet to send [16:26:35]OFD Sender: No OFD packet to send [16:26:40]OFD Sender: No OFD packet to send [16:26:45]OFD Sender: No OFD packet to send [16:26:50]OFD Sender: No OFD packet to send [16:26:55]OFD Sender: No OFD packet to send [16:27:00]OFD Sender: No OFD packet to send [16:27:05]OFD Sender: No OFD packet to send [16:27:10]OFD Sender: No OFD packet to send [16:27:15]OFD Sender: No OFD packet to send [16:27:20]OFD Sender: No OFD packet to send [16:27:25]OFD Sender: No OFD packet to send [16:27:30]OFD Sender: No OFD packet to send [16:27:35]OFD Sender: No OFD packet to send [16:27:40]OFD Sender: No OFD packet to send [16:27:45]OFD Sender: No OFD packet to send [16:27:50]OFD Sender: No OFD packet to send [16:27:55]OFD Sender: No OFD packet to send [16:28:00]OFD Sender: No OFD packet to send [16:28:04]accept exits with 9 [16:28:04]New connection [16:28:04]New thread 3066596708 created [16:28:04]Thread 3066453348 joined [16:28:04]Waiting for new connection... [16:28:04] Sock 9.Parse request [16:28:04]Sock 9.Check first char [16:28:04]Sock 9.First char is OK [16:28:04]request: POST /json_proto HTTP/1.0 [16:28:04]Method: POST [16:28:04]URL: /json_proto [16:28:04]Method is POST - this is cgi request [16:28:04]url: /json_proto [16:28:04]query_string will be loaded in cgi processing [16:28:04]execute_cgi json_proto POST (null) [16:28:04]execute_cgi path=json_proto method=POST [16:28:04]POST find Content-Length [16:28:04]Host: 172.17.32.68:8080 [16:28:04]Content-Length: 613 [16:28:04]Content-Type: application/json [16:28:04] [16:28:04]POST finish read [16:28:04]Found Content-Length = 613 [16:28:04]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242269", "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" ] } } [16:28:04]execute_script... [16:28: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)242269", "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" ] } } [16:28:04]POST & json_proto [16:28:04]process_json_proto [16:28:04]json parsed OK: [16:28:04]protocol is kg_v1.0 [16:28:04]action value=close_receipt [16:28:04]process_action close_receipt [16:28:04]cmd_close_receipt [16:28:04]MH_GetDate [16:28:04]Write to MH i2c: F0 00 00 0D 55 51 [16:28:04]Write i2c OK [16:28:04]MH_I2C_Read... [16:28:04]Read from MH i2c: F0 [16:28:04]MH_I2C_Read... [16:28:04]Read from MH i2c: F0 09 00 [16:28:04]MH_I2C_Read... [16:28:04]Read from MH i2c: F0 09 00 0D 55 00 A4 82 F0 65 0A 64 6E 65 16 [16:28:04]GetLastDocTimeStamp 1710253257 [16:28:04]current date 1710260900 [16:28:04]FM_GetShiftState [16:28:04]SAM_PROTO_GetShiftState [16:28:04]wFMCommunicate request_size=4 [16:28:04]MH_SAM_APDU [16:28:04]CAPDU: 80 13 01 00 [16:28:04]Write to MH i2c: E2 08 00 0E 55 80 13 01 00 00 00 00 00 E0 [16:28:04]Write i2c OK [16:28:04]MH_I2C_Read... [16:28:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:28:04]Read from MH i2c: E2 [16:28:04]MH_I2C_Read... [16:28:04]Read from MH i2c: E2 0E 00 [16:28:04]MH_I2C_Read... [16:28:04]Read from MH i2c: E2 0E 00 0E 55 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 0F [16:28:04]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [16:28:04]wFMCommunicate OK [16:28:04]SAM_PROTO_GetShiftState done [16:28:04]FM_GetShiftState done [16:28:04]opened in 1710202417 [16:28:04]opened+sec_in_day 1710288817 [16:28:04]quantity*price = 8000 [16:28:04]sum+1 = 8001 [16:28:04]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 80.00 НСП 1% : 0.71 НДС 12% : 8.50 Наличными: 80.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 33 12.03.2024 16:28 Смена: 314 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47355 ФПД: 107152920222408 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T162820&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47355&fm=107152920222408&tin=02508201610067®Number=0000000000092018&sum=8000 0 [16:28:05]StoreToDocumentArchive [16:28:05]shift 314 fd 47355 [16:28:05]save to /storage/0314/doc_00047355 [16:28:05]save last doc name /storage/0314/doc_00047355 to /storage/kkm_last_doc_name [16:28:05]save OK [16:28:05]Clear old archive folders... [16:28:05]ProcessDocumentItem done err = 0, tmpTLVsize=268 [16:28:05]tlvbuf is B6F016C0 [16:28:05]SAM_PROTO_ClearQueue [16:28:05]wFMCommunicate request_size=4 [16:28:05]MH_SAM_APDU [16:28:05]CAPDU: 80 09 00 00 [16:28:05]Write to MH i2c: E2 08 00 1B 55 80 09 00 00 00 00 00 00 E2 [16:28:05]Write i2c OK [16:28:05]MH_I2C_Read... [16:28:05]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:28:05]Read from MH i2c: E2 [16:28:05]MH_I2C_Read... [16:28:05]Read from MH i2c: E2 03 00 [16:28:05]MH_I2C_Read... [16:28:05]Read from MH i2c: E2 03 00 1B 55 00 90 00 E4 [16:28:05]RAPDU: 90 00 [16:28:05]wFMCommunicate OK [16:28:05]SAM_PROTO_ClearQueue done [16:28:05]KKMCreateOFDPacket [16:28:05]OFDProtocolAddRootSTLVToBuf [16:28:05]FM_MakeSignedData [16:28:05]FM_MakeSignedData [16:28:05]SAM_PROTO_SignData [16:28:05]wFMCommunicate request_size=4 [16:28:05]MH_SAM_APDU [16:28:05]CAPDU: 80 0D 01 02 [16:28:05]Write to MH i2c: E2 08 00 1C 55 80 0D 01 02 00 00 00 00 EA [16:28:05]Write i2c OK [16:28:05]MH_I2C_Read... [16:28:05]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:28:05]Read from MH i2c: E2 [16:28:05]MH_I2C_Read... [16:28:05]Read from MH i2c: E2 03 00 [16:28:05]MH_I2C_Read... [16:28:05]Read from MH i2c: E2 03 00 1C 55 00 90 00 E5 [16:28:05]RAPDU: 90 00 [16:28:05]wFMCommunicate OK [16:28:05]wFMCommunicate request_size=255 [16:28:05]MH_SAM_APDU [16:28:05]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 21 00 00 00 F4 03 04 00 A4 82 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 [16:28:05]Write to MH i2c: E2 02 01 1D 55 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 21 00 00 00 F4 03 04 00 A4 82 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 00 00 CF [16:28:05]Write i2c OK [16:28:05]MH_I2C_Read... [16:28:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:28:06]Read from MH i2c: E2 [16:28:06]MH_I2C_Read... [16:28:06]Read from MH i2c: E2 03 00 [16:28:06]MH_I2C_Read... [16:28:06]Read from MH i2c: E2 03 00 1D 55 00 90 00 E6 [16:28:06]RAPDU: 90 00 [16:28:06]wFMCommunicate OK [16:28:06]wFMCommunicate request_size=27 [16:28:06]MH_SAM_APDU [16:28:06]CAPDU: 80 0D 02 02 16 31 38 31 36 10 04 04 00 FB B8 00 00 35 04 06 00 61 74 7B BF 1A C8 [16:28:06]Write to MH i2c: E2 1E 00 1E 55 80 0D 02 02 16 00 31 38 31 36 10 04 04 00 FB B8 00 00 35 04 06 00 61 74 7B BF 1A C8 00 00 E4 [16:28:06]Write i2c OK [16:28:06]MH_I2C_Read... [16:28:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:28:06]Read from MH i2c: E2 [16:28:06]MH_I2C_Read... [16:28:06]Read from MH i2c: E2 03 00 [16:28:06]MH_I2C_Read... [16:28:06]Read from MH i2c: E2 03 00 1E 55 00 90 00 E7 [16:28:06]RAPDU: 90 00 [16:28:06]wFMCommunicate OK [16:28:06]wFMCommunicate request_size=4 [16:28:06]MH_SAM_APDU [16:28:06]CAPDU: 80 0D 03 02 [16:28:06]Write to MH i2c: E2 08 00 1F 55 80 0D 03 02 00 00 00 00 EF [16:28:06]Write i2c OK [16:28:06]MH_I2C_Read... [16:28:06]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:28:06]Read from MH i2c: E2 [16:28:06]MH_I2C_Read... [16:28:06]Read from MH i2c: E2 0B 00 [16:28:06]MH_I2C_Read... [16:28:06]Read from MH i2c: E2 0B 00 1F 55 00 04 A0 6E 58 DF C5 1A 36 90 00 4E [16:28:06]RAPDU: 04 A0 6E 58 DF C5 1A 36 90 00 [16:28:06]wFMCommunicate OK [16:28:06]SAM_PROTO_SignData done [16:28:06]FM_MakeSignedData done [16:28:06]CreateOFDProtocolMessage [16:28:06]wFMCommunicate request_size=4 [16:28:06]MH_SAM_APDU [16:28:06]CAPDU: 80 11 00 00 [16:28:06]Write to MH i2c: E2 08 00 20 55 80 11 00 00 00 00 00 00 EF [16:28:06]Write i2c OK [16:28:06]MH_I2C_Read... [16:28:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:28:06]Read from MH i2c: E2 [16:28:06]MH_I2C_Read... [16:28:06]Read from MH i2c: E2 17 00 [16:28:06]MH_I2C_Read... [16:28:06]Read from MH i2c: E2 17 00 20 55 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 41 [16:28:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [16:28:06]wFMCommunicate OK [16:28:06]CreateOFDProtocolMessage done [16:28:06]OFDSenderStorePacket 47355 [16:28:06]StoreOFDPacket docnum=47355 [16:28:06]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 20 01 00 00 92 8C 18 01 48 78 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 21 00 00 00 F4 03 04 00 A4 82 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 FB B8 00 00 35 04 06 00 61 74 7B BF 1A C8 04 A0 6E 58 DF C5 1A 36 [16:28:06]CheckFolder [16:28:06]dirname=/storage/ofd_packets [16:28:06]CheckFolder done [16:28:06]ProducePacketName [16:28:06]name=ofd_packets/00047355 [16:28:06]NVStorageSaveData ofd_packets/00047355 [16:28:06]File name is /storage/ofd_packets/00047355 [16:28:06]Write 318 bytes [16:28:06]NVStorageSaveData done [16:28:06]OFDSenderStorePacket done [16:28:06]KKMCreateOFDPacket done [16:28:06]NVStorageSaveData kkm_last_timestamp [16:28:06]File name is /storage/kkm_last_timestamp [16:28:06]Write 4 bytes [16:28:06]NVStorageSaveData done [16:28:06]ExternCall_PrintAddStr [16:28:06]wPrintStart [16:28:06]Write to MH i2c: 01 00 00 21 55 76 [16:28:06]Write i2c OK [16:28:06]MH_I2C_Read... [16:28:06]Read from MH i2c: 01 [16:28:06]MH_I2C_Read... [16:28:06]Read from MH i2c: 01 07 00 [16:28:06]MH_I2C_Read... [16:28:06]Read from MH i2c: 01 07 00 21 55 00 00 00 00 00 FF 0F 8B [16:28:06]RasterBufferAndPrint [16:28:06]line Счет N : (3)242269 [16:28:06]line ИНН: 02508201610067 [16:28:06]line Контрольно-Кассовый Чек [16:28:06]line ПРОДАЖА [16:28:06]line Товар: 4870001570057 [16:28:06]line Напиток Pepsi 0,5л [16:28:06]line 1.000 * 80.00 [16:28:06]line = 80.00 [16:28:06]line НДС 12% НСП 1% [16:28:06]line > о реализуемом товаре [16:28:06]line ИТОГО: 80.00 [16:28:06]line НСП 1% : 0.71 [16:28:06]line НДС 12% : 8.50 [16:28:06]line Наличными: 80.00 [16:28:06]line Безнал.: 0.00 [16:28:06]line Место: АЗС № 15 "Партнер Нефть" [16:28:06]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [16:28:06]line СНО: Общий режим [16:28:06]line Чек 33 12.03.2024 16:28 [16:28:06]line Смена: 314 ФФД: 1.0 [16:28:06]line ЗНМ: 0300000097 [16:28:06]line РНМ: 0000000000092018 [16:28:06]line Версия ККМ: 001 [16:28:06]line ФМ: 0000000000871816 [16:28:06]line ФД: 47355 [16:28:06]line ФПД: 107152920222408 [16:28:06]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T162820&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47355&fm=107152920222408&tin=02508201610067®Number=0000000000092018&sum=8000 [16:28:06]line 0 [16:28:06]OFD Sender: Processing packet 47355 [packets to send 8, broken 7] [16:28:06]ProducePacketName [16:28:06]name=ofd_packets/00047355 [16:28:06]OFD Sender: To server: pG, [16:28:06]CommunicateWithHost lk.salyk.kg:30040 [16:28:06]ConnectInit lk.salyk.kg [16:28:06]written 0, free lines is 4095 [16:28:06]Connected sock=10 [16:28: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 31 36 20 01 00 00 92 8C 18 01 48 78 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 21 00 00 00 F4 03 04 00 A4 82 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 FB B8 00 00 35 04 06 00 61 74 7B BF 1A C8 04 A0 6E 58 DF C5 1A 36 [16:28: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 31 36 4F 00 00 00 84 70 47 00 C7 90 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 31 36 10 04 04 00 FB B8 00 00 F4 03 04 00 36 2D F0 65 B6 04 01 00 00 37 36 79 7B B7 5F 5D 27 [16:28:06]CommunicateWithHost err = 0 [16:28:06]CheckOFDResponse [16:28:06]1017 (14) - 77093643461234 [16:28:06]1041 (16) - 0000000000871816 [16:28:06]1040 (4) - 47355 [16:28:06]1012 (4) - 12.03.2024 10:23 [16:28:06]1206 (1) - 0 [16:28:06]OFD Sender: Remove packet 47355 [16:28:06]ProducePacketName [16:28:06]name=ofd_packets/00047355 [16:28:06]NVStorageDeleteData [16:28:07]Write to MH i2c: 01 00 00 49 55 9E [16:28:07]Write i2c OK [16:28:07]MH_I2C_Read... [16:28:07]Read from MH i2c: 01 [16:28:07]MH_I2C_Read... [16:28:07]Read from MH i2c: 01 07 00 [16:28:07]MH_I2C_Read... [16:28:07]Read from MH i2c: 01 07 00 49 55 00 00 00 00 00 E7 0C 98 [16:28:07]RasterBufferAndPrint [16:28:07]line [16:28:07]line [16:28:07]line [16:28:07]line [16:28:07]line [16:28:07]written 0, free lines is 3309 [16:28:07]MH_Cut [16:28:07]Write to MH i2c: D1 01 00 50 55 01 77 [16:28:07]Write i2c OK [16:28:07]MH_I2C_Read... [16:28:07]Read from MH i2c: D1 [16:28:07]MH_I2C_Read... [16:28:07]Read from MH i2c: D1 01 00 [16:28:07]MH_I2C_Read... [16:28:07]Read from MH i2c: D1 01 00 50 55 00 76 [16:28:07]Write to MH i2c: 01 00 00 51 55 A6 [16:28:07]Write i2c OK [16:28:07]MH_I2C_Read... [16:28:07]OFD Sender: No OFD packet to send [16:28:07]*** Cut start [16:28:07]*** Purtial cut [16:28:07]*** Stage 1: CUTSNS_PIN = 1 [16:28:08]Read from MH i2c: 01 [16:28:08]MH_I2C_Read... [16:28:08]*** Stop cut motor [16:28:08]*** Cut end [16:28:08]Read from MH i2c: 01 07 00 [16:28:08]MH_I2C_Read... [16:28:08]Read from MH i2c: 01 07 00 51 55 00 00 00 00 00 FF 0F BB [16:28:08]process_action close_receipt done [16:28:08]requested_data is exist [16:28:08]produce_requested_data [16:28:08]requested_item fm.sn is exist - process it [16:28:08]wFMCommunicate request_size=4 [16:28:08]MH_SAM_APDU [16:28:08]CAPDU: 80 11 00 00 [16:28:08]Write to MH i2c: E2 08 00 52 55 80 11 00 00 00 00 00 00 21 [16:28:08]Write i2c OK [16:28:08]MH_I2C_Read... [16:28:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:28:08]Read from MH i2c: E2 [16:28:08]MH_I2C_Read... [16:28:08]Read from MH i2c: E2 17 00 [16:28:08]MH_I2C_Read... [16:28:08]Read from MH i2c: E2 17 00 52 55 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 73 [16:28:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [16:28:08]wFMCommunicate OK [16:28:08]requested_item fd.num is exist - process it [16:28:08]SAM_PROTO_GetFieldsCounters [16:28:08]wFMCommunicate request_size=4 [16:28:08]MH_SAM_APDU [16:28:08]CAPDU: 80 13 00 00 [16:28:08]Write to MH i2c: E2 08 00 53 55 80 13 00 00 00 00 00 00 24 [16:28:08]Write i2c OK [16:28:08]MH_I2C_Read... [16:28:08]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:28:08]Read from MH i2c: E2 [16:28:08]MH_I2C_Read... [16:28:08]Read from MH i2c: E2 62 00 [16:28:08]MH_I2C_Read... [16:28:08]Read from MH i2c: E2 62 00 53 55 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 FB B8 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 21 00 00 00 5E 04 04 00 21 00 00 00 57 04 04 00 22 00 00 00 19 04 04 00 00 00 00 00 90 00 90 [16:28: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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 FB B8 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 21 00 00 00 5E 04 04 00 21 00 00 00 57 04 04 00 22 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:28:08]wFMCommunicate OK [16:28:08]SAM_PROTO_GetFieldsCounters done [16:28:08]requested_item shift.num is exist - process it [16:28:08]requested_item shift.opened is exist - process it [16:28:08]req_shift_opened [16:28:08]FM_GetShiftState [16:28:08]SAM_PROTO_GetShiftState [16:28:08]wFMCommunicate request_size=4 [16:28:08]MH_SAM_APDU [16:28:08]CAPDU: 80 13 01 00 [16:28:08]Write to MH i2c: E2 08 00 54 55 80 13 01 00 00 00 00 00 26 [16:28:08]Write i2c OK [16:28:08]MH_I2C_Read... [16:28:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:28:08]Read from MH i2c: E2 [16:28:08]MH_I2C_Read... [16:28:08]Read from MH i2c: E2 0E 00 [16:28:08]MH_I2C_Read... [16:28:08]Read from MH i2c: E2 0E 00 54 55 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 55 [16:28:08]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [16:28:08]wFMCommunicate OK [16:28:08]SAM_PROTO_GetShiftState done [16:28:08]FM_GetShiftState done [16:28:08]req_shift_opened done [16:28:08]requested_item shift.open_date is exist - process it [16:28:08]req_shift_open_date [16:28:08]req_shift_open_date done [16:28:08]produce_requested_data done [16:28:08]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47355,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [16:28:08]process_action_free close_receipt [16:28:08]json_value_free [16:28:08]json_value_free done [16:28:08]process_json_proto returns [16:28:08]Send response to host [16:28:08]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47355,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [16:28:08]free response buf [16:28:08]execute_script done [16:28:08]execute_script returns [16:28:08]free content buf [16:28:08]Sock 9.Close socket [16:28:08]Sock 9.Thread stoped [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:07]OFD Sender: No OFD packet to send [16:33:12]OFD Sender: No OFD packet to send [16:33:17]OFD Sender: No OFD packet to send [16:33:22]OFD Sender: No OFD packet to send [16:33:27]OFD Sender: No OFD packet to send [16:33:32]OFD Sender: No OFD packet to send [16:33:37]OFD Sender: No OFD packet to send [16:33:42]OFD Sender: No OFD packet to send [16:33:47]OFD Sender: No OFD packet to send [16:33:52]OFD Sender: No OFD packet to send [16:33:57]OFD Sender: No OFD packet to send [16:34:02]OFD Sender: No OFD packet to send [16:34:07]OFD Sender: No OFD packet to send [16:34:12]OFD Sender: No OFD packet to send [16:34:17]OFD Sender: No OFD packet to send [16:34:22]OFD Sender: No OFD packet to send [16:34:27]OFD Sender: No OFD packet to send [16:34:32]OFD Sender: No OFD packet to send [16:34:37]OFD Sender: No OFD packet to send [16:34:42]OFD Sender: No OFD packet to send [16:34:47]OFD Sender: No OFD packet to send [16:34:52]OFD Sender: No OFD packet to send [16:34:57]OFD Sender: No OFD packet to send [16:35:02]OFD Sender: No OFD packet to send [16:35:07]OFD Sender: No OFD packet to send [16:35:12]OFD Sender: No OFD packet to send [16:35:17]OFD Sender: No OFD packet to send [16:35:22]OFD Sender: No OFD packet to send [16:35:27]OFD Sender: No OFD packet to send [16:35:32]OFD Sender: No OFD packet to send [16:35:37]OFD Sender: No OFD packet to send [16:35:42]OFD Sender: No OFD packet to send [16:35:47]OFD Sender: No OFD packet to send [16:35:52]OFD Sender: No OFD packet to send [16:35:57]OFD Sender: No OFD packet to send [16:36:02]OFD Sender: No OFD packet to send [16:36:07]OFD Sender: No OFD packet to send [16:36:12]OFD Sender: No OFD packet to send [16:36:17]OFD Sender: No OFD packet to send [16:36:22]OFD Sender: No OFD packet to send [16:36:27]OFD Sender: No OFD packet to send [16:36:32]OFD Sender: No OFD packet to send [16:36:37]OFD Sender: No OFD packet to send [16:36:42]OFD Sender: No OFD packet to send [16:36:47]OFD Sender: No OFD packet to send [16:36:52]OFD Sender: No OFD packet to send [16:36:57]OFD Sender: No OFD packet to send [16:37:02]OFD Sender: No OFD packet to send [16:37:07]OFD Sender: No OFD packet to send [16:37:12]OFD Sender: No OFD packet to send [16:37:17]OFD Sender: No OFD packet to send [16:37:22]OFD Sender: No OFD packet to send [16:37:27]OFD Sender: No OFD packet to send [16:37:32]OFD Sender: No OFD packet to send [16:37:37]OFD Sender: No OFD packet to send [16:37:42]OFD Sender: No OFD packet to send [16:37:47]OFD Sender: No OFD packet to send [16:37:52]OFD Sender: No OFD packet to send [16:37:57]OFD Sender: No OFD packet to send [16:38:02]OFD Sender: No OFD packet to send [16:38:07]OFD Sender: No OFD packet to send [16:38:12]OFD Sender: No OFD packet to send [16:38:17]OFD Sender: No OFD packet to send [16:38:22]OFD Sender: No OFD packet to send [16:38:27]OFD Sender: No OFD packet to send [16:38:32]OFD Sender: No OFD packet to send [16:38:37]OFD Sender: No OFD packet to send [16:38:42]OFD Sender: No OFD packet to send [16:38:47]OFD Sender: No OFD packet to send [16:38:52]OFD Sender: No OFD packet to send [16:38:57]OFD Sender: No OFD packet to send [16:39:02]OFD Sender: No OFD packet to send [16:39:07]OFD Sender: No OFD packet to send [16:39:12]OFD Sender: No OFD packet to send [16:39:17]OFD Sender: No OFD packet to send [16:39:22]OFD Sender: No OFD packet to send [16:39:27]OFD Sender: No OFD packet to send [16:39:32]OFD Sender: No OFD packet to send [16:39:37]OFD Sender: No OFD packet to send [16:39: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:53]OFD Sender: No OFD packet to send [16:42:58]OFD Sender: No OFD packet to send [16:43:03]OFD Sender: No OFD packet to send [16:43:08]OFD Sender: No OFD packet to send [16:43:13]OFD Sender: No OFD packet to send [16:43:18]OFD Sender: No OFD packet to send [16:43:23]OFD Sender: No OFD packet to send [16:43:28]OFD Sender: No OFD packet to send [16:43:33]OFD Sender: No OFD packet to send [16:43:38]OFD Sender: No OFD packet to send [16:43:43]OFD Sender: No OFD packet to send [16:43:48]OFD Sender: No OFD packet to send [16:43:53]OFD Sender: No OFD packet to send [16:43:58]OFD Sender: No OFD packet to send [16:44:03]OFD Sender: No OFD packet to send [16:44:08]OFD Sender: No OFD packet to send [16:44:13]OFD Sender: No OFD packet to send [16:44:18]OFD Sender: No OFD packet to send [16:44:23]OFD Sender: No OFD packet to send [16:44:28]OFD Sender: No OFD packet to send [16:44:33]OFD Sender: No OFD packet to send [16:44:38]OFD Sender: No OFD packet to send [16:44:43]OFD Sender: No OFD packet to send [16:44:48]OFD Sender: No OFD packet to send [16:44:53]OFD Sender: No OFD packet to send [16:44:58]OFD Sender: No OFD packet to send [16:45:03]OFD Sender: No OFD packet to send [16:45:08]OFD Sender: No OFD packet to send [16:45:13]OFD Sender: No OFD packet to send [16:45:18]OFD Sender: No OFD packet to send [16:45:23]OFD Sender: No OFD packet to send [16:45:28]OFD Sender: No OFD packet to send [16:45:33]OFD Sender: No OFD packet to send [16:45:38]OFD Sender: No OFD packet to send [16:45:43]OFD Sender: No OFD packet to send [16:45:48]OFD Sender: No OFD packet to send [16:45:53]OFD Sender: No OFD packet to send [16:45:58]OFD Sender: No OFD packet to send [16:46:03]OFD Sender: No OFD packet to send [16:46:08]OFD Sender: No OFD packet to send [16:46:13]OFD Sender: No OFD packet to send [16:46:18]OFD Sender: No OFD packet to send [16:46:23]OFD Sender: No OFD packet to send [16:46:28]OFD Sender: No OFD packet to send [16:46:33]OFD Sender: No OFD packet to send [16:46:38]OFD Sender: No OFD packet to send [16:46:43]OFD Sender: No OFD packet to send [16:46:48]OFD Sender: No OFD packet to send [16:46:53]OFD Sender: No OFD packet to send [16:46:58]OFD Sender: No OFD packet to send [16:47:03]OFD Sender: No OFD packet to send [16:47:08]OFD Sender: No OFD packet to send [16:47:13]OFD Sender: No OFD packet to send [16:47:18]OFD Sender: No OFD packet to send [16:47:23]OFD Sender: No OFD packet to send [16:47:28]OFD Sender: No OFD packet to send [16:47:33]OFD Sender: No OFD packet to send [16:47:38]OFD Sender: No OFD packet to send [16:47:43]OFD Sender: No OFD packet to send [16:47:48]OFD Sender: No OFD packet to send [16:47:53]OFD Sender: No OFD packet to send [16:47:58]OFD Sender: No OFD packet to send [16:48:03]OFD Sender: No OFD packet to send [16:48:08]OFD Sender: No OFD packet to send [16:48:13]OFD Sender: No OFD packet to send [16:48:18]OFD Sender: No OFD packet to send [16:48:23]OFD Sender: No OFD packet to send [16:48:28]OFD Sender: No OFD packet to send [16:48:33]OFD Sender: No OFD packet to send [16:48:38]OFD Sender: No OFD packet to send [16:48:43]OFD Sender: No OFD packet to send [16:48:48]OFD Sender: No OFD packet to send [16:48:53]OFD Sender: No OFD packet to send [16:48:58]OFD Sender: No OFD packet to send [16:49:03]OFD Sender: No OFD packet to send [16:49:08]OFD Sender: No OFD packet to send [16:49:13]OFD Sender: No OFD packet to send [16:49:18]OFD Sender: No OFD packet to send [16:49:23]OFD Sender: No OFD packet to send [16:49:28]OFD Sender: No OFD packet to send [16:49:33]OFD Sender: No OFD packet to send [16:49:38]OFD Sender: No OFD packet to send [16:49:43]OFD Sender: No OFD packet to send [16:49:48]OFD Sender: No OFD packet to send [16:49:53]OFD Sender: No OFD packet to send [16:49:58]OFD Sender: No OFD packet to send [16:50:03]OFD Sender: No OFD packet to send [16:50:08]OFD Sender: No OFD packet to send [16:50:13]OFD Sender: No OFD packet to send [16:50:18]OFD Sender: No OFD packet to send [16:50:23]OFD Sender: No OFD packet to send [16:50:28]OFD Sender: No OFD packet to send [16:50:33]OFD Sender: No OFD packet to send [16:50:38]OFD Sender: No OFD packet to send [16:50:43]OFD Sender: No OFD packet to send [16:50:48]OFD Sender: No OFD packet to send [16:50:53]OFD Sender: No OFD packet to send [16:50:58]OFD Sender: No OFD packet to send [16:51:03]OFD Sender: No OFD packet to send [16:51:08]OFD Sender: No OFD packet to send [16:51:13]OFD Sender: No OFD packet to send [16:51:18]OFD Sender: No OFD packet to send [16:51:23]OFD Sender: No OFD packet to send [16:51:28]OFD Sender: No OFD packet to send [16:51:31]accept exits with 7 [16:51:31]New connection [16:51:31]New thread 3066453348 created [16:51:31]Thread 3066596708 joined [16:51:31]Waiting for new connection... [16:51:31] Sock 7.Parse request [16:51:31]Sock 7.Check first char [16:51:31]Sock 7.First char is OK [16:51:31]request: POST /json_proto HTTP/1.0 [16:51:31]Method: POST [16:51:31]URL: /json_proto [16:51:31]Method is POST - this is cgi request [16:51:31]url: /json_proto [16:51:31]query_string will be loaded in cgi processing [16:51:31]execute_cgi json_proto POST (null) [16:51:31]execute_cgi path=json_proto method=POST [16:51:31]POST find Content-Length [16:51:31]Host: 172.17.32.68:8080 [16:51:31]Content-Length: 633 [16:51:31]Content-Type: application/json [16:51:31] [16:51:31]POST finish read [16:51:31]Found Content-Length = 633 [16:51:31]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242270", "tax_sys" : 0, "items" : [ { "code": "40822938", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0424\u0430\u043D\u0442\u0430 0,5\u043B", "price" : 63.00, "quantity" : 1.000, "sum" : 63.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 63.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:51:31]execute_script... [16:51: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)242270", "tax_sys" : 0, "items" : [ { "code": "40822938", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0424\u0430\u043D\u0442\u0430 0,5\u043B", "price" : 63.00, "quantity" : 1.000, "sum" : 63.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 63.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:51:31]POST & json_proto [16:51:31]process_json_proto [16:51:31]json parsed OK: [16:51:31]protocol is kg_v1.0 [16:51:31]action value=close_receipt [16:51:31]process_action close_receipt [16:51:31]cmd_close_receipt [16:51:31]MH_GetDate [16:51:31]Write to MH i2c: F0 00 00 55 55 99 [16:51:31]Write i2c OK [16:51:31]MH_I2C_Read... [16:51:31]Read from MH i2c: F0 [16:51:31]MH_I2C_Read... [16:51:31]Read from MH i2c: F0 09 00 [16:51:31]MH_I2C_Read... [16:51:31]Read from MH i2c: F0 09 00 55 55 00 24 88 F0 65 0A 64 6E 65 E4 [16:51:31]GetLastDocTimeStamp 1710260900 [16:51:31]current date 1710262308 [16:51:31]FM_GetShiftState [16:51:31]SAM_PROTO_GetShiftState [16:51:31]wFMCommunicate request_size=4 [16:51:31]MH_SAM_APDU [16:51:31]CAPDU: 80 13 01 00 [16:51:31]Write to MH i2c: E2 08 00 56 55 80 13 01 00 00 00 00 00 28 [16:51:31]Write i2c OK [16:51:31]MH_I2C_Read... [16:51:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:51:31]Read from MH i2c: E2 [16:51:31]MH_I2C_Read... [16:51:31]Read from MH i2c: E2 0E 00 [16:51:31]MH_I2C_Read... [16:51:31]Read from MH i2c: E2 0E 00 56 55 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 57 [16:51:31]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [16:51:31]wFMCommunicate OK [16:51:31]SAM_PROTO_GetShiftState done [16:51:31]FM_GetShiftState done [16:51:31]opened in 1710202417 [16:51:31]opened+sec_in_day 1710288817 [16:51:31]quantity*price = 6300 [16:51:31]sum+1 = 6301 [16:51:31]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 63.00 НСП 1% : 0.56 НДС 12% : 6.69 Наличными: 63.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 34 12.03.2024 16:51 Смена: 314 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47356 ФПД: 158310497413045 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T165148&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47356&fm=158310497413045&tin=02508201610067®Number=0000000000092018&sum=6300 0 [16:51:33]StoreToDocumentArchive [16:51:33]shift 314 fd 47356 [16:51:33]save to /storage/0314/doc_00047356 [16:51:33]save last doc name /storage/0314/doc_00047356 to /storage/kkm_last_doc_name [16:51:33]save OK [16:51:33]Clear old archive folders... [16:51:33]ProcessDocumentItem done err = 0, tmpTLVsize=268 [16:51:33]tlvbuf is B6EFE5B0 [16:51:33]SAM_PROTO_ClearQueue [16:51:33]wFMCommunicate request_size=4 [16:51:33]MH_SAM_APDU [16:51:33]CAPDU: 80 09 00 00 [16:51:33]Write to MH i2c: E2 08 00 63 55 80 09 00 00 00 00 00 00 2A [16:51:33]Write i2c OK [16:51:33]MH_I2C_Read... [16:51:33]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:51:33]Read from MH i2c: E2 [16:51:33]MH_I2C_Read... [16:51:33]Read from MH i2c: E2 03 00 [16:51:33]MH_I2C_Read... [16:51:33]Read from MH i2c: E2 03 00 63 55 00 90 00 2C [16:51:33]RAPDU: 90 00 [16:51:33]wFMCommunicate OK [16:51:33]SAM_PROTO_ClearQueue done [16:51:33]KKMCreateOFDPacket [16:51:33]OFDProtocolAddRootSTLVToBuf [16:51:33]FM_MakeSignedData [16:51:33]FM_MakeSignedData [16:51:33]SAM_PROTO_SignData [16:51:33]wFMCommunicate request_size=4 [16:51:33]MH_SAM_APDU [16:51:33]CAPDU: 80 0D 01 02 [16:51:33]Write to MH i2c: E2 08 00 64 55 80 0D 01 02 00 00 00 00 32 [16:51:33]Write i2c OK [16:51:33]MH_I2C_Read... [16:51:33]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:51:33]Read from MH i2c: E2 [16:51:33]MH_I2C_Read... [16:51:33]Read from MH i2c: E2 03 00 [16:51:33]MH_I2C_Read... [16:51:33]Read from MH i2c: E2 03 00 64 55 00 90 00 2D [16:51:33]RAPDU: 90 00 [16:51:33]wFMCommunicate OK [16:51:33]wFMCommunicate request_size=255 [16:51:33]MH_SAM_APDU [16:51:33]CAPDU: 80 0D 02 02 FA 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 08 00 34 30 38 32 32 39 33 38 06 04 1F 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 9C 18 00 00 00 00 13 04 06 00 9C 18 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 9C 18 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 38 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9D 02 00 00 00 00 07 04 06 00 9C 18 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 24 88 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 [16:51:33]Write to MH i2c: E2 02 01 65 55 80 0D 02 02 FA 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 08 00 34 30 38 32 32 39 33 38 06 04 1F 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 9C 18 00 00 00 00 13 04 06 00 9C 18 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 9C 18 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 38 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9D 02 00 00 00 00 07 04 06 00 9C 18 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 24 88 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 00 00 88 [16:51:33]Write i2c OK [16:51:33]MH_I2C_Read... [16:51:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:51:33]Read from MH i2c: E2 [16:51:33]MH_I2C_Read... [16:51:33]Read from MH i2c: E2 03 00 [16:51:33]MH_I2C_Read... [16:51:33]Read from MH i2c: E2 03 00 65 55 00 90 00 2E [16:51:33]RAPDU: 90 00 [16:51:33]wFMCommunicate OK [16:51:33]wFMCommunicate request_size=27 [16:51:33]MH_SAM_APDU [16:51:33]CAPDU: 80 0D 02 02 16 31 38 31 36 10 04 04 00 FC B8 00 00 35 04 06 00 8F FB 88 F6 67 B5 [16:51:33]Write to MH i2c: E2 1E 00 66 55 80 0D 02 02 16 00 31 38 31 36 10 04 04 00 FC B8 00 00 35 04 06 00 8F FB 88 F6 67 B5 00 00 60 [16:51:33]Write i2c OK [16:51:33]MH_I2C_Read... [16:51:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:51:33]Read from MH i2c: E2 [16:51:33]MH_I2C_Read... [16:51:33]Read from MH i2c: E2 03 00 [16:51:33]MH_I2C_Read... [16:51:33]Read from MH i2c: E2 03 00 66 55 00 90 00 2F [16:51:33]RAPDU: 90 00 [16:51:33]wFMCommunicate OK [16:51:33]wFMCommunicate request_size=4 [16:51:33]MH_SAM_APDU [16:51:33]CAPDU: 80 0D 03 02 [16:51:33]Write to MH i2c: E2 08 00 67 55 80 0D 03 02 00 00 00 00 37 [16:51:33]Write i2c OK [16:51:33]MH_I2C_Read... [16:51:33]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:51:33]Read from MH i2c: E2 [16:51:33]MH_I2C_Read... [16:51:33]Read from MH i2c: E2 0B 00 [16:51:33]MH_I2C_Read... [16:51:33]Read from MH i2c: E2 0B 00 67 55 00 41 06 99 C8 8B ED 55 1C 90 00 C9 [16:51:33]RAPDU: 41 06 99 C8 8B ED 55 1C 90 00 [16:51:33]wFMCommunicate OK [16:51:33]SAM_PROTO_SignData done [16:51:33]FM_MakeSignedData done [16:51:33]CreateOFDProtocolMessage [16:51:33]wFMCommunicate request_size=4 [16:51:33]MH_SAM_APDU [16:51:33]CAPDU: 80 11 00 00 [16:51:33]Write to MH i2c: E2 08 00 68 55 80 11 00 00 00 00 00 00 37 [16:51:33]Write i2c OK [16:51:33]MH_I2C_Read... [16:51:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:51:33]Read from MH i2c: E2 [16:51:33]MH_I2C_Read... [16:51:33]Read from MH i2c: E2 17 00 [16:51:33]MH_I2C_Read... [16:51:33]Read from MH i2c: E2 17 00 68 55 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 89 [16:51:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [16:51:33]wFMCommunicate OK [16:51:33]CreateOFDProtocolMessage done [16:51:33]OFDSenderStorePacket 47356 [16:51:33]StoreOFDPacket docnum=47356 [16:51:33]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 20 01 00 00 61 15 18 01 D9 EB 5A 03 01 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 08 00 34 30 38 32 32 39 33 38 06 04 1F 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 9C 18 00 00 00 00 13 04 06 00 9C 18 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 9C 18 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 38 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9D 02 00 00 00 00 07 04 06 00 9C 18 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 24 88 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 FC B8 00 00 35 04 06 00 8F FB 88 F6 67 B5 41 06 99 C8 8B ED 55 1C [16:51:33]CheckFolder [16:51:33]dirname=/storage/ofd_packets [16:51:33]CheckFolder done [16:51:33]ProducePacketName [16:51:33]name=ofd_packets/00047356 [16:51:33]NVStorageSaveData ofd_packets/00047356 [16:51:33]File name is /storage/ofd_packets/00047356 [16:51:33]Write 318 bytes [16:51:33]NVStorageSaveData done [16:51:33]OFDSenderStorePacket done [16:51:33]KKMCreateOFDPacket done [16:51:33]NVStorageSaveData kkm_last_timestamp [16:51:33]File name is /storage/kkm_last_timestamp [16:51:33]Write 4 bytes [16:51:33]NVStorageSaveData done [16:51:33]ExternCall_PrintAddStr [16:51:33]wPrintStart [16:51:33]Write to MH i2c: 01 00 00 69 55 BE [16:51:33]Write i2c OK [16:51:33]MH_I2C_Read... [16:51:33]Read from MH i2c: 01 [16:51:33]MH_I2C_Read... [16:51:33]Read from MH i2c: 01 07 00 [16:51:33]MH_I2C_Read... [16:51:33]Read from MH i2c: 01 07 00 69 55 00 00 00 00 00 FF 0F D3 [16:51:33]RasterBufferAndPrint [16:51:33]line Счет N : (3)242270 [16:51:33]line ИНН: 02508201610067 [16:51:33]line Контрольно-Кассовый Чек [16:51:33]line ПРОДАЖА [16:51:33]line Товар: 40822938 [16:51:33]line Напиток Фанта 0,5л [16:51:33]line 1.000 * 63.00 [16:51:33]line = 63.00 [16:51:33]line НДС 12% НСП 1% [16:51:33]line > о реализуемом товаре [16:51:33]line ИТОГО: 63.00 [16:51:33]line НСП 1% : 0.56 [16:51:33]line НДС 12% : 6.69 [16:51:33]line Наличными: 63.00 [16:51:33]line Безнал.: 0.00 [16:51:33]line Место: АЗС № 15 "Партнер Нефть" [16:51:33]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [16:51:33]line СНО: Общий режим [16:51:33]line Чек 34 12.03.2024 16:51 [16:51:33]line Смена: 314 ФФД: 1.0 [16:51:33]line ЗНМ: 0300000097 [16:51:33]line РНМ: 0000000000092018 [16:51:33]line Версия ККМ: 001 [16:51:33]line ФМ: 0000000000871816 [16:51:33]line ФД: 47356 [16:51:33]line ФПД: 158310497413045 [16:51:33]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T165148&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47356&fm=158310497413045&tin=02508201610067®Number=0000000000092018&sum=6300 [16:51:33]line 0 [16:51:33]OFD Sender: Processing packet 47356 [packets to send 8, broken 7] [16:51:33]ProducePacketName [16:51:33]name=ofd_packets/00047356 [16:51:33]OFD Sender: To server: pG, [16:51:33]CommunicateWithHost lk.salyk.kg:30040 [16:51:33]ConnectInit lk.salyk.kg [16:51:33]written 0, free lines is 4095 [16:51:33]Connected sock=10 [16:51: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 31 36 20 01 00 00 61 15 18 01 D9 EB 5A 03 01 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 08 00 34 30 38 32 32 39 33 38 06 04 1F 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 9C 18 00 00 00 00 13 04 06 00 9C 18 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 9C 18 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 38 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9D 02 00 00 00 00 07 04 06 00 9C 18 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 24 88 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 FC B8 00 00 35 04 06 00 8F FB 88 F6 67 B5 41 06 99 C8 8B ED 55 1C [16:51: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 31 36 4F 00 00 00 AF 15 47 00 10 23 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 FC B8 00 00 F4 03 04 00 B5 32 F0 65 B6 04 01 00 00 5F 37 F3 BA 05 55 7A 88 [16:51:34]CommunicateWithHost err = 0 [16:51:34]CheckOFDResponse [16:51:34]1017 (14) - 77093643461234 [16:51:34]1041 (16) - 0000000000871816 [16:51:34]1040 (4) - 47356 [16:51:34]1012 (4) - 12.03.2024 10:47 [16:51:34]1206 (1) - 0 [16:51:34]OFD Sender: Remove packet 47356 [16:51:34]ProducePacketName [16:51:34]name=ofd_packets/00047356 [16:51:34]NVStorageDeleteData [16:51:34]Write to MH i2c: 01 00 00 91 55 E6 [16:51:34]Write i2c OK [16:51:34]MH_I2C_Read... [16:51:34]Read from MH i2c: 01 [16:51:34]MH_I2C_Read... [16:51:34]Read from MH i2c: 01 07 00 [16:51:34]MH_I2C_Read... [16:51:34]Read from MH i2c: 01 07 00 91 55 00 00 00 00 00 FE 0C F7 [16:51:34]RasterBufferAndPrint [16:51:34]line [16:51:34]line [16:51:34]line [16:51:34]line [16:51:34]line [16:51:34]written 0, free lines is 3332 [16:51:34]MH_Cut [16:51:34]Write to MH i2c: D1 01 00 98 55 01 BF [16:51:34]Write i2c OK [16:51:34]MH_I2C_Read... [16:51:34]Read from MH i2c: D1 [16:51:34]MH_I2C_Read... [16:51:34]Read from MH i2c: D1 01 00 [16:51:34]MH_I2C_Read... [16:51:34]Read from MH i2c: D1 01 00 98 55 00 BE [16:51:34]Write to MH i2c: 01 00 00 99 55 EE [16:51:34]Write i2c OK [16:51:34]MH_I2C_Read... [16:51:34]OFD Sender: No OFD packet to send [16:51:35]*** Cut start [16:51:35]*** Purtial cut [16:51:35]*** Stage 1: CUTSNS_PIN = 1 [16:51:35]Read from MH i2c: 01 [16:51:35]MH_I2C_Read... [16:51:35]*** Stop cut motor [16:51:35]*** Cut end [16:51:35]Read from MH i2c: 01 07 00 [16:51:35]MH_I2C_Read... [16:51:35]Read from MH i2c: 01 07 00 99 55 00 00 00 00 00 FF 0F 03 [16:51:35]process_action close_receipt done [16:51:35]requested_data is exist [16:51:35]produce_requested_data [16:51:35]requested_item fm.sn is exist - process it [16:51:35]wFMCommunicate request_size=4 [16:51:35]MH_SAM_APDU [16:51:35]CAPDU: 80 11 00 00 [16:51:35]Write to MH i2c: E2 08 00 9A 55 80 11 00 00 00 00 00 00 69 [16:51:35]Write i2c OK [16:51:35]MH_I2C_Read... [16:51:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:51:35]Read from MH i2c: E2 [16:51:35]MH_I2C_Read... [16:51:35]Read from MH i2c: E2 17 00 [16:51:35]MH_I2C_Read... [16:51:35]Read from MH i2c: E2 17 00 9A 55 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 BB [16:51:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [16:51:35]wFMCommunicate OK [16:51:35]requested_item fd.num is exist - process it [16:51:35]SAM_PROTO_GetFieldsCounters [16:51:35]wFMCommunicate request_size=4 [16:51:35]MH_SAM_APDU [16:51:35]CAPDU: 80 13 00 00 [16:51:35]Write to MH i2c: E2 08 00 9B 55 80 13 00 00 00 00 00 00 6C [16:51:35]Write i2c OK [16:51:35]MH_I2C_Read... [16:51:35]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:51:35]Read from MH i2c: E2 [16:51:35]MH_I2C_Read... [16:51:35]Read from MH i2c: E2 62 00 [16:51:35]MH_I2C_Read... [16:51:35]Read from MH i2c: E2 62 00 9B 55 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 FC B8 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 22 00 00 00 5E 04 04 00 22 00 00 00 57 04 04 00 23 00 00 00 19 04 04 00 00 00 00 00 90 00 DC [16:51: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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 FC B8 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 22 00 00 00 5E 04 04 00 22 00 00 00 57 04 04 00 23 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:51:35]wFMCommunicate OK [16:51:35]SAM_PROTO_GetFieldsCounters done [16:51:35]requested_item shift.num is exist - process it [16:51:35]requested_item shift.opened is exist - process it [16:51:35]req_shift_opened [16:51:35]FM_GetShiftState [16:51:35]SAM_PROTO_GetShiftState [16:51:35]wFMCommunicate request_size=4 [16:51:35]MH_SAM_APDU [16:51:35]CAPDU: 80 13 01 00 [16:51:35]Write to MH i2c: E2 08 00 9C 55 80 13 01 00 00 00 00 00 6E [16:51:35]Write i2c OK [16:51:35]MH_I2C_Read... [16:51:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:51:35]Read from MH i2c: E2 [16:51:35]MH_I2C_Read... [16:51:35]Read from MH i2c: E2 0E 00 [16:51:35]MH_I2C_Read... [16:51:35]Read from MH i2c: E2 0E 00 9C 55 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 9D [16:51:35]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [16:51:35]wFMCommunicate OK [16:51:35]SAM_PROTO_GetShiftState done [16:51:35]FM_GetShiftState done [16:51:35]req_shift_opened done [16:51:35]requested_item shift.open_date is exist - process it [16:51:35]req_shift_open_date [16:51:35]req_shift_open_date done [16:51:35]produce_requested_data done [16:51:35]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47356,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [16:51:35]process_action_free close_receipt [16:51:35]json_value_free [16:51:35]json_value_free done [16:51:35]process_json_proto returns [16:51:35]Send response to host [16:51:35]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47356,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [16:51:35]free response buf [16:51:35]execute_script done [16:51:35]execute_script returns [16:51:35]free content buf [16:51:35]Sock 7.Close socket [16:51:35]Sock 7.Thread stoped [16:51:39]OFD Sender: No OFD packet to send [16:51:44]OFD Sender: No OFD packet to send [16:51:49]OFD Sender: No OFD packet to send [16:51:54]OFD Sender: No OFD packet to send [16:51:59]OFD Sender: No OFD packet to send [16:52:04]OFD Sender: No OFD packet to send [16:52:09]OFD Sender: No OFD packet to send [16:52:14]OFD Sender: No OFD packet to send [16:52:19]OFD Sender: No OFD packet to send [16:52:24]OFD Sender: No OFD packet to send [16:52:29]OFD Sender: No OFD packet to send [16:52:34]OFD Sender: No OFD packet to send [16:52:39]OFD Sender: No OFD packet to send [16:52:44]OFD Sender: No OFD packet to send [16:52:49]OFD Sender: No OFD packet to send [16:52:54]OFD Sender: No OFD packet to send [16:52:59]OFD Sender: No OFD packet to send [16:53:04]OFD Sender: No OFD packet to send [16:53:09]OFD Sender: No OFD packet to send [16:53:14]OFD Sender: No OFD packet to send [16:53:19]OFD Sender: No OFD packet to send [16:53:24]OFD Sender: No OFD packet to send [16:53:29]OFD Sender: No OFD packet to send [16:53:34]OFD Sender: No OFD packet to send [16:53:39]OFD Sender: No OFD packet to send [16:53:44]OFD Sender: No OFD packet to send [16:53:49]OFD Sender: No OFD packet to send [16:53:54]OFD Sender: No OFD packet to send [16:53:59]OFD Sender: No OFD packet to send [16:54:04]OFD Sender: No OFD packet to send [16:54:09]OFD Sender: No OFD packet to send [16:54:14]OFD Sender: No OFD packet to send [16:54:19]OFD Sender: No OFD packet to send [16:54:24]OFD Sender: No OFD packet to send [16:54:29]OFD Sender: No OFD packet to send [16:54:34]OFD Sender: No OFD packet to send [16:54:39]OFD Sender: No OFD packet to send [16:54:44]OFD Sender: No OFD packet to send [16:54:49]OFD Sender: No OFD packet to send [16:54:54]OFD Sender: No OFD packet to send [16:54:59]OFD Sender: No OFD packet to send [16:55:04]OFD Sender: No OFD packet to send [16:55:09]OFD Sender: No OFD packet to send [16:55:13]accept exits with 9 [16:55:13]New connection [16:55:13]New thread 3066596708 created [16:55:13]Thread 3066453348 joined [16:55:13]Waiting for new connection... [16:55:13] Sock 9.Parse request [16:55:13]Sock 9.Check first char [16:55:13]Sock 9.First char is OK [16:55:13]request: POST /json_proto HTTP/1.0 [16:55:13]Method: POST [16:55:13]URL: /json_proto [16:55:13]Method is POST - this is cgi request [16:55:13]url: /json_proto [16:55:13]query_string will be loaded in cgi processing [16:55:13]execute_cgi json_proto POST (null) [16:55:13]execute_cgi path=json_proto method=POST [16:55:13]POST find Content-Length [16:55:13]Host: 172.17.32.68:8080 [16:55:13]Content-Length: 631 [16:55:13]Content-Type: application/json [16:55:13] [16:55:13]POST finish read [16:55:13]Found Content-Length = 631 [16:55:13]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242271", "tax_sys" : 0, "items" : [ { "code": "4780022460216", "name": "\u0410\u043D\u0442\u0438\u0444\u0440\u0438\u0437 Yumiko red 1\u043A\u0433", "price" : 210.00, "quantity" : 1.000, "sum" : 210.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 210.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:55:13]execute_script... [16:55: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)242271", "tax_sys" : 0, "items" : [ { "code": "4780022460216", "name": "\u0410\u043D\u0442\u0438\u0444\u0440\u0438\u0437 Yumiko red 1\u043A\u0433", "price" : 210.00, "quantity" : 1.000, "sum" : 210.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 210.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:55:13]POST & json_proto [16:55:13]process_json_proto [16:55:13]json parsed OK: [16:55:13]protocol is kg_v1.0 [16:55:13]action value=close_receipt [16:55:13]process_action close_receipt [16:55:13]cmd_close_receipt [16:55:13]MH_GetDate [16:55:13]Write to MH i2c: F0 00 00 9D 55 E1 [16:55:13]Write i2c OK [16:55:13]MH_I2C_Read... [16:55:13]Read from MH i2c: F0 [16:55:13]MH_I2C_Read... [16:55:13]Read from MH i2c: F0 09 00 [16:55:13]MH_I2C_Read... [16:55:13]Read from MH i2c: F0 09 00 9D 55 00 02 89 F0 65 0A 64 6E 65 0B [16:55:13]GetLastDocTimeStamp 1710262308 [16:55:13]current date 1710262530 [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 9E 55 80 13 01 00 00 00 00 00 70 [16:55:13]Write i2c OK [16:55:13]MH_I2C_Read... [16:55:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:55:13]Read from MH i2c: E2 [16:55:13]MH_I2C_Read... [16:55:13]Read from MH i2c: E2 0E 00 [16:55:13]MH_I2C_Read... [16:55:13]Read from MH i2c: E2 0E 00 9E 55 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 9F [16:55:13]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [16:55:13]wFMCommunicate OK [16:55:13]SAM_PROTO_GetShiftState done [16:55:13]FM_GetShiftState done [16:55:13]opened in 1710202417 [16:55:13]opened+sec_in_day 1710288817 [16:55:13]quantity*price = 21000 [16:55:13]sum+1 = 21001 [16:55:13]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 210.00 НСП 1% : 1.86 НДС 12% : 22.30 Наличными: 210.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 35 12.03.2024 16:55 Смена: 314 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47357 ФПД: 183967121620041 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T165530&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47357&fm=183967121620041&tin=02508201610067®Number=0000000000092018&sum=21000 0 [16:55:14]StoreToDocumentArchive [16:55:14]shift 314 fd 47357 [16:55:14]save to /storage/0314/doc_00047357 [16:55:14]save last doc name /storage/0314/doc_00047357 to /storage/kkm_last_doc_name [16:55:14]save OK [16:55:14]Clear old archive folders... [16:55:14]ProcessDocumentItem done err = 0, tmpTLVsize=275 [16:55:14]tlvbuf is 003ABA40 [16:55:14]SAM_PROTO_ClearQueue [16:55:14]wFMCommunicate request_size=4 [16:55:14]MH_SAM_APDU [16:55:14]CAPDU: 80 09 00 00 [16:55:14]Write to MH i2c: E2 08 00 AB 55 80 09 00 00 00 00 00 00 72 [16:55:14]Write i2c OK [16:55:14]MH_I2C_Read... [16:55:15]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:55:15]Read from MH i2c: E2 [16:55:15]MH_I2C_Read... [16:55:15]Read from MH i2c: E2 03 00 [16:55:15]MH_I2C_Read... [16:55:15]Read from MH i2c: E2 03 00 AB 55 00 90 00 74 [16:55:15]RAPDU: 90 00 [16:55:15]wFMCommunicate OK [16:55:15]SAM_PROTO_ClearQueue done [16:55:15]KKMCreateOFDPacket [16:55:15]OFDProtocolAddRootSTLVToBuf [16:55:15]FM_MakeSignedData [16:55:15]FM_MakeSignedData [16:55:15]SAM_PROTO_SignData [16:55:15]wFMCommunicate request_size=4 [16:55:15]MH_SAM_APDU [16:55:15]CAPDU: 80 0D 01 02 [16:55:15]Write to MH i2c: E2 08 00 AC 55 80 0D 01 02 00 00 00 00 7A [16:55:15]Write i2c OK [16:55:15]MH_I2C_Read... [16:55:15]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:55:15]Read from MH i2c: E2 [16:55:15]MH_I2C_Read... [16:55:15]Read from MH i2c: E2 03 00 [16:55:15]MH_I2C_Read... [16:55:15]Read from MH i2c: E2 03 00 AC 55 00 90 00 75 [16:55:15]RAPDU: 90 00 [16:55:15]wFMCommunicate OK [16:55:15]wFMCommunicate request_size=255 [16:55:15]MH_SAM_APDU [16:55:15]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 38 30 30 32 32 34 36 30 32 31 36 06 04 21 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 59 75 6D 69 6B 6F 20 72 65 64 20 31 D0 BA D0 B3 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 08 52 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B6 08 00 00 00 00 07 04 06 00 08 52 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 02 89 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 [16:55:15]Write to MH i2c: E2 02 01 AD 55 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 38 30 30 32 32 34 36 30 32 31 36 06 04 21 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 59 75 6D 69 6B 6F 20 72 65 64 20 31 D0 BA D0 B3 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 08 52 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B6 08 00 00 00 00 07 04 06 00 08 52 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 02 89 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 00 00 4A [16:55:15]Write i2c OK [16:55:15]MH_I2C_Read... [16:55:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:55:15]Read from MH i2c: E2 [16:55:15]MH_I2C_Read... [16:55:15]Read from MH i2c: E2 03 00 [16:55:15]MH_I2C_Read... [16:55:15]Read from MH i2c: E2 03 00 AD 55 00 90 00 76 [16:55:15]RAPDU: 90 00 [16:55:15]wFMCommunicate OK [16:55:15]wFMCommunicate request_size=34 [16:55:15]MH_SAM_APDU [16:55:15]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 FD B8 00 00 35 04 06 00 A7 51 2E EF 3C 49 [16:55:15]Write to MH i2c: E2 25 00 AE 55 80 0D 02 02 1D 00 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 FD B8 00 00 35 04 06 00 A7 51 2E EF 3C 49 00 00 8C [16:55:15]Write i2c OK [16:55:15]MH_I2C_Read... [16:55:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:55:15]Read from MH i2c: E2 [16:55:15]MH_I2C_Read... [16:55:15]Read from MH i2c: E2 03 00 [16:55:15]MH_I2C_Read... [16:55:15]Read from MH i2c: E2 03 00 AE 55 00 90 00 77 [16:55:15]RAPDU: 90 00 [16:55:15]wFMCommunicate OK [16:55:15]wFMCommunicate request_size=4 [16:55:15]MH_SAM_APDU [16:55:15]CAPDU: 80 0D 03 02 [16:55:15]Write to MH i2c: E2 08 00 AF 55 80 0D 03 02 00 00 00 00 7F [16:55:15]Write i2c OK [16:55:15]MH_I2C_Read... [16:55:15]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:55:15]Read from MH i2c: E2 [16:55:15]MH_I2C_Read... [16:55:15]Read from MH i2c: E2 0B 00 [16:55:15]MH_I2C_Read... [16:55:15]Read from MH i2c: E2 0B 00 AF 55 00 32 93 12 47 02 82 9D A3 90 00 62 [16:55:15]RAPDU: 32 93 12 47 02 82 9D A3 90 00 [16:55:15]wFMCommunicate OK [16:55:15]SAM_PROTO_SignData done [16:55:15]FM_MakeSignedData done [16:55:15]CreateOFDProtocolMessage [16:55:15]wFMCommunicate request_size=4 [16:55:15]MH_SAM_APDU [16:55:15]CAPDU: 80 11 00 00 [16:55:15]Write to MH i2c: E2 08 00 B0 55 80 11 00 00 00 00 00 00 7F [16:55:15]Write i2c OK [16:55:15]MH_I2C_Read... [16:55:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:55:15]Read from MH i2c: E2 [16:55:15]MH_I2C_Read... [16:55:15]Read from MH i2c: E2 17 00 [16:55:15]MH_I2C_Read... [16:55:15]Read from MH i2c: E2 17 00 B0 55 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 D1 [16:55:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [16:55:15]wFMCommunicate OK [16:55:15]CreateOFDProtocolMessage done [16:55:15]OFDSenderStorePacket 47357 [16:55:15]StoreOFDPacket docnum=47357 [16:55:15]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 27 01 00 00 A7 81 1F 01 A1 5B 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 38 30 30 32 32 34 36 30 32 31 36 06 04 21 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 59 75 6D 69 6B 6F 20 72 65 64 20 31 D0 BA D0 B3 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 08 52 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B6 08 00 00 00 00 07 04 06 00 08 52 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 02 89 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 FD B8 00 00 35 04 06 00 A7 51 2E EF 3C 49 32 93 12 47 02 82 9D A3 [16:55:15]CheckFolder [16:55:15]dirname=/storage/ofd_packets [16:55:15]CheckFolder done [16:55:15]ProducePacketName [16:55:15]name=ofd_packets/00047357 [16:55:15]NVStorageSaveData ofd_packets/00047357 [16:55:15]File name is /storage/ofd_packets/00047357 [16:55:15]Write 325 bytes [16:55:15]NVStorageSaveData done [16:55:15]OFDSenderStorePacket done [16:55:15]KKMCreateOFDPacket done [16:55:15]NVStorageSaveData kkm_last_timestamp [16:55:15]File name is /storage/kkm_last_timestamp [16:55:15]Write 4 bytes [16:55:15]NVStorageSaveData done [16:55:15]ExternCall_PrintAddStr [16:55:15]wPrintStart [16:55:15]Write to MH i2c: 01 00 00 B1 55 06 [16:55:15]Write i2c OK [16:55:15]MH_I2C_Read... [16:55:15]Read from MH i2c: 01 [16:55:15]MH_I2C_Read... [16:55:15]Read from MH i2c: 01 07 00 [16:55:15]MH_I2C_Read... [16:55:15]Read from MH i2c: 01 07 00 B1 55 00 00 00 00 00 FF 0F 1B [16:55:15]RasterBufferAndPrint [16:55:15]line Счет N : (3)242271 [16:55:15]line ИНН: 02508201610067 [16:55:15]line Контрольно-Кассовый Чек [16:55:15]line ПРОДАЖА [16:55:15]line Товар: 4780022460216 [16:55:15]line Антифриз Yumiko red 1кг [16:55:15]line 1.000 * 210.00 [16:55:15]line = 210.00 [16:55:15]line НДС 12% НСП 1% [16:55:15]line > о реализуемом товаре [16:55:15]line ИТОГО: 210.00 [16:55:15]line НСП 1% : 1.86 [16:55:15]line НДС 12% : 22.30 [16:55:15]line Наличными: 210.00 [16:55:15]line Безнал.: 0.00 [16:55:15]line Место: АЗС № 15 "Партнер Нефть" [16:55:15]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [16:55:15]line СНО: Общий режим [16:55:15]line Чек 35 12.03.2024 16:55 [16:55:15]line Смена: 314 ФФД: 1.0 [16:55:15]line ЗНМ: 0300000097 [16:55:15]line РНМ: 0000000000092018 [16:55:15]line Версия ККМ: 001 [16:55:15]line ФМ: 0000000000871816 [16:55:15]line ФД: 47357 [16:55:15]line ФПД: 183967121620041 [16:55:15]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T165530&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47357&fm=183967121620041&tin=02508201610067®Number=0000000000092018&sum=21000 [16:55:15]line 0 [16:55:15]OFD Sender: Processing packet 47357 [packets to send 8, broken 7] [16:55:15]ProducePacketName [16:55:15]name=ofd_packets/00047357 [16:55:15]OFD Sender: To server: pG, [16:55:15]CommunicateWithHost lk.salyk.kg:30040 [16:55:15]ConnectInit lk.salyk.kg [16:55:15]written 0, free lines is 4095 [16:55:15]Connected sock=11 [16:55:15]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 31 36 27 01 00 00 A7 81 1F 01 A1 5B 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 38 30 30 32 32 34 36 30 32 31 36 06 04 21 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 59 75 6D 69 6B 6F 20 72 65 64 20 31 D0 BA D0 B3 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 08 52 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B6 08 00 00 00 00 07 04 06 00 08 52 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 02 89 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 FD B8 00 00 35 04 06 00 A7 51 2E EF 3C 49 32 93 12 47 02 82 9D A3 [16:55: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 31 36 4F 00 00 00 C2 18 47 00 17 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 31 36 10 04 04 00 FD B8 00 00 F4 03 04 00 93 33 F0 65 B6 04 01 00 00 7D F3 30 40 9D 0E D4 B5 [16:55:16]CommunicateWithHost err = 0 [16:55:16]CheckOFDResponse [16:55:16]1017 (14) - 77093643461234 [16:55:16]1041 (16) - 0000000000871816 [16:55:16]1040 (4) - 47357 [16:55:16]1012 (4) - 12.03.2024 10:50 [16:55:16]1206 (1) - 0 [16:55:16]OFD Sender: Remove packet 47357 [16:55:16]ProducePacketName [16:55:16]name=ofd_packets/00047357 [16:55:16]NVStorageDeleteData [16:55:16]Write to MH i2c: 01 00 00 D9 55 2E [16:55:16]Write i2c OK [16:55:16]MH_I2C_Read... [16:55:16]Read from MH i2c: 01 [16:55:16]MH_I2C_Read... [16:55:16]Read from MH i2c: 01 07 00 [16:55:16]MH_I2C_Read... [16:55:16]Read from MH i2c: 01 07 00 D9 55 00 00 00 00 00 FB 0C 3C [16:55:16]RasterBufferAndPrint [16:55:16]line [16:55:16]line [16:55:16]line [16:55:16]line [16:55:16]line [16:55:16]written 0, free lines is 3328 [16:55:16]MH_Cut [16:55:16]Write to MH i2c: D1 01 00 E0 55 01 07 [16:55:16]Write i2c OK [16:55:16]MH_I2C_Read... [16:55:16]Read from MH i2c: D1 [16:55:16]MH_I2C_Read... [16:55:16]Read from MH i2c: D1 01 00 [16:55:16]MH_I2C_Read... [16:55:16]Read from MH i2c: D1 01 00 E0 55 00 06 [16:55:16]Write to MH i2c: 01 00 00 E1 55 36 [16:55:16]Write i2c OK [16:55:16]MH_I2C_Read... [16:55:16]OFD Sender: No OFD packet to send [16:55:17]*** Cut start [16:55:17]*** Purtial cut [16:55:17]*** Stage 1: CUTSNS_PIN = 1 [16:55:17]Read from MH i2c: 01 [16:55:17]MH_I2C_Read... [16:55:17]*** Stop cut motor [16:55:17]*** Cut end [16:55:17]Read from MH i2c: 01 07 00 [16:55:17]MH_I2C_Read... [16:55:17]Read from MH i2c: 01 07 00 E1 55 00 00 00 00 00 FF 0F 4B [16:55:17]process_action close_receipt done [16:55:17]requested_data is exist [16:55:17]produce_requested_data [16:55:17]requested_item fm.sn is exist - process it [16:55:17]wFMCommunicate request_size=4 [16:55:17]MH_SAM_APDU [16:55:17]CAPDU: 80 11 00 00 [16:55:17]Write to MH i2c: E2 08 00 E2 55 80 11 00 00 00 00 00 00 B1 [16:55:17]Write i2c OK [16:55:17]MH_I2C_Read... [16:55:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:55:17]Read from MH i2c: E2 [16:55:17]MH_I2C_Read... [16:55:17]Read from MH i2c: E2 17 00 [16:55:17]MH_I2C_Read... [16:55:17]Read from MH i2c: E2 17 00 E2 55 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 03 [16:55:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [16:55:17]wFMCommunicate OK [16:55:17]requested_item fd.num is exist - process it [16:55:17]SAM_PROTO_GetFieldsCounters [16:55:17]wFMCommunicate request_size=4 [16:55:17]MH_SAM_APDU [16:55:17]CAPDU: 80 13 00 00 [16:55:17]Write to MH i2c: E2 08 00 E3 55 80 13 00 00 00 00 00 00 B4 [16:55:17]Write i2c OK [16:55:17]MH_I2C_Read... [16:55:17]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:55:17]Read from MH i2c: E2 [16:55:17]MH_I2C_Read... [16:55:17]Read from MH i2c: E2 62 00 [16:55:17]MH_I2C_Read... [16:55:17]Read from MH i2c: E2 62 00 E3 55 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 FD B8 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 23 00 00 00 5E 04 04 00 23 00 00 00 57 04 04 00 24 00 00 00 19 04 04 00 00 00 00 00 90 00 28 [16:55: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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 FD B8 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 23 00 00 00 5E 04 04 00 23 00 00 00 57 04 04 00 24 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:55:17]wFMCommunicate OK [16:55:17]SAM_PROTO_GetFieldsCounters done [16:55:17]requested_item shift.num is exist - process it [16:55:17]requested_item shift.opened is exist - process it [16:55:17]req_shift_opened [16:55:17]FM_GetShiftState [16:55:17]SAM_PROTO_GetShiftState [16:55:17]wFMCommunicate request_size=4 [16:55:17]MH_SAM_APDU [16:55:17]CAPDU: 80 13 01 00 [16:55:17]Write to MH i2c: E2 08 00 E4 55 80 13 01 00 00 00 00 00 B6 [16:55:17]Write i2c OK [16:55:17]MH_I2C_Read... [16:55:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:55:17]Read from MH i2c: E2 [16:55:17]MH_I2C_Read... [16:55:17]Read from MH i2c: E2 0E 00 [16:55:17]MH_I2C_Read... [16:55:17]Read from MH i2c: E2 0E 00 E4 55 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 E5 [16:55:17]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [16:55:17]wFMCommunicate OK [16:55:17]SAM_PROTO_GetShiftState done [16:55:17]FM_GetShiftState done [16:55:17]req_shift_opened done [16:55:17]requested_item shift.open_date is exist - process it [16:55:17]req_shift_open_date [16:55:17]req_shift_open_date done [16:55:17]produce_requested_data done [16:55:17]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47357,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [16:55:17]process_action_free close_receipt [16:55:17]json_value_free [16:55:17]json_value_free done [16:55:17]process_json_proto returns [16:55:17]Send response to host [16:55:17]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47357,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [16:55:17]free response buf [16:55:17]execute_script done [16:55:17]execute_script returns [16:55:17]free content buf [16:55:17]Sock 9.Close socket [16:55:17]Sock 9.Thread stoped [16:55:21]OFD Sender: No OFD packet to send [16:55:26]OFD Sender: No OFD packet to send [16:55:31]OFD Sender: No OFD packet to send [16:55:36]OFD Sender: No OFD packet to send [16:55:41]OFD Sender: No OFD packet to send [16:55:46]OFD Sender: No OFD packet to send [16:55:51]OFD Sender: No OFD packet to send [16:55:56]OFD Sender: No OFD packet to send [16:56:01]OFD Sender: No OFD packet to send [16:56:06]OFD Sender: No OFD packet to send [16:56:11]OFD Sender: No OFD packet to send [16:56:16]OFD Sender: No OFD packet to send [16:56:21]OFD Sender: No OFD packet to send [16:56:26]OFD Sender: No OFD packet to send [16:56:31]OFD Sender: No OFD packet to send [16:56:36]OFD Sender: No OFD packet to send [16:56:41]OFD Sender: No OFD packet to send [16:56:46]OFD Sender: No OFD packet to send [16:56:51]OFD Sender: No OFD packet to send [16:56:56]OFD Sender: No OFD packet to send [16:57:01]OFD Sender: No OFD packet to send [16:57:06]OFD Sender: No OFD packet to send [16:57:11]OFD Sender: No OFD packet to send [16:57:16]OFD Sender: No OFD packet to send [16:57:21]OFD Sender: No OFD packet to send [16:57:26]OFD Sender: No OFD packet to send [16:57:31]OFD Sender: No OFD packet to send [16:57:36]OFD Sender: No OFD packet to send [16:57:41]OFD Sender: No OFD packet to send [16:57:46]OFD Sender: No OFD packet to send [16:57:51]OFD Sender: No OFD packet to send [16:57:56]OFD Sender: No OFD packet to send [16:58:01]OFD Sender: No OFD packet to send [16:58:06]OFD Sender: No OFD packet to send [16:58:11]OFD Sender: No OFD packet to send [16:58:16]OFD Sender: No OFD packet to send [16:58:21]OFD Sender: No OFD packet to send [16:58:26]OFD Sender: No OFD packet to send [16:58:31]OFD Sender: No OFD packet to send [16:58:36]OFD Sender: No OFD packet to send [16:58:41]OFD Sender: No OFD packet to send [16:58:46]OFD Sender: No OFD packet to send [16:58:51]OFD Sender: No OFD packet to send [16:58:56]OFD Sender: No OFD packet to send [16:59:01]OFD Sender: No OFD packet to send [16:59:06]OFD Sender: No OFD packet to send [16:59:11]OFD Sender: No OFD packet to send [16:59:16]OFD Sender: No OFD packet to send [16:59:21]OFD Sender: No OFD packet to send [16:59:26]OFD Sender: No OFD packet to send [16:59:31]OFD Sender: No OFD packet to send [16:59:36]OFD Sender: No OFD packet to send [16:59:41]OFD Sender: No OFD packet to send [16:59:46]OFD Sender: No OFD packet to send [16:59:51]OFD Sender: No OFD packet to send [16:59:56]OFD Sender: No OFD packet to send [17:00:01]OFD Sender: No OFD packet to send [17:00:06]OFD Sender: No OFD packet to send [17:00:11]OFD Sender: No OFD packet to send [17:00:16]OFD Sender: No OFD packet to send [17:00:21]OFD Sender: No OFD packet to send [17:00:26]OFD Sender: No OFD packet to send [17:00:31]OFD Sender: No OFD packet to send [17:00:36]OFD Sender: No OFD packet to send [17:00:41]OFD Sender: No OFD packet to send [17:00:46]OFD Sender: No OFD packet to send [17:00:51]OFD Sender: No OFD packet to send [17:00:56]OFD Sender: No OFD packet to send [17:01:01]OFD Sender: No OFD packet to send [17:01:06]OFD Sender: No OFD packet to send [17:01:11]OFD Sender: No OFD packet to send [17:01:16]OFD Sender: No OFD packet to send [17:01:21]OFD Sender: No OFD packet to send [17:01:26]OFD Sender: No OFD packet to send [17:01:31]OFD Sender: No OFD packet to send [17:01:36]OFD Sender: No OFD packet to send [17:01:41]OFD Sender: No OFD packet to send [17:01:46]OFD Sender: No OFD packet to send [17:01:51]OFD Sender: No OFD packet to send [17:01:56]OFD Sender: No OFD packet to send [17:02:01]OFD Sender: No OFD packet to send [17:02:06]OFD Sender: No OFD packet to send [17:02:11]OFD Sender: No OFD packet to send [17:02:16]OFD Sender: No OFD packet to send [17:02:21]OFD Sender: No OFD packet to send [17:02:26]OFD Sender: No OFD packet to send [17:02:31]OFD Sender: No OFD packet to send [17:02:36]OFD Sender: No OFD packet to send [17:02:41]OFD Sender: No OFD packet to send [17:02:46]OFD Sender: No OFD packet to send [17:02:52]OFD Sender: No OFD packet to send [17:02:57]OFD Sender: No OFD packet to send [17:03:02]OFD Sender: No OFD packet to send [17:03:07]OFD Sender: No OFD packet to send [17:03:12]OFD Sender: No OFD packet to send [17:03:17]OFD Sender: No OFD packet to send [17:03:22]OFD Sender: No OFD packet to send [17:03:27]OFD Sender: No OFD packet to send [17:03:32]OFD Sender: No OFD packet to send [17:03:37]OFD Sender: No OFD packet to send [17:03:42]OFD Sender: No OFD packet to send [17:03:47]OFD Sender: No OFD packet to send [17:03:52]OFD Sender: No OFD packet to send [17:03:57]OFD Sender: No OFD packet to send [17:04:02]OFD Sender: No OFD packet to send [17:04:07]OFD Sender: No OFD packet to send [17:04:12]OFD Sender: No OFD packet to send [17:04:17]OFD Sender: No OFD packet to send [17:04:22]OFD Sender: No OFD packet to send [17:04:27]OFD Sender: No OFD packet to send [17:04:32]OFD Sender: No OFD packet to send [17:04:37]OFD Sender: No OFD packet to send [17:04:42]OFD Sender: No OFD packet to send [17:04:47]OFD Sender: No OFD packet to send [17:04:52]OFD Sender: No OFD packet to send [17:04:57]OFD Sender: No OFD packet to send [17:05:02]OFD Sender: No OFD packet to send [17:05:07]OFD Sender: No OFD packet to send [17:05:12]OFD Sender: No OFD packet to send [17:05:17]OFD Sender: No OFD packet to send [17:05:22]OFD Sender: No OFD packet to send [17:05:27]OFD Sender: No OFD packet to send [17:05:32]OFD Sender: No OFD packet to send [17:05:37]OFD Sender: No OFD packet to send [17:05:42]OFD Sender: No OFD packet to send [17:05:47]OFD Sender: No OFD packet to send [17:05:52]OFD Sender: No OFD packet to send [17:05:57]OFD Sender: No OFD packet to send [17:06:02]OFD Sender: No OFD packet to send [17:06:07]OFD Sender: No OFD packet to send [17:06:12]OFD Sender: No OFD packet to send [17:06:17]OFD Sender: No OFD packet to send [17:06:22]OFD Sender: No OFD packet to send [17:06:27]OFD Sender: No OFD packet to send [17:06:32]OFD Sender: No OFD packet to send [17:06:37]OFD Sender: No OFD packet to send [17:06:42]OFD Sender: No OFD packet to send [17:06:47]OFD Sender: No OFD packet to send [17:06:52]OFD Sender: No OFD packet to send [17:06:57]OFD Sender: No OFD packet to send [17:07:02]OFD Sender: No OFD packet to send [17:07:07]OFD Sender: No OFD packet to send [17:07:12]OFD Sender: No OFD packet to send [17:07:17]OFD Sender: No OFD packet to send [17:07:22]OFD Sender: No OFD packet to send [17:07:27]OFD Sender: No OFD packet to send [17:07:32]OFD Sender: No OFD packet to send [17:07:37]OFD Sender: No OFD packet to send [17:07:42]OFD Sender: No OFD packet to send [17:07:47]OFD Sender: No OFD packet to send [17:07:52]OFD Sender: No OFD packet to send [17:07:57]OFD Sender: No OFD packet to send [17:08:02]OFD Sender: No OFD packet to send [17:08:07]OFD Sender: No OFD packet to send [17:08:12]OFD Sender: No OFD packet to send [17:08:17]OFD Sender: No OFD packet to send [17:08:22]OFD Sender: No OFD packet to send [17:08:27]OFD Sender: No OFD packet to send [17:08:32]OFD Sender: No OFD packet to send [17:08:37]OFD Sender: No OFD packet to send [17:08:42]OFD Sender: No OFD packet to send [17:08:47]OFD Sender: No OFD packet to send [17:08:52]OFD Sender: No OFD packet to send [17:08:57]OFD Sender: No OFD packet to send [17:09:02]OFD Sender: No OFD packet to send [17:09:07]OFD Sender: No OFD packet to send [17:09:12]OFD Sender: No OFD packet to send [17:09:17]OFD Sender: No OFD packet to send [17:09:22]OFD Sender: No OFD packet to send [17:09:27]OFD Sender: No OFD packet to send [17:09:32]OFD Sender: No OFD packet to send [17:09:37]OFD Sender: No OFD packet to send [17:09:42]OFD Sender: No OFD packet to send [17:09:47]OFD Sender: No OFD packet to send [17:09:52]OFD Sender: No OFD packet to send [17:09:57]OFD Sender: No OFD packet to send [17:10:02]OFD Sender: No OFD packet to send [17:10:07]OFD Sender: No OFD packet to send [17:10:12]OFD Sender: No OFD packet to send [17:10:17]OFD Sender: No OFD packet to send [17:10:22]OFD Sender: No OFD packet to send [17:10:27]OFD Sender: No OFD packet to send [17:10:32]OFD Sender: No OFD packet to send [17:10:37]OFD Sender: No OFD packet to send [17:10:42]OFD Sender: No OFD packet to send [17:10:47]OFD Sender: No OFD packet to send [17:10:52]OFD Sender: No OFD packet to send [17:10:57]OFD Sender: No OFD packet to send [17:11:02]OFD Sender: No OFD packet to send [17:11:07]OFD Sender: No OFD packet to send [17:11:12]OFD Sender: No OFD packet to send [17:11:17]OFD Sender: No OFD packet to send [17:11:22]OFD Sender: No OFD packet to send [17:11:27]OFD Sender: No OFD packet to send [17:11:32]OFD Sender: No OFD packet to send [17:11:37]OFD Sender: No OFD packet to send [17:11:42]OFD Sender: No OFD packet to send [17:11:47]OFD Sender: No OFD packet to send [17:11:52]OFD Sender: No OFD packet to send [17:11:57]OFD Sender: No OFD packet to send [17:12:02]OFD Sender: No OFD packet to send [17:12:07]OFD Sender: No OFD packet to send [17:12:12]OFD Sender: No OFD packet to send [17:12:17]OFD Sender: No OFD packet to send [17:12:22]OFD Sender: No OFD packet to send [17:12:27]OFD Sender: No OFD packet to send [17:12:32]OFD Sender: No OFD packet to send [17:12:37]OFD Sender: No OFD packet to send [17:12:42]OFD Sender: No OFD packet to send [17:12:47]OFD Sender: No OFD packet to send [17:12:52]OFD Sender: No OFD packet to send [17:12:57]OFD Sender: No OFD packet to send [17:13:02]OFD Sender: No OFD packet to send [17:13:07]OFD Sender: No OFD packet to send [17:13:12]OFD Sender: No OFD packet to send [17:13:17]OFD Sender: No OFD packet to send [17:13:22]OFD Sender: No OFD packet to send [17:13:27]OFD Sender: No OFD packet to send [17:13:32]OFD Sender: No OFD packet to send [17:13:37]OFD Sender: No OFD packet to send [17:13:42]OFD Sender: No OFD packet to send [17:13:47]OFD Sender: No OFD packet to send [17:13:52]OFD Sender: No OFD packet to send [17:13:57]OFD Sender: No OFD packet to send [17:14:02]OFD Sender: No OFD packet to send [17:14:07]OFD Sender: No OFD packet to send [17:14:12]OFD Sender: No OFD packet to send [17:14:17]OFD Sender: No OFD packet to send [17:14:22]OFD Sender: No OFD packet to send [17:14:27]OFD Sender: No OFD packet to send [17:14:32]OFD Sender: No OFD packet to send [17:14:37]OFD Sender: No OFD packet to send [17:14:42]OFD Sender: No OFD packet to send [17:14:47]OFD Sender: No OFD packet to send [17:14:52]OFD Sender: No OFD packet to send [17:14:57]OFD Sender: No OFD packet to send [17:15:02]OFD Sender: No OFD packet to send [17:15:07]OFD Sender: No OFD packet to send [17:15:12]OFD Sender: No OFD packet to send [17:15:17]OFD Sender: No OFD packet to send [17:15:22]OFD Sender: No OFD packet to send [17:15:27]OFD Sender: No OFD packet to send [17:15:32]OFD Sender: No OFD packet to send [17:15:37]OFD Sender: No OFD packet to send [17:15:42]OFD Sender: No OFD packet to send [17:15:47]OFD Sender: No OFD packet to send [17:15:52]OFD Sender: No OFD packet to send [17:15:57]OFD Sender: No OFD packet to send [17:16:02]OFD Sender: No OFD packet to send [17:16:07]OFD Sender: No OFD packet to send [17:16:12]OFD Sender: No OFD packet to send [17:16:17]OFD Sender: No OFD packet to send [17:16:22]OFD Sender: No OFD packet to send [17:16:27]OFD Sender: No OFD packet to send [17:16:32]OFD Sender: No OFD packet to send [17:16:37]OFD Sender: No OFD packet to send [17:16:42]OFD Sender: No OFD packet to send [17:16:47]OFD Sender: No OFD packet to send [17:16:52]OFD Sender: No OFD packet to send [17:16:57]OFD Sender: No OFD packet to send [17:17:02]OFD Sender: No OFD packet to send [17:17:07]OFD Sender: No OFD packet to send [17:17:12]OFD Sender: No OFD packet to send [17:17:17]OFD Sender: No OFD packet to send [17:17:22]OFD Sender: No OFD packet to send [17:17:27]OFD Sender: No OFD packet to send [17:17:32]OFD Sender: No OFD packet to send [17:17:37]OFD Sender: No OFD packet to send [17:17:42]OFD Sender: No OFD packet to send [17:17:47]OFD Sender: No OFD packet to send [17:17:52]OFD Sender: No OFD packet to send [17:17:57]OFD Sender: No OFD packet to send [17:18:02]OFD Sender: No OFD packet to send [17:18:07]OFD Sender: No OFD packet to send [17:18:12]OFD Sender: No OFD packet to send [17:18:17]OFD Sender: No OFD packet to send [17:18:22]OFD Sender: No OFD packet to send [17:18:27]OFD Sender: No OFD packet to send [17:18:32]OFD Sender: No OFD packet to send [17:18:37]OFD Sender: No OFD packet to send [17:18:42]OFD Sender: No OFD packet to send [17:18:47]OFD Sender: No OFD packet to send [17:18:52]OFD Sender: No OFD packet to send [17:18:57]OFD Sender: No OFD packet to send [17:19:02]OFD Sender: No OFD packet to send [17:19:07]OFD Sender: No OFD packet to send [17:19:12]OFD Sender: No OFD packet to send [17:19:17]OFD Sender: No OFD packet to send [17:19:22]OFD Sender: No OFD packet to send [17:19:27]OFD Sender: No OFD packet to send [17:19:32]OFD Sender: No OFD packet to send [17:19:37]OFD Sender: No OFD packet to send [17:19:42]OFD Sender: No OFD packet to send [17:19:47]OFD Sender: No OFD packet to send [17:19:52]OFD Sender: No OFD packet to send [17:19:57]OFD Sender: No OFD packet to send [17:20:02]OFD Sender: No OFD packet to send [17:20:07]OFD Sender: No OFD packet to send [17:20:12]OFD Sender: No OFD packet to send [17:20:17]OFD Sender: No OFD packet to send [17:20:22]OFD Sender: No OFD packet to send [17:20:27]OFD Sender: No OFD packet to send [17:20:32]OFD Sender: No OFD packet to send [17:20:37]OFD Sender: No OFD packet to send [17:20:42]OFD Sender: No OFD packet to send [17:20:47]OFD Sender: No OFD packet to send [17:20:52]OFD Sender: No OFD packet to send [17:20:57]OFD Sender: No OFD packet to send [17:21:02]OFD Sender: No OFD packet to send [17:21:07]OFD Sender: No OFD packet to send [17:21:12]OFD Sender: No OFD packet to send [17:21:17]OFD Sender: No OFD packet to send [17:21:22]OFD Sender: No OFD packet to send [17:21:27]OFD Sender: No OFD packet to send [17:21:32]OFD Sender: No OFD packet to send [17:21:37]OFD Sender: No OFD packet to send [17:21:42]OFD Sender: No OFD packet to send [17:21:47]OFD Sender: No OFD packet to send [17:21:52]OFD Sender: No OFD packet to send [17:21:57]OFD Sender: No OFD packet to send [17:22:02]OFD Sender: No OFD packet to send [17:22:07]OFD Sender: No OFD packet to send [17:22:12]OFD Sender: No OFD packet to send [17:22:17]OFD Sender: No OFD packet to send [17:22:22]OFD Sender: No OFD packet to send [17:22:27]OFD Sender: No OFD packet to send [17:22:32]OFD Sender: No OFD packet to send [17:22:37]OFD Sender: No OFD packet to send [17:22:42]OFD Sender: No OFD packet to send [17:22:47]OFD Sender: No OFD packet to send [17:22:52]OFD Sender: No OFD packet to send [17:22:57]OFD Sender: No OFD packet to send [17:23:02]OFD Sender: No OFD packet to send [17:23:07]OFD Sender: No OFD packet to send [17:23:12]accept exits with 7 [17:23:12]New connection [17:23:12]New thread 3066453348 created [17:23:12]Thread 3066596708 joined [17:23:12]Waiting for new connection... [17:23:12] Sock 7.Parse request [17:23:12]Sock 7.Check first char [17:23:12]Sock 7.First char is OK [17:23:12]request: POST /json_proto HTTP/1.0 [17:23:12]Method: POST [17:23:12]URL: /json_proto [17:23:12]Method is POST - this is cgi request [17:23:12]url: /json_proto [17:23:12]query_string will be loaded in cgi processing [17:23:12]execute_cgi json_proto POST (null) [17:23:12]execute_cgi path=json_proto method=POST [17:23:12]POST find Content-Length [17:23:12]Host: 172.17.32.68:8080 [17:23:12]Content-Length: 620 [17:23:12]Content-Type: application/json [17:23:12] [17:23:12]POST finish read [17:23:12]Found Content-Length = 620 [17:23:12]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242272", "tax_sys" : 0, "items" : [ { "code": "48745000", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Purple Mix", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:23:12]execute_script... [17:23: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)242272", "tax_sys" : 0, "items" : [ { "code": "48745000", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Purple Mix", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:23:12]POST & json_proto [17:23:12]process_json_proto [17:23:12]json parsed OK: [17:23:12]protocol is kg_v1.0 [17:23:12]action value=close_receipt [17:23:12]process_action close_receipt [17:23:12]cmd_close_receipt [17:23:12]MH_GetDate [17:23:12]Write to MH i2c: F0 00 00 E5 55 29 [17:23:12]Write i2c OK [17:23:12]MH_I2C_Read... [17:23:12]Read from MH i2c: F0 [17:23:12]MH_I2C_Read... [17:23:12]Read from MH i2c: F0 09 00 [17:23:12]MH_I2C_Read... [17:23:12]Read from MH i2c: F0 09 00 E5 55 00 91 8F F0 65 0A 64 6E 65 E8 [17:23:12]GetLastDocTimeStamp 1710262530 [17:23:12]current date 1710264209 [17:23:12]FM_GetShiftState [17:23:12]SAM_PROTO_GetShiftState [17:23:12]wFMCommunicate request_size=4 [17:23:12]MH_SAM_APDU [17:23:12]CAPDU: 80 13 01 00 [17:23:12]Write to MH i2c: E2 08 00 E6 55 80 13 01 00 00 00 00 00 B8 [17:23:12]Write i2c OK [17:23:12]MH_I2C_Read... [17:23:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:23:12]Read from MH i2c: E2 [17:23:12]MH_I2C_Read... [17:23:12]Read from MH i2c: E2 0E 00 [17:23:12]MH_I2C_Read... [17:23:12]Read from MH i2c: E2 0E 00 E6 55 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 E7 [17:23:12]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [17:23:12]wFMCommunicate OK [17:23:12]SAM_PROTO_GetShiftState done [17:23:12]FM_GetShiftState done [17:23:12]opened in 1710202417 [17:23:12]opened+sec_in_day 1710288817 [17:23:12]quantity*price = 13500 [17:23:12]sum+1 = 13501 [17:23:12]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 135.00 НСП 1% : 1.19 НДС 12% : 14.34 Наличными: 135.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 36 12.03.2024 17:23 Смена: 314 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47358 ФПД: 177653157074691 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T172329&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47358&fm=177653157074691&tin=02508201610067®Number=0000000000092018&sum=13500 0 [17:23:13]StoreToDocumentArchive [17:23:13]shift 314 fd 47358 [17:23:13]save to /storage/0314/doc_00047358 [17:23:13]save last doc name /storage/0314/doc_00047358 to /storage/kkm_last_doc_name [17:23:13]save OK [17:23:13]Clear old archive folders... [17:23:13]ProcessDocumentItem done err = 0, tmpTLVsize=272 [17:23:13]tlvbuf is 003E0C20 [17:23:13]SAM_PROTO_ClearQueue [17:23:13]wFMCommunicate request_size=4 [17:23:13]MH_SAM_APDU [17:23:13]CAPDU: 80 09 00 00 [17:23:13]Write to MH i2c: E2 08 00 F3 55 80 09 00 00 00 00 00 00 BA [17:23:13]Write i2c OK [17:23:13]MH_I2C_Read... [17:23:13]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:23:13]Read from MH i2c: E2 [17:23:13]MH_I2C_Read... [17:23:13]Read from MH i2c: E2 03 00 [17:23:13]MH_I2C_Read... [17:23:13]Read from MH i2c: E2 03 00 F3 55 00 90 00 BC [17:23:13]RAPDU: 90 00 [17:23:13]wFMCommunicate OK [17:23:13]SAM_PROTO_ClearQueue done [17:23:13]KKMCreateOFDPacket [17:23:13]OFDProtocolAddRootSTLVToBuf [17:23:13]FM_MakeSignedData [17:23:13]FM_MakeSignedData [17:23:13]SAM_PROTO_SignData [17:23:13]wFMCommunicate request_size=4 [17:23:13]MH_SAM_APDU [17:23:13]CAPDU: 80 0D 01 02 [17:23:13]Write to MH i2c: E2 08 00 F4 55 80 0D 01 02 00 00 00 00 C2 [17:23:13]Write i2c OK [17:23:13]MH_I2C_Read... [17:23:13]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:23:13]Read from MH i2c: E2 [17:23:13]MH_I2C_Read... [17:23:13]Read from MH i2c: E2 03 00 [17:23:13]MH_I2C_Read... [17:23:13]Read from MH i2c: E2 03 00 F4 55 00 90 00 BD [17:23:13]RAPDU: 90 00 [17:23:13]wFMCommunicate OK [17:23:13]wFMCommunicate request_size=255 [17:23:13]MH_SAM_APDU [17:23:13]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 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 91 8F F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 [17:23:13]Write to MH i2c: E2 02 01 F5 55 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 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 91 8F F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 00 00 4C [17:23:13]Write i2c OK [17:23:13]MH_I2C_Read... [17:23:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:23:14]Read from MH i2c: E2 [17:23:14]MH_I2C_Read... [17:23:14]Read from MH i2c: E2 03 00 [17:23:14]MH_I2C_Read... [17:23:14]Read from MH i2c: E2 03 00 F5 55 00 90 00 BE [17:23:14]RAPDU: 90 00 [17:23:14]wFMCommunicate OK [17:23:14]wFMCommunicate request_size=31 [17:23:14]MH_SAM_APDU [17:23:14]CAPDU: 80 0D 02 02 1A 30 30 38 37 31 38 31 36 10 04 04 00 FE B8 00 00 35 04 06 00 A1 93 19 52 17 03 [17:23:14]Write to MH i2c: E2 22 00 F6 55 80 0D 02 02 1A 00 30 30 38 37 31 38 31 36 10 04 04 00 FE B8 00 00 35 04 06 00 A1 93 19 52 17 03 00 00 5E [17:23:14]Write i2c OK [17:23:14]MH_I2C_Read... [17:23:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:23:14]Read from MH i2c: E2 [17:23:14]MH_I2C_Read... [17:23:14]Read from MH i2c: E2 03 00 [17:23:14]MH_I2C_Read... [17:23:14]Read from MH i2c: E2 03 00 F6 55 00 90 00 BF [17:23:14]RAPDU: 90 00 [17:23:14]wFMCommunicate OK [17:23:14]wFMCommunicate request_size=4 [17:23:14]MH_SAM_APDU [17:23:14]CAPDU: 80 0D 03 02 [17:23:14]Write to MH i2c: E2 08 00 F7 55 80 0D 03 02 00 00 00 00 C7 [17:23:14]Write i2c OK [17:23:14]MH_I2C_Read... [17:23:14]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:23:14]Read from MH i2c: E2 [17:23:14]MH_I2C_Read... [17:23:14]Read from MH i2c: E2 0B 00 [17:23:14]MH_I2C_Read... [17:23:14]Read from MH i2c: E2 0B 00 F7 55 00 7C 59 03 F6 7F 5D 4E C9 90 00 89 [17:23:14]RAPDU: 7C 59 03 F6 7F 5D 4E C9 90 00 [17:23:14]wFMCommunicate OK [17:23:14]SAM_PROTO_SignData done [17:23:14]FM_MakeSignedData done [17:23:14]CreateOFDProtocolMessage [17:23:14]wFMCommunicate request_size=4 [17:23:14]MH_SAM_APDU [17:23:14]CAPDU: 80 11 00 00 [17:23:14]Write to MH i2c: E2 08 00 F8 55 80 11 00 00 00 00 00 00 C7 [17:23:14]Write i2c OK [17:23:14]MH_I2C_Read... [17:23:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:23:14]Read from MH i2c: E2 [17:23:14]MH_I2C_Read... [17:23:14]Read from MH i2c: E2 17 00 [17:23:14]MH_I2C_Read... [17:23:14]Read from MH i2c: E2 17 00 F8 55 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 19 [17:23:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [17:23:14]wFMCommunicate OK [17:23:14]CreateOFDProtocolMessage done [17:23:14]OFDSenderStorePacket 47358 [17:23:14]StoreOFDPacket docnum=47358 [17:23:14]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 24 01 00 00 4A 8D 1C 01 33 5F 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 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 91 8F F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 FE B8 00 00 35 04 06 00 A1 93 19 52 17 03 7C 59 03 F6 7F 5D 4E C9 [17:23:14]CheckFolder [17:23:14]dirname=/storage/ofd_packets [17:23:14]CheckFolder done [17:23:14]ProducePacketName [17:23:14]name=ofd_packets/00047358 [17:23:14]NVStorageSaveData ofd_packets/00047358 [17:23:14]File name is /storage/ofd_packets/00047358 [17:23:14]Write 322 bytes [17:23:14]NVStorageSaveData done [17:23:14]OFDSenderStorePacket done [17:23:14]KKMCreateOFDPacket done [17:23:14]NVStorageSaveData kkm_last_timestamp [17:23:14]File name is /storage/kkm_last_timestamp [17:23:14]Write 4 bytes [17:23:14]NVStorageSaveData done [17:23:14]ExternCall_PrintAddStr [17:23:14]wPrintStart [17:23:14]Write to MH i2c: 01 00 00 F9 55 4E [17:23:14]Write i2c OK [17:23:14]MH_I2C_Read... [17:23:14]Read from MH i2c: 01 [17:23:14]MH_I2C_Read... [17:23:14]Read from MH i2c: 01 07 00 [17:23:14]MH_I2C_Read... [17:23:14]Read from MH i2c: 01 07 00 F9 55 00 00 00 00 00 FF 0F 63 [17:23:14]RasterBufferAndPrint [17:23:14]line Счет N : (3)242272 [17:23:14]line ИНН: 02508201610067 [17:23:14]line Контрольно-Кассовый Чек [17:23:14]line ПРОДАЖА [17:23:14]line Товар: 48745000 [17:23:14]line Сигареты Winston Purple Mix [17:23:14]line 1.000 * 135.00 [17:23:14]line = 135.00 [17:23:14]line НДС 12% НСП 1% [17:23:14]line > о реализуемом товаре [17:23:14]line ИТОГО: 135.00 [17:23:14]line НСП 1% : 1.19 [17:23:14]line НДС 12% : 14.34 [17:23:14]line Наличными: 135.00 [17:23:14]line Безнал.: 0.00 [17:23:14]line Место: АЗС № 15 "Партнер Нефть" [17:23:14]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [17:23:14]line СНО: Общий режим [17:23:14]line Чек 36 12.03.2024 17:23 [17:23:14]line Смена: 314 ФФД: 1.0 [17:23:14]line ЗНМ: 0300000097 [17:23:14]line РНМ: 0000000000092018 [17:23:14]line Версия ККМ: 001 [17:23:14]line ФМ: 0000000000871816 [17:23:14]line ФД: 47358 [17:23:14]line ФПД: 177653157074691 [17:23:14]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T172329&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47358&fm=177653157074691&tin=02508201610067®Number=0000000000092018&sum=13500 [17:23:14]line 0 [17:23:14]OFD Sender: Processing packet 47358 [packets to send 8, broken 7] [17:23:14]ProducePacketName [17:23:14]name=ofd_packets/00047358 [17:23:14]OFD Sender: To server: pG, [17:23:14]CommunicateWithHost lk.salyk.kg:30040 [17:23:14]ConnectInit lk.salyk.kg [17:23:14]written 0, free lines is 4095 [17:23:14]Connected sock=10 [17:23: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 31 36 24 01 00 00 4A 8D 1C 01 33 5F 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 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 91 8F F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 FE B8 00 00 35 04 06 00 A1 93 19 52 17 03 7C 59 03 F6 7F 5D 4E C9 [17:23:15]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 6E 60 47 00 CB CF A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 FE B8 00 00 F4 03 04 00 22 3A F0 65 B6 04 01 00 00 33 CF 77 89 29 DC B1 69 [17:23:15]CommunicateWithHost err = 0 [17:23:15]CheckOFDResponse [17:23:15]1017 (14) - 77093643461234 [17:23:15]1041 (16) - 0000000000871816 [17:23:15]1040 (4) - 47358 [17:23:15]1012 (4) - 12.03.2024 11:18 [17:23:15]1206 (1) - 0 [17:23:15]OFD Sender: Remove packet 47358 [17:23:15]ProducePacketName [17:23:15]name=ofd_packets/00047358 [17:23:15]NVStorageDeleteData [17:23:15]Write to MH i2c: 01 00 00 21 56 77 [17:23:15]Write i2c OK [17:23:15]MH_I2C_Read... [17:23:15]Read from MH i2c: 01 [17:23:15]MH_I2C_Read... [17:23:15]Read from MH i2c: 01 07 00 [17:23:15]MH_I2C_Read... [17:23:15]Read from MH i2c: 01 07 00 21 56 00 00 00 00 00 E5 0C 6F [17:23:15]RasterBufferAndPrint [17:23:15]line [17:23:15]line [17:23:15]line [17:23:15]line [17:23:15]line [17:23:15]written 0, free lines is 3306 [17:23:15]MH_Cut [17:23:15]Write to MH i2c: D1 01 00 28 56 01 50 [17:23:15]Write i2c OK [17:23:15]MH_I2C_Read... [17:23:15]Read from MH i2c: D1 [17:23:15]MH_I2C_Read... [17:23:15]Read from MH i2c: D1 01 00 [17:23:15]MH_I2C_Read... [17:23:15]Read from MH i2c: D1 01 00 28 56 00 4F [17:23:15]Write to MH i2c: 01 00 00 29 56 7F [17:23:15]Write i2c OK [17:23:15]MH_I2C_Read... [17:23:15]OFD Sender: No OFD packet to send [17:23:15]*** Cut start [17:23:15]*** Purtial cut [17:23:15]*** Stage 1: CUTSNS_PIN = 1 [17:23:16]Read from MH i2c: 01 [17:23:16]MH_I2C_Read... [17:23:16]*** Stop cut motor [17:23:16]*** Cut end [17:23:16]Read from MH i2c: 01 07 00 [17:23:16]MH_I2C_Read... [17:23:16]Read from MH i2c: 01 07 00 29 56 00 00 00 00 00 FF 0F 94 [17:23:16]process_action close_receipt done [17:23:16]requested_data is exist [17:23:16]produce_requested_data [17:23:16]requested_item fm.sn is exist - process it [17:23:16]wFMCommunicate request_size=4 [17:23:16]MH_SAM_APDU [17:23:16]CAPDU: 80 11 00 00 [17:23:16]Write to MH i2c: E2 08 00 2A 56 80 11 00 00 00 00 00 00 FA [17:23:16]Write i2c OK [17:23:16]MH_I2C_Read... [17:23:16]Read from MH i2c: E2 [17:23:16]MH_I2C_Read... [17:23:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:23:16]Read from MH i2c: E2 17 00 [17:23:16]MH_I2C_Read... [17:23:16]Read from MH i2c: E2 17 00 2A 56 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 4C [17:23:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [17:23:16]wFMCommunicate OK [17:23:16]requested_item fd.num is exist - process it [17:23:16]SAM_PROTO_GetFieldsCounters [17:23:16]wFMCommunicate request_size=4 [17:23:16]MH_SAM_APDU [17:23:16]CAPDU: 80 13 00 00 [17:23:16]Write to MH i2c: E2 08 00 2B 56 80 13 00 00 00 00 00 00 FD [17:23:16]Write i2c OK [17:23:16]MH_I2C_Read... [17:23:16]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:23:16]Read from MH i2c: E2 [17:23:16]MH_I2C_Read... [17:23:16]Read from MH i2c: E2 62 00 [17:23:16]MH_I2C_Read... [17:23:16]Read from MH i2c: E2 62 00 2B 56 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 FE B8 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 24 00 00 00 5E 04 04 00 24 00 00 00 57 04 04 00 25 00 00 00 19 04 04 00 00 00 00 00 90 00 75 [17:23: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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 FE B8 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 24 00 00 00 5E 04 04 00 24 00 00 00 57 04 04 00 25 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:23:16]wFMCommunicate OK [17:23:16]SAM_PROTO_GetFieldsCounters done [17:23:16]requested_item shift.num is exist - process it [17:23:16]requested_item shift.opened is exist - process it [17:23:16]req_shift_opened [17:23:16]FM_GetShiftState [17:23:16]SAM_PROTO_GetShiftState [17:23:16]wFMCommunicate request_size=4 [17:23:16]MH_SAM_APDU [17:23:16]CAPDU: 80 13 01 00 [17:23:16]Write to MH i2c: E2 08 00 2C 56 80 13 01 00 00 00 00 00 FF [17:23:16]Write i2c OK [17:23:16]MH_I2C_Read... [17:23:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:23:16]Read from MH i2c: E2 [17:23:16]MH_I2C_Read... [17:23:16]Read from MH i2c: E2 0E 00 [17:23:16]MH_I2C_Read... [17:23:16]Read from MH i2c: E2 0E 00 2C 56 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 2E [17:23:16]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [17:23:16]wFMCommunicate OK [17:23:16]SAM_PROTO_GetShiftState done [17:23:16]FM_GetShiftState done [17:23:16]req_shift_opened done [17:23:16]requested_item shift.open_date is exist - process it [17:23:16]req_shift_open_date [17:23:16]req_shift_open_date done [17:23:16]produce_requested_data done [17:23:16]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47358,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [17:23:16]process_action_free close_receipt [17:23:16]json_value_free [17:23:16]json_value_free done [17:23:16]process_json_proto returns [17:23:16]Send response to host [17:23:16]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47358,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [17:23:16]free response buf [17:23:16]execute_script done [17:23:16]execute_script returns [17:23:16]free content buf [17:23:16]Sock 7.Close socket [17:23:16]Sock 7.Thread stoped [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:45]OFD Sender: No OFD packet to send [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:50]OFD Sender: No OFD packet to send [17:26:55]OFD Sender: No OFD packet to send [17:27:00]OFD Sender: No OFD packet to send [17:27:05]OFD Sender: No OFD packet to send [17:27:10]OFD Sender: No OFD packet to send [17:27:15]OFD Sender: No OFD packet to send [17:27:20]OFD Sender: No OFD packet to send [17:27:25]OFD Sender: No OFD packet to send [17:27:30]OFD Sender: No OFD packet to send [17:27:35]OFD Sender: No OFD packet to send [17:27:40]OFD Sender: No OFD packet to send [17:27:45]OFD Sender: No OFD packet to send [17:27:50]OFD Sender: No OFD packet to send [17:27:55]OFD Sender: No OFD packet to send [17:28:00]OFD Sender: No OFD packet to send [17:28:05]OFD Sender: No OFD packet to send [17:28:10]OFD Sender: No OFD packet to send [17:28:15]OFD Sender: No OFD packet to send [17:28:20]OFD Sender: No OFD packet to send [17:28:25]OFD Sender: No OFD packet to send [17:28:30]OFD Sender: No OFD packet to send [17:28:35]OFD Sender: No OFD packet to send [17:28:40]OFD Sender: No OFD packet to send [17:28:45]OFD Sender: No OFD packet to send [17:28:50]OFD Sender: No OFD packet to send [17:28:55]OFD Sender: No OFD packet to send [17:29:00]OFD Sender: No OFD packet to send [17:29:05]OFD Sender: No OFD packet to send [17:29:10]OFD Sender: No OFD packet to send [17:29:15]OFD Sender: No OFD packet to send [17:29:20]OFD Sender: No OFD packet to send [17:29:25]OFD Sender: No OFD packet to send [17:29:30]OFD Sender: No OFD packet to send [17:29:35]OFD Sender: No OFD packet to send [17:29:40]OFD Sender: No OFD packet to send [17:29:45]OFD Sender: No OFD packet to send [17:29:50]OFD Sender: No OFD packet to send [17:29:55]OFD Sender: No OFD packet to send [17:30:00]OFD Sender: No OFD packet to send [17:30:05]OFD Sender: No OFD packet to send [17:30:10]OFD Sender: No OFD packet to send [17:30:15]OFD Sender: No OFD packet to send [17:30:20]OFD Sender: No OFD packet to send [17:30:25]OFD Sender: No OFD packet to send [17:30:30]OFD Sender: No OFD packet to send [17:30:35]OFD Sender: No OFD packet to send [17:30:40]OFD Sender: No OFD packet to send [17:30:45]OFD Sender: No OFD packet to send [17:30:50]OFD Sender: No OFD packet to send [17:30:55]OFD Sender: No OFD packet to send [17:31:00]OFD Sender: No OFD packet to send [17:31:05]OFD Sender: No OFD packet to send [17:31:10]OFD Sender: No OFD packet to send [17:31:15]OFD Sender: No OFD packet to send [17:31:20]OFD Sender: No OFD packet to send [17:31:25]OFD Sender: No OFD packet to send [17:31:30]OFD Sender: No OFD packet to send [17:31:35]OFD Sender: No OFD packet to send [17:31:40]OFD Sender: No OFD packet to send [17:31:45]OFD Sender: No OFD packet to send [17:31:50]OFD Sender: No OFD packet to send [17:31:55]OFD Sender: No OFD packet to send [17:32:00]OFD Sender: No OFD packet to send [17:32:05]OFD Sender: No OFD packet to send [17:32:10]OFD Sender: No OFD packet to send [17:32:15]OFD Sender: No OFD packet to send [17:32:20]OFD Sender: No OFD packet to send [17:32:25]OFD Sender: No OFD packet to send [17:32:30]OFD Sender: No OFD packet to send [17:32:35]OFD Sender: No OFD packet to send [17:32:40]OFD Sender: No OFD packet to send [17:32:45]OFD Sender: No OFD packet to send [17:32:50]OFD Sender: No OFD packet to send [17:32:55]OFD Sender: No OFD packet to send [17:33:00]OFD Sender: No OFD packet to send [17:33:05]OFD Sender: No OFD packet to send [17:33:10]OFD Sender: No OFD packet to send [17:33:15]OFD Sender: No OFD packet to send [17:33:20]OFD Sender: No OFD packet to send [17:33:25]OFD Sender: No OFD packet to send [17:33:30]OFD Sender: No OFD packet to send [17:33:35]OFD Sender: No OFD packet to send [17:33:40]OFD Sender: No OFD packet to send [17:33:45]OFD Sender: No OFD packet to send [17:33:50]OFD Sender: No OFD packet to send [17:33:56]OFD Sender: No OFD packet to send [17:34:01]OFD Sender: No OFD packet to send [17:34:06]OFD Sender: No OFD packet to send [17:34:11]OFD Sender: No OFD packet to send [17:34:16]OFD Sender: No OFD packet to send [17:34:21]OFD Sender: No OFD packet to send [17:34:26]OFD Sender: No OFD packet to send [17:34:31]OFD Sender: No OFD packet to send [17:34:36]OFD Sender: No OFD packet to send [17:34:41]OFD Sender: No OFD packet to send [17:34:46]OFD Sender: No OFD packet to send [17:34:51]OFD Sender: No OFD packet to send [17:34:56]OFD Sender: No OFD packet to send [17:35:01]OFD Sender: No OFD packet to send [17:35:06]OFD Sender: No OFD packet to send [17:35:11]OFD Sender: No OFD packet to send [17:35:16]OFD Sender: No OFD packet to send [17:35:21]OFD Sender: No OFD packet to send [17:35:26]OFD Sender: No OFD packet to send [17:35:31]OFD Sender: No OFD packet to send [17:35:36]OFD Sender: No OFD packet to send [17:35:41]OFD Sender: No OFD packet to send [17:35:46]OFD Sender: No OFD packet to send [17:35:51]OFD Sender: No OFD packet to send [17:35:56]OFD Sender: No OFD packet to send [17:36:01]OFD Sender: No OFD packet to send [17:36:06]OFD Sender: No OFD packet to send [17:36:11]OFD Sender: No OFD packet to send [17:36:16]OFD Sender: No OFD packet to send [17:36:21]OFD Sender: No OFD packet to send [17:36:26]OFD Sender: No OFD packet to send [17:36:31]OFD Sender: No OFD packet to send [17:36:36]OFD Sender: No OFD packet to send [17:36:41]OFD Sender: No OFD packet to send [17:36:46]OFD Sender: No OFD packet to send [17:36:51]OFD Sender: No OFD packet to send [17:36:56]OFD Sender: No OFD packet to send [17:37:01]OFD Sender: No OFD packet to send [17:37:06]OFD Sender: No OFD packet to send [17:37:11]OFD Sender: No OFD packet to send [17:37:16]OFD Sender: No OFD packet to send [17:37:21]OFD Sender: No OFD packet to send [17:37:26]OFD Sender: No OFD packet to send [17:37:31]OFD Sender: No OFD packet to send [17:37:36]OFD Sender: No OFD packet to send [17:37:41]OFD Sender: No OFD packet to send [17:37:46]OFD Sender: No OFD packet to send [17:37:51]OFD Sender: No OFD packet to send [17:37:56]OFD Sender: No OFD packet to send [17:38:01]OFD Sender: No OFD packet to send [17:38:06]OFD Sender: No OFD packet to send [17:38:11]OFD Sender: No OFD packet to send [17:38:16]OFD Sender: No OFD packet to send [17:38:21]OFD Sender: No OFD packet to send [17:38:26]OFD Sender: No OFD packet to send [17:38:31]OFD Sender: No OFD packet to send [17:38:36]OFD Sender: No OFD packet to send [17:38:41]OFD Sender: No OFD packet to send [17:38:46]OFD Sender: No OFD packet to send [17:38:51]OFD Sender: No OFD packet to send [17:38:56]OFD Sender: No OFD packet to send [17:39:01]OFD Sender: No OFD packet to send [17:39:06]OFD Sender: No OFD packet to send [17:39:11]OFD Sender: No OFD packet to send [17:39:16]OFD Sender: No OFD packet to send [17:39:21]OFD Sender: No OFD packet to send [17:39:26]OFD Sender: No OFD packet to send [17:39:31]OFD Sender: No OFD packet to send [17:39:36]OFD Sender: No OFD packet to send [17:39:41]OFD Sender: No OFD packet to send [17:39:46]OFD Sender: No OFD packet to send [17:39:51]OFD Sender: No OFD packet to send [17:39:56]OFD Sender: No OFD packet to send [17:40:01]OFD Sender: No OFD packet to send [17:40:06]OFD Sender: No OFD packet to send [17:40:11]OFD Sender: No OFD packet to send [17:40:16]OFD Sender: No OFD packet to send [17:40:21]OFD Sender: No OFD packet to send [17:40:26]OFD Sender: No OFD packet to send [17:40:31]OFD Sender: No OFD packet to send [17:40:36]OFD Sender: No OFD packet to send [17:40:41]OFD Sender: No OFD packet to send [17:40:46]OFD Sender: No OFD packet to send [17:40:51]OFD Sender: No OFD packet to send [17:40:56]OFD Sender: No OFD packet to send [17:41:01]OFD Sender: No OFD packet to send [17:41:06]OFD Sender: No OFD packet to send [17:41:11]OFD Sender: No OFD packet to send [17:41:16]OFD Sender: No OFD packet to send [17:41:21]OFD Sender: No OFD packet to send [17:41:26]OFD Sender: No OFD packet to send [17:41:31]OFD Sender: No OFD packet to send [17:41:36]OFD Sender: No OFD packet to send [17:41:41]OFD Sender: No OFD packet to send [17:41:46]OFD Sender: No OFD packet to send [17:41:51]OFD Sender: No OFD packet to send [17:41:56]OFD Sender: No OFD packet to send [17:42:01]OFD Sender: No OFD packet to send [17:42:06]OFD Sender: No OFD packet to send [17:42:11]OFD Sender: No OFD packet to send [17:42:16]OFD Sender: No OFD packet to send [17:42:21]OFD Sender: No OFD packet to send [17:42:26]OFD Sender: No OFD packet to send [17:42:31]OFD Sender: No OFD packet to send [17:42:36]OFD Sender: No OFD packet to send [17:42:41]OFD Sender: No OFD packet to send [17:42:46]OFD Sender: No OFD packet to send [17:42:51]OFD Sender: No OFD packet to send [17:42:56]OFD Sender: No OFD packet to send [17:43:01]OFD Sender: No OFD packet to send [17:43:06]OFD Sender: No OFD packet to send [17:43:11]OFD Sender: No OFD packet to send [17:43:16]OFD Sender: No OFD packet to send [17:43:21]OFD Sender: No OFD packet to send [17:43:26]OFD Sender: No OFD packet to send [17:43:31]OFD Sender: No OFD packet to send [17:43:36]OFD Sender: No OFD packet to send [17:43:41]OFD Sender: No OFD packet to send [17:43:46]OFD Sender: No OFD packet to send [17:43:51]OFD Sender: No OFD packet to send [17:43:56]OFD Sender: No OFD packet to send [17:44:01]OFD Sender: No OFD packet to send [17:44:06]OFD Sender: No OFD packet to send [17:44:11]OFD Sender: No OFD packet to send [17:44:16]OFD Sender: No OFD packet to send [17:44:21]OFD Sender: No OFD packet to send [17:44:26]OFD Sender: No OFD packet to send [17:44:31]OFD Sender: No OFD packet to send [17:44:36]OFD Sender: No OFD packet to send [17:44:41]OFD Sender: No OFD packet to send [17:44:46]OFD Sender: No OFD packet to send [17:44:51]OFD Sender: No OFD packet to send [17:44:56]OFD Sender: No OFD packet to send [17:45:01]OFD Sender: No OFD packet to send [17:45:06]OFD Sender: No OFD packet to send [17:45:11]OFD Sender: No OFD packet to send [17:45:16]OFD Sender: No OFD packet to send [17:45:21]OFD Sender: No OFD packet to send [17:45:26]OFD Sender: No OFD packet to send [17:45:31]OFD Sender: No OFD packet to send [17:45:36]OFD Sender: No OFD packet to send [17:45:41]OFD Sender: No OFD packet to send [17:45:46]OFD Sender: No OFD packet to send [17:45:51]OFD Sender: No OFD packet to send [17:45:56]OFD Sender: No OFD packet to send [17:46:01]OFD Sender: No OFD packet to send [17:46:06]OFD Sender: No OFD packet to send [17:46:11]OFD Sender: No OFD packet to send [17:46:16]OFD Sender: No OFD packet to send [17:46:21]OFD Sender: No OFD packet to send [17:46:26]OFD Sender: No OFD packet to send [17:46:31]OFD Sender: No OFD packet to send [17:46:36]OFD Sender: No OFD packet to send [17:46:41]OFD Sender: No OFD packet to send [17:46:46]OFD Sender: No OFD packet to send [17:46:51]OFD Sender: No OFD packet to send [17:46:56]OFD Sender: No OFD packet to send [17:47:01]OFD Sender: No OFD packet to send [17:47:06]OFD Sender: No OFD packet to send [17:47:11]OFD Sender: No OFD packet to send [17:47:16]OFD Sender: No OFD packet to send [17:47:21]OFD Sender: No OFD packet to send [17:47:26]OFD Sender: No OFD packet to send [17:47:31]OFD Sender: No OFD packet to send [17:47:36]OFD Sender: No OFD packet to send [17:47:41]OFD Sender: No OFD packet to send [17:47:46]OFD Sender: No OFD packet to send [17:47:51]OFD Sender: No OFD packet to send [17:47:56]OFD Sender: No OFD packet to send [17:48:01]OFD Sender: No OFD packet to send [17:48:06]OFD Sender: No OFD packet to send [17:48:11]OFD Sender: No OFD packet to send [17:48:16]OFD Sender: No OFD packet to send [17:48:21]OFD Sender: No OFD packet to send [17:48:26]OFD Sender: No OFD packet to send [17:48:31]OFD Sender: No OFD packet to send [17:48:36]OFD Sender: No OFD packet to send [17:48:41]OFD Sender: No OFD packet to send [17:48:46]OFD Sender: No OFD packet to send [17:48:51]OFD Sender: No OFD packet to send [17:48:56]OFD Sender: No OFD packet to send [17:49:01]OFD Sender: No OFD packet to send [17:49:06]OFD Sender: No OFD packet to send [17:49:11]OFD Sender: No OFD packet to send [17:49:16]OFD Sender: No OFD packet to send [17:49:21]OFD Sender: No OFD packet to send [17:49:26]OFD Sender: No OFD packet to send [17:49:31]OFD Sender: No OFD packet to send [17:49:36]OFD Sender: No OFD packet to send [17:49:41]OFD Sender: No OFD packet to send [17:49:46]OFD Sender: No OFD packet to send [17:49:51]OFD Sender: No OFD packet to send [17:49:56]OFD Sender: No OFD packet to send [17:50:01]OFD Sender: No OFD packet to send [17:50:06]OFD Sender: No OFD packet to send [17:50:11]OFD Sender: No OFD packet to send [17:50:16]OFD Sender: No OFD packet to send [17:50:21]OFD Sender: No OFD packet to send [17:50:26]OFD Sender: No OFD packet to send [17:50:31]OFD Sender: No OFD packet to send [17:50:36]OFD Sender: No OFD packet to send [17:50:41]OFD Sender: No OFD packet to send [17:50:46]OFD Sender: No OFD packet to send [17:50:51]OFD Sender: No OFD packet to send [17:50:56]OFD Sender: No OFD packet to send [17:51:01]OFD Sender: No OFD packet to send [17:51:06]OFD Sender: No OFD packet to send [17:51:11]OFD Sender: No OFD packet to send [17:51:16]OFD Sender: No OFD packet to send [17:51:21]OFD Sender: No OFD packet to send [17:51:26]OFD Sender: No OFD packet to send [17:51:31]OFD Sender: No OFD packet to send [17:51:36]OFD Sender: No OFD packet to send [17:51:41]OFD Sender: No OFD packet to send [17:51:46]OFD Sender: No OFD packet to send [17:51:51]OFD Sender: No OFD packet to send [17:51:56]OFD Sender: No OFD packet to send [17:52:01]OFD Sender: No OFD packet to send [17:52:06]OFD Sender: No OFD packet to send [17:52:11]OFD Sender: No OFD packet to send [17:52:16]OFD Sender: No OFD packet to send [17:52:21]OFD Sender: No OFD packet to send [17:52:26]OFD Sender: No OFD packet to send [17:52:31]OFD Sender: No OFD packet to send [17:52:36]OFD Sender: No OFD packet to send [17:52:41]OFD Sender: No OFD packet to send [17:52:46]OFD Sender: No OFD packet to send [17:52:51]OFD Sender: No OFD packet to send [17:52:56]OFD Sender: No OFD packet to send [17:53:01]OFD Sender: No OFD packet to send [17:53:06]OFD Sender: No OFD packet to send [17:53:11]OFD Sender: No OFD packet to send [17:53:16]OFD Sender: No OFD packet to send [17:53:21]OFD Sender: No OFD packet to send [17:53:26]OFD Sender: No OFD packet to send [17:53:31]OFD Sender: No OFD packet to send [17:53:36]OFD Sender: No OFD packet to send [17:53:41]OFD Sender: No OFD packet to send [17:53:46]OFD Sender: No OFD packet to send [17:53:51]OFD Sender: No OFD packet to send [17:53:56]OFD Sender: No OFD packet to send [17:54:01]OFD Sender: No OFD packet to send [17:54:06]OFD Sender: No OFD packet to send [17:54:11]OFD Sender: No OFD packet to send [17:54:16]OFD Sender: No OFD packet to send [17:54:21]OFD Sender: No OFD packet to send [17:54:26]OFD Sender: No OFD packet to send [17:54:31]OFD Sender: No OFD packet to send [17:54:36]OFD Sender: No OFD packet to send [17:54:41]OFD Sender: No OFD packet to send [17:54:46]OFD Sender: No OFD packet to send [17:54:51]OFD Sender: No OFD packet to send [17:54:56]OFD Sender: No OFD packet to send [17:55:01]OFD Sender: No OFD packet to send [17:55:06]OFD Sender: No OFD packet to send [17:55:11]OFD Sender: No OFD packet to send [17:55:16]OFD Sender: No OFD packet to send [17:55:21]OFD Sender: No OFD packet to send [17:55:26]OFD Sender: No OFD packet to send [17:55:32]OFD Sender: No OFD packet to send [17:55:37]OFD Sender: No OFD packet to send [17:55:42]OFD Sender: No OFD packet to send [17:55:47]OFD Sender: No OFD packet to send [17:55:52]OFD Sender: No OFD packet to send [17:55:57]OFD Sender: No OFD packet to send [17:56:02]OFD Sender: No OFD packet to send [17:56:07]OFD Sender: No OFD packet to send [17:56:12]OFD Sender: No OFD packet to send [17:56:17]OFD Sender: No OFD packet to send [17:56:22]OFD Sender: No OFD packet to send [17:56:27]OFD Sender: No OFD packet to send [17:56:32]OFD Sender: No OFD packet to send [17:56:37]OFD Sender: No OFD packet to send [17:56:42]OFD Sender: No OFD packet to send [17:56:47]OFD Sender: No OFD packet to send [17:56:52]OFD Sender: No OFD packet to send [17:56:57]OFD Sender: No OFD packet to send [17:57:02]OFD Sender: No OFD packet to send [17:57:07]OFD Sender: No OFD packet to send [17:57:12]OFD Sender: No OFD packet to send [17:57:17]OFD Sender: No OFD packet to send [17:57:22]OFD Sender: No OFD packet to send [17:57:27]OFD Sender: No OFD packet to send [17:57:32]OFD Sender: No OFD packet to send [17:57:37]OFD Sender: No OFD packet to send [17:57:42]OFD Sender: No OFD packet to send [17:57:47]OFD Sender: No OFD packet to send [17:57:52]OFD Sender: No OFD packet to send [17:57:57]OFD Sender: No OFD packet to send [17:58:02]OFD Sender: No OFD packet to send [17:58:07]OFD Sender: No OFD packet to send [17:58:12]OFD Sender: No OFD packet to send [17:58:17]OFD Sender: No OFD packet to send [17:58:22]OFD Sender: No OFD packet to send [17:58:27]OFD Sender: No OFD packet to send [17:58:32]OFD Sender: No OFD packet to send [17:58:37]OFD Sender: No OFD packet to send [17:58:42]OFD Sender: No OFD packet to send [17:58:47]OFD Sender: No OFD packet to send [17:58:52]OFD Sender: No OFD packet to send [17:58:57]OFD Sender: No OFD packet to send [17:59:02]OFD Sender: No OFD packet to send [17:59:07]OFD Sender: No OFD packet to send [17:59:12]OFD Sender: No OFD packet to send [17:59:17]OFD Sender: No OFD packet to send [17:59:22]OFD Sender: No OFD packet to send [17:59:27]OFD Sender: No OFD packet to send [17:59:32]OFD Sender: No OFD packet to send [17:59:37]OFD Sender: No OFD packet to send [17:59:42]OFD Sender: No OFD packet to send [17:59:47]OFD Sender: No OFD packet to send [17:59:52]OFD Sender: No OFD packet to send [17:59:57]OFD Sender: No OFD packet to send [18:00:02]OFD Sender: No OFD packet to send [18:00:07]OFD Sender: No OFD packet to send [18:00:12]OFD Sender: No OFD packet to send [18:00:17]OFD Sender: No OFD packet to send [18:00:22]OFD Sender: No OFD packet to send [18:00:27]OFD Sender: No OFD packet to send [18:00:32]OFD Sender: No OFD packet to send [18:00:37]OFD Sender: No OFD packet to send [18:00:42]OFD Sender: No OFD packet to send [18:00:47]OFD Sender: No OFD packet to send [18:00:52]OFD Sender: No OFD packet to send [18:00:57]OFD Sender: No OFD packet to send [18:01:02]OFD Sender: No OFD packet to send [18:01:07]OFD Sender: No OFD packet to send [18:01:12]OFD Sender: No OFD packet to send [18:01:17]OFD Sender: No OFD packet to send [18:01:22]OFD Sender: No OFD packet to send [18:01:27]OFD Sender: No OFD packet to send [18:01:32]OFD Sender: No OFD packet to send [18:01:37]OFD Sender: No OFD packet to send [18:01:42]OFD Sender: No OFD packet to send [18:01:47]OFD Sender: No OFD packet to send [18:01:52]OFD Sender: No OFD packet to send [18:01:57]OFD Sender: No OFD packet to send [18:02:02]OFD Sender: No OFD packet to send [18:02:07]OFD Sender: No OFD packet to send [18:02:12]OFD Sender: No OFD packet to send [18:02:17]OFD Sender: No OFD packet to send [18:02:22]OFD Sender: No OFD packet to send [18:02:27]OFD Sender: No OFD packet to send [18:02:32]OFD Sender: No OFD packet to send [18:02:37]OFD Sender: No OFD packet to send [18:02:42]OFD Sender: No OFD packet to send [18:02:47]OFD Sender: No OFD packet to send [18:02:52]OFD Sender: No OFD packet to send [18:02:57]OFD Sender: No OFD packet to send [18:03:02]OFD Sender: No OFD packet to send [18:03:07]OFD Sender: No OFD packet to send [18:03:12]OFD Sender: No OFD packet to send [18:03:17]OFD Sender: No OFD packet to send [18:03:22]OFD Sender: No OFD packet to send [18:03:27]OFD Sender: No OFD packet to send [18:03:32]OFD Sender: No OFD packet to send [18:03:37]OFD Sender: No OFD packet to send [18:03:42]OFD Sender: No OFD packet to send [18:03:47]OFD Sender: No OFD packet to send [18:03:52]OFD Sender: No OFD packet to send [18:03:57]OFD Sender: No OFD packet to send [18:04:02]OFD Sender: No OFD packet to send [18:04:07]OFD Sender: No OFD packet to send [18:04:12]OFD Sender: No OFD packet to send [18:04:17]OFD Sender: No OFD packet to send [18:04:22]OFD Sender: No OFD packet to send [18:04:27]OFD Sender: No OFD packet to send [18:04:32]OFD Sender: No OFD packet to send [18:04:37]OFD Sender: No OFD packet to send [18:04:42]OFD Sender: No OFD packet to send [18:04:47]OFD Sender: No OFD packet to send [18:04:52]OFD Sender: No OFD packet to send [18:04:57]OFD Sender: No OFD packet to send [18:05:02]OFD Sender: No OFD packet to send [18:05:07]OFD Sender: No OFD packet to send [18:05:12]OFD Sender: No OFD packet to send [18:05:17]OFD Sender: No OFD packet to send [18:05:22]OFD Sender: No OFD packet to send [18:05:27]OFD Sender: No OFD packet to send [18:05:32]OFD Sender: No OFD packet to send [18:05:37]OFD Sender: No OFD packet to send [18:05:42]OFD Sender: No OFD packet to send [18:05:47]OFD Sender: No OFD packet to send [18:05:52]OFD Sender: No OFD packet to send [18:05:57]OFD Sender: No OFD packet to send [18:06:02]OFD Sender: No OFD packet to send [18:06:07]OFD Sender: No OFD packet to send [18:06:12]OFD Sender: No OFD packet to send [18:06:17]OFD Sender: No OFD packet to send [18:06:22]OFD Sender: No OFD packet to send [18:06:27]OFD Sender: No OFD packet to send [18:06:32]OFD Sender: No OFD packet to send [18:06:37]OFD Sender: No OFD packet to send [18:06:42]OFD Sender: No OFD packet to send [18:06:47]OFD Sender: No OFD packet to send [18:06:52]OFD Sender: No OFD packet to send [18:06:57]OFD Sender: No OFD packet to send [18:07:02]OFD Sender: No OFD packet to send [18:07:07]OFD Sender: No OFD packet to send [18:07:12]OFD Sender: No OFD packet to send [18:07:17]OFD Sender: No OFD packet to send [18:07:22]OFD Sender: No OFD packet to send [18:07:27]OFD Sender: No OFD packet to send [18:07:32]OFD Sender: No OFD packet to send [18:07:37]OFD Sender: No OFD packet to send [18:07:42]OFD Sender: No OFD packet to send [18:07:47]OFD Sender: No OFD packet to send [18:07:52]OFD Sender: No OFD packet to send [18:07:57]OFD Sender: No OFD packet to send [18:08:02]OFD Sender: No OFD packet to send [18:08:07]OFD Sender: No OFD packet to send [18:08:12]OFD Sender: No OFD packet to send [18:08:17]OFD Sender: No OFD packet to send [18:08:22]OFD Sender: No OFD packet to send [18:08:27]OFD Sender: No OFD packet to send [18:08:32]OFD Sender: No OFD packet to send [18:08:37]OFD Sender: No OFD packet to send [18:08:42]OFD Sender: No OFD packet to send [18:08:47]OFD Sender: No OFD packet to send [18:08:52]OFD Sender: No OFD packet to send [18:08:57]OFD Sender: No OFD packet to send [18:09:02]OFD Sender: No OFD packet to send [18:09:07]OFD Sender: No OFD packet to send [18:09:12]OFD Sender: No OFD packet to send [18:09:17]OFD Sender: No OFD packet to send [18:09:22]OFD Sender: No OFD packet to send [18:09:27]OFD Sender: No OFD packet to send [18:09:32]OFD Sender: No OFD packet to send [18:09:37]OFD Sender: No OFD packet to send [18:09:42]OFD Sender: No OFD packet to send [18:09:47]OFD Sender: No OFD packet to send [18:09:48]accept exits with 9 [18:09:48]New connection [18:09:48]New thread 3066596708 created [18:09:48]Thread 3066453348 joined [18:09:48]Waiting for new connection... [18:09:48] Sock 9.Parse request [18:09:48]Sock 9.Check first char [18:09:48]Sock 9.First char is OK [18:09:48]request: POST /json_proto HTTP/1.0 [18:09:48]Method: POST [18:09:48]URL: /json_proto [18:09:48]Method is POST - this is cgi request [18:09:48]url: /json_proto [18:09:48]query_string will be loaded in cgi processing [18:09:48]execute_cgi json_proto POST (null) [18:09:48]execute_cgi path=json_proto method=POST [18:09:48]POST find Content-Length [18:09:48]Host: 172.17.32.68:8080 [18:09:48]Content-Length: 699 [18:09:48]Content-Type: application/json [18:09:48] [18:09:48]POST finish read [18:09:48]Found Content-Length = 699 [18:09:48]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242273", "tax_sys" : 0, "items" : [ { "code": "4700001501815", "name": "\u041C\u043E\u0440\u043E\u0436\u0435\u043D\u043E\u0435 \u0411\u043E\u043C\u0431\u0430 \u0424\u0430\u0440\u0430\u043E\u043D\u0430 100\u0433\u0440", "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" ] } } [18:09:48]execute_script... [18:09: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)242273", "tax_sys" : 0, "items" : [ { "code": "4700001501815", "name": "\u041C\u043E\u0440\u043E\u0436\u0435\u043D\u043E\u0435 \u0411\u043E\u043C\u0431\u0430 \u0424\u0430\u0440\u0430\u043E\u043D\u0430 100\u0433\u0440", "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" ] } } [18:09:48]POST & json_proto [18:09:48]process_json_proto [18:09:48]json parsed OK: [18:09:48]protocol is kg_v1.0 [18:09:48]action value=close_receipt [18:09:48]process_action close_receipt [18:09:48]cmd_close_receipt [18:09:48]MH_GetDate [18:09:48]Write to MH i2c: F0 00 00 2D 56 72 [18:09:48]Write i2c OK [18:09:48]MH_I2C_Read... [18:09:48]Read from MH i2c: F0 [18:09:48]MH_I2C_Read... [18:09:48]Read from MH i2c: F0 09 00 [18:09:48]MH_I2C_Read... [18:09:48]Read from MH i2c: F0 09 00 2D 56 00 7D 9A F0 65 0A 64 6E 65 28 [18:09:48]GetLastDocTimeStamp 1710264209 [18:09:48]current date 1710267005 [18:09:48]FM_GetShiftState [18:09:48]SAM_PROTO_GetShiftState [18:09:48]wFMCommunicate request_size=4 [18:09:48]MH_SAM_APDU [18:09:48]CAPDU: 80 13 01 00 [18:09:48]Write to MH i2c: E2 08 00 2E 56 80 13 01 00 00 00 00 00 01 [18:09:48]Write i2c OK [18:09:48]MH_I2C_Read... [18:09:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:09:48]Read from MH i2c: E2 [18:09:48]MH_I2C_Read... [18:09:48]Read from MH i2c: E2 0E 00 [18:09:48]MH_I2C_Read... [18:09:48]Read from MH i2c: E2 0E 00 2E 56 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 30 [18:09:48]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [18:09:48]wFMCommunicate OK [18:09:48]SAM_PROTO_GetShiftState done [18:09:48]FM_GetShiftState done [18:09:48]opened in 1710202417 [18:09:48]opened+sec_in_day 1710288817 [18:09:48]quantity*price = 5000 [18:09:48]sum+1 = 5001 [18:09:48]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 50.00 НСП 1% : 0.44 НДС 12% : 5.31 Наличными: 50.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 37 12.03.2024 18:10 Смена: 314 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47359 ФПД: 168951261732019 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T181005&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47359&fm=168951261732019&tin=02508201610067®Number=0000000000092018&sum=5000 0 [18:09:49]StoreToDocumentArchive [18:09:49]shift 314 fd 47359 [18:09:49]save to /storage/0314/doc_00047359 [18:09:49]save last doc name /storage/0314/doc_00047359 to /storage/kkm_last_doc_name [18:09:49]save OK [18:09:49]Clear old archive folders... [18:09:49]ProcessDocumentItem done err = 0, tmpTLVsize=294 [18:09:49]tlvbuf is B6E51090 [18:09:49]SAM_PROTO_ClearQueue [18:09:49]wFMCommunicate request_size=4 [18:09:49]MH_SAM_APDU [18:09:49]CAPDU: 80 09 00 00 [18:09:49]Write to MH i2c: E2 08 00 3B 56 80 09 00 00 00 00 00 00 03 [18:09:49]Write i2c OK [18:09:49]MH_I2C_Read... [18:09:49]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:09:49]Read from MH i2c: E2 [18:09:49]MH_I2C_Read... [18:09:49]Read from MH i2c: E2 03 00 [18:09:49]MH_I2C_Read... [18:09:49]Read from MH i2c: E2 03 00 3B 56 00 90 00 05 [18:09:49]RAPDU: 90 00 [18:09:49]wFMCommunicate OK [18:09:49]SAM_PROTO_ClearQueue done [18:09:49]KKMCreateOFDPacket [18:09:49]OFDProtocolAddRootSTLVToBuf [18:09:49]FM_MakeSignedData [18:09:49]FM_MakeSignedData [18:09:49]SAM_PROTO_SignData [18:09:49]wFMCommunicate request_size=4 [18:09:49]MH_SAM_APDU [18:09:49]CAPDU: 80 0D 01 02 [18:09:49]Write to MH i2c: E2 08 00 3C 56 80 0D 01 02 00 00 00 00 0B [18:09:49]Write i2c OK [18:09:49]MH_I2C_Read... [18:09:49]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:09:49]Read from MH i2c: E2 [18:09:49]MH_I2C_Read... [18:09:49]Read from MH i2c: E2 03 00 [18:09:49]MH_I2C_Read... [18:09:49]Read from MH i2c: E2 03 00 3C 56 00 90 00 06 [18:09:49]RAPDU: 90 00 [18:09:49]wFMCommunicate OK [18:09:49]wFMCommunicate request_size=255 [18:09:49]MH_SAM_APDU [18:09:49]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 31 35 30 31 38 31 35 06 04 34 00 D0 9C D0 BE D1 80 D0 BE D0 B6 D0 B5 D0 BD D0 BE D0 B5 20 D0 91 D0 BE D0 BC D0 B1 D0 B0 20 D0 A4 D0 B0 D1 80 D0 B0 D0 BE D0 BD D0 B0 20 31 30 30 D0 B3 D1 80 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 25 00 00 00 F4 03 04 00 7D 9A F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 [18:09:49]Write to MH i2c: E2 02 01 3D 56 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 31 35 30 31 38 31 35 06 04 34 00 D0 9C D0 BE D1 80 D0 BE D0 B6 D0 B5 D0 BD D0 BE D0 B5 20 D0 91 D0 BE D0 BC D0 B1 D0 B0 20 D0 A4 D0 B0 D1 80 D0 B0 D0 BE D0 BD D0 B0 20 31 30 30 D0 B3 D1 80 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 25 00 00 00 F4 03 04 00 7D 9A F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 00 00 AD [18:09:49]Write i2c OK [18:09:49]MH_I2C_Read... [18:09:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:09:50]Read from MH i2c: E2 [18:09:50]MH_I2C_Read... [18:09:50]Read from MH i2c: E2 03 00 [18:09:50]MH_I2C_Read... [18:09:50]Read from MH i2c: E2 03 00 3D 56 00 90 00 07 [18:09:50]RAPDU: 90 00 [18:09:50]wFMCommunicate OK [18:09:50]wFMCommunicate request_size=53 [18:09:50]MH_SAM_APDU [18:09:50]CAPDU: 80 0D 02 02 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 FF B8 00 00 35 04 06 00 99 A9 07 F0 9C B3 [18:09:50]Write to MH i2c: E2 38 00 3E 56 80 0D 02 02 30 00 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 FF B8 00 00 35 04 06 00 99 A9 07 F0 9C B3 00 00 3C [18:09:50]Write i2c OK [18:09:50]MH_I2C_Read... [18:09:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:09:50]Read from MH i2c: E2 [18:09:50]MH_I2C_Read... [18:09:50]Read from MH i2c: E2 03 00 [18:09:50]MH_I2C_Read... [18:09:50]Read from MH i2c: E2 03 00 3E 56 00 90 00 08 [18:09:50]RAPDU: 90 00 [18:09:50]wFMCommunicate OK [18:09:50]wFMCommunicate request_size=4 [18:09:50]MH_SAM_APDU [18:09:50]CAPDU: 80 0D 03 02 [18:09:50]Write to MH i2c: E2 08 00 3F 56 80 0D 03 02 00 00 00 00 10 [18:09:50]Write i2c OK [18:09:50]MH_I2C_Read... [18:09:50]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:09:50]Read from MH i2c: E2 [18:09:50]MH_I2C_Read... [18:09:50]Read from MH i2c: E2 0B 00 [18:09:50]MH_I2C_Read... [18:09:50]Read from MH i2c: E2 0B 00 3F 56 00 92 A5 08 2A F3 32 B9 14 90 00 6C [18:09:50]RAPDU: 92 A5 08 2A F3 32 B9 14 90 00 [18:09:50]wFMCommunicate OK [18:09:50]SAM_PROTO_SignData done [18:09:50]FM_MakeSignedData done [18:09:50]CreateOFDProtocolMessage [18:09:50]wFMCommunicate request_size=4 [18:09:50]MH_SAM_APDU [18:09:50]CAPDU: 80 11 00 00 [18:09:50]Write to MH i2c: E2 08 00 40 56 80 11 00 00 00 00 00 00 10 [18:09:50]Write i2c OK [18:09:50]MH_I2C_Read... [18:09:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:09:50]Read from MH i2c: E2 [18:09:50]MH_I2C_Read... [18:09:50]Read from MH i2c: E2 17 00 [18:09:50]MH_I2C_Read... [18:09:50]Read from MH i2c: E2 17 00 40 56 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 62 [18:09:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [18:09:50]wFMCommunicate OK [18:09:50]CreateOFDProtocolMessage done [18:09:50]OFDSenderStorePacket 47359 [18:09:50]StoreOFDPacket docnum=47359 [18:09:50]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 3A 01 00 00 0A 46 32 01 46 CE 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 31 35 30 31 38 31 35 06 04 34 00 D0 9C D0 BE D1 80 D0 BE D0 B6 D0 B5 D0 BD D0 BE D0 B5 20 D0 91 D0 BE D0 BC D0 B1 D0 B0 20 D0 A4 D0 B0 D1 80 D0 B0 D0 BE D0 BD D0 B0 20 31 30 30 D0 B3 D1 80 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 25 00 00 00 F4 03 04 00 7D 9A F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 FF B8 00 00 35 04 06 00 99 A9 07 F0 9C B3 92 A5 08 2A F3 32 B9 14 [18:09:50]CheckFolder [18:09:50]dirname=/storage/ofd_packets [18:09:50]CheckFolder done [18:09:50]ProducePacketName [18:09:50]name=ofd_packets/00047359 [18:09:50]NVStorageSaveData ofd_packets/00047359 [18:09:50]File name is /storage/ofd_packets/00047359 [18:09:50]Write 344 bytes [18:09:50]NVStorageSaveData done [18:09:50]OFDSenderStorePacket done [18:09:50]KKMCreateOFDPacket done [18:09:50]NVStorageSaveData kkm_last_timestamp [18:09:50]File name is /storage/kkm_last_timestamp [18:09:50]Write 4 bytes [18:09:50]NVStorageSaveData done [18:09:50]ExternCall_PrintAddStr [18:09:50]wPrintStart [18:09:50]Write to MH i2c: 01 00 00 41 56 97 [18:09:50]Write i2c OK [18:09:50]MH_I2C_Read... [18:09:50]Read from MH i2c: 01 [18:09:50]MH_I2C_Read... [18:09:50]Read from MH i2c: 01 07 00 [18:09:50]MH_I2C_Read... [18:09:50]Read from MH i2c: 01 07 00 41 56 00 00 00 00 00 FF 0F AC [18:09:50]RasterBufferAndPrint [18:09:50]line Счет N : (3)242273 [18:09:50]line ИНН: 02508201610067 [18:09:50]line Контрольно-Кассовый Чек [18:09:50]line ПРОДАЖА [18:09:50]line Товар: 4700001501815 [18:09:50]line Мороженое Бомба Фараона 100гр [18:09:50]line 1.000 * 50.00 [18:09:50]line = 50.00 [18:09:50]line НДС 12% НСП 1% [18:09:50]line > о реализуемом товаре [18:09:50]line ИТОГО: 50.00 [18:09:50]line НСП 1% : 0.44 [18:09:50]line НДС 12% : 5.31 [18:09:50]line Наличными: 50.00 [18:09:50]line Безнал.: 0.00 [18:09:50]line Место: АЗС № 15 "Партнер Нефть" [18:09:50]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [18:09:50]line СНО: Общий режим [18:09:50]line Чек 37 12.03.2024 18:10 [18:09:50]line Смена: 314 ФФД: 1.0 [18:09:50]line ЗНМ: 0300000097 [18:09:50]line РНМ: 0000000000092018 [18:09:50]line Версия ККМ: 001 [18:09:50]line ФМ: 0000000000871816 [18:09:50]line ФД: 47359 [18:09:50]line ФПД: 168951261732019 [18:09:50]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T181005&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47359&fm=168951261732019&tin=02508201610067®Number=0000000000092018&sum=5000 [18:09:50]line 0 [18:09:50]OFD Sender: Processing packet 47359 [packets to send 8, broken 7] [18:09:50]ProducePacketName [18:09:50]name=ofd_packets/00047359 [18:09:50]OFD Sender: To server: pG, [18:09:50]CommunicateWithHost lk.salyk.kg:30040 [18:09:50]ConnectInit lk.salyk.kg [18:09:50]written 0, free lines is 4095 [18:09:50]Connected sock=10 [18:09:50]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 31 36 3A 01 00 00 0A 46 32 01 46 CE 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 31 35 30 31 38 31 35 06 04 34 00 D0 9C D0 BE D1 80 D0 BE D0 B6 D0 B5 D0 BD D0 BE D0 B5 20 D0 91 D0 BE D0 BC D0 B1 D0 B0 20 D0 A4 D0 B0 D1 80 D0 B0 D0 BE D0 BD D0 B0 20 31 30 30 D0 B3 D1 80 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 25 00 00 00 F4 03 04 00 7D 9A F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 FF B8 00 00 35 04 06 00 99 A9 07 F0 9C B3 92 A5 08 2A F3 32 B9 14 [18:09:50]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 E9 36 47 00 F0 E7 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 FF B8 00 00 F4 03 04 00 0E 45 F0 65 B6 04 01 00 00 3B 24 D4 ED 09 42 6A 3A [18:09:50]CommunicateWithHost err = 0 [18:09:50]CheckOFDResponse [18:09:50]1017 (14) - 77093643461234 [18:09:50]1041 (16) - 0000000000871816 [18:09:50]1040 (4) - 47359 [18:09:50]1012 (4) - 12.03.2024 12:05 [18:09:50]1206 (1) - 0 [18:09:50]OFD Sender: Remove packet 47359 [18:09:50]ProducePacketName [18:09:50]name=ofd_packets/00047359 [18:09:50]NVStorageDeleteData [18:09:51]Write to MH i2c: 01 00 00 6A 56 C0 [18:09:51]Write i2c OK [18:09:51]MH_I2C_Read... [18:09:51]Read from MH i2c: 01 [18:09:51]MH_I2C_Read... [18:09:51]Read from MH i2c: 01 07 00 [18:09:51]MH_I2C_Read... [18:09:51]Read from MH i2c: 01 07 00 6A 56 00 00 00 00 00 C6 0C 99 [18:09:51]RasterBufferAndPrint [18:09:51]line [18:09:51]line [18:09:51]line [18:09:51]line [18:09:51]line [18:09:51]written 0, free lines is 3274 [18:09:51]MH_Cut [18:09:51]Write to MH i2c: D1 01 00 71 56 01 99 [18:09:51]Write i2c OK [18:09:51]MH_I2C_Read... [18:09:51]Read from MH i2c: D1 [18:09:51]MH_I2C_Read... [18:09:51]Read from MH i2c: D1 01 00 [18:09:51]MH_I2C_Read... [18:09:51]Read from MH i2c: D1 01 00 71 56 00 98 [18:09:51]Write to MH i2c: 01 00 00 72 56 C8 [18:09:51]Write i2c OK [18:09:51]MH_I2C_Read... [18:09:51]OFD Sender: No OFD packet to send [18:09:51]*** Cut start [18:09:51]*** Purtial cut [18:09:51]*** Stage 1: CUTSNS_PIN = 1 [18:09:52]Read from MH i2c: 01 [18:09:52]MH_I2C_Read... [18:09:52]*** Stop cut motor [18:09:52]*** Cut end [18:09:52]Read from MH i2c: 01 07 00 [18:09:52]MH_I2C_Read... [18:09:52]Read from MH i2c: 01 07 00 72 56 00 00 00 00 00 FF 0F DD [18:09:52]process_action close_receipt done [18:09:52]requested_data is exist [18:09:52]produce_requested_data [18:09:52]requested_item fm.sn is exist - process it [18:09:52]wFMCommunicate request_size=4 [18:09:52]MH_SAM_APDU [18:09:52]CAPDU: 80 11 00 00 [18:09:52]Write to MH i2c: E2 08 00 73 56 80 11 00 00 00 00 00 00 43 [18:09:52]Write i2c OK [18:09:52]MH_I2C_Read... [18:09:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:09:52]Read from MH i2c: E2 [18:09:52]MH_I2C_Read... [18:09:52]Read from MH i2c: E2 17 00 [18:09:52]MH_I2C_Read... [18:09:52]Read from MH i2c: E2 17 00 73 56 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 95 [18:09:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [18:09:52]wFMCommunicate OK [18:09:52]requested_item fd.num is exist - process it [18:09:52]SAM_PROTO_GetFieldsCounters [18:09:52]wFMCommunicate request_size=4 [18:09:52]MH_SAM_APDU [18:09:52]CAPDU: 80 13 00 00 [18:09:52]Write to MH i2c: E2 08 00 74 56 80 13 00 00 00 00 00 00 46 [18:09:52]Write i2c OK [18:09:52]MH_I2C_Read... [18:09:52]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:09:52]Read from MH i2c: E2 [18:09:52]MH_I2C_Read... [18:09:52]Read from MH i2c: E2 62 00 [18:09:52]MH_I2C_Read... [18:09:52]Read from MH i2c: E2 62 00 74 56 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 FF B8 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 25 00 00 00 5E 04 04 00 25 00 00 00 57 04 04 00 26 00 00 00 19 04 04 00 00 00 00 00 90 00 C2 [18:09: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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 FF B8 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 25 00 00 00 5E 04 04 00 25 00 00 00 57 04 04 00 26 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:09:52]wFMCommunicate OK [18:09:52]SAM_PROTO_GetFieldsCounters done [18:09:52]requested_item shift.num is exist - process it [18:09:52]requested_item shift.opened is exist - process it [18:09:52]req_shift_opened [18:09:52]FM_GetShiftState [18:09:52]SAM_PROTO_GetShiftState [18:09:52]wFMCommunicate request_size=4 [18:09:52]MH_SAM_APDU [18:09:52]CAPDU: 80 13 01 00 [18:09:52]Write to MH i2c: E2 08 00 75 56 80 13 01 00 00 00 00 00 48 [18:09:52]Write i2c OK [18:09:52]MH_I2C_Read... [18:09:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:09:52]Read from MH i2c: E2 [18:09:52]MH_I2C_Read... [18:09:52]Read from MH i2c: E2 0E 00 [18:09:52]MH_I2C_Read... [18:09:52]Read from MH i2c: E2 0E 00 75 56 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 77 [18:09:52]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [18:09:52]wFMCommunicate OK [18:09:52]SAM_PROTO_GetShiftState done [18:09:52]FM_GetShiftState done [18:09:52]req_shift_opened done [18:09:52]requested_item shift.open_date is exist - process it [18:09:52]req_shift_open_date [18:09:52]req_shift_open_date done [18:09:52]produce_requested_data done [18:09:52]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47359,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [18:09:52]process_action_free close_receipt [18:09:52]json_value_free [18:09:52]json_value_free done [18:09:52]process_json_proto returns [18:09:52]Send response to host [18:09:52]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47359,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [18:09:52]free response buf [18:09:52]execute_script done [18:09:52]execute_script returns [18:09:52]free content buf [18:09:52]Sock 9.Close socket [18:09:52]Sock 9.Thread stoped [18:09:56]OFD Sender: No OFD packet to send [18:10:01]OFD Sender: No OFD packet to send [18:10:06]OFD Sender: No OFD packet to send [18:10:11]OFD Sender: No OFD packet to send [18:10:16]OFD Sender: No OFD packet to send [18:10:21]OFD Sender: No OFD packet to send [18:10:26]OFD Sender: No OFD packet to send [18:10:31]OFD Sender: No OFD packet to send [18:10:36]OFD Sender: No OFD packet to send [18:10:41]OFD Sender: No OFD packet to send [18:10:46]OFD Sender: No OFD packet to send [18:10:51]OFD Sender: No OFD packet to send [18:10:56]OFD Sender: No OFD packet to send [18:11:01]OFD Sender: No OFD packet to send [18:11:06]OFD Sender: No OFD packet to send [18:11:11]OFD Sender: No OFD packet to send [18:11:16]OFD Sender: No OFD packet to send [18:11:21]OFD Sender: No OFD packet to send [18:11:26]OFD Sender: No OFD packet to send [18:11:31]OFD Sender: No OFD packet to send [18:11:36]OFD Sender: No OFD packet to send [18:11:41]OFD Sender: No OFD packet to send [18:11:46]OFD Sender: No OFD packet to send [18:11:51]OFD Sender: No OFD packet to send [18:11:56]OFD Sender: No OFD packet to send [18:12:01]OFD Sender: No OFD packet to send [18:12:06]OFD Sender: No OFD packet to send [18:12:11]OFD Sender: No OFD packet to send [18:12:16]OFD Sender: No OFD packet to send [18:12:21]OFD Sender: No OFD packet to send [18:12:26]OFD Sender: No OFD packet to send [18:12:31]OFD Sender: No OFD packet to send [18:12:36]OFD Sender: No OFD packet to send [18:12:41]OFD Sender: No OFD packet to send [18:12:46]OFD Sender: No OFD packet to send [18:12:51]OFD Sender: No OFD packet to send [18:12:56]OFD Sender: No OFD packet to send [18:13:01]OFD Sender: No OFD packet to send [18:13:06]OFD Sender: No OFD packet to send [18:13:11]OFD Sender: No OFD packet to send [18:13:16]OFD Sender: No OFD packet to send [18:13:21]OFD Sender: No OFD packet to send [18:13:26]OFD Sender: No OFD packet to send [18:13:31]OFD Sender: No OFD packet to send [18:13:36]OFD Sender: No OFD packet to send [18:13:41]OFD Sender: No OFD packet to send [18:13:46]OFD Sender: No OFD packet to send [18:13:51]OFD Sender: No OFD packet to send [18:13:56]OFD Sender: No OFD packet to send [18:14:01]OFD Sender: No OFD packet to send [18:14:06]OFD Sender: No OFD packet to send [18:14:11]OFD Sender: No OFD packet to send [18:14:16]OFD Sender: No OFD packet to send [18:14:21]OFD Sender: No OFD packet to send [18:14:26]OFD Sender: No OFD packet to send [18:14:31]OFD Sender: No OFD packet to send [18:14:36]OFD Sender: No OFD packet to send [18:14:41]OFD Sender: No OFD packet to send [18:14:46]OFD Sender: No OFD packet to send [18:14:51]OFD Sender: No OFD packet to send [18:14:56]OFD Sender: No OFD packet to send [18:15:01]OFD Sender: No OFD packet to send [18:15:06]OFD Sender: No OFD packet to send [18:15:11]OFD Sender: No OFD packet to send [18:15:16]OFD Sender: No OFD packet to send [18:15:21]OFD Sender: No OFD packet to send [18:15:26]OFD Sender: No OFD packet to send [18:15:31]OFD Sender: No OFD packet to send [18:15:36]OFD Sender: No OFD packet to send [18:15:41]OFD Sender: No OFD packet to send [18:15:46]OFD Sender: No OFD packet to send [18:15:51]OFD Sender: No OFD packet to send [18:15:56]OFD Sender: No OFD packet to send [18:16:01]OFD Sender: No OFD packet to send [18:16:06]OFD Sender: No OFD packet to send [18:16:11]OFD Sender: No OFD packet to send [18:16:16]OFD Sender: No OFD packet to send [18:16:21]OFD Sender: No OFD packet to send [18:16:26]OFD Sender: No OFD packet to send [18:16:31]OFD Sender: No OFD packet to send [18:16:36]OFD Sender: No OFD packet to send [18:16:41]OFD Sender: No OFD packet to send [18:16:46]OFD Sender: No OFD packet to send [18:16:51]OFD Sender: No OFD packet to send [18:16:56]OFD Sender: No OFD packet to send [18:17:01]OFD Sender: No OFD packet to send [18:17:06]OFD Sender: No OFD packet to send [18:17:11]OFD Sender: No OFD packet to send [18:17:16]OFD Sender: No OFD packet to send [18:17:21]OFD Sender: No OFD packet to send [18:17:26]OFD Sender: No OFD packet to send [18:17:31]OFD Sender: No OFD packet to send [18:17:36]OFD Sender: No OFD packet to send [18:17:41]OFD Sender: No OFD packet to send [18:17:46]OFD Sender: No OFD packet to send [18:17:51]OFD Sender: No OFD packet to send [18:17:56]OFD Sender: No OFD packet to send [18:18:01]OFD Sender: No OFD packet to send [18:18:06]OFD Sender: No OFD packet to send [18:18:11]OFD Sender: No OFD packet to send [18:18:16]OFD Sender: No OFD packet to send [18:18:21]OFD Sender: No OFD packet to send [18:18:26]OFD Sender: No OFD packet to send [18:18:31]OFD Sender: No OFD packet to send [18:18:36]OFD Sender: No OFD packet to send [18:18:41]OFD Sender: No OFD packet to send [18:18:46]OFD Sender: No OFD packet to send [18:18:51]OFD Sender: No OFD packet to send [18:18:56]OFD Sender: No OFD packet to send [18:19:01]OFD Sender: No OFD packet to send [18:19:06]OFD Sender: No OFD packet to send [18:19:11]OFD Sender: No OFD packet to send [18:19:16]OFD Sender: No OFD packet to send [18:19:21]OFD Sender: No OFD packet to send [18:19:26]OFD Sender: No OFD packet to send [18:19:31]OFD Sender: No OFD packet to send [18:19:36]OFD Sender: No OFD packet to send [18:19:41]OFD Sender: No OFD packet to send [18:19:46]OFD Sender: No OFD packet to send [18:19:51]OFD Sender: No OFD packet to send [18:19:56]OFD Sender: No OFD packet to send [18:20:01]OFD Sender: No OFD packet to send [18:20:06]OFD Sender: No OFD packet to send [18:20:11]OFD Sender: No OFD packet to send [18:20:16]OFD Sender: No OFD packet to send [18:20:21]OFD Sender: No OFD packet to send [18:20:26]OFD Sender: No OFD packet to send [18:20:31]OFD Sender: No OFD packet to send [18:20:36]OFD Sender: No OFD packet to send [18:20:41]OFD Sender: No OFD packet to send [18:20:46]OFD Sender: No OFD packet to send [18:20:51]OFD Sender: No OFD packet to send [18:20:56]OFD Sender: No OFD packet to send [18:21:01]OFD Sender: No OFD packet to send [18:21:06]OFD Sender: No OFD packet to send [18:21:11]OFD Sender: No OFD packet to send [18:21:16]OFD Sender: No OFD packet to send [18:21:21]OFD Sender: No OFD packet to send [18:21:26]OFD Sender: No OFD packet to send [18:21:31]OFD Sender: No OFD packet to send [18:21:36]OFD Sender: No OFD packet to send [18:21:41]OFD Sender: No OFD packet to send [18:21:46]OFD Sender: No OFD packet to send [18:21:51]OFD Sender: No OFD packet to send [18:21:56]OFD Sender: No OFD packet to send [18:22:02]OFD Sender: No OFD packet to send [18:22:07]OFD Sender: No OFD packet to send [18:22:12]OFD Sender: No OFD packet to send [18:22:17]OFD Sender: No OFD packet to send [18:22:22]OFD Sender: No OFD packet to send [18:22:27]OFD Sender: No OFD packet to send [18:22:32]OFD Sender: No OFD packet to send [18:22:37]OFD Sender: No OFD packet to send [18:22:42]OFD Sender: No OFD packet to send [18:22:47]OFD Sender: No OFD packet to send [18:22:52]OFD Sender: No OFD packet to send [18:22:57]OFD Sender: No OFD packet to send [18:23:02]OFD Sender: No OFD packet to send [18:23:07]OFD Sender: No OFD packet to send [18:23:12]OFD Sender: No OFD packet to send [18:23:17]OFD Sender: No OFD packet to send [18:23:22]OFD Sender: No OFD packet to send [18:23:27]OFD Sender: No OFD packet to send [18:23:32]OFD Sender: No OFD packet to send [18:23:37]OFD Sender: No OFD packet to send [18:23:42]OFD Sender: No OFD packet to send [18:23:47]OFD Sender: No OFD packet to send [18:23:52]OFD Sender: No OFD packet to send [18:23:57]OFD Sender: No OFD packet to send [18:24:02]OFD Sender: No OFD packet to send [18:24:07]OFD Sender: No OFD packet to send [18:24:12]OFD Sender: No OFD packet to send [18:24:17]OFD Sender: No OFD packet to send [18:24:22]OFD Sender: No OFD packet to send [18:24:27]OFD Sender: No OFD packet to send [18:24:32]OFD Sender: No OFD packet to send [18:24:37]OFD Sender: No OFD packet to send [18:24:42]OFD Sender: No OFD packet to send [18:24:47]OFD Sender: No OFD packet to send [18:24:52]OFD Sender: No OFD packet to send [18:24:57]OFD Sender: No OFD packet to send [18:25:02]OFD Sender: No OFD packet to send [18:25:07]OFD Sender: No OFD packet to send [18:25:12]OFD Sender: No OFD packet to send [18:25:17]OFD Sender: No OFD packet to send [18:25:22]OFD Sender: No OFD packet to send [18:25:27]OFD Sender: No OFD packet to send [18:25:32]OFD Sender: No OFD packet to send [18:25:37]OFD Sender: No OFD packet to send [18:25:42]OFD Sender: No OFD packet to send [18:25:47]OFD Sender: No OFD packet to send [18:25:52]OFD Sender: No OFD packet to send [18:25:57]OFD Sender: No OFD packet to send [18:26:02]OFD Sender: No OFD packet to send [18:26:07]OFD Sender: No OFD packet to send [18:26:12]OFD Sender: No OFD packet to send [18:26:17]OFD Sender: No OFD packet to send [18:26:22]OFD Sender: No OFD packet to send [18:26:27]OFD Sender: No OFD packet to send [18:26:32]OFD Sender: No OFD packet to send [18:26:37]OFD Sender: No OFD packet to send [18:26:42]OFD Sender: No OFD packet to send [18:26:47]OFD Sender: No OFD packet to send [18:26:52]OFD Sender: No OFD packet to send [18:26:57]OFD Sender: No OFD packet to send [18:27:02]OFD Sender: No OFD packet to send [18:27:03]accept exits with 7 [18:27:03]New connection [18:27:03]New thread 3066453348 created [18:27:03]Thread 3066596708 joined [18:27:03]Waiting for new connection... [18:27:03] Sock 7.Parse request [18:27:03]Sock 7.Check first char [18:27:03]Sock 7.First char is OK [18:27:03]request: POST /json_proto HTTP/1.0 [18:27:03]Method: POST [18:27:03]URL: /json_proto [18:27:03]Method is POST - this is cgi request [18:27:03]url: /json_proto [18:27:03]query_string will be loaded in cgi processing [18:27:03]execute_cgi json_proto POST (null) [18:27:03]execute_cgi path=json_proto method=POST [18:27:03]POST find Content-Length [18:27:03]Host: 172.17.32.68:8080 [18:27:03]Content-Length: 632 [18:27:03]Content-Type: application/json [18:27:03] [18:27:03]POST finish read [18:27:03]Found Content-Length = 632 [18:27:03]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242274", "tax_sys" : 0, "items" : [ { "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 40.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:27:03]execute_script... [18:27: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)242274", "tax_sys" : 0, "items" : [ { "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 40.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:27:03]POST & json_proto [18:27:03]process_json_proto [18:27:03]json parsed OK: [18:27:03]protocol is kg_v1.0 [18:27:03]action value=close_receipt [18:27:03]process_action close_receipt [18:27:03]cmd_close_receipt [18:27:03]MH_GetDate [18:27:03]Write to MH i2c: F0 00 00 76 56 BB [18:27:03]Write i2c OK [18:27:03]MH_I2C_Read... [18:27:03]Read from MH i2c: F0 [18:27:03]MH_I2C_Read... [18:27:03]Read from MH i2c: F0 09 00 [18:27:03]MH_I2C_Read... [18:27:03]Read from MH i2c: F0 09 00 76 56 00 88 9E F0 65 0A 64 6E 65 80 [18:27:03]GetLastDocTimeStamp 1710267005 [18:27:03]current date 1710268040 [18:27:03]FM_GetShiftState [18:27:03]SAM_PROTO_GetShiftState [18:27:03]wFMCommunicate request_size=4 [18:27:03]MH_SAM_APDU [18:27:03]CAPDU: 80 13 01 00 [18:27:03]Write to MH i2c: E2 08 00 77 56 80 13 01 00 00 00 00 00 4A [18:27:03]Write i2c OK [18:27:03]MH_I2C_Read... [18:27:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:27:03]Read from MH i2c: E2 [18:27:03]MH_I2C_Read... [18:27:03]Read from MH i2c: E2 0E 00 [18:27:03]MH_I2C_Read... [18:27:03]Read from MH i2c: E2 0E 00 77 56 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 79 [18:27:03]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [18:27:03]wFMCommunicate OK [18:27:03]SAM_PROTO_GetShiftState done [18:27:03]FM_GetShiftState done [18:27:03]opened in 1710202417 [18:27:03]opened+sec_in_day 1710288817 [18:27:03]quantity*price = 4000 [18:27:03]sum+1 = 4001 [18:27:03]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 40.00 НСП 1% : 0.35 НДС 12% : 4.25 Наличными: 40.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 38 12.03.2024 18:27 Смена: 314 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47360 ФПД: 183986119417424 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T182720&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47360&fm=183986119417424&tin=02508201610067®Number=0000000000092018&sum=4000 0 [18:27:04]StoreToDocumentArchive [18:27:04]shift 314 fd 47360 [18:27:04]save to /storage/0314/doc_00047360 [18:27:04]save last doc name /storage/0314/doc_00047360 to /storage/kkm_last_doc_name [18:27:04]save OK [18:27:04]Clear old archive folders... [18:27:04]ProcessDocumentItem done err = 0, tmpTLVsize=271 [18:27:04]tlvbuf is 002836A0 [18:27:04]SAM_PROTO_ClearQueue [18:27:04]wFMCommunicate request_size=4 [18:27:04]MH_SAM_APDU [18:27:04]CAPDU: 80 09 00 00 [18:27:04]Write to MH i2c: E2 08 00 84 56 80 09 00 00 00 00 00 00 4C [18:27:04]Write i2c OK [18:27:04]MH_I2C_Read... [18:27:04]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:27:04]Read from MH i2c: E2 [18:27:04]MH_I2C_Read... [18:27:04]Read from MH i2c: E2 03 00 [18:27:04]MH_I2C_Read... [18:27:04]Read from MH i2c: E2 03 00 84 56 00 90 00 4E [18:27:04]RAPDU: 90 00 [18:27:04]wFMCommunicate OK [18:27:04]SAM_PROTO_ClearQueue done [18:27:04]KKMCreateOFDPacket [18:27:04]OFDProtocolAddRootSTLVToBuf [18:27:04]FM_MakeSignedData [18:27:04]FM_MakeSignedData [18:27:04]SAM_PROTO_SignData [18:27:04]wFMCommunicate request_size=4 [18:27:04]MH_SAM_APDU [18:27:04]CAPDU: 80 0D 01 02 [18:27:04]Write to MH i2c: E2 08 00 85 56 80 0D 01 02 00 00 00 00 54 [18:27:04]Write i2c OK [18:27:04]MH_I2C_Read... [18:27:04]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:27:04]Read from MH i2c: E2 [18:27:04]MH_I2C_Read... [18:27:04]Read from MH i2c: E2 03 00 [18:27:04]MH_I2C_Read... [18:27:04]Read from MH i2c: E2 03 00 85 56 00 90 00 4F [18:27:04]RAPDU: 90 00 [18:27:04]wFMCommunicate OK [18:27:04]wFMCommunicate request_size=255 [18:27:04]MH_SAM_APDU [18:27:04]CAPDU: 80 0D 02 02 FA 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 88 9E F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 [18:27:04]Write to MH i2c: E2 02 01 86 56 80 0D 02 02 FA 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 88 9E F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 00 00 10 [18:27:04]Write i2c OK [18:27:04]MH_I2C_Read... [18:27:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:27:05]Read from MH i2c: E2 [18:27:05]MH_I2C_Read... [18:27:05]Read from MH i2c: E2 03 00 [18:27:05]MH_I2C_Read... [18:27:05]Read from MH i2c: E2 03 00 86 56 00 90 00 50 [18:27:05]RAPDU: 90 00 [18:27:05]wFMCommunicate OK [18:27:05]wFMCommunicate request_size=30 [18:27:05]MH_SAM_APDU [18:27:05]CAPDU: 80 0D 02 02 19 30 38 37 31 38 31 36 10 04 04 00 00 B9 00 00 35 04 06 00 A7 55 9B 4A 9E 50 [18:27:05]Write to MH i2c: E2 21 00 87 56 80 0D 02 02 19 00 30 38 37 31 38 31 36 10 04 04 00 00 B9 00 00 35 04 06 00 A7 55 9B 4A 9E 50 00 00 D7 [18:27:05]Write i2c OK [18:27:05]MH_I2C_Read... [18:27:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:27:05]Read from MH i2c: E2 [18:27:05]MH_I2C_Read... [18:27:05]Read from MH i2c: E2 03 00 [18:27:05]MH_I2C_Read... [18:27:05]Read from MH i2c: E2 03 00 87 56 00 90 00 51 [18:27:05]RAPDU: 90 00 [18:27:05]wFMCommunicate OK [18:27:05]wFMCommunicate request_size=4 [18:27:05]MH_SAM_APDU [18:27:05]CAPDU: 80 0D 03 02 [18:27:05]Write to MH i2c: E2 08 00 88 56 80 0D 03 02 00 00 00 00 59 [18:27:05]Write i2c OK [18:27:05]MH_I2C_Read... [18:27:05]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:27:05]Read from MH i2c: E2 [18:27:05]MH_I2C_Read... [18:27:05]Read from MH i2c: E2 0B 00 [18:27:05]MH_I2C_Read... [18:27:05]Read from MH i2c: E2 0B 00 88 56 00 35 7E DE 88 40 A8 BB A8 90 00 BE [18:27:05]RAPDU: 35 7E DE 88 40 A8 BB A8 90 00 [18:27:05]wFMCommunicate OK [18:27:05]SAM_PROTO_SignData done [18:27:05]FM_MakeSignedData done [18:27:05]CreateOFDProtocolMessage [18:27:05]wFMCommunicate request_size=4 [18:27:05]MH_SAM_APDU [18:27:05]CAPDU: 80 11 00 00 [18:27:05]Write to MH i2c: E2 08 00 89 56 80 11 00 00 00 00 00 00 59 [18:27:05]Write i2c OK [18:27:05]MH_I2C_Read... [18:27:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:27:05]Read from MH i2c: E2 [18:27:05]MH_I2C_Read... [18:27:05]Read from MH i2c: E2 17 00 [18:27:05]MH_I2C_Read... [18:27:05]Read from MH i2c: E2 17 00 89 56 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 AB [18:27:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [18:27:05]wFMCommunicate OK [18:27:05]CreateOFDProtocolMessage done [18:27:05]OFDSenderStorePacket 47360 [18:27:05]StoreOFDPacket docnum=47360 [18:27:05]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 23 01 00 00 E7 9A 1B 01 38 6A 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 88 9E F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 00 B9 00 00 35 04 06 00 A7 55 9B 4A 9E 50 35 7E DE 88 40 A8 BB A8 [18:27:05]CheckFolder [18:27:05]dirname=/storage/ofd_packets [18:27:05]CheckFolder done [18:27:05]ProducePacketName [18:27:05]name=ofd_packets/00047360 [18:27:05]NVStorageSaveData ofd_packets/00047360 [18:27:05]File name is /storage/ofd_packets/00047360 [18:27:05]Write 321 bytes [18:27:05]NVStorageSaveData done [18:27:05]OFDSenderStorePacket done [18:27:05]KKMCreateOFDPacket done [18:27:05]NVStorageSaveData kkm_last_timestamp [18:27:05]File name is /storage/kkm_last_timestamp [18:27:05]Write 4 bytes [18:27:05]NVStorageSaveData done [18:27:05]ExternCall_PrintAddStr [18:27:05]wPrintStart [18:27:05]Write to MH i2c: 01 00 00 8A 56 E0 [18:27:05]Write i2c OK [18:27:05]MH_I2C_Read... [18:27:05]Read from MH i2c: 01 [18:27:05]MH_I2C_Read... [18:27:05]Read from MH i2c: 01 07 00 [18:27:05]MH_I2C_Read... [18:27:05]Read from MH i2c: 01 07 00 8A 56 00 00 00 00 00 FF 0F F5 [18:27:05]RasterBufferAndPrint [18:27:05]line Счет N : (3)242274 [18:27:05]line ИНН: 02508201610067 [18:27:05]line Контрольно-Кассовый Чек [18:27:05]line ПРОДАЖА [18:27:05]line Товар: 4700000160211 [18:27:05]line Вода Легенда 0,5л [18:27:05]line 1.000 * 40.00 [18:27:05]line = 40.00 [18:27:05]line НДС 12% НСП 1% [18:27:05]line > о реализуемом товаре [18:27:05]line ИТОГО: 40.00 [18:27:05]line НСП 1% : 0.35 [18:27:05]line НДС 12% : 4.25 [18:27:05]line Наличными: 40.00 [18:27:05]line Безнал.: 0.00 [18:27:05]line Место: АЗС № 15 "Партнер Нефть" [18:27:05]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [18:27:05]line СНО: Общий режим [18:27:05]line Чек 38 12.03.2024 18:27 [18:27:05]line Смена: 314 ФФД: 1.0 [18:27:05]line ЗНМ: 0300000097 [18:27:05]line РНМ: 0000000000092018 [18:27:05]line Версия ККМ: 001 [18:27:05]line ФМ: 0000000000871816 [18:27:05]line ФД: 47360 [18:27:05]line ФПД: 183986119417424 [18:27:05]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T182720&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47360&fm=183986119417424&tin=02508201610067®Number=0000000000092018&sum=4000 [18:27:05]line 0 [18:27:05]OFD Sender: Processing packet 47360 [packets to send 8, broken 7] [18:27:05]ProducePacketName [18:27:05]name=ofd_packets/00047360 [18:27:05]OFD Sender: To server: pG, [18:27:05]CommunicateWithHost lk.salyk.kg:30040 [18:27:05]ConnectInit lk.salyk.kg [18:27:05]written 0, free lines is 4095 [18:27:05]Connected sock=10 [18:27: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 31 36 23 01 00 00 E7 9A 1B 01 38 6A 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 88 9E F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 00 B9 00 00 35 04 06 00 A7 55 9B 4A 9E 50 35 7E DE 88 40 A8 BB A8 [18:27: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 31 36 4F 00 00 00 F7 8D 47 00 D8 98 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 00 B9 00 00 F4 03 04 00 19 49 F0 65 B6 04 01 00 00 54 73 2F 1A B8 69 10 0C [18:27:05]CommunicateWithHost err = 0 [18:27:05]CheckOFDResponse [18:27:05]1017 (14) - 77093643461234 [18:27:05]1041 (16) - 0000000000871816 [18:27:05]1040 (4) - 47360 [18:27:05]1012 (4) - 12.03.2024 12:22 [18:27:05]1206 (1) - 0 [18:27:05]OFD Sender: Remove packet 47360 [18:27:05]ProducePacketName [18:27:05]name=ofd_packets/00047360 [18:27:05]NVStorageDeleteData [18:27:06]Write to MH i2c: 01 00 00 B2 56 08 [18:27:06]Write i2c OK [18:27:06]MH_I2C_Read... [18:27:06]Read from MH i2c: 01 [18:27:06]MH_I2C_Read... [18:27:06]Read from MH i2c: 01 07 00 [18:27:06]MH_I2C_Read... [18:27:06]Read from MH i2c: 01 07 00 B2 56 00 00 00 00 00 E3 0C FE [18:27:06]RasterBufferAndPrint [18:27:06]line [18:27:06]line [18:27:06]line [18:27:06]line [18:27:06]line [18:27:06]written 0, free lines is 3308 [18:27:06]MH_Cut [18:27:06]Write to MH i2c: D1 01 00 B9 56 01 E1 [18:27:06]Write i2c OK [18:27:06]MH_I2C_Read... [18:27:06]Read from MH i2c: D1 [18:27:06]MH_I2C_Read... [18:27:06]Read from MH i2c: D1 01 00 [18:27:06]MH_I2C_Read... [18:27:06]Read from MH i2c: D1 01 00 B9 56 00 E0 [18:27:06]Write to MH i2c: 01 00 00 BA 56 10 [18:27:06]Write i2c OK [18:27:06]MH_I2C_Read... [18:27:06]OFD Sender: No OFD packet to send [18:27:06]*** Cut start [18:27:06]*** Purtial cut [18:27:06]*** Stage 1: CUTSNS_PIN = 1 [18:27:07]Read from MH i2c: 01 [18:27:07]MH_I2C_Read... [18:27:07]*** Stop cut motor [18:27:07]*** Cut end [18:27:07]Read from MH i2c: 01 07 00 [18:27:07]MH_I2C_Read... [18:27:07]Read from MH i2c: 01 07 00 BA 56 00 00 00 00 00 FF 0F 25 [18:27:07]process_action close_receipt done [18:27:07]requested_data is exist [18:27:07]produce_requested_data [18:27:07]requested_item fm.sn is exist - process it [18:27:07]wFMCommunicate request_size=4 [18:27:07]MH_SAM_APDU [18:27:07]CAPDU: 80 11 00 00 [18:27:07]Write to MH i2c: E2 08 00 BB 56 80 11 00 00 00 00 00 00 8B [18:27:07]Write i2c OK [18:27:07]MH_I2C_Read... [18:27:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:27:07]Read from MH i2c: E2 [18:27:07]MH_I2C_Read... [18:27:07]Read from MH i2c: E2 17 00 [18:27:07]MH_I2C_Read... [18:27:07]Read from MH i2c: E2 17 00 BB 56 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 DD [18:27:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [18:27:07]wFMCommunicate OK [18:27:07]requested_item fd.num is exist - process it [18:27:07]SAM_PROTO_GetFieldsCounters [18:27:07]wFMCommunicate request_size=4 [18:27:07]MH_SAM_APDU [18:27:07]CAPDU: 80 13 00 00 [18:27:07]Write to MH i2c: E2 08 00 BC 56 80 13 00 00 00 00 00 00 8E [18:27:07]Write i2c OK [18:27:07]MH_I2C_Read... [18:27:07]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:27:07]Read from MH i2c: E2 [18:27:07]MH_I2C_Read... [18:27:07]Read from MH i2c: E2 62 00 [18:27:07]MH_I2C_Read... [18:27:07]Read from MH i2c: E2 62 00 BC 56 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 00 B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 26 00 00 00 5E 04 04 00 26 00 00 00 57 04 04 00 27 00 00 00 19 04 04 00 00 00 00 00 90 00 0F [18:27: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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 00 B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 26 00 00 00 5E 04 04 00 26 00 00 00 57 04 04 00 27 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:27:07]wFMCommunicate OK [18:27:07]SAM_PROTO_GetFieldsCounters done [18:27:07]requested_item shift.num is exist - process it [18:27:07]requested_item shift.opened is exist - process it [18:27:07]req_shift_opened [18:27:07]FM_GetShiftState [18:27:07]SAM_PROTO_GetShiftState [18:27:07]wFMCommunicate request_size=4 [18:27:07]MH_SAM_APDU [18:27:07]CAPDU: 80 13 01 00 [18:27:07]Write to MH i2c: E2 08 00 BD 56 80 13 01 00 00 00 00 00 90 [18:27:07]Write i2c OK [18:27:07]MH_I2C_Read... [18:27:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:27:07]Read from MH i2c: E2 [18:27:07]MH_I2C_Read... [18:27:07]Read from MH i2c: E2 0E 00 [18:27:07]MH_I2C_Read... [18:27:07]Read from MH i2c: E2 0E 00 BD 56 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 BF [18:27:07]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [18:27:07]wFMCommunicate OK [18:27:07]SAM_PROTO_GetShiftState done [18:27:07]FM_GetShiftState done [18:27:07]req_shift_opened done [18:27:07]requested_item shift.open_date is exist - process it [18:27:07]req_shift_open_date [18:27:07]req_shift_open_date done [18:27:07]produce_requested_data done [18:27:07]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47360,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [18:27:07]process_action_free close_receipt [18:27:07]json_value_free [18:27:07]json_value_free done [18:27:07]process_json_proto returns [18:27:07]Send response to host [18:27:07]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47360,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [18:27:07]free response buf [18:27:07]execute_script done [18:27:07]execute_script returns [18:27:07]free content buf [18:27:07]Sock 7.Close socket [18:27:07]Sock 7.Thread stoped [18:27:11]OFD Sender: No OFD packet to send [18:27:16]OFD Sender: No OFD packet to send [18:27:21]OFD Sender: No OFD packet to send [18:27:26]OFD Sender: No OFD packet to send [18:27:31]OFD Sender: No OFD packet to send [18:27:36]OFD Sender: No OFD packet to send [18:27:41]OFD Sender: No OFD packet to send [18:27:46]OFD Sender: No OFD packet to send [18:27:51]OFD Sender: No OFD packet to send [18:27:56]OFD Sender: No OFD packet to send [18:28:01]OFD Sender: No OFD packet to send [18:28:06]OFD Sender: No OFD packet to send [18:28:11]OFD Sender: No OFD packet to send [18:28:16]OFD Sender: No OFD packet to send [18:28:21]OFD Sender: No OFD packet to send [18:28:26]OFD Sender: No OFD packet to send [18:28:31]OFD Sender: No OFD packet to send [18:28:36]OFD Sender: No OFD packet to send [18:28:41]OFD Sender: No OFD packet to send [18:28:46]OFD Sender: No OFD packet to send [18:28:51]OFD Sender: No OFD packet to send [18:28:56]OFD Sender: No OFD packet to send [18:29:01]OFD Sender: No OFD packet to send [18:29:06]OFD Sender: No OFD packet to send [18:29:11]OFD Sender: No OFD packet to send [18:29:16]OFD Sender: No OFD packet to send [18:29:21]OFD Sender: No OFD packet to send [18:29:26]OFD Sender: No OFD packet to send [18:29:31]OFD Sender: No OFD packet to send [18:29:36]OFD Sender: No OFD packet to send [18:29:41]OFD Sender: No OFD packet to send [18:29:46]OFD Sender: No OFD packet to send [18:29:51]OFD Sender: No OFD packet to send [18:29:56]OFD Sender: No OFD packet to send [18:30:01]OFD Sender: No OFD packet to send [18:30:06]OFD Sender: No OFD packet to send [18:30:11]OFD Sender: No OFD packet to send [18:30:16]OFD Sender: No OFD packet to send [18:30:21]OFD Sender: No OFD packet to send [18:30:26]OFD Sender: No OFD packet to send [18:30:31]OFD Sender: No OFD packet to send [18:30:36]OFD Sender: No OFD packet to send [18:30:41]OFD Sender: No OFD packet to send [18:30:46]OFD Sender: No OFD packet to send [18:30:51]OFD Sender: No OFD packet to send [18:30:56]OFD Sender: No OFD packet to send [18:31:01]OFD Sender: No OFD packet to send [18:31:06]OFD Sender: No OFD packet to send [18:31:11]OFD Sender: No OFD packet to send [18:31:16]OFD Sender: No OFD packet to send [18:31:21]OFD Sender: No OFD packet to send [18:31:26]OFD Sender: No OFD packet to send [18:31:31]OFD Sender: No OFD packet to send [18:31:36]OFD Sender: No OFD packet to send [18:31:41]OFD Sender: No OFD packet to send [18:31:46]OFD Sender: No OFD packet to send [18:31:51]OFD Sender: No OFD packet to send [18:31:56]OFD Sender: No OFD packet to send [18:32:01]OFD Sender: No OFD packet to send [18:32:06]OFD Sender: No OFD packet to send [18:32:11]OFD Sender: No OFD packet to send [18:32:16]OFD Sender: No OFD packet to send [18:32:21]OFD Sender: No OFD packet to send [18:32:26]OFD Sender: No OFD packet to send [18:32:31]OFD Sender: No OFD packet to send [18:32:36]OFD Sender: No OFD packet to send [18:32:41]OFD Sender: No OFD packet to send [18:32:46]OFD Sender: No OFD packet to send [18:32:51]OFD Sender: No OFD packet to send [18:32:56]OFD Sender: No OFD packet to send [18:33:01]OFD Sender: No OFD packet to send [18:33:06]OFD Sender: No OFD packet to send [18:33:11]OFD Sender: No OFD packet to send [18:33:16]OFD Sender: No OFD packet to send [18:33:21]OFD Sender: No OFD packet to send [18:33:26]OFD Sender: No OFD packet to send [18:33:31]OFD Sender: No OFD packet to send [18:33:36]OFD Sender: No OFD packet to send [18:33:41]OFD Sender: No OFD packet to send [18:33:46]OFD Sender: No OFD packet to send [18:33:51]OFD Sender: No OFD packet to send [18:33:56]OFD Sender: No OFD packet to send [18:34:01]OFD Sender: No OFD packet to send [18:34:06]OFD Sender: No OFD packet to send [18:34:11]OFD Sender: No OFD packet to send [18:34:16]OFD Sender: No OFD packet to send [18:34:21]OFD Sender: No OFD packet to send [18:34:26]OFD Sender: No OFD packet to send [18:34:31]OFD Sender: No OFD packet to send [18:34:36]OFD Sender: No OFD packet to send [18:34:41]OFD Sender: No OFD packet to send [18:34:46]OFD Sender: No OFD packet to send [18:34:51]OFD Sender: No OFD packet to send [18:34:56]OFD Sender: No OFD packet to send [18:35:01]OFD Sender: No OFD packet to send [18:35:06]OFD Sender: No OFD packet to send [18:35:11]OFD Sender: No OFD packet to send [18:35:16]OFD Sender: No OFD packet to send [18:35:21]OFD Sender: No OFD packet to send [18:35:26]OFD Sender: No OFD packet to send [18:35:31]OFD Sender: No OFD packet to send [18:35:36]OFD Sender: No OFD packet to send [18:35:41]OFD Sender: No OFD packet to send [18:35:46]OFD Sender: No OFD packet to send [18:35:51]OFD Sender: No OFD packet to send [18:35:56]OFD Sender: No OFD packet to send [18:36:01]OFD Sender: No OFD packet to send [18:36:06]OFD Sender: No OFD packet to send [18:36:11]OFD Sender: No OFD packet to send [18:36:16]OFD Sender: No OFD packet to send [18:36:21]OFD Sender: No OFD packet to send [18:36:26]OFD Sender: No OFD packet to send [18:36:29]accept exits with 9 [18:36:29]New connection [18:36:29]New thread 3066596708 created [18:36:29]Thread 3066453348 joined [18:36:29]Waiting for new connection... [18:36:29] Sock 9.Parse request [18:36:29]Sock 9.Check first char [18:36:29]Sock 9.First char is OK [18:36:29]request: POST /json_proto HTTP/1.0 [18:36:29]Method: POST [18:36:29]URL: /json_proto [18:36:29]Method is POST - this is cgi request [18:36:29]url: /json_proto [18:36:29]query_string will be loaded in cgi processing [18:36:29]execute_cgi json_proto POST (null) [18:36:29]execute_cgi path=json_proto method=POST [18:36:29]POST find Content-Length [18:36:29]Host: 172.17.32.68:8080 [18:36:29]Content-Length: 656 [18:36:29]Content-Type: application/json [18:36:29] [18:36:29]POST finish read [18:36:29]Found Content-Length = 656 [18:36:29]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242275", "tax_sys" : 0, "items" : [ { "code": "4870216765026", "name": "\u041D\u0430\u0433\u0440.\u0422\u0430\u0431.\u041F\u0430\u043B\u043E\u0447. HEETS Silver Selection", "price" : 141.00, "quantity" : 1.000, "sum" : 141.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 141.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:36:29]execute_script... [18:36: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)242275", "tax_sys" : 0, "items" : [ { "code": "4870216765026", "name": "\u041D\u0430\u0433\u0440.\u0422\u0430\u0431.\u041F\u0430\u043B\u043E\u0447. HEETS Silver Selection", "price" : 141.00, "quantity" : 1.000, "sum" : 141.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 141.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:36:29]POST & json_proto [18:36:29]process_json_proto [18:36:29]json parsed OK: [18:36:29]protocol is kg_v1.0 [18:36:29]action value=close_receipt [18:36:29]process_action close_receipt [18:36:29]cmd_close_receipt [18:36:29]MH_GetDate [18:36:29]Write to MH i2c: F0 00 00 BE 56 03 [18:36:29]Write i2c OK [18:36:29]MH_I2C_Read... [18:36:29]Read from MH i2c: F0 [18:36:29]MH_I2C_Read... [18:36:29]Read from MH i2c: F0 09 00 [18:36:29]MH_I2C_Read... [18:36:29]Read from MH i2c: F0 09 00 BE 56 00 BE A0 F0 65 0A 64 6E 65 00 [18:36:29]GetLastDocTimeStamp 1710268040 [18:36:29]current date 1710268606 [18:36:29]FM_GetShiftState [18:36:29]SAM_PROTO_GetShiftState [18:36:29]wFMCommunicate request_size=4 [18:36:29]MH_SAM_APDU [18:36:29]CAPDU: 80 13 01 00 [18:36:29]Write to MH i2c: E2 08 00 BF 56 80 13 01 00 00 00 00 00 92 [18:36:29]Write i2c OK [18:36:29]MH_I2C_Read... [18:36:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:36:29]Read from MH i2c: E2 [18:36:29]MH_I2C_Read... [18:36:29]Read from MH i2c: E2 0E 00 [18:36:29]MH_I2C_Read... [18:36:29]Read from MH i2c: E2 0E 00 BF 56 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 C1 [18:36:29]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [18:36:29]wFMCommunicate OK [18:36:29]SAM_PROTO_GetShiftState done [18:36:29]FM_GetShiftState done [18:36:29]opened in 1710202417 [18:36:29]opened+sec_in_day 1710288817 [18:36:29]quantity*price = 14100 [18:36:29]sum+1 = 14101 [18:36:29]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 141.00 НСП 1% : 1.25 НДС 12% : 14.97 Наличными: 141.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 39 12.03.2024 18:36 Смена: 314 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47361 ФПД: 132275386439687 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T183646&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47361&fm=132275386439687&tin=02508201610067®Number=0000000000092018&sum=14100 0 [18:36:30]StoreToDocumentArchive [18:36:30]shift 314 fd 47361 [18:36:30]save to /storage/0314/doc_00047361 [18:36:30]save last doc name /storage/0314/doc_00047361 to /storage/kkm_last_doc_name [18:36:30]save OK [18:36:30]Clear old archive folders... [18:36:30]ProcessDocumentItem done err = 0, tmpTLVsize=292 [18:36:30]tlvbuf is 003CA020 [18:36:30]SAM_PROTO_ClearQueue [18:36:30]wFMCommunicate request_size=4 [18:36:30]MH_SAM_APDU [18:36:30]CAPDU: 80 09 00 00 [18:36:30]Write to MH i2c: E2 08 00 CC 56 80 09 00 00 00 00 00 00 94 [18:36:30]Write i2c OK [18:36:30]MH_I2C_Read... [18:36:30]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:36:30]Read from MH i2c: E2 [18:36:30]MH_I2C_Read... [18:36:30]Read from MH i2c: E2 03 00 [18:36:30]MH_I2C_Read... [18:36:30]Read from MH i2c: E2 03 00 CC 56 00 90 00 96 [18:36:30]RAPDU: 90 00 [18:36:30]wFMCommunicate OK [18:36:30]SAM_PROTO_ClearQueue done [18:36:30]KKMCreateOFDPacket [18:36:30]OFDProtocolAddRootSTLVToBuf [18:36:30]FM_MakeSignedData [18:36:30]FM_MakeSignedData [18:36:30]SAM_PROTO_SignData [18:36:30]wFMCommunicate request_size=4 [18:36:30]MH_SAM_APDU [18:36:30]CAPDU: 80 0D 01 02 [18:36:30]Write to MH i2c: E2 08 00 CD 56 80 0D 01 02 00 00 00 00 9C [18:36:30]Write i2c OK [18:36:30]MH_I2C_Read... [18:36:30]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:36:30]Read from MH i2c: E2 [18:36:30]MH_I2C_Read... [18:36:30]Read from MH i2c: E2 03 00 [18:36:30]MH_I2C_Read... [18:36:30]Read from MH i2c: E2 03 00 CD 56 00 90 00 97 [18:36:30]RAPDU: 90 00 [18:36:30]wFMCommunicate OK [18:36:30]wFMCommunicate request_size=255 [18:36:30]MH_SAM_APDU [18:36:30]CAPDU: 80 0D 02 02 FA 03 00 24 01 1E 04 01 00 01 23 04 76 00 8A 04 0D 00 34 38 37 30 32 31 36 37 36 35 30 32 36 06 04 32 00 D0 9D D0 B0 D0 B3 D1 80 2E D0 A2 D0 B0 D0 B1 2E D0 9F D0 B0 D0 BB D0 BE D1 87 2E 20 48 45 45 54 53 20 53 69 6C 76 65 72 20 53 65 6C 65 63 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 37 00 00 00 00 13 04 06 00 14 37 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 37 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D9 05 00 00 00 00 07 04 06 00 14 37 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 BE A0 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 [18:36:30]Write to MH i2c: E2 02 01 CE 56 80 0D 02 02 FA 00 03 00 24 01 1E 04 01 00 01 23 04 76 00 8A 04 0D 00 34 38 37 30 32 31 36 37 36 35 30 32 36 06 04 32 00 D0 9D D0 B0 D0 B3 D1 80 2E D0 A2 D0 B0 D0 B1 2E D0 9F D0 B0 D0 BB D0 BE D1 87 2E 20 48 45 45 54 53 20 53 69 6C 76 65 72 20 53 65 6C 65 63 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 37 00 00 00 00 13 04 06 00 14 37 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 37 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D9 05 00 00 00 00 07 04 06 00 14 37 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 BE A0 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 00 00 BE [18:36:30]Write i2c OK [18:36:30]MH_I2C_Read... [18:36:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:36:31]Read from MH i2c: E2 [18:36:31]MH_I2C_Read... [18:36:31]Read from MH i2c: E2 03 00 [18:36:31]MH_I2C_Read... [18:36:31]Read from MH i2c: E2 03 00 CE 56 00 90 00 98 [18:36:31]RAPDU: 90 00 [18:36:31]wFMCommunicate OK [18:36:31]wFMCommunicate request_size=51 [18:36:31]MH_SAM_APDU [18:36:31]CAPDU: 80 0D 02 02 2E 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 01 B9 00 00 35 04 06 00 78 4D C3 6B D8 07 [18:36:31]Write to MH i2c: E2 36 00 CF 56 80 0D 02 02 2E 00 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 01 B9 00 00 35 04 06 00 78 4D C3 6B D8 07 00 00 B6 [18:36:31]Write i2c OK [18:36:31]MH_I2C_Read... [18:36:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:36:31]Read from MH i2c: E2 [18:36:31]MH_I2C_Read... [18:36:31]Read from MH i2c: E2 03 00 [18:36:31]MH_I2C_Read... [18:36:31]Read from MH i2c: E2 03 00 CF 56 00 90 00 99 [18:36:31]RAPDU: 90 00 [18:36:31]wFMCommunicate OK [18:36:31]wFMCommunicate request_size=4 [18:36:31]MH_SAM_APDU [18:36:31]CAPDU: 80 0D 03 02 [18:36:31]Write to MH i2c: E2 08 00 D0 56 80 0D 03 02 00 00 00 00 A1 [18:36:31]Write i2c OK [18:36:31]MH_I2C_Read... [18:36:31]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:36:31]Read from MH i2c: E2 [18:36:31]MH_I2C_Read... [18:36:31]Read from MH i2c: E2 0B 00 [18:36:31]MH_I2C_Read... [18:36:31]Read from MH i2c: E2 0B 00 D0 56 00 8D 96 0B 88 CC D3 65 D8 90 00 34 [18:36:31]RAPDU: 8D 96 0B 88 CC D3 65 D8 90 00 [18:36:31]wFMCommunicate OK [18:36:31]SAM_PROTO_SignData done [18:36:31]FM_MakeSignedData done [18:36:31]CreateOFDProtocolMessage [18:36:31]wFMCommunicate request_size=4 [18:36:31]MH_SAM_APDU [18:36:31]CAPDU: 80 11 00 00 [18:36:31]Write to MH i2c: E2 08 00 D1 56 80 11 00 00 00 00 00 00 A1 [18:36:31]Write i2c OK [18:36:31]MH_I2C_Read... [18:36:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:36:31]Read from MH i2c: E2 [18:36:31]MH_I2C_Read... [18:36:31]Read from MH i2c: E2 17 00 [18:36:31]MH_I2C_Read... [18:36:31]Read from MH i2c: E2 17 00 D1 56 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 F3 [18:36:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [18:36:31]wFMCommunicate OK [18:36:31]CreateOFDProtocolMessage done [18:36:31]OFDSenderStorePacket 47361 [18:36:31]StoreOFDPacket docnum=47361 [18:36:31]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 38 01 00 00 66 50 30 01 BF 59 5A 03 01 00 03 00 24 01 1E 04 01 00 01 23 04 76 00 8A 04 0D 00 34 38 37 30 32 31 36 37 36 35 30 32 36 06 04 32 00 D0 9D D0 B0 D0 B3 D1 80 2E D0 A2 D0 B0 D0 B1 2E D0 9F D0 B0 D0 BB D0 BE D1 87 2E 20 48 45 45 54 53 20 53 69 6C 76 65 72 20 53 65 6C 65 63 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 37 00 00 00 00 13 04 06 00 14 37 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 37 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D9 05 00 00 00 00 07 04 06 00 14 37 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 BE A0 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 01 B9 00 00 35 04 06 00 78 4D C3 6B D8 07 8D 96 0B 88 CC D3 65 D8 [18:36:31]CheckFolder [18:36:31]dirname=/storage/ofd_packets [18:36:31]CheckFolder done [18:36:31]ProducePacketName [18:36:31]name=ofd_packets/00047361 [18:36:31]NVStorageSaveData ofd_packets/00047361 [18:36:31]File name is /storage/ofd_packets/00047361 [18:36:31]Write 342 bytes [18:36:31]NVStorageSaveData done [18:36:31]OFDSenderStorePacket done [18:36:31]KKMCreateOFDPacket done [18:36:31]NVStorageSaveData kkm_last_timestamp [18:36:31]File name is /storage/kkm_last_timestamp [18:36:31]Write 4 bytes [18:36:31]NVStorageSaveData done [18:36:31]ExternCall_PrintAddStr [18:36:31]wPrintStart [18:36:31]Write to MH i2c: 01 00 00 D2 56 28 [18:36:31]OFD Sender: Processing packet 47361 [packets to send 8, broken 7] [18:36:31]ProducePacketName [18:36:31]name=ofd_packets/00047361 [18:36:31]OFD Sender: To server: pG, [18:36:31]CommunicateWithHost lk.salyk.kg:30040 [18:36:31]ConnectInit lk.salyk.kg [18:36:31]Write i2c OK [18:36:31]MH_I2C_Read... [18:36:31]Read from MH i2c: 01 [18:36:31]MH_I2C_Read... [18:36:31]Read from MH i2c: 01 07 00 [18:36:31]MH_I2C_Read... [18:36:31]Read from MH i2c: 01 07 00 D2 56 00 00 00 00 00 FF 0F 3D [18:36:31]RasterBufferAndPrint [18:36:31]line Счет N : (3)242275 [18:36:31]line ИНН: 02508201610067 [18:36:31]line Контрольно-Кассовый Чек [18:36:31]line ПРОДАЖА [18:36:31]line Товар: 4870216765026 [18:36:31]line Нагр.Таб.Палоч. HEETS Silver Selection [18:36:31]line 1.000 * 141.00 [18:36:31]line = 141.00 [18:36:31]line НДС 12% НСП 1% [18:36:31]line > о реализуемом товаре [18:36:31]line ИТОГО: 141.00 [18:36:31]line НСП 1% : 1.25 [18:36:31]line НДС 12% : 14.97 [18:36:31]line Наличными: 141.00 [18:36:31]line Безнал.: 0.00 [18:36:31]line Место: АЗС № 15 "Партнер Нефть" [18:36:31]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [18:36:31]line СНО: Общий режим [18:36:31]line Чек 39 12.03.2024 18:36 [18:36:31]line Смена: 314 ФФД: 1.0 [18:36:31]line ЗНМ: 0300000097 [18:36:31]line РНМ: 0000000000092018 [18:36:31]line Версия ККМ: 001 [18:36:31]line ФМ: 0000000000871816 [18:36:31]line ФД: 47361 [18:36:31]line ФПД: 132275386439687 [18:36:31]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T183646&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47361&fm=132275386439687&tin=02508201610067®Number=0000000000092018&sum=14100 [18:36:31]line 0 [18:36:31]Connected sock=10 [18:36: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 31 36 38 01 00 00 66 50 30 01 BF 59 5A 03 01 00 03 00 24 01 1E 04 01 00 01 23 04 76 00 8A 04 0D 00 34 38 37 30 32 31 36 37 36 35 30 32 36 06 04 32 00 D0 9D D0 B0 D0 B3 D1 80 2E D0 A2 D0 B0 D0 B1 2E D0 9F D0 B0 D0 BB D0 BE D1 87 2E 20 48 45 45 54 53 20 53 69 6C 76 65 72 20 53 65 6C 65 63 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 37 00 00 00 00 13 04 06 00 14 37 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 37 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D9 05 00 00 00 00 07 04 06 00 14 37 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 BE A0 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 01 B9 00 00 35 04 06 00 78 4D C3 6B D8 07 8D 96 0B 88 CC D3 65 D8 [18:36:31]written 0, free lines is 4095 [18:36: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 31 36 4F 00 00 00 70 2D 47 00 91 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 31 36 10 04 04 00 01 B9 00 00 F4 03 04 00 4F 4B F0 65 B6 04 01 00 00 88 45 60 20 F5 29 71 D9 [18:36:31]CommunicateWithHost err = 0 [18:36:31]CheckOFDResponse [18:36:31]1017 (14) - 77093643461234 [18:36:31]1041 (16) - 0000000000871816 [18:36:31]1040 (4) - 47361 [18:36:31]1012 (4) - 12.03.2024 12:32 [18:36:31]1206 (1) - 0 [18:36:31]OFD Sender: Remove packet 47361 [18:36:31]ProducePacketName [18:36:31]name=ofd_packets/00047361 [18:36:31]NVStorageDeleteData [18:36:32]Write to MH i2c: 01 00 00 FB 56 51 [18:36:32]Write i2c OK [18:36:32]MH_I2C_Read... [18:36:32]Read from MH i2c: 01 [18:36:32]MH_I2C_Read... [18:36:32]Read from MH i2c: 01 07 00 [18:36:32]MH_I2C_Read... [18:36:32]Read from MH i2c: 01 07 00 FB 56 00 00 00 00 00 D9 0C 3D [18:36:32]RasterBufferAndPrint [18:36:32]line [18:36:32]line [18:36:32]line [18:36:32]line [18:36:32]line [18:36:32]written 0, free lines is 3298 [18:36:32]MH_Cut [18:36:32]Write to MH i2c: D1 01 00 02 57 01 2B [18:36:32]Write i2c OK [18:36:32]MH_I2C_Read... [18:36:32]Read from MH i2c: D1 [18:36:32]MH_I2C_Read... [18:36:32]Read from MH i2c: D1 01 00 [18:36:32]MH_I2C_Read... [18:36:32]Read from MH i2c: D1 01 00 02 57 00 2A [18:36:32]Write to MH i2c: 01 00 00 03 57 5A [18:36:32]Write i2c OK [18:36:32]MH_I2C_Read... [18:36:32]OFD Sender: No OFD packet to send [18:36:32]*** Cut start [18:36:32]*** Purtial cut [18:36:32]*** Stage 1: CUTSNS_PIN = 1 [18:36:33]Read from MH i2c: 01 [18:36:33]MH_I2C_Read... [18:36:33]*** Stop cut motor [18:36:33]*** Cut end [18:36:33]Read from MH i2c: 01 07 00 [18:36:33]MH_I2C_Read... [18:36:33]Read from MH i2c: 01 07 00 03 57 00 00 00 00 00 FF 0F 6F [18:36:33]process_action close_receipt done [18:36:33]requested_data is exist [18:36:33]produce_requested_data [18:36:33]requested_item fm.sn is exist - process it [18:36:33]wFMCommunicate request_size=4 [18:36:33]MH_SAM_APDU [18:36:33]CAPDU: 80 11 00 00 [18:36:33]Write to MH i2c: E2 08 00 04 57 80 11 00 00 00 00 00 00 D5 [18:36:33]Write i2c OK [18:36:33]MH_I2C_Read... [18:36:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:36:33]Read from MH i2c: E2 [18:36:33]MH_I2C_Read... [18:36:33]Read from MH i2c: E2 17 00 [18:36:33]MH_I2C_Read... [18:36:33]Read from MH i2c: E2 17 00 04 57 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 27 [18:36:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [18:36:33]wFMCommunicate OK [18:36:33]requested_item fd.num is exist - process it [18:36:33]SAM_PROTO_GetFieldsCounters [18:36:33]wFMCommunicate request_size=4 [18:36:33]MH_SAM_APDU [18:36:33]CAPDU: 80 13 00 00 [18:36:33]Write to MH i2c: E2 08 00 05 57 80 13 00 00 00 00 00 00 D8 [18:36:33]Write i2c OK [18:36:33]MH_I2C_Read... [18:36:33]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:36:33]Read from MH i2c: E2 [18:36:33]MH_I2C_Read... [18:36:33]Read from MH i2c: E2 62 00 [18:36:33]MH_I2C_Read... [18:36:33]Read from MH i2c: E2 62 00 05 57 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 01 B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 27 00 00 00 5E 04 04 00 27 00 00 00 57 04 04 00 28 00 00 00 19 04 04 00 00 00 00 00 90 00 5D [18:36: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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 01 B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 27 00 00 00 5E 04 04 00 27 00 00 00 57 04 04 00 28 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:36:33]wFMCommunicate OK [18:36:33]SAM_PROTO_GetFieldsCounters done [18:36:33]requested_item shift.num is exist - process it [18:36:33]requested_item shift.opened is exist - process it [18:36:33]req_shift_opened [18:36:33]FM_GetShiftState [18:36:33]SAM_PROTO_GetShiftState [18:36:33]wFMCommunicate request_size=4 [18:36:33]MH_SAM_APDU [18:36:33]CAPDU: 80 13 01 00 [18:36:33]Write to MH i2c: E2 08 00 06 57 80 13 01 00 00 00 00 00 DA [18:36:33]Write i2c OK [18:36:33]MH_I2C_Read... [18:36:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:36:33]Read from MH i2c: E2 [18:36:33]MH_I2C_Read... [18:36:33]Read from MH i2c: E2 0E 00 [18:36:33]MH_I2C_Read... [18:36:33]Read from MH i2c: E2 0E 00 06 57 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 09 [18:36:33]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [18:36:33]wFMCommunicate OK [18:36:33]SAM_PROTO_GetShiftState done [18:36:33]FM_GetShiftState done [18:36:33]req_shift_opened done [18:36:33]requested_item shift.open_date is exist - process it [18:36:33]req_shift_open_date [18:36:33]req_shift_open_date done [18:36:33]produce_requested_data done [18:36:33]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47361,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [18:36:33]process_action_free close_receipt [18:36:33]json_value_free [18:36:33]json_value_free done [18:36:33]process_json_proto returns [18:36:33]Send response to host [18:36:33]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47361,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [18:36:33]free response buf [18:36:33]execute_script done [18:36:33]execute_script returns [18:36:33]free content buf [18:36:33]Sock 9.Close socket [18:36:33]Sock 9.Thread stoped [18:36:37]OFD Sender: No OFD packet to send [18:36:42]OFD Sender: No OFD packet to send [18:36:47]OFD Sender: No OFD packet to send [18:36:52]OFD Sender: No OFD packet to send [18:36:57]OFD Sender: No OFD packet to send [18:37:02]OFD Sender: No OFD packet to send [18:37:07]OFD Sender: No OFD packet to send [18:37:12]OFD Sender: No OFD packet to send [18:37:17]OFD Sender: No OFD packet to send [18:37:22]OFD Sender: No OFD packet to send [18:37:27]OFD Sender: No OFD packet to send [18:37:32]OFD Sender: No OFD packet to send [18:37:37]OFD Sender: No OFD packet to send [18:37:42]OFD Sender: No OFD packet to send [18:37:47]OFD Sender: No OFD packet to send [18:37:52]OFD Sender: No OFD packet to send [18:37:57]OFD Sender: No OFD packet to send [18:38:02]OFD Sender: No OFD packet to send [18:38:07]OFD Sender: No OFD packet to send [18:38:12]OFD Sender: No OFD packet to send [18:38:17]OFD Sender: No OFD packet to send [18:38:22]OFD Sender: No OFD packet to send [18:38:27]OFD Sender: No OFD packet to send [18:38:32]OFD Sender: No OFD packet to send [18:38:37]OFD Sender: No OFD packet to send [18:38:42]OFD Sender: No OFD packet to send [18:38:47]OFD Sender: No OFD packet to send [18:38:52]OFD Sender: No OFD packet to send [18:38:57]OFD Sender: No OFD packet to send [18:39:02]OFD Sender: No OFD packet to send [18:39:07]OFD Sender: No OFD packet to send [18:39:12]OFD Sender: No OFD packet to send [18:39:17]OFD Sender: No OFD packet to send [18:39:22]OFD Sender: No OFD packet to send [18:39:27]OFD Sender: No OFD packet to send [18:39:32]OFD Sender: No OFD packet to send [18:39:37]OFD Sender: No OFD packet to send [18:39:42]OFD Sender: No OFD packet to send [18:39:47]OFD Sender: No OFD packet to send [18:39:52]OFD Sender: No OFD packet to send [18:39:57]OFD Sender: No OFD packet to send [18:40:02]OFD Sender: No OFD packet to send [18:40:07]OFD Sender: No OFD packet to send [18:40:12]OFD Sender: No OFD packet to send [18:40:17]OFD Sender: No OFD packet to send [18:40:22]OFD Sender: No OFD packet to send [18:40:27]OFD Sender: No OFD packet to send [18:40:32]OFD Sender: No OFD packet to send [18:40:37]OFD Sender: No OFD packet to send [18:40:42]OFD Sender: No OFD packet to send [18:40:47]OFD Sender: No OFD packet to send [18:40:52]OFD Sender: No OFD packet to send [18:40:57]OFD Sender: No OFD packet to send [18:41:02]OFD Sender: No OFD packet to send [18:41:07]OFD Sender: No OFD packet to send [18:41:12]OFD Sender: No OFD packet to send [18:41:17]OFD Sender: No OFD packet to send [18:41:22]OFD Sender: No OFD packet to send [18:41:27]OFD Sender: No OFD packet to send [18:41:32]OFD Sender: No OFD packet to send [18:41:37]OFD Sender: No OFD packet to send [18:41:42]OFD Sender: No OFD packet to send [18:41:42]accept exits with 7 [18:41:42]New connection [18:41:42]New thread 3066453348 created [18:41:42]Thread 3066596708 joined [18:41:42]Waiting for new connection... [18:41:42] Sock 7.Parse request [18:41:42]Sock 7.Check first char [18:41:42]Sock 7.First char is OK [18:41:42]request: POST /json_proto HTTP/1.0 [18:41:42]Method: POST [18:41:42]URL: /json_proto [18:41:42]Method is POST - this is cgi request [18:41:42]url: /json_proto [18:41:42]query_string will be loaded in cgi processing [18:41:42]execute_cgi json_proto POST (null) [18:41:42]execute_cgi path=json_proto method=POST [18:41:42]POST find Content-Length [18:41:42]Host: 172.17.32.68:8080 [18:41:42]Content-Length: 642 [18:41:42]Content-Type: application/json [18:41:42] [18:41:42]POST finish read [18:41:42]Found Content-Length = 642 [18:41:42]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242276", "tax_sys" : 0, "items" : [ { "code": "58411125749", "name": "\u0422\u0435 \u0441\u0430\u043C\u044B\u0435 \u043C\u0430\u043A\u0430\u0440\u043E\u043D", "price" : 190.00, "quantity" : 1.000, "sum" : 190.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 190.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:41:42]execute_script... [18:41: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)242276", "tax_sys" : 0, "items" : [ { "code": "58411125749", "name": "\u0422\u0435 \u0441\u0430\u043C\u044B\u0435 \u043C\u0430\u043A\u0430\u0440\u043E\u043D", "price" : 190.00, "quantity" : 1.000, "sum" : 190.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 190.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:41:42]POST & json_proto [18:41:42]process_json_proto [18:41:42]json parsed OK: [18:41:42]protocol is kg_v1.0 [18:41:42]action value=close_receipt [18:41:42]process_action close_receipt [18:41:42]cmd_close_receipt [18:41:42]MH_GetDate [18:41:42]Write to MH i2c: F0 00 00 07 57 4D [18:41:42]Write i2c OK [18:41:42]MH_I2C_Read... [18:41:42]Read from MH i2c: F0 [18:41:42]MH_I2C_Read... [18:41:42]Read from MH i2c: F0 09 00 [18:41:42]MH_I2C_Read... [18:41:42]Read from MH i2c: F0 09 00 07 57 00 F7 A1 F0 65 0A 64 6E 65 84 [18:41:42]GetLastDocTimeStamp 1710268606 [18:41:42]current date 1710268919 [18:41:42]FM_GetShiftState [18:41:42]SAM_PROTO_GetShiftState [18:41:42]wFMCommunicate request_size=4 [18:41:42]MH_SAM_APDU [18:41:42]CAPDU: 80 13 01 00 [18:41:42]Write to MH i2c: E2 08 00 08 57 80 13 01 00 00 00 00 00 DC [18:41:42]Write i2c OK [18:41:42]MH_I2C_Read... [18:41:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:41:42]Read from MH i2c: E2 [18:41:42]MH_I2C_Read... [18:41:42]Read from MH i2c: E2 0E 00 [18:41:42]MH_I2C_Read... [18:41:42]Read from MH i2c: E2 0E 00 08 57 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 0B [18:41:42]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [18:41:42]wFMCommunicate OK [18:41:42]SAM_PROTO_GetShiftState done [18:41:42]FM_GetShiftState done [18:41:42]opened in 1710202417 [18:41:42]opened+sec_in_day 1710288817 [18:41:42]quantity*price = 19000 [18:41:42]sum+1 = 19001 [18:41:42]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 190.00 НСП 1% : 1.68 НДС 12% : 20.18 Наличными: 190.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 40 12.03.2024 18:41 Смена: 314 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47362 ФПД: 39191953475970 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T184159&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47362&fm=39191953475970&tin=02508201610067®Number=0000000000092018&sum=19000 0 [18:41:43]StoreToDocumentArchive [18:41:43]shift 314 fd 47362 [18:41:43]save to /storage/0314/doc_00047362 [18:41:43]save last doc name /storage/0314/doc_00047362 to /storage/kkm_last_doc_name [18:41:43]save OK [18:41:43]Clear old archive folders... [18:41:43]ProcessDocumentItem done err = 0, tmpTLVsize=270 [18:41:43]tlvbuf is B6D51150 [18:41:43]SAM_PROTO_ClearQueue [18:41:43]wFMCommunicate request_size=4 [18:41:43]MH_SAM_APDU [18:41:43]CAPDU: 80 09 00 00 [18:41:43]Write to MH i2c: E2 08 00 15 57 80 09 00 00 00 00 00 00 DE [18:41:43]Write i2c OK [18:41:43]MH_I2C_Read... [18:41:43]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:41:43]Read from MH i2c: E2 [18:41:43]MH_I2C_Read... [18:41:43]Read from MH i2c: E2 03 00 [18:41:43]MH_I2C_Read... [18:41:43]Read from MH i2c: E2 03 00 15 57 00 90 00 E0 [18:41:43]RAPDU: 90 00 [18:41:43]wFMCommunicate OK [18:41:43]SAM_PROTO_ClearQueue done [18:41:43]KKMCreateOFDPacket [18:41:43]OFDProtocolAddRootSTLVToBuf [18:41:43]FM_MakeSignedData [18:41:43]FM_MakeSignedData [18:41:43]SAM_PROTO_SignData [18:41:43]wFMCommunicate request_size=4 [18:41:43]MH_SAM_APDU [18:41:43]CAPDU: 80 0D 01 02 [18:41:43]Write to MH i2c: E2 08 00 16 57 80 0D 01 02 00 00 00 00 E6 [18:41:43]Write i2c OK [18:41:43]MH_I2C_Read... [18:41:43]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:41:43]Read from MH i2c: E2 [18:41:43]MH_I2C_Read... [18:41:43]Read from MH i2c: E2 03 00 [18:41:43]MH_I2C_Read... [18:41:43]Read from MH i2c: E2 03 00 16 57 00 90 00 E1 [18:41:43]RAPDU: 90 00 [18:41:43]wFMCommunicate OK [18:41:43]wFMCommunicate request_size=255 [18:41:43]MH_SAM_APDU [18:41:43]CAPDU: 80 0D 02 02 FA 03 00 0E 01 1E 04 01 00 01 23 04 60 00 8A 04 0B 00 35 38 34 31 31 31 32 35 37 34 39 06 04 1E 00 D0 A2 D0 B5 20 D1 81 D0 B0 D0 BC D1 8B D0 B5 20 D0 BC D0 B0 D0 BA D0 B0 D1 80 D0 BE D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 38 4A 00 00 00 00 13 04 06 00 38 4A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 4A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 07 00 00 00 00 07 04 06 00 38 4A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 F7 A1 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 [18:41:43]Write to MH i2c: E2 02 01 17 57 80 0D 02 02 FA 00 03 00 0E 01 1E 04 01 00 01 23 04 60 00 8A 04 0B 00 35 38 34 31 31 31 32 35 37 34 39 06 04 1E 00 D0 A2 D0 B5 20 D1 81 D0 B0 D0 BC D1 8B D0 B5 20 D0 BC D0 B0 D0 BA D0 B0 D1 80 D0 BE D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 38 4A 00 00 00 00 13 04 06 00 38 4A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 4A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 07 00 00 00 00 07 04 06 00 38 4A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 F7 A1 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 00 00 2B [18:41:43]Write i2c OK [18:41:43]MH_I2C_Read... [18:41:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:41:44]Read from MH i2c: E2 [18:41:44]MH_I2C_Read... [18:41:44]Read from MH i2c: E2 03 00 [18:41:44]MH_I2C_Read... [18:41:44]Read from MH i2c: E2 03 00 17 57 00 90 00 E2 [18:41:44]RAPDU: 90 00 [18:41:44]wFMCommunicate OK [18:41:44]wFMCommunicate request_size=29 [18:41:44]MH_SAM_APDU [18:41:44]CAPDU: 80 0D 02 02 18 38 37 31 38 31 36 10 04 04 00 02 B9 00 00 35 04 06 00 23 A5 16 77 09 82 [18:41:44]Write to MH i2c: E2 20 00 18 57 80 0D 02 02 18 00 38 37 31 38 31 36 10 04 04 00 02 B9 00 00 35 04 06 00 23 A5 16 77 09 82 00 00 4A [18:41:44]Write i2c OK [18:41:44]MH_I2C_Read... [18:41:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:41:44]Read from MH i2c: E2 [18:41:44]MH_I2C_Read... [18:41:44]Read from MH i2c: E2 03 00 [18:41:44]MH_I2C_Read... [18:41:44]Read from MH i2c: E2 03 00 18 57 00 90 00 E3 [18:41:44]RAPDU: 90 00 [18:41:44]wFMCommunicate OK [18:41:44]wFMCommunicate request_size=4 [18:41:44]MH_SAM_APDU [18:41:44]CAPDU: 80 0D 03 02 [18:41:44]Write to MH i2c: E2 08 00 19 57 80 0D 03 02 00 00 00 00 EB [18:41:44]Write i2c OK [18:41:44]MH_I2C_Read... [18:41:44]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:41:44]Read from MH i2c: E2 [18:41:44]MH_I2C_Read... [18:41:44]Read from MH i2c: E2 0B 00 [18:41:44]MH_I2C_Read... [18:41:44]Read from MH i2c: E2 0B 00 19 57 00 9D 63 C0 0F 70 EC BF 36 90 00 0C [18:41:44]RAPDU: 9D 63 C0 0F 70 EC BF 36 90 00 [18:41:44]wFMCommunicate OK [18:41:44]SAM_PROTO_SignData done [18:41:44]FM_MakeSignedData done [18:41:44]CreateOFDProtocolMessage [18:41:44]wFMCommunicate request_size=4 [18:41:44]MH_SAM_APDU [18:41:44]CAPDU: 80 11 00 00 [18:41:44]Write to MH i2c: E2 08 00 1A 57 80 11 00 00 00 00 00 00 EB [18:41:44]Write i2c OK [18:41:44]MH_I2C_Read... [18:41:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:41:44]Read from MH i2c: E2 [18:41:44]MH_I2C_Read... [18:41:44]Read from MH i2c: E2 17 00 [18:41:44]MH_I2C_Read... [18:41:44]Read from MH i2c: E2 17 00 1A 57 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 3D [18:41:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [18:41:44]wFMCommunicate OK [18:41:44]CreateOFDProtocolMessage done [18:41:44]OFDSenderStorePacket 47362 [18:41:44]StoreOFDPacket docnum=47362 [18:41:44]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 22 01 00 00 A6 FE 1A 01 9E 24 5A 03 01 00 03 00 0E 01 1E 04 01 00 01 23 04 60 00 8A 04 0B 00 35 38 34 31 31 31 32 35 37 34 39 06 04 1E 00 D0 A2 D0 B5 20 D1 81 D0 B0 D0 BC D1 8B D0 B5 20 D0 BC D0 B0 D0 BA D0 B0 D1 80 D0 BE D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 38 4A 00 00 00 00 13 04 06 00 38 4A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 4A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 07 00 00 00 00 07 04 06 00 38 4A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 F7 A1 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 02 B9 00 00 35 04 06 00 23 A5 16 77 09 82 9D 63 C0 0F 70 EC BF 36 [18:41:44]CheckFolder [18:41:44]dirname=/storage/ofd_packets [18:41:44]CheckFolder done [18:41:44]ProducePacketName [18:41:44]name=ofd_packets/00047362 [18:41:44]NVStorageSaveData ofd_packets/00047362 [18:41:44]File name is /storage/ofd_packets/00047362 [18:41:44]Write 320 bytes [18:41:44]NVStorageSaveData done [18:41:44]OFDSenderStorePacket done [18:41:44]KKMCreateOFDPacket done [18:41:44]NVStorageSaveData kkm_last_timestamp [18:41:44]File name is /storage/kkm_last_timestamp [18:41:44]Write 4 bytes [18:41:44]NVStorageSaveData done [18:41:44]ExternCall_PrintAddStr [18:41:44]wPrintStart [18:41:44]Write to MH i2c: 01 00 00 1B 57 72 [18:41:44]Write i2c OK [18:41:44]MH_I2C_Read... [18:41:44]Read from MH i2c: 01 [18:41:44]MH_I2C_Read... [18:41:44]Read from MH i2c: 01 07 00 [18:41:44]MH_I2C_Read... [18:41:44]Read from MH i2c: 01 07 00 1B 57 00 00 00 00 00 FF 0F 87 [18:41:44]RasterBufferAndPrint [18:41:44]line Счет N : (3)242276 [18:41:44]line ИНН: 02508201610067 [18:41:44]line Контрольно-Кассовый Чек [18:41:44]line ПРОДАЖА [18:41:44]line Товар: 58411125749 [18:41:44]line Те самые макарон [18:41:44]line 1.000 * 190.00 [18:41:44]line = 190.00 [18:41:44]line НДС 12% НСП 1% [18:41:44]line > о реализуемом товаре [18:41:44]line ИТОГО: 190.00 [18:41:44]line НСП 1% : 1.68 [18:41:44]line НДС 12% : 20.18 [18:41:44]line Наличными: 190.00 [18:41:44]line Безнал.: 0.00 [18:41:44]line Место: АЗС № 15 "Партнер Нефть" [18:41:44]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [18:41:44]line СНО: Общий режим [18:41:44]line Чек 40 12.03.2024 18:41 [18:41:44]line Смена: 314 ФФД: 1.0 [18:41:44]line ЗНМ: 0300000097 [18:41:44]line РНМ: 0000000000092018 [18:41:44]line Версия ККМ: 001 [18:41:44]line ФМ: 0000000000871816 [18:41:44]line ФД: 47362 [18:41:44]line ФПД: 39191953475970 [18:41:44]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T184159&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47362&fm=39191953475970&tin=02508201610067®Number=0000000000092018&sum=19000 [18:41:44]OFD Sender: Processing packet 47362 [packets to send 8, broken 7] [18:41:44]ProducePacketName [18:41:44]name=ofd_packets/00047362 [18:41:44]OFD Sender: To server: pG, [18:41:44]CommunicateWithHost lk.salyk.kg:30040 [18:41:44]ConnectInit lk.salyk.kg [18:41:44]line 0 [18:41:44]written 0, free lines is 4095 [18:41:44]Connected sock=10 [18:41: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 31 36 22 01 00 00 A6 FE 1A 01 9E 24 5A 03 01 00 03 00 0E 01 1E 04 01 00 01 23 04 60 00 8A 04 0B 00 35 38 34 31 31 31 32 35 37 34 39 06 04 1E 00 D0 A2 D0 B5 20 D1 81 D0 B0 D0 BC D1 8B D0 B5 20 D0 BC D0 B0 D0 BA D0 B0 D1 80 D0 BE D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 38 4A 00 00 00 00 13 04 06 00 38 4A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 4A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 07 00 00 00 00 07 04 06 00 38 4A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 F7 A1 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 02 B9 00 00 35 04 06 00 23 A5 16 77 09 82 9D 63 C0 0F 70 EC BF 36 [18:41: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 31 36 4F 00 00 00 7D 1A 47 00 F2 CB A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 02 B9 00 00 F4 03 04 00 88 4C F0 65 B6 04 01 00 00 52 42 03 C3 29 8C FB 47 [18:41:45]CommunicateWithHost err = 0 [18:41:45]CheckOFDResponse [18:41:45]1017 (14) - 77093643461234 [18:41:45]1041 (16) - 0000000000871816 [18:41:45]1040 (4) - 47362 [18:41:45]1012 (4) - 12.03.2024 12:37 [18:41:45]1206 (1) - 0 [18:41:45]OFD Sender: Remove packet 47362 [18:41:45]ProducePacketName [18:41:45]name=ofd_packets/00047362 [18:41:45]NVStorageDeleteData [18:41:45]Write to MH i2c: 01 00 00 43 57 9A [18:41:45]Write i2c OK [18:41:45]MH_I2C_Read... [18:41:45]Read from MH i2c: 01 [18:41:45]MH_I2C_Read... [18:41:45]Read from MH i2c: 01 07 00 [18:41:45]MH_I2C_Read... [18:41:45]Read from MH i2c: 01 07 00 43 57 00 00 00 00 00 EB 0C 98 [18:41:45]RasterBufferAndPrint [18:41:45]line [18:41:45]line [18:41:45]line [18:41:45]line [18:41:45]line [18:41:45]written 0, free lines is 3313 [18:41:45]MH_Cut [18:41:45]Write to MH i2c: D1 01 00 4A 57 01 73 [18:41:45]Write i2c OK [18:41:45]MH_I2C_Read... [18:41:45]Read from MH i2c: D1 [18:41:45]MH_I2C_Read... [18:41:45]Read from MH i2c: D1 01 00 [18:41:45]MH_I2C_Read... [18:41:45]Read from MH i2c: D1 01 00 4A 57 00 72 [18:41:45]Write to MH i2c: 01 00 00 4B 57 A2 [18:41:45]Write i2c OK [18:41:45]MH_I2C_Read... [18:41:45]OFD Sender: No OFD packet to send [18:41:45]*** Cut start [18:41:45]*** Purtial cut [18:41:45]*** Stage 1: CUTSNS_PIN = 1 [18:41:46]Read from MH i2c: 01 [18:41:46]MH_I2C_Read... [18:41:46]*** Stop cut motor [18:41:46]*** Cut end [18:41:46]Read from MH i2c: 01 07 00 [18:41:46]MH_I2C_Read... [18:41:46]Read from MH i2c: 01 07 00 4B 57 00 00 00 00 00 FF 0F B7 [18:41:46]process_action close_receipt done [18:41:46]requested_data is exist [18:41:46]produce_requested_data [18:41:46]requested_item fm.sn is exist - process it [18:41:46]wFMCommunicate request_size=4 [18:41:46]MH_SAM_APDU [18:41:46]CAPDU: 80 11 00 00 [18:41:46]Write to MH i2c: E2 08 00 4C 57 80 11 00 00 00 00 00 00 1D [18:41:46]Write i2c OK [18:41:46]MH_I2C_Read... [18:41:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:41:46]Read from MH i2c: E2 [18:41:46]MH_I2C_Read... [18:41:46]Read from MH i2c: E2 17 00 [18:41:46]MH_I2C_Read... [18:41:46]Read from MH i2c: E2 17 00 4C 57 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 6F [18:41:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [18:41:46]wFMCommunicate OK [18:41:46]requested_item fd.num is exist - process it [18:41:46]SAM_PROTO_GetFieldsCounters [18:41:46]wFMCommunicate request_size=4 [18:41:46]MH_SAM_APDU [18:41:46]CAPDU: 80 13 00 00 [18:41:46]Write to MH i2c: E2 08 00 4D 57 80 13 00 00 00 00 00 00 20 [18:41:46]Write i2c OK [18:41:46]MH_I2C_Read... [18:41:46]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:41:46]Read from MH i2c: E2 [18:41:46]MH_I2C_Read... [18:41:46]Read from MH i2c: E2 62 00 [18:41:46]MH_I2C_Read... [18:41:46]Read from MH i2c: E2 62 00 4D 57 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 02 B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 28 00 00 00 5E 04 04 00 28 00 00 00 57 04 04 00 29 00 00 00 19 04 04 00 00 00 00 00 90 00 A9 [18:41: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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 02 B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 28 00 00 00 5E 04 04 00 28 00 00 00 57 04 04 00 29 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:41:46]wFMCommunicate OK [18:41:46]SAM_PROTO_GetFieldsCounters done [18:41:46]requested_item shift.num is exist - process it [18:41:46]requested_item shift.opened is exist - process it [18:41:46]req_shift_opened [18:41:46]FM_GetShiftState [18:41:46]SAM_PROTO_GetShiftState [18:41:46]wFMCommunicate request_size=4 [18:41:46]MH_SAM_APDU [18:41:46]CAPDU: 80 13 01 00 [18:41:46]Write to MH i2c: E2 08 00 4E 57 80 13 01 00 00 00 00 00 22 [18:41:46]Write i2c OK [18:41:46]MH_I2C_Read... [18:41:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:41:46]Read from MH i2c: E2 [18:41:46]MH_I2C_Read... [18:41:46]Read from MH i2c: E2 0E 00 [18:41:46]MH_I2C_Read... [18:41:46]Read from MH i2c: E2 0E 00 4E 57 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 51 [18:41:46]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [18:41:46]wFMCommunicate OK [18:41:46]SAM_PROTO_GetShiftState done [18:41:46]FM_GetShiftState done [18:41:46]req_shift_opened done [18:41:46]requested_item shift.open_date is exist - process it [18:41:46]req_shift_open_date [18:41:46]req_shift_open_date done [18:41:46]produce_requested_data done [18:41:46]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47362,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [18:41:46]process_action_free close_receipt [18:41:46]json_value_free [18:41:46]json_value_free done [18:41:46]process_json_proto returns [18:41:46]Send response to host [18:41:46]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47362,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [18:41:46]free response buf [18:41:46]execute_script done [18:41:46]execute_script returns [18:41:46]free content buf [18:41:46]Sock 7.Close socket [18:41:46]Sock 7.Thread stoped [18:41:50]OFD Sender: No OFD packet to send [18:41:55]OFD Sender: No OFD packet to send [18:42:00]OFD Sender: No OFD packet to send [18:42:05]OFD Sender: No OFD packet to send [18:42:10]OFD Sender: No OFD packet to send [18:42:15]OFD Sender: No OFD packet to send [18:42:20]OFD Sender: No OFD packet to send [18:42:25]OFD Sender: No OFD packet to send [18:42:30]OFD Sender: No OFD packet to send [18:42:35]OFD Sender: No OFD packet to send [18:42:39]accept exits with 9 [18:42:39]New connection [18:42:39]New thread 3066596708 created [18:42:39]Thread 3066453348 joined [18:42:39]Waiting for new connection... [18:42:39] Sock 9.Parse request [18:42:39]Sock 9.Check first char [18:42:39]Sock 9.First char is OK [18:42:39]request: POST /json_proto HTTP/1.0 [18:42:39]Method: POST [18:42:39]URL: /json_proto [18:42:39]Method is POST - this is cgi request [18:42:39]url: /json_proto [18:42:39]query_string will be loaded in cgi processing [18:42:39]execute_cgi json_proto POST (null) [18:42:39]execute_cgi path=json_proto method=POST [18:42:39]POST find Content-Length [18:42:39]Host: 172.17.32.68:8080 [18:42:39]Content-Length: 646 [18:42:39]Content-Type: application/json [18:42:39] [18:42:39]POST finish read [18:42:39]Found Content-Length = 646 [18:42:39]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242277", "tax_sys" : 0, "items" : [ { "code": "90162602", "name": "\u042D\u043D\u0435\u0440\u0433 \u043D\u0430\u043F\u0438\u0442\u043E\u043A Red bull 0,25\u043B", "price" : 170.00, "quantity" : 1.000, "sum" : 170.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 170.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:42:39]execute_script... [18:42: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)242277", "tax_sys" : 0, "items" : [ { "code": "90162602", "name": "\u042D\u043D\u0435\u0440\u0433 \u043D\u0430\u043F\u0438\u0442\u043E\u043A Red bull 0,25\u043B", "price" : 170.00, "quantity" : 1.000, "sum" : 170.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 170.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:42:39]POST & json_proto [18:42:39]process_json_proto [18:42:39]json parsed OK: [18:42:39]protocol is kg_v1.0 [18:42:39]action value=close_receipt [18:42:39]process_action close_receipt [18:42:39]cmd_close_receipt [18:42:39]MH_GetDate [18:42:39]Write to MH i2c: F0 00 00 4F 57 95 [18:42:39]Write i2c OK [18:42:39]MH_I2C_Read... [18:42:39]Read from MH i2c: F0 [18:42:39]MH_I2C_Read... [18:42:39]Read from MH i2c: F0 09 00 [18:42:39]MH_I2C_Read... [18:42:39]Read from MH i2c: F0 09 00 4F 57 00 30 A2 F0 65 0A 64 6E 65 06 [18:42:39]GetLastDocTimeStamp 1710268919 [18:42:39]current date 1710268976 [18:42:39]FM_GetShiftState [18:42:39]SAM_PROTO_GetShiftState [18:42:39]wFMCommunicate request_size=4 [18:42:39]MH_SAM_APDU [18:42:39]CAPDU: 80 13 01 00 [18:42:39]Write to MH i2c: E2 08 00 50 57 80 13 01 00 00 00 00 00 24 [18:42:39]Write i2c OK [18:42:39]MH_I2C_Read... [18:42:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:42:39]Read from MH i2c: E2 [18:42:39]MH_I2C_Read... [18:42:39]Read from MH i2c: E2 0E 00 [18:42:39]MH_I2C_Read... [18:42:39]Read from MH i2c: E2 0E 00 50 57 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 53 [18:42:39]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [18:42:39]wFMCommunicate OK [18:42:39]SAM_PROTO_GetShiftState done [18:42:39]FM_GetShiftState done [18:42:39]opened in 1710202417 [18:42:39]opened+sec_in_day 1710288817 [18:42:39]quantity*price = 17000 [18:42:39]sum+1 = 17001 [18:42:39]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 170.00 НСП 1% : 1.50 НДС 12% : 18.05 Наличными: 170.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 41 12.03.2024 18:42 Смена: 314 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47363 ФПД: 215033032492985 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T184256&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47363&fm=215033032492985&tin=02508201610067®Number=0000000000092018&sum=17000 0 [18:42:40]StoreToDocumentArchive [18:42:40]shift 314 fd 47363 [18:42:40]save to /storage/0314/doc_00047363 [18:42:40]save last doc name /storage/0314/doc_00047363 to /storage/kkm_last_doc_name [18:42:40]save OK [18:42:40]Clear old archive folders... [18:42:40]ProcessDocumentItem done err = 0, tmpTLVsize=278 [18:42:40]tlvbuf is 003E0BF0 [18:42:40]SAM_PROTO_ClearQueue [18:42:40]wFMCommunicate request_size=4 [18:42:40]MH_SAM_APDU [18:42:40]CAPDU: 80 09 00 00 [18:42:40]Write to MH i2c: E2 08 00 5D 57 80 09 00 00 00 00 00 00 26 [18:42:40]Write i2c OK [18:42:40]MH_I2C_Read... [18:42:40]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:42:40]Read from MH i2c: E2 [18:42:40]MH_I2C_Read... [18:42:40]Read from MH i2c: E2 03 00 [18:42:40]MH_I2C_Read... [18:42:40]Read from MH i2c: E2 03 00 5D 57 00 90 00 28 [18:42:40]RAPDU: 90 00 [18:42:40]wFMCommunicate OK [18:42:40]SAM_PROTO_ClearQueue done [18:42:40]KKMCreateOFDPacket [18:42:40]OFDProtocolAddRootSTLVToBuf [18:42:40]FM_MakeSignedData [18:42:40]FM_MakeSignedData [18:42:40]SAM_PROTO_SignData [18:42:40]wFMCommunicate request_size=4 [18:42:40]MH_SAM_APDU [18:42:40]CAPDU: 80 0D 01 02 [18:42:40]Write to MH i2c: E2 08 00 5E 57 80 0D 01 02 00 00 00 00 2E [18:42:40]Write i2c OK [18:42:40]MH_I2C_Read... [18:42:40]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:42:40]Read from MH i2c: E2 [18:42:40]MH_I2C_Read... [18:42:40]Read from MH i2c: E2 03 00 [18:42:40]MH_I2C_Read... [18:42:40]Read from MH i2c: E2 03 00 5E 57 00 90 00 29 [18:42:40]RAPDU: 90 00 [18:42:40]wFMCommunicate OK [18:42:40]wFMCommunicate request_size=255 [18:42:40]MH_SAM_APDU [18:42:40]CAPDU: 80 0D 02 02 FA 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 39 30 31 36 32 36 30 32 06 04 29 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 62 75 6C 6C 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 07 00 00 00 00 07 04 06 00 68 42 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 30 A2 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 [18:42:40]Write to MH i2c: E2 02 01 5F 57 80 0D 02 02 FA 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 39 30 31 36 32 36 30 32 06 04 29 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 62 75 6C 6C 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 07 00 00 00 00 07 04 06 00 68 42 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 30 A2 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 00 00 EC [18:42:40]Write i2c OK [18:42:40]MH_I2C_Read... [18:42:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:42:41]Read from MH i2c: E2 [18:42:41]MH_I2C_Read... [18:42:41]Read from MH i2c: E2 03 00 [18:42:41]MH_I2C_Read... [18:42:41]Read from MH i2c: E2 03 00 5F 57 00 90 00 2A [18:42:41]RAPDU: 90 00 [18:42:41]wFMCommunicate OK [18:42:41]wFMCommunicate request_size=37 [18:42:41]MH_SAM_APDU [18:42:41]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 03 B9 00 00 35 04 06 00 C3 92 47 84 47 B9 [18:42:41]Write to MH i2c: E2 28 00 60 57 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 03 B9 00 00 35 04 06 00 C3 92 47 84 47 B9 00 00 63 [18:42:41]Write i2c OK [18:42:41]MH_I2C_Read... [18:42:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:42:41]Read from MH i2c: E2 [18:42:41]MH_I2C_Read... [18:42:41]Read from MH i2c: E2 03 00 [18:42:41]MH_I2C_Read... [18:42:41]Read from MH i2c: E2 03 00 60 57 00 90 00 2B [18:42:41]RAPDU: 90 00 [18:42:41]wFMCommunicate OK [18:42:41]wFMCommunicate request_size=4 [18:42:41]MH_SAM_APDU [18:42:41]CAPDU: 80 0D 03 02 [18:42:41]Write to MH i2c: E2 08 00 61 57 80 0D 03 02 00 00 00 00 33 [18:42:41]Write i2c OK [18:42:41]MH_I2C_Read... [18:42:41]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:42:41]Read from MH i2c: E2 [18:42:41]MH_I2C_Read... [18:42:41]Read from MH i2c: E2 0B 00 [18:42:41]MH_I2C_Read... [18:42:41]Read from MH i2c: E2 0B 00 61 57 00 5C F5 B3 ED AB 49 8E A1 90 00 48 [18:42:41]RAPDU: 5C F5 B3 ED AB 49 8E A1 90 00 [18:42:41]wFMCommunicate OK [18:42:41]SAM_PROTO_SignData done [18:42:41]FM_MakeSignedData done [18:42:41]CreateOFDProtocolMessage [18:42:41]wFMCommunicate request_size=4 [18:42:41]MH_SAM_APDU [18:42:41]CAPDU: 80 11 00 00 [18:42:41]Write to MH i2c: E2 08 00 62 57 80 11 00 00 00 00 00 00 33 [18:42:41]Write i2c OK [18:42:41]MH_I2C_Read... [18:42:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:42:41]Read from MH i2c: E2 [18:42:41]MH_I2C_Read... [18:42:41]Read from MH i2c: E2 17 00 [18:42:41]MH_I2C_Read... [18:42:41]Read from MH i2c: E2 17 00 62 57 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 85 [18:42:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [18:42:41]wFMCommunicate OK [18:42:41]CreateOFDProtocolMessage done [18:42:41]OFDSenderStorePacket 47363 [18:42:41]StoreOFDPacket docnum=47363 [18:42:41]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 2A 01 00 00 CC 30 22 01 67 FF 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 39 30 31 36 32 36 30 32 06 04 29 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 62 75 6C 6C 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 07 00 00 00 00 07 04 06 00 68 42 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 30 A2 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 03 B9 00 00 35 04 06 00 C3 92 47 84 47 B9 5C F5 B3 ED AB 49 8E A1 [18:42:41]CheckFolder [18:42:41]dirname=/storage/ofd_packets [18:42:41]CheckFolder done [18:42:41]ProducePacketName [18:42:41]name=ofd_packets/00047363 [18:42:41]NVStorageSaveData ofd_packets/00047363 [18:42:41]File name is /storage/ofd_packets/00047363 [18:42:41]Write 328 bytes [18:42:41]NVStorageSaveData done [18:42:41]OFDSenderStorePacket done [18:42:41]KKMCreateOFDPacket done [18:42:41]NVStorageSaveData kkm_last_timestamp [18:42:41]File name is /storage/kkm_last_timestamp [18:42:41]OFD Sender: Processing packet 47363 [packets to send 8, broken 7] [18:42:41]ProducePacketName [18:42:41]name=ofd_packets/00047363 [18:42:41]OFD Sender: To server: pG, [18:42:41]CommunicateWithHost lk.salyk.kg:30040 [18:42:41]ConnectInit lk.salyk.kg [18:42:41]Write 4 bytes [18:42:41]NVStorageSaveData done [18:42:41]ExternCall_PrintAddStr [18:42:41]wPrintStart [18:42:41]Write to MH i2c: 01 00 00 63 57 BA [18:42:41]Write i2c OK [18:42:41]MH_I2C_Read... [18:42:41]Read from MH i2c: 01 [18:42:41]MH_I2C_Read... [18:42:41]Read from MH i2c: 01 07 00 [18:42:41]MH_I2C_Read... [18:42:41]Read from MH i2c: 01 07 00 63 57 00 00 00 00 00 FF 0F CF [18:42:41]RasterBufferAndPrint [18:42:41]line Счет N : (3)242277 [18:42:41]line ИНН: 02508201610067 [18:42:41]line Контрольно-Кассовый Чек [18:42:41]line ПРОДАЖА [18:42:41]line Товар: 90162602 [18:42:41]line Энерг напиток Red bull 0,25л [18:42:41]line 1.000 * 170.00 [18:42:41]line = 170.00 [18:42:41]line НДС 12% НСП 1% [18:42:41]line > о реализуемом товаре [18:42:41]line ИТОГО: 170.00 [18:42:41]line НСП 1% : 1.50 [18:42:41]line НДС 12% : 18.05 [18:42:41]line Наличными: 170.00 [18:42:41]line Безнал.: 0.00 [18:42:41]line Место: АЗС № 15 "Партнер Нефть" [18:42:41]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [18:42:41]line СНО: Общий режим [18:42:41]line Чек 41 12.03.2024 18:42 [18:42:41]line Смена: 314 ФФД: 1.0 [18:42:41]line ЗНМ: 0300000097 [18:42:41]line РНМ: 0000000000092018 [18:42:41]line Версия ККМ: 001 [18:42:41]line ФМ: 0000000000871816 [18:42:41]line ФД: 47363 [18:42:41]line ФПД: 215033032492985 [18:42:41]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T184256&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47363&fm=215033032492985&tin=02508201610067®Number=0000000000092018&sum=17000 [18:42:41]line 0 [18:42:41]Connected sock=11 [18:42: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 31 36 2A 01 00 00 CC 30 22 01 67 FF 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 39 30 31 36 32 36 30 32 06 04 29 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 62 75 6C 6C 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 07 00 00 00 00 07 04 06 00 68 42 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 30 A2 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 03 B9 00 00 35 04 06 00 C3 92 47 84 47 B9 5C F5 B3 ED AB 49 8E A1 [18:42:41]written 0, free lines is 4095 [18:42: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 31 36 4F 00 00 00 7C 27 47 00 96 EF A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 03 B9 00 00 F4 03 04 00 C1 4C F0 65 B6 04 01 00 00 42 A1 66 C2 E8 22 2E 25 [18:42:41]CommunicateWithHost err = 0 [18:42:41]CheckOFDResponse [18:42:41]1017 (14) - 77093643461234 [18:42:41]1041 (16) - 0000000000871816 [18:42:41]1040 (4) - 47363 [18:42:41]1012 (4) - 12.03.2024 12:38 [18:42:41]1206 (1) - 0 [18:42:41]OFD Sender: Remove packet 47363 [18:42:41]ProducePacketName [18:42:41]name=ofd_packets/00047363 [18:42:41]NVStorageDeleteData [18:42:42]Write to MH i2c: 01 00 00 8B 57 E2 [18:42:42]Write i2c OK [18:42:42]MH_I2C_Read... [18:42:42]Read from MH i2c: 01 [18:42:42]MH_I2C_Read... [18:42:42]Read from MH i2c: 01 07 00 [18:42:42]MH_I2C_Read... [18:42:42]Read from MH i2c: 01 07 00 8B 57 00 00 00 00 00 F7 0C EC [18:42:42]RasterBufferAndPrint [18:42:42]line [18:42:42]line [18:42:42]line [18:42:42]line [18:42:42]line [18:42:42]written 0, free lines is 3325 [18:42:42]MH_Cut [18:42:42]Write to MH i2c: D1 01 00 92 57 01 BB [18:42:42]Write i2c OK [18:42:42]MH_I2C_Read... [18:42:42]Read from MH i2c: D1 [18:42:42]MH_I2C_Read... [18:42:42]Read from MH i2c: D1 01 00 [18:42:42]MH_I2C_Read... [18:42:42]Read from MH i2c: D1 01 00 92 57 00 BA [18:42:42]Write to MH i2c: 01 00 00 93 57 EA [18:42:42]Write i2c OK [18:42:42]MH_I2C_Read... [18:42:42]OFD Sender: No OFD packet to send [18:42:42]*** Cut start [18:42:42]*** Purtial cut [18:42:42]*** Stage 1: CUTSNS_PIN = 1 [18:42:43]Read from MH i2c: 01 [18:42:43]MH_I2C_Read... [18:42:43]*** Stop cut motor [18:42:43]*** Cut end [18:42:43]Read from MH i2c: 01 07 00 [18:42:43]MH_I2C_Read... [18:42:43]Read from MH i2c: 01 07 00 93 57 00 00 00 00 00 FF 0F FF [18:42:43]process_action close_receipt done [18:42:43]requested_data is exist [18:42:43]produce_requested_data [18:42:43]requested_item fm.sn is exist - process it [18:42:43]wFMCommunicate request_size=4 [18:42:43]MH_SAM_APDU [18:42:43]CAPDU: 80 11 00 00 [18:42:43]Write to MH i2c: E2 08 00 94 57 80 11 00 00 00 00 00 00 65 [18:42:43]Write i2c OK [18:42:43]MH_I2C_Read... [18:42:43]Read from MH i2c: E2 [18:42:43]MH_I2C_Read... [18:42:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:42:43]Read from MH i2c: E2 17 00 [18:42:43]MH_I2C_Read... [18:42:43]Read from MH i2c: E2 17 00 94 57 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 B7 [18:42:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [18:42:43]wFMCommunicate OK [18:42:43]requested_item fd.num is exist - process it [18:42:43]SAM_PROTO_GetFieldsCounters [18:42:43]wFMCommunicate request_size=4 [18:42:43]MH_SAM_APDU [18:42:43]CAPDU: 80 13 00 00 [18:42:43]Write to MH i2c: E2 08 00 95 57 80 13 00 00 00 00 00 00 68 [18:42:43]Write i2c OK [18:42:43]MH_I2C_Read... [18:42:43]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:42:43]Read from MH i2c: E2 [18:42:43]MH_I2C_Read... [18:42:43]Read from MH i2c: E2 62 00 [18:42:43]MH_I2C_Read... [18:42:43]Read from MH i2c: E2 62 00 95 57 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 03 B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 29 00 00 00 5E 04 04 00 29 00 00 00 57 04 04 00 2A 00 00 00 19 04 04 00 00 00 00 00 90 00 F5 [18:42: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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 03 B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 29 00 00 00 5E 04 04 00 29 00 00 00 57 04 04 00 2A 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:42:43]wFMCommunicate OK [18:42:43]SAM_PROTO_GetFieldsCounters done [18:42:43]requested_item shift.num is exist - process it [18:42:43]requested_item shift.opened is exist - process it [18:42:43]req_shift_opened [18:42:43]FM_GetShiftState [18:42:43]SAM_PROTO_GetShiftState [18:42:43]wFMCommunicate request_size=4 [18:42:43]MH_SAM_APDU [18:42:43]CAPDU: 80 13 01 00 [18:42:43]Write to MH i2c: E2 08 00 96 57 80 13 01 00 00 00 00 00 6A [18:42:43]Write i2c OK [18:42:43]MH_I2C_Read... [18:42:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:42:43]Read from MH i2c: E2 [18:42:43]MH_I2C_Read... [18:42:43]Read from MH i2c: E2 0E 00 [18:42:43]MH_I2C_Read... [18:42:43]Read from MH i2c: E2 0E 00 96 57 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 99 [18:42:43]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [18:42:43]wFMCommunicate OK [18:42:43]SAM_PROTO_GetShiftState done [18:42:43]FM_GetShiftState done [18:42:43]req_shift_opened done [18:42:43]requested_item shift.open_date is exist - process it [18:42:43]req_shift_open_date [18:42:43]req_shift_open_date done [18:42:43]produce_requested_data done [18:42:43]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47363,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [18:42:43]process_action_free close_receipt [18:42:43]json_value_free [18:42:43]json_value_free done [18:42:43]process_json_proto returns [18:42:43]Send response to host [18:42:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47363,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [18:42:43]free response buf [18:42:43]execute_script done [18:42:43]execute_script returns [18:42:43]free content buf [18:42:43]Sock 9.Close socket [18:42:43]Sock 9.Thread stoped [18:42:47]OFD Sender: No OFD packet to send [18:42:52]OFD Sender: No OFD packet to send [18:42:57]OFD Sender: No OFD packet to send [18:43:02]OFD Sender: No OFD packet to send [18:43:03]accept exits with 7 [18:43:03]New connection [18:43:03]New thread 3066453348 created [18:43:03]Thread 3066596708 joined [18:43:03]Waiting for new connection... [18:43:03] Sock 7.Parse request [18:43:03]Sock 7.Check first char [18:43:03]Sock 7.First char is OK [18:43:03]request: POST /json_proto HTTP/1.0 [18:43:03]Method: POST [18:43:03]URL: /json_proto [18:43:03]Method is POST - this is cgi request [18:43:03]url: /json_proto [18:43:03]query_string will be loaded in cgi processing [18:43:03]execute_cgi json_proto POST (null) [18:43:03]execute_cgi path=json_proto method=POST [18:43:03]POST find Content-Length [18:43:03]Host: 172.17.32.68:8080 [18:43:03]Content-Length: 706 [18:43:03]Content-Type: application/json [18:43:03] [18:43:03]POST finish read [18:43:03]Found Content-Length = 706 [18:43:03]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale_refund", "base_FD": 47363, "base_FM": "0000000000871816", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242277", "tax_sys" : 0, "items" : [ { "code": "90162602", "name": "\u042D\u043D\u0435\u0440\u0433 \u043D\u0430\u043F\u0438\u0442\u043E\u043A Red bull 0,25\u043B", "price" : 170.00, "quantity" : 1.000, "sum" : 170.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 170.00 } ], "post_footer_text": "47363" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:43:03]execute_script... [18:43:03]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale_refund", "base_FD": 47363, "base_FM": "0000000000871816", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242277", "tax_sys" : 0, "items" : [ { "code": "90162602", "name": "\u042D\u043D\u0435\u0440\u0433 \u043D\u0430\u043F\u0438\u0442\u043E\u043A Red bull 0,25\u043B", "price" : 170.00, "quantity" : 1.000, "sum" : 170.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 170.00 } ], "post_footer_text": "47363" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:43:03]POST & json_proto [18:43:03]process_json_proto [18:43:03]json parsed OK: [18:43:03]protocol is kg_v1.0 [18:43:03]action value=close_receipt [18:43:03]process_action close_receipt [18:43:03]cmd_close_receipt [18:43:03]MH_GetDate [18:43:03]Write to MH i2c: F0 00 00 97 57 DD [18:43:03]Write i2c OK [18:43:03]MH_I2C_Read... [18:43:03]Read from MH i2c: F0 [18:43:03]MH_I2C_Read... [18:43:03]Read from MH i2c: F0 09 00 [18:43:03]MH_I2C_Read... [18:43:03]Read from MH i2c: F0 09 00 97 57 00 48 A2 F0 65 0A 64 6E 65 66 [18:43:03]GetLastDocTimeStamp 1710268976 [18:43:03]current date 1710269000 [18:43:03]FM_GetShiftState [18:43:03]SAM_PROTO_GetShiftState [18:43:03]wFMCommunicate request_size=4 [18:43:03]MH_SAM_APDU [18:43:03]CAPDU: 80 13 01 00 [18:43:03]Write to MH i2c: E2 08 00 98 57 80 13 01 00 00 00 00 00 6C [18:43:03]Write i2c OK [18:43:03]MH_I2C_Read... [18:43:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:43:03]Read from MH i2c: E2 [18:43:03]MH_I2C_Read... [18:43:03]Read from MH i2c: E2 0E 00 [18:43:03]MH_I2C_Read... [18:43:03]Read from MH i2c: E2 0E 00 98 57 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 9B [18:43:03]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [18:43:03]wFMCommunicate OK [18:43:03]SAM_PROTO_GetShiftState done [18:43:03]FM_GetShiftState done [18:43:03]opened in 1710202417 [18:43:03]opened+sec_in_day 1710288817 [18:43:03]quantity*price = 17000 [18:43:03]sum+1 = 17001 [18:43:03]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 170.00 НСП 1% : 1.50 НДС 12% : 18.05 Наличными: 170.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 42 12.03.2024 18:43 Смена: 314 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФД осн.: 47363 ФМ осн.: 0000000000871816 ФМ: 0000000000871816 ФД: 47364 ФПД: 222653582565775 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T184320&type=2&operation_type=1&fn_number=0000000000871816&fd_number=47364&fm=222653582565775&tin=02508201610067®Number=0000000000092018&sum=17000 47363 [18:43:04]StoreToDocumentArchive [18:43:04]shift 314 fd 47364 [18:43:04]save to /storage/0314/doc_00047364 [18:43:04]save last doc name /storage/0314/doc_00047364 to /storage/kkm_last_doc_name [18:43:04]save OK [18:43:04]Clear old archive folders... [18:43:04]ProcessDocumentItem done err = 0, tmpTLVsize=306 [18:43:04]tlvbuf is 003624D0 [18:43:04]SAM_PROTO_ClearQueue [18:43:04]wFMCommunicate request_size=4 [18:43:04]MH_SAM_APDU [18:43:04]CAPDU: 80 09 00 00 [18:43:04]Write to MH i2c: E2 08 00 A7 57 80 09 00 00 00 00 00 00 70 [18:43:04]Write i2c OK [18:43:04]MH_I2C_Read... [18:43:04]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:43:04]Read from MH i2c: E2 [18:43:04]MH_I2C_Read... [18:43:04]Read from MH i2c: E2 03 00 [18:43:04]MH_I2C_Read... [18:43:04]Read from MH i2c: E2 03 00 A7 57 00 90 00 72 [18:43:04]RAPDU: 90 00 [18:43:04]wFMCommunicate OK [18:43:04]SAM_PROTO_ClearQueue done [18:43:04]KKMCreateOFDPacket [18:43:04]OFDProtocolAddRootSTLVToBuf [18:43:04]FM_MakeSignedData [18:43:04]FM_MakeSignedData [18:43:04]SAM_PROTO_SignData [18:43:04]wFMCommunicate request_size=4 [18:43:04]MH_SAM_APDU [18:43:04]CAPDU: 80 0D 01 02 [18:43:04]Write to MH i2c: E2 08 00 A8 57 80 0D 01 02 00 00 00 00 78 [18:43:04]Write i2c OK [18:43:04]MH_I2C_Read... [18:43:04]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:43:04]Read from MH i2c: E2 [18:43:04]MH_I2C_Read... [18:43:04]Read from MH i2c: E2 03 00 [18:43:04]MH_I2C_Read... [18:43:04]Read from MH i2c: E2 03 00 A8 57 00 90 00 73 [18:43:04]RAPDU: 90 00 [18:43:04]wFMCommunicate OK [18:43:04]wFMCommunicate request_size=255 [18:43:04]MH_SAM_APDU [18:43:04]CAPDU: 80 0D 02 02 FA 03 00 32 01 1E 04 01 00 02 23 04 68 00 8A 04 08 00 39 30 31 36 32 36 30 32 06 04 29 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 62 75 6C 6C 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 07 00 00 00 00 07 04 06 00 68 42 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 48 A2 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 27 04 04 00 03 B9 [18:43:04]Write to MH i2c: E2 02 01 A9 57 80 0D 02 02 FA 00 03 00 32 01 1E 04 01 00 02 23 04 68 00 8A 04 08 00 39 30 31 36 32 36 30 32 06 04 29 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 62 75 6C 6C 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 07 00 00 00 00 07 04 06 00 68 42 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 48 A2 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 27 04 04 00 03 B9 00 00 D2 [18:43:04]Write i2c OK [18:43:04]MH_I2C_Read... [18:43:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:43:05]Read from MH i2c: E2 [18:43:05]MH_I2C_Read... [18:43:05]Read from MH i2c: E2 03 00 [18:43:05]MH_I2C_Read... [18:43:05]Read from MH i2c: E2 03 00 A9 57 00 90 00 74 [18:43:05]RAPDU: 90 00 [18:43:05]wFMCommunicate OK [18:43:05]wFMCommunicate request_size=65 [18:43:05]MH_SAM_APDU [18:43:05]CAPDU: 80 0D 02 02 3C 00 00 28 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 04 B9 00 00 35 04 06 00 CA 80 93 B2 61 8F [18:43:05]Write to MH i2c: E2 44 00 AA 57 80 0D 02 02 3C 00 00 00 28 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 04 B9 00 00 35 04 06 00 CA 80 93 B2 61 8F 00 00 25 [18:43:05]Write i2c OK [18:43:05]MH_I2C_Read... [18:43:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:43:05]Read from MH i2c: E2 [18:43:05]MH_I2C_Read... [18:43:05]Read from MH i2c: E2 03 00 [18:43:05]MH_I2C_Read... [18:43:05]Read from MH i2c: E2 03 00 AA 57 00 90 00 75 [18:43:05]RAPDU: 90 00 [18:43:05]wFMCommunicate OK [18:43:05]wFMCommunicate request_size=4 [18:43:05]MH_SAM_APDU [18:43:05]CAPDU: 80 0D 03 02 [18:43:05]Write to MH i2c: E2 08 00 AB 57 80 0D 03 02 00 00 00 00 7D [18:43:05]Write i2c OK [18:43:05]MH_I2C_Read... [18:43:05]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:43:05]Read from MH i2c: E2 [18:43:05]MH_I2C_Read... [18:43:05]Read from MH i2c: E2 0B 00 [18:43:05]MH_I2C_Read... [18:43:05]Read from MH i2c: E2 0B 00 AB 57 00 CD A6 93 34 36 74 92 1B 90 00 0F [18:43:05]RAPDU: CD A6 93 34 36 74 92 1B 90 00 [18:43:05]wFMCommunicate OK [18:43:05]SAM_PROTO_SignData done [18:43:05]FM_MakeSignedData done [18:43:05]CreateOFDProtocolMessage [18:43:05]wFMCommunicate request_size=4 [18:43:05]MH_SAM_APDU [18:43:05]CAPDU: 80 11 00 00 [18:43:05]Write to MH i2c: E2 08 00 AC 57 80 11 00 00 00 00 00 00 7D [18:43:05]Write i2c OK [18:43:05]MH_I2C_Read... [18:43:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:43:05]Read from MH i2c: E2 [18:43:05]MH_I2C_Read... [18:43:05]Read from MH i2c: E2 17 00 [18:43:05]MH_I2C_Read... [18:43:05]Read from MH i2c: E2 17 00 AC 57 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 CF [18:43:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [18:43:05]wFMCommunicate OK [18:43:05]CreateOFDProtocolMessage done [18:43:05]OFDSenderStorePacket 47364 [18:43:05]StoreOFDPacket docnum=47364 [18:43:05]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 46 01 00 00 32 57 3E 01 FE 60 5A 03 01 00 03 00 32 01 1E 04 01 00 02 23 04 68 00 8A 04 08 00 39 30 31 36 32 36 30 32 06 04 29 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 62 75 6C 6C 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 07 00 00 00 00 07 04 06 00 68 42 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 48 A2 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 27 04 04 00 03 B9 00 00 28 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 04 B9 00 00 35 04 06 00 CA 80 93 B2 61 8F CD A6 93 34 36 74 92 1B [18:43:05]CheckFolder [18:43:05]dirname=/storage/ofd_packets [18:43:05]CheckFolder done [18:43:05]ProducePacketName [18:43:05]name=ofd_packets/00047364 [18:43:05]NVStorageSaveData ofd_packets/00047364 [18:43:05]File name is /storage/ofd_packets/00047364 [18:43:05]Write 356 bytes [18:43:05]NVStorageSaveData done [18:43:05]OFDSenderStorePacket done [18:43:05]KKMCreateOFDPacket done [18:43:05]NVStorageSaveData kkm_last_timestamp [18:43:05]File name is /storage/kkm_last_timestamp [18:43:05]Write 4 bytes [18:43:05]NVStorageSaveData done [18:43:05]ExternCall_PrintAddStr [18:43:05]wPrintStart [18:43:05]Write to MH i2c: 01 00 00 AD 57 04 [18:43:05]Write i2c OK [18:43:05]MH_I2C_Read... [18:43:05]Read from MH i2c: 01 [18:43:05]MH_I2C_Read... [18:43:05]Read from MH i2c: 01 07 00 [18:43:05]MH_I2C_Read... [18:43:05]Read from MH i2c: 01 07 00 AD 57 00 00 00 00 00 FF 0F 19 [18:43:05]RasterBufferAndPrint [18:43:05]line Счет N : (3)242277 [18:43:05]line ИНН: 02508201610067 [18:43:05]line Контрольно-Кассовый Чек [18:43:05]line ВОЗВРАТ ПРОДАЖИ [18:43:05]line Товар: 90162602 [18:43:05]line Энерг напиток Red bull 0,25л [18:43:05]line 1.000 * 170.00 [18:43:05]line = 170.00 [18:43:05]line НДС 12% НСП 1% [18:43:05]line > о реализуемом товаре [18:43:05]line ИТОГО: 170.00 [18:43:05]line НСП 1% : 1.50 [18:43:05]line НДС 12% : 18.05 [18:43:05]line Наличными: 170.00 [18:43:05]line Безнал.: 0.00 [18:43:05]line Место: АЗС № 15 "Партнер Нефть" [18:43:05]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [18:43:05]line СНО: Общий режим [18:43:05]line Чек 42 12.03.2024 18:43 [18:43:05]line Смена: 314 ФФД: 1.0 [18:43:05]line ЗНМ: 0300000097 [18:43:05]line РНМ: 0000000000092018 [18:43:05]line Версия ККМ: 001 [18:43:05]line ФД осн.: 47363 [18:43:05]line ФМ осн.: 0000000000871816 [18:43:05]line ФМ: 0000000000871816 [18:43:05]line ФД: 47364 [18:43:05]line ФПД: 222653582565775 [18:43:05]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T184320&type=2&operation_type=1&fn_number=0000000000871816&fd_number=47364&fm=222653582565775&tin=02508201610067®Number=0000000000092018&sum=17000 [18:43:05]line 47363 [18:43:05]OFD Sender: Processing packet 47364 [packets to send 8, broken 7] [18:43:05]ProducePacketName [18:43:05]name=ofd_packets/00047364 [18:43:05]OFD Sender: To server: pG, [18:43:05]CommunicateWithHost lk.salyk.kg:30040 [18:43:05]ConnectInit lk.salyk.kg [18:43:05]written 0, free lines is 4095 [18:43:05]Connected sock=10 [18:43: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 31 36 46 01 00 00 32 57 3E 01 FE 60 5A 03 01 00 03 00 32 01 1E 04 01 00 02 23 04 68 00 8A 04 08 00 39 30 31 36 32 36 30 32 06 04 29 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 62 75 6C 6C 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 07 00 00 00 00 07 04 06 00 68 42 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 48 A2 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 27 04 04 00 03 B9 00 00 28 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 04 B9 00 00 35 04 06 00 CA 80 93 B2 61 8F CD A6 93 34 36 74 92 1B [18:43: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 31 36 4F 00 00 00 FB D4 47 00 9F 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 31 36 10 04 04 00 04 B9 00 00 F4 03 04 00 D9 4C F0 65 B6 04 01 00 00 AC 11 F8 FD AF E5 32 BD [18:43:06]CommunicateWithHost err = 0 [18:43:06]CheckOFDResponse [18:43:06]1017 (14) - 77093643461234 [18:43:06]1041 (16) - 0000000000871816 [18:43:06]1040 (4) - 47364 [18:43:06]1012 (4) - 12.03.2024 12:38 [18:43:06]1206 (1) - 0 [18:43:06]OFD Sender: Remove packet 47364 [18:43:06]ProducePacketName [18:43:06]name=ofd_packets/00047364 [18:43:06]NVStorageDeleteData [18:43:06]Write to MH i2c: 01 00 00 D7 57 2E [18:43:06]Write i2c OK [18:43:06]MH_I2C_Read... [18:43:06]Read from MH i2c: 01 [18:43:06]MH_I2C_Read... [18:43:06]Read from MH i2c: 01 07 00 [18:43:06]MH_I2C_Read... [18:43:06]Read from MH i2c: 01 07 00 D7 57 00 00 00 00 00 E1 0C 22 [18:43:06]RasterBufferAndPrint [18:43:06]line [18:43:06]line [18:43:06]line [18:43:06]line [18:43:06]line [18:43:06]written 0, free lines is 3303 [18:43:06]MH_Cut [18:43:06]Write to MH i2c: D1 01 00 DE 57 01 07 [18:43:06]Write i2c OK [18:43:06]MH_I2C_Read... [18:43:06]Read from MH i2c: D1 [18:43:06]MH_I2C_Read... [18:43:06]Read from MH i2c: D1 01 00 [18:43:06]MH_I2C_Read... [18:43:06]Read from MH i2c: D1 01 00 DE 57 00 06 [18:43:06]Write to MH i2c: 01 00 00 DF 57 36 [18:43:06]Write i2c OK [18:43:06]MH_I2C_Read... [18:43:06]OFD Sender: No OFD packet to send [18:43:06]*** Cut start [18:43:06]*** Purtial cut [18:43:06]*** Stage 1: CUTSNS_PIN = 1 [18:43:07]Read from MH i2c: 01 [18:43:07]MH_I2C_Read... [18:43:07]*** Stop cut motor [18:43:07]*** Cut end [18:43:07]Read from MH i2c: 01 07 00 [18:43:07]MH_I2C_Read... [18:43:07]Read from MH i2c: 01 07 00 DF 57 00 00 00 00 00 FF 0F 4B [18:43:07]process_action close_receipt done [18:43:07]requested_data is exist [18:43:07]produce_requested_data [18:43:07]requested_item fm.sn is exist - process it [18:43:07]wFMCommunicate request_size=4 [18:43:07]MH_SAM_APDU [18:43:07]CAPDU: 80 11 00 00 [18:43:07]Write to MH i2c: E2 08 00 E0 57 80 11 00 00 00 00 00 00 B1 [18:43:07]Write i2c OK [18:43:07]MH_I2C_Read... [18:43:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:43:07]Read from MH i2c: E2 [18:43:07]MH_I2C_Read... [18:43:07]Read from MH i2c: E2 17 00 [18:43:07]MH_I2C_Read... [18:43:07]Read from MH i2c: E2 17 00 E0 57 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 03 [18:43:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [18:43:07]wFMCommunicate OK [18:43:07]requested_item fd.num is exist - process it [18:43:07]SAM_PROTO_GetFieldsCounters [18:43:07]wFMCommunicate request_size=4 [18:43:07]MH_SAM_APDU [18:43:07]CAPDU: 80 13 00 00 [18:43:07]Write to MH i2c: E2 08 00 E1 57 80 13 00 00 00 00 00 00 B4 [18:43:07]Write i2c OK [18:43:07]MH_I2C_Read... [18:43:07]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:43:07]Read from MH i2c: E2 [18:43:07]MH_I2C_Read... [18:43:07]Read from MH i2c: E2 62 00 [18:43:07]MH_I2C_Read... [18:43:07]Read from MH i2c: E2 62 00 E1 57 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 04 B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 2A 00 00 00 5E 04 04 00 2A 00 00 00 57 04 04 00 2B 00 00 00 19 04 04 00 00 00 00 00 90 00 45 [18:43: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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 04 B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 2A 00 00 00 5E 04 04 00 2A 00 00 00 57 04 04 00 2B 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:43:07]wFMCommunicate OK [18:43:07]SAM_PROTO_GetFieldsCounters done [18:43:07]requested_item shift.num is exist - process it [18:43:07]requested_item shift.opened is exist - process it [18:43:07]req_shift_opened [18:43:07]FM_GetShiftState [18:43:07]SAM_PROTO_GetShiftState [18:43:07]wFMCommunicate request_size=4 [18:43:07]MH_SAM_APDU [18:43:07]CAPDU: 80 13 01 00 [18:43:07]Write to MH i2c: E2 08 00 E2 57 80 13 01 00 00 00 00 00 B6 [18:43:07]Write i2c OK [18:43:07]MH_I2C_Read... [18:43:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:43:07]Read from MH i2c: E2 [18:43:07]MH_I2C_Read... [18:43:07]Read from MH i2c: E2 0E 00 [18:43:07]MH_I2C_Read... [18:43:07]Read from MH i2c: E2 0E 00 E2 57 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 E5 [18:43:07]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [18:43:07]wFMCommunicate OK [18:43:07]SAM_PROTO_GetShiftState done [18:43:07]FM_GetShiftState done [18:43:07]req_shift_opened done [18:43:07]requested_item shift.open_date is exist - process it [18:43:07]req_shift_open_date [18:43:07]req_shift_open_date done [18:43:07]produce_requested_data done [18:43:07]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47364,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [18:43:07]process_action_free close_receipt [18:43:07]json_value_free [18:43:07]json_value_free done [18:43:07]process_json_proto returns [18:43:07]Send response to host [18:43:07]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47364,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [18:43:07]free response buf [18:43:07]execute_script done [18:43:07]execute_script returns [18:43:07]free content buf [18:43:07]Sock 7.Close socket [18:43:07]Sock 7.Thread stoped [18:43:11]OFD Sender: No OFD packet to send [18:43:14]accept exits with 9 [18:43:14]New connection [18:43:14]New thread 3066596708 created [18:43:14]Thread 3066453348 joined [18:43:14]Waiting for new connection... [18:43:14] Sock 9.Parse request [18:43:14]Sock 9.Check first char [18:43:14]Sock 9.First char is OK [18:43:14]request: POST /json_proto HTTP/1.0 [18:43:14]Method: POST [18:43:14]URL: /json_proto [18:43:14]Method is POST - this is cgi request [18:43:14]url: /json_proto [18:43:14]query_string will be loaded in cgi processing [18:43:14]execute_cgi json_proto POST (null) [18:43:14]execute_cgi path=json_proto method=POST [18:43:14]POST find Content-Length [18:43:14]Host: 172.17.32.68:8080 [18:43:14]Content-Length: 836 [18:43:14]Content-Type: application/json [18:43:14] [18:43:14]POST finish read [18:43:14]Found Content-Length = 836 [18:43:14]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242278", "tax_sys" : 0, "items" : [ { "code": "90162602", "name": "\u042D\u043D\u0435\u0440\u0433 \u043D\u0430\u043F\u0438\u0442\u043E\u043A Red bull 0,25\u043B", "price" : 170.00, "quantity" : 1.000, "sum" : 170.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0414\u0435\u043C\u0438\u0440 \u041A\u0418 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 170.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:43:14]execute_script... [18:43:14]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242278", "tax_sys" : 0, "items" : [ { "code": "90162602", "name": "\u042D\u043D\u0435\u0440\u0433 \u043D\u0430\u043F\u0438\u0442\u043E\u043A Red bull 0,25\u043B", "price" : 170.00, "quantity" : 1.000, "sum" : 170.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0414\u0435\u043C\u0438\u0440 \u041A\u0418 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 170.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:43:14]POST & json_proto [18:43:14]process_json_proto [18:43:14]json parsed OK: [18:43:14]protocol is kg_v1.0 [18:43:14]action value=close_receipt [18:43:14]process_action close_receipt [18:43:14]cmd_close_receipt [18:43:14]MH_GetDate [18:43:14]Write to MH i2c: F0 00 00 E3 57 29 [18:43:14]Write i2c OK [18:43:14]MH_I2C_Read... [18:43:14]Read from MH i2c: F0 [18:43:14]MH_I2C_Read... [18:43:14]Read from MH i2c: F0 09 00 [18:43:14]MH_I2C_Read... [18:43:14]Read from MH i2c: F0 09 00 E3 57 00 53 A2 F0 65 0A 64 6E 65 BD [18:43:14]GetLastDocTimeStamp 1710269000 [18:43:14]current date 1710269011 [18:43:14]FM_GetShiftState [18:43:14]SAM_PROTO_GetShiftState [18:43:14]wFMCommunicate request_size=4 [18:43:14]MH_SAM_APDU [18:43:14]CAPDU: 80 13 01 00 [18:43:14]Write to MH i2c: E2 08 00 E4 57 80 13 01 00 00 00 00 00 B8 [18:43:14]Write i2c OK [18:43:14]MH_I2C_Read... [18:43:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:43:14]Read from MH i2c: E2 [18:43:14]MH_I2C_Read... [18:43:14]Read from MH i2c: E2 0E 00 [18:43:14]MH_I2C_Read... [18:43:14]Read from MH i2c: E2 0E 00 E4 57 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 E7 [18:43:14]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [18:43:14]wFMCommunicate OK [18:43:14]SAM_PROTO_GetShiftState done [18:43:14]FM_GetShiftState done [18:43:14]opened in 1710202417 [18:43:14]opened+sec_in_day 1710288817 [18:43:14]quantity*price = 17000 [18:43:14]sum+1 = 17001 [18:43:14]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 170.00 НСП 1% : 1.50 НДС 12% : 18.05 Наличными: 0.00 Безнал.: 170.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 43 12.03.2024 18:43 Смена: 314 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 Платежная система: Демир КИ Банк ФМ: 0000000000871816 ФД: 47365 ФПД: 276114233977924 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T184331&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47365&fm=276114233977924&tin=02508201610067®Number=0000000000092018&sum=17000 0 [18:43:15]StoreToDocumentArchive [18:43:15]shift 314 fd 47365 [18:43:15]save to /storage/0314/doc_00047365 [18:43:15]save last doc name /storage/0314/doc_00047365 to /storage/kkm_last_doc_name [18:43:15]save OK [18:43:15]Clear old archive folders... [18:43:15]ProcessDocumentItem done err = 0, tmpTLVsize=278 [18:43:15]tlvbuf is B6E83690 [18:43:15]SAM_PROTO_ClearQueue [18:43:15]wFMCommunicate request_size=4 [18:43:15]MH_SAM_APDU [18:43:15]CAPDU: 80 09 00 00 [18:43:15]Write to MH i2c: E2 08 00 F1 57 80 09 00 00 00 00 00 00 BA [18:43:15]Write i2c OK [18:43:15]MH_I2C_Read... [18:43:15]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:43:15]Read from MH i2c: E2 [18:43:15]MH_I2C_Read... [18:43:15]Read from MH i2c: E2 03 00 [18:43:15]MH_I2C_Read... [18:43:15]Read from MH i2c: E2 03 00 F1 57 00 90 00 BC [18:43:15]RAPDU: 90 00 [18:43:15]wFMCommunicate OK [18:43:15]SAM_PROTO_ClearQueue done [18:43:15]KKMCreateOFDPacket [18:43:15]OFDProtocolAddRootSTLVToBuf [18:43:15]FM_MakeSignedData [18:43:15]FM_MakeSignedData [18:43:15]SAM_PROTO_SignData [18:43:15]wFMCommunicate request_size=4 [18:43:15]MH_SAM_APDU [18:43:15]CAPDU: 80 0D 01 02 [18:43:15]Write to MH i2c: E2 08 00 F2 57 80 0D 01 02 00 00 00 00 C2 [18:43:15]Write i2c OK [18:43:15]MH_I2C_Read... [18:43:15]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:43:15]Read from MH i2c: E2 [18:43:15]MH_I2C_Read... [18:43:15]Read from MH i2c: E2 03 00 [18:43:15]MH_I2C_Read... [18:43:15]Read from MH i2c: E2 03 00 F2 57 00 90 00 BD [18:43:15]RAPDU: 90 00 [18:43:15]wFMCommunicate OK [18:43:15]wFMCommunicate request_size=255 [18:43:15]MH_SAM_APDU [18:43:15]CAPDU: 80 0D 02 02 FA 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 39 30 31 36 32 36 30 32 06 04 29 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 62 75 6C 6C 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 68 42 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 53 A2 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 [18:43:15]Write to MH i2c: E2 02 01 F3 57 80 0D 02 02 FA 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 39 30 31 36 32 36 30 32 06 04 29 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 62 75 6C 6C 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 68 42 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 53 A2 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 00 00 A5 [18:43:15]Write i2c OK [18:43:15]MH_I2C_Read... [18:43:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:43:16]Read from MH i2c: E2 [18:43:16]MH_I2C_Read... [18:43:16]Read from MH i2c: E2 03 00 [18:43:16]MH_I2C_Read... [18:43:16]Read from MH i2c: E2 03 00 F3 57 00 90 00 BE [18:43:16]RAPDU: 90 00 [18:43:16]wFMCommunicate OK [18:43:16]wFMCommunicate request_size=37 [18:43:16]MH_SAM_APDU [18:43:16]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 05 B9 00 00 35 04 06 00 FB 1F DA D5 6C 44 [18:43:16]Write to MH i2c: E2 28 00 F4 57 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 05 B9 00 00 35 04 06 00 FB 1F DA D5 6C 44 00 00 52 [18:43:16]Write i2c OK [18:43:16]MH_I2C_Read... [18:43:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:43:16]Read from MH i2c: E2 [18:43:16]MH_I2C_Read... [18:43:16]Read from MH i2c: E2 03 00 [18:43:16]MH_I2C_Read... [18:43:16]Read from MH i2c: E2 03 00 F4 57 00 90 00 BF [18:43:16]RAPDU: 90 00 [18:43:16]wFMCommunicate OK [18:43:16]wFMCommunicate request_size=4 [18:43:16]MH_SAM_APDU [18:43:16]CAPDU: 80 0D 03 02 [18:43:16]Write to MH i2c: E2 08 00 F5 57 80 0D 03 02 00 00 00 00 C7 [18:43:16]Write i2c OK [18:43:16]MH_I2C_Read... [18:43:16]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:43:16]Read from MH i2c: E2 [18:43:16]MH_I2C_Read... [18:43:16]Read from MH i2c: E2 0B 00 [18:43:16]MH_I2C_Read... [18:43:16]Read from MH i2c: E2 0B 00 F5 57 00 3A EC 5F 25 A2 E9 08 BE 90 00 C3 [18:43:16]RAPDU: 3A EC 5F 25 A2 E9 08 BE 90 00 [18:43:16]wFMCommunicate OK [18:43:16]SAM_PROTO_SignData done [18:43:16]FM_MakeSignedData done [18:43:16]CreateOFDProtocolMessage [18:43:16]wFMCommunicate request_size=4 [18:43:16]MH_SAM_APDU [18:43:16]CAPDU: 80 11 00 00 [18:43:16]Write to MH i2c: E2 08 00 F6 57 80 11 00 00 00 00 00 00 C7 [18:43:16]Write i2c OK [18:43:16]MH_I2C_Read... [18:43:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:43:16]Read from MH i2c: E2 [18:43:16]MH_I2C_Read... [18:43:16]Read from MH i2c: E2 17 00 [18:43:16]MH_I2C_Read... [18:43:16]Read from MH i2c: E2 17 00 F6 57 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 19 [18:43:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [18:43:16]wFMCommunicate OK [18:43:16]CreateOFDProtocolMessage done [18:43:16]OFDSenderStorePacket 47365 [18:43:16]StoreOFDPacket docnum=47365 [18:43:16]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 2A 01 00 00 8A 0B 22 01 92 F5 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 39 30 31 36 32 36 30 32 06 04 29 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 62 75 6C 6C 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 68 42 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 53 A2 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 05 B9 00 00 35 04 06 00 FB 1F DA D5 6C 44 3A EC 5F 25 A2 E9 08 BE [18:43:16]CheckFolder [18:43:16]dirname=/storage/ofd_packets [18:43:16]CheckFolder done [18:43:16]ProducePacketName [18:43:16]name=ofd_packets/00047365 [18:43:16]NVStorageSaveData ofd_packets/00047365 [18:43:16]File name is /storage/ofd_packets/00047365 [18:43:16]Write 328 bytes [18:43:16]NVStorageSaveData done [18:43:16]OFDSenderStorePacket done [18:43:16]KKMCreateOFDPacket done [18:43:16]NVStorageSaveData kkm_last_timestamp [18:43:16]File name is /storage/kkm_last_timestamp [18:43:16]Write 4 bytes [18:43:16]NVStorageSaveData done [18:43:16]ExternCall_PrintAddStr [18:43:16]wPrintStart [18:43:16]Write to MH i2c: 01 00 00 F7 57 4E [18:43:16]Write i2c OK [18:43:16]MH_I2C_Read... [18:43:16]Read from MH i2c: 01 [18:43:16]MH_I2C_Read... [18:43:16]Read from MH i2c: 01 07 00 [18:43:16]MH_I2C_Read... [18:43:16]Read from MH i2c: 01 07 00 F7 57 00 00 00 00 00 FF 0F 63 [18:43:16]RasterBufferAndPrint [18:43:16]line Счет N : (3)242278 [18:43:16]line ИНН: 02508201610067 [18:43:16]line Контрольно-Кассовый Чек [18:43:16]line ПРОДАЖА [18:43:16]line Товар: 90162602 [18:43:16]line Энерг напиток Red bull 0,25л [18:43:16]line 1.000 * 170.00 [18:43:16]line = 170.00 [18:43:16]line НДС 12% НСП 1% [18:43:16]line > о реализуемом товаре [18:43:16]line ИТОГО: 170.00 [18:43:16]line НСП 1% : 1.50 [18:43:16]line НДС 12% : 18.05 [18:43:16]line Наличными: 0.00 [18:43:16]line Безнал.: 170.00 [18:43:16]line Место: АЗС № 15 "Партнер Нефть" [18:43:16]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [18:43:16]line СНО: Общий режим [18:43:16]line Чек 43 12.03.2024 18:43 [18:43:16]line Смена: 314 ФФД: 1.0 [18:43:16]line ЗНМ: 0300000097 [18:43:16]line РНМ: 0000000000092018 [18:43:16]line Версия ККМ: 001 [18:43:16]line Платежная система: Демир КИ Банк [18:43:16]line ФМ: 0000000000871816 [18:43:16]line ФД: 47365 [18:43:16]line ФПД: 276114233977924 [18:43:16]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T184331&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47365&fm=276114233977924&tin=02508201610067®Number=0000000000092018&sum=17000 [18:43:16]line 0 [18:43:16]written 0, free lines is 4095 [18:43:16]OFD Sender: Processing packet 47365 [packets to send 8, broken 7] [18:43:16]ProducePacketName [18:43:16]name=ofd_packets/00047365 [18:43:16]OFD Sender: To server: pG, [18:43:16]CommunicateWithHost lk.salyk.kg:30040 [18:43:16]ConnectInit lk.salyk.kg [18:43:16]Connected sock=10 [18:43: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 31 36 2A 01 00 00 8A 0B 22 01 92 F5 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 39 30 31 36 32 36 30 32 06 04 29 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 62 75 6C 6C 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 68 42 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 53 A2 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 05 B9 00 00 35 04 06 00 FB 1F DA D5 6C 44 3A EC 5F 25 A2 E9 08 BE [18:43:16]Write to MH i2c: 01 00 00 21 58 79 [18:43:16]Write i2c OK [18:43:16]MH_I2C_Read... [18:43:16]Read from MH i2c: 01 [18:43:16]MH_I2C_Read... [18:43:16]Read from MH i2c: 01 07 00 [18:43:16]MH_I2C_Read... [18:43:16]Read from MH i2c: 01 07 00 21 58 00 00 00 00 00 EC 0C 78 [18:43:16]RasterBufferAndPrint [18:43:16]line [18:43:16]line [18:43:16]line [18:43:16]line [18:43:16]line [18:43:16]written 0, free lines is 3318 [18:43:16]MH_Cut [18:43:16]Write to MH i2c: D1 01 00 28 58 01 52 [18:43:16]Write i2c OK [18:43:16]MH_I2C_Read... [18:43:16]Read from MH i2c: D1 [18:43:16]MH_I2C_Read... [18:43:16]Read from MH i2c: D1 01 00 [18:43:16]MH_I2C_Read... [18:43:16]Read from MH i2c: D1 01 00 28 58 00 51 [18:43:16]Write to MH i2c: 01 00 00 29 58 81 [18:43:16]Write i2c OK [18:43:16]MH_I2C_Read... [18:43: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 31 36 4F 00 00 00 2B 43 47 00 AC CD A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 05 B9 00 00 F4 03 04 00 E4 4C F0 65 B6 04 01 00 00 A4 96 FE 0B 28 60 0F C7 [18:43:17]CommunicateWithHost err = 0 [18:43:17]CheckOFDResponse [18:43:17]1017 (14) - 77093643461234 [18:43:17]1041 (16) - 0000000000871816 [18:43:17]1040 (4) - 47365 [18:43:17]1012 (4) - 12.03.2024 12:39 [18:43:17]1206 (1) - 0 [18:43:17]OFD Sender: Remove packet 47365 [18:43:17]ProducePacketName [18:43:17]name=ofd_packets/00047365 [18:43:17]NVStorageDeleteData [18:43:17]OFD Sender: No OFD packet to send [18:43:17]*** Cut start [18:43:17]*** Purtial cut [18:43:17]*** Stage 1: CUTSNS_PIN = 1 [18:43:17]Read from MH i2c: 01 [18:43:17]MH_I2C_Read... [18:43:17]*** Stop cut motor [18:43:17]*** Cut end [18:43:17]Read from MH i2c: 01 07 00 [18:43:17]MH_I2C_Read... [18:43:17]Read from MH i2c: 01 07 00 29 58 00 00 00 00 00 FF 0F 96 [18:43:17]process_action close_receipt done [18:43:17]requested_data is exist [18:43:17]produce_requested_data [18:43:17]requested_item fm.sn is exist - process it [18:43:17]wFMCommunicate request_size=4 [18:43:17]MH_SAM_APDU [18:43:17]CAPDU: 80 11 00 00 [18:43:17]Write to MH i2c: E2 08 00 2A 58 80 11 00 00 00 00 00 00 FC [18:43:17]Write i2c OK [18:43:17]MH_I2C_Read... [18:43:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:43:18]Read from MH i2c: E2 [18:43:18]MH_I2C_Read... [18:43:18]Read from MH i2c: E2 17 00 [18:43:18]MH_I2C_Read... [18:43:18]Read from MH i2c: E2 17 00 2A 58 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 4E [18:43:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [18:43:18]wFMCommunicate OK [18:43:18]requested_item fd.num is exist - process it [18:43:18]SAM_PROTO_GetFieldsCounters [18:43:18]wFMCommunicate request_size=4 [18:43:18]MH_SAM_APDU [18:43:18]CAPDU: 80 13 00 00 [18:43:18]Write to MH i2c: E2 08 00 2B 58 80 13 00 00 00 00 00 00 FF [18:43:18]Write i2c OK [18:43:18]MH_I2C_Read... [18:43:18]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:43:18]Read from MH i2c: E2 [18:43:18]MH_I2C_Read... [18:43:18]Read from MH i2c: E2 62 00 [18:43:18]MH_I2C_Read... [18:43:18]Read from MH i2c: E2 62 00 2B 58 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 05 B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 2B 00 00 00 5E 04 04 00 2B 00 00 00 57 04 04 00 2C 00 00 00 19 04 04 00 00 00 00 00 90 00 94 [18:43: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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 05 B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 2B 00 00 00 5E 04 04 00 2B 00 00 00 57 04 04 00 2C 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:43:18]wFMCommunicate OK [18:43:18]SAM_PROTO_GetFieldsCounters done [18:43:18]requested_item shift.num is exist - process it [18:43:18]requested_item shift.opened is exist - process it [18:43:18]req_shift_opened [18:43:18]FM_GetShiftState [18:43:18]SAM_PROTO_GetShiftState [18:43:18]wFMCommunicate request_size=4 [18:43:18]MH_SAM_APDU [18:43:18]CAPDU: 80 13 01 00 [18:43:18]Write to MH i2c: E2 08 00 2C 58 80 13 01 00 00 00 00 00 01 [18:43:18]Write i2c OK [18:43:18]MH_I2C_Read... [18:43:18]Read from MH i2c: E2 [18:43:18]MH_I2C_Read... [18:43:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:43:18]Read from MH i2c: E2 0E 00 [18:43:18]MH_I2C_Read... [18:43:18]Read from MH i2c: E2 0E 00 2C 58 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 30 [18:43:18]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [18:43:18]wFMCommunicate OK [18:43:18]SAM_PROTO_GetShiftState done [18:43:18]FM_GetShiftState done [18:43:18]req_shift_opened done [18:43:18]requested_item shift.open_date is exist - process it [18:43:18]req_shift_open_date [18:43:18]req_shift_open_date done [18:43:18]produce_requested_data done [18:43:18]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47365,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [18:43:18]process_action_free close_receipt [18:43:18]json_value_free [18:43:18]json_value_free done [18:43:18]process_json_proto returns [18:43:18]Send response to host [18:43:18]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47365,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [18:43:18]free response buf [18:43:18]execute_script done [18:43:18]execute_script returns [18:43:18]free content buf [18:43:18]Sock 9.Close socket [18:43:18]Sock 9.Thread stoped [18:43:22]OFD Sender: No OFD packet to send [18:43:27]OFD Sender: No OFD packet to send [18:43:32]OFD Sender: No OFD packet to send [18:43:37]OFD Sender: No OFD packet to send [18:43:42]OFD Sender: No OFD packet to send [18:43:47]OFD Sender: No OFD packet to send [18:43:52]OFD Sender: No OFD packet to send [18:43:57]OFD Sender: No OFD packet to send [18:44:02]OFD Sender: No OFD packet to send [18:44:07]OFD Sender: No OFD packet to send [18:44:12]OFD Sender: No OFD packet to send [18:44:17]OFD Sender: No OFD packet to send [18:44:22]OFD Sender: No OFD packet to send [18:44:27]OFD Sender: No OFD packet to send [18:44:32]OFD Sender: No OFD packet to send [18:44:37]OFD Sender: No OFD packet to send [18:44:42]OFD Sender: No OFD packet to send [18:44:47]OFD Sender: No OFD packet to send [18:44:52]OFD Sender: No OFD packet to send [18:44:57]OFD Sender: No OFD packet to send [18:45:02]OFD Sender: No OFD packet to send [18:45:07]OFD Sender: No OFD packet to send [18:45:12]OFD Sender: No OFD packet to send [18:45:14]accept exits with 7 [18:45:14]New connection [18:45:14]New thread 3066453348 created [18:45:14]Thread 3066596708 joined [18:45:14]Waiting for new connection... [18:45:14] Sock 7.Parse request [18:45:14]Sock 7.Check first char [18:45:14]Sock 7.First char is OK [18:45:14]request: POST /json_proto HTTP/1.0 [18:45:14]Method: POST [18:45:14]URL: /json_proto [18:45:14]Method is POST - this is cgi request [18:45:14]url: /json_proto [18:45:14]query_string will be loaded in cgi processing [18:45:14]execute_cgi json_proto POST (null) [18:45:14]execute_cgi path=json_proto method=POST [18:45:14]POST find Content-Length [18:45:14]Host: 172.17.32.68:8080 [18:45:14]Content-Length: 632 [18:45:14]Content-Type: application/json [18:45:14] [18:45:14]POST finish read [18:45:14]Found Content-Length = 632 [18:45:14]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242279", "tax_sys" : 0, "items" : [ { "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 40.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:45:14]execute_script... [18:45:14]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242279", "tax_sys" : 0, "items" : [ { "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 40.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:45:14]POST & json_proto [18:45:14]process_json_proto [18:45:14]json parsed OK: [18:45:14]protocol is kg_v1.0 [18:45:14]action value=close_receipt [18:45:14]process_action close_receipt [18:45:14]cmd_close_receipt [18:45:14]MH_GetDate [18:45:14]Write to MH i2c: F0 00 00 2D 58 74 [18:45:14]Write i2c OK [18:45:14]MH_I2C_Read... [18:45:14]Read from MH i2c: F0 [18:45:14]MH_I2C_Read... [18:45:14]Read from MH i2c: F0 09 00 [18:45:14]MH_I2C_Read... [18:45:14]Read from MH i2c: F0 09 00 2D 58 00 CB A2 F0 65 0A 64 6E 65 80 [18:45:14]GetLastDocTimeStamp 1710269011 [18:45:14]current date 1710269131 [18:45:14]FM_GetShiftState [18:45:14]SAM_PROTO_GetShiftState [18:45:14]wFMCommunicate request_size=4 [18:45:14]MH_SAM_APDU [18:45:14]CAPDU: 80 13 01 00 [18:45:14]Write to MH i2c: E2 08 00 2E 58 80 13 01 00 00 00 00 00 03 [18:45:14]Write i2c OK [18:45:14]MH_I2C_Read... [18:45:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:45:14]Read from MH i2c: E2 [18:45:14]MH_I2C_Read... [18:45:14]Read from MH i2c: E2 0E 00 [18:45:14]MH_I2C_Read... [18:45:14]Read from MH i2c: E2 0E 00 2E 58 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 32 [18:45:14]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [18:45:14]wFMCommunicate OK [18:45:14]SAM_PROTO_GetShiftState done [18:45:14]FM_GetShiftState done [18:45:14]opened in 1710202417 [18:45:14]opened+sec_in_day 1710288817 [18:45:14]quantity*price = 4000 [18:45:14]sum+1 = 4001 [18:45:14]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 40.00 НСП 1% : 0.35 НДС 12% : 4.25 Наличными: 40.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 44 12.03.2024 18:45 Смена: 314 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47366 ФПД: 137041351508690 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T184531&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47366&fm=137041351508690&tin=02508201610067®Number=0000000000092018&sum=4000 0 [18:45:15]StoreToDocumentArchive [18:45:15]shift 314 fd 47366 [18:45:15]save to /storage/0314/doc_00047366 [18:45:15]save last doc name /storage/0314/doc_00047366 to /storage/kkm_last_doc_name [18:45:15]save OK [18:45:15]Clear old archive folders... [18:45:15]ProcessDocumentItem done err = 0, tmpTLVsize=271 [18:45:15]tlvbuf is 0042A0F0 [18:45:15]SAM_PROTO_ClearQueue [18:45:15]wFMCommunicate request_size=4 [18:45:15]MH_SAM_APDU [18:45:15]CAPDU: 80 09 00 00 [18:45:15]Write to MH i2c: E2 08 00 3B 58 80 09 00 00 00 00 00 00 05 [18:45:15]Write i2c OK [18:45:15]MH_I2C_Read... [18:45:15]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:45:15]Read from MH i2c: E2 [18:45:15]MH_I2C_Read... [18:45:15]Read from MH i2c: E2 03 00 [18:45:15]MH_I2C_Read... [18:45:15]Read from MH i2c: E2 03 00 3B 58 00 90 00 07 [18:45:15]RAPDU: 90 00 [18:45:15]wFMCommunicate OK [18:45:15]SAM_PROTO_ClearQueue done [18:45:15]KKMCreateOFDPacket [18:45:15]OFDProtocolAddRootSTLVToBuf [18:45:15]FM_MakeSignedData [18:45:15]FM_MakeSignedData [18:45:15]SAM_PROTO_SignData [18:45:15]wFMCommunicate request_size=4 [18:45:15]MH_SAM_APDU [18:45:15]CAPDU: 80 0D 01 02 [18:45:15]Write to MH i2c: E2 08 00 3C 58 80 0D 01 02 00 00 00 00 0D [18:45:15]Write i2c OK [18:45:15]MH_I2C_Read... [18:45:15]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:45:15]Read from MH i2c: E2 [18:45:15]MH_I2C_Read... [18:45:15]Read from MH i2c: E2 03 00 [18:45:15]MH_I2C_Read... [18:45:15]Read from MH i2c: E2 03 00 3C 58 00 90 00 08 [18:45:15]RAPDU: 90 00 [18:45:15]wFMCommunicate OK [18:45:15]wFMCommunicate request_size=255 [18:45:15]MH_SAM_APDU [18:45:15]CAPDU: 80 0D 02 02 FA 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 CB A2 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 [18:45:15]Write to MH i2c: E2 02 01 3D 58 80 0D 02 02 FA 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 CB A2 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 00 00 16 [18:45:15]Write i2c OK [18:45:15]MH_I2C_Read... [18:45:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:45:16]Read from MH i2c: E2 [18:45:16]MH_I2C_Read... [18:45:16]Read from MH i2c: E2 03 00 [18:45:16]MH_I2C_Read... [18:45:16]Read from MH i2c: E2 03 00 3D 58 00 90 00 09 [18:45:16]RAPDU: 90 00 [18:45:16]wFMCommunicate OK [18:45:16]wFMCommunicate request_size=30 [18:45:16]MH_SAM_APDU [18:45:16]CAPDU: 80 0D 02 02 19 30 38 37 31 38 31 36 10 04 04 00 06 B9 00 00 35 04 06 00 7C A3 6D 13 82 D2 [18:45:16]Write to MH i2c: E2 21 00 3E 58 80 0D 02 02 19 00 30 38 37 31 38 31 36 10 04 04 00 06 B9 00 00 35 04 06 00 7C A3 6D 13 82 D2 00 00 BA [18:45:16]Write i2c OK [18:45:16]MH_I2C_Read... [18:45:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:45:16]Read from MH i2c: E2 [18:45:16]MH_I2C_Read... [18:45:16]Read from MH i2c: E2 03 00 [18:45:16]MH_I2C_Read... [18:45:16]Read from MH i2c: E2 03 00 3E 58 00 90 00 0A [18:45:16]RAPDU: 90 00 [18:45:16]wFMCommunicate OK [18:45:16]wFMCommunicate request_size=4 [18:45:16]MH_SAM_APDU [18:45:16]CAPDU: 80 0D 03 02 [18:45:16]Write to MH i2c: E2 08 00 3F 58 80 0D 03 02 00 00 00 00 12 [18:45:16]Write i2c OK [18:45:16]MH_I2C_Read... [18:45:16]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:45:16]Read from MH i2c: E2 [18:45:16]MH_I2C_Read... [18:45:16]Read from MH i2c: E2 0B 00 [18:45:16]MH_I2C_Read... [18:45:16]Read from MH i2c: E2 0B 00 3F 58 00 48 57 D3 E3 C9 73 15 30 90 00 E9 [18:45:16]RAPDU: 48 57 D3 E3 C9 73 15 30 90 00 [18:45:16]wFMCommunicate OK [18:45:16]SAM_PROTO_SignData done [18:45:16]FM_MakeSignedData done [18:45:16]CreateOFDProtocolMessage [18:45:16]wFMCommunicate request_size=4 [18:45:16]MH_SAM_APDU [18:45:16]CAPDU: 80 11 00 00 [18:45:16]Write to MH i2c: E2 08 00 40 58 80 11 00 00 00 00 00 00 12 [18:45:16]Write i2c OK [18:45:16]MH_I2C_Read... [18:45:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:45:16]Read from MH i2c: E2 [18:45:16]MH_I2C_Read... [18:45:16]Read from MH i2c: E2 17 00 [18:45:16]MH_I2C_Read... [18:45:16]Read from MH i2c: E2 17 00 40 58 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 64 [18:45:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [18:45:16]wFMCommunicate OK [18:45:16]CreateOFDProtocolMessage done [18:45:16]OFDSenderStorePacket 47366 [18:45:16]StoreOFDPacket docnum=47366 [18:45:16]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 23 01 00 00 A8 D5 1B 01 EF BE 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 CB A2 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 06 B9 00 00 35 04 06 00 7C A3 6D 13 82 D2 48 57 D3 E3 C9 73 15 30 [18:45:16]CheckFolder [18:45:16]dirname=/storage/ofd_packets [18:45:16]CheckFolder done [18:45:16]ProducePacketName [18:45:16]name=ofd_packets/00047366 [18:45:16]NVStorageSaveData ofd_packets/00047366 [18:45:16]File name is /storage/ofd_packets/00047366 [18:45:16]Write 321 bytes [18:45:16]NVStorageSaveData done [18:45:16]OFDSenderStorePacket done [18:45:16]KKMCreateOFDPacket done [18:45:16]NVStorageSaveData kkm_last_timestamp [18:45:16]File name is /storage/kkm_last_timestamp [18:45:16]Write 4 bytes [18:45:16]NVStorageSaveData done [18:45:16]ExternCall_PrintAddStr [18:45:16]wPrintStart [18:45:16]Write to MH i2c: 01 00 00 41 58 99 [18:45:16]Write i2c OK [18:45:16]MH_I2C_Read... [18:45:16]Read from MH i2c: 01 [18:45:16]MH_I2C_Read... [18:45:16]Read from MH i2c: 01 07 00 [18:45:16]MH_I2C_Read... [18:45:16]Read from MH i2c: 01 07 00 41 58 00 00 00 00 00 FF 0F AE [18:45:16]RasterBufferAndPrint [18:45:16]line Счет N : (3)242279 [18:45:16]line ИНН: 02508201610067 [18:45:16]line Контрольно-Кассовый Чек [18:45:16]line ПРОДАЖА [18:45:16]line Товар: 4700000160211 [18:45:16]line Вода Легенда 0,5л [18:45:16]line 1.000 * 40.00 [18:45:16]line = 40.00 [18:45:16]line НДС 12% НСП 1% [18:45:16]line > о реализуемом товаре [18:45:16]line ИТОГО: 40.00 [18:45:16]line НСП 1% : 0.35 [18:45:16]line НДС 12% : 4.25 [18:45:16]line Наличными: 40.00 [18:45:16]line Безнал.: 0.00 [18:45:16]line Место: АЗС № 15 "Партнер Нефть" [18:45:16]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [18:45:16]line СНО: Общий режим [18:45:16]line Чек 44 12.03.2024 18:45 [18:45:16]line Смена: 314 ФФД: 1.0 [18:45:16]line ЗНМ: 0300000097 [18:45:16]line РНМ: 0000000000092018 [18:45:16]line Версия ККМ: 001 [18:45:16]line ФМ: 0000000000871816 [18:45:16]line ФД: 47366 [18:45:16]line ФПД: 137041351508690 [18:45:16]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T184531&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47366&fm=137041351508690&tin=02508201610067®Number=0000000000092018&sum=4000 [18:45:16]OFD Sender: Processing packet 47366 [packets to send 8, broken 7] [18:45:16]ProducePacketName [18:45:16]name=ofd_packets/00047366 [18:45:16]OFD Sender: To server: pG, [18:45:16]CommunicateWithHost lk.salyk.kg:30040 [18:45:16]ConnectInit lk.salyk.kg [18:45:16]line 0 [18:45:16]written 0, free lines is 4095 [18:45:16]Connected sock=10 [18:45: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 31 36 23 01 00 00 A8 D5 1B 01 EF BE 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 CB A2 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 06 B9 00 00 35 04 06 00 7C A3 6D 13 82 D2 48 57 D3 E3 C9 73 15 30 [18:45: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 31 36 4F 00 00 00 96 07 47 00 D5 8D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 31 36 10 04 04 00 06 B9 00 00 F4 03 04 00 5C 4D F0 65 B6 04 01 00 00 D6 1B 9D F8 3E CC A3 40 [18:45:16]CommunicateWithHost err = 0 [18:45:16]CheckOFDResponse [18:45:16]1017 (14) - 77093643461234 [18:45:16]1041 (16) - 0000000000871816 [18:45:16]1040 (4) - 47366 [18:45:16]1012 (4) - 12.03.2024 12:41 [18:45:16]1206 (1) - 0 [18:45:16]OFD Sender: Remove packet 47366 [18:45:16]ProducePacketName [18:45:16]name=ofd_packets/00047366 [18:45:16]NVStorageDeleteData [18:45:17]Write to MH i2c: 01 00 00 69 58 C1 [18:45:17]Write i2c OK [18:45:17]MH_I2C_Read... [18:45:17]Read from MH i2c: 01 [18:45:17]MH_I2C_Read... [18:45:17]Read from MH i2c: 01 07 00 [18:45:17]MH_I2C_Read... [18:45:17]Read from MH i2c: 01 07 00 69 58 00 00 00 00 00 F5 0C C9 [18:45:17]RasterBufferAndPrint [18:45:17]line [18:45:17]line [18:45:17]line [18:45:17]line [18:45:17]line [18:45:17]written 0, free lines is 3323 [18:45:17]MH_Cut [18:45:17]Write to MH i2c: D1 01 00 70 58 01 9A [18:45:17]Write i2c OK [18:45:17]MH_I2C_Read... [18:45:17]Read from MH i2c: D1 [18:45:17]MH_I2C_Read... [18:45:17]Read from MH i2c: D1 01 00 [18:45:17]MH_I2C_Read... [18:45:17]Read from MH i2c: D1 01 00 70 58 00 99 [18:45:17]Write to MH i2c: 01 00 00 71 58 C9 [18:45:17]Write i2c OK [18:45:17]MH_I2C_Read... [18:45:17]OFD Sender: No OFD packet to send [18:45:17]*** Cut start [18:45:17]*** Purtial cut [18:45:17]*** Stage 1: CUTSNS_PIN = 1 [18:45:18]Read from MH i2c: 01 [18:45:18]MH_I2C_Read... [18:45:18]*** Stop cut motor [18:45:18]*** Cut end [18:45:18]Read from MH i2c: 01 07 00 [18:45:18]MH_I2C_Read... [18:45:18]Read from MH i2c: 01 07 00 71 58 00 00 00 00 00 FF 0F DE [18:45:18]process_action close_receipt done [18:45:18]requested_data is exist [18:45:18]produce_requested_data [18:45:18]requested_item fm.sn is exist - process it [18:45:18]wFMCommunicate request_size=4 [18:45:18]MH_SAM_APDU [18:45:18]CAPDU: 80 11 00 00 [18:45:18]Write to MH i2c: E2 08 00 72 58 80 11 00 00 00 00 00 00 44 [18:45:18]Write i2c OK [18:45:18]MH_I2C_Read... [18:45:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:45:18]Read from MH i2c: E2 [18:45:18]MH_I2C_Read... [18:45:18]Read from MH i2c: E2 17 00 [18:45:18]MH_I2C_Read... [18:45:18]Read from MH i2c: E2 17 00 72 58 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 96 [18:45:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [18:45:18]wFMCommunicate OK [18:45:18]requested_item fd.num is exist - process it [18:45:18]SAM_PROTO_GetFieldsCounters [18:45:18]wFMCommunicate request_size=4 [18:45:18]MH_SAM_APDU [18:45:18]CAPDU: 80 13 00 00 [18:45:18]Write to MH i2c: E2 08 00 73 58 80 13 00 00 00 00 00 00 47 [18:45:18]Write i2c OK [18:45:18]MH_I2C_Read... [18:45:18]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:45:18]Read from MH i2c: E2 [18:45:18]MH_I2C_Read... [18:45:18]Read from MH i2c: E2 62 00 [18:45:18]MH_I2C_Read... [18:45:18]Read from MH i2c: E2 62 00 73 58 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 06 B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 2C 00 00 00 5E 04 04 00 2C 00 00 00 57 04 04 00 2D 00 00 00 19 04 04 00 00 00 00 00 90 00 E0 [18:45: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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 06 B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 2C 00 00 00 5E 04 04 00 2C 00 00 00 57 04 04 00 2D 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:45:18]wFMCommunicate OK [18:45:18]SAM_PROTO_GetFieldsCounters done [18:45:18]requested_item shift.num is exist - process it [18:45:18]requested_item shift.opened is exist - process it [18:45:18]req_shift_opened [18:45:18]FM_GetShiftState [18:45:18]SAM_PROTO_GetShiftState [18:45:18]wFMCommunicate request_size=4 [18:45:18]MH_SAM_APDU [18:45:18]CAPDU: 80 13 01 00 [18:45:18]Write to MH i2c: E2 08 00 74 58 80 13 01 00 00 00 00 00 49 [18:45:18]Write i2c OK [18:45:18]MH_I2C_Read... [18:45:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:45:18]Read from MH i2c: E2 [18:45:18]MH_I2C_Read... [18:45:18]Read from MH i2c: E2 0E 00 [18:45:18]MH_I2C_Read... [18:45:18]Read from MH i2c: E2 0E 00 74 58 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 78 [18:45:18]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [18:45:18]wFMCommunicate OK [18:45:18]SAM_PROTO_GetShiftState done [18:45:18]FM_GetShiftState done [18:45:18]req_shift_opened done [18:45:18]requested_item shift.open_date is exist - process it [18:45:18]req_shift_open_date [18:45:18]req_shift_open_date done [18:45:18]produce_requested_data done [18:45:18]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47366,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [18:45:18]process_action_free close_receipt [18:45:18]json_value_free [18:45:18]json_value_free done [18:45:18]process_json_proto returns [18:45:18]Send response to host [18:45:18]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47366,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [18:45:18]free response buf [18:45:18]execute_script done [18:45:18]execute_script returns [18:45:18]free content buf [18:45:18]Sock 7.Close socket [18:45:18]Sock 7.Thread stoped [18:45:22]OFD Sender: No OFD packet to send [18:45:27]OFD Sender: No OFD packet to send [18:45:32]OFD Sender: No OFD packet to send [18:45:37]OFD Sender: No OFD packet to send [18:45:42]OFD Sender: No OFD packet to send [18:45:47]OFD Sender: No OFD packet to send [18:45:52]OFD Sender: No OFD packet to send [18:45:56]accept exits with 9 [18:45:56]New connection [18:45:56]New thread 3066596708 created [18:45:56]Thread 3066453348 joined [18:45:56]Waiting for new connection... [18:45:56] Sock 9.Parse request [18:45:56]Sock 9.Check first char [18:45:56]Sock 9.First char is OK [18:45:56]request: POST /json_proto HTTP/1.0 [18:45:56]Method: POST [18:45:56]URL: /json_proto [18:45:56]Method is POST - this is cgi request [18:45:56]url: /json_proto [18:45:56]query_string will be loaded in cgi processing [18:45:56]execute_cgi json_proto POST (null) [18:45:56]execute_cgi path=json_proto method=POST [18:45:56]POST find Content-Length [18:45:56]Host: 172.17.32.68:8080 [18:45:56]Content-Length: 832 [18:45:56]Content-Type: application/json [18:45:56] [18:45:56]POST finish read [18:45:56]Found Content-Length = 832 [18:45:56]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242280", "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 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0414\u0435\u043C\u0438\u0440 \u041A\u0418 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 59.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:45:56]execute_script... [18:45: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)242280", "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 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0414\u0435\u043C\u0438\u0440 \u041A\u0418 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 59.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:45:56]POST & json_proto [18:45:56]process_json_proto [18:45:56]json parsed OK: [18:45:56]protocol is kg_v1.0 [18:45:56]action value=close_receipt [18:45:56]process_action close_receipt [18:45:56]cmd_close_receipt [18:45:56]MH_GetDate [18:45:56]Write to MH i2c: F0 00 00 75 58 BC [18:45:56]Write i2c OK [18:45:56]MH_I2C_Read... [18:45:56]Read from MH i2c: F0 [18:45:56]MH_I2C_Read... [18:45:56]Read from MH i2c: F0 09 00 [18:45:56]MH_I2C_Read... [18:45:56]Read from MH i2c: F0 09 00 75 58 00 F5 A2 F0 65 0A 64 6E 65 F2 [18:45:56]GetLastDocTimeStamp 1710269131 [18:45:56]current date 1710269173 [18:45:56]FM_GetShiftState [18:45:56]SAM_PROTO_GetShiftState [18:45:56]wFMCommunicate request_size=4 [18:45:56]MH_SAM_APDU [18:45:56]CAPDU: 80 13 01 00 [18:45:56]Write to MH i2c: E2 08 00 76 58 80 13 01 00 00 00 00 00 4B [18:45:56]Write i2c OK [18:45:56]MH_I2C_Read... [18:45:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:45:56]Read from MH i2c: E2 [18:45:56]MH_I2C_Read... [18:45:56]Read from MH i2c: E2 0E 00 [18:45:56]MH_I2C_Read... [18:45:56]Read from MH i2c: E2 0E 00 76 58 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 7A [18:45:56]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [18:45:56]wFMCommunicate OK [18:45:56]SAM_PROTO_GetShiftState done [18:45:56]FM_GetShiftState done [18:45:56]opened in 1710202417 [18:45:56]opened+sec_in_day 1710288817 [18:45:56]quantity*price = 5900 [18:45:56]sum+1 = 5901 [18:45:56]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 59.00 НСП 1% : 0.52 НДС 12% : 6.26 Наличными: 0.00 Безнал.: 59.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 45 12.03.2024 18:46 Смена: 314 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 Платежная система: Демир КИ Банк ФМ: 0000000000871816 ФД: 47367 ФПД: 222638538015773 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T184613&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47367&fm=222638538015773&tin=02508201610067®Number=0000000000092018&sum=5900 0 [18:45:57]StoreToDocumentArchive [18:45:57]shift 314 fd 47367 [18:45:57]save to /storage/0314/doc_00047367 [18:45:57]save last doc name /storage/0314/doc_00047367 to /storage/kkm_last_doc_name [18:45:57]save OK [18:45:57]Clear old archive folders... [18:45:57]ProcessDocumentItem done err = 0, tmpTLVsize=281 [18:45:57]tlvbuf is 004300D0 [18:45:57]SAM_PROTO_ClearQueue [18:45:57]wFMCommunicate request_size=4 [18:45:57]MH_SAM_APDU [18:45:57]CAPDU: 80 09 00 00 [18:45:57]Write to MH i2c: E2 08 00 83 58 80 09 00 00 00 00 00 00 4D [18:45:57]Write i2c OK [18:45:57]MH_I2C_Read... [18:45:57]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:45:57]Read from MH i2c: E2 [18:45:57]MH_I2C_Read... [18:45:57]Read from MH i2c: E2 03 00 [18:45:57]MH_I2C_Read... [18:45:57]Read from MH i2c: E2 03 00 83 58 00 90 00 4F [18:45:57]RAPDU: 90 00 [18:45:57]wFMCommunicate OK [18:45:57]SAM_PROTO_ClearQueue done [18:45:57]KKMCreateOFDPacket [18:45:57]OFDProtocolAddRootSTLVToBuf [18:45:57]FM_MakeSignedData [18:45:57]FM_MakeSignedData [18:45:57]SAM_PROTO_SignData [18:45:57]wFMCommunicate request_size=4 [18:45:57]MH_SAM_APDU [18:45:57]CAPDU: 80 0D 01 02 [18:45:57]Write to MH i2c: E2 08 00 84 58 80 0D 01 02 00 00 00 00 55 [18:45:57]Write i2c OK [18:45:57]MH_I2C_Read... [18:45:57]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:45:57]Read from MH i2c: E2 [18:45:57]MH_I2C_Read... [18:45:57]Read from MH i2c: E2 03 00 [18:45:57]MH_I2C_Read... [18:45:57]Read from MH i2c: E2 03 00 84 58 00 90 00 50 [18:45:57]RAPDU: 90 00 [18:45:57]wFMCommunicate OK [18:45:57]wFMCommunicate request_size=255 [18:45:57]MH_SAM_APDU [18:45:57]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 00 00 00 00 00 00 39 04 06 00 0C 17 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 F5 A2 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 [18:45:57]Write to MH i2c: E2 02 01 85 58 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 00 00 00 00 00 00 39 04 06 00 0C 17 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 F5 A2 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 00 31 [18:45:57]Write i2c OK [18:45:57]MH_I2C_Read... [18:45:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:45:58]Read from MH i2c: E2 [18:45:58]MH_I2C_Read... [18:45:58]Read from MH i2c: E2 03 00 [18:45:58]MH_I2C_Read... [18:45:58]Read from MH i2c: E2 03 00 85 58 00 90 00 51 [18:45:58]RAPDU: 90 00 [18:45:58]wFMCommunicate OK [18:45:58]wFMCommunicate request_size=40 [18:45:58]MH_SAM_APDU [18:45:58]CAPDU: 80 0D 02 02 23 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 07 B9 00 00 35 04 06 00 CA 7D 12 F8 C4 1D [18:45:58]Write to MH i2c: E2 2B 00 86 58 80 0D 02 02 23 00 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 07 B9 00 00 35 04 06 00 CA 7D 12 F8 C4 1D 00 00 06 [18:45:58]Write i2c OK [18:45:58]MH_I2C_Read... [18:45:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:45:58]Read from MH i2c: E2 [18:45:58]MH_I2C_Read... [18:45:58]Read from MH i2c: E2 03 00 [18:45:58]MH_I2C_Read... [18:45:58]Read from MH i2c: E2 03 00 86 58 00 90 00 52 [18:45:58]RAPDU: 90 00 [18:45:58]wFMCommunicate OK [18:45:58]wFMCommunicate request_size=4 [18:45:58]MH_SAM_APDU [18:45:58]CAPDU: 80 0D 03 02 [18:45:58]Write to MH i2c: E2 08 00 87 58 80 0D 03 02 00 00 00 00 5A [18:45:58]Write i2c OK [18:45:58]MH_I2C_Read... [18:45:58]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:45:58]Read from MH i2c: E2 [18:45:58]MH_I2C_Read... [18:45:58]Read from MH i2c: E2 0B 00 [18:45:58]MH_I2C_Read... [18:45:58]Read from MH i2c: E2 0B 00 87 58 00 1D C3 D0 66 23 9E F1 C6 90 00 E9 [18:45:58]RAPDU: 1D C3 D0 66 23 9E F1 C6 90 00 [18:45:58]wFMCommunicate OK [18:45:58]SAM_PROTO_SignData done [18:45:58]FM_MakeSignedData done [18:45:58]CreateOFDProtocolMessage [18:45:58]wFMCommunicate request_size=4 [18:45:58]MH_SAM_APDU [18:45:58]CAPDU: 80 11 00 00 [18:45:58]Write to MH i2c: E2 08 00 88 58 80 11 00 00 00 00 00 00 5A [18:45:58]Write i2c OK [18:45:58]MH_I2C_Read... [18:45:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:45:58]Read from MH i2c: E2 [18:45:58]MH_I2C_Read... [18:45:58]Read from MH i2c: E2 17 00 [18:45:58]MH_I2C_Read... [18:45:58]Read from MH i2c: E2 17 00 88 58 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 AC [18:45:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [18:45:58]wFMCommunicate OK [18:45:58]CreateOFDProtocolMessage done [18:45:58]OFDSenderStorePacket 47367 [18:45:58]StoreOFDPacket docnum=47367 [18:45:58]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 2D 01 00 00 61 6F 25 01 41 EF 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 00 00 00 00 00 00 39 04 06 00 0C 17 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 F5 A2 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 07 B9 00 00 35 04 06 00 CA 7D 12 F8 C4 1D 1D C3 D0 66 23 9E F1 C6 [18:45:58]CheckFolder [18:45:58]dirname=/storage/ofd_packets [18:45:58]CheckFolder done [18:45:58]ProducePacketName [18:45:58]name=ofd_packets/00047367 [18:45:58]NVStorageSaveData ofd_packets/00047367 [18:45:58]File name is /storage/ofd_packets/00047367 [18:45:58]Write 331 bytes [18:45:58]NVStorageSaveData done [18:45:58]OFDSenderStorePacket done [18:45:58]KKMCreateOFDPacket done [18:45:58]NVStorageSaveData kkm_last_timestamp [18:45:58]File name is /storage/kkm_last_timestamp [18:45:58]Write 4 bytes [18:45:58]NVStorageSaveData done [18:45:58]ExternCall_PrintAddStr [18:45:58]wPrintStart [18:45:58]Write to MH i2c: 01 00 00 89 58 E1 [18:45:58]Write i2c OK [18:45:58]MH_I2C_Read... [18:45:58]Read from MH i2c: 01 [18:45:58]MH_I2C_Read... [18:45:58]Read from MH i2c: 01 07 00 [18:45:58]MH_I2C_Read... [18:45:58]Read from MH i2c: 01 07 00 89 58 00 00 00 00 00 FF 0F F6 [18:45:58]RasterBufferAndPrint [18:45:58]line Счет N : (3)242280 [18:45:58]line ИНН: 02508201610067 [18:45:58]line Контрольно-Кассовый Чек [18:45:58]line ПРОДАЖА [18:45:58]line Товар: 4607065001445 [18:45:58]line Шок батончик Snickers 50,5г [18:45:58]line 1.000 * 59.00 [18:45:58]line = 59.00 [18:45:58]line НДС 12% НСП 1% [18:45:58]line > о реализуемом товаре [18:45:58]line ИТОГО: 59.00 [18:45:58]line НСП 1% : 0.52 [18:45:58]line НДС 12% : 6.26 [18:45:58]line Наличными: 0.00 [18:45:58]line Безнал.: 59.00 [18:45:58]line Место: АЗС № 15 "Партнер Нефть" [18:45:58]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [18:45:58]line СНО: Общий режим [18:45:58]line Чек 45 12.03.2024 18:46 [18:45:58]line Смена: 314 ФФД: 1.0 [18:45:58]line ЗНМ: 0300000097 [18:45:58]line РНМ: 0000000000092018 [18:45:58]line Версия ККМ: 001 [18:45:58]line Платежная система: Демир КИ Банк [18:45:58]line ФМ: 0000000000871816 [18:45:58]line ФД: 47367 [18:45:58]line ФПД: 222638538015773 [18:45:58]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T184613&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47367&fm=222638538015773&tin=02508201610067®Number=0000000000092018&sum=5900 [18:45:58]line 0 [18:45:58]OFD Sender: Processing packet 47367 [packets to send 8, broken 7] [18:45:58]ProducePacketName [18:45:58]name=ofd_packets/00047367 [18:45:58]OFD Sender: To server: pG, [18:45:58]CommunicateWithHost lk.salyk.kg:30040 [18:45:58]ConnectInit lk.salyk.kg [18:45:58]written 0, free lines is 4095 [18:45:58]Connected sock=10 [18:45: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 31 36 2D 01 00 00 61 6F 25 01 41 EF 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 00 00 00 00 00 00 39 04 06 00 0C 17 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 F5 A2 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 07 B9 00 00 35 04 06 00 CA 7D 12 F8 C4 1D 1D C3 D0 66 23 9E F1 C6 [18:45: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 31 36 4F 00 00 00 79 65 47 00 0B 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 31 36 10 04 04 00 07 B9 00 00 F4 03 04 00 86 4D F0 65 B6 04 01 00 00 20 F1 2B 73 50 85 6A 42 [18:45:58]CommunicateWithHost err = 0 [18:45:58]CheckOFDResponse [18:45:58]1017 (14) - 77093643461234 [18:45:58]1041 (16) - 0000000000871816 [18:45:58]1040 (4) - 47367 [18:45:58]1012 (4) - 12.03.2024 12:41 [18:45:58]1206 (1) - 0 [18:45:58]OFD Sender: Remove packet 47367 [18:45:58]ProducePacketName [18:45:58]name=ofd_packets/00047367 [18:45:58]NVStorageDeleteData [18:45:59]Write to MH i2c: 01 00 00 B3 58 0B [18:45:59]Write i2c OK [18:45:59]MH_I2C_Read... [18:45:59]Read from MH i2c: 01 [18:45:59]MH_I2C_Read... [18:45:59]Read from MH i2c: 01 07 00 [18:45:59]MH_I2C_Read... [18:45:59]Read from MH i2c: 01 07 00 B3 58 00 00 00 00 00 DA 0C F8 [18:45:59]RasterBufferAndPrint [18:45:59]line [18:45:59]line [18:45:59]line [18:45:59]line [18:45:59]line [18:45:59]written 0, free lines is 3299 [18:45:59]MH_Cut [18:45:59]Write to MH i2c: D1 01 00 BA 58 01 E4 [18:45:59]Write i2c OK [18:45:59]MH_I2C_Read... [18:45:59]Read from MH i2c: D1 [18:45:59]MH_I2C_Read... [18:45:59]Read from MH i2c: D1 01 00 [18:45:59]MH_I2C_Read... [18:45:59]Read from MH i2c: D1 01 00 BA 58 00 E3 [18:45:59]Write to MH i2c: 01 00 00 BB 58 13 [18:45:59]Write i2c OK [18:45:59]MH_I2C_Read... [18:45:59]OFD Sender: No OFD packet to send [18:45:59]*** Cut start [18:45:59]*** Purtial cut [18:45:59]*** Stage 1: CUTSNS_PIN = 1 [18:46:00]Read from MH i2c: 01 [18:46:00]MH_I2C_Read... [18:46:00]*** Stop cut motor [18:46:00]*** Cut end [18:46:00]Read from MH i2c: 01 07 00 [18:46:00]MH_I2C_Read... [18:46:00]Read from MH i2c: 01 07 00 BB 58 00 00 00 00 00 FF 0F 28 [18:46:00]process_action close_receipt done [18:46:00]requested_data is exist [18:46:00]produce_requested_data [18:46:00]requested_item fm.sn is exist - process it [18:46:00]wFMCommunicate request_size=4 [18:46:00]MH_SAM_APDU [18:46:00]CAPDU: 80 11 00 00 [18:46:00]Write to MH i2c: E2 08 00 BC 58 80 11 00 00 00 00 00 00 8E [18:46:00]Write i2c OK [18:46:00]MH_I2C_Read... [18:46:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:46:00]Read from MH i2c: E2 [18:46:00]MH_I2C_Read... [18:46:00]Read from MH i2c: E2 17 00 [18:46:00]MH_I2C_Read... [18:46:00]Read from MH i2c: E2 17 00 BC 58 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 E0 [18:46:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [18:46:00]wFMCommunicate OK [18:46:00]requested_item fd.num is exist - process it [18:46:00]SAM_PROTO_GetFieldsCounters [18:46:00]wFMCommunicate request_size=4 [18:46:00]MH_SAM_APDU [18:46:00]CAPDU: 80 13 00 00 [18:46:00]Write to MH i2c: E2 08 00 BD 58 80 13 00 00 00 00 00 00 91 [18:46:00]Write i2c OK [18:46:00]MH_I2C_Read... [18:46:00]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:46:00]Read from MH i2c: E2 [18:46:00]MH_I2C_Read... [18:46:00]Read from MH i2c: E2 62 00 [18:46:00]MH_I2C_Read... [18:46:00]Read from MH i2c: E2 62 00 BD 58 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 07 B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 2D 00 00 00 5E 04 04 00 2D 00 00 00 57 04 04 00 2E 00 00 00 19 04 04 00 00 00 00 00 90 00 2E [18:46: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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 07 B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 2D 00 00 00 5E 04 04 00 2D 00 00 00 57 04 04 00 2E 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:46:00]wFMCommunicate OK [18:46:00]SAM_PROTO_GetFieldsCounters done [18:46:00]requested_item shift.num is exist - process it [18:46:00]requested_item shift.opened is exist - process it [18:46:00]req_shift_opened [18:46:00]FM_GetShiftState [18:46:00]SAM_PROTO_GetShiftState [18:46:00]wFMCommunicate request_size=4 [18:46:00]MH_SAM_APDU [18:46:00]CAPDU: 80 13 01 00 [18:46:00]Write to MH i2c: E2 08 00 BE 58 80 13 01 00 00 00 00 00 93 [18:46:00]Write i2c OK [18:46:00]MH_I2C_Read... [18:46:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:46:00]Read from MH i2c: E2 [18:46:00]MH_I2C_Read... [18:46:00]Read from MH i2c: E2 0E 00 [18:46:00]MH_I2C_Read... [18:46:00]Read from MH i2c: E2 0E 00 BE 58 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 C2 [18:46:00]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [18:46:00]wFMCommunicate OK [18:46:00]SAM_PROTO_GetShiftState done [18:46:00]FM_GetShiftState done [18:46:00]req_shift_opened done [18:46:00]requested_item shift.open_date is exist - process it [18:46:00]req_shift_open_date [18:46:00]req_shift_open_date done [18:46:00]produce_requested_data done [18:46:00]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47367,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [18:46:00]process_action_free close_receipt [18:46:00]json_value_free [18:46:00]json_value_free done [18:46:00]process_json_proto returns [18:46:00]Send response to host [18:46:00]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47367,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [18:46:00]free response buf [18:46:00]execute_script done [18:46:00]execute_script returns [18:46:00]free content buf [18:46:00]Sock 9.Close socket [18:46:00]Sock 9.Thread stoped [18:46:04]OFD Sender: No OFD packet to send [18:46:09]OFD Sender: No OFD packet to send [18:46:14]OFD Sender: No OFD packet to send [18:46:19]OFD Sender: No OFD packet to send [18:46:24]OFD Sender: No OFD packet to send [18:46:29]OFD Sender: No OFD packet to send [18:46:34]OFD Sender: No OFD packet to send [18:46:39]OFD Sender: No OFD packet to send [18:46:44]OFD Sender: No OFD packet to send [18:46:49]OFD Sender: No OFD packet to send [18:46:54]OFD Sender: No OFD packet to send [18:46:59]OFD Sender: No OFD packet to send [18:47:04]OFD Sender: No OFD packet to send [18:47:09]OFD Sender: No OFD packet to send [18:47:12]accept exits with 7 [18:47:12]New connection [18:47:12]New thread 3066453348 created [18:47:12]Thread 3066596708 joined [18:47:12]Waiting for new connection... [18:47:12] Sock 7.Parse request [18:47:12]Sock 7.Check first char [18:47:12]Sock 7.First char is OK [18:47:12]request: POST /json_proto HTTP/1.0 [18:47:12]Method: POST [18:47:12]URL: /json_proto [18:47:12]Method is POST - this is cgi request [18:47:12]url: /json_proto [18:47:12]query_string will be loaded in cgi processing [18:47:12]execute_cgi json_proto POST (null) [18:47:12]execute_cgi path=json_proto method=POST [18:47:12]POST find Content-Length [18:47:12]Host: 172.17.32.68:8080 [18:47:12]Content-Length: 632 [18:47:12]Content-Type: application/json [18:47:12] [18:47:12]POST finish read [18:47:12]Found Content-Length = 632 [18:47:12]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242281", "tax_sys" : 0, "items" : [ { "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 40.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:47:12]execute_script... [18:47: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)242281", "tax_sys" : 0, "items" : [ { "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 40.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:47:12]POST & json_proto [18:47:12]process_json_proto [18:47:12]json parsed OK: [18:47:12]protocol is kg_v1.0 [18:47:12]action value=close_receipt [18:47:12]process_action close_receipt [18:47:12]cmd_close_receipt [18:47:12]MH_GetDate [18:47:12]Write to MH i2c: F0 00 00 BF 58 06 [18:47:12]Write i2c OK [18:47:12]MH_I2C_Read... [18:47:12]Read from MH i2c: F0 [18:47:12]MH_I2C_Read... [18:47:12]Read from MH i2c: F0 09 00 [18:47:12]MH_I2C_Read... [18:47:12]Read from MH i2c: F0 09 00 BF 58 00 41 A3 F0 65 0A 64 6E 65 89 [18:47:12]GetLastDocTimeStamp 1710269173 [18:47:12]current date 1710269249 [18:47:12]FM_GetShiftState [18:47:12]SAM_PROTO_GetShiftState [18:47:12]wFMCommunicate request_size=4 [18:47:12]MH_SAM_APDU [18:47:12]CAPDU: 80 13 01 00 [18:47:12]Write to MH i2c: E2 08 00 C0 58 80 13 01 00 00 00 00 00 95 [18:47:12]Write i2c OK [18:47:12]MH_I2C_Read... [18:47:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:47:12]Read from MH i2c: E2 [18:47:12]MH_I2C_Read... [18:47:12]Read from MH i2c: E2 0E 00 [18:47:12]MH_I2C_Read... [18:47:12]Read from MH i2c: E2 0E 00 C0 58 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 C4 [18:47:12]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [18:47:12]wFMCommunicate OK [18:47:12]SAM_PROTO_GetShiftState done [18:47:12]FM_GetShiftState done [18:47:12]opened in 1710202417 [18:47:12]opened+sec_in_day 1710288817 [18:47:12]quantity*price = 4000 [18:47:12]sum+1 = 4001 [18:47:12]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 40.00 НСП 1% : 0.35 НДС 12% : 4.25 Наличными: 40.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 46 12.03.2024 18:47 Смена: 314 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47368 ФПД: 99478853765973 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T184729&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47368&fm=99478853765973&tin=02508201610067®Number=0000000000092018&sum=4000 0 [18:47:13]StoreToDocumentArchive [18:47:13]shift 314 fd 47368 [18:47:13]save to /storage/0314/doc_00047368 [18:47:13]save last doc name /storage/0314/doc_00047368 to /storage/kkm_last_doc_name [18:47:13]save OK [18:47:13]Clear old archive folders... [18:47:13]ProcessDocumentItem done err = 0, tmpTLVsize=271 [18:47:13]tlvbuf is 003C9EA0 [18:47:13]SAM_PROTO_ClearQueue [18:47:13]wFMCommunicate request_size=4 [18:47:13]MH_SAM_APDU [18:47:13]CAPDU: 80 09 00 00 [18:47:13]Write to MH i2c: E2 08 00 CD 58 80 09 00 00 00 00 00 00 97 [18:47:13]Write i2c OK [18:47:13]MH_I2C_Read... [18:47:13]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:47:13]Read from MH i2c: E2 [18:47:13]MH_I2C_Read... [18:47:13]Read from MH i2c: E2 03 00 [18:47:13]MH_I2C_Read... [18:47:13]Read from MH i2c: E2 03 00 CD 58 00 90 00 99 [18:47:13]RAPDU: 90 00 [18:47:13]wFMCommunicate OK [18:47:13]SAM_PROTO_ClearQueue done [18:47:13]KKMCreateOFDPacket [18:47:13]OFDProtocolAddRootSTLVToBuf [18:47:13]FM_MakeSignedData [18:47:13]FM_MakeSignedData [18:47:13]SAM_PROTO_SignData [18:47:13]wFMCommunicate request_size=4 [18:47:13]MH_SAM_APDU [18:47:13]CAPDU: 80 0D 01 02 [18:47:13]Write to MH i2c: E2 08 00 CE 58 80 0D 01 02 00 00 00 00 9F [18:47:13]Write i2c OK [18:47:13]MH_I2C_Read... [18:47:13]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:47:13]Read from MH i2c: E2 [18:47:13]MH_I2C_Read... [18:47:13]Read from MH i2c: E2 03 00 [18:47:13]MH_I2C_Read... [18:47:13]Read from MH i2c: E2 03 00 CE 58 00 90 00 9A [18:47:13]RAPDU: 90 00 [18:47:13]wFMCommunicate OK [18:47:13]wFMCommunicate request_size=255 [18:47:13]MH_SAM_APDU [18:47:13]CAPDU: 80 0D 02 02 FA 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 41 A3 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 [18:47:13]Write to MH i2c: E2 02 01 CF 58 80 0D 02 02 FA 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 41 A3 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 00 00 21 [18:47:13]Write i2c OK [18:47:13]MH_I2C_Read... [18:47:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:47:14]Read from MH i2c: E2 [18:47:14]MH_I2C_Read... [18:47:14]Read from MH i2c: E2 03 00 [18:47:14]MH_I2C_Read... [18:47:14]Read from MH i2c: E2 03 00 CF 58 00 90 00 9B [18:47:14]RAPDU: 90 00 [18:47:14]wFMCommunicate OK [18:47:14]wFMCommunicate request_size=30 [18:47:14]MH_SAM_APDU [18:47:14]CAPDU: 80 0D 02 02 19 30 38 37 31 38 31 36 10 04 04 00 08 B9 00 00 35 04 06 00 5A 79 B9 BD CB 55 [18:47:14]Write to MH i2c: E2 21 00 D0 58 80 0D 02 02 19 00 30 38 37 31 38 31 36 10 04 04 00 08 B9 00 00 35 04 06 00 5A 79 B9 BD CB 55 00 00 C4 [18:47:14]Write i2c OK [18:47:14]MH_I2C_Read... [18:47:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:47:14]Read from MH i2c: E2 [18:47:14]MH_I2C_Read... [18:47:14]Read from MH i2c: E2 03 00 [18:47:14]MH_I2C_Read... [18:47:14]Read from MH i2c: E2 03 00 D0 58 00 90 00 9C [18:47:14]RAPDU: 90 00 [18:47:14]wFMCommunicate OK [18:47:14]wFMCommunicate request_size=4 [18:47:14]MH_SAM_APDU [18:47:14]CAPDU: 80 0D 03 02 [18:47:14]Write to MH i2c: E2 08 00 D1 58 80 0D 03 02 00 00 00 00 A4 [18:47:14]Write i2c OK [18:47:14]MH_I2C_Read... [18:47:14]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:47:14]Read from MH i2c: E2 [18:47:14]MH_I2C_Read... [18:47:14]Read from MH i2c: E2 0B 00 [18:47:14]MH_I2C_Read... [18:47:14]Read from MH i2c: E2 0B 00 D1 58 00 56 52 E3 0F 28 D5 CD 51 90 00 5A [18:47:14]RAPDU: 56 52 E3 0F 28 D5 CD 51 90 00 [18:47:14]wFMCommunicate OK [18:47:14]SAM_PROTO_SignData done [18:47:14]FM_MakeSignedData done [18:47:14]CreateOFDProtocolMessage [18:47:14]wFMCommunicate request_size=4 [18:47:14]MH_SAM_APDU [18:47:14]CAPDU: 80 11 00 00 [18:47:14]Write to MH i2c: E2 08 00 D2 58 80 11 00 00 00 00 00 00 A4 [18:47:14]Write i2c OK [18:47:14]MH_I2C_Read... [18:47:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:47:14]Read from MH i2c: E2 [18:47:14]MH_I2C_Read... [18:47:14]Read from MH i2c: E2 17 00 [18:47:14]MH_I2C_Read... [18:47:14]Read from MH i2c: E2 17 00 D2 58 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 F6 [18:47:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [18:47:14]wFMCommunicate OK [18:47:14]CreateOFDProtocolMessage done [18:47:14]OFDSenderStorePacket 47368 [18:47:14]StoreOFDPacket docnum=47368 [18:47:14]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 23 01 00 00 88 4B 1B 01 28 FB 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 41 A3 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 08 B9 00 00 35 04 06 00 5A 79 B9 BD CB 55 56 52 E3 0F 28 D5 CD 51 [18:47:14]CheckFolder [18:47:14]dirname=/storage/ofd_packets [18:47:14]CheckFolder done [18:47:14]ProducePacketName [18:47:14]name=ofd_packets/00047368 [18:47:14]NVStorageSaveData ofd_packets/00047368 [18:47:14]File name is /storage/ofd_packets/00047368 [18:47:14]Write 321 bytes [18:47:14]NVStorageSaveData done [18:47:14]OFDSenderStorePacket done [18:47:14]KKMCreateOFDPacket done [18:47:14]NVStorageSaveData kkm_last_timestamp [18:47:14]File name is /storage/kkm_last_timestamp [18:47:14]Write 4 bytes [18:47:14]NVStorageSaveData done [18:47:14]ExternCall_PrintAddStr [18:47:14]wPrintStart [18:47:14]Write to MH i2c: 01 00 00 D3 58 2B [18:47:14]Write i2c OK [18:47:14]MH_I2C_Read... [18:47:14]Read from MH i2c: 01 [18:47:14]MH_I2C_Read... [18:47:14]Read from MH i2c: 01 07 00 [18:47:14]MH_I2C_Read... [18:47:14]Read from MH i2c: 01 07 00 D3 58 00 00 00 00 00 FF 0F 40 [18:47:14]RasterBufferAndPrint [18:47:14]line Счет N : (3)242281 [18:47:14]line ИНН: 02508201610067 [18:47:14]line Контрольно-Кассовый Чек [18:47:14]line ПРОДАЖА [18:47:14]line Товар: 4700000160211 [18:47:14]line Вода Легенда 0,5л [18:47:14]line 1.000 * 40.00 [18:47:14]line = 40.00 [18:47:14]line НДС 12% НСП 1% [18:47:14]line > о реализуемом товаре [18:47:14]line ИТОГО: 40.00 [18:47:14]line НСП 1% : 0.35 [18:47:14]line НДС 12% : 4.25 [18:47:14]line Наличными: 40.00 [18:47:14]line Безнал.: 0.00 [18:47:14]line Место: АЗС № 15 "Партнер Нефть" [18:47:14]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [18:47:14]line СНО: Общий режим [18:47:14]line Чек 46 12.03.2024 18:47 [18:47:14]line Смена: 314 ФФД: 1.0 [18:47:14]line ЗНМ: 0300000097 [18:47:14]line РНМ: 0000000000092018 [18:47:14]line Версия ККМ: 001 [18:47:14]line ФМ: 0000000000871816 [18:47:14]line ФД: 47368 [18:47:14]line ФПД: 99478853765973 [18:47:14]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T184729&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47368&fm=99478853765973&tin=02508201610067®Number=0000000000092018&sum=4000 [18:47:14]line 0 [18:47:14]OFD Sender: Processing packet 47368 [packets to send 8, broken 7] [18:47:14]ProducePacketName [18:47:14]name=ofd_packets/00047368 [18:47:14]OFD Sender: To server: pG, [18:47:14]CommunicateWithHost lk.salyk.kg:30040 [18:47:14]ConnectInit lk.salyk.kg [18:47:14]written 0, free lines is 4095 [18:47:14]Connected sock=11 [18:47: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 31 36 23 01 00 00 88 4B 1B 01 28 FB 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 41 A3 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 08 B9 00 00 35 04 06 00 5A 79 B9 BD CB 55 56 52 E3 0F 28 D5 CD 51 [18:47: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 31 36 4F 00 00 00 AD 1B 47 00 0E 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 31 36 10 04 04 00 08 B9 00 00 F4 03 04 00 D2 4D F0 65 B6 04 01 00 00 E2 98 67 3A 1F 39 8C 1E [18:47:14]CommunicateWithHost err = 0 [18:47:14]CheckOFDResponse [18:47:14]1017 (14) - 77093643461234 [18:47:14]1041 (16) - 0000000000871816 [18:47:14]1040 (4) - 47368 [18:47:14]1012 (4) - 12.03.2024 12:42 [18:47:14]1206 (1) - 0 [18:47:14]OFD Sender: Remove packet 47368 [18:47:14]ProducePacketName [18:47:14]name=ofd_packets/00047368 [18:47:14]NVStorageDeleteData [18:47:15]Write to MH i2c: 01 00 00 FB 58 53 [18:47:15]Write i2c OK [18:47:15]MH_I2C_Read... [18:47:15]Read from MH i2c: 01 [18:47:15]MH_I2C_Read... [18:47:15]Read from MH i2c: 01 07 00 [18:47:15]MH_I2C_Read... [18:47:15]Read from MH i2c: 01 07 00 FB 58 00 00 00 00 00 E9 0C 4F [18:47:15]RasterBufferAndPrint [18:47:15]line [18:47:15]line [18:47:15]line [18:47:15]line [18:47:15]line [18:47:15]written 0, free lines is 3311 [18:47:15]MH_Cut [18:47:15]Write to MH i2c: D1 01 00 02 59 01 2D [18:47:15]Write i2c OK [18:47:15]MH_I2C_Read... [18:47:15]Read from MH i2c: D1 [18:47:15]MH_I2C_Read... [18:47:15]Read from MH i2c: D1 01 00 [18:47:15]MH_I2C_Read... [18:47:15]Read from MH i2c: D1 01 00 02 59 00 2C [18:47:15]Write to MH i2c: 01 00 00 03 59 5C [18:47:15]Write i2c OK [18:47:15]MH_I2C_Read... [18:47:15]OFD Sender: No OFD packet to send [18:47:15]*** Cut start [18:47:15]*** Purtial cut [18:47:15]*** Stage 1: CUTSNS_PIN = 1 [18:47:16]Read from MH i2c: 01 [18:47:16]MH_I2C_Read... [18:47:16]*** Stop cut motor [18:47:16]*** Cut end [18:47:16]Read from MH i2c: 01 07 00 [18:47:16]MH_I2C_Read... [18:47:16]Read from MH i2c: 01 07 00 03 59 00 00 00 00 00 FF 0F 71 [18:47:16]process_action close_receipt done [18:47:16]requested_data is exist [18:47:16]produce_requested_data [18:47:16]requested_item fm.sn is exist - process it [18:47:16]wFMCommunicate request_size=4 [18:47:16]MH_SAM_APDU [18:47:16]CAPDU: 80 11 00 00 [18:47:16]Write to MH i2c: E2 08 00 04 59 80 11 00 00 00 00 00 00 D7 [18:47:16]Write i2c OK [18:47:16]MH_I2C_Read... [18:47:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:47:16]Read from MH i2c: E2 [18:47:16]MH_I2C_Read... [18:47:16]Read from MH i2c: E2 17 00 [18:47:16]MH_I2C_Read... [18:47:16]Read from MH i2c: E2 17 00 04 59 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 29 [18:47:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [18:47:16]wFMCommunicate OK [18:47:16]requested_item fd.num is exist - process it [18:47:16]SAM_PROTO_GetFieldsCounters [18:47:16]wFMCommunicate request_size=4 [18:47:16]MH_SAM_APDU [18:47:16]CAPDU: 80 13 00 00 [18:47:16]Write to MH i2c: E2 08 00 05 59 80 13 00 00 00 00 00 00 DA [18:47:16]Write i2c OK [18:47:16]MH_I2C_Read... [18:47:16]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:47:16]Read from MH i2c: E2 [18:47:16]MH_I2C_Read... [18:47:16]Read from MH i2c: E2 62 00 [18:47:16]MH_I2C_Read... [18:47:16]Read from MH i2c: E2 62 00 05 59 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 08 B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 2E 00 00 00 5E 04 04 00 2E 00 00 00 57 04 04 00 2F 00 00 00 19 04 04 00 00 00 00 00 90 00 7B [18:47: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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 08 B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 2E 00 00 00 5E 04 04 00 2E 00 00 00 57 04 04 00 2F 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:47:16]wFMCommunicate OK [18:47:16]SAM_PROTO_GetFieldsCounters done [18:47:16]requested_item shift.num is exist - process it [18:47:16]requested_item shift.opened is exist - process it [18:47:16]req_shift_opened [18:47:16]FM_GetShiftState [18:47:16]SAM_PROTO_GetShiftState [18:47:16]wFMCommunicate request_size=4 [18:47:16]MH_SAM_APDU [18:47:16]CAPDU: 80 13 01 00 [18:47:16]Write to MH i2c: E2 08 00 06 59 80 13 01 00 00 00 00 00 DC [18:47:16]Write i2c OK [18:47:16]MH_I2C_Read... [18:47:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:47:16]Read from MH i2c: E2 [18:47:16]MH_I2C_Read... [18:47:16]Read from MH i2c: E2 0E 00 [18:47:16]MH_I2C_Read... [18:47:16]Read from MH i2c: E2 0E 00 06 59 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 0B [18:47:16]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [18:47:16]wFMCommunicate OK [18:47:16]SAM_PROTO_GetShiftState done [18:47:16]FM_GetShiftState done [18:47:16]req_shift_opened done [18:47:16]requested_item shift.open_date is exist - process it [18:47:16]req_shift_open_date [18:47:16]req_shift_open_date done [18:47:16]produce_requested_data done [18:47:16]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47368,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [18:47:16]process_action_free close_receipt [18:47:16]json_value_free [18:47:16]json_value_free done [18:47:16]process_json_proto returns [18:47:16]Send response to host [18:47:16]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47368,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [18:47:16]free response buf [18:47:16]execute_script done [18:47:16]execute_script returns [18:47:16]free content buf [18:47:16]Sock 7.Close socket [18:47:16]Sock 7.Thread stoped [18:47:20]OFD Sender: No OFD packet to send [18:47:25]OFD Sender: No OFD packet to send [18:47:30]OFD Sender: No OFD packet to send [18:47:35]OFD Sender: No OFD packet to send [18:47:40]OFD Sender: No OFD packet to send [18:47:45]OFD Sender: No OFD packet to send [18:47:50]OFD Sender: No OFD packet to send [18:47:55]OFD Sender: No OFD packet to send [18:48:00]OFD Sender: No OFD packet to send [18:48:05]OFD Sender: No OFD packet to send [18:48:10]OFD Sender: No OFD packet to send [18:48:15]OFD Sender: No OFD packet to send [18:48:20]OFD Sender: No OFD packet to send [18:48:25]OFD Sender: No OFD packet to send [18:48:30]OFD Sender: No OFD packet to send [18:48:35]OFD Sender: No OFD packet to send [18:48:40]OFD Sender: No OFD packet to send [18:48:45]OFD Sender: No OFD packet to send [18:48:50]OFD Sender: No OFD packet to send [18:48:55]OFD Sender: No OFD packet to send [18:49:00]OFD Sender: No OFD packet to send [18:49:05]OFD Sender: No OFD packet to send [18:49:10]OFD Sender: No OFD packet to send [18:49:15]OFD Sender: No OFD packet to send [18:49:20]OFD Sender: No OFD packet to send [18:49:25]OFD Sender: No OFD packet to send [18:49:30]OFD Sender: No OFD packet to send [18:49:35]OFD Sender: No OFD packet to send [18:49:40]OFD Sender: No OFD packet to send [18:49:45]OFD Sender: No OFD packet to send [18:49:50]OFD Sender: No OFD packet to send [18:49:55]OFD Sender: No OFD packet to send [18:50:00]OFD Sender: No OFD packet to send [18:50:05]OFD Sender: No OFD packet to send [18:50:10]OFD Sender: No OFD packet to send [18:50:15]OFD Sender: No OFD packet to send [18:50:20]OFD Sender: No OFD packet to send [18:50:25]OFD Sender: No OFD packet to send [18:50:30]OFD Sender: No OFD packet to send [18:50:35]OFD Sender: No OFD packet to send [18:50:40]OFD Sender: No OFD packet to send [18:50:45]OFD Sender: No OFD packet to send [18:50:50]OFD Sender: No OFD packet to send [18:50:55]OFD Sender: No OFD packet to send [18:51:00]OFD Sender: No OFD packet to send [18:51:05]OFD Sender: No OFD packet to send [18:51:10]OFD Sender: No OFD packet to send [18:51:15]OFD Sender: No OFD packet to send [18:51:20]OFD Sender: No OFD packet to send [18:51:25]OFD Sender: No OFD packet to send [18:51:30]OFD Sender: No OFD packet to send [18:51:35]OFD Sender: No OFD packet to send [18:51:40]OFD Sender: No OFD packet to send [18:51:45]OFD Sender: No OFD packet to send [18:51:50]OFD Sender: No OFD packet to send [18:51:55]OFD Sender: No OFD packet to send [18:52:00]OFD Sender: No OFD packet to send [18:52:05]OFD Sender: No OFD packet to send [18:52:10]OFD Sender: No OFD packet to send [18:52:15]OFD Sender: No OFD packet to send [18:52:20]OFD Sender: No OFD packet to send [18:52:25]OFD Sender: No OFD packet to send [18:52:30]OFD Sender: No OFD packet to send [18:52:35]OFD Sender: No OFD packet to send [18:52:40]OFD Sender: No OFD packet to send [18:52:45]OFD Sender: No OFD packet to send [18:52:50]OFD Sender: No OFD packet to send [18:52:55]OFD Sender: No OFD packet to send [18:53:00]OFD Sender: No OFD packet to send [18:53:05]OFD Sender: No OFD packet to send [18:53:10]OFD Sender: No OFD packet to send [18:53:15]OFD Sender: No OFD packet to send [18:53:20]OFD Sender: No OFD packet to send [18:53:25]OFD Sender: No OFD packet to send [18:53:30]OFD Sender: No OFD packet to send [18:53:35]OFD Sender: No OFD packet to send [18:53:40]OFD Sender: No OFD packet to send [18:53:45]OFD Sender: No OFD packet to send [18:53:50]OFD Sender: No OFD packet to send [18:53:55]OFD Sender: No OFD packet to send [18:54:00]OFD Sender: No OFD packet to send [18:54:05]OFD Sender: No OFD packet to send [18:54:10]OFD Sender: No OFD packet to send [18:54:15]OFD Sender: No OFD packet to send [18:54:20]OFD Sender: No OFD packet to send [18:54:25]OFD Sender: No OFD packet to send [18:54:30]OFD Sender: No OFD packet to send [18:54:35]OFD Sender: No OFD packet to send [18:54:40]OFD Sender: No OFD packet to send [18:54:45]OFD Sender: No OFD packet to send [18:54:50]OFD Sender: No OFD packet to send [18:54:55]OFD Sender: No OFD packet to send [18:55:00]OFD Sender: No OFD packet to send [18:55:05]OFD Sender: No OFD packet to send [18:55:10]OFD Sender: No OFD packet to send [18:55:15]OFD Sender: No OFD packet to send [18:55:20]OFD Sender: No OFD packet to send [18:55:25]OFD Sender: No OFD packet to send [18:55:30]OFD Sender: No OFD packet to send [18:55:35]OFD Sender: No OFD packet to send [18:55:40]OFD Sender: No OFD packet to send [18:55:45]OFD Sender: No OFD packet to send [18:55:50]OFD Sender: No OFD packet to send [18:55:55]OFD Sender: No OFD packet to send [18:56:00]OFD Sender: No OFD packet to send [18:56:05]OFD Sender: No OFD packet to send [18:56:10]OFD Sender: No OFD packet to send [18:56:15]OFD Sender: No OFD packet to send [18:56:20]OFD Sender: No OFD packet to send [18:56:25]OFD Sender: No OFD packet to send [18:56:30]OFD Sender: No OFD packet to send [18:56:35]OFD Sender: No OFD packet to send [18:56:40]OFD Sender: No OFD packet to send [18:56:45]OFD Sender: No OFD packet to send [18:56:50]OFD Sender: No OFD packet to send [18:56:55]OFD Sender: No OFD packet to send [18:57:00]OFD Sender: No OFD packet to send [18:57:05]OFD Sender: No OFD packet to send [18:57:10]OFD Sender: No OFD packet to send [18:57:15]OFD Sender: No OFD packet to send [18:57:20]OFD Sender: No OFD packet to send [18:57:25]OFD Sender: No OFD packet to send [18:57:30]OFD Sender: No OFD packet to send [18:57:35]OFD Sender: No OFD packet to send [18:57:40]OFD Sender: No OFD packet to send [18:57:45]OFD Sender: No OFD packet to send [18:57:50]OFD Sender: No OFD packet to send [18:57:55]OFD Sender: No OFD packet to send [18:58:00]OFD Sender: No OFD packet to send [18:58:05]OFD Sender: No OFD packet to send [18:58:10]OFD Sender: No OFD packet to send [18:58:15]OFD Sender: No OFD packet to send [18:58:20]OFD Sender: No OFD packet to send [18:58:25]OFD Sender: No OFD packet to send [18:58:31]OFD Sender: No OFD packet to send [18:58:36]OFD Sender: No OFD packet to send [18:58:41]OFD Sender: No OFD packet to send [18:58:46]OFD Sender: No OFD packet to send [18:58:51]OFD Sender: No OFD packet to send [18:58:56]OFD Sender: No OFD packet to send [18:59:01]OFD Sender: No OFD packet to send [18:59:06]OFD Sender: No OFD packet to send [18:59:11]OFD Sender: No OFD packet to send [18:59:16]OFD Sender: No OFD packet to send [18:59:21]OFD Sender: No OFD packet to send [18:59:26]OFD Sender: No OFD packet to send [18:59:31]OFD Sender: No OFD packet to send [18:59:36]OFD Sender: No OFD packet to send [18:59:41]OFD Sender: No OFD packet to send [18:59:46]OFD Sender: No OFD packet to send [18:59:51]OFD Sender: No OFD packet to send [18:59:56]OFD Sender: No OFD packet to send [19:00:01]OFD Sender: No OFD packet to send [19:00:06]OFD Sender: No OFD packet to send [19:00:11]OFD Sender: No OFD packet to send [19:00:16]OFD Sender: No OFD packet to send [19:00:21]OFD Sender: No OFD packet to send [19:00:26]OFD Sender: No OFD packet to send [19:00:31]OFD Sender: No OFD packet to send [19:00:36]OFD Sender: No OFD packet to send [19:00:41]OFD Sender: No OFD packet to send [19:00:46]OFD Sender: No OFD packet to send [19:00:51]OFD Sender: No OFD packet to send [19:00:56]OFD Sender: No OFD packet to send [19:01:01]OFD Sender: No OFD packet to send [19:01:06]OFD Sender: No OFD packet to send [19:01:11]OFD Sender: No OFD packet to send [19:01:16]OFD Sender: No OFD packet to send [19:01:21]OFD Sender: No OFD packet to send [19:01:26]OFD Sender: No OFD packet to send [19:01:31]OFD Sender: No OFD packet to send [19:01:36]OFD Sender: No OFD packet to send [19:01:41]OFD Sender: No OFD packet to send [19:01:46]OFD Sender: No OFD packet to send [19:01:51]OFD Sender: No OFD packet to send [19:01:56]OFD Sender: No OFD packet to send [19:02:01]OFD Sender: No OFD packet to send [19:02:06]OFD Sender: No OFD packet to send [19:02:11]OFD Sender: No OFD packet to send [19:02:16]OFD Sender: No OFD packet to send [19:02:21]OFD Sender: No OFD packet to send [19:02:26]OFD Sender: No OFD packet to send [19:02:31]OFD Sender: No OFD packet to send [19:02:36]OFD Sender: No OFD packet to send [19:02:41]OFD Sender: No OFD packet to send [19:02:46]OFD Sender: No OFD packet to send [19:02:46]accept exits with 9 [19:02:46]New connection [19:02:46]New thread 3066596708 created [19:02:46]Thread 3066453348 joined [19:02:46]Waiting for new connection... [19:02:46] Sock 9.Parse request [19:02:46]Sock 9.Check first char [19:02:46]Sock 9.First char is OK [19:02:46]request: POST /json_proto HTTP/1.0 [19:02:46]Method: POST [19:02:46]URL: /json_proto [19:02:46]Method is POST - this is cgi request [19:02:46]url: /json_proto [19:02:46]query_string will be loaded in cgi processing [19:02:46]execute_cgi json_proto POST (null) [19:02:46]execute_cgi path=json_proto method=POST [19:02:46]POST find Content-Length [19:02:46]Host: 172.17.32.68:8080 [19:02:46]Content-Length: 925 [19:02:46]Content-Type: application/json [19:02:46] [19:02:46]POST finish read [19:02:46]Found Content-Length = 925 [19:02:46]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242282", "tax_sys" : 0, "items" : [ { "code": "58411125749", "name": "\u0422\u0435 \u0441\u0430\u043C\u044B\u0435 \u043C\u0430\u043A\u0430\u0440\u043E\u043D", "price" : 190.00, "quantity" : 1.000, "sum" : 190.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4800452010610", "name": "\u041A\u043E\u0444\u0435 \u043A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL (\u0410\u041A\u0426\u0418\u042F)", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 310.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:02:46]execute_script... [19:02: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)242282", "tax_sys" : 0, "items" : [ { "code": "58411125749", "name": "\u0422\u0435 \u0441\u0430\u043C\u044B\u0435 \u043C\u0430\u043A\u0430\u0440\u043E\u043D", "price" : 190.00, "quantity" : 1.000, "sum" : 190.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4800452010610", "name": "\u041A\u043E\u0444\u0435 \u043A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL (\u0410\u041A\u0426\u0418\u042F)", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 310.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:02:46]POST & json_proto [19:02:46]process_json_proto [19:02:46]json parsed OK: [19:02:46]protocol is kg_v1.0 [19:02:46]action value=close_receipt [19:02:46]process_action close_receipt [19:02:46]cmd_close_receipt [19:02:46]MH_GetDate [19:02:46]Write to MH i2c: F0 00 00 07 59 4F [19:02:46]Write i2c OK [19:02:46]MH_I2C_Read... [19:02:46]Read from MH i2c: F0 [19:02:46]MH_I2C_Read... [19:02:46]Read from MH i2c: F0 09 00 [19:02:46]MH_I2C_Read... [19:02:46]Read from MH i2c: F0 09 00 07 59 00 E7 A6 F0 65 0A 64 6E 65 7B [19:02:46]GetLastDocTimeStamp 1710269249 [19:02:46]current date 1710270183 [19:02:46]FM_GetShiftState [19:02:46]SAM_PROTO_GetShiftState [19:02:46]wFMCommunicate request_size=4 [19:02:46]MH_SAM_APDU [19:02:46]CAPDU: 80 13 01 00 [19:02:46]Write to MH i2c: E2 08 00 08 59 80 13 01 00 00 00 00 00 DE [19:02:46]Write i2c OK [19:02:46]MH_I2C_Read... [19:02:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:02:46]Read from MH i2c: E2 [19:02:46]MH_I2C_Read... [19:02:46]Read from MH i2c: E2 0E 00 [19:02:46]MH_I2C_Read... [19:02:46]Read from MH i2c: E2 0E 00 08 59 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 0D [19:02:46]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [19:02:46]wFMCommunicate OK [19:02:46]SAM_PROTO_GetShiftState done [19:02:46]FM_GetShiftState done [19:02:46]opened in 1710202417 [19:02:46]opened+sec_in_day 1710288817 [19:02:46]quantity*price = 19000 [19:02:46]sum+1 = 19001 [19:02:46]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4800452010610 Кофе капучино XL (АКЦИЯ) 1.000 * 120.00 = 120.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 310.00 НСП 1% : 2.74 НДС 12% : 32.92 Наличными: 310.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 47 12.03.2024 19:03 Смена: 314 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47369 ФПД: 22066046983308 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T190303&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47369&fm=22066046983308&tin=02508201610067®Number=0000000000092018&sum=31000 0 [19:02:47]StoreToDocumentArchive [19:02:47]shift 314 fd 47369 [19:02:47]save to /storage/0314/doc_00047369 [19:02:47]save last doc name /storage/0314/doc_00047369 to /storage/kkm_last_doc_name [19:02:47]save OK [19:02:47]Clear old archive folders... [19:02:47]ProcessDocumentItem done err = 0, tmpTLVsize=383 [19:02:47]tlvbuf is B6E83830 [19:02:47]SAM_PROTO_ClearQueue [19:02:47]wFMCommunicate request_size=4 [19:02:47]MH_SAM_APDU [19:02:47]CAPDU: 80 09 00 00 [19:02:47]Write to MH i2c: E2 08 00 15 59 80 09 00 00 00 00 00 00 E0 [19:02:47]Write i2c OK [19:02:47]MH_I2C_Read... [19:02:47]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:02:47]Read from MH i2c: E2 [19:02:47]MH_I2C_Read... [19:02:47]Read from MH i2c: E2 03 00 [19:02:47]MH_I2C_Read... [19:02:47]Read from MH i2c: E2 03 00 15 59 00 90 00 E2 [19:02:47]RAPDU: 90 00 [19:02:47]wFMCommunicate OK [19:02:47]SAM_PROTO_ClearQueue done [19:02:47]KKMCreateOFDPacket [19:02:47]OFDProtocolAddRootSTLVToBuf [19:02:47]FM_MakeSignedData [19:02:47]FM_MakeSignedData [19:02:47]SAM_PROTO_SignData [19:02:47]wFMCommunicate request_size=4 [19:02:47]MH_SAM_APDU [19:02:47]CAPDU: 80 0D 01 02 [19:02:47]Write to MH i2c: E2 08 00 16 59 80 0D 01 02 00 00 00 00 E8 [19:02:47]Write i2c OK [19:02:47]MH_I2C_Read... [19:02:47]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:02:47]Read from MH i2c: E2 [19:02:47]MH_I2C_Read... [19:02:47]Read from MH i2c: E2 03 00 [19:02:47]MH_I2C_Read... [19:02:47]Read from MH i2c: E2 03 00 16 59 00 90 00 E3 [19:02:47]RAPDU: 90 00 [19:02:47]wFMCommunicate OK [19:02:47]wFMCommunicate request_size=255 [19:02:47]MH_SAM_APDU [19:02:47]CAPDU: 80 0D 02 02 FA 03 00 7F 01 1E 04 01 00 01 23 04 60 00 8A 04 0B 00 35 38 34 31 31 31 32 35 37 34 39 06 04 1E 00 D0 A2 D0 B5 20 D1 81 D0 B0 D0 BC D1 8B D0 B5 20 D0 BC D0 B0 D0 BA D0 B0 D1 80 D0 BE D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 38 4A 00 00 00 00 13 04 06 00 38 4A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 38 30 30 34 35 32 30 31 30 36 31 30 06 04 29 00 D0 9A D0 BE D1 84 D0 B5 20 D0 BA D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 20 28 D0 90 D0 9A D0 A6 D0 98 D0 AF 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 18 79 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 12 [19:02:47]Write to MH i2c: E2 02 01 17 59 80 0D 02 02 FA 00 03 00 7F 01 1E 04 01 00 01 23 04 60 00 8A 04 0B 00 35 38 34 31 31 31 32 35 37 34 39 06 04 1E 00 D0 A2 D0 B5 20 D1 81 D0 B0 D0 BC D1 8B D0 B5 20 D0 BC D0 B0 D0 BA D0 B0 D1 80 D0 BE D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 38 4A 00 00 00 00 13 04 06 00 38 4A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 38 30 30 34 35 32 30 31 30 36 31 30 06 04 29 00 D0 9A D0 BE D1 84 D0 B5 20 D0 BA D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 20 28 D0 90 D0 9A D0 A6 D0 98 D0 AF 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 18 79 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 12 00 00 18 [19:02:47]Write i2c OK [19:02:47]MH_I2C_Read... [19:02:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:02:48]Read from MH i2c: E2 [19:02:48]MH_I2C_Read... [19:02:48]Read from MH i2c: E2 03 00 [19:02:48]MH_I2C_Read... [19:02:48]Read from MH i2c: E2 03 00 17 59 00 90 00 E4 [19:02:48]RAPDU: 90 00 [19:02:48]wFMCommunicate OK [19:02:48]wFMCommunicate request_size=142 [19:02:48]MH_SAM_APDU [19:02:48]CAPDU: 80 0D 02 02 89 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DC 0C 00 00 00 00 07 04 06 00 18 79 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 E7 A6 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 09 B9 00 00 35 04 06 00 14 11 A6 E4 5C 8C [19:02:48]Write to MH i2c: E2 91 00 18 59 80 0D 02 02 89 00 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DC 0C 00 00 00 00 07 04 06 00 18 79 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 E7 A6 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 09 B9 00 00 35 04 06 00 14 11 A6 E4 5C 8C 00 00 43 [19:02:48]Write i2c OK [19:02:48]MH_I2C_Read... [19:02:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:02:48]Read from MH i2c: E2 [19:02:48]MH_I2C_Read... [19:02:48]Read from MH i2c: E2 03 00 [19:02:48]MH_I2C_Read... [19:02:48]Read from MH i2c: E2 03 00 18 59 00 90 00 E5 [19:02:48]RAPDU: 90 00 [19:02:48]wFMCommunicate OK [19:02:48]wFMCommunicate request_size=4 [19:02:48]MH_SAM_APDU [19:02:48]CAPDU: 80 0D 03 02 [19:02:48]Write to MH i2c: E2 08 00 19 59 80 0D 03 02 00 00 00 00 ED [19:02:48]Write i2c OK [19:02:48]MH_I2C_Read... [19:02:48]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:02:48]Read from MH i2c: E2 [19:02:48]MH_I2C_Read... [19:02:48]Read from MH i2c: E2 0B 00 [19:02:48]MH_I2C_Read... [19:02:48]Read from MH i2c: E2 0B 00 19 59 00 75 2D CF 4A 6C CA 62 BA 90 00 FB [19:02:48]RAPDU: 75 2D CF 4A 6C CA 62 BA 90 00 [19:02:48]wFMCommunicate OK [19:02:48]SAM_PROTO_SignData done [19:02:48]FM_MakeSignedData done [19:02:48]CreateOFDProtocolMessage [19:02:48]wFMCommunicate request_size=4 [19:02:48]MH_SAM_APDU [19:02:48]CAPDU: 80 11 00 00 [19:02:48]Write to MH i2c: E2 08 00 1A 59 80 11 00 00 00 00 00 00 ED [19:02:48]Write i2c OK [19:02:48]MH_I2C_Read... [19:02:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:02:48]Read from MH i2c: E2 [19:02:48]MH_I2C_Read... [19:02:48]Read from MH i2c: E2 17 00 [19:02:48]MH_I2C_Read... [19:02:48]Read from MH i2c: E2 17 00 1A 59 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 3F [19:02:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [19:02:48]wFMCommunicate OK [19:02:48]CreateOFDProtocolMessage done [19:02:48]OFDSenderStorePacket 47369 [19:02:48]StoreOFDPacket docnum=47369 [19:02:48]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 93 01 00 00 05 16 8B 01 14 94 5A 03 01 00 03 00 7F 01 1E 04 01 00 01 23 04 60 00 8A 04 0B 00 35 38 34 31 31 31 32 35 37 34 39 06 04 1E 00 D0 A2 D0 B5 20 D1 81 D0 B0 D0 BC D1 8B D0 B5 20 D0 BC D0 B0 D0 BA D0 B0 D1 80 D0 BE D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 38 4A 00 00 00 00 13 04 06 00 38 4A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 38 30 30 34 35 32 30 31 30 36 31 30 06 04 29 00 D0 9A D0 BE D1 84 D0 B5 20 D0 BA D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 20 28 D0 90 D0 9A D0 A6 D0 98 D0 AF 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 18 79 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 12 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DC 0C 00 00 00 00 07 04 06 00 18 79 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 E7 A6 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 09 B9 00 00 35 04 06 00 14 11 A6 E4 5C 8C 75 2D CF 4A 6C CA 62 BA [19:02:48]CheckFolder [19:02:48]dirname=/storage/ofd_packets [19:02:48]CheckFolder done [19:02:48]ProducePacketName [19:02:48]name=ofd_packets/00047369 [19:02:48]NVStorageSaveData ofd_packets/00047369 [19:02:48]File name is /storage/ofd_packets/00047369 [19:02:48]Write 433 bytes [19:02:48]NVStorageSaveData done [19:02:48]OFDSenderStorePacket done [19:02:48]KKMCreateOFDPacket done [19:02:48]NVStorageSaveData kkm_last_timestamp [19:02:48]File name is /storage/kkm_last_timestamp [19:02:48]Write 4 bytes [19:02:48]NVStorageSaveData done [19:02:48]ExternCall_PrintAddStr [19:02:48]wPrintStart [19:02:48]Write to MH i2c: 01 00 00 1B 59 74 [19:02:48]Write i2c OK [19:02:48]MH_I2C_Read... [19:02:48]Read from MH i2c: 01 [19:02:48]MH_I2C_Read... [19:02:48]Read from MH i2c: 01 07 00 [19:02:48]MH_I2C_Read... [19:02:48]Read from MH i2c: 01 07 00 1B 59 00 00 00 00 00 FF 0F 89 [19:02:48]RasterBufferAndPrint [19:02:48]line Счет N : (3)242282 [19:02:48]line ИНН: 02508201610067 [19:02:48]line Контрольно-Кассовый Чек [19:02:48]line ПРОДАЖА [19:02:48]line Товар: 58411125749 [19:02:48]line Те самые макарон [19:02:48]line 1.000 * 190.00 [19:02:48]line = 190.00 [19:02:48]line НДС 12% НСП 1% [19:02:48]line > о реализуемом товаре [19:02:48]line Товар: 4800452010610 [19:02:48]line Кофе капучино XL (АКЦИЯ) [19:02:48]line 1.000 * 120.00 [19:02:48]line = 120.00 [19:02:48]line НДС 12% НСП 1% [19:02:48]line > о реализуемом товаре [19:02:48]line ИТОГО: 310.00 [19:02:48]line НСП 1% : 2.74 [19:02:48]line НДС 12% : 32.92 [19:02:48]line Наличными: 310.00 [19:02:48]line Безнал.: 0.00 [19:02:48]line Место: АЗС № 15 "Партнер Нефть" [19:02:48]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [19:02:48]line СНО: Общий режим [19:02:48]line Чек 47 12.03.2024 19:03 [19:02:48]line Смена: 314 ФФД: 1.0 [19:02:48]line ЗНМ: 0300000097 [19:02:48]line РНМ: 0000000000092018 [19:02:48]line Версия ККМ: 001 [19:02:48]line ФМ: 0000000000871816 [19:02:48]line ФД: 47369 [19:02:48]line ФПД: 22066046983308 [19:02:48]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T190303&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47369&fm=22066046983308&tin=02508201610067®Number=0000000000092018&sum=31000 [19:02:48]line 0 [19:02:48]OFD Sender: Processing packet 47369 [packets to send 8, broken 7] [19:02:48]ProducePacketName [19:02:48]name=ofd_packets/00047369 [19:02:48]OFD Sender: To server: pG, [19:02:48]CommunicateWithHost lk.salyk.kg:30040 [19:02:48]ConnectInit lk.salyk.kg [19:02:48]written 0, free lines is 4095 [19:02:48]Connected sock=10 [19:02: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 31 36 93 01 00 00 05 16 8B 01 14 94 5A 03 01 00 03 00 7F 01 1E 04 01 00 01 23 04 60 00 8A 04 0B 00 35 38 34 31 31 31 32 35 37 34 39 06 04 1E 00 D0 A2 D0 B5 20 D1 81 D0 B0 D0 BC D1 8B D0 B5 20 D0 BC D0 B0 D0 BA D0 B0 D1 80 D0 BE D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 38 4A 00 00 00 00 13 04 06 00 38 4A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 38 30 30 34 35 32 30 31 30 36 31 30 06 04 29 00 D0 9A D0 BE D1 84 D0 B5 20 D0 BA D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 20 28 D0 90 D0 9A D0 A6 D0 98 D0 AF 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 18 79 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 12 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DC 0C 00 00 00 00 07 04 06 00 18 79 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 E7 A6 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 09 B9 00 00 35 04 06 00 14 11 A6 E4 5C 8C 75 2D CF 4A 6C CA 62 BA [19:02: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 31 36 4F 00 00 00 F9 9D 47 00 CF F5 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 31 36 10 04 04 00 09 B9 00 00 F4 03 04 00 78 51 F0 65 B6 04 01 00 00 A6 9F 1F A6 EF 47 63 AD [19:02:49]CommunicateWithHost err = 0 [19:02:49]CheckOFDResponse [19:02:49]1017 (14) - 77093643461234 [19:02:49]1041 (16) - 0000000000871816 [19:02:49]1040 (4) - 47369 [19:02:49]1012 (4) - 12.03.2024 12:58 [19:02:49]1206 (1) - 0 [19:02:49]OFD Sender: Remove packet 47369 [19:02:49]ProducePacketName [19:02:49]name=ofd_packets/00047369 [19:02:49]NVStorageDeleteData [19:02:49]Write to MH i2c: 01 00 00 49 59 A2 [19:02:49]Write i2c OK [19:02:49]MH_I2C_Read... [19:02:49]Read from MH i2c: 01 [19:02:49]MH_I2C_Read... [19:02:49]Read from MH i2c: 01 07 00 [19:02:49]MH_I2C_Read... [19:02:49]Read from MH i2c: 01 07 00 49 59 00 00 00 00 00 9B 0C 50 [19:02:49]RasterBufferAndPrint [19:02:49]line [19:02:49]line [19:02:49]line [19:02:49]line [19:02:49]line [19:02:49]written 0, free lines is 3233 [19:02:49]MH_Cut [19:02:49]Write to MH i2c: D1 01 00 50 59 01 7B [19:02:49]Write i2c OK [19:02:49]MH_I2C_Read... [19:02:49]Read from MH i2c: D1 [19:02:49]MH_I2C_Read... [19:02:49]Read from MH i2c: D1 01 00 [19:02:49]MH_I2C_Read... [19:02:49]Read from MH i2c: D1 01 00 50 59 00 7A [19:02:49]Write to MH i2c: 01 00 00 51 59 AA [19:02:49]Write i2c OK [19:02:49]MH_I2C_Read... [19:02:49]OFD Sender: No OFD packet to send [19:02:50]*** Cut start [19:02:50]*** Purtial cut [19:02:50]*** Stage 1: CUTSNS_PIN = 1 [19:02:50]Read from MH i2c: 01 [19:02:50]MH_I2C_Read... [19:02:50]*** Stop cut motor [19:02:50]*** Cut end [19:02:50]Read from MH i2c: 01 07 00 [19:02:50]MH_I2C_Read... [19:02:50]Read from MH i2c: 01 07 00 51 59 00 00 00 00 00 FF 0F BF [19:02:50]process_action close_receipt done [19:02:50]requested_data is exist [19:02:50]produce_requested_data [19:02:50]requested_item fm.sn is exist - process it [19:02:50]wFMCommunicate request_size=4 [19:02:50]MH_SAM_APDU [19:02:50]CAPDU: 80 11 00 00 [19:02:50]Write to MH i2c: E2 08 00 52 59 80 11 00 00 00 00 00 00 25 [19:02:50]Write i2c OK [19:02:50]MH_I2C_Read... [19:02:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:02:50]Read from MH i2c: E2 [19:02:50]MH_I2C_Read... [19:02:50]Read from MH i2c: E2 17 00 [19:02:50]MH_I2C_Read... [19:02:50]Read from MH i2c: E2 17 00 52 59 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 77 [19:02:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [19:02:50]wFMCommunicate OK [19:02:50]requested_item fd.num is exist - process it [19:02:50]SAM_PROTO_GetFieldsCounters [19:02:50]wFMCommunicate request_size=4 [19:02:50]MH_SAM_APDU [19:02:50]CAPDU: 80 13 00 00 [19:02:50]Write to MH i2c: E2 08 00 53 59 80 13 00 00 00 00 00 00 28 [19:02:50]Write i2c OK [19:02:50]MH_I2C_Read... [19:02:50]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:02:50]Read from MH i2c: E2 [19:02:50]MH_I2C_Read... [19:02:50]Read from MH i2c: E2 62 00 [19:02:50]MH_I2C_Read... [19:02:50]Read from MH i2c: E2 62 00 53 59 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 09 B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 2F 00 00 00 5E 04 04 00 2F 00 00 00 57 04 04 00 30 00 00 00 19 04 04 00 00 00 00 00 90 00 CD [19:02: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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 09 B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 2F 00 00 00 5E 04 04 00 2F 00 00 00 57 04 04 00 30 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:02:50]wFMCommunicate OK [19:02:50]SAM_PROTO_GetFieldsCounters done [19:02:50]requested_item shift.num is exist - process it [19:02:50]requested_item shift.opened is exist - process it [19:02:50]req_shift_opened [19:02:50]FM_GetShiftState [19:02:50]SAM_PROTO_GetShiftState [19:02:50]wFMCommunicate request_size=4 [19:02:50]MH_SAM_APDU [19:02:50]CAPDU: 80 13 01 00 [19:02:50]Write to MH i2c: E2 08 00 54 59 80 13 01 00 00 00 00 00 2A [19:02:50]Write i2c OK [19:02:50]MH_I2C_Read... [19:02:50]Read from MH i2c: E2 [19:02:50]MH_I2C_Read... [19:02:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:02:50]Read from MH i2c: E2 0E 00 [19:02:50]MH_I2C_Read... [19:02:50]Read from MH i2c: E2 0E 00 54 59 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 59 [19:02:50]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [19:02:50]wFMCommunicate OK [19:02:50]SAM_PROTO_GetShiftState done [19:02:50]FM_GetShiftState done [19:02:50]req_shift_opened done [19:02:50]requested_item shift.open_date is exist - process it [19:02:50]req_shift_open_date [19:02:50]req_shift_open_date done [19:02:50]produce_requested_data done [19:02:50]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47369,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [19:02:50]process_action_free close_receipt [19:02:50]json_value_free [19:02:50]json_value_free done [19:02:50]process_json_proto returns [19:02:50]Send response to host [19:02:50]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47369,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [19:02:50]free response buf [19:02:50]execute_script done [19:02:50]execute_script returns [19:02:50]free content buf [19:02:50]Sock 9.Close socket [19:02:50]Sock 9.Thread stoped [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]accept exits with 7 [19:07:44]New connection [19:07:44]New thread 3066453348 created [19:07:44]Thread 3066596708 joined [19:07:44]Waiting for new connection... [19:07:44] Sock 7.Parse request [19:07:44]Sock 7.Check first char [19:07:44]Sock 7.First char is OK [19:07:44]request: POST /json_proto HTTP/1.0 [19:07:44]Method: POST [19:07:44]URL: /json_proto [19:07:44]Method is POST - this is cgi request [19:07:44]url: /json_proto [19:07:44]query_string will be loaded in cgi processing [19:07:44]execute_cgi json_proto POST (null) [19:07:44]execute_cgi path=json_proto method=POST [19:07:44]POST find Content-Length [19:07:44]Host: 172.17.32.68:8080 [19:07:44]Content-Length: 632 [19:07:44]Content-Type: application/json [19:07:44] [19:07:44]POST finish read [19:07:44]Found Content-Length = 632 [19:07:44]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242283", "tax_sys" : 0, "items" : [ { "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 2.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" ] } } [19:07:44]execute_script... [19:07: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)242283", "tax_sys" : 0, "items" : [ { "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 2.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" ] } } [19:07:44]POST & json_proto [19:07:44]process_json_proto [19:07:44]json parsed OK: [19:07:44]protocol is kg_v1.0 [19:07:44]action value=close_receipt [19:07:44]process_action close_receipt [19:07:44]cmd_close_receipt [19:07:44]MH_GetDate [19:07:44]Write to MH i2c: F0 00 00 55 59 9D [19:07:44]Write i2c OK [19:07:44]MH_I2C_Read... [19:07:44]Read from MH i2c: F0 [19:07:44]MH_I2C_Read... [19:07:44]Read from MH i2c: F0 09 00 [19:07:44]MH_I2C_Read... [19:07:44]Read from MH i2c: F0 09 00 55 59 00 11 A8 F0 65 0A 64 6E 65 F5 [19:07:44]GetLastDocTimeStamp 1710270183 [19:07:44]current date 1710270481 [19:07:44]FM_GetShiftState [19:07:44]SAM_PROTO_GetShiftState [19:07:44]wFMCommunicate request_size=4 [19:07:44]MH_SAM_APDU [19:07:44]CAPDU: 80 13 01 00 [19:07:44]Write to MH i2c: E2 08 00 56 59 80 13 01 00 00 00 00 00 2C [19:07:44]Write i2c OK [19:07:44]MH_I2C_Read... [19:07:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:07:44]Read from MH i2c: E2 [19:07:44]MH_I2C_Read... [19:07:44]Read from MH i2c: E2 0E 00 [19:07:44]MH_I2C_Read... [19:07:44]Read from MH i2c: E2 0E 00 56 59 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 5B [19:07:44]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [19:07:44]wFMCommunicate OK [19:07:44]SAM_PROTO_GetShiftState done [19:07:44]FM_GetShiftState done [19:07:44]opened in 1710202417 [19:07:44]opened+sec_in_day 1710288817 [19:07:44]quantity*price = 8000 [19:07:44]sum+1 = 8001 [19:07:44]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 80.00 НСП 1% : 0.71 НДС 12% : 8.50 Наличными: 80.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 48 12.03.2024 19:08 Смена: 314 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47370 ФПД: 174743374013367 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T190801&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47370&fm=174743374013367&tin=02508201610067®Number=0000000000092018&sum=8000 0 [19:07:45]StoreToDocumentArchive [19:07:45]shift 314 fd 47370 [19:07:45]save to /storage/0314/doc_00047370 [19:07:45]save last doc name /storage/0314/doc_00047370 to /storage/kkm_last_doc_name [19:07:45]save OK [19:07:45]Clear old archive folders... [19:07:45]ProcessDocumentItem done err = 0, tmpTLVsize=271 [19:07:45]tlvbuf is B6D51BB0 [19:07:45]SAM_PROTO_ClearQueue [19:07:45]wFMCommunicate request_size=4 [19:07:45]MH_SAM_APDU [19:07:45]CAPDU: 80 09 00 00 [19:07:45]Write to MH i2c: E2 08 00 63 59 80 09 00 00 00 00 00 00 2E [19:07:45]Write i2c OK [19:07:45]MH_I2C_Read... [19:07:45]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:07:45]Read from MH i2c: E2 [19:07:45]MH_I2C_Read... [19:07:45]Read from MH i2c: E2 03 00 [19:07:45]MH_I2C_Read... [19:07:45]Read from MH i2c: E2 03 00 63 59 00 90 00 30 [19:07:45]RAPDU: 90 00 [19:07:45]wFMCommunicate OK [19:07:45]SAM_PROTO_ClearQueue done [19:07:45]KKMCreateOFDPacket [19:07:45]OFDProtocolAddRootSTLVToBuf [19:07:45]FM_MakeSignedData [19:07:45]FM_MakeSignedData [19:07:45]SAM_PROTO_SignData [19:07:45]wFMCommunicate request_size=4 [19:07:45]MH_SAM_APDU [19:07:45]CAPDU: 80 0D 01 02 [19:07:45]Write to MH i2c: E2 08 00 64 59 80 0D 01 02 00 00 00 00 36 [19:07:45]Write i2c OK [19:07:45]MH_I2C_Read... [19:07:45]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:07:45]Read from MH i2c: E2 [19:07:45]MH_I2C_Read... [19:07:45]Read from MH i2c: E2 03 00 [19:07:45]MH_I2C_Read... [19:07:45]Read from MH i2c: E2 03 00 64 59 00 90 00 31 [19:07:45]RAPDU: 90 00 [19:07:45]wFMCommunicate OK [19:07:45]wFMCommunicate request_size=255 [19:07:45]MH_SAM_APDU [19:07:45]CAPDU: 80 0D 02 02 FA 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 A0 0F 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 30 00 00 00 F4 03 04 00 11 A8 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 [19:07:45]Write to MH i2c: E2 02 01 65 59 80 0D 02 02 FA 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 A0 0F 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 30 00 00 00 F4 03 04 00 11 A8 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 00 00 5A [19:07:45]Write i2c OK [19:07:45]MH_I2C_Read... [19:07:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:07:46]Read from MH i2c: E2 [19:07:46]MH_I2C_Read... [19:07:46]Read from MH i2c: E2 03 00 [19:07:46]MH_I2C_Read... [19:07:46]Read from MH i2c: E2 03 00 65 59 00 90 00 32 [19:07:46]RAPDU: 90 00 [19:07:46]wFMCommunicate OK [19:07:46]wFMCommunicate request_size=30 [19:07:46]MH_SAM_APDU [19:07:46]CAPDU: 80 0D 02 02 19 30 38 37 31 38 31 36 10 04 04 00 0A B9 00 00 35 04 06 00 9E ED 9C BC 23 B7 [19:07:46]Write to MH i2c: E2 21 00 66 59 80 0D 02 02 19 00 30 38 37 31 38 31 36 10 04 04 00 0A B9 00 00 35 04 06 00 9E ED 9C BC 23 B7 00 00 B1 [19:07:46]Write i2c OK [19:07:46]MH_I2C_Read... [19:07:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:07:46]Read from MH i2c: E2 [19:07:46]MH_I2C_Read... [19:07:46]Read from MH i2c: E2 03 00 [19:07:46]MH_I2C_Read... [19:07:46]Read from MH i2c: E2 03 00 66 59 00 90 00 33 [19:07:46]RAPDU: 90 00 [19:07:46]wFMCommunicate OK [19:07:46]wFMCommunicate request_size=4 [19:07:46]MH_SAM_APDU [19:07:46]CAPDU: 80 0D 03 02 [19:07:46]Write to MH i2c: E2 08 00 67 59 80 0D 03 02 00 00 00 00 3B [19:07:46]Write i2c OK [19:07:46]MH_I2C_Read... [19:07:46]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:07:46]Read from MH i2c: E2 [19:07:46]MH_I2C_Read... [19:07:46]Read from MH i2c: E2 0B 00 [19:07:46]MH_I2C_Read... [19:07:46]Read from MH i2c: E2 0B 00 67 59 00 EE 08 AD 46 06 15 23 62 90 00 C5 [19:07:46]RAPDU: EE 08 AD 46 06 15 23 62 90 00 [19:07:46]wFMCommunicate OK [19:07:46]SAM_PROTO_SignData done [19:07:46]FM_MakeSignedData done [19:07:46]CreateOFDProtocolMessage [19:07:46]wFMCommunicate request_size=4 [19:07:46]MH_SAM_APDU [19:07:46]CAPDU: 80 11 00 00 [19:07:46]Write to MH i2c: E2 08 00 68 59 80 11 00 00 00 00 00 00 3B [19:07:46]Write i2c OK [19:07:46]MH_I2C_Read... [19:07:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:07:46]Read from MH i2c: E2 [19:07:46]MH_I2C_Read... [19:07:46]Read from MH i2c: E2 17 00 [19:07:46]MH_I2C_Read... [19:07:46]Read from MH i2c: E2 17 00 68 59 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 8D [19:07:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [19:07:46]wFMCommunicate OK [19:07:46]CreateOFDProtocolMessage done [19:07:46]OFDSenderStorePacket 47370 [19:07:46]StoreOFDPacket docnum=47370 [19:07:46]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 23 01 00 00 C4 2C 1B 01 61 95 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 A0 0F 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 30 00 00 00 F4 03 04 00 11 A8 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 0A B9 00 00 35 04 06 00 9E ED 9C BC 23 B7 EE 08 AD 46 06 15 23 62 [19:07:46]CheckFolder [19:07:46]dirname=/storage/ofd_packets [19:07:46]CheckFolder done [19:07:46]ProducePacketName [19:07:46]name=ofd_packets/00047370 [19:07:46]NVStorageSaveData ofd_packets/00047370 [19:07:46]File name is /storage/ofd_packets/00047370 [19:07:46]Write 321 bytes [19:07:46]NVStorageSaveData done [19:07:46]OFDSenderStorePacket done [19:07:46]KKMCreateOFDPacket done [19:07:46]NVStorageSaveData kkm_last_timestamp [19:07:46]File name is /storage/kkm_last_timestamp [19:07:46]Write 4 bytes [19:07:46]NVStorageSaveData done [19:07:46]ExternCall_PrintAddStr [19:07:46]wPrintStart [19:07:46]Write to MH i2c: 01 00 00 69 59 C2 [19:07:46]Write i2c OK [19:07:46]MH_I2C_Read... [19:07:46]Read from MH i2c: 01 [19:07:46]MH_I2C_Read... [19:07:46]Read from MH i2c: 01 07 00 [19:07:46]MH_I2C_Read... [19:07:46]Read from MH i2c: 01 07 00 69 59 00 00 00 00 00 FF 0F D7 [19:07:46]RasterBufferAndPrint [19:07:46]line Счет N : (3)242283 [19:07:46]line ИНН: 02508201610067 [19:07:46]line Контрольно-Кассовый Чек [19:07:46]line ПРОДАЖА [19:07:46]line Товар: 4700000160211 [19:07:46]line Вода Легенда 0,5л [19:07:46]line 2.000 * 40.00 [19:07:46]line = 80.00 [19:07:46]line НДС 12% НСП 1% [19:07:46]line > о реализуемом товаре [19:07:46]line ИТОГО: 80.00 [19:07:46]line НСП 1% : 0.71 [19:07:46]line НДС 12% : 8.50 [19:07:46]line Наличными: 80.00 [19:07:46]line Безнал.: 0.00 [19:07:46]line Место: АЗС № 15 "Партнер Нефть" [19:07:46]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [19:07:46]line СНО: Общий режим [19:07:46]line Чек 48 12.03.2024 19:08 [19:07:46]line Смена: 314 ФФД: 1.0 [19:07:46]line ЗНМ: 0300000097 [19:07:46]line РНМ: 0000000000092018 [19:07:46]line Версия ККМ: 001 [19:07:46]line ФМ: 0000000000871816 [19:07:46]line ФД: 47370 [19:07:46]line ФПД: 174743374013367 [19:07:46]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T190801&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47370&fm=174743374013367&tin=02508201610067®Number=0000000000092018&sum=8000 [19:07:46]line 0 [19:07:46]OFD Sender: Processing packet 47370 [packets to send 8, broken 7] [19:07:46]ProducePacketName [19:07:46]name=ofd_packets/00047370 [19:07:46]OFD Sender: To server: pG, [19:07:46]CommunicateWithHost lk.salyk.kg:30040 [19:07:46]ConnectInit lk.salyk.kg [19:07:46]written 0, free lines is 4095 [19:07:46]Connected sock=10 [19:07: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 31 36 23 01 00 00 C4 2C 1B 01 61 95 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 A0 0F 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 30 00 00 00 F4 03 04 00 11 A8 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 0A B9 00 00 35 04 06 00 9E ED 9C BC 23 B7 EE 08 AD 46 06 15 23 62 [19:07: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 31 36 4F 00 00 00 31 BB 47 00 0A BB A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 0A B9 00 00 F4 03 04 00 A2 52 F0 65 B6 04 01 00 00 DB F7 D0 53 58 4F 35 03 [19:07:46]CommunicateWithHost err = 0 [19:07:46]CheckOFDResponse [19:07:46]1017 (14) - 77093643461234 [19:07:46]1041 (16) - 0000000000871816 [19:07:46]1040 (4) - 47370 [19:07:46]1012 (4) - 12.03.2024 13:03 [19:07:46]1206 (1) - 0 [19:07:46]OFD Sender: Remove packet 47370 [19:07:46]ProducePacketName [19:07:46]name=ofd_packets/00047370 [19:07:46]NVStorageDeleteData [19:07:47]Write to MH i2c: 01 00 00 91 59 EA [19:07:47]Write i2c OK [19:07:47]MH_I2C_Read... [19:07:47]Read from MH i2c: 01 [19:07:47]MH_I2C_Read... [19:07:47]Read from MH i2c: 01 07 00 [19:07:47]MH_I2C_Read... [19:07:47]Read from MH i2c: 01 07 00 91 59 00 00 00 00 00 01 0D FF [19:07:47]RasterBufferAndPrint [19:07:47]line [19:07:47]line [19:07:47]line [19:07:47]line [19:07:47]line [19:07:47]written 0, free lines is 3335 [19:07:47]MH_Cut [19:07:47]Write to MH i2c: D1 01 00 98 59 01 C3 [19:07:47]Write i2c OK [19:07:47]MH_I2C_Read... [19:07:47]Read from MH i2c: D1 [19:07:47]MH_I2C_Read... [19:07:47]Read from MH i2c: D1 01 00 [19:07:47]MH_I2C_Read... [19:07:47]Read from MH i2c: D1 01 00 98 59 00 C2 [19:07:47]Write to MH i2c: 01 00 00 99 59 F2 [19:07:47]Write i2c OK [19:07:47]MH_I2C_Read... [19:07:47]OFD Sender: No OFD packet to send [19:07:47]*** Cut start [19:07:47]*** Purtial cut [19:07:47]*** Stage 1: CUTSNS_PIN = 1 [19:07:48]Read from MH i2c: 01 [19:07:48]MH_I2C_Read... [19:07:48]*** Stop cut motor [19:07:48]*** Cut end [19:07:48]Read from MH i2c: 01 07 00 [19:07:48]MH_I2C_Read... [19:07:48]Read from MH i2c: 01 07 00 99 59 00 00 00 00 00 FF 0F 07 [19:07:48]process_action close_receipt done [19:07:48]requested_data is exist [19:07:48]produce_requested_data [19:07:48]requested_item fm.sn is exist - process it [19:07:48]wFMCommunicate request_size=4 [19:07:48]MH_SAM_APDU [19:07:48]CAPDU: 80 11 00 00 [19:07:48]Write to MH i2c: E2 08 00 9A 59 80 11 00 00 00 00 00 00 6D [19:07:48]Write i2c OK [19:07:48]MH_I2C_Read... [19:07:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:07:48]Read from MH i2c: E2 [19:07:48]MH_I2C_Read... [19:07:48]Read from MH i2c: E2 17 00 [19:07:48]MH_I2C_Read... [19:07:48]Read from MH i2c: E2 17 00 9A 59 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 BF [19:07:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [19:07:48]wFMCommunicate OK [19:07:48]requested_item fd.num is exist - process it [19:07:48]SAM_PROTO_GetFieldsCounters [19:07:48]wFMCommunicate request_size=4 [19:07:48]MH_SAM_APDU [19:07:48]CAPDU: 80 13 00 00 [19:07:48]Write to MH i2c: E2 08 00 9B 59 80 13 00 00 00 00 00 00 70 [19:07:48]Write i2c OK [19:07:48]MH_I2C_Read... [19:07:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:07:48]Read from MH i2c: E2 [19:07:48]MH_I2C_Read... [19:07:48]Read from MH i2c: E2 62 00 [19:07:48]MH_I2C_Read... [19:07:48]Read from MH i2c: E2 62 00 9B 59 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 0A B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 30 00 00 00 5E 04 04 00 30 00 00 00 57 04 04 00 31 00 00 00 19 04 04 00 00 00 00 00 90 00 19 [19:07:48]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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 0A B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 30 00 00 00 5E 04 04 00 30 00 00 00 57 04 04 00 31 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:07:48]wFMCommunicate OK [19:07:48]SAM_PROTO_GetFieldsCounters done [19:07:48]requested_item shift.num is exist - process it [19:07:48]requested_item shift.opened is exist - process it [19:07:48]req_shift_opened [19:07:48]FM_GetShiftState [19:07:48]SAM_PROTO_GetShiftState [19:07:48]wFMCommunicate request_size=4 [19:07:48]MH_SAM_APDU [19:07:48]CAPDU: 80 13 01 00 [19:07:48]Write to MH i2c: E2 08 00 9C 59 80 13 01 00 00 00 00 00 72 [19:07:48]Write i2c OK [19:07:48]MH_I2C_Read... [19:07:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:07:48]Read from MH i2c: E2 [19:07:48]MH_I2C_Read... [19:07:48]Read from MH i2c: E2 0E 00 [19:07:48]MH_I2C_Read... [19:07:48]Read from MH i2c: E2 0E 00 9C 59 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 A1 [19:07:48]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [19:07:48]wFMCommunicate OK [19:07:48]SAM_PROTO_GetShiftState done [19:07:48]FM_GetShiftState done [19:07:48]req_shift_opened done [19:07:48]requested_item shift.open_date is exist - process it [19:07:48]req_shift_open_date [19:07:48]req_shift_open_date done [19:07:48]produce_requested_data done [19:07:48]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47370,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [19:07:48]process_action_free close_receipt [19:07:48]json_value_free [19:07:48]json_value_free done [19:07:48]process_json_proto returns [19:07:48]Send response to host [19:07:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47370,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [19:07:48]free response buf [19:07:48]execute_script done [19:07:48]execute_script returns [19:07:48]free content buf [19:07:48]Sock 7.Close socket [19:07:48]Sock 7.Thread stoped [19:07:52]OFD Sender: No OFD packet to send [19:07:57]OFD Sender: No OFD packet to send [19:08:02]OFD Sender: No OFD packet to send [19:08:07]OFD Sender: No OFD packet to send [19:08:12]OFD Sender: No OFD packet to send [19:08:17]OFD Sender: No OFD packet to send [19:08:19]accept exits with 9 [19:08:19]New connection [19:08:19]New thread 3066596708 created [19:08:19]Thread 3066453348 joined [19:08:19]Waiting for new connection... [19:08:19] Sock 9.Parse request [19:08:19]Sock 9.Check first char [19:08:19]Sock 9.First char is OK [19:08:19]request: POST /json_proto HTTP/1.0 [19:08:19]Method: POST [19:08:19]URL: /json_proto [19:08:19]Method is POST - this is cgi request [19:08:19]url: /json_proto [19:08:19]query_string will be loaded in cgi processing [19:08:19]execute_cgi json_proto POST (null) [19:08:19]execute_cgi path=json_proto method=POST [19:08:19]POST find Content-Length [19:08:19]Host: 172.17.32.68:8080 [19:08:19]Content-Length: 632 [19:08:19]Content-Type: application/json [19:08:19] [19:08:19]POST finish read [19:08:19]Found Content-Length = 632 [19:08:19]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242284", "tax_sys" : 0, "items" : [ { "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 40.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:08:19]execute_script... [19:08: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)242284", "tax_sys" : 0, "items" : [ { "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 40.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:08:19]POST & json_proto [19:08:19]process_json_proto [19:08:19]json parsed OK: [19:08:19]protocol is kg_v1.0 [19:08:19]action value=close_receipt [19:08:19]process_action close_receipt [19:08:19]cmd_close_receipt [19:08:19]MH_GetDate [19:08:19]Write to MH i2c: F0 00 00 9D 59 E5 [19:08:19]Write i2c OK [19:08:19]MH_I2C_Read... [19:08:19]Read from MH i2c: F0 [19:08:19]MH_I2C_Read... [19:08:19]Read from MH i2c: F0 09 00 [19:08:19]MH_I2C_Read... [19:08:19]Read from MH i2c: F0 09 00 9D 59 00 34 A8 F0 65 0A 64 6E 65 60 [19:08:19]GetLastDocTimeStamp 1710270481 [19:08:19]current date 1710270516 [19:08:19]FM_GetShiftState [19:08:19]SAM_PROTO_GetShiftState [19:08:19]wFMCommunicate request_size=4 [19:08:19]MH_SAM_APDU [19:08:19]CAPDU: 80 13 01 00 [19:08:19]Write to MH i2c: E2 08 00 9E 59 80 13 01 00 00 00 00 00 74 [19:08:19]Write i2c OK [19:08:19]MH_I2C_Read... [19:08:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:08:19]Read from MH i2c: E2 [19:08:19]MH_I2C_Read... [19:08:19]Read from MH i2c: E2 0E 00 [19:08:19]MH_I2C_Read... [19:08:19]Read from MH i2c: E2 0E 00 9E 59 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 A3 [19:08:19]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [19:08:19]wFMCommunicate OK [19:08:19]SAM_PROTO_GetShiftState done [19:08:19]FM_GetShiftState done [19:08:19]opened in 1710202417 [19:08:19]opened+sec_in_day 1710288817 [19:08:19]quantity*price = 4000 [19:08:19]sum+1 = 4001 [19:08:19]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 40.00 НСП 1% : 0.35 НДС 12% : 4.25 Наличными: 40.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 49 12.03.2024 19:08 Смена: 314 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47371 ФПД: 266080458198971 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T190836&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47371&fm=266080458198971&tin=02508201610067®Number=0000000000092018&sum=4000 0 [19:08:20]StoreToDocumentArchive [19:08:20]shift 314 fd 47371 [19:08:20]save to /storage/0314/doc_00047371 [19:08:20]save last doc name /storage/0314/doc_00047371 to /storage/kkm_last_doc_name [19:08:20]save OK [19:08:20]Clear old archive folders... [19:08:20]ProcessDocumentItem done err = 0, tmpTLVsize=271 [19:08:20]tlvbuf is 002840D0 [19:08:20]SAM_PROTO_ClearQueue [19:08:20]wFMCommunicate request_size=4 [19:08:20]MH_SAM_APDU [19:08:20]CAPDU: 80 09 00 00 [19:08:20]Write to MH i2c: E2 08 00 AB 59 80 09 00 00 00 00 00 00 76 [19:08:20]Write i2c OK [19:08:20]MH_I2C_Read... [19:08:20]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:08:20]Read from MH i2c: E2 [19:08:20]MH_I2C_Read... [19:08:20]Read from MH i2c: E2 03 00 [19:08:20]MH_I2C_Read... [19:08:20]Read from MH i2c: E2 03 00 AB 59 00 90 00 78 [19:08:20]RAPDU: 90 00 [19:08:20]wFMCommunicate OK [19:08:20]SAM_PROTO_ClearQueue done [19:08:20]KKMCreateOFDPacket [19:08:20]OFDProtocolAddRootSTLVToBuf [19:08:20]FM_MakeSignedData [19:08:20]FM_MakeSignedData [19:08:20]SAM_PROTO_SignData [19:08:20]wFMCommunicate request_size=4 [19:08:20]MH_SAM_APDU [19:08:20]CAPDU: 80 0D 01 02 [19:08:20]Write to MH i2c: E2 08 00 AC 59 80 0D 01 02 00 00 00 00 7E [19:08:20]Write i2c OK [19:08:20]MH_I2C_Read... [19:08:20]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:08:20]Read from MH i2c: E2 [19:08:20]MH_I2C_Read... [19:08:20]Read from MH i2c: E2 03 00 [19:08:20]MH_I2C_Read... [19:08:20]Read from MH i2c: E2 03 00 AC 59 00 90 00 79 [19:08:20]RAPDU: 90 00 [19:08:20]wFMCommunicate OK [19:08:20]wFMCommunicate request_size=255 [19:08:20]MH_SAM_APDU [19:08:20]CAPDU: 80 0D 02 02 FA 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 34 A8 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 [19:08:20]Write to MH i2c: E2 02 01 AD 59 80 0D 02 02 FA 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 34 A8 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 00 00 FB [19:08:20]Write i2c OK [19:08:20]MH_I2C_Read... [19:08:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:08:21]Read from MH i2c: E2 [19:08:21]MH_I2C_Read... [19:08:21]Read from MH i2c: E2 03 00 [19:08:21]MH_I2C_Read... [19:08:21]Read from MH i2c: E2 03 00 AD 59 00 90 00 7A [19:08:21]RAPDU: 90 00 [19:08:21]wFMCommunicate OK [19:08:21]wFMCommunicate request_size=30 [19:08:21]MH_SAM_APDU [19:08:21]CAPDU: 80 0D 02 02 19 30 38 37 31 38 31 36 10 04 04 00 0B B9 00 00 35 04 06 00 F1 FF AF 31 4F BB [19:08:21]Write to MH i2c: E2 21 00 AE 59 80 0D 02 02 19 00 30 38 37 31 38 31 36 10 04 04 00 0B B9 00 00 35 04 06 00 F1 FF AF 31 4F BB 00 00 17 [19:08:21]Write i2c OK [19:08:21]MH_I2C_Read... [19:08:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:08:21]Read from MH i2c: E2 [19:08:21]MH_I2C_Read... [19:08:21]Read from MH i2c: E2 03 00 [19:08:21]MH_I2C_Read... [19:08:21]Read from MH i2c: E2 03 00 AE 59 00 90 00 7B [19:08:21]RAPDU: 90 00 [19:08:21]wFMCommunicate OK [19:08:21]wFMCommunicate request_size=4 [19:08:21]MH_SAM_APDU [19:08:21]CAPDU: 80 0D 03 02 [19:08:21]Write to MH i2c: E2 08 00 AF 59 80 0D 03 02 00 00 00 00 83 [19:08:21]Write i2c OK [19:08:21]MH_I2C_Read... [19:08:21]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:08:21]Read from MH i2c: E2 [19:08:21]MH_I2C_Read... [19:08:21]Read from MH i2c: E2 0B 00 [19:08:21]MH_I2C_Read... [19:08:21]Read from MH i2c: E2 0B 00 AF 59 00 99 DD 43 6C 4D BC 3F 5B 90 00 4C [19:08:21]RAPDU: 99 DD 43 6C 4D BC 3F 5B 90 00 [19:08:21]wFMCommunicate OK [19:08:21]SAM_PROTO_SignData done [19:08:21]FM_MakeSignedData done [19:08:21]CreateOFDProtocolMessage [19:08:21]wFMCommunicate request_size=4 [19:08:21]MH_SAM_APDU [19:08:21]CAPDU: 80 11 00 00 [19:08:21]Write to MH i2c: E2 08 00 B0 59 80 11 00 00 00 00 00 00 83 [19:08:21]Write i2c OK [19:08:21]MH_I2C_Read... [19:08:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:08:21]Read from MH i2c: E2 [19:08:21]MH_I2C_Read... [19:08:21]Read from MH i2c: E2 17 00 [19:08:21]MH_I2C_Read... [19:08:21]Read from MH i2c: E2 17 00 B0 59 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 D5 [19:08:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [19:08:21]wFMCommunicate OK [19:08:21]CreateOFDProtocolMessage done [19:08:21]OFDSenderStorePacket 47371 [19:08:21]StoreOFDPacket docnum=47371 [19:08:21]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 23 01 00 00 2B 88 1B 01 8F 73 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 34 A8 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 0B B9 00 00 35 04 06 00 F1 FF AF 31 4F BB 99 DD 43 6C 4D BC 3F 5B [19:08:21]CheckFolder [19:08:21]dirname=/storage/ofd_packets [19:08:21]CheckFolder done [19:08:21]ProducePacketName [19:08:21]name=ofd_packets/00047371 [19:08:21]NVStorageSaveData ofd_packets/00047371 [19:08:21]File name is /storage/ofd_packets/00047371 [19:08:21]Write 321 bytes [19:08:21]NVStorageSaveData done [19:08:21]OFDSenderStorePacket done [19:08:21]KKMCreateOFDPacket done [19:08:21]NVStorageSaveData kkm_last_timestamp [19:08:21]File name is /storage/kkm_last_timestamp [19:08:21]Write 4 bytes [19:08:21]NVStorageSaveData done [19:08:21]ExternCall_PrintAddStr [19:08:21]wPrintStart [19:08:21]Write to MH i2c: 01 00 00 B1 59 0A [19:08:21]Write i2c OK [19:08:21]MH_I2C_Read... [19:08:21]Read from MH i2c: 01 [19:08:21]MH_I2C_Read... [19:08:21]Read from MH i2c: 01 07 00 [19:08:21]MH_I2C_Read... [19:08:21]Read from MH i2c: 01 07 00 B1 59 00 00 00 00 00 FF 0F 1F [19:08:21]RasterBufferAndPrint [19:08:21]line Счет N : (3)242284 [19:08:21]line ИНН: 02508201610067 [19:08:21]line Контрольно-Кассовый Чек [19:08:21]line ПРОДАЖА [19:08:21]line Товар: 4700000160211 [19:08:21]line Вода Легенда 0,5л [19:08:21]line 1.000 * 40.00 [19:08:21]line = 40.00 [19:08:21]line НДС 12% НСП 1% [19:08:21]line > о реализуемом товаре [19:08:21]line ИТОГО: 40.00 [19:08:21]line НСП 1% : 0.35 [19:08:21]line НДС 12% : 4.25 [19:08:21]line Наличными: 40.00 [19:08:21]line Безнал.: 0.00 [19:08:21]line Место: АЗС № 15 "Партнер Нефть" [19:08:21]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [19:08:21]line СНО: Общий режим [19:08:21]line Чек 49 12.03.2024 19:08 [19:08:21]line Смена: 314 ФФД: 1.0 [19:08:21]line ЗНМ: 0300000097 [19:08:21]line РНМ: 0000000000092018 [19:08:21]line Версия ККМ: 001 [19:08:21]line ФМ: 0000000000871816 [19:08:21]line ФД: 47371 [19:08:21]line ФПД: 266080458198971 [19:08:21]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T190836&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47371&fm=266080458198971&tin=02508201610067®Number=0000000000092018&sum=4000 [19:08:21]line 0 [19:08:21]OFD Sender: Processing packet 47371 [packets to send 8, broken 7] [19:08:21]ProducePacketName [19:08:21]name=ofd_packets/00047371 [19:08:21]OFD Sender: To server: pG, [19:08:21]CommunicateWithHost lk.salyk.kg:30040 [19:08:21]ConnectInit lk.salyk.kg [19:08:21]written 0, free lines is 4095 [19:08:21]Connected sock=10 [19:08: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 31 36 23 01 00 00 2B 88 1B 01 8F 73 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 34 A8 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 0B B9 00 00 35 04 06 00 F1 FF AF 31 4F BB 99 DD 43 6C 4D BC 3F 5B [19:08:21]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 4B AB 47 00 D8 76 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 0B B9 00 00 F4 03 04 00 C5 52 F0 65 B6 04 01 00 00 D3 09 CF 12 7B CA 0B 1A [19:08:21]CommunicateWithHost err = 0 [19:08:21]CheckOFDResponse [19:08:21]1017 (14) - 77093643461234 [19:08:21]1041 (16) - 0000000000871816 [19:08:21]1040 (4) - 47371 [19:08:21]1012 (4) - 12.03.2024 13:04 [19:08:21]1206 (1) - 0 [19:08:21]OFD Sender: Remove packet 47371 [19:08:21]ProducePacketName [19:08:21]name=ofd_packets/00047371 [19:08:21]NVStorageDeleteData [19:08:21]Write to MH i2c: 01 00 00 D9 59 32 [19:08:21]Write i2c OK [19:08:21]MH_I2C_Read... [19:08:21]Read from MH i2c: 01 [19:08:21]MH_I2C_Read... [19:08:21]Read from MH i2c: 01 07 00 [19:08:21]MH_I2C_Read... [19:08:21]Read from MH i2c: 01 07 00 D9 59 00 00 00 00 00 F7 0C 3C [19:08:21]RasterBufferAndPrint [19:08:21]line [19:08:21]line [19:08:21]line [19:08:21]line [19:08:21]line [19:08:21]written 0, free lines is 3325 [19:08:22]MH_Cut [19:08:22]Write to MH i2c: D1 01 00 E0 59 01 0B [19:08:22]Write i2c OK [19:08:22]MH_I2C_Read... [19:08:22]Read from MH i2c: D1 [19:08:22]MH_I2C_Read... [19:08:22]Read from MH i2c: D1 01 00 [19:08:22]MH_I2C_Read... [19:08:22]Read from MH i2c: D1 01 00 E0 59 00 0A [19:08:22]Write to MH i2c: 01 00 00 E1 59 3A [19:08:22]Write i2c OK [19:08:22]MH_I2C_Read... [19:08:22]OFD Sender: No OFD packet to send [19:08:22]*** Cut start [19:08:22]*** Purtial cut [19:08:22]*** Stage 1: CUTSNS_PIN = 1 [19:08:23]Read from MH i2c: 01 [19:08:23]MH_I2C_Read... [19:08:23]*** Stop cut motor [19:08:23]*** Cut end [19:08:23]Read from MH i2c: 01 07 00 [19:08:23]MH_I2C_Read... [19:08:23]Read from MH i2c: 01 07 00 E1 59 00 00 00 00 00 FF 0F 4F [19:08:23]process_action close_receipt done [19:08:23]requested_data is exist [19:08:23]produce_requested_data [19:08:23]requested_item fm.sn is exist - process it [19:08:23]wFMCommunicate request_size=4 [19:08:23]MH_SAM_APDU [19:08:23]CAPDU: 80 11 00 00 [19:08:23]Write to MH i2c: E2 08 00 E2 59 80 11 00 00 00 00 00 00 B5 [19:08:23]Write i2c OK [19:08:23]MH_I2C_Read... [19:08:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:08:23]Read from MH i2c: E2 [19:08:23]MH_I2C_Read... [19:08:23]Read from MH i2c: E2 17 00 [19:08:23]MH_I2C_Read... [19:08:23]Read from MH i2c: E2 17 00 E2 59 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 07 [19:08:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [19:08:23]wFMCommunicate OK [19:08:23]requested_item fd.num is exist - process it [19:08:23]SAM_PROTO_GetFieldsCounters [19:08:23]wFMCommunicate request_size=4 [19:08:23]MH_SAM_APDU [19:08:23]CAPDU: 80 13 00 00 [19:08:23]Write to MH i2c: E2 08 00 E3 59 80 13 00 00 00 00 00 00 B8 [19:08:23]Write i2c OK [19:08:23]MH_I2C_Read... [19:08:23]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:08:23]Read from MH i2c: E2 [19:08:23]MH_I2C_Read... [19:08:23]Read from MH i2c: E2 62 00 [19:08:23]MH_I2C_Read... [19:08:23]Read from MH i2c: E2 62 00 E3 59 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 0B B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 31 00 00 00 5E 04 04 00 31 00 00 00 57 04 04 00 32 00 00 00 19 04 04 00 00 00 00 00 90 00 65 [19:08: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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 0B B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 31 00 00 00 5E 04 04 00 31 00 00 00 57 04 04 00 32 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:08:23]wFMCommunicate OK [19:08:23]SAM_PROTO_GetFieldsCounters done [19:08:23]requested_item shift.num is exist - process it [19:08:23]requested_item shift.opened is exist - process it [19:08:23]req_shift_opened [19:08:23]FM_GetShiftState [19:08:23]SAM_PROTO_GetShiftState [19:08:23]wFMCommunicate request_size=4 [19:08:23]MH_SAM_APDU [19:08:23]CAPDU: 80 13 01 00 [19:08:23]Write to MH i2c: E2 08 00 E4 59 80 13 01 00 00 00 00 00 BA [19:08:23]Write i2c OK [19:08:23]MH_I2C_Read... [19:08:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:08:23]Read from MH i2c: E2 [19:08:23]MH_I2C_Read... [19:08:23]Read from MH i2c: E2 0E 00 [19:08:23]MH_I2C_Read... [19:08:23]Read from MH i2c: E2 0E 00 E4 59 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 E9 [19:08:23]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [19:08:23]wFMCommunicate OK [19:08:23]SAM_PROTO_GetShiftState done [19:08:23]FM_GetShiftState done [19:08:23]req_shift_opened done [19:08:23]requested_item shift.open_date is exist - process it [19:08:23]req_shift_open_date [19:08:23]req_shift_open_date done [19:08:23]produce_requested_data done [19:08:23]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47371,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [19:08:23]process_action_free close_receipt [19:08:23]json_value_free [19:08:23]json_value_free done [19:08:23]process_json_proto returns [19:08:23]Send response to host [19:08:23]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47371,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [19:08:23]free response buf [19:08:23]execute_script done [19:08:23]execute_script returns [19:08:23]free content buf [19:08:23]Sock 9.Close socket [19:08:23]Sock 9.Thread stoped [19:08:27]OFD Sender: No OFD packet to send [19:08:32]OFD Sender: No OFD packet to send [19:08:37]OFD Sender: No OFD packet to send [19:08:42]OFD Sender: No OFD packet to send [19:08:47]OFD Sender: No OFD packet to send [19:08:52]OFD Sender: No OFD packet to send [19:08:57]OFD Sender: No OFD packet to send [19:09:02]OFD Sender: No OFD packet to send [19:09:07]OFD Sender: No OFD packet to send [19:09:12]OFD Sender: No OFD packet to send [19:09:17]OFD Sender: No OFD packet to send [19:09:22]OFD Sender: No OFD packet to send [19:09:27]OFD Sender: No OFD packet to send [19:09:32]OFD Sender: No OFD packet to send [19:09:37]OFD Sender: No OFD packet to send [19:09:42]OFD Sender: No OFD packet to send [19:09:47]OFD Sender: No OFD packet to send [19:09:52]OFD Sender: No OFD packet to send [19:09:57]OFD Sender: No OFD packet to send [19:10:02]OFD Sender: No OFD packet to send [19:10:07]OFD Sender: No OFD packet to send [19:10:12]OFD Sender: No OFD packet to send [19:10:17]OFD Sender: No OFD packet to send [19:10:22]OFD Sender: No OFD packet to send [19:10:27]OFD Sender: No OFD packet to send [19:10:32]OFD Sender: No OFD packet to send [19:10:37]OFD Sender: No OFD packet to send [19:10:42]OFD Sender: No OFD packet to send [19:10:47]OFD Sender: No OFD packet to send [19:10:52]OFD Sender: No OFD packet to send [19:10:57]OFD Sender: No OFD packet to send [19:11:02]OFD Sender: No OFD packet to send [19:11:07]OFD Sender: No OFD packet to send [19:11:12]OFD Sender: No OFD packet to send [19:11:17]OFD Sender: No OFD packet to send [19:11:22]OFD Sender: No OFD packet to send [19:11:27]OFD Sender: No OFD packet to send [19:11:32]OFD Sender: No OFD packet to send [19:11:37]OFD Sender: No OFD packet to send [19:11:42]OFD Sender: No OFD packet to send [19:11:47]OFD Sender: No OFD packet to send [19:11:52]OFD Sender: No OFD packet to send [19:11:57]OFD Sender: No OFD packet to send [19:12:02]OFD Sender: No OFD packet to send [19:12:07]OFD Sender: No OFD packet to send [19:12:12]OFD Sender: No OFD packet to send [19:12:17]OFD Sender: No OFD packet to send [19:12:22]OFD Sender: No OFD packet to send [19:12:27]OFD Sender: No OFD packet to send [19:12:32]OFD Sender: No OFD packet to send [19:12:37]OFD Sender: No OFD packet to send [19:12:42]OFD Sender: No OFD packet to send [19:12:47]OFD Sender: No OFD packet to send [19:12:52]OFD Sender: No OFD packet to send [19:12:57]OFD Sender: No OFD packet to send [19:13:02]OFD Sender: No OFD packet to send [19:13:07]OFD Sender: No OFD packet to send [19:13:12]OFD Sender: No OFD packet to send [19:13:17]OFD Sender: No OFD packet to send [19:13:22]OFD Sender: No OFD packet to send [19:13:27]OFD Sender: No OFD packet to send [19:13:32]OFD Sender: No OFD packet to send [19:13:37]OFD Sender: No OFD packet to send [19:13:42]OFD Sender: No OFD packet to send [19:13:47]OFD Sender: No OFD packet to send [19:13:52]OFD Sender: No OFD packet to send [19:13:57]OFD Sender: No OFD packet to send [19:14:02]OFD Sender: No OFD packet to send [19:14:07]OFD Sender: No OFD packet to send [19:14:12]OFD Sender: No OFD packet to send [19:14:17]OFD Sender: No OFD packet to send [19:14:22]OFD Sender: No OFD packet to send [19:14:27]OFD Sender: No OFD packet to send [19:14:32]OFD Sender: No OFD packet to send [19:14:37]OFD Sender: No OFD packet to send [19:14:42]OFD Sender: No OFD packet to send [19:14:47]OFD Sender: No OFD packet to send [19:14:52]OFD Sender: No OFD packet to send [19:14:57]OFD Sender: No OFD packet to send [19:15:02]OFD Sender: No OFD packet to send [19:15:07]OFD Sender: No OFD packet to send [19:15:12]OFD Sender: No OFD packet to send [19:15:17]OFD Sender: No OFD packet to send [19:15:22]OFD Sender: No OFD packet to send [19:15:27]OFD Sender: No OFD packet to send [19:15:32]OFD Sender: No OFD packet to send [19:15:37]OFD Sender: No OFD packet to send [19:15:42]OFD Sender: No OFD packet to send [19:15:47]OFD Sender: No OFD packet to send [19:15:52]OFD Sender: No OFD packet to send [19:15:57]OFD Sender: No OFD packet to send [19:16:02]OFD Sender: No OFD packet to send [19:16:07]OFD Sender: No OFD packet to send [19:16:12]OFD Sender: No OFD packet to send [19:16:17]OFD Sender: No OFD packet to send [19:16:22]OFD Sender: No OFD packet to send [19:16:27]OFD Sender: No OFD packet to send [19:16:30]accept exits with 7 [19:16:30]New connection [19:16:30]New thread 3066453348 created [19:16:30]Thread 3066596708 joined [19:16:30]Waiting for new connection... [19:16:30] Sock 7.Parse request [19:16:30]Sock 7.Check first char [19:16:30]Sock 7.First char is OK [19:16:30]request: POST /json_proto HTTP/1.0 [19:16:30]Method: POST [19:16:30]URL: /json_proto [19:16:30]Method is POST - this is cgi request [19:16:30]url: /json_proto [19:16:30]query_string will be loaded in cgi processing [19:16:30]execute_cgi json_proto POST (null) [19:16:30]execute_cgi path=json_proto method=POST [19:16:30]POST find Content-Length [19:16:30]Host: 172.17.32.68:8080 [19:16:30]Content-Length: 605 [19:16:30]Content-Type: application/json [19:16:30] [19:16:30]POST finish read [19:16:30]Found Content-Length = 605 [19:16:30]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242285", "tax_sys" : 0, "items" : [ { "code": "42113270", "name": "\u0416\u0435\u0432 Orbit \u0430\u0440\u0431\u0443\u0437", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 40.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:16:30]execute_script... [19:16: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)242285", "tax_sys" : 0, "items" : [ { "code": "42113270", "name": "\u0416\u0435\u0432 Orbit \u0430\u0440\u0431\u0443\u0437", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 40.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:16:30]POST & json_proto [19:16:30]process_json_proto [19:16:30]json parsed OK: [19:16:30]protocol is kg_v1.0 [19:16:30]action value=close_receipt [19:16:30]process_action close_receipt [19:16:30]cmd_close_receipt [19:16:30]MH_GetDate [19:16:30]Write to MH i2c: F0 00 00 E5 59 2D [19:16:30]Write i2c OK [19:16:30]MH_I2C_Read... [19:16:30]Read from MH i2c: F0 [19:16:30]MH_I2C_Read... [19:16:30]Read from MH i2c: F0 09 00 [19:16:30]MH_I2C_Read... [19:16:30]Read from MH i2c: F0 09 00 E5 59 00 1F AA F0 65 0A 64 6E 65 95 [19:16:30]GetLastDocTimeStamp 1710270516 [19:16:30]current date 1710271007 [19:16:30]FM_GetShiftState [19:16:30]SAM_PROTO_GetShiftState [19:16:30]wFMCommunicate request_size=4 [19:16:30]MH_SAM_APDU [19:16:30]CAPDU: 80 13 01 00 [19:16:30]Write to MH i2c: E2 08 00 E6 59 80 13 01 00 00 00 00 00 BC [19:16:30]Write i2c OK [19:16:30]MH_I2C_Read... [19:16:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:16:30]Read from MH i2c: E2 [19:16:30]MH_I2C_Read... [19:16:30]Read from MH i2c: E2 0E 00 [19:16:30]MH_I2C_Read... [19:16:30]Read from MH i2c: E2 0E 00 E6 59 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 EB [19:16:30]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [19:16:30]wFMCommunicate OK [19:16:30]SAM_PROTO_GetShiftState done [19:16:30]FM_GetShiftState done [19:16:30]opened in 1710202417 [19:16:30]opened+sec_in_day 1710288817 [19:16:30]quantity*price = 4000 [19:16:30]sum+1 = 4001 [19:16:30]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 40.00 НСП 1% : 0.35 НДС 12% : 4.25 Наличными: 40.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 50 12.03.2024 19:16 Смена: 314 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47372 ФПД: 36605300923267 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T191647&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47372&fm=36605300923267&tin=02508201610067®Number=0000000000092018&sum=4000 0 [19:16:31]StoreToDocumentArchive [19:16:31]shift 314 fd 47372 [19:16:31]save to /storage/0314/doc_00047372 [19:16:31]save last doc name /storage/0314/doc_00047372 to /storage/kkm_last_doc_name [19:16:31]save OK [19:16:31]Clear old archive folders... [19:16:31]ProcessDocumentItem done err = 0, tmpTLVsize=260 [19:16:31]tlvbuf is 002B33E0 [19:16:31]SAM_PROTO_ClearQueue [19:16:31]wFMCommunicate request_size=4 [19:16:31]MH_SAM_APDU [19:16:31]CAPDU: 80 09 00 00 [19:16:31]Write to MH i2c: E2 08 00 F3 59 80 09 00 00 00 00 00 00 BE [19:16:31]Write i2c OK [19:16:31]MH_I2C_Read... [19:16:31]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:16:31]Read from MH i2c: E2 [19:16:31]MH_I2C_Read... [19:16:31]Read from MH i2c: E2 03 00 [19:16:31]MH_I2C_Read... [19:16:31]Read from MH i2c: E2 03 00 F3 59 00 90 00 C0 [19:16:31]RAPDU: 90 00 [19:16:31]wFMCommunicate OK [19:16:31]SAM_PROTO_ClearQueue done [19:16:31]KKMCreateOFDPacket [19:16:31]OFDProtocolAddRootSTLVToBuf [19:16:31]FM_MakeSignedData [19:16:31]FM_MakeSignedData [19:16:31]SAM_PROTO_SignData [19:16:31]wFMCommunicate request_size=4 [19:16:31]MH_SAM_APDU [19:16:31]CAPDU: 80 0D 01 02 [19:16:31]Write to MH i2c: E2 08 00 F4 59 80 0D 01 02 00 00 00 00 C6 [19:16:31]Write i2c OK [19:16:31]MH_I2C_Read... [19:16:31]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:16:31]Read from MH i2c: E2 [19:16:31]MH_I2C_Read... [19:16:31]Read from MH i2c: E2 03 00 [19:16:31]MH_I2C_Read... [19:16:31]Read from MH i2c: E2 03 00 F4 59 00 90 00 C1 [19:16:31]RAPDU: 90 00 [19:16:31]wFMCommunicate OK [19:16:31]wFMCommunicate request_size=255 [19:16:31]MH_SAM_APDU [19:16:31]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 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 1F AA F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 [19:16:31]Write to MH i2c: E2 02 01 F5 59 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 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 1F AA F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 00 00 A6 [19:16:31]Write i2c OK [19:16:31]MH_I2C_Read... [19:16:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:16:32]Read from MH i2c: E2 [19:16:32]MH_I2C_Read... [19:16:32]Read from MH i2c: E2 03 00 [19:16:32]MH_I2C_Read... [19:16:32]Read from MH i2c: E2 03 00 F5 59 00 90 00 C2 [19:16:32]RAPDU: 90 00 [19:16:32]wFMCommunicate OK [19:16:32]wFMCommunicate request_size=19 [19:16:32]MH_SAM_APDU [19:16:32]CAPDU: 80 0D 02 02 0E 0C B9 00 00 35 04 06 00 21 4A D5 F5 5B 83 [19:16:32]Write to MH i2c: E2 16 00 F6 59 80 0D 02 02 0E 00 0C B9 00 00 35 04 06 00 21 4A D5 F5 5B 83 00 00 FC [19:16:32]Write i2c OK [19:16:32]MH_I2C_Read... [19:16:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:16:32]Read from MH i2c: E2 [19:16:32]MH_I2C_Read... [19:16:32]Read from MH i2c: E2 03 00 [19:16:32]MH_I2C_Read... [19:16:32]Read from MH i2c: E2 03 00 F6 59 00 90 00 C3 [19:16:32]RAPDU: 90 00 [19:16:32]wFMCommunicate OK [19:16:32]wFMCommunicate request_size=4 [19:16:32]MH_SAM_APDU [19:16:32]CAPDU: 80 0D 03 02 [19:16:32]Write to MH i2c: E2 08 00 F7 59 80 0D 03 02 00 00 00 00 CB [19:16:32]Write i2c OK [19:16:32]MH_I2C_Read... [19:16:32]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:16:32]Read from MH i2c: E2 [19:16:32]MH_I2C_Read... [19:16:32]Read from MH i2c: E2 0B 00 [19:16:32]MH_I2C_Read... [19:16:32]Read from MH i2c: E2 0B 00 F7 59 00 13 BF 26 E5 99 5D 31 3F 90 00 0F [19:16:32]RAPDU: 13 BF 26 E5 99 5D 31 3F 90 00 [19:16:32]wFMCommunicate OK [19:16:32]SAM_PROTO_SignData done [19:16:32]FM_MakeSignedData done [19:16:32]CreateOFDProtocolMessage [19:16:32]wFMCommunicate request_size=4 [19:16:32]MH_SAM_APDU [19:16:32]CAPDU: 80 11 00 00 [19:16:32]Write to MH i2c: E2 08 00 F8 59 80 11 00 00 00 00 00 00 CB [19:16:32]Write i2c OK [19:16:32]MH_I2C_Read... [19:16:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:16:32]Read from MH i2c: E2 [19:16:32]MH_I2C_Read... [19:16:32]Read from MH i2c: E2 17 00 [19:16:32]MH_I2C_Read... [19:16:32]Read from MH i2c: E2 17 00 F8 59 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 1D [19:16:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [19:16:32]wFMCommunicate OK [19:16:32]CreateOFDProtocolMessage done [19:16:32]OFDSenderStorePacket 47372 [19:16:32]StoreOFDPacket docnum=47372 [19:16:32]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 18 01 00 00 2F 78 10 01 4A B1 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 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 1F AA F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 0C B9 00 00 35 04 06 00 21 4A D5 F5 5B 83 13 BF 26 E5 99 5D 31 3F [19:16:32]CheckFolder [19:16:32]dirname=/storage/ofd_packets [19:16:32]CheckFolder done [19:16:32]ProducePacketName [19:16:32]name=ofd_packets/00047372 [19:16:32]NVStorageSaveData ofd_packets/00047372 [19:16:32]File name is /storage/ofd_packets/00047372 [19:16:32]Write 310 bytes [19:16:32]NVStorageSaveData done [19:16:32]OFDSenderStorePacket done [19:16:32]KKMCreateOFDPacket done [19:16:32]NVStorageSaveData kkm_last_timestamp [19:16:32]File name is /storage/kkm_last_timestamp [19:16:32]Write 4 bytes [19:16:32]NVStorageSaveData done [19:16:32]ExternCall_PrintAddStr [19:16:32]wPrintStart [19:16:32]Write to MH i2c: 01 00 00 F9 59 52 [19:16:32]Write i2c OK [19:16:32]MH_I2C_Read... [19:16:32]Read from MH i2c: 01 [19:16:32]MH_I2C_Read... [19:16:32]Read from MH i2c: 01 07 00 [19:16:32]MH_I2C_Read... [19:16:32]Read from MH i2c: 01 07 00 F9 59 00 00 00 00 00 FF 0F 67 [19:16:32]RasterBufferAndPrint [19:16:32]line Счет N : (3)242285 [19:16:32]line ИНН: 02508201610067 [19:16:32]line Контрольно-Кассовый Чек [19:16:32]line ПРОДАЖА [19:16:32]line Товар: 42113270 [19:16:32]line Жев Orbit арбуз [19:16:32]line 1.000 * 40.00 [19:16:32]line = 40.00 [19:16:32]line НДС 12% НСП 1% [19:16:32]line > о реализуемом товаре [19:16:32]line ИТОГО: 40.00 [19:16:32]line НСП 1% : 0.35 [19:16:32]line НДС 12% : 4.25 [19:16:32]line Наличными: 40.00 [19:16:32]line Безнал.: 0.00 [19:16:32]line Место: АЗС № 15 "Партнер Нефть" [19:16:32]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [19:16:32]line СНО: Общий режим [19:16:32]line Чек 50 12.03.2024 19:16 [19:16:32]line Смена: 314 ФФД: 1.0 [19:16:32]line ЗНМ: 0300000097 [19:16:32]line РНМ: 0000000000092018 [19:16:32]line Версия ККМ: 001 [19:16:32]line ФМ: 0000000000871816 [19:16:32]line ФД: 47372 [19:16:32]line ФПД: 36605300923267 [19:16:32]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T191647&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47372&fm=36605300923267&tin=02508201610067®Number=0000000000092018&sum=4000 [19:16:32]line 0 [19:16:32]OFD Sender: Processing packet 47372 [packets to send 8, broken 7] [19:16:32]ProducePacketName [19:16:32]name=ofd_packets/00047372 [19:16:32]OFD Sender: To server: pG, [19:16:32]CommunicateWithHost lk.salyk.kg:30040 [19:16:32]ConnectInit lk.salyk.kg [19:16:32]written 0, free lines is 4095 [19:16:32]Connected sock=10 [19: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 31 36 18 01 00 00 2F 78 10 01 4A B1 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 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 1F AA F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 0C B9 00 00 35 04 06 00 21 4A D5 F5 5B 83 13 BF 26 E5 99 5D 31 3F [19: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 31 36 4F 00 00 00 85 06 47 00 93 0E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 0C B9 00 00 F4 03 04 00 B0 54 F0 65 B6 04 01 00 00 25 4B 11 93 25 90 15 CA [19:16:32]CommunicateWithHost err = 0 [19:16:32]CheckOFDResponse [19:16:32]1017 (14) - 77093643461234 [19:16:32]1041 (16) - 0000000000871816 [19:16:32]1040 (4) - 47372 [19:16:32]1012 (4) - 12.03.2024 13:12 [19:16:32]1206 (1) - 0 [19:16:32]OFD Sender: Remove packet 47372 [19:16:32]ProducePacketName [19:16:32]name=ofd_packets/00047372 [19:16:32]NVStorageDeleteData [19:16:33]Write to MH i2c: 01 00 00 21 5A 7B [19:16:33]Write i2c OK [19:16:33]MH_I2C_Read... [19:16:33]Read from MH i2c: 01 [19:16:33]MH_I2C_Read... [19:16:33]Read from MH i2c: 01 07 00 [19:16:33]MH_I2C_Read... [19:16:33]Read from MH i2c: 01 07 00 21 5A 00 00 00 00 00 FC 0C 8A [19:16:33]RasterBufferAndPrint [19:16:33]line [19:16:33]line [19:16:33]line [19:16:33]line [19:16:33]line [19:16:33]written 0, free lines is 3329 [19:16:33]MH_Cut [19:16:33]Write to MH i2c: D1 01 00 28 5A 01 54 [19:16:33]Write i2c OK [19:16:33]MH_I2C_Read... [19:16:33]Read from MH i2c: D1 [19:16:33]MH_I2C_Read... [19:16:33]Read from MH i2c: D1 01 00 [19:16:33]MH_I2C_Read... [19:16:33]Read from MH i2c: D1 01 00 28 5A 00 53 [19:16:33]Write to MH i2c: 01 00 00 29 5A 83 [19:16:33]Write i2c OK [19:16:33]MH_I2C_Read... [19:16:33]OFD Sender: No OFD packet to send [19:16:33]*** Cut start [19:16:33]*** Purtial cut [19:16:33]*** Stage 1: CUTSNS_PIN = 1 [19:16:34]Read from MH i2c: 01 [19:16:34]MH_I2C_Read... [19:16:34]*** Stop cut motor [19:16:34]*** Cut end [19:16:34]Read from MH i2c: 01 07 00 [19:16:34]MH_I2C_Read... [19:16:34]Read from MH i2c: 01 07 00 29 5A 00 00 00 00 00 FF 0F 98 [19:16:34]process_action close_receipt done [19:16:34]requested_data is exist [19:16:34]produce_requested_data [19:16:34]requested_item fm.sn is exist - process it [19:16:34]wFMCommunicate request_size=4 [19:16:34]MH_SAM_APDU [19:16:34]CAPDU: 80 11 00 00 [19:16:34]Write to MH i2c: E2 08 00 2A 5A 80 11 00 00 00 00 00 00 FE [19:16:34]Write i2c OK [19:16:34]MH_I2C_Read... [19:16:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:16:34]Read from MH i2c: E2 [19:16:34]MH_I2C_Read... [19:16:34]Read from MH i2c: E2 17 00 [19:16:34]MH_I2C_Read... [19:16:34]Read from MH i2c: E2 17 00 2A 5A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 50 [19:16:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [19:16:34]wFMCommunicate OK [19:16:34]requested_item fd.num is exist - process it [19:16:34]SAM_PROTO_GetFieldsCounters [19:16:34]wFMCommunicate request_size=4 [19:16:34]MH_SAM_APDU [19:16:34]CAPDU: 80 13 00 00 [19:16:34]Write to MH i2c: E2 08 00 2B 5A 80 13 00 00 00 00 00 00 01 [19:16:34]Write i2c OK [19:16:34]MH_I2C_Read... [19:16:34]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:16:34]Read from MH i2c: E2 [19:16:34]MH_I2C_Read... [19:16:34]Read from MH i2c: E2 62 00 [19:16:34]MH_I2C_Read... [19:16:34]Read from MH i2c: E2 62 00 2B 5A 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 0C B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 32 00 00 00 5E 04 04 00 32 00 00 00 57 04 04 00 33 00 00 00 19 04 04 00 00 00 00 00 90 00 B2 [19: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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 0C B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 32 00 00 00 5E 04 04 00 32 00 00 00 57 04 04 00 33 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:16:34]wFMCommunicate OK [19:16:34]SAM_PROTO_GetFieldsCounters done [19:16:34]requested_item shift.num is exist - process it [19:16:34]requested_item shift.opened is exist - process it [19:16:34]req_shift_opened [19:16:34]FM_GetShiftState [19:16:34]SAM_PROTO_GetShiftState [19:16:34]wFMCommunicate request_size=4 [19:16:34]MH_SAM_APDU [19:16:34]CAPDU: 80 13 01 00 [19:16:34]Write to MH i2c: E2 08 00 2C 5A 80 13 01 00 00 00 00 00 03 [19:16:34]Write i2c OK [19:16:34]MH_I2C_Read... [19:16:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:16:34]Read from MH i2c: E2 [19:16:34]MH_I2C_Read... [19:16:34]Read from MH i2c: E2 0E 00 [19:16:34]MH_I2C_Read... [19:16:34]Read from MH i2c: E2 0E 00 2C 5A 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 32 [19:16:34]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [19:16:34]wFMCommunicate OK [19:16:34]SAM_PROTO_GetShiftState done [19:16:34]FM_GetShiftState done [19:16:34]req_shift_opened done [19:16:34]requested_item shift.open_date is exist - process it [19:16:34]req_shift_open_date [19:16:34]req_shift_open_date done [19:16:34]produce_requested_data done [19:16:34]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47372,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [19:16:34]process_action_free close_receipt [19:16:34]json_value_free [19:16:34]json_value_free done [19:16:34]process_json_proto returns [19:16:34]Send response to host [19:16:34]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47372,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [19:16:34]free response buf [19:16:34]execute_script done [19:16:34]execute_script returns [19:16:34]free content buf [19:16:34]Sock 7.Close socket [19:16:34]Sock 7.Thread stoped [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:25]accept exits with 9 [19:20:25]New connection [19:20:25]New thread 3066596708 created [19:20:25]Thread 3066453348 joined [19:20:25]Waiting for new connection... [19:20:25] Sock 9.Parse request [19:20:25]Sock 9.Check first char [19:20:25]Sock 9.First char is OK [19:20:25]request: POST /json_proto HTTP/1.0 [19:20:25]Method: POST [19:20:25]URL: /json_proto [19:20:25]Method is POST - this is cgi request [19:20:25]url: /json_proto [19:20:25]query_string will be loaded in cgi processing [19:20:25]execute_cgi json_proto POST (null) [19:20:25]execute_cgi path=json_proto method=POST [19:20:25]POST find Content-Length [19:20:25]Host: 172.17.32.68:8080 [19:20:25]Content-Length: 960 [19:20:25]Content-Type: application/json [19:20:25] [19:20:25]POST finish read [19:20:25]Found Content-Length = 960 [19:20:25]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242286", "tax_sys" : 0, "items" : [ { "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 2.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870112003956", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A ALBENI SUPER \u0410\u043B\u044C\u0431\u0435\u043D\u0438 \u0421\u0443\u043F\u0435\u0440", "price" : 75.00, "quantity" : 2.000, "sum" : 150.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" ] } } [19:20:25]execute_script... [19:20: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)242286", "tax_sys" : 0, "items" : [ { "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 2.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870112003956", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A ALBENI SUPER \u0410\u043B\u044C\u0431\u0435\u043D\u0438 \u0421\u0443\u043F\u0435\u0440", "price" : 75.00, "quantity" : 2.000, "sum" : 150.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" ] } } [19:20:25]POST & json_proto [19:20:25]process_json_proto [19:20:25]json parsed OK: [19:20:25]protocol is kg_v1.0 [19:20:25]action value=close_receipt [19:20:25]process_action close_receipt [19:20:25]cmd_close_receipt [19:20:25]MH_GetDate [19:20:25]Write to MH i2c: F0 00 00 2D 5A 76 [19:20:25]Write i2c OK [19:20:25]MH_I2C_Read... [19:20:25]Read from MH i2c: F0 [19:20:25]MH_I2C_Read... [19:20:25]Read from MH i2c: F0 09 00 [19:20:25]MH_I2C_Read... [19:20:25]Read from MH i2c: F0 09 00 2D 5A 00 0A AB F0 65 0A 64 6E 65 CA [19:20:25]GetLastDocTimeStamp 1710271007 [19:20:25]current date 1710271242 [19:20:25]FM_GetShiftState [19:20:25]SAM_PROTO_GetShiftState [19:20:25]wFMCommunicate request_size=4 [19:20:25]MH_SAM_APDU [19:20:25]CAPDU: 80 13 01 00 [19:20:25]Write to MH i2c: E2 08 00 2E 5A 80 13 01 00 00 00 00 00 05 [19:20:25]Write i2c OK [19:20:25]MH_I2C_Read... [19:20:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:20:25]Read from MH i2c: E2 [19:20:25]MH_I2C_Read... [19:20:25]Read from MH i2c: E2 0E 00 [19:20:25]MH_I2C_Read... [19:20:25]Read from MH i2c: E2 0E 00 2E 5A 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 34 [19:20:25]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [19:20:25]wFMCommunicate OK [19:20:25]SAM_PROTO_GetShiftState done [19:20:25]FM_GetShiftState done [19:20:25]opened in 1710202417 [19:20:25]opened+sec_in_day 1710288817 [19:20:25]quantity*price = 8000 [19:20:25]sum+1 = 8001 [19:20:25]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870112003956 Шок батончик ALBENI SUPER Альбени Супер 2.000 * 75.00 = 150.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 230.00 НСП 1% : 2.04 НДС 12% : 24.43 Наличными: 230.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 51 12.03.2024 19:20 Смена: 314 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47373 ФПД: 134504612609861 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T192042&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47373&fm=134504612609861&tin=02508201610067®Number=0000000000092018&sum=23000 0 [19:20:26]StoreToDocumentArchive [19:20:26]shift 314 fd 47373 [19:20:26]save to /storage/0314/doc_00047373 [19:20:26]save last doc name /storage/0314/doc_00047373 to /storage/kkm_last_doc_name [19:20:26]save OK [19:20:26]Clear old archive folders... [19:20:26]ProcessDocumentItem done err = 0, tmpTLVsize=405 [19:20:26]tlvbuf is 003CA090 [19:20:26]SAM_PROTO_ClearQueue [19:20:26]wFMCommunicate request_size=4 [19:20:26]MH_SAM_APDU [19:20:26]CAPDU: 80 09 00 00 [19:20:26]Write to MH i2c: E2 08 00 3B 5A 80 09 00 00 00 00 00 00 07 [19:20:27]Write i2c OK [19:20:27]MH_I2C_Read... [19:20:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:20:27]Read from MH i2c: E2 [19:20:27]MH_I2C_Read... [19:20:27]Read from MH i2c: E2 03 00 [19:20:27]MH_I2C_Read... [19:20:27]Read from MH i2c: E2 03 00 3B 5A 00 90 00 09 [19:20:27]RAPDU: 90 00 [19:20:27]wFMCommunicate OK [19:20:27]SAM_PROTO_ClearQueue done [19:20:27]KKMCreateOFDPacket [19:20:27]OFDProtocolAddRootSTLVToBuf [19:20:27]FM_MakeSignedData [19:20:27]FM_MakeSignedData [19:20:27]SAM_PROTO_SignData [19:20:27]wFMCommunicate request_size=4 [19:20:27]MH_SAM_APDU [19:20:27]CAPDU: 80 0D 01 02 [19:20:27]Write to MH i2c: E2 08 00 3C 5A 80 0D 01 02 00 00 00 00 0F [19:20:27]Write i2c OK [19:20:27]MH_I2C_Read... [19:20:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:20:27]Read from MH i2c: E2 [19:20:27]MH_I2C_Read... [19:20:27]Read from MH i2c: E2 03 00 [19:20:27]MH_I2C_Read... [19:20:27]Read from MH i2c: E2 03 00 3C 5A 00 90 00 0A [19:20:27]RAPDU: 90 00 [19:20:27]wFMCommunicate OK [19:20:27]wFMCommunicate request_size=255 [19:20:27]MH_SAM_APDU [19:20:27]CAPDU: 80 0D 02 02 FA 03 00 95 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 82 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 35 36 06 04 3E 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 41 4C 42 45 4E 49 20 53 55 50 45 52 20 D0 90 D0 BB D1 8C D0 B1 D0 B5 D0 BD D0 B8 20 D0 A1 D1 83 D0 BF D0 B5 D1 80 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D8 59 [19:20:27]Write to MH i2c: E2 02 01 3D 5A 80 0D 02 02 FA 00 03 00 95 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 82 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 35 36 06 04 3E 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 41 4C 42 45 4E 49 20 53 55 50 45 52 20 D0 90 D0 BB D1 8C D0 B1 D0 B5 D0 BD D0 B8 20 D0 A1 D1 83 D0 BF D0 B5 D1 80 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D8 59 00 00 D1 [19:20:27]Write i2c OK [19:20:27]MH_I2C_Read... [19:20:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:20:27]Read from MH i2c: E2 [19:20:27]MH_I2C_Read... [19:20:27]Read from MH i2c: E2 03 00 [19:20:27]MH_I2C_Read... [19:20:27]Read from MH i2c: E2 03 00 3D 5A 00 90 00 0B [19:20:27]RAPDU: 90 00 [19:20:27]wFMCommunicate OK [19:20:27]wFMCommunicate request_size=164 [19:20:27]MH_SAM_APDU [19:20:27]CAPDU: 80 0D 02 02 9F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CC 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8B 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 33 00 00 00 F4 03 04 00 0A AB F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 0D B9 00 00 35 04 06 00 7A 54 CB A7 BF 45 [19:20:27]Write to MH i2c: E2 A7 00 3E 5A 80 0D 02 02 9F 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CC 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8B 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 33 00 00 00 F4 03 04 00 0A AB F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 0D B9 00 00 35 04 06 00 7A 54 CB A7 BF 45 00 00 9A [19:20:27]Write i2c OK [19:20:27]MH_I2C_Read... [19:20:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:20:27]Read from MH i2c: E2 [19:20:27]MH_I2C_Read... [19:20:27]Read from MH i2c: E2 03 00 [19:20:27]MH_I2C_Read... [19:20:27]Read from MH i2c: E2 03 00 3E 5A 00 90 00 0C [19:20:27]RAPDU: 90 00 [19:20:27]wFMCommunicate OK [19:20:27]wFMCommunicate request_size=4 [19:20:27]MH_SAM_APDU [19:20:27]CAPDU: 80 0D 03 02 [19:20:27]Write to MH i2c: E2 08 00 3F 5A 80 0D 03 02 00 00 00 00 14 [19:20:27]Write i2c OK [19:20:27]MH_I2C_Read... [19:20:27]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:20:27]Read from MH i2c: E2 [19:20:27]MH_I2C_Read... [19:20:27]Read from MH i2c: E2 0B 00 [19:20:27]MH_I2C_Read... [19:20:27]Read from MH i2c: E2 0B 00 3F 5A 00 56 97 50 17 84 D1 04 7F 90 00 41 [19:20:27]RAPDU: 56 97 50 17 84 D1 04 7F 90 00 [19:20:27]wFMCommunicate OK [19:20:27]SAM_PROTO_SignData done [19:20:27]FM_MakeSignedData done [19:20:27]CreateOFDProtocolMessage [19:20:27]wFMCommunicate request_size=4 [19:20:27]MH_SAM_APDU [19:20:27]CAPDU: 80 11 00 00 [19:20:27]Write to MH i2c: E2 08 00 40 5A 80 11 00 00 00 00 00 00 14 [19:20:27]Write i2c OK [19:20:27]MH_I2C_Read... [19:20:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:20:27]Read from MH i2c: E2 [19:20:27]MH_I2C_Read... [19:20:27]Read from MH i2c: E2 17 00 [19:20:27]MH_I2C_Read... [19:20:27]Read from MH i2c: E2 17 00 40 5A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 66 [19:20:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [19:20:27]wFMCommunicate OK [19:20:27]CreateOFDProtocolMessage done [19:20:27]OFDSenderStorePacket 47373 [19:20:27]StoreOFDPacket docnum=47373 [19:20:27]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 A9 01 00 00 BB 19 A1 01 AC 2B 5A 03 01 00 03 00 95 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 82 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 35 36 06 04 3E 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 41 4C 42 45 4E 49 20 53 55 50 45 52 20 D0 90 D0 BB D1 8C D0 B1 D0 B5 D0 BD D0 B8 20 D0 A1 D1 83 D0 BF D0 B5 D1 80 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D8 59 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CC 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8B 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 33 00 00 00 F4 03 04 00 0A AB F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 0D B9 00 00 35 04 06 00 7A 54 CB A7 BF 45 56 97 50 17 84 D1 04 7F [19:20:27]CheckFolder [19:20:27]dirname=/storage/ofd_packets [19:20:27]CheckFolder done [19:20:27]ProducePacketName [19:20:27]name=ofd_packets/00047373 [19:20:27]NVStorageSaveData ofd_packets/00047373 [19:20:27]File name is /storage/ofd_packets/00047373 [19:20:27]Write 455 bytes [19:20:27]NVStorageSaveData done [19:20:27]OFDSenderStorePacket done [19:20:27]KKMCreateOFDPacket done [19:20:27]NVStorageSaveData kkm_last_timestamp [19:20:27]File name is /storage/kkm_last_timestamp [19:20:27]Write 4 bytes [19:20:27]NVStorageSaveData done [19:20:27]ExternCall_PrintAddStr [19:20:27]wPrintStart [19:20:27]Write to MH i2c: 01 00 00 41 5A 9B [19:20:27]Write i2c OK [19:20:27]MH_I2C_Read... [19:20:27]Read from MH i2c: 01 [19:20:27]MH_I2C_Read... [19:20:27]OFD Sender: Processing packet 47373 [packets to send 8, broken 7] [19:20:28]ProducePacketName [19:20:28]name=ofd_packets/00047373 [19:20:28]OFD Sender: To server: pG, [19:20:28]CommunicateWithHost lk.salyk.kg:30040 [19:20:28]ConnectInit lk.salyk.kg [19:20:28]Read from MH i2c: 01 07 00 [19:20:28]MH_I2C_Read... [19:20:28]Read from MH i2c: 01 07 00 41 5A 00 00 00 00 00 FF 0F B0 [19:20:28]RasterBufferAndPrint [19:20:28]line Счет N : (3)242286 [19:20:28]line ИНН: 02508201610067 [19:20:28]line Контрольно-Кассовый Чек [19:20:28]line ПРОДАЖА [19:20:28]line Товар: 4700000160211 [19:20:28]line Вода Легенда 0,5л [19:20:28]line 2.000 * 40.00 [19:20:28]line = 80.00 [19:20:28]line НДС 12% НСП 1% [19:20:28]line > о реализуемом товаре [19:20:28]line Товар: 4870112003956 [19:20:28]line Шок батончик ALBENI SUPER Альбени Супер [19:20:28]line 2.000 * 75.00 [19:20:28]line = 150.00 [19:20:28]line НДС 12% НСП 1% [19:20:28]line > о реализуемом товаре [19:20:28]line ИТОГО: 230.00 [19:20:28]line НСП 1% : 2.04 [19:20:28]line НДС 12% : 24.43 [19:20:28]line Наличными: 230.00 [19:20:28]line Безнал.: 0.00 [19:20:28]line Место: АЗС № 15 "Партнер Нефть" [19:20:28]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [19:20:28]line СНО: Общий режим [19:20:28]line Чек 51 12.03.2024 19:20 [19:20:28]line Смена: 314 ФФД: 1.0 [19:20:28]line ЗНМ: 0300000097 [19:20:28]line РНМ: 0000000000092018 [19:20:28]line Версия ККМ: 001 [19:20:28]line ФМ: 0000000000871816 [19:20:28]line ФД: 47373 [19:20:28]line ФПД: 134504612609861 [19:20:28]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T192042&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47373&fm=134504612609861&tin=02508201610067®Number=0000000000092018&sum=23000 [19:20:28]line 0 [19:20:28]written 0, free lines is 4095 [19:20:28]Connected sock=10 [19:20: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 31 36 A9 01 00 00 BB 19 A1 01 AC 2B 5A 03 01 00 03 00 95 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 82 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 35 36 06 04 3E 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 41 4C 42 45 4E 49 20 53 55 50 45 52 20 D0 90 D0 BB D1 8C D0 B1 D0 B5 D0 BD D0 B8 20 D0 A1 D1 83 D0 BF D0 B5 D1 80 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D8 59 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CC 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8B 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 33 00 00 00 F4 03 04 00 0A AB F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 0D B9 00 00 35 04 06 00 7A 54 CB A7 BF 45 56 97 50 17 84 D1 04 7F [19:20: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 31 36 4F 00 00 00 02 03 47 00 CB 3B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 0D B9 00 00 F4 03 04 00 9C 55 F0 65 B6 04 01 00 00 2E E5 6A 6E 04 1E CD 67 [19:20:28]CommunicateWithHost err = 0 [19:20:28]CheckOFDResponse [19:20:28]1017 (14) - 77093643461234 [19:20:28]1041 (16) - 0000000000871816 [19:20:28]1040 (4) - 47373 [19:20:28]1012 (4) - 12.03.2024 13:16 [19:20:28]1206 (1) - 0 [19:20:28]OFD Sender: Remove packet 47373 [19:20:28]ProducePacketName [19:20:28]name=ofd_packets/00047373 [19:20:28]NVStorageDeleteData [19:20:28]Write to MH i2c: 01 00 00 70 5A CA [19:20:28]Write i2c OK [19:20:28]MH_I2C_Read... [19:20:28]Read from MH i2c: 01 [19:20:28]MH_I2C_Read... [19:20:28]Read from MH i2c: 01 07 00 [19:20:28]MH_I2C_Read... [19:20:28]Read from MH i2c: 01 07 00 70 5A 00 00 00 00 00 7B 0C 58 [19:20:28]RasterBufferAndPrint [19:20:28]line [19:20:28]line [19:20:28]line [19:20:28]line [19:20:28]line [19:20:28]written 0, free lines is 3201 [19:20:28]MH_Cut [19:20:28]Write to MH i2c: D1 01 00 77 5A 01 A3 [19:20:28]Write i2c OK [19:20:28]MH_I2C_Read... [19:20:28]Read from MH i2c: D1 [19:20:28]MH_I2C_Read... [19:20:28]Read from MH i2c: D1 01 00 [19:20:28]MH_I2C_Read... [19:20:28]Read from MH i2c: D1 01 00 77 5A 00 A2 [19:20:28]Write to MH i2c: 01 00 00 78 5A D2 [19:20:28]Write i2c OK [19:20:28]MH_I2C_Read... [19:20:28]OFD Sender: No OFD packet to send [19:20:29]*** Cut start [19:20:29]*** Purtial cut [19:20:29]*** Stage 1: CUTSNS_PIN = 1 [19:20:29]Read from MH i2c: 01 [19:20:29]MH_I2C_Read... [19:20:29]*** Stop cut motor [19:20:29]*** Cut end [19:20:29]Read from MH i2c: 01 07 00 [19:20:29]MH_I2C_Read... [19:20:29]Read from MH i2c: 01 07 00 78 5A 00 00 00 00 00 FF 0F E7 [19:20:29]process_action close_receipt done [19:20:29]requested_data is exist [19:20:29]produce_requested_data [19:20:29]requested_item fm.sn is exist - process it [19:20:29]wFMCommunicate request_size=4 [19:20:29]MH_SAM_APDU [19:20:29]CAPDU: 80 11 00 00 [19:20:29]Write to MH i2c: E2 08 00 79 5A 80 11 00 00 00 00 00 00 4D [19:20:29]Write i2c OK [19:20:29]MH_I2C_Read... [19:20:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:20:29]Read from MH i2c: E2 [19:20:29]MH_I2C_Read... [19:20:29]Read from MH i2c: E2 17 00 [19:20:29]MH_I2C_Read... [19:20:29]Read from MH i2c: E2 17 00 79 5A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 9F [19:20:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [19:20:29]wFMCommunicate OK [19:20:29]requested_item fd.num is exist - process it [19:20:29]SAM_PROTO_GetFieldsCounters [19:20:29]wFMCommunicate request_size=4 [19:20:29]MH_SAM_APDU [19:20:29]CAPDU: 80 13 00 00 [19:20:29]Write to MH i2c: E2 08 00 7A 5A 80 13 00 00 00 00 00 00 50 [19:20:29]Write i2c OK [19:20:29]MH_I2C_Read... [19:20:29]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:20:29]Read from MH i2c: E2 [19:20:29]MH_I2C_Read... [19:20:29]Read from MH i2c: E2 62 00 [19:20:29]MH_I2C_Read... [19:20:29]Read from MH i2c: E2 62 00 7A 5A 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 0D B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 33 00 00 00 5E 04 04 00 33 00 00 00 57 04 04 00 34 00 00 00 19 04 04 00 00 00 00 00 90 00 05 [19:20:29]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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 0D B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 33 00 00 00 5E 04 04 00 33 00 00 00 57 04 04 00 34 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:20:29]wFMCommunicate OK [19:20:29]SAM_PROTO_GetFieldsCounters done [19:20:29]requested_item shift.num is exist - process it [19:20:29]requested_item shift.opened is exist - process it [19:20:29]req_shift_opened [19:20:29]FM_GetShiftState [19:20:29]SAM_PROTO_GetShiftState [19:20:29]wFMCommunicate request_size=4 [19:20:29]MH_SAM_APDU [19:20:29]CAPDU: 80 13 01 00 [19:20:29]Write to MH i2c: E2 08 00 7B 5A 80 13 01 00 00 00 00 00 52 [19:20:29]Write i2c OK [19:20:29]MH_I2C_Read... [19:20:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:20:29]Read from MH i2c: E2 [19:20:29]MH_I2C_Read... [19:20:29]Read from MH i2c: E2 0E 00 [19:20:29]MH_I2C_Read... [19:20:29]Read from MH i2c: E2 0E 00 7B 5A 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 81 [19:20:29]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [19:20:29]wFMCommunicate OK [19:20:29]SAM_PROTO_GetShiftState done [19:20:29]FM_GetShiftState done [19:20:29]req_shift_opened done [19:20:29]requested_item shift.open_date is exist - process it [19:20:29]req_shift_open_date [19:20:29]req_shift_open_date done [19:20:29]produce_requested_data done [19:20:29]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47373,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [19:20:29]process_action_free close_receipt [19:20:29]json_value_free [19:20:29]json_value_free done [19:20:29]process_json_proto returns [19:20:29]Send response to host [19:20:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47373,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [19:20:29]free response buf [19:20:29]execute_script done [19:20:29]execute_script returns [19:20:29]free content buf [19:20:29]Sock 9.Close socket [19:20:29]Sock 9.Thread stoped [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:29]OFD Sender: No OFD packet to send [19:25:34]OFD Sender: No OFD packet to send [19:25:39]OFD Sender: No OFD packet to send [19:25:44]OFD Sender: No OFD packet to send [19:25:49]OFD Sender: No OFD packet to send [19:25:54]OFD Sender: No OFD packet to send [19:25:59]OFD Sender: No OFD packet to send [19:26:04]OFD Sender: No OFD packet to send [19:26:09]OFD Sender: No OFD packet to send [19:26:14]OFD Sender: No OFD packet to send [19:26:19]OFD Sender: No OFD packet to send [19:26:24]OFD Sender: No OFD packet to send [19:26:29]OFD Sender: No OFD packet to send [19:26:34]OFD Sender: No OFD packet to send [19:26:39]OFD Sender: No OFD packet to send [19:26:44]OFD Sender: No OFD packet to send [19:26:49]OFD Sender: No OFD packet to send [19:26:54]OFD Sender: No OFD packet to send [19:26:59]OFD Sender: No OFD packet to send [19:27:04]OFD Sender: No OFD packet to send [19:27:09]OFD Sender: No OFD packet to send [19:27:14]OFD Sender: No OFD packet to send [19:27:19]OFD Sender: No OFD packet to send [19:27:24]OFD Sender: No OFD packet to send [19:27:29]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:10]accept exits with 7 [19:31:10]New connection [19:31:10]New thread 3066453348 created [19:31:10]Thread 3066596708 joined [19:31:10]Waiting for new connection... [19:31:10] Sock 7.Parse request [19:31:10]Sock 7.Check first char [19:31:10]Sock 7.First char is OK [19:31:10]request: POST /json_proto HTTP/1.0 [19:31:10]Method: POST [19:31:10]URL: /json_proto [19:31:10]Method is POST - this is cgi request [19:31:10]url: /json_proto [19:31:10]query_string will be loaded in cgi processing [19:31:10]execute_cgi json_proto POST (null) [19:31:10]execute_cgi path=json_proto method=POST [19:31:10]POST find Content-Length [19:31:10]Host: 172.17.32.68:8080 [19:31:10]Content-Length: 215 [19:31:10]Content-Type: application/json [19:31:10] [19:31:10]POST finish read [19:31:10]Found Content-Length = 215 [19:31:10]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" ] } } [19:31:10]execute_script... [19:31:10]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" ] } } [19:31:10]POST & json_proto [19:31:10]process_json_proto [19:31:10]json parsed OK: [19:31:10]protocol is kg_v1.0 [19:31:10]action value=get_value [19:31:10]process_action get_value [19:31:10]cmd_get_value [19:31:10]process_action get_value done [19:31:10]requested_data is exist [19:31:10]produce_requested_data [19:31:10]requested_item kkm.sn is exist - process it [19:31:10]requested_item kkm.ver is exist - process it [19:31:10]requested_item fm.sn is exist - process it [19:31:10]wFMCommunicate request_size=4 [19:31:10]MH_SAM_APDU [19:31:10]CAPDU: 80 11 00 00 [19:31:10]Write to MH i2c: E2 08 00 7C 5A 80 11 00 00 00 00 00 00 50 [19:31:10]Write i2c OK [19:31:10]MH_I2C_Read... [19:31:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:31:10]Read from MH i2c: E2 [19:31:10]MH_I2C_Read... [19:31:10]Read from MH i2c: E2 17 00 [19:31:10]MH_I2C_Read... [19:31:10]Read from MH i2c: E2 17 00 7C 5A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 A2 [19:31:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [19:31:10]wFMCommunicate OK [19:31:10]requested_item fd.num is exist - process it [19:31:10]SAM_PROTO_GetFieldsCounters [19:31:10]wFMCommunicate request_size=4 [19:31:10]MH_SAM_APDU [19:31:10]CAPDU: 80 13 00 00 [19:31:10]Write to MH i2c: E2 08 00 7D 5A 80 13 00 00 00 00 00 00 53 [19:31:10]Write i2c OK [19:31:10]MH_I2C_Read... [19:31:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:31:10]Read from MH i2c: E2 [19:31:10]MH_I2C_Read... [19:31:10]Read from MH i2c: E2 62 00 [19:31:10]MH_I2C_Read... [19:31:10]Read from MH i2c: E2 62 00 7D 5A 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 0D B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 33 00 00 00 5E 04 04 00 33 00 00 00 57 04 04 00 34 00 00 00 19 04 04 00 00 00 00 00 90 00 08 [19:31: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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 0D B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 33 00 00 00 5E 04 04 00 33 00 00 00 57 04 04 00 34 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:31:10]wFMCommunicate OK [19:31:10]SAM_PROTO_GetFieldsCounters done [19:31:10]requested_item shift.num is exist - process it [19:31:10]requested_item shift.opened is exist - process it [19:31:10]req_shift_opened [19:31:10]FM_GetShiftState [19:31:10]SAM_PROTO_GetShiftState [19:31:10]wFMCommunicate request_size=4 [19:31:10]MH_SAM_APDU [19:31:10]CAPDU: 80 13 01 00 [19:31:10]Write to MH i2c: E2 08 00 7E 5A 80 13 01 00 00 00 00 00 55 [19:31:10]Write i2c OK [19:31:10]MH_I2C_Read... [19:31:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:31:10]Read from MH i2c: E2 [19:31:10]MH_I2C_Read... [19:31:10]Read from MH i2c: E2 0E 00 [19:31:10]MH_I2C_Read... [19:31:10]Read from MH i2c: E2 0E 00 7E 5A 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 84 [19:31:10]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [19:31:10]wFMCommunicate OK [19:31:10]SAM_PROTO_GetShiftState done [19:31:10]FM_GetShiftState done [19:31:10]req_shift_opened done [19:31:10]requested_item shift.open_date is exist - process it [19:31:10]req_shift_open_date [19:31:10]req_shift_open_date done [19:31:10]produce_requested_data done [19:31:10]produce_requested_data return {"kkm.sn":"0300000097","kkm.ver":"001","fm.sn":"0000000000871816","fd.num":47373,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [19:31:10]process_action_free get_value [19:31:10]json_value_free [19:31:10]json_value_free done [19:31:10]process_json_proto returns [19:31:10]Send response to host [19:31:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000097","kkm.ver":"001","fm.sn":"0000000000871816","fd.num":47373,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [19:31:10]free response buf [19:31:10]execute_script done [19:31:10]execute_script returns [19:31:10]free content buf [19:31:10]Sock 7.Close socket [19:31:10]Sock 7.Thread stoped [19:31:10]accept exits with 9 [19:31:10]New connection [19:31:10]New thread 3066596708 created [19:31:10]Thread 3066453348 joined [19:31:10]Waiting for new connection... [19:31:10] Sock 9.Parse request [19:31:10]Sock 9.Check first char [19:31:10]Sock 9.First char is OK [19:31:10]request: POST /json_proto HTTP/1.0 [19:31:10]Method: POST [19:31:10]URL: /json_proto [19:31:10]Method is POST - this is cgi request [19:31:10]url: /json_proto [19:31:10]query_string will be loaded in cgi processing [19:31:10]execute_cgi json_proto POST (null) [19:31:10]execute_cgi path=json_proto method=POST [19:31:10]POST find Content-Length [19:31:10]Host: 172.17.32.68:8080 [19:31:10]Content-Length: 331 [19:31:10]Content-Type: application/json [19:31:10] [19:31:10]POST finish read [19:31:10]Found Content-Length = 331 [19:31:10]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" ] } } [19:31:10]execute_script... [19:31:10]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" ] } } [19:31:10]POST & json_proto [19:31:10]process_json_proto [19:31:10]json parsed OK: [19:31:10]protocol is kg_v1.0 [19:31:10]action value=get_value [19:31:10]process_action get_value [19:31:10]cmd_get_value [19:31:10]process_action get_value done [19:31:10]requested_data is exist [19:31:10]produce_requested_data [19:31:10]requested_item fm.sale.total is exist - process it [19:31:10]SAM_PROTO_GetFMData [19:31:10]wFMCommunicate request_size=4 [19:31:10]MH_SAM_APDU [19:31:10]CAPDU: 80 13 03 00 [19:31:10]Write to MH i2c: E2 08 00 7F 5A 80 13 03 00 00 00 00 00 58 [19:31:10]Write i2c OK [19:31:10]MH_I2C_Read... [19:31:11]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [19:31:11]Read from MH i2c: E2 [19:31:11]MH_I2C_Read... [19:31:11]Read from MH i2c: E2 FD 00 [19:31:11]MH_I2C_Read... [19:31:11]Read from MH i2c: E2 FD 00 7F 5A 00 C1 04 85 04 BD 04 6E 04 04 00 98 B6 00 00 69 04 A0 00 6F 04 04 00 72 B5 00 00 B1 04 04 00 37 41 0D 30 70 04 04 00 FC 6B 1F 28 72 04 04 00 3B D5 ED 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 D9 4C 1A 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 DF C7 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 26 01 00 00 B1 04 03 00 C0 21 6E 70 04 03 00 E4 1A 6A 72 04 03 00 DC 06 04 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 18 B2 0B EF 03 09 00 F6 03 90 00 2C [19:31:11]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 98 B6 00 00 69 04 A0 00 6F 04 04 00 72 B5 00 00 B1 04 04 00 37 41 0D 30 70 04 04 00 FC 6B 1F 28 72 04 04 00 3B D5 ED 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 D9 4C 1A 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 DF C7 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 26 01 00 00 B1 04 03 00 C0 21 6E 70 04 03 00 E4 1A 6A 72 04 03 00 DC 06 04 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 18 B2 0B EF 03 09 00 F6 03 90 00 [19:31:11]wFMCommunicate OK [19:31:11]wFMCommunicate request_size=4 [19:31:11]MH_SAM_APDU [19:31:11]CAPDU: 80 17 00 00 [19:31:11]Write to MH i2c: E2 08 00 80 5A 80 17 00 00 00 00 00 00 5A [19:31:11]Write i2c OK [19:31:11]MH_I2C_Read... [19:31:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:31:11]Read from MH i2c: E2 [19:31:11]MH_I2C_Read... [19:31:11]Read from MH i2c: E2 FD 00 [19:31:11]MH_I2C_Read... [19:31:11]Read from MH i2c: E2 FD 00 80 5A 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 5D F9 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 DF [19:31:11]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 5D F9 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [19:31:11]wFMCommunicate OK [19:31:11]wFMCommunicate request_size=4 [19:31:11]MH_SAM_APDU [19:31:11]CAPDU: 80 17 00 00 [19:31:11]Write to MH i2c: E2 08 00 81 5A 80 17 00 00 00 00 00 00 5B [19:31:11]Write i2c OK [19:31:11]MH_I2C_Read... [19:31:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:31:11]Read from MH i2c: E2 [19:31:11]MH_I2C_Read... [19:31:11]Read from MH i2c: E2 FD 00 [19:31:11]MH_I2C_Read... [19:31:11]Read from MH i2c: E2 FD 00 81 5A 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 FB [19:31:11]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [19:31:11]wFMCommunicate OK [19:31:11]wFMCommunicate request_size=4 [19:31:11]MH_SAM_APDU [19:31:11]CAPDU: 80 17 00 00 [19:31:11]Write to MH i2c: E2 08 00 82 5A 80 17 00 00 00 00 00 00 5C [19:31:11]Write i2c OK [19:31:11]MH_I2C_Read... [19:31:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:31:12]Read from MH i2c: E2 [19:31:12]MH_I2C_Read... [19:31:12]Read from MH i2c: E2 FD 00 [19:31:12]MH_I2C_Read... [19:31:12]Read from MH i2c: E2 FD 00 82 5A 00 03 01 00 04 F7 03 00 00 EF 03 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 90 00 E1 [19:31:12]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [19:31:12]wFMCommunicate OK [19:31:12]wFMCommunicate request_size=4 [19:31:12]MH_SAM_APDU [19:31:12]CAPDU: 80 17 00 00 [19:31:12]Write to MH i2c: E2 08 00 83 5A 80 17 00 00 00 00 00 00 5D [19:31:12]Write i2c OK [19:31:12]MH_I2C_Read... [19:31:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [19:31:12]Read from MH i2c: E2 [19:31:12]MH_I2C_Read... [19:31:12]Read from MH i2c: E2 DE 00 [19:31:12]MH_I2C_Read... [19:31:12]Read from MH i2c: E2 DE 00 83 5A 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 3C [19:31:12]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [19:31:12]wFMCommunicate OK [19:31:12]SAM_PROTO_GetFMData done [19:31:12]requested_item fm.sale_refund.total is exist - process it [19:31:12]requested_item fm.buy.total is exist - process it [19:31:12]requested_item shift.sale.total is exist - process it [19:31:12]SAM_PROTO_GetShiftData [19:31:12]wFMCommunicate request_size=4 [19:31:12]MH_SAM_APDU [19:31:12]CAPDU: 80 13 02 00 [19:31:12]Write to MH i2c: E2 08 00 84 5A 80 13 02 00 00 00 00 00 5C [19:31:12]Write i2c OK [19:31:12]MH_I2C_Read... [19:31:12]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [19:31:12]Read from MH i2c: E2 [19:31:12]MH_I2C_Read... [19:31:12]Read from MH i2c: E2 FD 00 [19:31:12]MH_I2C_Read... [19:31:12]Read from MH i2c: E2 FD 00 84 5A 00 B5 04 AA 04 B1 04 6E 04 04 00 33 00 00 00 69 04 9B 00 6F 04 04 00 32 00 00 00 B1 04 03 00 A4 AC 0E 70 04 03 00 34 82 0D 72 04 03 00 70 2A 01 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 F4 8E 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 35 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 94 00 6F 04 04 00 01 00 00 00 B1 04 02 00 68 42 70 04 02 00 68 42 72 04 00 00 00 04 78 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 0D 07 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0A 00 90 00 AF [19:31:12]RAPDU: B5 04 AA 04 B1 04 6E 04 04 00 33 00 00 00 69 04 9B 00 6F 04 04 00 32 00 00 00 B1 04 03 00 A4 AC 0E 70 04 03 00 34 82 0D 72 04 03 00 70 2A 01 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 F4 8E 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 35 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 94 00 6F 04 04 00 01 00 00 00 B1 04 02 00 68 42 70 04 02 00 68 42 72 04 00 00 00 04 78 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 0D 07 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0A 00 90 00 [19:31:12]wFMCommunicate OK [19:31:12]wFMCommunicate request_size=4 [19:31:12]MH_SAM_APDU [19:31:12]CAPDU: 80 17 00 00 [19:31:12]Write to MH i2c: E2 08 00 85 5A 80 17 00 00 00 00 00 00 5F [19:31:12]Write i2c OK [19:31:12]MH_I2C_Read... [19:31:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:31:13]Read from MH i2c: E2 [19:31:13]MH_I2C_Read... [19:31:13]Read from MH i2c: E2 FD 00 [19:31:13]MH_I2C_Read... [19:31:13]Read from MH i2c: E2 FD 00 85 5A 00 F6 03 01 00 01 F7 03 01 00 96 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 0B [19:31:13]RAPDU: F6 03 01 00 01 F7 03 01 00 96 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [19:31:13]wFMCommunicate OK [19:31:13]wFMCommunicate request_size=4 [19:31:13]MH_SAM_APDU [19:31:13]CAPDU: 80 17 00 00 [19:31:13]Write to MH i2c: E2 08 00 86 5A 80 17 00 00 00 00 00 00 60 [19:31:13]Write i2c OK [19:31:13]MH_I2C_Read... [19:31:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:31:13]Read from MH i2c: E2 [19:31:13]MH_I2C_Read... [19:31:13]Read from MH i2c: E2 FD 00 [19:31:13]MH_I2C_Read... [19:31:13]Read from MH i2c: E2 FD 00 86 5A 00 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 1D [19:31:13]RAPDU: 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [19:31:13]wFMCommunicate OK [19:31:13]wFMCommunicate request_size=4 [19:31:13]MH_SAM_APDU [19:31:13]CAPDU: 80 17 00 00 [19:31:13]Write to MH i2c: E2 08 00 87 5A 80 17 00 00 00 00 00 00 61 [19:31:13]Write i2c OK [19:31:13]MH_I2C_Read... [19:31:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:31:13]Read from MH i2c: E2 [19:31:13]MH_I2C_Read... [19:31:13]Read from MH i2c: E2 FD 00 [19:31:13]MH_I2C_Read... [19:31:13]Read from MH i2c: E2 FD 00 87 5A 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 90 00 D9 [19:31:13]RAPDU: 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 90 00 [19:31:13]wFMCommunicate OK [19:31:13]wFMCommunicate request_size=4 [19:31:13]MH_SAM_APDU [19:31:13]CAPDU: 80 17 00 00 [19:31:13]Write to MH i2c: E2 08 00 88 5A 80 17 00 00 00 00 00 00 62 [19:31:13]Write i2c OK [19:31:13]MH_I2C_Read... [19:31:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 207! [19:31:13]Read from MH i2c: E2 [19:31:13]MH_I2C_Read... [19:31:13]Read from MH i2c: E2 D2 00 [19:31:13]MH_I2C_Read... [19:31:13]Read from MH i2c: E2 D2 00 88 5A 00 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 45 [19:31:13]RAPDU: 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [19:31:14]wFMCommunicate OK [19:31:14]SAM_PROTO_GetShiftData done [19:31:14]requested_item shift.sale.total_cash is exist - process it [19:31:14]requested_item shift.sale_refund.total is exist - process it [19:31:14]requested_item shift.sale_refund.total_cash is exist - process it [19:31:14]requested_item shift.buy.total is exist - process it [19:31:14]requested_item shift.buy.total_cash is exist - process it [19:31:14]produce_requested_data done [19:31:14]produce_requested_data return {"fm.sale.total":8061750.31,"fm.sale_refund.total":72176.00,"fm.buy.total":0.00,"shift.sale.total":9617.00,"shift.sale.total_cash":8853.00,"shift.sale_refund.total":170.00,"shift.sale_refund.total_cash":170.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [19:31:14]process_action_free get_value [19:31:14]json_value_free [19:31:14]json_value_free done [19:31:14]process_json_proto returns [19:31:14]Send response to host [19:31:14]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8061750.31,"fm.sale_refund.total":72176.00,"fm.buy.total":0.00,"shift.sale.total":9617.00,"shift.sale.total_cash":8853.00,"shift.sale_refund.total":170.00,"shift.sale_refund.total_cash":170.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [19:31:14]free response buf [19:31:14]execute_script done [19:31:14]execute_script returns [19:31:14]free content buf [19:31:14]Sock 9.Close socket [19:31:14]Sock 9.Thread stoped [19:31:14]accept exits with 7 [19:31:14]New connection [19:31:14]New thread 3066453348 created [19:31:14]Thread 3066596708 joined [19:31:14]Waiting for new connection... [19:31:14] Sock 7.Parse request [19:31:14]Sock 7.Check first char [19:31:14]Sock 7.First char is OK [19:31:14]request: POST /json_proto HTTP/1.0 [19:31:14]Method: POST [19:31:14]URL: /json_proto [19:31:14]Method is POST - this is cgi request [19:31:14]url: /json_proto [19:31:14]query_string will be loaded in cgi processing [19:31:14]execute_cgi json_proto POST (null) [19:31:14]execute_cgi path=json_proto method=POST [19:31:14]POST find Content-Length [19:31:14]Host: 172.17.32.68:8080 [19:31:14]Content-Length: 331 [19:31:14]Content-Type: application/json [19:31:14] [19:31:14]POST finish read [19:31:14]Found Content-Length = 331 [19:31:14]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" ] } } [19:31:14]execute_script... [19:31:14]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" ] } } [19:31:14]POST & json_proto [19:31:14]process_json_proto [19:31:14]json parsed OK: [19:31:14]protocol is kg_v1.0 [19:31:14]action value=get_value [19:31:14]process_action get_value [19:31:14]cmd_get_value [19:31:14]process_action get_value done [19:31:14]requested_data is exist [19:31:14]produce_requested_data [19:31:14]requested_item fm.sale.total is exist - process it [19:31:14]SAM_PROTO_GetFMData [19:31:14]wFMCommunicate request_size=4 [19:31:14]MH_SAM_APDU [19:31:14]CAPDU: 80 13 03 00 [19:31:14]Write to MH i2c: E2 08 00 89 5A 80 13 03 00 00 00 00 00 62 [19:31:14]Write i2c OK [19:31:14]MH_I2C_Read... [19:31:14]OFD Sender: No OFD packet to send [19:31:14]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [19:31:14]Read from MH i2c: E2 [19:31:14]MH_I2C_Read... [19:31:14]Read from MH i2c: E2 FD 00 [19:31:14]MH_I2C_Read... [19:31:14]Read from MH i2c: E2 FD 00 89 5A 00 C1 04 85 04 BD 04 6E 04 04 00 98 B6 00 00 69 04 A0 00 6F 04 04 00 72 B5 00 00 B1 04 04 00 37 41 0D 30 70 04 04 00 FC 6B 1F 28 72 04 04 00 3B D5 ED 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 D9 4C 1A 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 DF C7 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 26 01 00 00 B1 04 03 00 C0 21 6E 70 04 03 00 E4 1A 6A 72 04 03 00 DC 06 04 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 18 B2 0B EF 03 09 00 F6 03 90 00 36 [19:31:14]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 98 B6 00 00 69 04 A0 00 6F 04 04 00 72 B5 00 00 B1 04 04 00 37 41 0D 30 70 04 04 00 FC 6B 1F 28 72 04 04 00 3B D5 ED 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 D9 4C 1A 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 DF C7 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 26 01 00 00 B1 04 03 00 C0 21 6E 70 04 03 00 E4 1A 6A 72 04 03 00 DC 06 04 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 18 B2 0B EF 03 09 00 F6 03 90 00 [19:31:14]wFMCommunicate OK [19:31:14]wFMCommunicate request_size=4 [19:31:14]MH_SAM_APDU [19:31:14]CAPDU: 80 17 00 00 [19:31:14]Write to MH i2c: E2 08 00 8A 5A 80 17 00 00 00 00 00 00 64 [19:31:14]Write i2c OK [19:31:14]MH_I2C_Read... [19:31:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:31:14]Read from MH i2c: E2 [19:31:14]MH_I2C_Read... [19:31:14]Read from MH i2c: E2 FD 00 [19:31:14]MH_I2C_Read... [19:31:14]Read from MH i2c: E2 FD 00 8A 5A 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 5D F9 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 E9 [19:31:14]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 5D F9 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [19:31:14]wFMCommunicate OK [19:31:14]wFMCommunicate request_size=4 [19:31:14]MH_SAM_APDU [19:31:14]CAPDU: 80 17 00 00 [19:31:14]Write to MH i2c: E2 08 00 8B 5A 80 17 00 00 00 00 00 00 65 [19:31:14]Write i2c OK [19:31:14]MH_I2C_Read... [19:31:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:31:15]Read from MH i2c: E2 [19:31:15]MH_I2C_Read... [19:31:15]Read from MH i2c: E2 FD 00 [19:31:15]MH_I2C_Read... [19:31:15]Read from MH i2c: E2 FD 00 8B 5A 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 05 [19:31:15]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [19:31:15]wFMCommunicate OK [19:31:15]wFMCommunicate request_size=4 [19:31:15]MH_SAM_APDU [19:31:15]CAPDU: 80 17 00 00 [19:31:15]Write to MH i2c: E2 08 00 8C 5A 80 17 00 00 00 00 00 00 66 [19:31:15]Write i2c OK [19:31:15]MH_I2C_Read... [19:31:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:31:15]Read from MH i2c: E2 [19:31:15]MH_I2C_Read... [19:31:15]Read from MH i2c: E2 FD 00 [19:31:15]MH_I2C_Read... [19:31:15]Read from MH i2c: E2 FD 00 8C 5A 00 03 01 00 04 F7 03 00 00 EF 03 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 90 00 EB [19:31:15]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [19:31:15]wFMCommunicate OK [19:31:15]wFMCommunicate request_size=4 [19:31:15]MH_SAM_APDU [19:31:15]CAPDU: 80 17 00 00 [19:31:15]Write to MH i2c: E2 08 00 8D 5A 80 17 00 00 00 00 00 00 67 [19:31:15]Write i2c OK [19:31:15]MH_I2C_Read... [19:31:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [19:31:15]Read from MH i2c: E2 [19:31:15]MH_I2C_Read... [19:31:15]Read from MH i2c: E2 DE 00 [19:31:15]MH_I2C_Read... [19:31:15]Read from MH i2c: E2 DE 00 8D 5A 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 46 [19:31:15]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [19:31:16]wFMCommunicate OK [19:31:16]SAM_PROTO_GetFMData done [19:31:16]requested_item fm.sale_refund.total is exist - process it [19:31:16]requested_item fm.buy.total is exist - process it [19:31:16]requested_item shift.sale.total is exist - process it [19:31:16]SAM_PROTO_GetShiftData [19:31:16]wFMCommunicate request_size=4 [19:31:16]MH_SAM_APDU [19:31:16]CAPDU: 80 13 02 00 [19:31:16]Write to MH i2c: E2 08 00 8E 5A 80 13 02 00 00 00 00 00 66 [19:31:16]Write i2c OK [19:31:16]MH_I2C_Read... [19:31:16]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [19:31:16]Read from MH i2c: E2 [19:31:16]MH_I2C_Read... [19:31:16]Read from MH i2c: E2 FD 00 [19:31:16]MH_I2C_Read... [19:31:16]Read from MH i2c: E2 FD 00 8E 5A 00 B5 04 AA 04 B1 04 6E 04 04 00 33 00 00 00 69 04 9B 00 6F 04 04 00 32 00 00 00 B1 04 03 00 A4 AC 0E 70 04 03 00 34 82 0D 72 04 03 00 70 2A 01 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 F4 8E 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 35 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 94 00 6F 04 04 00 01 00 00 00 B1 04 02 00 68 42 70 04 02 00 68 42 72 04 00 00 00 04 78 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 0D 07 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0A 00 90 00 B9 [19:31:16]RAPDU: B5 04 AA 04 B1 04 6E 04 04 00 33 00 00 00 69 04 9B 00 6F 04 04 00 32 00 00 00 B1 04 03 00 A4 AC 0E 70 04 03 00 34 82 0D 72 04 03 00 70 2A 01 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 F4 8E 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 35 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 94 00 6F 04 04 00 01 00 00 00 B1 04 02 00 68 42 70 04 02 00 68 42 72 04 00 00 00 04 78 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 0D 07 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0A 00 90 00 [19:31:16]wFMCommunicate OK [19:31:16]wFMCommunicate request_size=4 [19:31:16]MH_SAM_APDU [19:31:16]CAPDU: 80 17 00 00 [19:31:16]Write to MH i2c: E2 08 00 8F 5A 80 17 00 00 00 00 00 00 69 [19:31:16]Write i2c OK [19:31:16]MH_I2C_Read... [19:31:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:31:16]Read from MH i2c: E2 [19:31:16]MH_I2C_Read... [19:31:16]Read from MH i2c: E2 FD 00 [19:31:16]MH_I2C_Read... [19:31:16]Read from MH i2c: E2 FD 00 8F 5A 00 F6 03 01 00 01 F7 03 01 00 96 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 15 [19:31:16]RAPDU: F6 03 01 00 01 F7 03 01 00 96 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [19:31:17]wFMCommunicate OK [19:31:17]wFMCommunicate request_size=4 [19:31:17]MH_SAM_APDU [19:31:17]CAPDU: 80 17 00 00 [19:31:17]Write to MH i2c: E2 08 00 90 5A 80 17 00 00 00 00 00 00 6A [19:31:17]Write i2c OK [19:31:17]MH_I2C_Read... [19:31:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:31:17]Read from MH i2c: E2 [19:31:17]MH_I2C_Read... [19:31:17]Read from MH i2c: E2 FD 00 [19:31:17]MH_I2C_Read... [19:31:17]Read from MH i2c: E2 FD 00 90 5A 00 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 27 [19:31:17]RAPDU: 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [19:31:17]wFMCommunicate OK [19:31:17]wFMCommunicate request_size=4 [19:31:17]MH_SAM_APDU [19:31:17]CAPDU: 80 17 00 00 [19:31:17]Write to MH i2c: E2 08 00 91 5A 80 17 00 00 00 00 00 00 6B [19:31:17]Write i2c OK [19:31:17]MH_I2C_Read... [19:31:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:31:17]Read from MH i2c: E2 [19:31:17]MH_I2C_Read... [19:31:17]Read from MH i2c: E2 FD 00 [19:31:17]MH_I2C_Read... [19:31:17]Read from MH i2c: E2 FD 00 91 5A 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 90 00 E3 [19:31:17]RAPDU: 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 90 00 [19:31:17]wFMCommunicate OK [19:31:17]wFMCommunicate request_size=4 [19:31:17]MH_SAM_APDU [19:31:17]CAPDU: 80 17 00 00 [19:31:17]Write to MH i2c: E2 08 00 92 5A 80 17 00 00 00 00 00 00 6C [19:31:17]Write i2c OK [19:31:17]MH_I2C_Read... [19:31:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 207! [19:31:18]Read from MH i2c: E2 [19:31:18]MH_I2C_Read... [19:31:18]Read from MH i2c: E2 D2 00 [19:31:18]MH_I2C_Read... [19:31:18]Read from MH i2c: E2 D2 00 92 5A 00 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 4F [19:31:18]RAPDU: 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [19:31:18]wFMCommunicate OK [19:31:18]SAM_PROTO_GetShiftData done [19:31:18]requested_item shift.sale.total_cash is exist - process it [19:31:18]requested_item shift.sale_refund.total is exist - process it [19:31:18]requested_item shift.sale_refund.total_cash is exist - process it [19:31:18]requested_item shift.buy.total is exist - process it [19:31:18]requested_item shift.buy.total_cash is exist - process it [19:31:18]produce_requested_data done [19:31:18]produce_requested_data return {"fm.sale.total":8061750.31,"fm.sale_refund.total":72176.00,"fm.buy.total":0.00,"shift.sale.total":9617.00,"shift.sale.total_cash":8853.00,"shift.sale_refund.total":170.00,"shift.sale_refund.total_cash":170.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [19:31:18]process_action_free get_value [19:31:18]json_value_free [19:31:18]json_value_free done [19:31:18]process_json_proto returns [19:31:18]Send response to host [19:31:18]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8061750.31,"fm.sale_refund.total":72176.00,"fm.buy.total":0.00,"shift.sale.total":9617.00,"shift.sale.total_cash":8853.00,"shift.sale_refund.total":170.00,"shift.sale_refund.total_cash":170.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [19:31:18]free response buf [19:31:18]execute_script done [19:31:18]execute_script returns [19:31:18]free content buf [19:31:18]Sock 7.Close socket [19:31:18]Sock 7.Thread stoped [19:31:18]accept exits with 9 [19:31:18]New connection [19:31:18]New thread 3066596708 created [19:31:18]Thread 3066453348 joined [19:31:18]Waiting for new connection... [19:31:18] Sock 9.Parse request [19:31:18]Sock 9.Check first char [19:31:18]Sock 9.First char is OK [19:31:18]request: POST /json_proto HTTP/1.0 [19:31:18]Method: POST [19:31:18]URL: /json_proto [19:31:18]Method is POST - this is cgi request [19:31:18]url: /json_proto [19:31:18]query_string will be loaded in cgi processing [19:31:18]execute_cgi json_proto POST (null) [19:31:18]execute_cgi path=json_proto method=POST [19:31:18]POST find Content-Length [19:31:18]Host: 172.17.32.68:8080 [19:31:18]Content-Length: 270 [19:31:18]Content-Type: application/json [19:31:18] [19:31:18]POST finish read [19:31:18]Found Content-Length = 270 [19:31:18]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u041C\u0430\u043A\u0441\u0430\u0442\u0431\u0435\u043A \u0443 \u0414. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:31:18]execute_script... [19:31:18]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u041C\u0430\u043A\u0441\u0430\u0442\u0431\u0435\u043A \u0443 \u0414. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:31:18]POST & json_proto [19:31:18]process_json_proto [19:31:18]json parsed OK: [19:31:18]protocol is kg_v1.0 [19:31:18]action value=x_report [19:31:18]process_action x_report [19:31:18]cmd_x_report [19:31:18]MH_GetDate [19:31:18]Write to MH i2c: F0 00 00 93 5A DC [19:31:18]Write i2c OK [19:31:18]MH_I2C_Read... [19:31:18]Read from MH i2c: F0 [19:31:18]MH_I2C_Read... [19:31:18]Read from MH i2c: F0 09 00 [19:31:18]MH_I2C_Read... [19:31:18]Read from MH i2c: F0 09 00 93 5A 00 97 AD F0 65 0A 64 6E 65 BF [19:31:18]GetLastDocTimeStamp 1710271242 [19:31:18]current date 1710271895 [19:31:18]FM_GetShiftState [19:31:18]SAM_PROTO_GetShiftState [19:31:18]wFMCommunicate request_size=4 [19:31:18]MH_SAM_APDU [19:31:18]CAPDU: 80 13 01 00 [19:31:18]Write to MH i2c: E2 08 00 94 5A 80 13 01 00 00 00 00 00 6B [19:31:18]Write i2c OK [19:31:18]MH_I2C_Read... [19:31:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:31:18]Read from MH i2c: E2 [19:31:18]MH_I2C_Read... [19:31:18]Read from MH i2c: E2 0E 00 [19:31:18]MH_I2C_Read... [19:31:18]Read from MH i2c: E2 0E 00 94 5A 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 9A [19:31:18]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [19:31:18]wFMCommunicate OK [19:31:18]SAM_PROTO_GetShiftState done [19:31:18]FM_GetShiftState done [19:31:18]KKMCreateXReportDocument [19:31:18]Load OK [19:31:18]Malloc new data [19:31:18]MH_GetDate [19:31:18]Write to MH i2c: F0 00 00 95 5A DE [19:31:18]Write i2c OK [19:31:18]MH_I2C_Read... [19:31:18]Read from MH i2c: F0 [19:31:18]MH_I2C_Read... [19:31:18]Read from MH i2c: F0 09 00 [19:31:18]MH_I2C_Read... [19:31:18]Read from MH i2c: F0 09 00 95 5A 00 97 AD F0 65 0A 64 6E 65 C1 [19:31:18]Malloc new data [19:31:18]Malloc new data [19:31:18]wFMCommunicate request_size=4 [19:31:18]MH_SAM_APDU [19:31:18]CAPDU: 80 11 00 00 [19:31:18]Write to MH i2c: E2 08 00 96 5A 80 11 00 00 00 00 00 00 6A [19:31:18]Write i2c OK [19:31:18]MH_I2C_Read... [19:31:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:31:18]Read from MH i2c: E2 [19:31:18]MH_I2C_Read... [19:31:18]Read from MH i2c: E2 17 00 [19:31:18]MH_I2C_Read... [19:31:18]Read from MH i2c: E2 17 00 96 5A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 BC [19:31:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [19:31:18]wFMCommunicate OK [19:31:18]SAM_PROTO_GetFieldsCounters [19:31:18]wFMCommunicate request_size=4 [19:31:18]MH_SAM_APDU [19:31:18]CAPDU: 80 13 00 00 [19:31:18]Write to MH i2c: E2 08 00 97 5A 80 13 00 00 00 00 00 00 6D [19:31:18]Write i2c OK [19:31:18]MH_I2C_Read... [19:31:18]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:31:18]Read from MH i2c: E2 [19:31:18]MH_I2C_Read... [19:31:18]Read from MH i2c: E2 62 00 [19:31:18]MH_I2C_Read... [19:31:18]Read from MH i2c: E2 62 00 97 5A 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 0D B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 33 00 00 00 5E 04 04 00 33 00 00 00 57 04 04 00 34 00 00 00 19 04 04 00 00 00 00 00 90 00 22 [19:31: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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 0D B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 33 00 00 00 5E 04 04 00 33 00 00 00 57 04 04 00 34 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:31:18]wFMCommunicate OK [19:31:18]SAM_PROTO_GetFieldsCounters done [19:31:18]Malloc new data [19:31:18]Malloc new data [19:31:18]Malloc new data [19:31:18]KKMCreateXReportDocument OK [19:31:18]KKMSetXReportData OK [19:31:18]KKMPrepareXReportFMData [19:31:18]SAM_PROTO_GetShiftData [19:31:18]wFMCommunicate request_size=4 [19:31:18]MH_SAM_APDU [19:31:18]CAPDU: 80 13 02 00 [19:31:18]Write to MH i2c: E2 08 00 98 5A 80 13 02 00 00 00 00 00 70 [19:31:18]Write i2c OK [19:31:18]MH_I2C_Read... [19:31:19]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [19:31:19]Read from MH i2c: E2 [19:31:19]MH_I2C_Read... [19:31:19]Read from MH i2c: E2 FD 00 [19:31:19]MH_I2C_Read... [19:31:19]Read from MH i2c: E2 FD 00 98 5A 00 B5 04 AA 04 B1 04 6E 04 04 00 33 00 00 00 69 04 9B 00 6F 04 04 00 32 00 00 00 B1 04 03 00 A4 AC 0E 70 04 03 00 34 82 0D 72 04 03 00 70 2A 01 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 F4 8E 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 35 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 94 00 6F 04 04 00 01 00 00 00 B1 04 02 00 68 42 70 04 02 00 68 42 72 04 00 00 00 04 78 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 0D 07 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0A 00 90 00 C3 [19:31:19]RAPDU: B5 04 AA 04 B1 04 6E 04 04 00 33 00 00 00 69 04 9B 00 6F 04 04 00 32 00 00 00 B1 04 03 00 A4 AC 0E 70 04 03 00 34 82 0D 72 04 03 00 70 2A 01 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 F4 8E 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 35 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 94 00 6F 04 04 00 01 00 00 00 B1 04 02 00 68 42 70 04 02 00 68 42 72 04 00 00 00 04 78 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 0D 07 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0A 00 90 00 [19:31:19]wFMCommunicate OK [19:31:19]wFMCommunicate request_size=4 [19:31:19]MH_SAM_APDU [19:31:19]CAPDU: 80 17 00 00 [19:31:19]Write to MH i2c: E2 08 00 99 5A 80 17 00 00 00 00 00 00 73 [19:31:19]Write i2c OK [19:31:19]MH_I2C_Read... [19:31:19]OFD Sender: No OFD packet to send [19:31:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:31:19]Read from MH i2c: E2 [19:31:19]MH_I2C_Read... [19:31:19]Read from MH i2c: E2 FD 00 [19:31:19]MH_I2C_Read... [19:31:19]Read from MH i2c: E2 FD 00 99 5A 00 F6 03 01 00 01 F7 03 01 00 96 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 1F [19:31:19]RAPDU: F6 03 01 00 01 F7 03 01 00 96 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [19:31:19]wFMCommunicate OK [19:31:19]wFMCommunicate request_size=4 [19:31:19]MH_SAM_APDU [19:31:19]CAPDU: 80 17 00 00 [19:31:19]Write to MH i2c: E2 08 00 9A 5A 80 17 00 00 00 00 00 00 74 [19:31:19]Write i2c OK [19:31:19]MH_I2C_Read... [19:31:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:31:19]Read from MH i2c: E2 [19:31:19]MH_I2C_Read... [19:31:19]Read from MH i2c: E2 FD 00 [19:31:19]MH_I2C_Read... [19:31:19]Read from MH i2c: E2 FD 00 9A 5A 00 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 31 [19:31:20]RAPDU: 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [19:31:20]wFMCommunicate OK [19:31:20]wFMCommunicate request_size=4 [19:31:20]MH_SAM_APDU [19:31:20]CAPDU: 80 17 00 00 [19:31:20]Write to MH i2c: E2 08 00 9B 5A 80 17 00 00 00 00 00 00 75 [19:31:20]Write i2c OK [19:31:20]MH_I2C_Read... [19:31:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:31:20]Read from MH i2c: E2 [19:31:20]MH_I2C_Read... [19:31:20]Read from MH i2c: E2 FD 00 [19:31:20]MH_I2C_Read... [19:31:20]Read from MH i2c: E2 FD 00 9B 5A 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 90 00 ED [19:31:20]RAPDU: 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 90 00 [19:31:20]wFMCommunicate OK [19:31:20]wFMCommunicate request_size=4 [19:31:20]MH_SAM_APDU [19:31:20]CAPDU: 80 17 00 00 [19:31:20]Write to MH i2c: E2 08 00 9C 5A 80 17 00 00 00 00 00 00 76 [19:31:20]Write i2c OK [19:31:20]MH_I2C_Read... [19:31:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 207! [19:31:20]Read from MH i2c: E2 [19:31:20]MH_I2C_Read... [19:31:20]Read from MH i2c: E2 D2 00 [19:31:20]MH_I2C_Read... [19:31:20]Read from MH i2c: E2 D2 00 9C 5A 00 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 59 [19:31:20]RAPDU: 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [19:31:21]wFMCommunicate OK [19:31:21]SAM_PROTO_GetShiftData done [19:31:21]1194 (1201) - счетчики итогов смены [19:31:21] 1134 (4) - 51 - количество чеков со всеми признаками расчетов [19:31:21] 1129 (155) - счетчики операций «приход» [19:31:21] 1135 (4) - 50 - количество чеков по признаку расчетов [19:31:21] 1201 (3) - 9617.00 - общая итоговая сумма в чеках [19:31:21] 1136 (3) - 8853.00 - итоговая сумма в чеках наличными [19:31:21] 1138 (3) - 764.00 - итоговая сумма в чеках безналичными [19:31:21] 1024 (122) - суммы налогов [19:31:21] 1006 (9) - суммы НДС [19:31:21] 1010 (1) - 0% - код ставки НДС [19:31:21] 1011 (0) - 0.00 - сумма НДС по ставке [19:31:21] 1006 (12) - суммы НДС [19:31:21] 1010 (1) - 12% - код ставки НДС [19:31:21] 1011 (3) - 1021.32 - сумма НДС по ставке [19:31:21] 1007 (9) - суммы НСП [19:31:21] 1014 (1) - 0% - код ставки НСП [19:31:21] 1015 (0) - 0.00 - сумма НСП по ставке [19:31:21] 1007 (11) - суммы НСП [19:31:21] 1014 (1) - 1% - код ставки НСП [19:31:21] 1015 (2) - 85.01 - сумма НСП по ставке [19:31:21] 1007 (9) - суммы НСП [19:31:21] 1014 (1) - 2% - код ставки НСП [19:31:21] 1015 (0) - 0.00 - сумма НСП по ставке [19:31:21] 1007 (9) - суммы НСП [19:31:21] 1014 (1) - 3% - код ставки НСП [19:31:21] 1015 (0) - 0.00 - сумма НСП по ставке [19:31:21] 1007 (9) - суммы НСП [19:31:21] 1014 (1) - 5% - код ставки НСП [19:31:21] 1015 (0) - 0.00 - сумма НСП по ставке [19:31:21] 1007 (9) - суммы НСП [19:31:21] 1014 (1) - 0,50% - код ставки НСП [19:31:21] 1015 (0) - 0.00 - сумма НСП по ставке [19:31:21] 1007 (9) - суммы НСП [19:31:21] 1014 (1) - 1,50% - код ставки НСП [19:31:21] 1015 (0) - 0.00 - сумма НСП по ставке [19:31:21] 1130 (148) - счетчики операций «возврат прихода» [19:31:21] 1135 (4) - 1 - количество чеков по признаку расчетов [19:31:21] 1201 (2) - 170.00 - общая итоговая сумма в чеках [19:31:21] 1136 (2) - 170.00 - итоговая сумма в чеках наличными [19:31:21] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [19:31:21] 1024 (120) - суммы налогов [19:31:21] 1006 (9) - суммы НДС [19:31:21] 1010 (1) - 0% - код ставки НДС [19:31:21] 1011 (0) - 0.00 - сумма НДС по ставке [19:31:21] 1006 (11) - суммы НДС [19:31:21] 1010 (1) - 12% - код ставки НДС [19:31:21] 1011 (2) - 18.05 - сумма НДС по ставке [19:31:21] 1007 (9) - суммы НСП [19:31:21] 1014 (1) - 0% - код ставки НСП [19:31:21] 1015 (0) - 0.00 - сумма НСП по ставке [19:31:21] 1007 (10) - суммы НСП [19:31:21] 1014 (1) - 1% - код ставки НСП [19:31:21] 1015 (1) - 1.50 - сумма НСП по ставке [19:31:21] 1007 (9) - суммы НСП [19:31:21] 1014 (1) - 2% - код ставки НСП [19:31:21] 1015 (0) - 0.00 - сумма НСП по ставке [19:31:21] 1007 (9) - суммы НСП [19:31:21] 1014 (1) - 3% - код ставки НСП [19:31:21] 1015 (0) - 0.00 - сумма НСП по ставке [19:31:21] 1007 (9) - суммы НСП [19:31:21] 1014 (1) - 5% - код ставки НСП [19:31:21] 1015 (0) - 0.00 - сумма НСП по ставке [19:31:21] 1007 (9) - суммы НСП [19:31:21] 1014 (1) - 0,50% - код ставки НСП [19:31:21] 1015 (0) - 0.00 - сумма НСП по ставке [19:31:21] 1007 (9) - суммы НСП [19:31:21] 1014 (1) - 1,50% - код ставки НСП [19:31:21] 1015 (0) - 0.00 - сумма НСП по ставке [19:31:21] 1131 (141) - счетчики операций «расход» [19:31:21] 1135 (4) - 0 - количество чеков по признаку расчетов [19:31:21] 1201 (0) - 0.00 - общая итоговая сумма в чеках [19:31:21] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [19:31:21] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [19:31:21] 1024 (117) - суммы налогов [19:31:21] 1006 (9) - суммы НДС [19:31:21] 1010 (1) - 0% - код ставки НДС [19:31:21] 1011 (0) - 0.00 - сумма НДС по ставке [19:31:21] 1006 (9) - суммы НДС [19:31:21] 1010 (1) - 12% - код ставки НДС [19:31:21] 1011 (0) - 0.00 - сумма НДС по ставке [19:31:21] 1007 (9) - суммы НСП [19:31:21] 1014 (1) - 0% - код ставки НСП [19:31:21] 1015 (0) - 0.00 - сумма НСП по ставке [19:31:21] 1007 (9) - суммы НСП [19:31:21] 1014 (1) - 1% - код ставки НСП [19:31:21] 1015 (0) - 0.00 - сумма НСП по ставке [19:31:21] 1007 (9) - суммы НСП [19:31:21] 1014 (1) - 2% - код ставки НСП [19:31:21] 1015 (0) - 0.00 - сумма НСП по ставке [19:31:21] 1007 (9) - суммы НСП [19:31:21] 1014 (1) - 3% - код ставки НСП [19:31:21] 1015 (0) - 0.00 - сумма НСП по ставке [19:31:21] 1007 (9) - суммы НСП [19:31:21] 1014 (1) - 5% - код ставки НСП [19:31:21] 1015 (0) - 0.00 - сумма НСП по ставке [19:31:21] 1007 (9) - суммы НСП [19:31:21] 1014 (1) - 0,50% - код ставки НСП [19:31:21] 1015 (0) - 0.00 - сумма НСП по ставке [19:31:21] 1007 (9) - суммы НСП [19:31:21] 1014 (1) - 1,50% - код ставки НСП [19:31:21] 1015 (0) - 0.00 - сумма НСП по ставке [19:31:21] 1132 (141) - счетчики операций «возврат расхода» [19:31:21] 1135 (4) - 0 - количество чеков по признаку расчетов [19:31:21] 1201 (0) - 0.00 - общая итоговая сумма в чеках [19:31:21] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [19:31:21] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [19:31:21] 1024 (117) - суммы налогов [19:31:21] 1006 (9) - суммы НДС [19:31:21] 1010 (1) - 0% - код ставки НДС [19:31:21] 1011 (0) - 0.00 - сумма НДС по ставке [19:31:21] 1006 (9) - суммы НДС [19:31:21] 1010 (1) - 12% - код ставки НДС [19:31:21] 1011 (0) - 0.00 - сумма НДС по ставке [19:31:21] 1007 (9) - суммы НСП [19:31:21] 1014 (1) - 0% - код ставки НСП [19:31:21] 1015 (0) - 0.00 - сумма НСП по ставке [19:31:21] 1007 (9) - суммы НСП [19:31:21] 1014 (1) - 1% - код ставки НСП [19:31:21] 1015 (0) - 0.00 - сумма НСП по ставке [19:31:21] 1007 (9) - суммы НСП [19:31:21] 1014 (1) - 2% - код ставки НСП [19:31:21] 1015 (0) - 0.00 - сумма НСП по ставке [19:31:21] 1007 (9) - суммы НСП [19:31:21] 1014 (1) - 3% - код ставки НСП [19:31:21] 1015 (0) - 0.00 - сумма НСП по ставке [19:31:21] 1007 (9) - суммы НСП [19:31:21] 1014 (1) - 5% - код ставки НСП [19:31:21] 1015 (0) - 0.00 - сумма НСП по ставке [19:31:21] 1007 (9) - суммы НСП [19:31:21] 1014 (1) - 0,50% - код ставки НСП [19:31:21] 1015 (0) - 0.00 - сумма НСП по ставке [19:31:21] 1007 (9) - суммы НСП [19:31:21] 1014 (1) - 1,50% - код ставки НСП [19:31:21] 1015 (0) - 0.00 - сумма НСП по ставке [19:31:21] 1133 (588) - - счетчики коррекции - не используются [19:31:21]SetTLVBufToDocument [19:31:21]Processing tag 1194 (04AA) [19:31:21]Load OK [19:31:21]SetTLVBufToDocument [19:31:21]Processing tag 1134 (046E) [19:31:21]Malloc new data [19:31:21]Processing tag 1129 (0469) [19:31:21]Load OK [19:31:21]SetTLVBufToDocument [19:31:21]Processing tag 1135 (046F) [19:31:21]Malloc new data [19:31:21]Processing tag 1201 (04B1) [19:31:21]Malloc new data [19:31:21]Processing tag 1136 (0470) [19:31:21]Malloc new data [19:31:21]Processing tag 1138 (0472) [19:31:21]Malloc new data [19:31:21]Processing tag 1024 (0400) [19:31:21]Load OK [19:31:21]SetTLVBufToDocument [19:31:21]Processing tag 1006 (03EE) [19:31:21]Load OK [19:31:21]SetTLVBufToDocument [19:31:21]Processing tag 1010 (03F2) [19:31:21]Malloc new data [19:31:21]Processing tag 1011 (03F3) [19:31:21]Malloc new data [19:31:21]SetTLVBufToDocument err=0 [19:31:21]Processing tag 1006 (03EE) [19:31:21]Load OK [19:31:21]SetTLVBufToDocument [19:31:21]Processing tag 1010 (03F2) [19:31:21]Malloc new data [19:31:21]Processing tag 1011 (03F3) [19:31:21]Malloc new data [19:31:21]SetTLVBufToDocument err=0 [19:31:21]Processing tag 1007 (03EF) [19:31:21]Load OK [19:31:21]SetTLVBufToDocument [19:31:21]Processing tag 1014 (03F6) [19:31:21]Malloc new data [19:31:21]Processing tag 1015 (03F7) [19:31:21]Malloc new data [19:31:21]SetTLVBufToDocument err=0 [19:31:21]Processing tag 1007 (03EF) [19:31:21]Load OK [19:31:21]SetTLVBufToDocument [19:31:21]Processing tag 1014 (03F6) [19:31:21]Malloc new data [19:31:21]Processing tag 1015 (03F7) [19:31:21]Malloc new data [19:31:21]SetTLVBufToDocument err=0 [19:31:21]Processing tag 1007 (03EF) [19:31:21]Load OK [19:31:21]SetTLVBufToDocument [19:31:21]Processing tag 1014 (03F6) [19:31:21]Malloc new data [19:31:21]Processing tag 1015 (03F7) [19:31:21]Malloc new data [19:31:21]SetTLVBufToDocument err=0 [19:31:21]Processing tag 1007 (03EF) [19:31:21]Load OK [19:31:21]SetTLVBufToDocument [19:31:21]Processing tag 1014 (03F6) [19:31:21]Malloc new data [19:31:21]Processing tag 1015 (03F7) [19:31:21]Malloc new data [19:31:21]SetTLVBufToDocument err=0 [19:31:21]Processing tag 1007 (03EF) [19:31:21]Load OK [19:31:21]SetTLVBufToDocument [19:31:21]Processing tag 1014 (03F6) [19:31:21]Malloc new data [19:31:21]Processing tag 1015 (03F7) [19:31:21]Malloc new data [19:31:21]SetTLVBufToDocument err=0 [19:31:21]Processing tag 1007 (03EF) [19:31:21]Load OK [19:31:21]SetTLVBufToDocument [19:31:21]Processing tag 1014 (03F6) [19:31:21]Malloc new data [19:31:21]Processing tag 1015 (03F7) [19:31:21]Malloc new data [19:31:21]SetTLVBufToDocument err=0 [19:31:21]Processing tag 1007 (03EF) [19:31:21]Load OK [19:31:21]SetTLVBufToDocument [19:31:21]Processing tag 1014 (03F6) [19:31:21]Malloc new data [19:31:21]Processing tag 1015 (03F7) [19:31:21]Malloc new data [19:31:21]SetTLVBufToDocument err=0 [19:31:21]SetTLVBufToDocument err=0 [19:31:21]SetTLVBufToDocument err=0 [19:31:21]Processing tag 1130 (046A) [19:31:21]Load OK [19:31:21]SetTLVBufToDocument [19:31:21]Processing tag 1135 (046F) [19:31:21]Malloc new data [19:31:21]Processing tag 1201 (04B1) [19:31:21]Malloc new data [19:31:21]Processing tag 1136 (0470) [19:31:21]Malloc new data [19:31:21]Processing tag 1138 (0472) [19:31:21]Malloc new data [19:31:21]Processing tag 1024 (0400) [19:31:21]Load OK [19:31:21]SetTLVBufToDocument [19:31:21]Processing tag 1006 (03EE) [19:31:21]Load OK [19:31:21]SetTLVBufToDocument [19:31:21]Processing tag 1010 (03F2) [19:31:21]Malloc new data [19:31:21]Processing tag 1011 (03F3) [19:31:21]Malloc new data [19:31:21]SetTLVBufToDocument err=0 [19:31:21]Processing tag 1006 (03EE) [19:31:21]Load OK [19:31:21]SetTLVBufToDocument [19:31:21]Processing tag 1010 (03F2) [19:31:21]Malloc new data [19:31:21]Processing tag 1011 (03F3) [19:31:21]Malloc new data [19:31:21]SetTLVBufToDocument err=0 [19:31:21]Processing tag 1007 (03EF) [19:31:21]Load OK [19:31:21]SetTLVBufToDocument [19:31:21]Processing tag 1014 (03F6) [19:31:21]Malloc new data [19:31:21]Processing tag 1015 (03F7) [19:31:21]Malloc new data [19:31:21]SetTLVBufToDocument err=0 [19:31:21]Processing tag 1007 (03EF) [19:31:21]Load OK [19:31:21]SetTLVBufToDocument [19:31:21]Processing tag 1014 (03F6) [19:31:21]Malloc new data [19:31:21]Processing tag 1015 (03F7) [19:31:21]Malloc new data [19:31:21]SetTLVBufToDocument err=0 [19:31:21]Processing tag 1007 (03EF) [19:31:21]Load OK [19:31:21]SetTLVBufToDocument [19:31:21]Processing tag 1014 (03F6) [19:31:21]Malloc new data [19:31:21]Processing tag 1015 (03F7) [19:31:21]Malloc new data [19:31:21]SetTLVBufToDocument err=0 [19:31:21]Processing tag 1007 (03EF) [19:31:21]Load OK [19:31:21]SetTLVBufToDocument [19:31:21]Processing tag 1014 (03F6) [19:31:21]Malloc new data [19:31:21]Processing tag 1015 (03F7) [19:31:21]Malloc new data [19:31:21]SetTLVBufToDocument err=0 [19:31:21]Processing tag 1007 (03EF) [19:31:21]Load OK [19:31:21]SetTLVBufToDocument [19:31:21]Processing tag 1014 (03F6) [19:31:21]Malloc new data [19:31:21]Processing tag 1015 (03F7) [19:31:21]Malloc new data [19:31:21]SetTLVBufToDocument err=0 [19:31:21]Processing tag 1007 (03EF) [19:31:21]Load OK [19:31:21]SetTLVBufToDocument [19:31:21]Processing tag 1014 (03F6) [19:31:21]Malloc new data [19:31:21]Processing tag 1015 (03F7) [19:31:21]Malloc new data [19:31:21]SetTLVBufToDocument err=0 [19:31:21]Processing tag 1007 (03EF) [19:31:21]Load OK [19:31:21]SetTLVBufToDocument [19:31:21]Processing tag 1014 (03F6) [19:31:21]Malloc new data [19:31:21]Processing tag 1015 (03F7) [19:31:21]Malloc new data [19:31:21]SetTLVBufToDocument err=0 [19:31:21]SetTLVBufToDocument err=0 [19:31:21]SetTLVBufToDocument err=0 [19:31:21]Processing tag 1131 (046B) [19:31:21]Load OK [19:31:21]SetTLVBufToDocument [19:31:21]Processing tag 1135 (046F) [19:31:21]Malloc new data [19:31:21]Processing tag 1201 (04B1) [19:31:21]Malloc new data [19:31:21]Processing tag 1136 (0470) [19:31:21]Malloc new data [19:31:21]Processing tag 1138 (0472) [19:31:21]Malloc new data [19:31:21]Processing tag 1024 (0400) [19:31:21]Load OK [19:31:21]SetTLVBufToDocument [19:31:21]Processing tag 1006 (03EE) [19:31:21]Load OK [19:31:21]SetTLVBufToDocument [19:31:21]Processing tag 1010 (03F2) [19:31:21]Malloc new data [19:31:21]Processing tag 1011 (03F3) [19:31:21]Malloc new data [19:31:21]SetTLVBufToDocument err=0 [19:31:21]Processing tag 1006 (03EE) [19:31:21]Load OK [19:31:21]SetTLVBufToDocument [19:31:21]Processing tag 1010 (03F2) [19:31:21]Malloc new data [19:31:21]Processing tag 1011 (03F3) [19:31:21]Malloc new data [19:31:21]SetTLVBufToDocument err=0 [19:31:21]Processing tag 1007 (03EF) [19:31:21]Load OK [19:31:21]SetTLVBufToDocument [19:31:21]Processing tag 1014 (03F6) [19:31:21]Malloc new data [19:31:21]Processing tag 1015 (03F7) [19:31:21]Malloc new data [19:31:21]SetTLVBufToDocument err=0 [19:31:21]Processing tag 1007 (03EF) [19:31:21]Load OK [19:31:21]SetTLVBufToDocument [19:31:21]Processing tag 1014 (03F6) [19:31:21]Malloc new data [19:31:21]Processing tag 1015 (03F7) [19:31:21]Malloc new data [19:31:21]SetTLVBufToDocument err=0 [19:31:21]Processing tag 1007 (03EF) [19:31:21]Load OK [19:31:21]SetTLVBufToDocument [19:31:21]Processing tag 1014 (03F6) [19:31:21]Malloc new data [19:31:21]Processing tag 1015 (03F7) [19:31:21]Malloc new data [19:31:21]SetTLVBufToDocument err=0 [19:31:21]Processing tag 1007 (03EF) [19:31:21]Load OK [19:31:21]SetTLVBufToDocument [19:31:21]Processing tag 1014 (03F6) [19:31:21]Malloc new data [19:31:21]Processing tag 1015 (03F7) [19:31:21]Malloc new data [19:31:21]SetTLVBufToDocument err=0 [19:31:21]Processing tag 1007 (03EF) [19:31:21]Load OK [19:31:21]SetTLVBufToDocument [19:31:21]Processing tag 1014 (03F6) [19:31:21]Malloc new data [19:31:21]Processing tag 1015 (03F7) [19:31:21]Malloc new data [19:31:21]SetTLVBufToDocument err=0 [19:31:21]Processing tag 1007 (03EF) [19:31:21]Load OK [19:31:21]SetTLVBufToDocument [19:31:21]Processing tag 1014 (03F6) [19:31:21]Malloc new data [19:31:21]Processing tag 1015 (03F7) [19:31:21]Malloc new data [19:31:21]SetTLVBufToDocument err=0 [19:31:21]Processing tag 1007 (03EF) [19:31:21]Load OK [19:31:21]SetTLVBufToDocument [19:31:21]Processing tag 1014 (03F6) [19:31:21]Malloc new data [19:31:21]Processing tag 1015 (03F7) [19:31:21]Malloc new data [19:31:21]SetTLVBufToDocument err=0 [19:31:22]SetTLVBufToDocument err=0 [19:31:22]SetTLVBufToDocument err=0 [19:31:22]Processing tag 1132 (046C) [19:31:22]Load OK [19:31:22]SetTLVBufToDocument [19:31:22]Processing tag 1135 (046F) [19:31:22]Malloc new data [19:31:22]Processing tag 1201 (04B1) [19:31:22]Malloc new data [19:31:22]Processing tag 1136 (0470) [19:31:22]Malloc new data [19:31:22]Processing tag 1138 (0472) [19:31:22]Malloc new data [19:31:22]Processing tag 1024 (0400) [19:31:22]Load OK [19:31:22]SetTLVBufToDocument [19:31:22]Processing tag 1006 (03EE) [19:31:22]Load OK [19:31:22]SetTLVBufToDocument [19:31:22]Processing tag 1010 (03F2) [19:31:22]Malloc new data [19:31:22]Processing tag 1011 (03F3) [19:31:22]Malloc new data [19:31:22]SetTLVBufToDocument err=0 [19:31:22]Processing tag 1006 (03EE) [19:31:22]Load OK [19:31:22]SetTLVBufToDocument [19:31:22]Processing tag 1010 (03F2) [19:31:22]Malloc new data [19:31:22]Processing tag 1011 (03F3) [19:31:22]Malloc new data [19:31:22]SetTLVBufToDocument err=0 [19:31:22]Processing tag 1007 (03EF) [19:31:22]Load OK [19:31:22]SetTLVBufToDocument [19:31:22]Processing tag 1014 (03F6) [19:31:22]Malloc new data [19:31:22]Processing tag 1015 (03F7) [19:31:22]Malloc new data [19:31:22]SetTLVBufToDocument err=0 [19:31:22]Processing tag 1007 (03EF) [19:31:22]Load OK [19:31:22]SetTLVBufToDocument [19:31:22]Processing tag 1014 (03F6) [19:31:22]Malloc new data [19:31:22]Processing tag 1015 (03F7) [19:31:22]Malloc new data [19:31:22]SetTLVBufToDocument err=0 [19:31:22]Processing tag 1007 (03EF) [19:31:22]Load OK [19:31:22]SetTLVBufToDocument [19:31:22]Processing tag 1014 (03F6) [19:31:22]Malloc new data [19:31:22]Processing tag 1015 (03F7) [19:31:22]Malloc new data [19:31:22]SetTLVBufToDocument err=0 [19:31:22]Processing tag 1007 (03EF) [19:31:22]Load OK [19:31:22]SetTLVBufToDocument [19:31:22]Processing tag 1014 (03F6) [19:31:22]Malloc new data [19:31:22]Processing tag 1015 (03F7) [19:31:22]Malloc new data [19:31:22]SetTLVBufToDocument err=0 [19:31:22]Processing tag 1007 (03EF) [19:31:22]Load OK [19:31:22]SetTLVBufToDocument [19:31:22]Processing tag 1014 (03F6) [19:31:22]Malloc new data [19:31:22]Processing tag 1015 (03F7) [19:31:22]Malloc new data [19:31:22]SetTLVBufToDocument err=0 [19:31:22]Processing tag 1007 (03EF) [19:31:22]Load OK [19:31:22]SetTLVBufToDocument [19:31:22]Processing tag 1014 (03F6) [19:31:22]Malloc new data [19:31:22]Processing tag 1015 (03F7) [19:31:22]Malloc new data [19:31:22]SetTLVBufToDocument err=0 [19:31:22]Processing tag 1007 (03EF) [19:31:22]Load OK [19:31:22]SetTLVBufToDocument [19:31:22]Processing tag 1014 (03F6) [19:31:22]Malloc new data [19:31:22]Processing tag 1015 (03F7) [19:31:22]Malloc new data [19:31:22]SetTLVBufToDocument err=0 [19:31:22]SetTLVBufToDocument err=0 [19:31:22]SetTLVBufToDocument err=0 [19:31:22]Processing tag 1133 (046D) [19:31:22]Malloc new data [19:31:22]SetTLVBufToDocument err=0 [19:31:22]SetTLVBufToDocument err=0 [19:31:22]Malloc new data [19:31:22]SAM_PROTO_GetFMData [19:31:22]wFMCommunicate request_size=4 [19:31:22]MH_SAM_APDU [19:31:22]CAPDU: 80 13 03 00 [19:31:22]Write to MH i2c: E2 08 00 9D 5A 80 13 03 00 00 00 00 00 76 [19:31:22]Write i2c OK [19:31:22]MH_I2C_Read... [19:31:22]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [19:31:22]Read from MH i2c: E2 [19:31:22]MH_I2C_Read... [19:31:22]Read from MH i2c: E2 FD 00 [19:31:22]MH_I2C_Read... [19:31:22]Read from MH i2c: E2 FD 00 9D 5A 00 C1 04 85 04 BD 04 6E 04 04 00 98 B6 00 00 69 04 A0 00 6F 04 04 00 72 B5 00 00 B1 04 04 00 37 41 0D 30 70 04 04 00 FC 6B 1F 28 72 04 04 00 3B D5 ED 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 D9 4C 1A 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 DF C7 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 26 01 00 00 B1 04 03 00 C0 21 6E 70 04 03 00 E4 1A 6A 72 04 03 00 DC 06 04 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 18 B2 0B EF 03 09 00 F6 03 90 00 4A [19:31:22]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 98 B6 00 00 69 04 A0 00 6F 04 04 00 72 B5 00 00 B1 04 04 00 37 41 0D 30 70 04 04 00 FC 6B 1F 28 72 04 04 00 3B D5 ED 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 D9 4C 1A 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 DF C7 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 26 01 00 00 B1 04 03 00 C0 21 6E 70 04 03 00 E4 1A 6A 72 04 03 00 DC 06 04 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 18 B2 0B EF 03 09 00 F6 03 90 00 [19:31:22]wFMCommunicate OK [19:31:22]wFMCommunicate request_size=4 [19:31:22]MH_SAM_APDU [19:31:22]CAPDU: 80 17 00 00 [19:31:22]Write to MH i2c: E2 08 00 9E 5A 80 17 00 00 00 00 00 00 78 [19:31:22]Write i2c OK [19:31:22]MH_I2C_Read... [19:31:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:31:23]Read from MH i2c: E2 [19:31:23]MH_I2C_Read... [19:31:23]Read from MH i2c: E2 FD 00 [19:31:23]MH_I2C_Read... [19:31:23]Read from MH i2c: E2 FD 00 9E 5A 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 5D F9 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 FD [19:31:23]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 5D F9 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [19:31:23]wFMCommunicate OK [19:31:23]wFMCommunicate request_size=4 [19:31:23]MH_SAM_APDU [19:31:23]CAPDU: 80 17 00 00 [19:31:23]Write to MH i2c: E2 08 00 9F 5A 80 17 00 00 00 00 00 00 79 [19:31:23]Write i2c OK [19:31:23]MH_I2C_Read... [19:31:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:31:23]Read from MH i2c: E2 [19:31:23]MH_I2C_Read... [19:31:23]Read from MH i2c: E2 FD 00 [19:31:23]MH_I2C_Read... [19:31:23]Read from MH i2c: E2 FD 00 9F 5A 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 19 [19:31:23]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [19:31:23]wFMCommunicate OK [19:31:23]wFMCommunicate request_size=4 [19:31:23]MH_SAM_APDU [19:31:23]CAPDU: 80 17 00 00 [19:31:23]Write to MH i2c: E2 08 00 A0 5A 80 17 00 00 00 00 00 00 7A [19:31:23]Write i2c OK [19:31:23]MH_I2C_Read... [19:31:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:31:24]Read from MH i2c: E2 [19:31:24]MH_I2C_Read... [19:31:24]Read from MH i2c: E2 FD 00 [19:31:24]MH_I2C_Read... [19:31:24]Read from MH i2c: E2 FD 00 A0 5A 00 03 01 00 04 F7 03 00 00 EF 03 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 90 00 FF [19:31:24]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [19:31:24]OFD Sender: No OFD packet to send [19:31:24]wFMCommunicate OK [19:31:24]wFMCommunicate request_size=4 [19:31:24]MH_SAM_APDU [19:31:24]CAPDU: 80 17 00 00 [19:31:24]Write to MH i2c: E2 08 00 A1 5A 80 17 00 00 00 00 00 00 7B [19:31:24]Write i2c OK [19:31:24]MH_I2C_Read... [19:31:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [19:31:24]Read from MH i2c: E2 [19:31:24]MH_I2C_Read... [19:31:24]Read from MH i2c: E2 DE 00 [19:31:24]MH_I2C_Read... [19:31:24]Read from MH i2c: E2 DE 00 A1 5A 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 5A [19:31:24]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [19:31:25]wFMCommunicate OK [19:31:25]SAM_PROTO_GetFMData done [19:31:25]FM_GetFMData:85 04 BD 04 6E 04 04 00 98 B6 00 00 69 04 A0 00 6F 04 04 00 72 B5 00 00 B1 04 04 00 37 41 0D 30 70 04 04 00 FC 6B 1F 28 72 04 04 00 3B D5 ED 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 D9 4C 1A 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 DF C7 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 26 01 00 00 B1 04 03 00 C0 21 6E 70 04 03 00 E4 1A 6A 72 04 03 00 DC 06 04 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 18 B2 0B 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 5D F9 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [19:31:25]oper:6F 04 04 00 72 B5 00 00 B1 04 04 00 37 41 0D 30 70 04 04 00 FC 6B 1F 28 72 04 04 00 3B D5 ED 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 D9 4C 1A 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 DF C7 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [19:31:25]total:37 41 0D 30 [19:31:25]Malloc new data [19:31:25]oper:6F 04 04 00 26 01 00 00 B1 04 03 00 C0 21 6E 70 04 03 00 E4 1A 6A 72 04 03 00 DC 06 04 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 18 B2 0B 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 5D F9 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [19:31:25]total:C0 21 6E [19:31:25]Malloc new data [19:31:25]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 [19:31:25]total: [19:31:25]Malloc new data [19:31:25]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 [19:31:26]total: [19:31:26]Malloc new data [19:31:26]KKMPrepareXReportFMData err=0 [19:31:26]Х отчет ИНН: 02508201610067 Кассир: Максатбек у Д. 12.03.2024 19:31 Смена: 266 РНМ: 0000000000092018 ЗНМ: 0300000097 СНО: Общий режим Всего чеков: 51 ИТОГИ ПРИХОД Чеков: 50 Общий итог: 9617.00 Итого наличными: 8853.00 Итого безнал.: 764.00 НДС 0% : 0.00 НДС 12% : 1021.32 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 85.01 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 1 Общий итог: 170.00 Итого наличными: 170.00 Итого безнал.: 0.00 НДС 0% : 0.00 НДС 12% : 18.05 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 1.50 ИТОГИ РАСХОД Чеков: 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 Нал. в кассе: 8683.00 НС Приход: 8061750.31 НС Возвр.Прихода: 72176.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФМ: 0000000000871816 [19:31:26]StoreToDocumentArchive [19:31:26]MH_GetDate [19:31:26]Write to MH i2c: F0 00 00 A2 5A EB [19:31:26]Write i2c OK [19:31:26]MH_I2C_Read... [19:31:26]Read from MH i2c: F0 [19:31:26]MH_I2C_Read... [19:31:26]Read from MH i2c: F0 09 00 [19:31:26]MH_I2C_Read... [19:31:26]Read from MH i2c: F0 09 00 A2 5A 00 9E AD F0 65 0A 64 6E 65 D5 [19:31:26]shift 266 fd 1710271902 [19:31:26]Create dir for shift 0266 [19:31:26]save to /storage/0266/doc_1710271902 [19:31:26]save last doc name /storage/0266/doc_1710271902 to /storage/kkm_last_doc_name [19:31:26]save OK [19:31:26]Clear old archive folders... [19:31:26]NVStorageSaveData kkm_last_timestamp [19:31:26]File name is /storage/kkm_last_timestamp [19:31:26]Write 4 bytes [19:31:26]NVStorageSaveData done [19:31:26]ExternCall_PrintAddStr [19:31:26]wPrintStart [19:31:26]Write to MH i2c: 01 00 00 A3 5A FD [19:31:26]Write i2c OK [19:31:26]MH_I2C_Read... [19:31:26]Read from MH i2c: 01 [19:31:26]MH_I2C_Read... [19:31:26]Read from MH i2c: 01 07 00 [19:31:26]MH_I2C_Read... [19:31:26]Read from MH i2c: 01 07 00 A3 5A 00 00 00 00 00 FF 0F 12 [19:31:26]RasterBufferAndPrint [19:31:26]line Х отчет [19:31:26]line ИНН: 02508201610067 [19:31:26]line Кассир: Максатбек у Д. [19:31:26]line 12.03.2024 19:31 [19:31:26]line Смена: 266 [19:31:26]line РНМ: 0000000000092018 [19:31:26]line ЗНМ: 0300000097 [19:31:26]line СНО: Общий режим [19:31:26]line Всего чеков: 51 [19:31:26]line ИТОГИ ПРИХОД [19:31:26]line Чеков: 50 [19:31:26]line Общий итог: 9617.00 [19:31:26]line Итого наличными: 8853.00 [19:31:26]line Итого безнал.: 764.00 [19:31:26]line НДС 0% : 0.00 [19:31:26]line НДС 12% : 1021.32 [19:31:26]line НСП 0% : 0.00 [19:31:26]line НСП 1,50% : 0.00 [19:31:26]line НСП 0,50% : 0.00 [19:31:26]line НСП 5% : 0.00 [19:31:26]line НСП 3% : 0.00 [19:31:26]line НСП 2% : 0.00 [19:31:26]line НСП 1% : 85.01 [19:31:26]line ИТОГИ ВОЗВРАТ ПРИХОДА [19:31:26]line Чеков: 1 [19:31:26]line Общий итог: 170.00 [19:31:26]line Итого наличными: 170.00 [19:31:26]line Итого безнал.: 0.00 [19:31:26]line НДС 0% : 0.00 [19:31:26]line НДС 12% : 18.05 [19:31:26]line НСП 0% : 0.00 [19:31:26]line НСП 1,50% : 0.00 [19:31:26]line НСП 0,50% : 0.00 [19:31:26]line НСП 5% : 0.00 [19:31:26]line НСП 3% : 0.00 [19:31:26]line НСП 2% : 0.00 [19:31:26]line НСП 1% : 1.50 [19:31:26]line ИТОГИ РАСХОД [19:31:26]line Чеков: 0 [19:31:26]line Общий итог: 0.00 [19:31:26]line Итого наличными: 0.00 [19:31:26]line Итого безнал.: 0.00 [19:31:26]line НДС 0% : 0.00 [19:31:26]line НДС 12% : 0.00 [19:31:26]line НСП 0% : 0.00 [19:31:26]line НСП 1,50% : 0.00 [19:31:26]line НСП 0,50% : 0.00 [19:31:26]line НСП 5% : 0.00 [19:31:26]line НСП 3% : 0.00 [19:31:26]line НСП 2% : 0.00 [19:31:26]line НСП 1% : 0.00 [19:31:26]line ИТОГИ ВОЗВРАТ РАСХОДА [19:31:26]line Чеков: 0 [19:31:26]line Общий итог: 0.00 [19:31:26]line Итого наличными: 0.00 [19:31:26]line Итого безнал.: 0.00 [19:31:26]line НДС 0% : 0.00 [19:31:26]line НДС 12% : 0.00 [19:31:26]line НСП 0% : 0.00 [19:31:26]line НСП 1,50% : 0.00 [19:31:26]line НСП 0,50% : 0.00 [19:31:26]line НСП 5% : 0.00 [19:31:26]line НСП 3% : 0.00 [19:31:26]line НСП 2% : 0.00 [19:31:26]line НСП 1% : 0.00 [19:31:26]line Сумма внесений: 0.00 [19:31:26]line Сумма выплат: 0.00 [19:31:26]line Нал. в кассе: 8683.00 [19:31:26]line НС Приход: 8061750.31 [19:31:26]line НС Возвр.Прихода: 72176.00 [19:31:26]line НС Расход: 0.00 [19:31:26]line НС Возвр.Расхода: 0.00 [19:31:26]line ФМ: 0000000000871816 [19:31:26]written 0, free lines is 4095 [19:31:26]Write to MH i2c: 01 00 00 EE 5A 48 [19:31:26]Write i2c OK [19:31:26]MH_I2C_Read... [19:31:26]Read from MH i2c: 01 [19:31:26]MH_I2C_Read... [19:31:26]Read from MH i2c: 01 07 00 [19:31:26]MH_I2C_Read... [19:31:26]Read from MH i2c: 01 07 00 EE 5A 00 00 00 00 00 99 0A F2 [19:31:26]RasterBufferAndPrint [19:31:26]line [19:31:26]line [19:31:26]line [19:31:26]line [19:31:26]line [19:31:26]written 0, free lines is 2743 [19:31:26]MH_Cut [19:31:26]Write to MH i2c: D1 01 00 F5 5A 01 21 [19:31:26]Write i2c OK [19:31:26]MH_I2C_Read... [19:31:26]Read from MH i2c: D1 [19:31:26]MH_I2C_Read... [19:31:26]Read from MH i2c: D1 01 00 [19:31:26]MH_I2C_Read... [19:31:26]Read from MH i2c: D1 01 00 F5 5A 00 20 [19:31:26]Write to MH i2c: 01 00 00 F6 5A 50 [19:31:26]Write i2c OK [19:31:26]MH_I2C_Read... [19:31:27]*** Cut start [19:31:27]*** Purtial cut [19:31:27]*** Stage 1: CUTSNS_PIN = 1 [19:31:28]Read from MH i2c: 01 [19:31:28]MH_I2C_Read... [19:31:28]*** Stop cut motor [19:31:28]*** Cut end [19:31:28]Read from MH i2c: 01 07 00 [19:31:28]MH_I2C_Read... [19:31:28]Read from MH i2c: 01 07 00 F6 5A 00 00 00 00 00 FF 0F 65 [19:31:28]process_action x_report done [19:31:28]requested_data is exist [19:31:28]produce_requested_data [19:31:28]requested_item fd.num is exist - process it [19:31:28]SAM_PROTO_GetFieldsCounters [19:31:28]wFMCommunicate request_size=4 [19:31:28]MH_SAM_APDU [19:31:28]CAPDU: 80 13 00 00 [19:31:28]Write to MH i2c: E2 08 00 F7 5A 80 13 00 00 00 00 00 00 CD [19:31:28]Write i2c OK [19:31:28]MH_I2C_Read... [19:31:28]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:31:28]Read from MH i2c: E2 [19:31:28]MH_I2C_Read... [19:31:28]Read from MH i2c: E2 62 00 [19:31:28]MH_I2C_Read... [19:31:28]Read from MH i2c: E2 62 00 F7 5A 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 0D B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 33 00 00 00 5E 04 04 00 33 00 00 00 57 04 04 00 34 00 00 00 19 04 04 00 00 00 00 00 90 00 82 [19:31: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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 0D B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 33 00 00 00 5E 04 04 00 33 00 00 00 57 04 04 00 34 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:31:28]wFMCommunicate OK [19:31:28]SAM_PROTO_GetFieldsCounters done [19:31:28]requested_item shift.num is exist - process it [19:31:28]requested_item shift.opened is exist - process it [19:31:28]req_shift_opened [19:31:28]FM_GetShiftState [19:31:28]SAM_PROTO_GetShiftState [19:31:28]wFMCommunicate request_size=4 [19:31:28]MH_SAM_APDU [19:31:28]CAPDU: 80 13 01 00 [19:31:28]Write to MH i2c: E2 08 00 F8 5A 80 13 01 00 00 00 00 00 CF [19:31:28]Write i2c OK [19:31:28]MH_I2C_Read... [19:31:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:31:28]Read from MH i2c: E2 [19:31:28]MH_I2C_Read... [19:31:28]Read from MH i2c: E2 0E 00 [19:31:28]MH_I2C_Read... [19:31:28]Read from MH i2c: E2 0E 00 F8 5A 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 FE [19:31:28]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [19:31:28]wFMCommunicate OK [19:31:28]SAM_PROTO_GetShiftState done [19:31:28]FM_GetShiftState done [19:31:28]req_shift_opened done [19:31:28]requested_item shift.open_date is exist - process it [19:31:28]req_shift_open_date [19:31:28]req_shift_open_date done [19:31:28]produce_requested_data done [19:31:28]produce_requested_data return {"fd.num":47373,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [19:31:28]process_action_free x_report [19:31:28]json_value_free [19:31:28]json_value_free done [19:31:28]process_json_proto returns [19:31:28]Send response to host [19:31:28]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":47373,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [19:31:28]free response buf [19:31:28]execute_script done [19:31:28]execute_script returns [19:31:28]free content buf [19:31:28]Sock 9.Close socket [19:31:28]Sock 9.Thread stoped [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:10]OFD Sender: No OFD packet to send [19:41:15]OFD Sender: No OFD packet to send [19:41:20]OFD Sender: No OFD packet to send [19:41:25]OFD Sender: No OFD packet to send [19:41:30]OFD Sender: No OFD packet to send [19:41:35]OFD Sender: No OFD packet to send [19:41:40]OFD Sender: No OFD packet to send [19:41:45]OFD Sender: No OFD packet to send [19:41:50]OFD Sender: No OFD packet to send [19:41:55]OFD Sender: No OFD packet to send [19:42:00]OFD Sender: No OFD packet to send [19:42:05]OFD Sender: No OFD packet to send [19:42:10]OFD Sender: No OFD packet to send [19:42:15]OFD Sender: No OFD packet to send [19:42:20]OFD Sender: No OFD packet to send [19:42:25]OFD Sender: No OFD packet to send [19:42:30]OFD Sender: No OFD packet to send [19:42:35]OFD Sender: No OFD packet to send [19:42:40]OFD Sender: No OFD packet to send [19:42:45]OFD Sender: No OFD packet to send [19:42:50]OFD Sender: No OFD packet to send [19:42:55]OFD Sender: No OFD packet to send [19:43:00]OFD Sender: No OFD packet to send [19:43:05]OFD Sender: No OFD packet to send [19:43:10]OFD Sender: No OFD packet to send [19:43:15]OFD Sender: No OFD packet to send [19:43:20]OFD Sender: No OFD packet to send [19:43:25]OFD Sender: No OFD packet to send [19:43:30]OFD Sender: No OFD packet to send [19:43:35]OFD Sender: No OFD packet to send [19:43:40]OFD Sender: No OFD packet to send [19:43:45]OFD Sender: No OFD packet to send [19:43:50]OFD Sender: No OFD packet to send [19:43:55]OFD Sender: No OFD packet to send [19:44:00]OFD Sender: No OFD packet to send [19:44:05]OFD Sender: No OFD packet to send [19:44:10]OFD Sender: No OFD packet to send [19:44:15]OFD Sender: No OFD packet to send [19:44:20]OFD Sender: No OFD packet to send [19:44:25]OFD Sender: No OFD packet to send [19:44:30]OFD Sender: No OFD packet to send [19:44:35]OFD Sender: No OFD packet to send [19:44:40]OFD Sender: No OFD packet to send [19:44:45]OFD Sender: No OFD packet to send [19:44:50]OFD Sender: No OFD packet to send [19:44:55]OFD Sender: No OFD packet to send [19:45:00]OFD Sender: No OFD packet to send [19:45:05]OFD Sender: No OFD packet to send [19:45:10]OFD Sender: No OFD packet to send [19:45:15]OFD Sender: No OFD packet to send [19:45:20]OFD Sender: No OFD packet to send [19:45:25]OFD Sender: No OFD packet to send [19:45:30]OFD Sender: No OFD packet to send [19:45:35]OFD Sender: No OFD packet to send [19:45:40]OFD Sender: No OFD packet to send [19:45:45]OFD Sender: No OFD packet to send [19:45:50]OFD Sender: No OFD packet to send [19:45:55]OFD Sender: No OFD packet to send [19:46:00]OFD Sender: No OFD packet to send [19:46:05]OFD Sender: No OFD packet to send [19:46:10]OFD Sender: No OFD packet to send [19:46:15]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]OFD Sender: No OFD packet to send [19:50:55]OFD Sender: No OFD packet to send [19:50:57]accept exits with 7 [19:50:57]New connection [19:50:57]New thread 3066453348 created [19:50:57]Thread 3066596708 joined [19:50:57]Waiting for new connection... [19:50:57] Sock 7.Parse request [19:50:57]Sock 7.Check first char [19:50:57]Sock 7.First char is OK [19:50:57]request: POST /json_proto HTTP/1.0 [19:50:57]Method: POST [19:50:57]URL: /json_proto [19:50:57]Method is POST - this is cgi request [19:50:57]url: /json_proto [19:50:57]query_string will be loaded in cgi processing [19:50:57]execute_cgi json_proto POST (null) [19:50:57]execute_cgi path=json_proto method=POST [19:50:57]POST find Content-Length [19:50:57]Host: 172.17.32.68:8080 [19:50:57]Content-Length: 812 [19:50:57]Content-Type: application/json [19:50:57] [19:50:57]POST finish read [19:50:57]Found Content-Length = 812 [19:50:57]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242287", "tax_sys" : 0, "items" : [ { "code": "4640030091621", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange W", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0414\u0435\u043C\u0438\u0440 \u041A\u0418 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 138.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:50:57]execute_script... [19:50:57]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242287", "tax_sys" : 0, "items" : [ { "code": "4640030091621", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange W", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0414\u0435\u043C\u0438\u0440 \u041A\u0418 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 138.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:50:57]POST & json_proto [19:50:57]process_json_proto [19:50:57]json parsed OK: [19:50:57]protocol is kg_v1.0 [19:50:57]action value=close_receipt [19:50:57]process_action close_receipt [19:50:57]cmd_close_receipt [19:50:57]MH_GetDate [19:50:57]Write to MH i2c: F0 00 00 F9 5A 42 [19:50:57]Write i2c OK [19:50:57]MH_I2C_Read... [19:50:57]Read from MH i2c: F0 [19:50:57]MH_I2C_Read... [19:50:57]Read from MH i2c: F0 09 00 [19:50:57]MH_I2C_Read... [19:50:57]Read from MH i2c: F0 09 00 F9 5A 00 32 B2 F0 65 0A 64 6E 65 C5 [19:50:57]GetLastDocTimeStamp 1710271895 [19:50:57]current date 1710273074 [19:50:57]FM_GetShiftState [19:50:57]SAM_PROTO_GetShiftState [19:50:57]wFMCommunicate request_size=4 [19:50:57]MH_SAM_APDU [19:50:57]CAPDU: 80 13 01 00 [19:50:57]Write to MH i2c: E2 08 00 FA 5A 80 13 01 00 00 00 00 00 D1 [19:50:57]Write i2c OK [19:50:57]MH_I2C_Read... [19:50:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:50:57]Read from MH i2c: E2 [19:50:57]MH_I2C_Read... [19:50:57]Read from MH i2c: E2 0E 00 [19:50:57]MH_I2C_Read... [19:50:57]Read from MH i2c: E2 0E 00 FA 5A 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 00 [19:50:57]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [19:50:57]wFMCommunicate OK [19:50:57]SAM_PROTO_GetShiftState done [19:50:57]FM_GetShiftState done [19:50:57]opened in 1710202417 [19:50:57]opened+sec_in_day 1710288817 [19:50:57]quantity*price = 13800 [19:50:57]sum+1 = 13801 [19:50:57]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 138.00 НСП 1% : 1.22 НДС 12% : 14.65 Наличными: 0.00 Безнал.: 138.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 52 12.03.2024 19:51 Смена: 314 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 Платежная система: Демир КИ Банк ФМ: 0000000000871816 ФД: 47374 ФПД: 172033230209635 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T195114&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47374&fm=172033230209635&tin=02508201610067®Number=0000000000092018&sum=13800 0 [19:50:58]StoreToDocumentArchive [19:50:58]shift 314 fd 47374 [19:50:58]save to /storage/0314/doc_00047374 [19:50:58]save last doc name /storage/0314/doc_00047374 to /storage/kkm_last_doc_name [19:50:58]save OK [19:50:58]Clear old archive folders... [19:50:58]Remove dir /storage/0266 [19:50:58]opendir ok [19:50:58]file . [19:50:58]file .. [19:50:58]file doc_1710271902 [19:50:58]remove file /storage/0266/doc_1710271902 [19:50:58]remove dir /storage/0266 [19:50:58]ProcessDocumentItem done err = 0, tmpTLVsize=274 [19:50:58]tlvbuf is 003CCD30 [19:50:58]SAM_PROTO_ClearQueue [19:50:58]wFMCommunicate request_size=4 [19:50:58]MH_SAM_APDU [19:50:58]CAPDU: 80 09 00 00 [19:50:58]Write to MH i2c: E2 08 00 07 5B 80 09 00 00 00 00 00 00 D4 [19:50:58]Write i2c OK [19:50:58]MH_I2C_Read... [19:50:58]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:50:58]Read from MH i2c: E2 [19:50:58]MH_I2C_Read... [19:50:58]Read from MH i2c: E2 03 00 [19:50:58]MH_I2C_Read... [19:50:58]Read from MH i2c: E2 03 00 07 5B 00 90 00 D6 [19:50:58]RAPDU: 90 00 [19:50:58]wFMCommunicate OK [19:50:58]SAM_PROTO_ClearQueue done [19:50:58]KKMCreateOFDPacket [19:50:58]OFDProtocolAddRootSTLVToBuf [19:50:58]FM_MakeSignedData [19:50:58]FM_MakeSignedData [19:50:58]SAM_PROTO_SignData [19:50:58]wFMCommunicate request_size=4 [19:50:58]MH_SAM_APDU [19:50:58]CAPDU: 80 0D 01 02 [19:50:58]Write to MH i2c: E2 08 00 08 5B 80 0D 01 02 00 00 00 00 DC [19:50:58]Write i2c OK [19:50:58]MH_I2C_Read... [19:50:58]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:50:58]Read from MH i2c: E2 [19:50:58]MH_I2C_Read... [19:50:58]Read from MH i2c: E2 03 00 [19:50:58]MH_I2C_Read... [19:50:58]Read from MH i2c: E2 03 00 08 5B 00 90 00 D7 [19:50:58]RAPDU: 90 00 [19:50:58]wFMCommunicate OK [19:50:58]wFMCommunicate request_size=255 [19:50:58]MH_SAM_APDU [19:50:58]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 32 31 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 57 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E8 35 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 32 B2 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 [19:50:58]Write to MH i2c: E2 02 01 09 5B 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 32 31 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 57 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E8 35 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 32 B2 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 00 00 C0 [19:50:58]Write i2c OK [19:50:58]MH_I2C_Read... [19:50:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:50:59]Read from MH i2c: E2 [19:50:59]MH_I2C_Read... [19:50:59]Read from MH i2c: E2 03 00 [19:50:59]MH_I2C_Read... [19:50:59]Read from MH i2c: E2 03 00 09 5B 00 90 00 D8 [19:50:59]RAPDU: 90 00 [19:50:59]wFMCommunicate OK [19:50:59]wFMCommunicate request_size=33 [19:50:59]MH_SAM_APDU [19:50:59]CAPDU: 80 0D 02 02 1C 30 30 30 30 38 37 31 38 31 36 10 04 04 00 0E B9 00 00 35 04 06 00 9C 76 9B 93 82 63 [19:50:59]Write to MH i2c: E2 24 00 0A 5B 80 0D 02 02 1C 00 30 30 30 30 38 37 31 38 31 36 10 04 04 00 0E B9 00 00 35 04 06 00 9C 76 9B 93 82 63 00 00 59 [19:50:59]Write i2c OK [19:50:59]MH_I2C_Read... [19:50:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:50:59]Read from MH i2c: E2 [19:50:59]MH_I2C_Read... [19:50:59]Read from MH i2c: E2 03 00 [19:50:59]MH_I2C_Read... [19:50:59]Read from MH i2c: E2 03 00 0A 5B 00 90 00 D9 [19:50:59]RAPDU: 90 00 [19:50:59]wFMCommunicate OK [19:50:59]wFMCommunicate request_size=4 [19:50:59]MH_SAM_APDU [19:50:59]CAPDU: 80 0D 03 02 [19:50:59]Write to MH i2c: E2 08 00 0B 5B 80 0D 03 02 00 00 00 00 E1 [19:50:59]Write i2c OK [19:50:59]MH_I2C_Read... [19:50:59]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:50:59]Read from MH i2c: E2 [19:50:59]MH_I2C_Read... [19:50:59]Read from MH i2c: E2 0B 00 [19:50:59]MH_I2C_Read... [19:50:59]Read from MH i2c: E2 0B 00 0B 5B 00 24 C7 5A 62 15 65 A2 B0 90 00 55 [19:50:59]RAPDU: 24 C7 5A 62 15 65 A2 B0 90 00 [19:50:59]wFMCommunicate OK [19:50:59]SAM_PROTO_SignData done [19:50:59]FM_MakeSignedData done [19:50:59]CreateOFDProtocolMessage [19:50:59]wFMCommunicate request_size=4 [19:50:59]MH_SAM_APDU [19:50:59]CAPDU: 80 11 00 00 [19:50:59]Write to MH i2c: E2 08 00 0C 5B 80 11 00 00 00 00 00 00 E1 [19:50:59]Write i2c OK [19:50:59]MH_I2C_Read... [19:50:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:50:59]Read from MH i2c: E2 [19:50:59]MH_I2C_Read... [19:50:59]Read from MH i2c: E2 17 00 [19:50:59]MH_I2C_Read... [19:50:59]Read from MH i2c: E2 17 00 0C 5B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 33 [19:50:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [19:50:59]wFMCommunicate OK [19:50:59]CreateOFDProtocolMessage done [19:50:59]OFDSenderStorePacket 47374 [19:50:59]StoreOFDPacket docnum=47374 [19:50:59]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 26 01 00 00 AA 35 1E 01 4F 50 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 32 31 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 57 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E8 35 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 32 B2 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 0E B9 00 00 35 04 06 00 9C 76 9B 93 82 63 24 C7 5A 62 15 65 A2 B0 [19:50:59]CheckFolder [19:50:59]dirname=/storage/ofd_packets [19:50:59]CheckFolder done [19:50:59]ProducePacketName [19:50:59]name=ofd_packets/00047374 [19:50:59]NVStorageSaveData ofd_packets/00047374 [19:50:59]File name is /storage/ofd_packets/00047374 [19:50:59]Write 324 bytes [19:50:59]NVStorageSaveData done [19:50:59]OFDSenderStorePacket done [19:50:59]KKMCreateOFDPacket done [19:50:59]NVStorageSaveData kkm_last_timestamp [19:50:59]File name is /storage/kkm_last_timestamp [19:50:59]Write 4 bytes [19:50:59]NVStorageSaveData done [19:50:59]ExternCall_PrintAddStr [19:50:59]wPrintStart [19:50:59]Write to MH i2c: 01 00 00 0D 5B 68 [19:50:59]Write i2c OK [19:50:59]MH_I2C_Read... [19:50:59]Read from MH i2c: 01 [19:50:59]MH_I2C_Read... [19:50:59]Read from MH i2c: 01 07 00 [19:50:59]MH_I2C_Read... [19:50:59]Read from MH i2c: 01 07 00 0D 5B 00 00 00 00 00 FF 0F 7D [19:50:59]RasterBufferAndPrint [19:50:59]line Счет N : (3)242287 [19:50:59]line ИНН: 02508201610067 [19:50:59]line Контрольно-Кассовый Чек [19:50:59]line ПРОДАЖА [19:50:59]line Товар: 4640030091621 [19:50:59]line Сигареты ESSE Exchange W [19:50:59]line 1.000 * 138.00 [19:50:59]line = 138.00 [19:50:59]line НДС 12% НСП 1% [19:50:59]line > о реализуемом товаре [19:50:59]line ИТОГО: 138.00 [19:50:59]line НСП 1% : 1.22 [19:50:59]line НДС 12% : 14.65 [19:50:59]line Наличными: 0.00 [19:50:59]line Безнал.: 138.00 [19:50:59]line Место: АЗС № 15 "Партнер Нефть" [19:50:59]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [19:50:59]line СНО: Общий режим [19:50:59]line Чек 52 12.03.2024 19:51 [19:50:59]line Смена: 314 ФФД: 1.0 [19:50:59]line ЗНМ: 0300000097 [19:50:59]line РНМ: 0000000000092018 [19:50:59]line Версия ККМ: 001 [19:50:59]line Платежная система: Демир КИ Банк [19:50:59]line ФМ: 0000000000871816 [19:50:59]line ФД: 47374 [19:50:59]line ФПД: 172033230209635 [19:50:59]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T195114&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47374&fm=172033230209635&tin=02508201610067®Number=0000000000092018&sum=13800 [19:50:59]line 0 [19:50:59]OFD Sender: Processing packet 47374 [packets to send 8, broken 7] [19:50:59]ProducePacketName [19:50:59]name=ofd_packets/00047374 [19:50:59]OFD Sender: To server: pG, [19:50:59]CommunicateWithHost lk.salyk.kg:30040 [19:50:59]ConnectInit lk.salyk.kg [19:50:59]written 0, free lines is 4095 [19:50:59]Connected sock=9 [19:50:59]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 31 36 26 01 00 00 AA 35 1E 01 4F 50 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 32 31 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 57 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E8 35 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 32 B2 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 0E B9 00 00 35 04 06 00 9C 76 9B 93 82 63 24 C7 5A 62 15 65 A2 B0 [19:50: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 31 36 4F 00 00 00 F4 C9 47 00 A3 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 31 36 10 04 04 00 0E B9 00 00 F4 03 04 00 C3 5C F0 65 B6 04 01 00 00 CD 2C 9A E4 D8 48 66 03 [19:50:59]CommunicateWithHost err = 0 [19:50:59]CheckOFDResponse [19:50:59]1017 (14) - 77093643461234 [19:50:59]1041 (16) - 0000000000871816 [19:50:59]1040 (4) - 47374 [19:50:59]1012 (4) - 12.03.2024 13:46 [19:50:59]1206 (1) - 0 [19:50:59]OFD Sender: Remove packet 47374 [19:50:59]ProducePacketName [19:50:59]name=ofd_packets/00047374 [19:50:59]NVStorageDeleteData [19:51:00]Write to MH i2c: 01 00 00 37 5B 92 [19:51:00]Write i2c OK [19:51:00]MH_I2C_Read... [19:51:00]Read from MH i2c: 01 [19:51:00]MH_I2C_Read... [19:51:00]Read from MH i2c: 01 07 00 [19:51:00]MH_I2C_Read... [19:51:00]Read from MH i2c: 01 07 00 37 5B 00 00 00 00 00 EA 0C 8F [19:51:00]RasterBufferAndPrint [19:51:00]line [19:51:00]line [19:51:00]line [19:51:00]line [19:51:00]line [19:51:00]written 0, free lines is 3312 [19:51:00]MH_Cut [19:51:00]Write to MH i2c: D1 01 00 3E 5B 01 6B [19:51:00]Write i2c OK [19:51:00]MH_I2C_Read... [19:51:00]Read from MH i2c: D1 [19:51:00]MH_I2C_Read... [19:51:00]Read from MH i2c: D1 01 00 [19:51:00]MH_I2C_Read... [19:51:00]Read from MH i2c: D1 01 00 3E 5B 00 6A [19:51:00]Write to MH i2c: 01 00 00 3F 5B 9A [19:51:00]Write i2c OK [19:51:00]MH_I2C_Read... [19:51:00]OFD Sender: No OFD packet to send [19:51:00]*** Cut start [19:51:00]*** Purtial cut [19:51:00]*** Stage 1: CUTSNS_PIN = 1 [19:51:01]Read from MH i2c: 01 [19:51:01]MH_I2C_Read... [19:51:01]*** Stop cut motor [19:51:01]*** Cut end [19:51:01]Read from MH i2c: 01 07 00 [19:51:01]MH_I2C_Read... [19:51:01]Read from MH i2c: 01 07 00 3F 5B 00 00 00 00 00 FF 0F AF [19:51:01]process_action close_receipt done [19:51:01]requested_data is exist [19:51:01]produce_requested_data [19:51:01]requested_item fm.sn is exist - process it [19:51:01]wFMCommunicate request_size=4 [19:51:01]MH_SAM_APDU [19:51:01]CAPDU: 80 11 00 00 [19:51:01]Write to MH i2c: E2 08 00 40 5B 80 11 00 00 00 00 00 00 15 [19:51:01]Write i2c OK [19:51:01]MH_I2C_Read... [19:51:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:51:01]Read from MH i2c: E2 [19:51:01]MH_I2C_Read... [19:51:01]Read from MH i2c: E2 17 00 [19:51:01]MH_I2C_Read... [19:51:01]Read from MH i2c: E2 17 00 40 5B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 67 [19:51:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [19:51:01]wFMCommunicate OK [19:51:01]requested_item fd.num is exist - process it [19:51:01]SAM_PROTO_GetFieldsCounters [19:51:01]wFMCommunicate request_size=4 [19:51:01]MH_SAM_APDU [19:51:01]CAPDU: 80 13 00 00 [19:51:01]Write to MH i2c: E2 08 00 41 5B 80 13 00 00 00 00 00 00 18 [19:51:01]Write i2c OK [19:51:01]MH_I2C_Read... [19:51:01]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:51:01]Read from MH i2c: E2 [19:51:01]MH_I2C_Read... [19:51:01]Read from MH i2c: E2 62 00 [19:51:01]MH_I2C_Read... [19:51:01]Read from MH i2c: E2 62 00 41 5B 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 0E B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 34 00 00 00 5E 04 04 00 34 00 00 00 57 04 04 00 35 00 00 00 19 04 04 00 00 00 00 00 90 00 D1 [19:51:01]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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 0E B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 34 00 00 00 5E 04 04 00 34 00 00 00 57 04 04 00 35 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:51:01]wFMCommunicate OK [19:51:01]SAM_PROTO_GetFieldsCounters done [19:51:01]requested_item shift.num is exist - process it [19:51:01]requested_item shift.opened is exist - process it [19:51:01]req_shift_opened [19:51:01]FM_GetShiftState [19:51:01]SAM_PROTO_GetShiftState [19:51:01]wFMCommunicate request_size=4 [19:51:01]MH_SAM_APDU [19:51:01]CAPDU: 80 13 01 00 [19:51:01]Write to MH i2c: E2 08 00 42 5B 80 13 01 00 00 00 00 00 1A [19:51:01]Write i2c OK [19:51:01]MH_I2C_Read... [19:51:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:51:01]Read from MH i2c: E2 [19:51:01]MH_I2C_Read... [19:51:01]Read from MH i2c: E2 0E 00 [19:51:01]MH_I2C_Read... [19:51:01]Read from MH i2c: E2 0E 00 42 5B 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 49 [19:51:01]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [19:51:01]wFMCommunicate OK [19:51:01]SAM_PROTO_GetShiftState done [19:51:01]FM_GetShiftState done [19:51:01]req_shift_opened done [19:51:01]requested_item shift.open_date is exist - process it [19:51:01]req_shift_open_date [19:51:01]req_shift_open_date done [19:51:01]produce_requested_data done [19:51:01]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47374,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [19:51:01]process_action_free close_receipt [19:51:01]json_value_free [19:51:01]json_value_free done [19:51:01]process_json_proto returns [19:51:01]Send response to host [19:51:01]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47374,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [19:51:01]free response buf [19:51:01]execute_script done [19:51:01]execute_script returns [19:51:01]free content buf [19:51:01]Sock 7.Close socket [19:51:01]Sock 7.Thread stoped [19:51:05]OFD Sender: No OFD packet to send [19:51:10]OFD Sender: No OFD packet to send [19:51:15]OFD Sender: No OFD packet to send [19:51:20]OFD Sender: No OFD packet to send [19:51:25]OFD Sender: No OFD packet to send [19:51:30]OFD Sender: No OFD packet to send [19:51:35]OFD Sender: No OFD packet to send [19:51:35]accept exits with 10 [19:51:35]New connection [19:51:35]New thread 3066596708 created [19:51:35]Thread 3066453348 joined [19:51:35]Waiting for new connection... [19:51:35] Sock 10.Parse request [19:51:35]Sock 10.Check first char [19:51:35]Sock 10.First char is OK [19:51:35]request: POST /json_proto HTTP/1.0 [19:51:35]Method: POST [19:51:35]URL: /json_proto [19:51:35]Method is POST - this is cgi request [19:51:35]url: /json_proto [19:51:35]query_string will be loaded in cgi processing [19:51:35]execute_cgi json_proto POST (null) [19:51:35]execute_cgi path=json_proto method=POST [19:51:35]POST find Content-Length [19:51:35]Host: 172.17.32.68:8080 [19:51:35]Content-Length: 662 [19:51:35]Content-Type: application/json [19:51:35] [19:51:35]POST finish read [19:51:35]Found Content-Length = 662 [19:51:35]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242288", "tax_sys" : 0, "items" : [ { "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" : 54.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:51:35]execute_script... [19:51: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)242288", "tax_sys" : 0, "items" : [ { "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" : 54.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:51:35]POST & json_proto [19:51:35]process_json_proto [19:51:35]json parsed OK: [19:51:35]protocol is kg_v1.0 [19:51:35]action value=close_receipt [19:51:35]process_action close_receipt [19:51:35]cmd_close_receipt [19:51:35]MH_GetDate [19:51:35]Write to MH i2c: F0 00 00 43 5B 8D [19:51:35]Write i2c OK [19:51:35]MH_I2C_Read... [19:51:35]Read from MH i2c: F0 [19:51:35]MH_I2C_Read... [19:51:35]Read from MH i2c: F0 09 00 [19:51:35]MH_I2C_Read... [19:51:35]Read from MH i2c: F0 09 00 43 5B 00 58 B2 F0 65 0A 64 6E 65 36 [19:51:35]GetLastDocTimeStamp 1710273074 [19:51:35]current date 1710273112 [19:51:35]FM_GetShiftState [19:51:35]SAM_PROTO_GetShiftState [19:51:35]wFMCommunicate request_size=4 [19:51:35]MH_SAM_APDU [19:51:35]CAPDU: 80 13 01 00 [19:51:35]Write to MH i2c: E2 08 00 44 5B 80 13 01 00 00 00 00 00 1C [19:51:35]Write i2c OK [19:51:35]MH_I2C_Read... [19:51:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:51:35]Read from MH i2c: E2 [19:51:35]MH_I2C_Read... [19:51:35]Read from MH i2c: E2 0E 00 [19:51:35]MH_I2C_Read... [19:51:35]Read from MH i2c: E2 0E 00 44 5B 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 4B [19:51:35]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [19:51:35]wFMCommunicate OK [19:51:35]SAM_PROTO_GetShiftState done [19:51:35]FM_GetShiftState done [19:51:35]opened in 1710202417 [19:51:35]opened+sec_in_day 1710288817 [19:51:35]quantity*price = 5400 [19:51:35]sum+1 = 5401 [19:51:35]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 54.00 НСП 1% : 0.48 НДС 12% : 5.73 Наличными: 54.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 53 12.03.2024 19:51 Смена: 314 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47375 ФПД: 126539544985016 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T195152&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47375&fm=126539544985016&tin=02508201610067®Number=0000000000092018&sum=5400 0 [19:51:36]StoreToDocumentArchive [19:51:36]shift 314 fd 47375 [19:51:36]save to /storage/0314/doc_00047375 [19:51:36]save last doc name /storage/0314/doc_00047375 to /storage/kkm_last_doc_name [19:51:36]save OK [19:51:36]Clear old archive folders... [19:51:36]ProcessDocumentItem done err = 0, tmpTLVsize=281 [19:51:36]tlvbuf is 0039C9C0 [19:51:36]SAM_PROTO_ClearQueue [19:51:36]wFMCommunicate request_size=4 [19:51:36]MH_SAM_APDU [19:51:36]CAPDU: 80 09 00 00 [19:51:36]Write to MH i2c: E2 08 00 51 5B 80 09 00 00 00 00 00 00 1E [19:51:36]Write i2c OK [19:51:36]MH_I2C_Read... [19:51:36]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:51:36]Read from MH i2c: E2 [19:51:36]MH_I2C_Read... [19:51:36]Read from MH i2c: E2 03 00 [19:51:36]MH_I2C_Read... [19:51:36]Read from MH i2c: E2 03 00 51 5B 00 90 00 20 [19:51:36]RAPDU: 90 00 [19:51:36]wFMCommunicate OK [19:51:36]SAM_PROTO_ClearQueue done [19:51:36]KKMCreateOFDPacket [19:51:36]OFDProtocolAddRootSTLVToBuf [19:51:36]FM_MakeSignedData [19:51:36]FM_MakeSignedData [19:51:36]SAM_PROTO_SignData [19:51:36]wFMCommunicate request_size=4 [19:51:36]MH_SAM_APDU [19:51:36]CAPDU: 80 0D 01 02 [19:51:36]Write to MH i2c: E2 08 00 52 5B 80 0D 01 02 00 00 00 00 26 [19:51:36]Write i2c OK [19:51:36]MH_I2C_Read... [19:51:36]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:51:36]Read from MH i2c: E2 [19:51:36]MH_I2C_Read... [19:51:36]Read from MH i2c: E2 03 00 [19:51:36]MH_I2C_Read... [19:51:36]Read from MH i2c: E2 03 00 52 5B 00 90 00 21 [19:51:36]RAPDU: 90 00 [19:51:36]wFMCommunicate OK [19:51:36]wFMCommunicate request_size=255 [19:51:36]MH_SAM_APDU [19:51:36]CAPDU: 80 0D 02 02 FA 03 00 19 01 1E 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 18 15 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3D 02 00 00 00 00 07 04 06 00 18 15 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 58 B2 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 [19:51:36]Write to MH i2c: E2 02 01 53 5B 80 0D 02 02 FA 00 03 00 19 01 1E 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 18 15 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3D 02 00 00 00 00 07 04 06 00 18 15 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 58 B2 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 00 0A [19:51:36]Write i2c OK [19:51:36]MH_I2C_Read... [19:51:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:51:37]Read from MH i2c: E2 [19:51:37]MH_I2C_Read... [19:51:37]Read from MH i2c: E2 03 00 [19:51:37]MH_I2C_Read... [19:51:37]Read from MH i2c: E2 03 00 53 5B 00 90 00 22 [19:51:37]RAPDU: 90 00 [19:51:37]wFMCommunicate OK [19:51:37]wFMCommunicate request_size=40 [19:51:37]MH_SAM_APDU [19:51:37]CAPDU: 80 0D 02 02 23 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 0F B9 00 00 35 04 06 00 73 16 48 A0 FD B8 [19:51:37]Write to MH i2c: E2 2B 00 54 5B 80 0D 02 02 23 00 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 0F B9 00 00 35 04 06 00 73 16 48 A0 FD B8 00 00 D3 [19:51:37]Write i2c OK [19:51:37]MH_I2C_Read... [19:51:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:51:37]Read from MH i2c: E2 [19:51:37]MH_I2C_Read... [19:51:37]Read from MH i2c: E2 03 00 [19:51:37]MH_I2C_Read... [19:51:37]Read from MH i2c: E2 03 00 54 5B 00 90 00 23 [19:51:37]RAPDU: 90 00 [19:51:37]wFMCommunicate OK [19:51:37]wFMCommunicate request_size=4 [19:51:37]MH_SAM_APDU [19:51:37]CAPDU: 80 0D 03 02 [19:51:37]Write to MH i2c: E2 08 00 55 5B 80 0D 03 02 00 00 00 00 2B [19:51:37]Write i2c OK [19:51:37]MH_I2C_Read... [19:51:37]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:51:37]Read from MH i2c: E2 [19:51:37]MH_I2C_Read... [19:51:37]Read from MH i2c: E2 0B 00 [19:51:37]MH_I2C_Read... [19:51:37]Read from MH i2c: E2 0B 00 55 5B 00 9C 92 D6 42 DF 1A D0 59 90 00 94 [19:51:37]RAPDU: 9C 92 D6 42 DF 1A D0 59 90 00 [19:51:37]wFMCommunicate OK [19:51:37]SAM_PROTO_SignData done [19:51:37]FM_MakeSignedData done [19:51:37]CreateOFDProtocolMessage [19:51:37]wFMCommunicate request_size=4 [19:51:37]MH_SAM_APDU [19:51:37]CAPDU: 80 11 00 00 [19:51:37]Write to MH i2c: E2 08 00 56 5B 80 11 00 00 00 00 00 00 2B [19:51:37]Write i2c OK [19:51:37]MH_I2C_Read... [19:51:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:51:37]Read from MH i2c: E2 [19:51:37]MH_I2C_Read... [19:51:37]Read from MH i2c: E2 17 00 [19:51:37]MH_I2C_Read... [19:51:37]Read from MH i2c: E2 17 00 56 5B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 7D [19:51:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [19:51:37]wFMCommunicate OK [19:51:37]CreateOFDProtocolMessage done [19:51:37]OFDSenderStorePacket 47375 [19:51:37]StoreOFDPacket docnum=47375 [19:51:37]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 2D 01 00 00 10 F9 25 01 37 17 5A 03 01 00 03 00 19 01 1E 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 18 15 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3D 02 00 00 00 00 07 04 06 00 18 15 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 58 B2 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 0F B9 00 00 35 04 06 00 73 16 48 A0 FD B8 9C 92 D6 42 DF 1A D0 59 [19:51:37]CheckFolder [19:51:37]dirname=/storage/ofd_packets [19:51:37]CheckFolder done [19:51:37]ProducePacketName [19:51:37]name=ofd_packets/00047375 [19:51:37]NVStorageSaveData ofd_packets/00047375 [19:51:37]File name is /storage/ofd_packets/00047375 [19:51:37]Write 331 bytes [19:51:37]NVStorageSaveData done [19:51:37]OFDSenderStorePacket done [19:51:37]KKMCreateOFDPacket done [19:51:37]NVStorageSaveData kkm_last_timestamp [19:51:37]File name is /storage/kkm_last_timestamp [19:51:37]OFD Sender: Processing packet 47375 [packets to send 8, broken 7] [19:51:37]ProducePacketName [19:51:37]name=ofd_packets/00047375 [19:51:37]OFD Sender: To server: pG, [19:51:37]CommunicateWithHost lk.salyk.kg:30040 [19:51:37]ConnectInit lk.salyk.kg [19:51:37]Write 4 bytes [19:51:37]NVStorageSaveData done [19:51:37]ExternCall_PrintAddStr [19:51:37]wPrintStart [19:51:37]Write to MH i2c: 01 00 00 57 5B B2 [19:51:37]Write i2c OK [19:51:37]MH_I2C_Read... [19:51:37]Read from MH i2c: 01 [19:51:37]MH_I2C_Read... [19:51:37]Read from MH i2c: 01 07 00 [19:51:37]MH_I2C_Read... [19:51:37]Read from MH i2c: 01 07 00 57 5B 00 00 00 00 00 FF 0F C7 [19:51:37]RasterBufferAndPrint [19:51:37]line Счет N : (3)242288 [19:51:37]line ИНН: 02508201610067 [19:51:37]line Контрольно-Кассовый Чек [19:51:37]line ПРОДАЖА [19:51:37]line Товар: 4011100977952 [19:51:37]line Шок Батончик Твикс 55г [19:51:37]line 1.000 * 54.00 [19:51:37]line = 54.00 [19:51:37]line НДС 12% НСП 1% [19:51:37]line > о реализуемом товаре [19:51:37]line ИТОГО: 54.00 [19:51:37]line НСП 1% : 0.48 [19:51:37]line НДС 12% : 5.73 [19:51:37]line Наличными: 54.00 [19:51:37]line Безнал.: 0.00 [19:51:37]line Место: АЗС № 15 "Партнер Нефть" [19:51:37]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [19:51:37]line СНО: Общий режим [19:51:37]line Чек 53 12.03.2024 19:51 [19:51:37]line Смена: 314 ФФД: 1.0 [19:51:37]line ЗНМ: 0300000097 [19:51:37]line РНМ: 0000000000092018 [19:51:37]line Версия ККМ: 001 [19:51:37]line ФМ: 0000000000871816 [19:51:37]line ФД: 47375 [19:51:37]line ФПД: 126539544985016 [19:51:37]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T195152&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47375&fm=126539544985016&tin=02508201610067®Number=0000000000092018&sum=5400 [19:51:37]line 0 [19:51:37]Connected sock=11 [19:51:37]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 31 36 2D 01 00 00 10 F9 25 01 37 17 5A 03 01 00 03 00 19 01 1E 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 18 15 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3D 02 00 00 00 00 07 04 06 00 18 15 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 58 B2 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 0F B9 00 00 35 04 06 00 73 16 48 A0 FD B8 9C 92 D6 42 DF 1A D0 59 [19:51:37]written 0, free lines is 4095 [19:51:37]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 0F 9E 47 00 10 17 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 0F B9 00 00 F4 03 04 00 E9 5C F0 65 B6 04 01 00 00 B5 04 7A 6D C1 F8 14 5A [19:51:37]CommunicateWithHost err = 0 [19:51:37]CheckOFDResponse [19:51:37]1017 (14) - 77093643461234 [19:51:37]1041 (16) - 0000000000871816 [19:51:37]1040 (4) - 47375 [19:51:37]1012 (4) - 12.03.2024 13:47 [19:51:37]1206 (1) - 0 [19:51:37]OFD Sender: Remove packet 47375 [19:51:37]ProducePacketName [19:51:37]name=ofd_packets/00047375 [19:51:37]NVStorageDeleteData [19:51:38]Write to MH i2c: 01 00 00 7F 5B DA [19:51:38]Write i2c OK [19:51:38]MH_I2C_Read... [19:51:38]Read from MH i2c: 01 [19:51:38]MH_I2C_Read... [19:51:38]Read from MH i2c: 01 07 00 [19:51:38]MH_I2C_Read... [19:51:38]Read from MH i2c: 01 07 00 7F 5B 00 00 00 00 00 F5 0C E2 [19:51:38]RasterBufferAndPrint [19:51:38]line [19:51:38]line [19:51:38]line [19:51:38]line [19:51:38]line [19:51:38]written 0, free lines is 3323 [19:51:38]MH_Cut [19:51:38]Write to MH i2c: D1 01 00 86 5B 01 B3 [19:51:38]Write i2c OK [19:51:38]MH_I2C_Read... [19:51:38]Read from MH i2c: D1 [19:51:38]MH_I2C_Read... [19:51:38]Read from MH i2c: D1 01 00 [19:51:38]MH_I2C_Read... [19:51:38]Read from MH i2c: D1 01 00 86 5B 00 B2 [19:51:38]Write to MH i2c: 01 00 00 87 5B E2 [19:51:38]Write i2c OK [19:51:38]MH_I2C_Read... [19:51:38]OFD Sender: No OFD packet to send [19:51:38]*** Cut start [19:51:38]*** Purtial cut [19:51:38]*** Stage 1: CUTSNS_PIN = 1 [19:51:39]Read from MH i2c: 01 [19:51:39]MH_I2C_Read... [19:51:39]*** Stop cut motor [19:51:39]*** Cut end [19:51:39]Read from MH i2c: 01 07 00 [19:51:39]MH_I2C_Read... [19:51:39]Read from MH i2c: 01 07 00 87 5B 00 00 00 00 00 FF 0F F7 [19:51:39]process_action close_receipt done [19:51:39]requested_data is exist [19:51:39]produce_requested_data [19:51:39]requested_item fm.sn is exist - process it [19:51:39]wFMCommunicate request_size=4 [19:51:39]MH_SAM_APDU [19:51:39]CAPDU: 80 11 00 00 [19:51:39]Write to MH i2c: E2 08 00 88 5B 80 11 00 00 00 00 00 00 5D [19:51:39]Write i2c OK [19:51:39]MH_I2C_Read... [19:51:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:51:39]Read from MH i2c: E2 [19:51:39]MH_I2C_Read... [19:51:39]Read from MH i2c: E2 17 00 [19:51:39]MH_I2C_Read... [19:51:39]Read from MH i2c: E2 17 00 88 5B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 AF [19:51:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [19:51:39]wFMCommunicate OK [19:51:39]requested_item fd.num is exist - process it [19:51:39]SAM_PROTO_GetFieldsCounters [19:51:39]wFMCommunicate request_size=4 [19:51:39]MH_SAM_APDU [19:51:39]CAPDU: 80 13 00 00 [19:51:39]Write to MH i2c: E2 08 00 89 5B 80 13 00 00 00 00 00 00 60 [19:51:39]Write i2c OK [19:51:39]MH_I2C_Read... [19:51:39]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:51:39]Read from MH i2c: E2 [19:51:39]MH_I2C_Read... [19:51:39]Read from MH i2c: E2 62 00 [19:51:39]MH_I2C_Read... [19:51:39]Read from MH i2c: E2 62 00 89 5B 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 0F B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 35 00 00 00 5E 04 04 00 35 00 00 00 57 04 04 00 36 00 00 00 19 04 04 00 00 00 00 00 90 00 1D [19:51: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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 0F B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 35 00 00 00 5E 04 04 00 35 00 00 00 57 04 04 00 36 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:51:39]wFMCommunicate OK [19:51:39]SAM_PROTO_GetFieldsCounters done [19:51:39]requested_item shift.num is exist - process it [19:51:39]requested_item shift.opened is exist - process it [19:51:39]req_shift_opened [19:51:39]FM_GetShiftState [19:51:39]SAM_PROTO_GetShiftState [19:51:39]wFMCommunicate request_size=4 [19:51:39]MH_SAM_APDU [19:51:39]CAPDU: 80 13 01 00 [19:51:39]Write to MH i2c: E2 08 00 8A 5B 80 13 01 00 00 00 00 00 62 [19:51:39]Write i2c OK [19:51:39]MH_I2C_Read... [19:51:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:51:39]Read from MH i2c: E2 [19:51:39]MH_I2C_Read... [19:51:39]Read from MH i2c: E2 0E 00 [19:51:39]MH_I2C_Read... [19:51:39]Read from MH i2c: E2 0E 00 8A 5B 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 91 [19:51:39]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [19:51:39]wFMCommunicate OK [19:51:39]SAM_PROTO_GetShiftState done [19:51:39]FM_GetShiftState done [19:51:39]req_shift_opened done [19:51:39]requested_item shift.open_date is exist - process it [19:51:39]req_shift_open_date [19:51:39]req_shift_open_date done [19:51:39]produce_requested_data done [19:51:39]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47375,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [19:51:39]process_action_free close_receipt [19:51:39]json_value_free [19:51:39]json_value_free done [19:51:39]process_json_proto returns [19:51:39]Send response to host [19:51:39]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47375,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [19:51:39]free response buf [19:51:39]execute_script done [19:51:39]execute_script returns [19:51:39]free content buf [19:51:39]Sock 10.Close socket [19:51:39]Sock 10.Thread stoped [19:51:43]OFD Sender: No OFD packet to send [19:51:48]OFD Sender: No OFD packet to send [19:51:53]OFD Sender: No OFD packet to send [19:51:58]OFD Sender: No OFD packet to send [19:52:03]OFD Sender: No OFD packet to send [19:52:08]OFD Sender: No OFD packet to send [19:52:13]OFD Sender: No OFD packet to send [19:52:18]OFD Sender: No OFD packet to send [19:52:23]OFD Sender: No OFD packet to send [19:52:28]OFD Sender: No OFD packet to send [19:52:33]OFD Sender: No OFD packet to send [19:52:38]OFD Sender: No OFD packet to send [19:52:43]OFD Sender: No OFD packet to send [19:52:48]OFD Sender: No OFD packet to send [19:52:53]OFD Sender: No OFD packet to send [19:52:58]OFD Sender: No OFD packet to send [19:53:03]OFD Sender: No OFD packet to send [19:53:08]OFD Sender: No OFD packet to send [19:53:13]OFD Sender: No OFD packet to send [19:53:18]OFD Sender: No OFD packet to send [19:53:23]OFD Sender: No OFD packet to send [19:53:28]OFD Sender: No OFD packet to send [19:53:33]OFD Sender: No OFD packet to send [19:53:38]OFD Sender: No OFD packet to send [19:53:43]OFD Sender: No OFD packet to send [19:53:48]OFD Sender: No OFD packet to send [19:53:53]OFD Sender: No OFD packet to send [19:53:58]OFD Sender: No OFD packet to send [19:54:03]OFD Sender: No OFD packet to send [19:54:08]OFD Sender: No OFD packet to send [19:54:13]OFD Sender: No OFD packet to send [19:54:18]OFD Sender: No OFD packet to send [19:54:23]OFD Sender: No OFD packet to send [19:54:28]OFD Sender: No OFD packet to send [19:54:33]OFD Sender: No OFD packet to send [19:54:38]OFD Sender: No OFD packet to send [19:54:43]OFD Sender: No OFD packet to send [19:54:45]accept exits with 7 [19:54:45]New connection [19:54:45]New thread 3066453348 created [19:54:45]Thread 3066596708 joined [19:54:45]Waiting for new connection... [19:54:45] Sock 7.Parse request [19:54:45]Sock 7.Check first char [19:54:45]Sock 7.First char is OK [19:54:45]request: POST /json_proto HTTP/1.0 [19:54:45]Method: POST [19:54:45]URL: /json_proto [19:54:45]Method is POST - this is cgi request [19:54:45]url: /json_proto [19:54:45]query_string will be loaded in cgi processing [19:54:45]execute_cgi json_proto POST (null) [19:54:45]execute_cgi path=json_proto method=POST [19:54:45]POST find Content-Length [19:54:45]Host: 172.17.32.68:8080 [19:54:45]Content-Length: 976 [19:54:45]Content-Type: application/json [19:54:45] [19:54:45]POST finish read [19:54:45]Found Content-Length = 976 [19:54:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242289", "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 }]} ,{ "code": "2000151200113", "name": "\u0410\u041A\u0426\u0418\u042F \u0421\u043B\u043E\u0439\u043A\u0430 \u0442\u0440\u0435\u0443\u0433\u043E\u043B\u044C\u043D\u0430\u044F \u043C\u044F\u0441\u043E 110\u0433", "price" : 55.00, "quantity" : 1.000, "sum" : 55.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 175.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:54:45]execute_script... [19:54:45]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242289", "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 }]} ,{ "code": "2000151200113", "name": "\u0410\u041A\u0426\u0418\u042F \u0421\u043B\u043E\u0439\u043A\u0430 \u0442\u0440\u0435\u0443\u0433\u043E\u043B\u044C\u043D\u0430\u044F \u043C\u044F\u0441\u043E 110\u0433", "price" : 55.00, "quantity" : 1.000, "sum" : 55.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 175.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:54:45]POST & json_proto [19:54:45]process_json_proto [19:54:45]json parsed OK: [19:54:45]protocol is kg_v1.0 [19:54:45]action value=close_receipt [19:54:45]process_action close_receipt [19:54:45]cmd_close_receipt [19:54:45]MH_GetDate [19:54:45]Write to MH i2c: F0 00 00 8B 5B D5 [19:54:45]Write i2c OK [19:54:45]MH_I2C_Read... [19:54:45]Read from MH i2c: F0 [19:54:45]MH_I2C_Read... [19:54:45]Read from MH i2c: F0 09 00 [19:54:45]MH_I2C_Read... [19:54:45]Read from MH i2c: F0 09 00 8B 5B 00 16 B3 F0 65 0A 64 6E 65 3D [19:54:45]GetLastDocTimeStamp 1710273112 [19:54:45]current date 1710273302 [19:54:45]FM_GetShiftState [19:54:45]SAM_PROTO_GetShiftState [19:54:45]wFMCommunicate request_size=4 [19:54:45]MH_SAM_APDU [19:54:45]CAPDU: 80 13 01 00 [19:54:45]Write to MH i2c: E2 08 00 8C 5B 80 13 01 00 00 00 00 00 64 [19:54:45]Write i2c OK [19:54:45]MH_I2C_Read... [19:54:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:54:45]Read from MH i2c: E2 [19:54:45]MH_I2C_Read... [19:54:45]Read from MH i2c: E2 0E 00 [19:54:45]MH_I2C_Read... [19:54:45]Read from MH i2c: E2 0E 00 8C 5B 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 93 [19:54:45]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [19:54:45]wFMCommunicate OK [19:54:45]SAM_PROTO_GetShiftState done [19:54:45]FM_GetShiftState done [19:54:45]opened in 1710202417 [19:54:45]opened+sec_in_day 1710288817 [19:54:45]quantity*price = 12000 [19:54:45]sum+1 = 12001 [19:54:45]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000151200113 АКЦИЯ Слойка треугольная мясо 110г 1.000 * 55.00 = 55.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 175.00 НСП 1% : 1.55 НДС 12% : 18.58 Наличными: 175.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 54 12.03.2024 19:55 Смена: 314 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47376 ФПД: 60392116405587 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T195502&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47376&fm=60392116405587&tin=02508201610067®Number=0000000000092018&sum=17500 0 [19:54:46]StoreToDocumentArchive [19:54:46]shift 314 fd 47376 [19:54:46]save to /storage/0314/doc_00047376 [19:54:46]save last doc name /storage/0314/doc_00047376 to /storage/kkm_last_doc_name [19:54:46]save OK [19:54:46]Clear old archive folders... [19:54:46]ProcessDocumentItem done err = 0, tmpTLVsize=405 [19:54:46]tlvbuf is 003E0D40 [19:54:46]SAM_PROTO_ClearQueue [19:54:46]wFMCommunicate request_size=4 [19:54:46]MH_SAM_APDU [19:54:46]CAPDU: 80 09 00 00 [19:54:46]Write to MH i2c: E2 08 00 99 5B 80 09 00 00 00 00 00 00 66 [19:54:46]Write i2c OK [19:54:46]MH_I2C_Read... [19:54:46]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:54:46]Read from MH i2c: E2 [19:54:46]MH_I2C_Read... [19:54:46]Read from MH i2c: E2 03 00 [19:54:46]MH_I2C_Read... [19:54:46]Read from MH i2c: E2 03 00 99 5B 00 90 00 68 [19:54:46]RAPDU: 90 00 [19:54:46]wFMCommunicate OK [19:54:46]SAM_PROTO_ClearQueue done [19:54:46]KKMCreateOFDPacket [19:54:46]OFDProtocolAddRootSTLVToBuf [19:54:46]FM_MakeSignedData [19:54:46]FM_MakeSignedData [19:54:46]SAM_PROTO_SignData [19:54:46]wFMCommunicate request_size=4 [19:54:46]MH_SAM_APDU [19:54:46]CAPDU: 80 0D 01 02 [19:54:46]Write to MH i2c: E2 08 00 9A 5B 80 0D 01 02 00 00 00 00 6E [19:54:46]Write i2c OK [19:54:46]MH_I2C_Read... [19:54:46]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:54:46]Read from MH i2c: E2 [19:54:46]MH_I2C_Read... [19:54:46]Read from MH i2c: E2 03 00 [19:54:46]MH_I2C_Read... [19:54:46]Read from MH i2c: E2 03 00 9A 5B 00 90 00 69 [19:54:46]RAPDU: 90 00 [19:54:46]wFMCommunicate OK [19:54:46]wFMCommunicate request_size=255 [19:54:46]MH_SAM_APDU [19:54:46]CAPDU: 80 0D 02 02 FA 03 00 95 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 23 04 81 00 8A 04 0D 00 32 30 30 30 31 35 31 32 30 30 31 31 33 06 04 3D 00 D0 90 D0 9A D0 A6 D0 98 D0 AF 20 D0 A1 D0 BB D0 BE D0 B9 D0 BA D0 B0 20 D1 82 D1 80 D0 B5 D1 83 D0 B3 D0 BE D0 BB D1 8C D0 BD D0 B0 D1 8F 20 D0 BC D1 8F D1 81 D0 BE 20 31 31 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 15 00 00 00 00 13 04 06 00 7C 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C 44 [19:54:46]Write to MH i2c: E2 02 01 9B 5B 80 0D 02 02 FA 00 03 00 95 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 23 04 81 00 8A 04 0D 00 32 30 30 30 31 35 31 32 30 30 31 31 33 06 04 3D 00 D0 90 D0 9A D0 A6 D0 98 D0 AF 20 D0 A1 D0 BB D0 BE D0 B9 D0 BA D0 B0 20 D1 82 D1 80 D0 B5 D1 83 D0 B3 D0 BE D0 BB D1 8C D0 BD D0 B0 D1 8F 20 D0 BC D1 8F D1 81 D0 BE 20 31 31 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 15 00 00 00 00 13 04 06 00 7C 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C 44 00 00 0F [19:54:46]Write i2c OK [19:54:46]MH_I2C_Read... [19:54:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:54:47]Read from MH i2c: E2 [19:54:47]MH_I2C_Read... [19:54:47]Read from MH i2c: E2 03 00 [19:54:47]MH_I2C_Read... [19:54:47]Read from MH i2c: E2 03 00 9B 5B 00 90 00 6A [19:54:47]RAPDU: 90 00 [19:54:47]wFMCommunicate OK [19:54:47]wFMCommunicate request_size=164 [19:54:47]MH_SAM_APDU [19:54:47]CAPDU: 80 0D 02 02 9F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 42 07 00 00 00 00 07 04 06 00 5C 44 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 16 B3 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 10 B9 00 00 35 04 06 00 36 ED 22 A5 45 53 [19:54:47]Write to MH i2c: E2 A7 00 9C 5B 80 0D 02 02 9F 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 42 07 00 00 00 00 07 04 06 00 5C 44 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 16 B3 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 10 B9 00 00 35 04 06 00 36 ED 22 A5 45 53 00 00 44 [19:54:47]Write i2c OK [19:54:47]MH_I2C_Read... [19:54:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:54:47]Read from MH i2c: E2 [19:54:47]MH_I2C_Read... [19:54:47]Read from MH i2c: E2 03 00 [19:54:47]MH_I2C_Read... [19:54:47]Read from MH i2c: E2 03 00 9C 5B 00 90 00 6B [19:54:47]RAPDU: 90 00 [19:54:47]wFMCommunicate OK [19:54:47]wFMCommunicate request_size=4 [19:54:47]MH_SAM_APDU [19:54:47]CAPDU: 80 0D 03 02 [19:54:47]Write to MH i2c: E2 08 00 9D 5B 80 0D 03 02 00 00 00 00 73 [19:54:47]Write i2c OK [19:54:47]MH_I2C_Read... [19:54:47]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:54:47]Read from MH i2c: E2 [19:54:47]MH_I2C_Read... [19:54:47]Read from MH i2c: E2 0B 00 [19:54:47]MH_I2C_Read... [19:54:47]Read from MH i2c: E2 0B 00 9D 5B 00 07 50 D1 62 F8 24 B6 4B 90 00 1B [19:54:47]RAPDU: 07 50 D1 62 F8 24 B6 4B 90 00 [19:54:47]wFMCommunicate OK [19:54:47]SAM_PROTO_SignData done [19:54:47]FM_MakeSignedData done [19:54:47]CreateOFDProtocolMessage [19:54:47]wFMCommunicate request_size=4 [19:54:47]MH_SAM_APDU [19:54:47]CAPDU: 80 11 00 00 [19:54:47]Write to MH i2c: E2 08 00 9E 5B 80 11 00 00 00 00 00 00 73 [19:54:47]Write i2c OK [19:54:47]MH_I2C_Read... [19:54:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:54:47]Read from MH i2c: E2 [19:54:47]MH_I2C_Read... [19:54:47]Read from MH i2c: E2 17 00 [19:54:47]MH_I2C_Read... [19:54:47]Read from MH i2c: E2 17 00 9E 5B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 C5 [19:54:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [19:54:47]wFMCommunicate OK [19:54:47]CreateOFDProtocolMessage done [19:54:47]OFDSenderStorePacket 47376 [19:54:47]StoreOFDPacket docnum=47376 [19:54:47]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 A9 01 00 00 CA 83 A1 01 2C 6E 5A 03 01 00 03 00 95 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 23 04 81 00 8A 04 0D 00 32 30 30 30 31 35 31 32 30 30 31 31 33 06 04 3D 00 D0 90 D0 9A D0 A6 D0 98 D0 AF 20 D0 A1 D0 BB D0 BE D0 B9 D0 BA D0 B0 20 D1 82 D1 80 D0 B5 D1 83 D0 B3 D0 BE D0 BB D1 8C D0 BD D0 B0 D1 8F 20 D0 BC D1 8F D1 81 D0 BE 20 31 31 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 15 00 00 00 00 13 04 06 00 7C 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C 44 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 42 07 00 00 00 00 07 04 06 00 5C 44 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 16 B3 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 10 B9 00 00 35 04 06 00 36 ED 22 A5 45 53 07 50 D1 62 F8 24 B6 4B [19:54:47]CheckFolder [19:54:47]dirname=/storage/ofd_packets [19:54:47]CheckFolder done [19:54:47]ProducePacketName [19:54:47]name=ofd_packets/00047376 [19:54:47]NVStorageSaveData ofd_packets/00047376 [19:54:47]File name is /storage/ofd_packets/00047376 [19:54:47]Write 455 bytes [19:54:47]NVStorageSaveData done [19:54:47]OFDSenderStorePacket done [19:54:47]KKMCreateOFDPacket done [19:54:47]NVStorageSaveData kkm_last_timestamp [19:54:47]File name is /storage/kkm_last_timestamp [19:54:47]Write 4 bytes [19:54:47]NVStorageSaveData done [19:54:47]ExternCall_PrintAddStr [19:54:47]wPrintStart [19:54:47]Write to MH i2c: 01 00 00 9F 5B FA [19:54:47]Write i2c OK [19:54:47]MH_I2C_Read... [19:54:47]OFD Sender: Processing packet 47376 [packets to send 8, broken 7] [19:54:47]ProducePacketName [19:54:47]name=ofd_packets/00047376 [19:54:47]OFD Sender: To server: pG, [19:54:47]CommunicateWithHost lk.salyk.kg:30040 [19:54:47]ConnectInit lk.salyk.kg [19:54:47]Read from MH i2c: 01 [19:54:47]MH_I2C_Read... [19:54:47]Read from MH i2c: 01 07 00 [19:54:47]MH_I2C_Read... [19:54:47]Read from MH i2c: 01 07 00 9F 5B 00 00 00 00 00 FF 0F 0F [19:54:47]RasterBufferAndPrint [19:54:47]line Счет N : (3)242289 [19:54:47]line ИНН: 02508201610067 [19:54:47]line Контрольно-Кассовый Чек [19:54:47]line ПРОДАЖА [19:54:47]line Товар: 2000039450010 [19:54:47]line Чай зеленый 200 мл [19:54:47]line 3.000 * 40.00 [19:54:47]line = 120.00 [19:54:47]line НДС 12% НСП 1% [19:54:47]line > о реализуемом товаре [19:54:47]line Товар: 2000151200113 [19:54:47]line АКЦИЯ Слойка треугольная мясо 110г [19:54:47]line 1.000 * 55.00 [19:54:47]line = 55.00 [19:54:47]line НДС 12% НСП 1% [19:54:47]line > о реализуемом товаре [19:54:47]line ИТОГО: 175.00 [19:54:47]line НСП 1% : 1.55 [19:54:47]line НДС 12% : 18.58 [19:54:47]line Наличными: 175.00 [19:54:47]line Безнал.: 0.00 [19:54:47]line Место: АЗС № 15 "Партнер Нефть" [19:54:47]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [19:54:47]line СНО: Общий режим [19:54:47]line Чек 54 12.03.2024 19:55 [19:54:47]line Смена: 314 ФФД: 1.0 [19:54:47]line ЗНМ: 0300000097 [19:54:47]line РНМ: 0000000000092018 [19:54:47]line Версия ККМ: 001 [19:54:47]line ФМ: 0000000000871816 [19:54:47]line ФД: 47376 [19:54:47]line ФПД: 60392116405587 [19:54:47]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T195502&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47376&fm=60392116405587&tin=02508201610067®Number=0000000000092018&sum=17500 [19:54:47]line 0 [19:54:47]written 0, free lines is 4095 [19:54:47]Connected sock=10 [19:54: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 31 36 A9 01 00 00 CA 83 A1 01 2C 6E 5A 03 01 00 03 00 95 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 23 04 81 00 8A 04 0D 00 32 30 30 30 31 35 31 32 30 30 31 31 33 06 04 3D 00 D0 90 D0 9A D0 A6 D0 98 D0 AF 20 D0 A1 D0 BB D0 BE D0 B9 D0 BA D0 B0 20 D1 82 D1 80 D0 B5 D1 83 D0 B3 D0 BE D0 BB D1 8C D0 BD D0 B0 D1 8F 20 D0 BC D1 8F D1 81 D0 BE 20 31 31 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 15 00 00 00 00 13 04 06 00 7C 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C 44 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 42 07 00 00 00 00 07 04 06 00 5C 44 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 16 B3 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 10 B9 00 00 35 04 06 00 36 ED 22 A5 45 53 07 50 D1 62 F8 24 B6 4B [19:54:48]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 41 A7 47 00 5C 98 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 10 B9 00 00 F4 03 04 00 A8 5D F0 65 B6 04 01 00 00 58 E2 02 5F 67 5E 4A 54 [19:54:48]CommunicateWithHost err = 0 [19:54:48]CheckOFDResponse [19:54:48]1017 (14) - 77093643461234 [19:54:48]1041 (16) - 0000000000871816 [19:54:48]1040 (4) - 47376 [19:54:48]1012 (4) - 12.03.2024 13:50 [19:54:48]1206 (1) - 0 [19:54:48]OFD Sender: Remove packet 47376 [19:54:48]ProducePacketName [19:54:48]name=ofd_packets/00047376 [19:54:48]NVStorageDeleteData [19:54:48]Write to MH i2c: 01 00 00 CE 5B 29 [19:54:48]Write i2c OK [19:54:48]MH_I2C_Read... [19:54:48]Read from MH i2c: 01 [19:54:48]MH_I2C_Read... [19:54:48]Read from MH i2c: 01 07 00 [19:54:48]MH_I2C_Read... [19:54:48]Read from MH i2c: 01 07 00 CE 5B 00 00 00 00 00 8C 0C C8 [19:54:48]RasterBufferAndPrint [19:54:48]line [19:54:48]line [19:54:48]line [19:54:48]line [19:54:48]line [19:54:48]written 0, free lines is 3218 [19:54:48]MH_Cut [19:54:48]Write to MH i2c: D1 01 00 D5 5B 01 02 [19:54:48]Write i2c OK [19:54:48]MH_I2C_Read... [19:54:48]Read from MH i2c: D1 [19:54:48]MH_I2C_Read... [19:54:48]Read from MH i2c: D1 01 00 [19:54:48]MH_I2C_Read... [19:54:48]Read from MH i2c: D1 01 00 D5 5B 00 01 [19:54:48]Write to MH i2c: 01 00 00 D6 5B 31 [19:54:48]Write i2c OK [19:54:48]MH_I2C_Read... [19:54:48]OFD Sender: No OFD packet to send [19:54:49]*** Cut start [19:54:49]*** Purtial cut [19:54:49]*** Stage 1: CUTSNS_PIN = 1 [19:54:49]Read from MH i2c: 01 [19:54:49]MH_I2C_Read... [19:54:49]*** Stop cut motor [19:54:49]*** Cut end [19:54:49]Read from MH i2c: 01 07 00 [19:54:49]MH_I2C_Read... [19:54:49]Read from MH i2c: 01 07 00 D6 5B 00 00 00 00 00 FF 0F 46 [19:54:49]process_action close_receipt done [19:54:49]requested_data is exist [19:54:49]produce_requested_data [19:54:49]requested_item fm.sn is exist - process it [19:54:49]wFMCommunicate request_size=4 [19:54:49]MH_SAM_APDU [19:54:49]CAPDU: 80 11 00 00 [19:54:49]Write to MH i2c: E2 08 00 D7 5B 80 11 00 00 00 00 00 00 AC [19:54:49]Write i2c OK [19:54:49]MH_I2C_Read... [19:54:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:54:49]Read from MH i2c: E2 [19:54:49]MH_I2C_Read... [19:54:49]Read from MH i2c: E2 17 00 [19:54:49]MH_I2C_Read... [19:54:49]Read from MH i2c: E2 17 00 D7 5B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 FE [19:54:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [19:54:49]wFMCommunicate OK [19:54:49]requested_item fd.num is exist - process it [19:54:49]SAM_PROTO_GetFieldsCounters [19:54:49]wFMCommunicate request_size=4 [19:54:49]MH_SAM_APDU [19:54:49]CAPDU: 80 13 00 00 [19:54:49]Write to MH i2c: E2 08 00 D8 5B 80 13 00 00 00 00 00 00 AF [19:54:49]Write i2c OK [19:54:49]MH_I2C_Read... [19:54:49]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:54:49]Read from MH i2c: E2 [19:54:49]MH_I2C_Read... [19:54:49]Read from MH i2c: E2 62 00 [19:54:49]MH_I2C_Read... [19:54:49]Read from MH i2c: E2 62 00 D8 5B 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 10 B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 36 00 00 00 5E 04 04 00 36 00 00 00 57 04 04 00 37 00 00 00 19 04 04 00 00 00 00 00 90 00 70 [19:54: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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 10 B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 36 00 00 00 5E 04 04 00 36 00 00 00 57 04 04 00 37 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:54:49]wFMCommunicate OK [19:54:49]SAM_PROTO_GetFieldsCounters done [19:54:49]requested_item shift.num is exist - process it [19:54:49]requested_item shift.opened is exist - process it [19:54:49]req_shift_opened [19:54:49]FM_GetShiftState [19:54:49]SAM_PROTO_GetShiftState [19:54:49]wFMCommunicate request_size=4 [19:54:49]MH_SAM_APDU [19:54:49]CAPDU: 80 13 01 00 [19:54:49]Write to MH i2c: E2 08 00 D9 5B 80 13 01 00 00 00 00 00 B1 [19:54:49]Write i2c OK [19:54:49]MH_I2C_Read... [19:54:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:54:49]Read from MH i2c: E2 [19:54:49]MH_I2C_Read... [19:54:49]Read from MH i2c: E2 0E 00 [19:54:49]MH_I2C_Read... [19:54:49]Read from MH i2c: E2 0E 00 D9 5B 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 E0 [19:54:49]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [19:54:49]wFMCommunicate OK [19:54:49]SAM_PROTO_GetShiftState done [19:54:49]FM_GetShiftState done [19:54:49]req_shift_opened done [19:54:49]requested_item shift.open_date is exist - process it [19:54:49]req_shift_open_date [19:54:49]req_shift_open_date done [19:54:49]produce_requested_data done [19:54:49]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47376,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [19:54:49]process_action_free close_receipt [19:54:49]json_value_free [19:54:49]json_value_free done [19:54:49]process_json_proto returns [19:54:49]Send response to host [19:54:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47376,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [19:54:49]free response buf [19:54:49]execute_script done [19:54:49]execute_script returns [19:54:49]free content buf [19:54:49]Sock 7.Close socket [19:54:49]Sock 7.Thread stoped [19:54:53]OFD Sender: No OFD packet to send [19:54:58]OFD Sender: No OFD packet to send [19:55:03]OFD Sender: No OFD packet to send [19:55:08]OFD Sender: No OFD packet to send [19:55:13]OFD Sender: No OFD packet to send [19:55:18]OFD Sender: No OFD packet to send [19:55:23]OFD Sender: No OFD packet to send [19:55:28]OFD Sender: No OFD packet to send [19:55:33]OFD Sender: No OFD packet to send [19:55:38]OFD Sender: No OFD packet to send [19:55:43]OFD Sender: No OFD packet to send [19:55:48]OFD Sender: No OFD packet to send [19:55:53]OFD Sender: No OFD packet to send [19:55:57]accept exits with 9 [19:55:57]New connection [19:55:57]New thread 3066596708 created [19:55:57]Thread 3066453348 joined [19:55:57]Waiting for new connection... [19:55:57] Sock 9.Parse request [19:55:57]Sock 9.Check first char [19:55:57]Sock 9.First char is OK [19:55:57]request: POST /json_proto HTTP/1.0 [19:55:57]Method: POST [19:55:57]URL: /json_proto [19:55:57]Method is POST - this is cgi request [19:55:57]url: /json_proto [19:55:57]query_string will be loaded in cgi processing [19:55:57]execute_cgi json_proto POST (null) [19:55:57]execute_cgi path=json_proto method=POST [19:55:57]POST find Content-Length [19:55:57]Host: 172.17.32.68:8080 [19:55:57]Content-Length: 869 [19:55:57]Content-Type: application/json [19:55:57] [19:55:57]POST finish read [19:55:57]Found Content-Length = 869 [19:55:57]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242290", "tax_sys" : 0, "items" : [ { "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48745000", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Purple Mix", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 175.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:55:57]execute_script... [19:55:57]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242290", "tax_sys" : 0, "items" : [ { "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48745000", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Purple Mix", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 175.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:55:57]POST & json_proto [19:55:57]process_json_proto [19:55:57]json parsed OK: [19:55:57]protocol is kg_v1.0 [19:55:57]action value=close_receipt [19:55:57]process_action close_receipt [19:55:57]cmd_close_receipt [19:55:57]MH_GetDate [19:55:57]Write to MH i2c: F0 00 00 DA 5B 24 [19:55:57]Write i2c OK [19:55:57]MH_I2C_Read... [19:55:57]Read from MH i2c: F0 [19:55:57]MH_I2C_Read... [19:55:57]Read from MH i2c: F0 09 00 [19:55:57]MH_I2C_Read... [19:55:57]Read from MH i2c: F0 09 00 DA 5B 00 5E B3 F0 65 0A 64 6E 65 D4 [19:55:57]GetLastDocTimeStamp 1710273302 [19:55:57]current date 1710273374 [19:55:57]FM_GetShiftState [19:55:57]SAM_PROTO_GetShiftState [19:55:57]wFMCommunicate request_size=4 [19:55:57]MH_SAM_APDU [19:55:57]CAPDU: 80 13 01 00 [19:55:57]Write to MH i2c: E2 08 00 DB 5B 80 13 01 00 00 00 00 00 B3 [19:55:57]Write i2c OK [19:55:57]MH_I2C_Read... [19:55:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:55:57]Read from MH i2c: E2 [19:55:57]MH_I2C_Read... [19:55:57]Read from MH i2c: E2 0E 00 [19:55:57]MH_I2C_Read... [19:55:57]Read from MH i2c: E2 0E 00 DB 5B 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 E2 [19:55:57]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [19:55:57]wFMCommunicate OK [19:55:57]SAM_PROTO_GetShiftState done [19:55:57]FM_GetShiftState done [19:55:57]opened in 1710202417 [19:55:57]opened+sec_in_day 1710288817 [19:55:57]quantity*price = 4000 [19:55:57]sum+1 = 4001 [19:55:57]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 48745000 Сигареты Winston Purple Mix 1.000 * 135.00 = 135.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 175.00 НСП 1% : 1.54 НДС 12% : 18.59 Наличными: 175.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 55 12.03.2024 19:56 Смена: 314 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47377 ФПД: 213585725528408 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T195614&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47377&fm=213585725528408&tin=02508201610067®Number=0000000000092018&sum=17500 0 [19:55:58]StoreToDocumentArchive [19:55:58]shift 314 fd 47377 [19:55:58]save to /storage/0314/doc_00047377 [19:55:58]save last doc name /storage/0314/doc_00047377 to /storage/kkm_last_doc_name [19:55:58]save OK [19:55:58]Clear old archive folders... [19:55:58]ProcessDocumentItem done err = 0, tmpTLVsize=373 [19:55:58]tlvbuf is 003CA120 [19:55:58]SAM_PROTO_ClearQueue [19:55:58]wFMCommunicate request_size=4 [19:55:58]MH_SAM_APDU [19:55:58]CAPDU: 80 09 00 00 [19:55:58]Write to MH i2c: E2 08 00 E8 5B 80 09 00 00 00 00 00 00 B5 [19:55:58]Write i2c OK [19:55:58]MH_I2C_Read... [19:55:58]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:55:58]Read from MH i2c: E2 [19:55:58]MH_I2C_Read... [19:55:58]Read from MH i2c: E2 03 00 [19:55:58]MH_I2C_Read... [19:55:58]Read from MH i2c: E2 03 00 E8 5B 00 90 00 B7 [19:55:58]RAPDU: 90 00 [19:55:58]wFMCommunicate OK [19:55:58]SAM_PROTO_ClearQueue done [19:55:58]KKMCreateOFDPacket [19:55:58]OFDProtocolAddRootSTLVToBuf [19:55:58]FM_MakeSignedData [19:55:58]FM_MakeSignedData [19:55:58]SAM_PROTO_SignData [19:55:58]wFMCommunicate request_size=4 [19:55:58]MH_SAM_APDU [19:55:58]CAPDU: 80 0D 01 02 [19:55:58]Write to MH i2c: E2 08 00 E9 5B 80 0D 01 02 00 00 00 00 BD [19:55:58]Write i2c OK [19:55:58]MH_I2C_Read... [19:55:58]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:55:58]Read from MH i2c: E2 [19:55:58]MH_I2C_Read... [19:55:58]Read from MH i2c: E2 03 00 [19:55:58]MH_I2C_Read... [19:55:58]Read from MH i2c: E2 03 00 E9 5B 00 90 00 B8 [19:55:58]RAPDU: 90 00 [19:55:58]wFMCommunicate OK [19:55:58]wFMCommunicate request_size=255 [19:55:58]MH_SAM_APDU [19:55:58]CAPDU: 80 0D 02 02 FA 03 00 75 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C 44 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9A 00 00 00 00 00 EE 03 0F 00 F2 [19:55:58]Write to MH i2c: E2 02 01 EA 5B 80 0D 02 02 FA 00 03 00 75 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C 44 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9A 00 00 00 00 00 EE 03 0F 00 F2 00 00 EE [19:55:58]Write i2c OK [19:55:58]MH_I2C_Read... [19:55:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:55:59]Read from MH i2c: E2 [19:55:59]MH_I2C_Read... [19:55:59]Read from MH i2c: E2 03 00 [19:55:59]MH_I2C_Read... [19:55:59]Read from MH i2c: E2 03 00 EA 5B 00 90 00 B9 [19:55:59]RAPDU: 90 00 [19:55:59]wFMCommunicate OK [19:55:59]wFMCommunicate request_size=132 [19:55:59]MH_SAM_APDU [19:55:59]CAPDU: 80 0D 02 02 7F 03 01 00 01 F3 03 06 00 43 07 00 00 00 00 07 04 06 00 5C 44 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 5E B3 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 11 B9 00 00 35 04 06 00 C2 41 4D 4C 99 58 [19:55:59]Write to MH i2c: E2 87 00 EB 5B 80 0D 02 02 7F 00 03 01 00 01 F3 03 06 00 43 07 00 00 00 00 07 04 06 00 5C 44 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 5E B3 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 11 B9 00 00 35 04 06 00 C2 41 4D 4C 99 58 00 00 0C [19:55:59]Write i2c OK [19:55:59]MH_I2C_Read... [19:55:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:55:59]Read from MH i2c: E2 [19:55:59]MH_I2C_Read... [19:55:59]Read from MH i2c: E2 03 00 [19:55:59]MH_I2C_Read... [19:55:59]Read from MH i2c: E2 03 00 EB 5B 00 90 00 BA [19:55:59]RAPDU: 90 00 [19:55:59]wFMCommunicate OK [19:55:59]wFMCommunicate request_size=4 [19:55:59]MH_SAM_APDU [19:55:59]CAPDU: 80 0D 03 02 [19:55:59]Write to MH i2c: E2 08 00 EC 5B 80 0D 03 02 00 00 00 00 C2 [19:55:59]Write i2c OK [19:55:59]MH_I2C_Read... [19:55:59]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:55:59]Read from MH i2c: E2 [19:55:59]MH_I2C_Read... [19:55:59]Read from MH i2c: E2 0B 00 [19:55:59]MH_I2C_Read... [19:55:59]Read from MH i2c: E2 0B 00 EC 5B 00 7F 0E F0 9D 59 14 8C 2E 90 00 04 [19:55:59]RAPDU: 7F 0E F0 9D 59 14 8C 2E 90 00 [19:55:59]wFMCommunicate OK [19:55:59]SAM_PROTO_SignData done [19:55:59]FM_MakeSignedData done [19:55:59]CreateOFDProtocolMessage [19:55:59]wFMCommunicate request_size=4 [19:55:59]MH_SAM_APDU [19:55:59]CAPDU: 80 11 00 00 [19:55:59]Write to MH i2c: E2 08 00 ED 5B 80 11 00 00 00 00 00 00 C2 [19:55:59]Write i2c OK [19:55:59]MH_I2C_Read... [19:55:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:55:59]Read from MH i2c: E2 [19:55:59]MH_I2C_Read... [19:55:59]Read from MH i2c: E2 17 00 [19:55:59]MH_I2C_Read... [19:55:59]Read from MH i2c: E2 17 00 ED 5B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 14 [19:55:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [19:55:59]wFMCommunicate OK [19:55:59]CreateOFDProtocolMessage done [19:55:59]OFDSenderStorePacket 47377 [19:55:59]StoreOFDPacket docnum=47377 [19:55:59]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 89 01 00 00 20 3B 81 01 0A 22 5A 03 01 00 03 00 75 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C 44 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 43 07 00 00 00 00 07 04 06 00 5C 44 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 5E B3 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 11 B9 00 00 35 04 06 00 C2 41 4D 4C 99 58 7F 0E F0 9D 59 14 8C 2E [19:55:59]CheckFolder [19:55:59]dirname=/storage/ofd_packets [19:55:59]CheckFolder done [19:55:59]ProducePacketName [19:55:59]name=ofd_packets/00047377 [19:55:59]NVStorageSaveData ofd_packets/00047377 [19:55:59]File name is /storage/ofd_packets/00047377 [19:55:59]Write 423 bytes [19:55:59]NVStorageSaveData done [19:55:59]OFDSenderStorePacket done [19:55:59]KKMCreateOFDPacket done [19:55:59]NVStorageSaveData kkm_last_timestamp [19:55:59]File name is /storage/kkm_last_timestamp [19:55:59]Write 4 bytes [19:55:59]NVStorageSaveData done [19:55:59]ExternCall_PrintAddStr [19:55:59]wPrintStart [19:55:59]Write to MH i2c: 01 00 00 EE 5B 49 [19:55:59]Write i2c OK [19:55:59]MH_I2C_Read... [19:55:59]Read from MH i2c: 01 [19:55:59]MH_I2C_Read... [19:55:59]Read from MH i2c: 01 07 00 [19:55:59]MH_I2C_Read... [19:55:59]Read from MH i2c: 01 07 00 EE 5B 00 00 00 00 00 FF 0F 5E [19:55:59]RasterBufferAndPrint [19:55:59]line Счет N : (3)242290 [19:55:59]line ИНН: 02508201610067 [19:55:59]line Контрольно-Кассовый Чек [19:55:59]line ПРОДАЖА [19:55:59]line Товар: 4700000160211 [19:55:59]line Вода Легенда 0,5л [19:55:59]line 1.000 * 40.00 [19:55:59]line = 40.00 [19:55:59]line НДС 12% НСП 1% [19:55:59]line > о реализуемом товаре [19:55:59]line Товар: 48745000 [19:55:59]line Сигареты Winston Purple Mix [19:55:59]line 1.000 * 135.00 [19:55:59]line = 135.00 [19:55:59]line НДС 12% НСП 1% [19:55:59]line > о реализуемом товаре [19:55:59]line ИТОГО: 175.00 [19:55:59]line НСП 1% : 1.54 [19:55:59]line НДС 12% : 18.59 [19:55:59]line Наличными: 175.00 [19:55:59]line Безнал.: 0.00 [19:55:59]line Место: АЗС № 15 "Партнер Нефть" [19:55:59]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [19:55:59]line СНО: Общий режим [19:55:59]line Чек 55 12.03.2024 19:56 [19:55:59]line Смена: 314 ФФД: 1.0 [19:55:59]line ЗНМ: 0300000097 [19:55:59]line РНМ: 0000000000092018 [19:55:59]line Версия ККМ: 001 [19:55:59]line ФМ: 0000000000871816 [19:55:59]line ФД: 47377 [19:55:59]line ФПД: 213585725528408 [19:55:59]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T195614&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47377&fm=213585725528408&tin=02508201610067®Number=0000000000092018&sum=17500 [19:55:59]line 0 [19:55:59]OFD Sender: Processing packet 47377 [packets to send 8, broken 7] [19:55:59]ProducePacketName [19:55:59]name=ofd_packets/00047377 [19:55:59]OFD Sender: To server: pG, [19:55:59]CommunicateWithHost lk.salyk.kg:30040 [19:55:59]ConnectInit lk.salyk.kg [19:55:59]written 0, free lines is 4095 [19:55:59]Connected sock=10 [19:55:59]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 31 36 89 01 00 00 20 3B 81 01 0A 22 5A 03 01 00 03 00 75 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C 44 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 43 07 00 00 00 00 07 04 06 00 5C 44 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 5E B3 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 11 B9 00 00 35 04 06 00 C2 41 4D 4C 99 58 7F 0E F0 9D 59 14 8C 2E [19:56: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 31 36 4F 00 00 00 0D FC 47 00 CD 02 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 31 36 10 04 04 00 11 B9 00 00 F4 03 04 00 EF 5D F0 65 B6 04 01 00 00 0D E6 53 14 42 FA 38 85 [19:56:00]CommunicateWithHost err = 0 [19:56:00]CheckOFDResponse [19:56:00]1017 (14) - 77093643461234 [19:56:00]1041 (16) - 0000000000871816 [19:56:00]1040 (4) - 47377 [19:56:00]1012 (4) - 12.03.2024 13:51 [19:56:00]1206 (1) - 0 [19:56:00]OFD Sender: Remove packet 47377 [19:56:00]ProducePacketName [19:56:00]name=ofd_packets/00047377 [19:56:00]NVStorageDeleteData [19:56:00]Write to MH i2c: 01 00 00 1C 5C 78 [19:56:00]Write i2c OK [19:56:00]MH_I2C_Read... [19:56:00]Read from MH i2c: 01 [19:56:00]MH_I2C_Read... [19:56:00]Read from MH i2c: 01 07 00 [19:56:00]MH_I2C_Read... [19:56:00]Read from MH i2c: 01 07 00 1C 5C 00 00 00 00 00 A0 0C 2B [19:56:00]RasterBufferAndPrint [19:56:00]line [19:56:00]line [19:56:00]line [19:56:00]line [19:56:00]line [19:56:00]written 0, free lines is 3239 [19:56:00]MH_Cut [19:56:00]Write to MH i2c: D1 01 00 23 5C 01 51 [19:56:00]Write i2c OK [19:56:00]MH_I2C_Read... [19:56:00]Read from MH i2c: D1 [19:56:00]MH_I2C_Read... [19:56:00]Read from MH i2c: D1 01 00 [19:56:00]MH_I2C_Read... [19:56:00]Read from MH i2c: D1 01 00 23 5C 00 50 [19:56:00]Write to MH i2c: 01 00 00 24 5C 80 [19:56:00]Write i2c OK [19:56:00]MH_I2C_Read... [19:56:00]OFD Sender: No OFD packet to send [19:56:01]*** Cut start [19:56:01]*** Purtial cut [19:56:01]*** Stage 1: CUTSNS_PIN = 1 [19:56:01]Read from MH i2c: 01 [19:56:01]MH_I2C_Read... [19:56:01]*** Stop cut motor [19:56:01]*** Cut end [19:56:01]Read from MH i2c: 01 07 00 [19:56:01]MH_I2C_Read... [19:56:01]Read from MH i2c: 01 07 00 24 5C 00 00 00 00 00 FF 0F 95 [19:56:01]process_action close_receipt done [19:56:01]requested_data is exist [19:56:01]produce_requested_data [19:56:01]requested_item fm.sn is exist - process it [19:56:01]wFMCommunicate request_size=4 [19:56:01]MH_SAM_APDU [19:56:01]CAPDU: 80 11 00 00 [19:56:01]Write to MH i2c: E2 08 00 25 5C 80 11 00 00 00 00 00 00 FB [19:56:01]Write i2c OK [19:56:01]MH_I2C_Read... [19:56:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:56:01]Read from MH i2c: E2 [19:56:01]MH_I2C_Read... [19:56:01]Read from MH i2c: E2 17 00 [19:56:01]MH_I2C_Read... [19:56:01]Read from MH i2c: E2 17 00 25 5C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 4D [19:56:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [19:56:01]wFMCommunicate OK [19:56:01]requested_item fd.num is exist - process it [19:56:01]SAM_PROTO_GetFieldsCounters [19:56:01]wFMCommunicate request_size=4 [19:56:01]MH_SAM_APDU [19:56:01]CAPDU: 80 13 00 00 [19:56:01]Write to MH i2c: E2 08 00 26 5C 80 13 00 00 00 00 00 00 FE [19:56:01]Write i2c OK [19:56:01]MH_I2C_Read... [19:56:01]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:56:01]Read from MH i2c: E2 [19:56:01]MH_I2C_Read... [19:56:01]Read from MH i2c: E2 62 00 [19:56:01]MH_I2C_Read... [19:56:01]Read from MH i2c: E2 62 00 26 5C 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 11 B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 37 00 00 00 5E 04 04 00 37 00 00 00 57 04 04 00 38 00 00 00 19 04 04 00 00 00 00 00 90 00 C3 [19:56:01]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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 11 B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 37 00 00 00 5E 04 04 00 37 00 00 00 57 04 04 00 38 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:56:01]wFMCommunicate OK [19:56:01]SAM_PROTO_GetFieldsCounters done [19:56:01]requested_item shift.num is exist - process it [19:56:01]requested_item shift.opened is exist - process it [19:56:01]req_shift_opened [19:56:01]FM_GetShiftState [19:56:01]SAM_PROTO_GetShiftState [19:56:01]wFMCommunicate request_size=4 [19:56:01]MH_SAM_APDU [19:56:01]CAPDU: 80 13 01 00 [19:56:01]Write to MH i2c: E2 08 00 27 5C 80 13 01 00 00 00 00 00 00 [19:56:01]Write i2c OK [19:56:01]MH_I2C_Read... [19:56:01]Read from MH i2c: E2 [19:56:01]MH_I2C_Read... [19:56:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:56:01]Read from MH i2c: E2 0E 00 [19:56:01]MH_I2C_Read... [19:56:01]Read from MH i2c: E2 0E 00 27 5C 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 2F [19:56:01]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [19:56:01]wFMCommunicate OK [19:56:01]SAM_PROTO_GetShiftState done [19:56:01]FM_GetShiftState done [19:56:01]req_shift_opened done [19:56:01]requested_item shift.open_date is exist - process it [19:56:01]req_shift_open_date [19:56:01]req_shift_open_date done [19:56:01]produce_requested_data done [19:56:01]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47377,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [19:56:01]process_action_free close_receipt [19:56:01]json_value_free [19:56:01]json_value_free done [19:56:01]process_json_proto returns [19:56:01]Send response to host [19:56:01]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47377,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [19:56:01]free response buf [19:56:01]execute_script done [19:56:01]execute_script returns [19:56:01]free content buf [19:56:01]Sock 9.Close socket [19:56:01]Sock 9.Thread stoped [19:56:05]OFD Sender: No OFD packet to send [19:56:10]OFD Sender: No OFD packet to send [19:56:15]OFD Sender: No OFD packet to send [19:56:20]OFD Sender: No OFD packet to send [19:56:25]OFD Sender: No OFD packet to send [19:56:28]accept exits with 7 [19:56:28]New connection [19:56:28]New thread 3066453348 created [19:56:28]Thread 3066596708 joined [19:56:28]Waiting for new connection... [19:56:28] Sock 7.Parse request [19:56:28]Sock 7.Check first char [19:56:28]Sock 7.First char is OK [19:56:28]request: POST /json_proto HTTP/1.0 [19:56:28]Method: POST [19:56:28]URL: /json_proto [19:56:28]Method is POST - this is cgi request [19:56:28]url: /json_proto [19:56:28]query_string will be loaded in cgi processing [19:56:28]execute_cgi json_proto POST (null) [19:56:28]execute_cgi path=json_proto method=POST [19:56:28]POST find Content-Length [19:56:28]Host: 172.17.32.68:8080 [19:56:28]Content-Length: 668 [19:56:28]Content-Type: application/json [19:56:28] [19:56:28]POST finish read [19:56:28]Found Content-Length = 668 [19:56:28]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242291", "tax_sys" : 0, "items" : [ { "code": "4607969940055", "name": "Bizon \u044D\u043D\u0435\u0440. \u043D\u0430\u043F\u0438\u0442\u043E\u043A \u041C\u0430\u043B\u0438\u043D\u0430", "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" ] } } [19:56:28]execute_script... [19:56:28]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242291", "tax_sys" : 0, "items" : [ { "code": "4607969940055", "name": "Bizon \u044D\u043D\u0435\u0440. \u043D\u0430\u043F\u0438\u0442\u043E\u043A \u041C\u0430\u043B\u0438\u043D\u0430", "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" ] } } [19:56:28]POST & json_proto [19:56:28]process_json_proto [19:56:28]json parsed OK: [19:56:28]protocol is kg_v1.0 [19:56:28]action value=close_receipt [19:56:28]process_action close_receipt [19:56:28]cmd_close_receipt [19:56:28]MH_GetDate [19:56:28]Write to MH i2c: F0 00 00 28 5C 73 [19:56:28]Write i2c OK [19:56:28]MH_I2C_Read... [19:56:28]Read from MH i2c: F0 [19:56:28]MH_I2C_Read... [19:56:28]Read from MH i2c: F0 09 00 [19:56:28]MH_I2C_Read... [19:56:28]Read from MH i2c: F0 09 00 28 5C 00 7D B3 F0 65 0A 64 6E 65 42 [19:56:28]GetLastDocTimeStamp 1710273374 [19:56:28]current date 1710273405 [19:56:28]FM_GetShiftState [19:56:28]SAM_PROTO_GetShiftState [19:56:28]wFMCommunicate request_size=4 [19:56:28]MH_SAM_APDU [19:56:28]CAPDU: 80 13 01 00 [19:56:28]Write to MH i2c: E2 08 00 29 5C 80 13 01 00 00 00 00 00 02 [19:56:28]Write i2c OK [19:56:28]MH_I2C_Read... [19:56:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:56:28]Read from MH i2c: E2 [19:56:28]MH_I2C_Read... [19:56:28]Read from MH i2c: E2 0E 00 [19:56:28]MH_I2C_Read... [19:56:28]Read from MH i2c: E2 0E 00 29 5C 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 31 [19:56:28]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [19:56:28]wFMCommunicate OK [19:56:28]SAM_PROTO_GetShiftState done [19:56:28]FM_GetShiftState done [19:56:28]opened in 1710202417 [19:56:28]opened+sec_in_day 1710288817 [19:56:28]quantity*price = 16000 [19:56:28]sum+1 = 16001 [19:56:28]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 160.00 НСП 1% : 1.42 НДС 12% : 16.99 Наличными: 160.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 56 12.03.2024 19:56 Смена: 314 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47378 ФПД: 257097766023333 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T195645&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47378&fm=257097766023333&tin=02508201610067®Number=0000000000092018&sum=16000 0 [19:56:29]StoreToDocumentArchive [19:56:29]shift 314 fd 47378 [19:56:29]save to /storage/0314/doc_00047378 [19:56:29]save last doc name /storage/0314/doc_00047378 to /storage/kkm_last_doc_name [19:56:29]save OK [19:56:29]Clear old archive folders... [19:56:29]ProcessDocumentItem done err = 0, tmpTLVsize=285 [19:56:29]tlvbuf is B6EFEC40 [19:56:29]SAM_PROTO_ClearQueue [19:56:29]wFMCommunicate request_size=4 [19:56:29]MH_SAM_APDU [19:56:29]CAPDU: 80 09 00 00 [19:56:29]Write to MH i2c: E2 08 00 36 5C 80 09 00 00 00 00 00 00 04 [19:56:29]Write i2c OK [19:56:29]MH_I2C_Read... [19:56:29]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:56:29]Read from MH i2c: E2 [19:56:29]MH_I2C_Read... [19:56:29]Read from MH i2c: E2 03 00 [19:56:29]MH_I2C_Read... [19:56:29]Read from MH i2c: E2 03 00 36 5C 00 90 00 06 [19:56:29]RAPDU: 90 00 [19:56:29]wFMCommunicate OK [19:56:29]SAM_PROTO_ClearQueue done [19:56:29]KKMCreateOFDPacket [19:56:29]OFDProtocolAddRootSTLVToBuf [19:56:29]FM_MakeSignedData [19:56:29]FM_MakeSignedData [19:56:29]SAM_PROTO_SignData [19:56:29]wFMCommunicate request_size=4 [19:56:29]MH_SAM_APDU [19:56:29]CAPDU: 80 0D 01 02 [19:56:29]Write to MH i2c: E2 08 00 37 5C 80 0D 01 02 00 00 00 00 0C [19:56:29]Write i2c OK [19:56:29]MH_I2C_Read... [19:56:29]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:56:29]Read from MH i2c: E2 [19:56:29]MH_I2C_Read... [19:56:29]Read from MH i2c: E2 03 00 [19:56:29]MH_I2C_Read... [19:56:29]Read from MH i2c: E2 03 00 37 5C 00 90 00 07 [19:56:29]RAPDU: 90 00 [19:56:29]wFMCommunicate OK [19:56:29]wFMCommunicate request_size=255 [19:56:29]MH_SAM_APDU [19:56:29]CAPDU: 80 0D 02 02 FA 03 00 1D 01 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 36 30 37 39 36 39 39 34 30 30 35 35 06 04 2B 00 42 69 7A 6F 6E 20 D1 8D D0 BD D0 B5 D1 80 2E 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9C D0 B0 D0 BB D0 B8 D0 BD D0 B0 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 38 00 00 00 F4 03 04 00 7D B3 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 [19:56:29]Write to MH i2c: E2 02 01 38 5C 80 0D 02 02 FA 00 03 00 1D 01 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 36 30 37 39 36 39 39 34 30 30 35 35 06 04 2B 00 42 69 7A 6F 6E 20 D1 8D D0 BD D0 B5 D1 80 2E 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9C D0 B0 D0 BB D0 B8 D0 BD D0 B0 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 38 00 00 00 F4 03 04 00 7D B3 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 00 00 71 [19:56:29]Write i2c OK [19:56:29]MH_I2C_Read... [19:56:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:56:30]Read from MH i2c: E2 [19:56:30]MH_I2C_Read... [19:56:30]Read from MH i2c: E2 03 00 [19:56:30]MH_I2C_Read... [19:56:30]Read from MH i2c: E2 03 00 38 5C 00 90 00 08 [19:56:30]RAPDU: 90 00 [19:56:30]wFMCommunicate OK [19:56:30]wFMCommunicate request_size=44 [19:56:30]MH_SAM_APDU [19:56:30]CAPDU: 80 0D 02 02 27 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 12 B9 00 00 35 04 06 00 E9 D4 3D 04 30 A5 [19:56:30]Write to MH i2c: E2 2F 00 39 5C 80 0D 02 02 27 00 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 12 B9 00 00 35 04 06 00 E9 D4 3D 04 30 A5 00 00 CE [19:56:30]Write i2c OK [19:56:30]MH_I2C_Read... [19:56:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:56:30]Read from MH i2c: E2 [19:56:30]MH_I2C_Read... [19:56:30]Read from MH i2c: E2 03 00 [19:56:30]MH_I2C_Read... [19:56:30]Read from MH i2c: E2 03 00 39 5C 00 90 00 09 [19:56:30]RAPDU: 90 00 [19:56:30]wFMCommunicate OK [19:56:30]wFMCommunicate request_size=4 [19:56:30]MH_SAM_APDU [19:56:30]CAPDU: 80 0D 03 02 [19:56:30]Write to MH i2c: E2 08 00 3A 5C 80 0D 03 02 00 00 00 00 11 [19:56:30]Write i2c OK [19:56:30]MH_I2C_Read... [19:56:30]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:56:30]Read from MH i2c: E2 [19:56:30]MH_I2C_Read... [19:56:30]Read from MH i2c: E2 0B 00 [19:56:30]MH_I2C_Read... [19:56:30]Read from MH i2c: E2 0B 00 3A 5C 00 36 0B A1 2D A1 7A 51 74 90 00 01 [19:56:30]RAPDU: 36 0B A1 2D A1 7A 51 74 90 00 [19:56:30]wFMCommunicate OK [19:56:30]SAM_PROTO_SignData done [19:56:30]FM_MakeSignedData done [19:56:30]CreateOFDProtocolMessage [19:56:30]wFMCommunicate request_size=4 [19:56:30]MH_SAM_APDU [19:56:30]CAPDU: 80 11 00 00 [19:56:30]Write to MH i2c: E2 08 00 3B 5C 80 11 00 00 00 00 00 00 11 [19:56:30]Write i2c OK [19:56:30]MH_I2C_Read... [19:56:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:56:30]Read from MH i2c: E2 [19:56:30]MH_I2C_Read... [19:56:30]Read from MH i2c: E2 17 00 [19:56:30]MH_I2C_Read... [19:56:30]Read from MH i2c: E2 17 00 3B 5C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 63 [19:56:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [19:56:30]wFMCommunicate OK [19:56:30]CreateOFDProtocolMessage done [19:56:30]OFDSenderStorePacket 47378 [19:56:30]StoreOFDPacket docnum=47378 [19:56:30]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 31 01 00 00 FE 46 29 01 6F 51 5A 03 01 00 03 00 1D 01 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 36 30 37 39 36 39 39 34 30 30 35 35 06 04 2B 00 42 69 7A 6F 6E 20 D1 8D D0 BD D0 B5 D1 80 2E 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9C D0 B0 D0 BB D0 B8 D0 BD D0 B0 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 38 00 00 00 F4 03 04 00 7D B3 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 12 B9 00 00 35 04 06 00 E9 D4 3D 04 30 A5 36 0B A1 2D A1 7A 51 74 [19:56:30]CheckFolder [19:56:30]dirname=/storage/ofd_packets [19:56:30]CheckFolder done [19:56:30]ProducePacketName [19:56:30]name=ofd_packets/00047378 [19:56:30]NVStorageSaveData ofd_packets/00047378 [19:56:30]File name is /storage/ofd_packets/00047378 [19:56:30]Write 335 bytes [19:56:30]NVStorageSaveData done [19:56:30]OFDSenderStorePacket done [19:56:30]KKMCreateOFDPacket done [19:56:30]NVStorageSaveData kkm_last_timestamp [19:56:30]File name is /storage/kkm_last_timestamp [19:56:30]Write 4 bytes [19:56:30]NVStorageSaveData done [19:56:30]ExternCall_PrintAddStr [19:56:30]wPrintStart [19:56:30]Write to MH i2c: 01 00 00 3C 5C 98 [19:56:30]Write i2c OK [19:56:30]MH_I2C_Read... [19:56:30]Read from MH i2c: 01 [19:56:30]MH_I2C_Read... [19:56:30]Read from MH i2c: 01 07 00 [19:56:30]MH_I2C_Read... [19:56:30]Read from MH i2c: 01 07 00 3C 5C 00 00 00 00 00 FF 0F AD [19:56:30]RasterBufferAndPrint [19:56:30]line Счет N : (3)242291 [19:56:30]line ИНН: 02508201610067 [19:56:30]line Контрольно-Кассовый Чек [19:56:30]line ПРОДАЖА [19:56:30]line Товар: 4607969940055 [19:56:30]line Bizon энер. напиток Малина [19:56:30]line 2.000 * 80.00 [19:56:30]line = 160.00 [19:56:30]line НДС 12% НСП 1% [19:56:30]line > о реализуемом товаре [19:56:30]line ИТОГО: 160.00 [19:56:30]line НСП 1% : 1.42 [19:56:30]line НДС 12% : 16.99 [19:56:30]line Наличными: 160.00 [19:56:30]line Безнал.: 0.00 [19:56:30]line Место: АЗС № 15 "Партнер Нефть" [19:56:30]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [19:56:30]line СНО: Общий режим [19:56:30]line Чек 56 12.03.2024 19:56 [19:56:30]line Смена: 314 ФФД: 1.0 [19:56:30]line ЗНМ: 0300000097 [19:56:30]line РНМ: 0000000000092018 [19:56:30]line Версия ККМ: 001 [19:56:30]line ФМ: 0000000000871816 [19:56:30]line ФД: 47378 [19:56:30]line ФПД: 257097766023333 [19:56:30]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T195645&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47378&fm=257097766023333&tin=02508201610067®Number=0000000000092018&sum=16000 [19:56:30]line 0 [19:56:30]OFD Sender: Processing packet 47378 [packets to send 8, broken 7] [19:56:30]ProducePacketName [19:56:30]name=ofd_packets/00047378 [19:56:30]OFD Sender: To server: pG, [19:56:30]CommunicateWithHost lk.salyk.kg:30040 [19:56:30]ConnectInit lk.salyk.kg [19:56:30]written 0, free lines is 4095 [19:56:30]Connected sock=10 [19:56: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 31 36 31 01 00 00 FE 46 29 01 6F 51 5A 03 01 00 03 00 1D 01 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 36 30 37 39 36 39 39 34 30 30 35 35 06 04 2B 00 42 69 7A 6F 6E 20 D1 8D D0 BD D0 B5 D1 80 2E 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9C D0 B0 D0 BB D0 B8 D0 BD D0 B0 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 38 00 00 00 F4 03 04 00 7D B3 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 12 B9 00 00 35 04 06 00 E9 D4 3D 04 30 A5 36 0B A1 2D A1 7A 51 74 [19:56: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 31 36 4F 00 00 00 DC F3 47 00 EE 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 31 36 10 04 04 00 12 B9 00 00 F4 03 04 00 0E 5E F0 65 B6 04 01 00 00 BF EF 74 2F 2C 26 94 31 [19:56:30]CommunicateWithHost err = 0 [19:56:30]CheckOFDResponse [19:56:30]1017 (14) - 77093643461234 [19:56:30]1041 (16) - 0000000000871816 [19:56:30]1040 (4) - 47378 [19:56:30]1012 (4) - 12.03.2024 13:52 [19:56:30]1206 (1) - 0 [19:56:30]OFD Sender: Remove packet 47378 [19:56:30]ProducePacketName [19:56:30]name=ofd_packets/00047378 [19:56:30]NVStorageDeleteData [19:56:30]Write to MH i2c: 01 00 00 64 5C C0 [19:56:30]Write i2c OK [19:56:30]MH_I2C_Read... [19:56:30]Read from MH i2c: 01 [19:56:30]MH_I2C_Read... [19:56:30]Read from MH i2c: 01 07 00 [19:56:30]MH_I2C_Read... [19:56:30]Read from MH i2c: 01 07 00 64 5C 00 00 00 00 00 F1 0C C4 [19:56:30]RasterBufferAndPrint [19:56:30]line [19:56:30]line [19:56:30]line [19:56:30]line [19:56:30]line [19:56:30]written 0, free lines is 3319 [19:56:31]MH_Cut [19:56:31]Write to MH i2c: D1 01 00 6B 5C 01 99 [19:56:31]Write i2c OK [19:56:31]MH_I2C_Read... [19:56:31]Read from MH i2c: D1 [19:56:31]MH_I2C_Read... [19:56:31]Read from MH i2c: D1 01 00 [19:56:31]MH_I2C_Read... [19:56:31]Read from MH i2c: D1 01 00 6B 5C 00 98 [19:56:31]Write to MH i2c: 01 00 00 6C 5C C8 [19:56:31]Write i2c OK [19:56:31]MH_I2C_Read... [19:56:31]OFD Sender: No OFD packet to send [19:56:31]*** Cut start [19:56:31]*** Purtial cut [19:56:31]*** Stage 1: CUTSNS_PIN = 1 [19:56:32]Read from MH i2c: 01 [19:56:32]MH_I2C_Read... [19:56:32]*** Stop cut motor [19:56:32]*** Cut end [19:56:32]Read from MH i2c: 01 07 00 [19:56:32]MH_I2C_Read... [19:56:32]Read from MH i2c: 01 07 00 6C 5C 00 00 00 00 00 FF 0F DD [19:56:32]process_action close_receipt done [19:56:32]requested_data is exist [19:56:32]produce_requested_data [19:56:32]requested_item fm.sn is exist - process it [19:56:32]wFMCommunicate request_size=4 [19:56:32]MH_SAM_APDU [19:56:32]CAPDU: 80 11 00 00 [19:56:32]Write to MH i2c: E2 08 00 6D 5C 80 11 00 00 00 00 00 00 43 [19:56:32]Write i2c OK [19:56:32]MH_I2C_Read... [19:56:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:56:32]Read from MH i2c: E2 [19:56:32]MH_I2C_Read... [19:56:32]Read from MH i2c: E2 17 00 [19:56:32]MH_I2C_Read... [19:56:32]Read from MH i2c: E2 17 00 6D 5C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 95 [19:56:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [19:56:32]wFMCommunicate OK [19:56:32]requested_item fd.num is exist - process it [19:56:32]SAM_PROTO_GetFieldsCounters [19:56:32]wFMCommunicate request_size=4 [19:56:32]MH_SAM_APDU [19:56:32]CAPDU: 80 13 00 00 [19:56:32]Write to MH i2c: E2 08 00 6E 5C 80 13 00 00 00 00 00 00 46 [19:56:32]Write i2c OK [19:56:32]MH_I2C_Read... [19:56:32]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:56:32]Read from MH i2c: E2 [19:56:32]MH_I2C_Read... [19:56:32]Read from MH i2c: E2 62 00 [19:56:32]MH_I2C_Read... [19:56:32]Read from MH i2c: E2 62 00 6E 5C 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 12 B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 38 00 00 00 5E 04 04 00 38 00 00 00 57 04 04 00 39 00 00 00 19 04 04 00 00 00 00 00 90 00 0F [19:56: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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 12 B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 38 00 00 00 5E 04 04 00 38 00 00 00 57 04 04 00 39 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:56:32]wFMCommunicate OK [19:56:32]SAM_PROTO_GetFieldsCounters done [19:56:32]requested_item shift.num is exist - process it [19:56:32]requested_item shift.opened is exist - process it [19:56:32]req_shift_opened [19:56:32]FM_GetShiftState [19:56:32]SAM_PROTO_GetShiftState [19:56:32]wFMCommunicate request_size=4 [19:56:32]MH_SAM_APDU [19:56:32]CAPDU: 80 13 01 00 [19:56:32]Write to MH i2c: E2 08 00 6F 5C 80 13 01 00 00 00 00 00 48 [19:56:32]Write i2c OK [19:56:32]MH_I2C_Read... [19:56:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:56:32]Read from MH i2c: E2 [19:56:32]MH_I2C_Read... [19:56:32]Read from MH i2c: E2 0E 00 [19:56:32]MH_I2C_Read... [19:56:32]Read from MH i2c: E2 0E 00 6F 5C 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 77 [19:56:32]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [19:56:32]wFMCommunicate OK [19:56:32]SAM_PROTO_GetShiftState done [19:56:32]FM_GetShiftState done [19:56:32]req_shift_opened done [19:56:32]requested_item shift.open_date is exist - process it [19:56:32]req_shift_open_date [19:56:32]req_shift_open_date done [19:56:32]produce_requested_data done [19:56:32]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47378,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [19:56:32]process_action_free close_receipt [19:56:32]json_value_free [19:56:32]json_value_free done [19:56:32]process_json_proto returns [19:56:32]Send response to host [19:56:32]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47378,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [19:56:32]free response buf [19:56:32]execute_script done [19:56:32]execute_script returns [19:56:32]free content buf [19:56:32]Sock 7.Close socket [19:56:32]Sock 7.Thread stoped [19:56:36]OFD Sender: No OFD packet to send [19:56:41]OFD Sender: No OFD packet to send [19:56:46]OFD Sender: No OFD packet to send [19:56:51]OFD Sender: No OFD packet to send [19:56:56]OFD Sender: No OFD packet to send [19:56:59]int [19:56:59]Write to MH i2c: 01 00 00 70 5C CC [19:56:59]*** FLAG_PRN_KEY set [19:56:59]Write i2c OK [19:56:59]MH_I2C_Read... [19:56:59]Read from MH i2c: 01 [19:56:59]MH_I2C_Read... [19:56:59]Read from MH i2c: 01 07 00 [19:56:59]MH_I2C_Read... [19:56:59]Read from MH i2c: 01 07 00 70 5C 00 08 00 00 00 FF 0F E9 [19:56:59]state=0 [19:56:59]Key pressed [19:56:59]Feed [19:56:59]Write to MH i2c: D8 00 00 71 5C A4 [19:56:59]Write i2c OK [19:56:59]MH_I2C_Read... [19:56:59]Read from MH i2c: D8 [19:56:59]MH_I2C_Read... [19:56:59]Read from MH i2c: D8 01 00 [19:56:59]MH_I2C_Read... [19:56:59]Read from MH i2c: D8 01 00 71 5C 00 A5 [19:56:59]int [19:56:59]Write to MH i2c: 01 00 00 72 5C CE [19:56:59]Write i2c OK [19:56:59]MH_I2C_Read... [19:56:59]Read from MH i2c: 01 [19:56:59]MH_I2C_Read... [19:56:59]Read from MH i2c: 01 07 00 [19:56:59]MH_I2C_Read... [19:56:59]Read from MH i2c: 01 07 00 72 5C 00 48 00 00 00 3C 00 59 [19:56:59]state=2 [19:56:59]Key pressed [19:57:00]int [19:57:00]Write to MH i2c: 01 00 00 73 5C CF [19:57:00]*** FLAG_PRN_KEY reset [19:57:00]Write i2c OK [19:57:00]MH_I2C_Read... [19:57:00]Read from MH i2c: 01 [19:57:00]MH_I2C_Read... [19:57:00]Read from MH i2c: 01 07 00 [19:57:00]MH_I2C_Read... [19:57:00]Read from MH i2c: 01 07 00 73 5C 00 00 00 00 00 F6 0F DB [19:57:00]state=2 [19:57:00]Stop feed [19:57:01]OFD Sender: No OFD packet to send [19:57:06]OFD Sender: No OFD packet to send [19:57:11]OFD Sender: No OFD packet to send [19:57:16]OFD Sender: No OFD packet to send [19:57:21]OFD Sender: No OFD packet to send [19:57:26]OFD Sender: No OFD packet to send [19:57:31]OFD Sender: No OFD packet to send [19:57:36]OFD Sender: No OFD packet to send [19:57:41]OFD Sender: No OFD packet to send [19:57:46]OFD Sender: No OFD packet to send [19:57:51]OFD Sender: No OFD packet to send [19:57:56]OFD Sender: No OFD packet to send [19:58:01]OFD Sender: No OFD packet to send [19:58:06]OFD Sender: No OFD packet to send [19:58:11]OFD Sender: No OFD packet to send [19:58:16]OFD Sender: No OFD packet to send [19:58:21]OFD Sender: No OFD packet to send [19:58:26]OFD Sender: No OFD packet to send [19:58:31]OFD Sender: No OFD packet to send [19:58:36]OFD Sender: No OFD packet to send [19:58:41]OFD Sender: No OFD packet to send [19:58:46]OFD Sender: No OFD packet to send [19:58:51]OFD Sender: No OFD packet to send [19:58:56]OFD Sender: No OFD packet to send [19:58:59]accept exits with 9 [19:58:59]New connection [19:58:59]New thread 3066596708 created [19:58:59]Thread 3066453348 joined [19:58:59]Waiting for new connection... [19:58:59] Sock 9.Parse request [19:58:59]Sock 9.Check first char [19:58:59]Sock 9.First char is OK [19:58:59]request: POST /json_proto HTTP/1.0 [19:58:59]Method: POST [19:58:59]URL: /json_proto [19:58:59]Method is POST - this is cgi request [19:58:59]url: /json_proto [19:58:59]query_string will be loaded in cgi processing [19:58:59]execute_cgi json_proto POST (null) [19:58:59]execute_cgi path=json_proto method=POST [19:58:59]POST find Content-Length [19:58:59]Host: 172.17.32.68:8080 [19:58:59]Content-Length: 829 [19:58:59]Content-Type: application/json [19:58:59] [19:58:59]POST finish read [19:58:59]Found Content-Length = 829 [19:58:59]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242292", "tax_sys" : 0, "items" : [ { "code": "5449000006271", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0424\u0430\u043D\u0442\u0430 1\u043B", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0414\u0435\u043C\u0438\u0440 \u041A\u0418 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:58:59]execute_script... [19:58:59]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242292", "tax_sys" : 0, "items" : [ { "code": "5449000006271", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0424\u0430\u043D\u0442\u0430 1\u043B", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0414\u0435\u043C\u0438\u0440 \u041A\u0418 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:58:59]POST & json_proto [19:58:59]process_json_proto [19:58:59]json parsed OK: [19:58:59]protocol is kg_v1.0 [19:58:59]action value=close_receipt [19:58:59]process_action close_receipt [19:58:59]cmd_close_receipt [19:58:59]MH_GetDate [19:58:59]Write to MH i2c: F0 00 00 74 5C BF [19:58:59]Write i2c OK [19:58:59]MH_I2C_Read... [19:58:59]Read from MH i2c: F0 [19:58:59]MH_I2C_Read... [19:58:59]Read from MH i2c: F0 09 00 [19:58:59]MH_I2C_Read... [19:58:59]Read from MH i2c: F0 09 00 74 5C 00 14 B4 F0 65 0A 64 6E 65 26 [19:58:59]GetLastDocTimeStamp 1710273405 [19:58:59]current date 1710273556 [19:58:59]FM_GetShiftState [19:58:59]SAM_PROTO_GetShiftState [19:58:59]wFMCommunicate request_size=4 [19:58:59]MH_SAM_APDU [19:58:59]CAPDU: 80 13 01 00 [19:58:59]Write to MH i2c: E2 08 00 75 5C 80 13 01 00 00 00 00 00 4E [19:58:59]Write i2c OK [19:58:59]MH_I2C_Read... [19:58:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:58:59]Read from MH i2c: E2 [19:58:59]MH_I2C_Read... [19:58:59]Read from MH i2c: E2 0E 00 [19:58:59]MH_I2C_Read... [19:58:59]Read from MH i2c: E2 0E 00 75 5C 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 7D [19:58:59]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [19:58:59]wFMCommunicate OK [19:58:59]SAM_PROTO_GetShiftState done [19:58:59]FM_GetShiftState done [19:58:59]opened in 1710202417 [19:58:59]opened+sec_in_day 1710288817 [19:58:59]quantity*price = 12500 [19:58:59]sum+1 = 12501 [19:58:59]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 125.00 НСП 1% : 1.11 НДС 12% : 13.27 Наличными: 0.00 Безнал.: 125.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 57 12.03.2024 19:59 Смена: 314 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 Платежная система: Демир КИ Банк ФМ: 0000000000871816 ФД: 47379 ФПД: 226769894654024 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T195916&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47379&fm=226769894654024&tin=02508201610067®Number=0000000000092018&sum=12500 0 [19:59:00]StoreToDocumentArchive [19:59:00]shift 314 fd 47379 [19:59:00]save to /storage/0314/doc_00047379 [19:59:00]save last doc name /storage/0314/doc_00047379 to /storage/kkm_last_doc_name [19:59:00]save OK [19:59:00]Clear old archive folders... [19:59:00]ProcessDocumentItem done err = 0, tmpTLVsize=271 [19:59:00]tlvbuf is 0042A5D0 [19:59:00]SAM_PROTO_ClearQueue [19:59:00]wFMCommunicate request_size=4 [19:59:00]MH_SAM_APDU [19:59:00]CAPDU: 80 09 00 00 [19:59:00]Write to MH i2c: E2 08 00 82 5C 80 09 00 00 00 00 00 00 50 [19:59:00]Write i2c OK [19:59:00]MH_I2C_Read... [19:59:00]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:59:00]Read from MH i2c: E2 [19:59:00]MH_I2C_Read... [19:59:00]Read from MH i2c: E2 03 00 [19:59:00]MH_I2C_Read... [19:59:00]Read from MH i2c: E2 03 00 82 5C 00 90 00 52 [19:59:00]RAPDU: 90 00 [19:59:00]wFMCommunicate OK [19:59:00]SAM_PROTO_ClearQueue done [19:59:00]KKMCreateOFDPacket [19:59:00]OFDProtocolAddRootSTLVToBuf [19:59:00]FM_MakeSignedData [19:59:00]FM_MakeSignedData [19:59:00]SAM_PROTO_SignData [19:59:00]wFMCommunicate request_size=4 [19:59:00]MH_SAM_APDU [19:59:00]CAPDU: 80 0D 01 02 [19:59:00]Write to MH i2c: E2 08 00 83 5C 80 0D 01 02 00 00 00 00 58 [19:59:00]Write i2c OK [19:59:00]MH_I2C_Read... [19:59:00]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:59:00]Read from MH i2c: E2 [19:59:00]MH_I2C_Read... [19:59:00]Read from MH i2c: E2 03 00 [19:59:00]MH_I2C_Read... [19:59:00]Read from MH i2c: E2 03 00 83 5C 00 90 00 53 [19:59:00]RAPDU: 90 00 [19:59:00]wFMCommunicate OK [19:59:00]wFMCommunicate request_size=255 [19:59:00]MH_SAM_APDU [19:59:00]CAPDU: 80 0D 02 02 FA 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 36 32 37 31 06 04 1D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 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 39 00 00 00 F4 03 04 00 14 B4 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 [19:59:00]Write to MH i2c: E2 02 01 84 5C 80 0D 02 02 FA 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 36 32 37 31 06 04 1D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 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 39 00 00 00 F4 03 04 00 14 B4 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 00 00 E9 [19:59:00]Write i2c OK [19:59:00]MH_I2C_Read... [19:59:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:59:01]Read from MH i2c: E2 [19:59:01]MH_I2C_Read... [19:59:01]Read from MH i2c: E2 03 00 [19:59:01]MH_I2C_Read... [19:59:01]Read from MH i2c: E2 03 00 84 5C 00 90 00 54 [19:59:01]RAPDU: 90 00 [19:59:01]wFMCommunicate OK [19:59:01]wFMCommunicate request_size=30 [19:59:01]MH_SAM_APDU [19:59:01]CAPDU: 80 0D 02 02 19 30 38 37 31 38 31 36 10 04 04 00 13 B9 00 00 35 04 06 00 CE 3E FB 04 40 48 [19:59:01]Write to MH i2c: E2 21 00 85 5C 80 0D 02 02 19 00 30 38 37 31 38 31 36 10 04 04 00 13 B9 00 00 35 04 06 00 CE 3E FB 04 40 48 00 00 B2 [19:59:01]Write i2c OK [19:59:01]MH_I2C_Read... [19:59:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:59:01]Read from MH i2c: E2 [19:59:01]MH_I2C_Read... [19:59:01]Read from MH i2c: E2 03 00 [19:59:01]MH_I2C_Read... [19:59:01]Read from MH i2c: E2 03 00 85 5C 00 90 00 55 [19:59:01]RAPDU: 90 00 [19:59:01]wFMCommunicate OK [19:59:01]wFMCommunicate request_size=4 [19:59:01]MH_SAM_APDU [19:59:01]CAPDU: 80 0D 03 02 [19:59:01]Write to MH i2c: E2 08 00 86 5C 80 0D 03 02 00 00 00 00 5D [19:59:01]Write i2c OK [19:59:01]MH_I2C_Read... [19:59:01]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:59:01]Read from MH i2c: E2 [19:59:01]MH_I2C_Read... [19:59:01]Read from MH i2c: E2 0B 00 [19:59:01]MH_I2C_Read... [19:59:01]Read from MH i2c: E2 0B 00 86 5C 00 89 8A CB C4 33 D7 2E 96 90 00 CE [19:59:01]RAPDU: 89 8A CB C4 33 D7 2E 96 90 00 [19:59:01]wFMCommunicate OK [19:59:01]SAM_PROTO_SignData done [19:59:01]FM_MakeSignedData done [19:59:01]CreateOFDProtocolMessage [19:59:01]wFMCommunicate request_size=4 [19:59:01]MH_SAM_APDU [19:59:01]CAPDU: 80 11 00 00 [19:59:01]Write to MH i2c: E2 08 00 87 5C 80 11 00 00 00 00 00 00 5D [19:59:01]Write i2c OK [19:59:01]MH_I2C_Read... [19:59:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:59:01]Read from MH i2c: E2 [19:59:01]MH_I2C_Read... [19:59:01]Read from MH i2c: E2 17 00 [19:59:01]MH_I2C_Read... [19:59:01]Read from MH i2c: E2 17 00 87 5C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 AF [19:59:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [19:59:01]wFMCommunicate OK [19:59:01]CreateOFDProtocolMessage done [19:59:01]OFDSenderStorePacket 47379 [19:59:01]StoreOFDPacket docnum=47379 [19:59:01]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 23 01 00 00 5E F1 1B 01 65 98 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 36 32 37 31 06 04 1D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 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 39 00 00 00 F4 03 04 00 14 B4 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 13 B9 00 00 35 04 06 00 CE 3E FB 04 40 48 89 8A CB C4 33 D7 2E 96 [19:59:01]CheckFolder [19:59:01]dirname=/storage/ofd_packets [19:59:01]CheckFolder done [19:59:01]ProducePacketName [19:59:01]name=ofd_packets/00047379 [19:59:01]NVStorageSaveData ofd_packets/00047379 [19:59:01]File name is /storage/ofd_packets/00047379 [19:59:01]Write 321 bytes [19:59:01]NVStorageSaveData done [19:59:01]OFDSenderStorePacket done [19:59:01]KKMCreateOFDPacket done [19:59:01]NVStorageSaveData kkm_last_timestamp [19:59:01]File name is /storage/kkm_last_timestamp [19:59:01]Write 4 bytes [19:59:01]NVStorageSaveData done [19:59:01]ExternCall_PrintAddStr [19:59:01]wPrintStart [19:59:01]Write to MH i2c: 01 00 00 88 5C E4 [19:59:01]Write i2c OK [19:59:01]MH_I2C_Read... [19:59:01]Read from MH i2c: 01 [19:59:01]MH_I2C_Read... [19:59:01]Read from MH i2c: 01 07 00 [19:59:01]MH_I2C_Read... [19:59:01]Read from MH i2c: 01 07 00 88 5C 00 00 00 00 00 FF 0F F9 [19:59:01]RasterBufferAndPrint [19:59:01]line Счет N : (3)242292 [19:59:01]line ИНН: 02508201610067 [19:59:01]line Контрольно-Кассовый Чек [19:59:01]line ПРОДАЖА [19:59:01]line Товар: 5449000006271 [19:59:01]line Напиток Фанта 1л [19:59:01]line 1.000 * 125.00 [19:59:01]line = 125.00 [19:59:01]line НДС 12% НСП 1% [19:59:01]line > о реализуемом товаре [19:59:01]line ИТОГО: 125.00 [19:59:01]line НСП 1% : 1.11 [19:59:01]line НДС 12% : 13.27 [19:59:01]line Наличными: 0.00 [19:59:01]line Безнал.: 125.00 [19:59:01]line Место: АЗС № 15 "Партнер Нефть" [19:59:01]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [19:59:01]line СНО: Общий режим [19:59:01]line Чек 57 12.03.2024 19:59 [19:59:01]line Смена: 314 ФФД: 1.0 [19:59:01]line ЗНМ: 0300000097 [19:59:01]line РНМ: 0000000000092018 [19:59:01]line Версия ККМ: 001 [19:59:01]line Платежная система: Демир КИ Банк [19:59:01]line ФМ: 0000000000871816 [19:59:01]line ФД: 47379 [19:59:01]line ФПД: 226769894654024 [19:59:01]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T195916&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47379&fm=226769894654024&tin=02508201610067®Number=0000000000092018&sum=12500 [19:59:01]line 0 [19:59:01]OFD Sender: Processing packet 47379 [packets to send 8, broken 7] [19:59:01]ProducePacketName [19:59:01]name=ofd_packets/00047379 [19:59:01]OFD Sender: To server: pG, [19:59:01]CommunicateWithHost lk.salyk.kg:30040 [19:59:01]ConnectInit lk.salyk.kg [19:59:01]written 0, free lines is 4095 [19:59:01]Connected sock=10 [19:59:01]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 31 36 23 01 00 00 5E F1 1B 01 65 98 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 36 32 37 31 06 04 1D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 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 39 00 00 00 F4 03 04 00 14 B4 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 13 B9 00 00 35 04 06 00 CE 3E FB 04 40 48 89 8A CB C4 33 D7 2E 96 [19:59:01]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 9F 54 47 00 AE A8 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 31 36 10 04 04 00 13 B9 00 00 F4 03 04 00 A5 5E F0 65 B6 04 01 00 00 F2 8E FD 7E E8 0C CE B9 [19:59:01]CommunicateWithHost err = 0 [19:59:01]CheckOFDResponse [19:59:01]1017 (14) - 77093643461234 [19:59:01]1041 (16) - 0000000000871816 [19:59:01]1040 (4) - 47379 [19:59:01]1012 (4) - 12.03.2024 13:54 [19:59:01]1206 (1) - 0 [19:59:01]OFD Sender: Remove packet 47379 [19:59:01]ProducePacketName [19:59:01]name=ofd_packets/00047379 [19:59:01]NVStorageDeleteData [19:59:02]Write to MH i2c: 01 00 00 B2 5C 0E [19:59:02]Write i2c OK [19:59:02]MH_I2C_Read... [19:59:02]Read from MH i2c: 01 [19:59:02]MH_I2C_Read... [19:59:02]Read from MH i2c: 01 07 00 [19:59:02]MH_I2C_Read... [19:59:02]Read from MH i2c: 01 07 00 B2 5C 00 00 00 00 00 F7 0C 18 [19:59:02]RasterBufferAndPrint [19:59:02]line [19:59:02]line [19:59:02]line [19:59:02]line [19:59:02]line [19:59:02]written 0, free lines is 3326 [19:59:02]MH_Cut [19:59:02]Write to MH i2c: D1 01 00 B9 5C 01 E7 [19:59:02]Write i2c OK [19:59:02]MH_I2C_Read... [19:59:02]Read from MH i2c: D1 [19:59:02]MH_I2C_Read... [19:59:02]Read from MH i2c: D1 01 00 [19:59:02]MH_I2C_Read... [19:59:02]Read from MH i2c: D1 01 00 B9 5C 00 E6 [19:59:02]Write to MH i2c: 01 00 00 BA 5C 16 [19:59:02]Write i2c OK [19:59:02]MH_I2C_Read... [19:59:02]OFD Sender: No OFD packet to send [19:59:02]*** Cut start [19:59:02]*** Purtial cut [19:59:02]*** Stage 1: CUTSNS_PIN = 1 [19:59:03]Read from MH i2c: 01 [19:59:03]MH_I2C_Read... [19:59:03]*** Stop cut motor [19:59:03]*** Cut end [19:59:03]Read from MH i2c: 01 07 00 [19:59:03]MH_I2C_Read... [19:59:03]Read from MH i2c: 01 07 00 BA 5C 00 00 00 00 00 FF 0F 2B [19:59:03]process_action close_receipt done [19:59:03]requested_data is exist [19:59:03]produce_requested_data [19:59:03]requested_item fm.sn is exist - process it [19:59:03]wFMCommunicate request_size=4 [19:59:03]MH_SAM_APDU [19:59:03]CAPDU: 80 11 00 00 [19:59:03]Write to MH i2c: E2 08 00 BB 5C 80 11 00 00 00 00 00 00 91 [19:59:03]Write i2c OK [19:59:03]MH_I2C_Read... [19:59:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:59:03]Read from MH i2c: E2 [19:59:03]MH_I2C_Read... [19:59:03]Read from MH i2c: E2 17 00 [19:59:03]MH_I2C_Read... [19:59:03]Read from MH i2c: E2 17 00 BB 5C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 E3 [19:59:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [19:59:03]wFMCommunicate OK [19:59:03]requested_item fd.num is exist - process it [19:59:03]SAM_PROTO_GetFieldsCounters [19:59:03]wFMCommunicate request_size=4 [19:59:03]MH_SAM_APDU [19:59:03]CAPDU: 80 13 00 00 [19:59:03]Write to MH i2c: E2 08 00 BC 5C 80 13 00 00 00 00 00 00 94 [19:59:03]Write i2c OK [19:59:03]MH_I2C_Read... [19:59:03]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:59:03]Read from MH i2c: E2 [19:59:03]MH_I2C_Read... [19:59:03]Read from MH i2c: E2 62 00 [19:59:03]MH_I2C_Read... [19:59:03]Read from MH i2c: E2 62 00 BC 5C 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 13 B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 39 00 00 00 5E 04 04 00 39 00 00 00 57 04 04 00 3A 00 00 00 19 04 04 00 00 00 00 00 90 00 61 [19:59:03]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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 13 B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 39 00 00 00 5E 04 04 00 39 00 00 00 57 04 04 00 3A 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:59:03]wFMCommunicate OK [19:59:03]SAM_PROTO_GetFieldsCounters done [19:59:03]requested_item shift.num is exist - process it [19:59:03]requested_item shift.opened is exist - process it [19:59:03]req_shift_opened [19:59:03]FM_GetShiftState [19:59:03]SAM_PROTO_GetShiftState [19:59:03]wFMCommunicate request_size=4 [19:59:03]MH_SAM_APDU [19:59:03]CAPDU: 80 13 01 00 [19:59:03]Write to MH i2c: E2 08 00 BD 5C 80 13 01 00 00 00 00 00 96 [19:59:03]Write i2c OK [19:59:03]MH_I2C_Read... [19:59:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:59:03]Read from MH i2c: E2 [19:59:03]MH_I2C_Read... [19:59:03]Read from MH i2c: E2 0E 00 [19:59:03]MH_I2C_Read... [19:59:03]Read from MH i2c: E2 0E 00 BD 5C 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 C5 [19:59:03]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [19:59:03]wFMCommunicate OK [19:59:03]SAM_PROTO_GetShiftState done [19:59:03]FM_GetShiftState done [19:59:03]req_shift_opened done [19:59:03]requested_item shift.open_date is exist - process it [19:59:03]req_shift_open_date [19:59:03]req_shift_open_date done [19:59:03]produce_requested_data done [19:59:03]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47379,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [19:59:03]process_action_free close_receipt [19:59:03]json_value_free [19:59:03]json_value_free done [19:59:03]process_json_proto returns [19:59:03]Send response to host [19:59:03]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47379,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [19:59:03]free response buf [19:59:03]execute_script done [19:59:03]execute_script returns [19:59:03]free content buf [19:59:03]Sock 9.Close socket [19:59:03]Sock 9.Thread stoped [19:59:07]OFD Sender: No OFD packet to send [19:59:12]OFD Sender: No OFD packet to send [19:59:17]OFD Sender: No OFD packet to send [19:59:22]OFD Sender: No OFD packet to send [19:59:27]OFD Sender: No OFD packet to send [19:59:32]OFD Sender: No OFD packet to send [19:59:37]OFD Sender: No OFD packet to send [19:59:42]OFD Sender: No OFD packet to send [19:59:47]OFD Sender: No OFD packet to send [19:59:52]OFD Sender: No OFD packet to send [19:59:57]OFD Sender: No OFD packet to send [20:00:02]OFD Sender: No OFD packet to send [20:00:07]OFD Sender: No OFD packet to send [20:00:12]OFD Sender: No OFD packet to send [20:00:17]OFD Sender: No OFD packet to send [20:00:22]OFD Sender: No OFD packet to send [20:00:27]OFD Sender: No OFD packet to send [20:00:32]OFD Sender: No OFD packet to send [20:00:37]OFD Sender: No OFD packet to send [20:00:42]OFD Sender: No OFD packet to send [20:00:47]OFD Sender: No OFD packet to send [20:00:52]OFD Sender: No OFD packet to send [20:00:57]OFD Sender: No OFD packet to send [20:01:02]OFD Sender: No OFD packet to send [20:01:07]OFD Sender: No OFD packet to send [20:01:12]OFD Sender: No OFD packet to send [20:01:17]OFD Sender: No OFD packet to send [20:01:22]OFD Sender: No OFD packet to send [20:01:27]OFD Sender: No OFD packet to send [20:01:32]OFD Sender: No OFD packet to send [20:01:37]OFD Sender: No OFD packet to send [20:01:42]OFD Sender: No OFD packet to send [20:01:47]OFD Sender: No OFD packet to send [20:01:52]OFD Sender: No OFD packet to send [20:01:57]OFD Sender: No OFD packet to send [20:02:02]OFD Sender: No OFD packet to send [20:02:07]OFD Sender: No OFD packet to send [20:02:12]OFD Sender: No OFD packet to send [20:02:17]OFD Sender: No OFD packet to send [20:02:22]OFD Sender: No OFD packet to send [20:02:27]OFD Sender: No OFD packet to send [20:02:32]OFD Sender: No OFD packet to send [20:02:37]OFD Sender: No OFD packet to send [20:02:42]OFD Sender: No OFD packet to send [20:02:47]OFD Sender: No OFD packet to send [20:02:52]OFD Sender: No OFD packet to send [20:02:57]OFD Sender: No OFD packet to send [20:03:02]OFD Sender: No OFD packet to send [20:03:07]OFD Sender: No OFD packet to send [20:03:12]OFD Sender: No OFD packet to send [20:03:17]OFD Sender: No OFD packet to send [20:03:22]OFD Sender: No OFD packet to send [20:03:27]OFD Sender: No OFD packet to send [20:03:32]OFD Sender: No OFD packet to send [20:03:37]OFD Sender: No OFD packet to send [20:03:42]OFD Sender: No OFD packet to send [20:03:47]OFD Sender: No OFD packet to send [20:03:52]OFD Sender: No OFD packet to send [20:03:57]OFD Sender: No OFD packet to send [20:04:02]OFD Sender: No OFD packet to send [20:04:07]OFD Sender: No OFD packet to send [20:04:12]OFD Sender: No OFD packet to send [20:04:17]OFD Sender: No OFD packet to send [20:04:22]OFD Sender: No OFD packet to send [20:04:27]OFD Sender: No OFD packet to send [20:04:32]OFD Sender: No OFD packet to send [20:04:37]OFD Sender: No OFD packet to send [20:04:42]OFD Sender: No OFD packet to send [20:04:47]OFD Sender: No OFD packet to send [20:04:52]OFD Sender: No OFD packet to send [20:04:57]OFD Sender: No OFD packet to send [20:05:02]OFD Sender: No OFD packet to send [20:05:07]OFD Sender: No OFD packet to send [20:05:12]OFD Sender: No OFD packet to send [20:05:17]OFD Sender: No OFD packet to send [20:05:22]OFD Sender: No OFD packet to send [20:05:27]OFD Sender: No OFD packet to send [20:05:32]OFD Sender: No OFD packet to send [20:05:37]OFD Sender: No OFD packet to send [20:05:42]OFD Sender: No OFD packet to send [20:05:47]OFD Sender: No OFD packet to send [20:05:52]OFD Sender: No OFD packet to send [20:05:57]OFD Sender: No OFD packet to send [20:06:02]OFD Sender: No OFD packet to send [20:06:07]OFD Sender: No OFD packet to send [20:06:12]OFD Sender: No OFD packet to send [20:06:17]OFD Sender: No OFD packet to send [20:06:22]OFD Sender: No OFD packet to send [20:06:27]OFD Sender: No OFD packet to send [20:06:32]OFD Sender: No OFD packet to send [20:06:37]OFD Sender: No OFD packet to send [20:06:42]OFD Sender: No OFD packet to send [20:06:47]OFD Sender: No OFD packet to send [20:06:52]OFD Sender: No OFD packet to send [20:06:57]OFD Sender: No OFD packet to send [20:07:02]OFD Sender: No OFD packet to send [20:07:07]OFD Sender: No OFD packet to send [20:07:12]OFD Sender: No OFD packet to send [20:07:17]OFD Sender: No OFD packet to send [20:07:22]OFD Sender: No OFD packet to send [20:07:27]OFD Sender: No OFD packet to send [20:07:32]OFD Sender: No OFD packet to send [20:07:37]OFD Sender: No OFD packet to send [20:07:42]OFD Sender: No OFD packet to send [20:07:47]OFD Sender: No OFD packet to send [20:07:52]OFD Sender: No OFD packet to send [20:07:57]OFD Sender: No OFD packet to send [20:08:02]OFD Sender: No OFD packet to send [20:08:07]OFD Sender: No OFD packet to send [20:08:12]OFD Sender: No OFD packet to send [20:08:17]OFD Sender: No OFD packet to send [20:08:22]OFD Sender: No OFD packet to send [20:08:27]OFD Sender: No OFD packet to send [20:08:32]OFD Sender: No OFD packet to send [20:08:37]OFD Sender: No OFD packet to send [20:08:42]OFD Sender: No OFD packet to send [20:08:47]OFD Sender: No OFD packet to send [20:08:52]OFD Sender: No OFD packet to send [20:08:57]OFD Sender: No OFD packet to send [20:09:02]OFD Sender: No OFD packet to send [20:09:07]OFD Sender: No OFD packet to send [20:09:12]OFD Sender: No OFD packet to send [20:09:17]OFD Sender: No OFD packet to send [20:09:22]OFD Sender: No OFD packet to send [20:09:27]OFD Sender: No OFD packet to send [20:09:32]OFD Sender: No OFD packet to send [20:09:37]OFD Sender: No OFD packet to send [20:09:42]OFD Sender: No OFD packet to send [20:09:47]OFD Sender: No OFD packet to send [20:09:52]OFD Sender: No OFD packet to send [20:09:57]OFD Sender: No OFD packet to send [20:10:02]OFD Sender: No OFD packet to send [20:10:07]OFD Sender: No OFD packet to send [20:10:12]OFD Sender: No OFD packet to send [20:10:17]OFD Sender: No OFD packet to send [20:10:22]OFD Sender: No OFD packet to send [20:10:27]OFD Sender: No OFD packet to send [20:10:32]OFD Sender: No OFD packet to send [20:10:37]OFD Sender: No OFD packet to send [20:10:42]OFD Sender: No OFD packet to send [20:10:47]OFD Sender: No OFD packet to send [20:10:52]OFD Sender: No OFD packet to send [20:10:57]OFD Sender: No OFD packet to send [20:11:02]OFD Sender: No OFD packet to send [20:11:07]OFD Sender: No OFD packet to send [20:11:12]OFD Sender: No OFD packet to send [20:11:17]OFD Sender: No OFD packet to send [20:11:22]OFD Sender: No OFD packet to send [20:11:27]OFD Sender: No OFD packet to send [20:11:32]OFD Sender: No OFD packet to send [20:11:37]OFD Sender: No OFD packet to send [20:11:42]OFD Sender: No OFD packet to send [20:11:47]OFD Sender: No OFD packet to send [20:11:52]OFD Sender: No OFD packet to send [20:11:57]OFD Sender: No OFD packet to send [20:12:02]OFD Sender: No OFD packet to send [20:12:07]OFD Sender: No OFD packet to send [20:12:12]OFD Sender: No OFD packet to send [20:12:17]OFD Sender: No OFD packet to send [20:12:22]OFD Sender: No OFD packet to send [20:12:27]OFD Sender: No OFD packet to send [20:12:32]OFD Sender: No OFD packet to send [20:12:37]OFD Sender: No OFD packet to send [20:12:42]OFD Sender: No OFD packet to send [20:12:47]OFD Sender: No OFD packet to send [20:12:52]OFD Sender: No OFD packet to send [20:12:57]OFD Sender: No OFD packet to send [20:13:02]OFD Sender: No OFD packet to send [20:13:07]OFD Sender: No OFD packet to send [20:13:12]OFD Sender: No OFD packet to send [20:13:17]OFD Sender: No OFD packet to send [20:13:23]OFD Sender: No OFD packet to send [20:13:28]OFD Sender: No OFD packet to send [20:13:33]OFD Sender: No OFD packet to send [20:13:38]OFD Sender: No OFD packet to send [20:13:43]OFD Sender: No OFD packet to send [20:13:48]OFD Sender: No OFD packet to send [20:13:53]OFD Sender: No OFD packet to send [20:13:58]OFD Sender: No OFD packet to send [20:14:03]OFD Sender: No OFD packet to send [20:14:08]OFD Sender: No OFD packet to send [20:14:13]OFD Sender: No OFD packet to send [20:14:18]OFD Sender: No OFD packet to send [20:14:23]OFD Sender: No OFD packet to send [20:14:28]OFD Sender: No OFD packet to send [20:14:33]OFD Sender: No OFD packet to send [20:14:36]accept exits with 7 [20:14:36]New connection [20:14:36]New thread 3066453348 created [20:14:36]Thread 3066596708 joined [20:14:36]Waiting for new connection... [20:14:36] Sock 7.Parse request [20:14:36]Sock 7.Check first char [20:14:36]Sock 7.First char is OK [20:14:36]request: POST /json_proto HTTP/1.0 [20:14:36]Method: POST [20:14:36]URL: /json_proto [20:14:36]Method is POST - this is cgi request [20:14:36]url: /json_proto [20:14:36]query_string will be loaded in cgi processing [20:14:36]execute_cgi json_proto POST (null) [20:14:36]execute_cgi path=json_proto method=POST [20:14:36]POST find Content-Length [20:14:36]Host: 172.17.32.68:8080 [20:14:36]Content-Length: 656 [20:14:36]Content-Type: application/json [20:14:36] [20:14:36]POST finish read [20:14:36]Found Content-Length = 656 [20:14:36]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242293", "tax_sys" : 0, "items" : [ { "code": "2000034250011", "name": "\u0413\u043E\u0440\u044F\u0447\u0438\u0439 \u0448\u043E\u043A\u043E\u043B\u0430\u0434 (GABB trade)", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 120.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:14:36]execute_script... [20:14:36]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242293", "tax_sys" : 0, "items" : [ { "code": "2000034250011", "name": "\u0413\u043E\u0440\u044F\u0447\u0438\u0439 \u0448\u043E\u043A\u043E\u043B\u0430\u0434 (GABB trade)", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 120.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:14:36]POST & json_proto [20:14:36]process_json_proto [20:14:36]json parsed OK: [20:14:36]protocol is kg_v1.0 [20:14:36]action value=close_receipt [20:14:36]process_action close_receipt [20:14:36]cmd_close_receipt [20:14:36]MH_GetDate [20:14:36]Write to MH i2c: F0 00 00 BE 5C 09 [20:14:36]Write i2c OK [20:14:36]MH_I2C_Read... [20:14:36]Read from MH i2c: F0 [20:14:36]MH_I2C_Read... [20:14:36]Read from MH i2c: F0 09 00 [20:14:36]MH_I2C_Read... [20:14:36]Read from MH i2c: F0 09 00 BE 5C 00 BD B7 F0 65 0A 64 6E 65 1C [20:14:36]GetLastDocTimeStamp 1710273556 [20:14:36]current date 1710274493 [20:14:36]FM_GetShiftState [20:14:36]SAM_PROTO_GetShiftState [20:14:36]wFMCommunicate request_size=4 [20:14:36]MH_SAM_APDU [20:14:36]CAPDU: 80 13 01 00 [20:14:36]Write to MH i2c: E2 08 00 BF 5C 80 13 01 00 00 00 00 00 98 [20:14:36]Write i2c OK [20:14:36]MH_I2C_Read... [20:14:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:14:36]Read from MH i2c: E2 [20:14:36]MH_I2C_Read... [20:14:36]Read from MH i2c: E2 0E 00 [20:14:36]MH_I2C_Read... [20:14:36]Read from MH i2c: E2 0E 00 BF 5C 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 C7 [20:14:36]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [20:14:36]wFMCommunicate OK [20:14:36]SAM_PROTO_GetShiftState done [20:14:36]FM_GetShiftState done [20:14:36]opened in 1710202417 [20:14:36]opened+sec_in_day 1710288817 [20:14:36]quantity*price = 12000 [20:14:36]sum+1 = 12001 [20:14:36]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 120.00 НСП 1% : 1.06 НДС 12% : 12.74 Наличными: 120.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 58 12.03.2024 20:14 Смена: 314 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47380 ФПД: 222573910250643 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T201453&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47380&fm=222573910250643&tin=02508201610067®Number=0000000000092018&sum=12000 0 [20:14:37]StoreToDocumentArchive [20:14:37]shift 314 fd 47380 [20:14:37]save to /storage/0314/doc_00047380 [20:14:37]save last doc name /storage/0314/doc_00047380 to /storage/kkm_last_doc_name [20:14:37]save OK [20:14:37]Clear old archive folders... [20:14:37]ProcessDocumentItem done err = 0, tmpTLVsize=284 [20:14:37]tlvbuf is 00397170 [20:14:37]SAM_PROTO_ClearQueue [20:14:37]wFMCommunicate request_size=4 [20:14:37]MH_SAM_APDU [20:14:37]CAPDU: 80 09 00 00 [20:14:37]Write to MH i2c: E2 08 00 CC 5C 80 09 00 00 00 00 00 00 9A [20:14:37]Write i2c OK [20:14:37]MH_I2C_Read... [20:14:37]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:14:37]Read from MH i2c: E2 [20:14:37]MH_I2C_Read... [20:14:37]Read from MH i2c: E2 03 00 [20:14:37]MH_I2C_Read... [20:14:37]Read from MH i2c: E2 03 00 CC 5C 00 90 00 9C [20:14:37]RAPDU: 90 00 [20:14:37]wFMCommunicate OK [20:14:37]SAM_PROTO_ClearQueue done [20:14:37]KKMCreateOFDPacket [20:14:37]OFDProtocolAddRootSTLVToBuf [20:14:37]FM_MakeSignedData [20:14:37]FM_MakeSignedData [20:14:37]SAM_PROTO_SignData [20:14:37]wFMCommunicate request_size=4 [20:14:37]MH_SAM_APDU [20:14:37]CAPDU: 80 0D 01 02 [20:14:37]Write to MH i2c: E2 08 00 CD 5C 80 0D 01 02 00 00 00 00 A2 [20:14:37]Write i2c OK [20:14:37]MH_I2C_Read... [20:14:37]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:14:37]Read from MH i2c: E2 [20:14:37]MH_I2C_Read... [20:14:37]Read from MH i2c: E2 03 00 [20:14:37]MH_I2C_Read... [20:14:37]Read from MH i2c: E2 03 00 CD 5C 00 90 00 9D [20:14:37]RAPDU: 90 00 [20:14:37]wFMCommunicate OK [20:14:37]wFMCommunicate request_size=255 [20:14:37]MH_SAM_APDU [20:14:37]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 34 32 35 30 30 31 31 06 04 2A 00 D0 93 D0 BE D1 80 D1 8F D1 87 D0 B8 D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 28 47 41 42 42 20 74 72 61 64 65 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 BD B7 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 [20:14:37]Write to MH i2c: E2 02 01 CE 5C 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 34 32 35 30 30 31 31 06 04 2A 00 D0 93 D0 BE D1 80 D1 8F D1 87 D0 B8 D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 28 47 41 42 42 20 74 72 61 64 65 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 BD B7 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 00 00 B2 [20:14:37]Write i2c OK [20:14:37]MH_I2C_Read... [20:14:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:14:38]Read from MH i2c: E2 [20:14:38]MH_I2C_Read... [20:14:38]Read from MH i2c: E2 03 00 [20:14:38]MH_I2C_Read... [20:14:38]Read from MH i2c: E2 03 00 CE 5C 00 90 00 9E [20:14:38]RAPDU: 90 00 [20:14:38]wFMCommunicate OK [20:14:38]wFMCommunicate request_size=43 [20:14:38]MH_SAM_APDU [20:14:38]CAPDU: 80 0D 02 02 26 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 14 B9 00 00 35 04 06 00 CA 6E 06 DB 54 93 [20:14:38]Write to MH i2c: E2 2E 00 CF 5C 80 0D 02 02 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 14 B9 00 00 35 04 06 00 CA 6E 06 DB 54 93 00 00 59 [20:14:38]Write i2c OK [20:14:38]MH_I2C_Read... [20:14:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:14:38]Read from MH i2c: E2 [20:14:38]MH_I2C_Read... [20:14:38]Read from MH i2c: E2 03 00 [20:14:38]MH_I2C_Read... [20:14:38]Read from MH i2c: E2 03 00 CF 5C 00 90 00 9F [20:14:38]RAPDU: 90 00 [20:14:38]wFMCommunicate OK [20:14:38]wFMCommunicate request_size=4 [20:14:38]MH_SAM_APDU [20:14:38]CAPDU: 80 0D 03 02 [20:14:38]Write to MH i2c: E2 08 00 D0 5C 80 0D 03 02 00 00 00 00 A7 [20:14:38]Write i2c OK [20:14:38]MH_I2C_Read... [20:14:38]OFD Sender: No OFD packet to send [20:14:38]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:14:38]Read from MH i2c: E2 [20:14:38]MH_I2C_Read... [20:14:38]Read from MH i2c: E2 0B 00 [20:14:38]MH_I2C_Read... [20:14:38]Read from MH i2c: E2 0B 00 D0 5C 00 A5 68 FA A3 8A 3F 8C 71 90 00 18 [20:14:38]RAPDU: A5 68 FA A3 8A 3F 8C 71 90 00 [20:14:38]wFMCommunicate OK [20:14:38]SAM_PROTO_SignData done [20:14:38]FM_MakeSignedData done [20:14:38]CreateOFDProtocolMessage [20:14:38]wFMCommunicate request_size=4 [20:14:38]MH_SAM_APDU [20:14:38]CAPDU: 80 11 00 00 [20:14:38]Write to MH i2c: E2 08 00 D1 5C 80 11 00 00 00 00 00 00 A7 [20:14:38]Write i2c OK [20:14:38]MH_I2C_Read... [20:14:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:14:38]Read from MH i2c: E2 [20:14:38]MH_I2C_Read... [20:14:38]Read from MH i2c: E2 17 00 [20:14:38]MH_I2C_Read... [20:14:38]Read from MH i2c: E2 17 00 D1 5C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 F9 [20:14:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [20:14:38]wFMCommunicate OK [20:14:38]CreateOFDProtocolMessage done [20:14:38]OFDSenderStorePacket 47380 [20:14:38]StoreOFDPacket docnum=47380 [20:14:38]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 30 01 00 00 ED BA 28 01 77 60 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 34 32 35 30 30 31 31 06 04 2A 00 D0 93 D0 BE D1 80 D1 8F D1 87 D0 B8 D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 28 47 41 42 42 20 74 72 61 64 65 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 BD B7 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 14 B9 00 00 35 04 06 00 CA 6E 06 DB 54 93 A5 68 FA A3 8A 3F 8C 71 [20:14:38]CheckFolder [20:14:38]dirname=/storage/ofd_packets [20:14:38]CheckFolder done [20:14:38]ProducePacketName [20:14:38]name=ofd_packets/00047380 [20:14:38]NVStorageSaveData ofd_packets/00047380 [20:14:38]File name is /storage/ofd_packets/00047380 [20:14:38]Write 334 bytes [20:14:38]NVStorageSaveData done [20:14:38]OFDSenderStorePacket done [20:14:38]KKMCreateOFDPacket done [20:14:38]NVStorageSaveData kkm_last_timestamp [20:14:38]File name is /storage/kkm_last_timestamp [20:14:38]Write 4 bytes [20:14:38]NVStorageSaveData done [20:14:38]ExternCall_PrintAddStr [20:14:38]wPrintStart [20:14:38]Write to MH i2c: 01 00 00 D2 5C 2E [20:14:38]Write i2c OK [20:14:38]MH_I2C_Read... [20:14:38]Read from MH i2c: 01 [20:14:38]MH_I2C_Read... [20:14:38]Read from MH i2c: 01 07 00 [20:14:38]MH_I2C_Read... [20:14:38]Read from MH i2c: 01 07 00 D2 5C 00 00 00 00 00 FF 0F 43 [20:14:38]RasterBufferAndPrint [20:14:38]line Счет N : (3)242293 [20:14:38]line ИНН: 02508201610067 [20:14:38]line Контрольно-Кассовый Чек [20:14:38]line ПРОДАЖА [20:14:38]line Товар: 2000034250011 [20:14:38]line Горячий шоколад (GABB trade) [20:14:38]line 1.000 * 120.00 [20:14:38]line = 120.00 [20:14:38]line НДС 12% НСП 1% [20:14:38]line > о реализуемом товаре [20:14:38]line ИТОГО: 120.00 [20:14:38]line НСП 1% : 1.06 [20:14:38]line НДС 12% : 12.74 [20:14:38]line Наличными: 120.00 [20:14:38]line Безнал.: 0.00 [20:14:38]line Место: АЗС № 15 "Партнер Нефть" [20:14:38]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [20:14:38]line СНО: Общий режим [20:14:38]line Чек 58 12.03.2024 20:14 [20:14:38]line Смена: 314 ФФД: 1.0 [20:14:38]line ЗНМ: 0300000097 [20:14:38]line РНМ: 0000000000092018 [20:14:38]line Версия ККМ: 001 [20:14:38]line ФМ: 0000000000871816 [20:14:38]line ФД: 47380 [20:14:38]line ФПД: 222573910250643 [20:14:38]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T201453&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47380&fm=222573910250643&tin=02508201610067®Number=0000000000092018&sum=12000 [20:14:38]line 0 [20:14:38]OFD Sender: Processing packet 47380 [packets to send 8, broken 7] [20:14:38]ProducePacketName [20:14:38]name=ofd_packets/00047380 [20:14:38]OFD Sender: To server: pG, [20:14:38]CommunicateWithHost lk.salyk.kg:30040 [20:14:38]ConnectInit lk.salyk.kg [20:14:38]written 0, free lines is 4095 [20:14:38]Connected sock=10 [20:14:38]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 31 36 30 01 00 00 ED BA 28 01 77 60 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 34 32 35 30 30 31 31 06 04 2A 00 D0 93 D0 BE D1 80 D1 8F D1 87 D0 B8 D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 28 47 41 42 42 20 74 72 61 64 65 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 BD B7 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 14 B9 00 00 35 04 06 00 CA 6E 06 DB 54 93 A5 68 FA A3 8A 3F 8C 71 [20:14:38]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 4C 3A 47 00 87 B4 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 31 36 10 04 04 00 14 B9 00 00 F4 03 04 00 4E 62 F0 65 B6 04 01 00 00 0B AE 61 3D F4 D0 F0 B9 [20:14:38]CommunicateWithHost err = 0 [20:14:38]CheckOFDResponse [20:14:38]1017 (14) - 77093643461234 [20:14:38]1041 (16) - 0000000000871816 [20:14:38]1040 (4) - 47380 [20:14:38]1012 (4) - 12.03.2024 14:10 [20:14:38]1206 (1) - 0 [20:14:38]OFD Sender: Remove packet 47380 [20:14:38]ProducePacketName [20:14:38]name=ofd_packets/00047380 [20:14:38]NVStorageDeleteData [20:14:38]Write to MH i2c: 01 00 00 FB 5C 57 [20:14:38]Write i2c OK [20:14:38]MH_I2C_Read... [20:14:38]Read from MH i2c: 01 [20:14:38]MH_I2C_Read... [20:14:38]Read from MH i2c: 01 07 00 [20:14:38]MH_I2C_Read... [20:14:38]Read from MH i2c: 01 07 00 FB 5C 00 00 00 00 00 D1 0C 3B [20:14:38]RasterBufferAndPrint [20:14:38]line [20:14:38]line [20:14:38]line [20:14:38]line [20:14:38]line [20:14:38]written 0, free lines is 3287 [20:14:38]MH_Cut [20:14:38]Write to MH i2c: D1 01 00 02 5D 01 31 [20:14:38]Write i2c OK [20:14:38]MH_I2C_Read... [20:14:38]Read from MH i2c: D1 [20:14:38]MH_I2C_Read... [20:14:38]Read from MH i2c: D1 01 00 [20:14:38]MH_I2C_Read... [20:14:38]Read from MH i2c: D1 01 00 02 5D 00 30 [20:14:38]Write to MH i2c: 01 00 00 03 5D 60 [20:14:38]Write i2c OK [20:14:38]MH_I2C_Read... [20:14:39]OFD Sender: No OFD packet to send [20:14:39]*** Cut start [20:14:39]*** Purtial cut [20:14:39]*** Stage 1: CUTSNS_PIN = 1 [20:14:40]Read from MH i2c: 01 [20:14:40]MH_I2C_Read... [20:14:40]*** Stop cut motor [20:14:40]*** Cut end [20:14:40]Read from MH i2c: 01 07 00 [20:14:40]MH_I2C_Read... [20:14:40]Read from MH i2c: 01 07 00 03 5D 00 00 00 00 00 FF 0F 75 [20:14:40]process_action close_receipt done [20:14:40]requested_data is exist [20:14:40]produce_requested_data [20:14:40]requested_item fm.sn is exist - process it [20:14:40]wFMCommunicate request_size=4 [20:14:40]MH_SAM_APDU [20:14:40]CAPDU: 80 11 00 00 [20:14:40]Write to MH i2c: E2 08 00 04 5D 80 11 00 00 00 00 00 00 DB [20:14:40]Write i2c OK [20:14:40]MH_I2C_Read... [20:14:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:14:40]Read from MH i2c: E2 [20:14:40]MH_I2C_Read... [20:14:40]Read from MH i2c: E2 17 00 [20:14:40]MH_I2C_Read... [20:14:40]Read from MH i2c: E2 17 00 04 5D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 2D [20:14:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [20:14:40]wFMCommunicate OK [20:14:40]requested_item fd.num is exist - process it [20:14:40]SAM_PROTO_GetFieldsCounters [20:14:40]wFMCommunicate request_size=4 [20:14:40]MH_SAM_APDU [20:14:40]CAPDU: 80 13 00 00 [20:14:40]Write to MH i2c: E2 08 00 05 5D 80 13 00 00 00 00 00 00 DE [20:14:40]Write i2c OK [20:14:40]MH_I2C_Read... [20:14:40]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:14:40]Read from MH i2c: E2 [20:14:40]MH_I2C_Read... [20:14:40]Read from MH i2c: E2 62 00 [20:14:40]MH_I2C_Read... [20:14:40]Read from MH i2c: E2 62 00 05 5D 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 14 B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 3A 00 00 00 5E 04 04 00 3A 00 00 00 57 04 04 00 3B 00 00 00 19 04 04 00 00 00 00 00 90 00 AF [20:14: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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 14 B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 3A 00 00 00 5E 04 04 00 3A 00 00 00 57 04 04 00 3B 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:14:40]wFMCommunicate OK [20:14:40]SAM_PROTO_GetFieldsCounters done [20:14:40]requested_item shift.num is exist - process it [20:14:40]requested_item shift.opened is exist - process it [20:14:40]req_shift_opened [20:14:40]FM_GetShiftState [20:14:40]SAM_PROTO_GetShiftState [20:14:40]wFMCommunicate request_size=4 [20:14:40]MH_SAM_APDU [20:14:40]CAPDU: 80 13 01 00 [20:14:40]Write to MH i2c: E2 08 00 06 5D 80 13 01 00 00 00 00 00 E0 [20:14:40]Write i2c OK [20:14:40]MH_I2C_Read... [20:14:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:14:40]Read from MH i2c: E2 [20:14:40]MH_I2C_Read... [20:14:40]Read from MH i2c: E2 0E 00 [20:14:40]MH_I2C_Read... [20:14:40]Read from MH i2c: E2 0E 00 06 5D 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 0F [20:14:40]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [20:14:40]wFMCommunicate OK [20:14:40]SAM_PROTO_GetShiftState done [20:14:40]FM_GetShiftState done [20:14:40]req_shift_opened done [20:14:40]requested_item shift.open_date is exist - process it [20:14:40]req_shift_open_date [20:14:40]req_shift_open_date done [20:14:40]produce_requested_data done [20:14:40]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47380,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [20:14:40]process_action_free close_receipt [20:14:40]json_value_free [20:14:40]json_value_free done [20:14:40]process_json_proto returns [20:14:40]Send response to host [20:14:40]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47380,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [20:14:40]free response buf [20:14:40]execute_script done [20:14:40]execute_script returns [20:14:40]free content buf [20:14:40]Sock 7.Close socket [20:14:40]Sock 7.Thread stoped [20:14:44]OFD Sender: No OFD packet to send [20:14:47]accept exits with 9 [20:14:47]New connection [20:14:47]New thread 3066596708 created [20:14:47]Thread 3066453348 joined [20:14:47]Waiting for new connection... [20:14:47] Sock 9.Parse request [20:14:47]Sock 9.Check first char [20:14:47]Sock 9.First char is OK [20:14:47]request: POST /json_proto HTTP/1.0 [20:14:47]Method: POST [20:14:47]URL: /json_proto [20:14:47]Method is POST - this is cgi request [20:14:47]url: /json_proto [20:14:47]query_string will be loaded in cgi processing [20:14:47]execute_cgi json_proto POST (null) [20:14:47]execute_cgi path=json_proto method=POST [20:14:47]POST find Content-Length [20:14:47]Host: 172.17.32.68:8080 [20:14:47]Content-Length: 716 [20:14:47]Content-Type: application/json [20:14:47] [20:14:47]POST finish read [20:14:47]Found Content-Length = 716 [20:14:47]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale_refund", "base_FD": 47380, "base_FM": "0000000000871816", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242293", "tax_sys" : 0, "items" : [ { "code": "2000034250011", "name": "\u0413\u043E\u0440\u044F\u0447\u0438\u0439 \u0448\u043E\u043A\u043E\u043B\u0430\u0434 (GABB trade)", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 120.00 } ], "post_footer_text": "47380" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:14:47]execute_script... [20:14:47]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale_refund", "base_FD": 47380, "base_FM": "0000000000871816", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242293", "tax_sys" : 0, "items" : [ { "code": "2000034250011", "name": "\u0413\u043E\u0440\u044F\u0447\u0438\u0439 \u0448\u043E\u043A\u043E\u043B\u0430\u0434 (GABB trade)", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 120.00 } ], "post_footer_text": "47380" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:14:47]POST & json_proto [20:14:47]process_json_proto [20:14:47]json parsed OK: [20:14:47]protocol is kg_v1.0 [20:14:47]action value=close_receipt [20:14:47]process_action close_receipt [20:14:47]cmd_close_receipt [20:14:47]MH_GetDate [20:14:47]Write to MH i2c: F0 00 00 07 5D 53 [20:14:47]Write i2c OK [20:14:47]MH_I2C_Read... [20:14:47]Read from MH i2c: F0 [20:14:47]MH_I2C_Read... [20:14:47]Read from MH i2c: F0 09 00 [20:14:47]MH_I2C_Read... [20:14:47]Read from MH i2c: F0 09 00 07 5D 00 C8 B7 F0 65 0A 64 6E 65 71 [20:14:47]GetLastDocTimeStamp 1710274493 [20:14:47]current date 1710274504 [20:14:47]FM_GetShiftState [20:14:47]SAM_PROTO_GetShiftState [20:14:47]wFMCommunicate request_size=4 [20:14:47]MH_SAM_APDU [20:14:47]CAPDU: 80 13 01 00 [20:14:47]Write to MH i2c: E2 08 00 08 5D 80 13 01 00 00 00 00 00 E2 [20:14:47]Write i2c OK [20:14:47]MH_I2C_Read... [20:14:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:14:47]Read from MH i2c: E2 [20:14:47]MH_I2C_Read... [20:14:47]Read from MH i2c: E2 0E 00 [20:14:47]MH_I2C_Read... [20:14:47]Read from MH i2c: E2 0E 00 08 5D 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 11 [20:14:47]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [20:14:47]wFMCommunicate OK [20:14:47]SAM_PROTO_GetShiftState done [20:14:47]FM_GetShiftState done [20:14:47]opened in 1710202417 [20:14:47]opened+sec_in_day 1710288817 [20:14:47]quantity*price = 12000 [20:14:47]sum+1 = 12001 [20:14:47]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 120.00 НСП 1% : 1.06 НДС 12% : 12.74 Наличными: 120.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 59 12.03.2024 20:15 Смена: 314 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФД осн.: 47380 ФМ осн.: 0000000000871816 ФМ: 0000000000871816 ФД: 47381 ФПД: 84437995376398 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T201504&type=2&operation_type=1&fn_number=0000000000871816&fd_number=47381&fm=84437995376398&tin=02508201610067®Number=0000000000092018&sum=12000 47380 [20:14:48]StoreToDocumentArchive [20:14:48]shift 314 fd 47381 [20:14:48]save to /storage/0314/doc_00047381 [20:14:48]save last doc name /storage/0314/doc_00047381 to /storage/kkm_last_doc_name [20:14:48]save OK [20:14:48]Clear old archive folders... [20:14:48]ProcessDocumentItem done err = 0, tmpTLVsize=312 [20:14:48]tlvbuf is 003AE480 [20:14:48]SAM_PROTO_ClearQueue [20:14:48]wFMCommunicate request_size=4 [20:14:48]MH_SAM_APDU [20:14:48]CAPDU: 80 09 00 00 [20:14:48]Write to MH i2c: E2 08 00 17 5D 80 09 00 00 00 00 00 00 E6 [20:14:48]Write i2c OK [20:14:48]MH_I2C_Read... [20:14:48]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:14:48]Read from MH i2c: E2 [20:14:48]MH_I2C_Read... [20:14:48]Read from MH i2c: E2 03 00 [20:14:48]MH_I2C_Read... [20:14:48]Read from MH i2c: E2 03 00 17 5D 00 90 00 E8 [20:14:48]RAPDU: 90 00 [20:14:48]wFMCommunicate OK [20:14:48]SAM_PROTO_ClearQueue done [20:14:48]KKMCreateOFDPacket [20:14:48]OFDProtocolAddRootSTLVToBuf [20:14:48]FM_MakeSignedData [20:14:48]FM_MakeSignedData [20:14:48]SAM_PROTO_SignData [20:14:48]wFMCommunicate request_size=4 [20:14:48]MH_SAM_APDU [20:14:48]CAPDU: 80 0D 01 02 [20:14:48]Write to MH i2c: E2 08 00 18 5D 80 0D 01 02 00 00 00 00 EE [20:14:48]Write i2c OK [20:14:48]MH_I2C_Read... [20:14:48]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:14:48]Read from MH i2c: E2 [20:14:48]MH_I2C_Read... [20:14:48]Read from MH i2c: E2 03 00 [20:14:48]MH_I2C_Read... [20:14:48]Read from MH i2c: E2 03 00 18 5D 00 90 00 E9 [20:14:48]RAPDU: 90 00 [20:14:48]wFMCommunicate OK [20:14:48]wFMCommunicate request_size=255 [20:14:48]MH_SAM_APDU [20:14:48]CAPDU: 80 0D 02 02 FA 03 00 38 01 1E 04 01 00 02 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 34 32 35 30 30 31 31 06 04 2A 00 D0 93 D0 BE D1 80 D1 8F D1 87 D0 B8 D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 28 47 41 42 42 20 74 72 61 64 65 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 C8 B7 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 [20:14:48]Write to MH i2c: E2 02 01 19 5D 80 0D 02 02 FA 00 03 00 38 01 1E 04 01 00 02 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 34 32 35 30 30 31 31 06 04 2A 00 D0 93 D0 BE D1 80 D1 8F D1 87 D0 B8 D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 28 47 41 42 42 20 74 72 61 64 65 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 C8 B7 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 00 00 27 [20:14:48]Write i2c OK [20:14:48]MH_I2C_Read... [20:14:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:14:49]Read from MH i2c: E2 [20:14:49]MH_I2C_Read... [20:14:49]Read from MH i2c: E2 03 00 [20:14:49]MH_I2C_Read... [20:14:49]Read from MH i2c: E2 03 00 19 5D 00 90 00 EA [20:14:49]RAPDU: 90 00 [20:14:49]wFMCommunicate OK [20:14:49]wFMCommunicate request_size=71 [20:14:49]MH_SAM_APDU [20:14:49]CAPDU: 80 0D 02 02 42 27 04 04 00 14 B9 00 00 28 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 15 B9 00 00 35 04 06 00 4C CB C0 B8 4F 0E [20:14:49]Write to MH i2c: E2 4A 00 1A 5D 80 0D 02 02 42 00 27 04 04 00 14 B9 00 00 28 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 15 B9 00 00 35 04 06 00 4C CB C0 B8 4F 0E 00 00 21 [20:14:49]Write i2c OK [20:14:49]MH_I2C_Read... [20:14:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:14:49]Read from MH i2c: E2 [20:14:49]MH_I2C_Read... [20:14:49]Read from MH i2c: E2 03 00 [20:14:49]MH_I2C_Read... [20:14:49]Read from MH i2c: E2 03 00 1A 5D 00 90 00 EB [20:14:49]RAPDU: 90 00 [20:14:49]wFMCommunicate OK [20:14:49]wFMCommunicate request_size=4 [20:14:49]MH_SAM_APDU [20:14:49]CAPDU: 80 0D 03 02 [20:14:49]Write to MH i2c: E2 08 00 1B 5D 80 0D 03 02 00 00 00 00 F3 [20:14:49]Write i2c OK [20:14:49]MH_I2C_Read... [20:14:49]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:14:49]Read from MH i2c: E2 [20:14:49]MH_I2C_Read... [20:14:49]Read from MH i2c: E2 0B 00 [20:14:49]MH_I2C_Read... [20:14:49]Read from MH i2c: E2 0B 00 1B 5D 00 CD 63 13 A9 40 F5 29 99 90 00 D7 [20:14:49]RAPDU: CD 63 13 A9 40 F5 29 99 90 00 [20:14:49]wFMCommunicate OK [20:14:49]SAM_PROTO_SignData done [20:14:49]FM_MakeSignedData done [20:14:49]CreateOFDProtocolMessage [20:14:49]wFMCommunicate request_size=4 [20:14:49]MH_SAM_APDU [20:14:49]CAPDU: 80 11 00 00 [20:14:49]Write to MH i2c: E2 08 00 1C 5D 80 11 00 00 00 00 00 00 F3 [20:14:49]Write i2c OK [20:14:49]MH_I2C_Read... [20:14:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:14:49]Read from MH i2c: E2 [20:14:49]MH_I2C_Read... [20:14:49]Read from MH i2c: E2 17 00 [20:14:49]MH_I2C_Read... [20:14:49]Read from MH i2c: E2 17 00 1C 5D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 45 [20:14:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [20:14:49]wFMCommunicate OK [20:14:49]CreateOFDProtocolMessage done [20:14:49]OFDSenderStorePacket 47381 [20:14:49]StoreOFDPacket docnum=47381 [20:14:49]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4C 01 00 00 12 DE 44 01 A8 8C 5A 03 01 00 03 00 38 01 1E 04 01 00 02 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 34 32 35 30 30 31 31 06 04 2A 00 D0 93 D0 BE D1 80 D1 8F D1 87 D0 B8 D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 28 47 41 42 42 20 74 72 61 64 65 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 C8 B7 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 27 04 04 00 14 B9 00 00 28 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 15 B9 00 00 35 04 06 00 4C CB C0 B8 4F 0E CD 63 13 A9 40 F5 29 99 [20:14:49]CheckFolder [20:14:49]dirname=/storage/ofd_packets [20:14:49]CheckFolder done [20:14:49]ProducePacketName [20:14:49]name=ofd_packets/00047381 [20:14:49]NVStorageSaveData ofd_packets/00047381 [20:14:49]File name is /storage/ofd_packets/00047381 [20:14:49]Write 362 bytes [20:14:49]NVStorageSaveData done [20:14:49]OFDSenderStorePacket done [20:14:49]KKMCreateOFDPacket done [20:14:49]NVStorageSaveData kkm_last_timestamp [20:14:49]File name is /storage/kkm_last_timestamp [20:14:49]Write 4 bytes [20:14:49]NVStorageSaveData done [20:14:49]ExternCall_PrintAddStr [20:14:49]wPrintStart [20:14:49]Write to MH i2c: 01 00 00 1D 5D 7A [20:14:49]Write i2c OK [20:14:49]MH_I2C_Read... [20:14:49]Read from MH i2c: 01 [20:14:49]MH_I2C_Read... [20:14:49]Read from MH i2c: 01 07 00 [20:14:49]MH_I2C_Read... [20:14:49]Read from MH i2c: 01 07 00 1D 5D 00 00 00 00 00 FF 0F 8F [20:14:49]RasterBufferAndPrint [20:14:49]line Счет N : (3)242293 [20:14:49]line ИНН: 02508201610067 [20:14:49]line Контрольно-Кассовый Чек [20:14:49]line ВОЗВРАТ ПРОДАЖИ [20:14:49]line Товар: 2000034250011 [20:14:49]line Горячий шоколад (GABB trade) [20:14:49]line 1.000 * 120.00 [20:14:49]line = 120.00 [20:14:49]line НДС 12% НСП 1% [20:14:49]line > о реализуемом товаре [20:14:49]line ИТОГО: 120.00 [20:14:49]line НСП 1% : 1.06 [20:14:49]line НДС 12% : 12.74 [20:14:49]line Наличными: 120.00 [20:14:49]line Безнал.: 0.00 [20:14:49]line Место: АЗС № 15 "Партнер Нефть" [20:14:49]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [20:14:49]line СНО: Общий режим [20:14:49]line Чек 59 12.03.2024 20:15 [20:14:49]line Смена: 314 ФФД: 1.0 [20:14:49]line ЗНМ: 0300000097 [20:14:49]line РНМ: 0000000000092018 [20:14:49]line Версия ККМ: 001 [20:14:49]line ФД осн.: 47380 [20:14:49]line ФМ осн.: 0000000000871816 [20:14:49]line ФМ: 0000000000871816 [20:14:49]line ФД: 47381 [20:14:49]line ФПД: 84437995376398 [20:14:49]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T201504&type=2&operation_type=1&fn_number=0000000000871816&fd_number=47381&fm=84437995376398&tin=02508201610067®Number=0000000000092018&sum=12000 [20:14:49]line 47380 [20:14:49]OFD Sender: Processing packet 47381 [packets to send 8, broken 7] [20:14:49]ProducePacketName [20:14:49]name=ofd_packets/00047381 [20:14:49]OFD Sender: To server: pG, [20:14:49]CommunicateWithHost lk.salyk.kg:30040 [20:14:49]ConnectInit lk.salyk.kg [20:14:49]written 0, free lines is 4095 [20:14:49]Connected sock=10 [20:14:49]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 31 36 4C 01 00 00 12 DE 44 01 A8 8C 5A 03 01 00 03 00 38 01 1E 04 01 00 02 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 34 32 35 30 30 31 31 06 04 2A 00 D0 93 D0 BE D1 80 D1 8F D1 87 D0 B8 D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 28 47 41 42 42 20 74 72 61 64 65 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 C8 B7 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 27 04 04 00 14 B9 00 00 28 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 15 B9 00 00 35 04 06 00 4C CB C0 B8 4F 0E CD 63 13 A9 40 F5 29 99 [20:14: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 31 36 4F 00 00 00 4A CA 47 00 76 05 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 15 B9 00 00 F4 03 04 00 59 62 F0 65 B6 04 01 00 00 AC F5 8C 1F 71 06 BF 60 [20:14:49]CommunicateWithHost err = 0 [20:14:49]CheckOFDResponse [20:14:49]1017 (14) - 77093643461234 [20:14:49]1041 (16) - 0000000000871816 [20:14:49]1040 (4) - 47381 [20:14:49]1012 (4) - 12.03.2024 14:10 [20:14:49]1206 (1) - 0 [20:14:49]OFD Sender: Remove packet 47381 [20:14:49]ProducePacketName [20:14:49]name=ofd_packets/00047381 [20:14:49]NVStorageDeleteData [20:14:50]Write to MH i2c: 01 00 00 48 5D A5 [20:14:50]Write i2c OK [20:14:50]MH_I2C_Read... [20:14:50]Read from MH i2c: 01 [20:14:50]MH_I2C_Read... [20:14:50]Read from MH i2c: 01 07 00 [20:14:50]MH_I2C_Read... [20:14:50]Read from MH i2c: 01 07 00 48 5D 00 00 00 00 00 CC 0C 84 [20:14:50]RasterBufferAndPrint [20:14:50]line [20:14:50]line [20:14:50]line [20:14:50]line [20:14:50]line [20:14:50]written 0, free lines is 3285 [20:14:50]MH_Cut [20:14:50]Write to MH i2c: D1 01 00 4F 5D 01 7E [20:14:50]Write i2c OK [20:14:50]MH_I2C_Read... [20:14:50]Read from MH i2c: D1 [20:14:50]MH_I2C_Read... [20:14:50]Read from MH i2c: D1 01 00 [20:14:50]MH_I2C_Read... [20:14:50]Read from MH i2c: D1 01 00 4F 5D 00 7D [20:14:50]Write to MH i2c: 01 00 00 50 5D AD [20:14:50]Write i2c OK [20:14:50]MH_I2C_Read... [20:14:50]OFD Sender: No OFD packet to send [20:14:50]*** Cut start [20:14:50]*** Purtial cut [20:14:50]*** Stage 1: CUTSNS_PIN = 1 [20:14:51]Read from MH i2c: 01 [20:14:51]MH_I2C_Read... [20:14:51]*** Stop cut motor [20:14:51]*** Cut end [20:14:51]Read from MH i2c: 01 07 00 [20:14:51]MH_I2C_Read... [20:14:51]Read from MH i2c: 01 07 00 50 5D 00 00 00 00 00 FF 0F C2 [20:14:51]process_action close_receipt done [20:14:51]requested_data is exist [20:14:51]produce_requested_data [20:14:51]requested_item fm.sn is exist - process it [20:14:51]wFMCommunicate request_size=4 [20:14:51]MH_SAM_APDU [20:14:51]CAPDU: 80 11 00 00 [20:14:51]Write to MH i2c: E2 08 00 51 5D 80 11 00 00 00 00 00 00 28 [20:14:51]Write i2c OK [20:14:51]MH_I2C_Read... [20:14:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:14:51]Read from MH i2c: E2 [20:14:51]MH_I2C_Read... [20:14:51]Read from MH i2c: E2 17 00 [20:14:51]MH_I2C_Read... [20:14:51]Read from MH i2c: E2 17 00 51 5D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 7A [20:14:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [20:14:51]wFMCommunicate OK [20:14:51]requested_item fd.num is exist - process it [20:14:51]SAM_PROTO_GetFieldsCounters [20:14:51]wFMCommunicate request_size=4 [20:14:51]MH_SAM_APDU [20:14:51]CAPDU: 80 13 00 00 [20:14:51]Write to MH i2c: E2 08 00 52 5D 80 13 00 00 00 00 00 00 2B [20:14:51]Write i2c OK [20:14:51]MH_I2C_Read... [20:14:51]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:14:51]Read from MH i2c: E2 [20:14:51]MH_I2C_Read... [20:14:51]Read from MH i2c: E2 62 00 [20:14:51]MH_I2C_Read... [20:14:51]Read from MH i2c: E2 62 00 52 5D 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 15 B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 3B 00 00 00 5E 04 04 00 3B 00 00 00 57 04 04 00 3C 00 00 00 19 04 04 00 00 00 00 00 90 00 00 [20:14: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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 15 B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 3B 00 00 00 5E 04 04 00 3B 00 00 00 57 04 04 00 3C 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:14:51]wFMCommunicate OK [20:14:51]SAM_PROTO_GetFieldsCounters done [20:14:51]requested_item shift.num is exist - process it [20:14:51]requested_item shift.opened is exist - process it [20:14:51]req_shift_opened [20:14:51]FM_GetShiftState [20:14:51]SAM_PROTO_GetShiftState [20:14:51]wFMCommunicate request_size=4 [20:14:51]MH_SAM_APDU [20:14:51]CAPDU: 80 13 01 00 [20:14:51]Write to MH i2c: E2 08 00 53 5D 80 13 01 00 00 00 00 00 2D [20:14:51]Write i2c OK [20:14:51]MH_I2C_Read... [20:14:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:14:51]Read from MH i2c: E2 [20:14:51]MH_I2C_Read... [20:14:51]Read from MH i2c: E2 0E 00 [20:14:51]MH_I2C_Read... [20:14:51]Read from MH i2c: E2 0E 00 53 5D 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 5C [20:14:51]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [20:14:51]wFMCommunicate OK [20:14:51]SAM_PROTO_GetShiftState done [20:14:51]FM_GetShiftState done [20:14:51]req_shift_opened done [20:14:51]requested_item shift.open_date is exist - process it [20:14:51]req_shift_open_date [20:14:51]req_shift_open_date done [20:14:51]produce_requested_data done [20:14:51]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47381,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [20:14:51]process_action_free close_receipt [20:14:51]json_value_free [20:14:51]json_value_free done [20:14:51]process_json_proto returns [20:14:51]Send response to host [20:14:51]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47381,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [20:14:51]free response buf [20:14:51]execute_script done [20:14:51]execute_script returns [20:14:51]free content buf [20:14:51]Sock 9.Close socket [20:14:51]Sock 9.Thread stoped [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:06]accept exits with 7 [20:15:06]New connection [20:15:06]New thread 3066453348 created [20:15:06]Thread 3066596708 joined [20:15:06]Waiting for new connection... [20:15:06] Sock 7.Parse request [20:15:06]Sock 7.Check first char [20:15:06]Sock 7.First char is OK [20:15:06]request: POST /json_proto HTTP/1.0 [20:15:06]Method: POST [20:15:06]URL: /json_proto [20:15:06]Method is POST - this is cgi request [20:15:06]url: /json_proto [20:15:06]query_string will be loaded in cgi processing [20:15:06]execute_cgi json_proto POST (null) [20:15:06]execute_cgi path=json_proto method=POST [20:15:06]POST find Content-Length [20:15:06]Host: 172.17.32.68:8080 [20:15:06]Content-Length: 846 [20:15:06]Content-Type: application/json [20:15:06] [20:15:06]POST finish read [20:15:06]Found Content-Length = 846 [20:15:06]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242294", "tax_sys" : 0, "items" : [ { "code": "2000034250011", "name": "\u0413\u043E\u0440\u044F\u0447\u0438\u0439 \u0448\u043E\u043A\u043E\u043B\u0430\u0434 (GABB trade)", "price" : 120.00, "quantity" : 1.000, "sum" : 120.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: \u0414\u0435\u043C\u0438\u0440 \u041A\u0418 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 120.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:15:06]execute_script... [20:15: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)242294", "tax_sys" : 0, "items" : [ { "code": "2000034250011", "name": "\u0413\u043E\u0440\u044F\u0447\u0438\u0439 \u0448\u043E\u043A\u043E\u043B\u0430\u0434 (GABB trade)", "price" : 120.00, "quantity" : 1.000, "sum" : 120.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: \u0414\u0435\u043C\u0438\u0440 \u041A\u0418 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 120.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:15:06]POST & json_proto [20:15:06]process_json_proto [20:15:06]json parsed OK: [20:15:06]protocol is kg_v1.0 [20:15:06]action value=close_receipt [20:15:06]process_action close_receipt [20:15:06]cmd_close_receipt [20:15:06]MH_GetDate [20:15:06]Write to MH i2c: F0 00 00 54 5D A0 [20:15:06]Write i2c OK [20:15:06]MH_I2C_Read... [20:15:06]Read from MH i2c: F0 [20:15:06]MH_I2C_Read... [20:15:06]Read from MH i2c: F0 09 00 [20:15:06]MH_I2C_Read... [20:15:06]Read from MH i2c: F0 09 00 54 5D 00 DB B7 F0 65 0A 64 6E 65 D1 [20:15:06]GetLastDocTimeStamp 1710274504 [20:15:06]current date 1710274523 [20:15:06]FM_GetShiftState [20:15:06]SAM_PROTO_GetShiftState [20:15:06]wFMCommunicate request_size=4 [20:15:06]MH_SAM_APDU [20:15:06]CAPDU: 80 13 01 00 [20:15:06]Write to MH i2c: E2 08 00 55 5D 80 13 01 00 00 00 00 00 2F [20:15:06]Write i2c OK [20:15:06]MH_I2C_Read... [20:15:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:15:06]Read from MH i2c: E2 [20:15:06]MH_I2C_Read... [20:15:06]Read from MH i2c: E2 0E 00 [20:15:06]MH_I2C_Read... [20:15:06]Read from MH i2c: E2 0E 00 55 5D 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 5E [20:15:06]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [20:15:06]wFMCommunicate OK [20:15:06]SAM_PROTO_GetShiftState done [20:15:06]FM_GetShiftState done [20:15:06]opened in 1710202417 [20:15:06]opened+sec_in_day 1710288817 [20:15:06]quantity*price = 12000 [20:15:06]sum+1 = 12001 [20:15:06]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 120.00 НСП 1% : 1.06 НДС 12% : 12.74 Наличными: 0.00 Безнал.: 120.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 60 12.03.2024 20:15 Смена: 314 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 Платежная система: Демир КИ Банк ФМ: 0000000000871816 ФД: 47382 ФПД: 85768311773013 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T201523&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47382&fm=85768311773013&tin=02508201610067®Number=0000000000092018&sum=12000 0 [20:15:07]StoreToDocumentArchive [20:15:07]shift 314 fd 47382 [20:15:07]save to /storage/0314/doc_00047382 [20:15:07]save last doc name /storage/0314/doc_00047382 to /storage/kkm_last_doc_name [20:15:07]save OK [20:15:07]Clear old archive folders... [20:15:07]ProcessDocumentItem done err = 0, tmpTLVsize=284 [20:15:07]tlvbuf is 003E1420 [20:15:07]SAM_PROTO_ClearQueue [20:15:07]wFMCommunicate request_size=4 [20:15:07]MH_SAM_APDU [20:15:07]CAPDU: 80 09 00 00 [20:15:07]Write to MH i2c: E2 08 00 62 5D 80 09 00 00 00 00 00 00 31 [20:15:07]Write i2c OK [20:15:07]MH_I2C_Read... [20:15:07]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:15:07]Read from MH i2c: E2 [20:15:07]MH_I2C_Read... [20:15:07]Read from MH i2c: E2 03 00 [20:15:07]MH_I2C_Read... [20:15:07]Read from MH i2c: E2 03 00 62 5D 00 90 00 33 [20:15:07]RAPDU: 90 00 [20:15:07]wFMCommunicate OK [20:15:07]SAM_PROTO_ClearQueue done [20:15:07]KKMCreateOFDPacket [20:15:07]OFDProtocolAddRootSTLVToBuf [20:15:07]FM_MakeSignedData [20:15:07]FM_MakeSignedData [20:15:07]SAM_PROTO_SignData [20:15:07]wFMCommunicate request_size=4 [20:15:07]MH_SAM_APDU [20:15:07]CAPDU: 80 0D 01 02 [20:15:07]Write to MH i2c: E2 08 00 63 5D 80 0D 01 02 00 00 00 00 39 [20:15:07]Write i2c OK [20:15:07]MH_I2C_Read... [20:15:07]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:15:07]Read from MH i2c: E2 [20:15:07]MH_I2C_Read... [20:15:07]Read from MH i2c: E2 03 00 [20:15:07]MH_I2C_Read... [20:15:07]Read from MH i2c: E2 03 00 63 5D 00 90 00 34 [20:15:07]RAPDU: 90 00 [20:15:07]wFMCommunicate OK [20:15:07]wFMCommunicate request_size=255 [20:15:07]MH_SAM_APDU [20:15:07]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 34 32 35 30 30 31 31 06 04 2A 00 D0 93 D0 BE D1 80 D1 8F D1 87 D0 B8 D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 28 47 41 42 42 20 74 72 61 64 65 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E0 2E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 DB B7 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 [20:15:07]Write to MH i2c: E2 02 01 64 5D 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 34 32 35 30 30 31 31 06 04 2A 00 D0 93 D0 BE D1 80 D1 8F D1 87 D0 B8 D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 28 47 41 42 42 20 74 72 61 64 65 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E0 2E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 DB B7 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 00 00 69 [20:15:07]Write i2c OK [20:15:07]MH_I2C_Read... [20:15:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:15:08]Read from MH i2c: E2 [20:15:08]MH_I2C_Read... [20:15:08]Read from MH i2c: E2 03 00 [20:15:08]MH_I2C_Read... [20:15:08]Read from MH i2c: E2 03 00 64 5D 00 90 00 35 [20:15:08]RAPDU: 90 00 [20:15:08]wFMCommunicate OK [20:15:08]wFMCommunicate request_size=43 [20:15:08]MH_SAM_APDU [20:15:08]CAPDU: 80 0D 02 02 26 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 16 B9 00 00 35 04 06 00 4E 01 7D C1 97 55 [20:15:08]Write to MH i2c: E2 2E 00 65 5D 80 0D 02 02 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 16 B9 00 00 35 04 06 00 4E 01 7D C1 97 55 00 00 6B [20:15:08]Write i2c OK [20:15:08]MH_I2C_Read... [20:15:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:15:08]Read from MH i2c: E2 [20:15:08]MH_I2C_Read... [20:15:08]Read from MH i2c: E2 03 00 [20:15:08]MH_I2C_Read... [20:15:08]Read from MH i2c: E2 03 00 65 5D 00 90 00 36 [20:15:08]RAPDU: 90 00 [20:15:08]wFMCommunicate OK [20:15:08]wFMCommunicate request_size=4 [20:15:08]MH_SAM_APDU [20:15:08]CAPDU: 80 0D 03 02 [20:15:08]Write to MH i2c: E2 08 00 66 5D 80 0D 03 02 00 00 00 00 3E [20:15:08]Write i2c OK [20:15:08]MH_I2C_Read... [20:15:08]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:15:08]Read from MH i2c: E2 [20:15:08]MH_I2C_Read... [20:15:08]Read from MH i2c: E2 0B 00 [20:15:08]MH_I2C_Read... [20:15:08]Read from MH i2c: E2 0B 00 66 5D 00 C7 BB 94 0B 0D 83 39 99 90 00 C2 [20:15:08]RAPDU: C7 BB 94 0B 0D 83 39 99 90 00 [20:15:08]wFMCommunicate OK [20:15:08]SAM_PROTO_SignData done [20:15:08]FM_MakeSignedData done [20:15:08]CreateOFDProtocolMessage [20:15:08]wFMCommunicate request_size=4 [20:15:08]MH_SAM_APDU [20:15:08]CAPDU: 80 11 00 00 [20:15:08]Write to MH i2c: E2 08 00 67 5D 80 11 00 00 00 00 00 00 3E [20:15:08]Write i2c OK [20:15:08]MH_I2C_Read... [20:15:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:15:08]Read from MH i2c: E2 [20:15:08]MH_I2C_Read... [20:15:08]Read from MH i2c: E2 17 00 [20:15:08]MH_I2C_Read... [20:15:08]Read from MH i2c: E2 17 00 67 5D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 90 [20:15:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [20:15:08]wFMCommunicate OK [20:15:08]CreateOFDProtocolMessage done [20:15:08]OFDSenderStorePacket 47382 [20:15:08]StoreOFDPacket docnum=47382 [20:15:08]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 30 01 00 00 97 30 28 01 F7 FE 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 34 32 35 30 30 31 31 06 04 2A 00 D0 93 D0 BE D1 80 D1 8F D1 87 D0 B8 D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 28 47 41 42 42 20 74 72 61 64 65 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E0 2E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 DB B7 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 16 B9 00 00 35 04 06 00 4E 01 7D C1 97 55 C7 BB 94 0B 0D 83 39 99 [20:15:08]CheckFolder [20:15:08]dirname=/storage/ofd_packets [20:15:08]CheckFolder done [20:15:08]ProducePacketName [20:15:08]name=ofd_packets/00047382 [20:15:08]NVStorageSaveData ofd_packets/00047382 [20:15:08]File name is /storage/ofd_packets/00047382 [20:15:08]Write 334 bytes [20:15:08]NVStorageSaveData done [20:15:08]OFDSenderStorePacket done [20:15:08]KKMCreateOFDPacket done [20:15:08]NVStorageSaveData kkm_last_timestamp [20:15:08]File name is /storage/kkm_last_timestamp [20:15:08]Write 4 bytes [20:15:08]NVStorageSaveData done [20:15:08]ExternCall_PrintAddStr [20:15:08]wPrintStart [20:15:08]Write to MH i2c: 01 00 00 68 5D C5 [20:15:08]Write i2c OK [20:15:08]MH_I2C_Read... [20:15:08]Read from MH i2c: 01 [20:15:08]MH_I2C_Read... [20:15:08]Read from MH i2c: 01 07 00 [20:15:08]MH_I2C_Read... [20:15:08]Read from MH i2c: 01 07 00 68 5D 00 00 00 00 00 FF 0F DA [20:15:08]RasterBufferAndPrint [20:15:08]line Счет N : (3)242294 [20:15:08]line ИНН: 02508201610067 [20:15:08]line Контрольно-Кассовый Чек [20:15:08]line ПРОДАЖА [20:15:08]line Товар: 2000034250011 [20:15:08]line Горячий шоколад (GABB trade) [20:15:08]line 1.000 * 120.00 [20:15:08]line = 120.00 [20:15:08]line НДС 12% НСП 1% [20:15:08]line > о реализуемом товаре [20:15:08]line ИТОГО: 120.00 [20:15:08]line НСП 1% : 1.06 [20:15:08]line НДС 12% : 12.74 [20:15:08]line Наличными: 0.00 [20:15:08]line Безнал.: 120.00 [20:15:08]line Место: АЗС № 15 "Партнер Нефть" [20:15:08]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [20:15:08]line СНО: Общий режим [20:15:08]line Чек 60 12.03.2024 20:15 [20:15:08]line Смена: 314 ФФД: 1.0 [20:15:08]line ЗНМ: 0300000097 [20:15:08]line РНМ: 0000000000092018 [20:15:08]line Версия ККМ: 001 [20:15:08]line Платежная система: Демир КИ Банк [20:15:08]line ФМ: 0000000000871816 [20:15:08]line ФД: 47382 [20:15:08]line ФПД: 85768311773013 [20:15:08]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T201523&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47382&fm=85768311773013&tin=02508201610067®Number=0000000000092018&sum=12000 [20:15:08]line 0 [20:15:08]OFD Sender: Processing packet 47382 [packets to send 8, broken 7] [20:15:08]ProducePacketName [20:15:08]name=ofd_packets/00047382 [20:15:08]OFD Sender: To server: pG, [20:15:08]CommunicateWithHost lk.salyk.kg:30040 [20:15:08]ConnectInit lk.salyk.kg [20:15:08]written 0, free lines is 4095 [20:15:08]Connected sock=10 [20:15: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 31 36 30 01 00 00 97 30 28 01 F7 FE 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 34 32 35 30 30 31 31 06 04 2A 00 D0 93 D0 BE D1 80 D1 8F D1 87 D0 B8 D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 28 47 41 42 42 20 74 72 61 64 65 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E0 2E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 DB B7 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 16 B9 00 00 35 04 06 00 4E 01 7D C1 97 55 C7 BB 94 0B 0D 83 39 99 [20:15: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 31 36 4F 00 00 00 2C ED 47 00 15 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 31 36 10 04 04 00 16 B9 00 00 F4 03 04 00 6C 62 F0 65 B6 04 01 00 00 C6 5A F5 34 BE 94 E1 40 [20:15:08]CommunicateWithHost err = 0 [20:15:08]CheckOFDResponse [20:15:08]1017 (14) - 77093643461234 [20:15:08]1041 (16) - 0000000000871816 [20:15:08]1040 (4) - 47382 [20:15:08]1012 (4) - 12.03.2024 14:10 [20:15:08]1206 (1) - 0 [20:15:08]OFD Sender: Remove packet 47382 [20:15:08]ProducePacketName [20:15:08]name=ofd_packets/00047382 [20:15:08]NVStorageDeleteData [20:15:09]Write to MH i2c: 01 00 00 93 5D F0 [20:15:09]Write i2c OK [20:15:09]MH_I2C_Read... [20:15:09]Read from MH i2c: 01 [20:15:09]MH_I2C_Read... [20:15:09]Read from MH i2c: 01 07 00 [20:15:09]MH_I2C_Read... [20:15:09]Read from MH i2c: 01 07 00 93 5D 00 00 00 00 00 C8 0C CB [20:15:09]RasterBufferAndPrint [20:15:09]line [20:15:09]line [20:15:09]line [20:15:09]line [20:15:09]line [20:15:09]written 0, free lines is 3281 [20:15:09]MH_Cut [20:15:09]Write to MH i2c: D1 01 00 9A 5D 01 C9 [20:15:09]Write i2c OK [20:15:09]MH_I2C_Read... [20:15:09]Read from MH i2c: D1 [20:15:09]MH_I2C_Read... [20:15:09]Read from MH i2c: D1 01 00 [20:15:09]MH_I2C_Read... [20:15:09]Read from MH i2c: D1 01 00 9A 5D 00 C8 [20:15:09]Write to MH i2c: 01 00 00 9B 5D F8 [20:15:09]Write i2c OK [20:15:09]MH_I2C_Read... [20:15:09]OFD Sender: No OFD packet to send [20:15:09]*** Cut start [20:15:09]*** Purtial cut [20:15:09]*** Stage 1: CUTSNS_PIN = 1 [20:15:10]Read from MH i2c: 01 [20:15:10]MH_I2C_Read... [20:15:10]*** Stop cut motor [20:15:10]*** Cut end [20:15:10]Read from MH i2c: 01 07 00 [20:15:10]MH_I2C_Read... [20:15:10]Read from MH i2c: 01 07 00 9B 5D 00 00 00 00 00 FF 0F 0D [20:15:10]process_action close_receipt done [20:15:10]requested_data is exist [20:15:10]produce_requested_data [20:15:10]requested_item fm.sn is exist - process it [20:15:10]wFMCommunicate request_size=4 [20:15:10]MH_SAM_APDU [20:15:10]CAPDU: 80 11 00 00 [20:15:10]Write to MH i2c: E2 08 00 9C 5D 80 11 00 00 00 00 00 00 73 [20:15:10]Write i2c OK [20:15:10]MH_I2C_Read... [20:15:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:15:10]Read from MH i2c: E2 [20:15:10]MH_I2C_Read... [20:15:10]Read from MH i2c: E2 17 00 [20:15:10]MH_I2C_Read... [20:15:10]Read from MH i2c: E2 17 00 9C 5D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 C5 [20:15:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [20:15:10]wFMCommunicate OK [20:15:10]requested_item fd.num is exist - process it [20:15:10]SAM_PROTO_GetFieldsCounters [20:15:10]wFMCommunicate request_size=4 [20:15:10]MH_SAM_APDU [20:15:10]CAPDU: 80 13 00 00 [20:15:10]Write to MH i2c: E2 08 00 9D 5D 80 13 00 00 00 00 00 00 76 [20:15:10]Write i2c OK [20:15:10]MH_I2C_Read... [20:15:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:15:10]Read from MH i2c: E2 [20:15:10]MH_I2C_Read... [20:15:10]Read from MH i2c: E2 62 00 [20:15:10]MH_I2C_Read... [20:15:10]Read from MH i2c: E2 62 00 9D 5D 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 16 B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 3C 00 00 00 5E 04 04 00 3C 00 00 00 57 04 04 00 3D 00 00 00 19 04 04 00 00 00 00 00 90 00 4F [20:15: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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 16 B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 3C 00 00 00 5E 04 04 00 3C 00 00 00 57 04 04 00 3D 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:15:10]wFMCommunicate OK [20:15:10]SAM_PROTO_GetFieldsCounters done [20:15:10]requested_item shift.num is exist - process it [20:15:10]requested_item shift.opened is exist - process it [20:15:10]req_shift_opened [20:15:10]FM_GetShiftState [20:15:10]SAM_PROTO_GetShiftState [20:15:10]wFMCommunicate request_size=4 [20:15:10]MH_SAM_APDU [20:15:10]CAPDU: 80 13 01 00 [20:15:10]Write to MH i2c: E2 08 00 9E 5D 80 13 01 00 00 00 00 00 78 [20:15:10]Write i2c OK [20:15:10]MH_I2C_Read... [20:15:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:15:10]Read from MH i2c: E2 [20:15:10]MH_I2C_Read... [20:15:10]Read from MH i2c: E2 0E 00 [20:15:10]MH_I2C_Read... [20:15:10]Read from MH i2c: E2 0E 00 9E 5D 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 A7 [20:15:10]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [20:15:10]wFMCommunicate OK [20:15:10]SAM_PROTO_GetShiftState done [20:15:10]FM_GetShiftState done [20:15:10]req_shift_opened done [20:15:10]requested_item shift.open_date is exist - process it [20:15:10]req_shift_open_date [20:15:10]req_shift_open_date done [20:15:10]produce_requested_data done [20:15:10]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47382,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [20:15:10]process_action_free close_receipt [20:15:10]json_value_free [20:15:10]json_value_free done [20:15:10]process_json_proto returns [20:15:10]Send response to host [20:15:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47382,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [20:15:10]free response buf [20:15:10]execute_script done [20:15:10]execute_script returns [20:15:10]free content buf [20:15:10]Sock 7.Close socket [20:15:10]Sock 7.Thread stoped [20:15:14]OFD Sender: No OFD packet to send [20:15:17]int [20:15:17]Write to MH i2c: 01 00 00 9F 5D FC [20:15:17]*** FLAG_PRN_KEY set [20:15:17]Write i2c OK [20:15:17]MH_I2C_Read... [20:15:17]Read from MH i2c: 01 [20:15:17]MH_I2C_Read... [20:15:17]Read from MH i2c: 01 07 00 [20:15:17]MH_I2C_Read... [20:15:17]Read from MH i2c: 01 07 00 9F 5D 00 08 00 00 00 FF 0F 19 [20:15:17]state=0 [20:15:17]Key pressed [20:15:17]Feed [20:15:17]Write to MH i2c: D8 00 00 A0 5D D4 [20:15:17]Write i2c OK [20:15:17]MH_I2C_Read... [20:15:17]Read from MH i2c: D8 [20:15:17]MH_I2C_Read... [20:15:17]Read from MH i2c: D8 01 00 [20:15:17]MH_I2C_Read... [20:15:17]Read from MH i2c: D8 01 00 A0 5D 00 D5 [20:15:17]int [20:15:17]Write to MH i2c: 01 00 00 A1 5D FE [20:15:17]Write i2c OK [20:15:17]MH_I2C_Read... [20:15:17]Read from MH i2c: 01 [20:15:17]MH_I2C_Read... [20:15:17]Read from MH i2c: 01 07 00 [20:15:17]MH_I2C_Read... [20:15:17]Read from MH i2c: 01 07 00 A1 5D 00 48 00 00 00 3C 00 89 [20:15:17]state=2 [20:15:17]Key pressed [20:15:17]int [20:15:17]Write to MH i2c: 01 00 00 A2 5D FF [20:15:17]*** FLAG_PRN_KEY reset [20:15:17]Write i2c OK [20:15:17]MH_I2C_Read... [20:15:17]Read from MH i2c: 01 [20:15:17]MH_I2C_Read... [20:15:17]Read from MH i2c: 01 07 00 [20:15:17]MH_I2C_Read... [20:15:17]Read from MH i2c: 01 07 00 A2 5D 00 00 00 00 00 F9 0F 0E [20:15:17]state=2 [20:15:17]Stop feed [20:15:19]OFD Sender: No OFD packet to send [20:15:24]OFD Sender: No OFD packet to send [20:15:29]OFD Sender: No OFD packet to send [20:15:34]OFD Sender: No OFD packet to send [20:15:39]OFD Sender: No OFD packet to send [20:15:44]OFD Sender: No OFD packet to send [20:15:49]OFD Sender: No OFD packet to send [20:15:54]OFD Sender: No OFD packet to send [20:15:59]OFD Sender: No OFD packet to send [20:16:04]OFD Sender: No OFD packet to send [20:16:09]OFD Sender: No OFD packet to send [20:16:14]OFD Sender: No OFD packet to send [20:16:19]OFD Sender: No OFD packet to send [20:16:24]OFD Sender: No OFD packet to send [20:16:29]OFD Sender: No OFD packet to send [20:16:34]OFD Sender: No OFD packet to send [20:16:39]OFD Sender: No OFD packet to send [20:16:44]OFD Sender: No OFD packet to send [20:16:49]OFD Sender: No OFD packet to send [20:16:54]OFD Sender: No OFD packet to send [20:16:59]OFD Sender: No OFD packet to send [20:17:04]OFD Sender: No OFD packet to send [20:17:09]OFD Sender: No OFD packet to send [20:17:14]OFD Sender: No OFD packet to send [20:17:19]OFD Sender: No OFD packet to send [20:17:24]OFD Sender: No OFD packet to send [20:17:29]OFD Sender: No OFD packet to send [20:17:34]OFD Sender: No OFD packet to send [20:17:39]OFD Sender: No OFD packet to send [20:17:44]OFD Sender: No OFD packet to send [20:17:49]OFD Sender: No OFD packet to send [20:17:54]OFD Sender: No OFD packet to send [20:17:59]OFD Sender: No OFD packet to send [20:18:04]OFD Sender: No OFD packet to send [20:18:09]OFD Sender: No OFD packet to send [20:18:14]OFD Sender: No OFD packet to send [20:18:19]OFD Sender: No OFD packet to send [20:18:24]OFD Sender: No OFD packet to send [20:18:29]OFD Sender: No OFD packet to send [20:18:34]OFD Sender: No OFD packet to send [20:18:39]OFD Sender: No OFD packet to send [20:18:44]OFD Sender: No OFD packet to send [20:18:49]OFD Sender: No OFD packet to send [20:18:54]OFD Sender: No OFD packet to send [20:18:59]OFD Sender: No OFD packet to send [20:19:04]OFD Sender: No OFD packet to send [20:19:09]OFD Sender: No OFD packet to send [20:19:14]OFD Sender: No OFD packet to send [20:19:19]OFD Sender: No OFD packet to send [20:19:24]OFD Sender: No OFD packet to send [20:19:29]OFD Sender: No OFD packet to send [20:19:34]OFD Sender: No OFD packet to send [20:19:39]OFD Sender: No OFD packet to send [20:19:44]OFD Sender: No OFD packet to send [20:19:49]OFD Sender: No OFD packet to send [20:19:54]OFD Sender: No OFD packet to send [20:19:59]OFD Sender: No OFD packet to send [20:20:04]OFD Sender: No OFD packet to send [20:20:09]OFD Sender: No OFD packet to send [20:20:14]OFD Sender: No OFD packet to send [20:20:19]OFD Sender: No OFD packet to send [20:20:24]OFD Sender: No OFD packet to send [20:20:29]OFD Sender: No OFD packet to send [20:20:34]OFD Sender: No OFD packet to send [20:20:39]OFD Sender: No OFD packet to send [20:20:44]OFD Sender: No OFD packet to send [20:20:49]OFD Sender: No OFD packet to send [20:20:54]OFD Sender: No OFD packet to send [20:20:59]OFD Sender: No OFD packet to send [20:21:04]OFD Sender: No OFD packet to send [20:21:09]OFD Sender: No OFD packet to send [20:21:14]OFD Sender: No OFD packet to send [20:21:19]OFD Sender: No OFD packet to send [20:21:24]OFD Sender: No OFD packet to send [20:21:29]OFD Sender: No OFD packet to send [20:21:34]OFD Sender: No OFD packet to send [20:21:39]OFD Sender: No OFD packet to send [20:21:44]OFD Sender: No OFD packet to send [20:21:49]OFD Sender: No OFD packet to send [20:21:54]OFD Sender: No OFD packet to send [20:21:59]OFD Sender: No OFD packet to send [20:22:04]OFD Sender: No OFD packet to send [20:22:09]OFD Sender: No OFD packet to send [20:22:14]OFD Sender: No OFD packet to send [20:22:19]OFD Sender: No OFD packet to send [20:22:24]OFD Sender: No OFD packet to send [20:22:29]OFD Sender: No OFD packet to send [20:22:34]OFD Sender: No OFD packet to send [20:22:39]OFD Sender: No OFD packet to send [20:22:44]OFD Sender: No OFD packet to send [20:22:49]OFD Sender: No OFD packet to send [20:22:54]OFD Sender: No OFD packet to send [20:22:59]OFD Sender: No OFD packet to send [20:23:04]OFD Sender: No OFD packet to send [20:23:09]OFD Sender: No OFD packet to send [20:23:14]OFD Sender: No OFD packet to send [20:23:19]OFD Sender: No OFD packet to send [20:23:24]OFD Sender: No OFD packet to send [20:23:29]OFD Sender: No OFD packet to send [20:23:34]OFD Sender: No OFD packet to send [20:23:39]OFD Sender: No OFD packet to send [20:23:44]OFD Sender: No OFD packet to send [20:23:49]OFD Sender: No OFD packet to send [20:23:54]OFD Sender: No OFD packet to send [20:23:59]OFD Sender: No OFD packet to send [20:24:04]OFD Sender: No OFD packet to send [20:24:09]OFD Sender: No OFD packet to send [20:24:14]OFD Sender: No OFD packet to send [20:24:19]OFD Sender: No OFD packet to send [20:24:24]OFD Sender: No OFD packet to send [20:24:29]OFD Sender: No OFD packet to send [20:24:34]OFD Sender: No OFD packet to send [20:24:39]OFD Sender: No OFD packet to send [20:24:44]OFD Sender: No OFD packet to send [20:24:49]OFD Sender: No OFD packet to send [20:24:54]OFD Sender: No OFD packet to send [20:24:59]OFD Sender: No OFD packet to send [20:25:04]OFD Sender: No OFD packet to send [20:25:09]OFD Sender: No OFD packet to send [20:25:14]OFD Sender: No OFD packet to send [20:25:19]OFD Sender: No OFD packet to send [20:25:24]OFD Sender: No OFD packet to send [20:25:29]OFD Sender: No OFD packet to send [20:25:34]OFD Sender: No OFD packet to send [20:25:39]OFD Sender: No OFD packet to send [20:25:44]OFD Sender: No OFD packet to send [20:25:49]OFD Sender: No OFD packet to send [20:25:54]OFD Sender: No OFD packet to send [20:25:59]OFD Sender: No OFD packet to send [20:26:04]OFD Sender: No OFD packet to send [20:26:09]OFD Sender: No OFD packet to send [20:26:14]OFD Sender: No OFD packet to send [20:26:19]OFD Sender: No OFD packet to send [20:26:24]OFD Sender: No OFD packet to send [20:26:29]OFD Sender: No OFD packet to send [20:26:34]OFD Sender: No OFD packet to send [20:26:39]OFD Sender: No OFD packet to send [20:26:44]OFD Sender: No OFD packet to send [20:26:49]OFD Sender: No OFD packet to send [20:26:54]OFD Sender: No OFD packet to send [20:26:59]OFD Sender: No OFD packet to send [20:27:04]OFD Sender: No OFD packet to send [20:27:09]OFD Sender: No OFD packet to send [20:27:14]OFD Sender: No OFD packet to send [20:27:19]OFD Sender: No OFD packet to send [20:27:24]OFD Sender: No OFD packet to send [20:27:29]OFD Sender: No OFD packet to send [20:27:34]OFD Sender: No OFD packet to send [20:27:39]OFD Sender: No OFD packet to send [20:27:44]OFD Sender: No OFD packet to send [20:27:49]OFD Sender: No OFD packet to send [20:27:54]OFD Sender: No OFD packet to send [20:27:59]OFD Sender: No OFD packet to send [20:28:04]OFD Sender: No OFD packet to send [20:28:09]OFD Sender: No OFD packet to send [20:28:14]OFD Sender: No OFD packet to send [20:28:19]OFD Sender: No OFD packet to send [20:28:24]OFD Sender: No OFD packet to send [20:28:29]OFD Sender: No OFD packet to send [20:28:34]OFD Sender: No OFD packet to send [20:28:39]OFD Sender: No OFD packet to send [20:28:44]OFD Sender: No OFD packet to send [20:28:49]OFD Sender: No OFD packet to send [20:28:54]OFD Sender: No OFD packet to send [20:28:59]OFD Sender: No OFD packet to send [20:29:04]OFD Sender: No OFD packet to send [20:29:09]OFD Sender: No OFD packet to send [20:29:14]OFD Sender: No OFD packet to send [20:29:19]OFD Sender: No OFD packet to send [20:29:24]OFD Sender: No OFD packet to send [20:29:30]OFD Sender: No OFD packet to send [20:29:35]OFD Sender: No OFD packet to send [20:29:40]OFD Sender: No OFD packet to send [20:29:45]OFD Sender: No OFD packet to send [20:29:50]OFD Sender: No OFD packet to send [20:29:55]OFD Sender: No OFD packet to send [20:30:00]OFD Sender: No OFD packet to send [20:30:05]OFD Sender: No OFD packet to send [20:30:10]OFD Sender: No OFD packet to send [20:30:15]OFD Sender: No OFD packet to send [20:30:20]OFD Sender: No OFD packet to send [20:30:25]OFD Sender: No OFD packet to send [20:30:30]OFD Sender: No OFD packet to send [20:30:35]OFD Sender: No OFD packet to send [20:30:40]OFD Sender: No OFD packet to send [20:30:45]OFD Sender: No OFD packet to send [20:30:50]OFD Sender: No OFD packet to send [20:30:55]OFD Sender: No OFD packet to send [20:31:00]OFD Sender: No OFD packet to send [20:31:05]OFD Sender: No OFD packet to send [20:31:10]OFD Sender: No OFD packet to send [20:31:15]OFD Sender: No OFD packet to send [20:31:20]OFD Sender: No OFD packet to send [20:31:25]OFD Sender: No OFD packet to send [20:31:30]OFD Sender: No OFD packet to send [20:31:35]OFD Sender: No OFD packet to send [20:31:40]OFD Sender: No OFD packet to send [20:31:45]OFD Sender: No OFD packet to send [20:31:50]OFD Sender: No OFD packet to send [20:31:55]OFD Sender: No OFD packet to send [20:32:00]OFD Sender: No OFD packet to send [20:32:05]OFD Sender: No OFD packet to send [20:32:10]OFD Sender: No OFD packet to send [20:32:15]OFD Sender: No OFD packet to send [20:32:20]OFD Sender: No OFD packet to send [20:32:25]OFD Sender: No OFD packet to send [20:32:30]OFD Sender: No OFD packet to send [20:32:35]OFD Sender: No OFD packet to send [20:32:40]OFD Sender: No OFD packet to send [20:32:45]OFD Sender: No OFD packet to send [20:32:50]OFD Sender: No OFD packet to send [20:32:55]OFD Sender: No OFD packet to send [20:33:00]OFD Sender: No OFD packet to send [20:33:05]OFD Sender: No OFD packet to send [20:33:10]OFD Sender: No OFD packet to send [20:33:15]OFD Sender: No OFD packet to send [20:33:20]OFD Sender: No OFD packet to send [20:33:25]OFD Sender: No OFD packet to send [20:33:30]OFD Sender: No OFD packet to send [20:33:35]OFD Sender: No OFD packet to send [20:33:40]OFD Sender: No OFD packet to send [20:33:45]OFD Sender: No OFD packet to send [20:33:50]OFD Sender: No OFD packet to send [20:33:55]OFD Sender: No OFD packet to send [20:34:00]OFD Sender: No OFD packet to send [20:34:05]OFD Sender: No OFD packet to send [20:34:10]OFD Sender: No OFD packet to send [20:34:15]OFD Sender: No OFD packet to send [20:34:20]OFD Sender: No OFD packet to send [20:34:25]OFD Sender: No OFD packet to send [20:34:30]OFD Sender: No OFD packet to send [20:34:35]OFD Sender: No OFD packet to send [20:34:40]OFD Sender: No OFD packet to send [20:34:45]OFD Sender: No OFD packet to send [20:34:50]OFD Sender: No OFD packet to send [20:34:55]OFD Sender: No OFD packet to send [20:35:00]OFD Sender: No OFD packet to send [20:35:05]OFD Sender: No OFD packet to send [20:35:10]OFD Sender: No OFD packet to send [20:35:15]OFD Sender: No OFD packet to send [20:35:20]OFD Sender: No OFD packet to send [20:35:25]OFD Sender: No OFD packet to send [20:35:30]OFD Sender: No OFD packet to send [20:35:35]OFD Sender: No OFD packet to send [20:35:40]OFD Sender: No OFD packet to send [20:35:45]OFD Sender: No OFD packet to send [20:35:50]OFD Sender: No OFD packet to send [20:35:55]OFD Sender: No OFD packet to send [20:36:00]OFD Sender: No OFD packet to send [20:36:05]OFD Sender: No OFD packet to send [20:36:10]OFD Sender: No OFD packet to send [20:36:15]OFD Sender: No OFD packet to send [20:36:20]OFD Sender: No OFD packet to send [20:36:25]OFD Sender: No OFD packet to send [20:36:30]OFD Sender: No OFD packet to send [20:36:35]OFD Sender: No OFD packet to send [20:36:40]OFD Sender: No OFD packet to send [20:36:45]OFD Sender: No OFD packet to send [20:36:50]OFD Sender: No OFD packet to send [20:36:55]OFD Sender: No OFD packet to send [20:37:00]OFD Sender: No OFD packet to send [20:37:05]OFD Sender: No OFD packet to send [20:37:10]OFD Sender: No OFD packet to send [20:37:15]OFD Sender: No OFD packet to send [20:37:20]OFD Sender: No OFD packet to send [20:37:25]OFD Sender: No OFD packet to send [20:37:30]OFD Sender: No OFD packet to send [20:37:35]OFD Sender: No OFD packet to send [20:37:40]OFD Sender: No OFD packet to send [20:37:45]OFD Sender: No OFD packet to send [20:37:50]OFD Sender: No OFD packet to send [20:37:55]OFD Sender: No OFD packet to send [20:38:00]OFD Sender: No OFD packet to send [20:38:05]OFD Sender: No OFD packet to send [20:38:10]OFD Sender: No OFD packet to send [20:38:15]OFD Sender: No OFD packet to send [20:38:20]OFD Sender: No OFD packet to send [20:38:25]OFD Sender: No OFD packet to send [20:38:30]OFD Sender: No OFD packet to send [20:38:35]OFD Sender: No OFD packet to send [20:38:40]OFD Sender: No OFD packet to send [20:38:45]OFD Sender: No OFD packet to send [20:38:50]OFD Sender: No OFD packet to send [20:38:55]OFD Sender: No OFD packet to send [20:39:00]OFD Sender: No OFD packet to send [20:39:05]OFD Sender: No OFD packet to send [20:39:10]OFD Sender: No OFD packet to send [20:39:15]OFD Sender: No OFD packet to send [20:39:20]OFD Sender: No OFD packet to send [20:39:25]OFD Sender: No OFD packet to send [20:39:30]OFD Sender: No OFD packet to send [20:39:35]OFD Sender: No OFD packet to send [20:39:40]OFD Sender: No OFD packet to send [20:39:45]OFD Sender: No OFD packet to send [20:39:50]OFD Sender: No OFD packet to send [20:39:55]OFD Sender: No OFD packet to send [20:40:00]OFD Sender: No OFD packet to send [20:40:05]OFD Sender: No OFD packet to send [20:40:10]OFD Sender: No OFD packet to send [20:40:15]OFD Sender: No OFD packet to send [20:40:20]OFD Sender: No OFD packet to send [20:40:25]OFD Sender: No OFD packet to send [20:40:30]OFD Sender: No OFD packet to send [20:40:35]OFD Sender: No OFD packet to send [20:40:40]OFD Sender: No OFD packet to send [20:40:45]OFD Sender: No OFD packet to send [20:40:50]OFD Sender: No OFD packet to send [20:40:55]OFD Sender: No OFD packet to send [20:41:00]OFD Sender: No OFD packet to send [20:41:05]OFD Sender: No OFD packet to send [20:41:10]OFD Sender: No OFD packet to send [20:41:15]OFD Sender: No OFD packet to send [20:41:20]OFD Sender: No OFD packet to send [20:41:24]recv_with_timeout no data received [20:41:25]OFD Sender: No OFD packet to send [20:41:30]OFD Sender: No OFD packet to send [20:41:35]OFD Sender: No OFD packet to send [20:41:40]OFD Sender: No OFD packet to send [20:41:45]OFD Sender: No OFD packet to send [20:41:50]OFD Sender: No OFD packet to send [20:41:55]OFD Sender: No OFD packet to send [20:42:00]OFD Sender: No OFD packet to send [20:42:05]OFD Sender: No OFD packet to send [20:42:10]OFD Sender: No OFD packet to send [20:42:15]OFD Sender: No OFD packet to send [20:42:20]OFD Sender: No OFD packet to send [20:42:25]OFD Sender: No OFD packet to send [20:42:30]OFD Sender: No OFD packet to send [20:42:35]OFD Sender: No OFD packet to send [20:42:40]OFD Sender: No OFD packet to send [20:42:45]OFD Sender: No OFD packet to send [20:42:50]OFD Sender: No OFD packet to send [20:42:55]OFD Sender: No OFD packet to send [20:43:00]OFD Sender: No OFD packet to send [20:43:05]OFD Sender: No OFD packet to send [20:43:10]OFD Sender: No OFD packet to send [20:43:15]OFD Sender: No OFD packet to send [20:43:20]OFD Sender: No OFD packet to send [20:43:25]OFD Sender: No OFD packet to send [20:43:30]OFD Sender: No OFD packet to send [20:43:35]OFD Sender: No OFD packet to send [20:43:40]OFD Sender: No OFD packet to send [20:43:45]OFD Sender: No OFD packet to send [20:43:50]OFD Sender: No OFD packet to send [20:43:55]OFD Sender: No OFD packet to send [20:44:00]OFD Sender: No OFD packet to send [20:44:05]OFD Sender: No OFD packet to send [20:44:10]OFD Sender: No OFD packet to send [20:44:15]OFD Sender: No OFD packet to send [20:44:20]OFD Sender: No OFD packet to send [20:44:25]OFD Sender: No OFD packet to send [20:44:30]OFD Sender: No OFD packet to send [20:44:35]OFD Sender: No OFD packet to send [20:44:40]OFD Sender: No OFD packet to send [20:44:45]OFD Sender: No OFD packet to send [20:44:50]OFD Sender: No OFD packet to send [20:44:55]OFD Sender: No OFD packet to send [20:45:00]OFD Sender: No OFD packet to send [20:45:05]OFD Sender: No OFD packet to send [20:45:10]OFD Sender: No OFD packet to send [20:45:15]OFD Sender: No OFD packet to send [20:45:20]OFD Sender: No OFD packet to send [20:45:25]OFD Sender: No OFD packet to send [20:45:30]OFD Sender: No OFD packet to send [20:45:35]OFD Sender: No OFD packet to send [20:45:40]OFD Sender: No OFD packet to send [20:45:45]OFD Sender: No OFD packet to send [20:45:50]OFD Sender: No OFD packet to send [20:45:55]OFD Sender: No OFD packet to send [20:46:00]OFD Sender: No OFD packet to send [20:46:05]OFD Sender: No OFD packet to send [20:46:10]OFD Sender: No OFD packet to send [20:46:15]OFD Sender: No OFD packet to send [20:46:20]OFD Sender: No OFD packet to send [20:46:25]OFD Sender: No OFD packet to send [20:46:30]OFD Sender: No OFD packet to send [20:46:35]OFD Sender: No OFD packet to send [20:46:40]OFD Sender: No OFD packet to send [20:46:45]OFD Sender: No OFD packet to send [20:46:50]OFD Sender: No OFD packet to send [20:46:55]OFD Sender: No OFD packet to send [20:47:00]OFD Sender: No OFD packet to send [20:47:05]OFD Sender: No OFD packet to send [20:47:10]OFD Sender: No OFD packet to send [20:47:15]OFD Sender: No OFD packet to send [20:47:20]OFD Sender: No OFD packet to send [20:47:25]OFD Sender: No OFD packet to send [20:47:30]OFD Sender: No OFD packet to send [20:47:35]OFD Sender: No OFD packet to send [20:47:40]OFD Sender: No OFD packet to send [20:47:45]OFD Sender: No OFD packet to send [20:47:50]OFD Sender: No OFD packet to send [20:47:55]OFD Sender: No OFD packet to send [20:48:00]OFD Sender: No OFD packet to send [20:48:05]OFD Sender: No OFD packet to send [20:48:10]OFD Sender: No OFD packet to send [20:48:15]OFD Sender: No OFD packet to send [20:48:20]OFD Sender: No OFD packet to send [20:48:25]OFD Sender: No OFD packet to send [20:48:30]OFD Sender: No OFD packet to send [20:48:35]OFD Sender: No OFD packet to send [20:48:40]OFD Sender: No OFD packet to send [20:48:45]OFD Sender: No OFD packet to send [20:48:50]OFD Sender: No OFD packet to send [20:48:55]OFD Sender: No OFD packet to send [20:49:00]OFD Sender: No OFD packet to send [20:49:05]OFD Sender: No OFD packet to send [20:49:10]OFD Sender: No OFD packet to send [20:49:15]OFD Sender: No OFD packet to send [20:49:20]OFD Sender: No OFD packet to send [20:49:25]OFD Sender: No OFD packet to send [20:49:30]OFD Sender: No OFD packet to send [20:49:35]OFD Sender: No OFD packet to send [20:49:40]OFD Sender: No OFD packet to send [20:49:45]OFD Sender: No OFD packet to send [20:49:50]OFD Sender: No OFD packet to send [20:49:55]OFD Sender: No OFD packet to send [20:50:00]OFD Sender: No OFD packet to send [20:50:05]OFD Sender: No OFD packet to send [20:50:10]OFD Sender: No OFD packet to send [20:50:15]OFD Sender: No OFD packet to send [20:50:20]OFD Sender: No OFD packet to send [20:50:25]OFD Sender: No OFD packet to send [20:50:30]OFD Sender: No OFD packet to send [20:50:35]OFD Sender: No OFD packet to send [20:50:40]OFD Sender: No OFD packet to send [20:50:46]OFD Sender: No OFD packet to send [20:50:51]OFD Sender: No OFD packet to send [20:50:56]OFD Sender: No OFD packet to send [20:51:01]OFD Sender: No OFD packet to send [20:51:06]OFD Sender: No OFD packet to send [20:51:11]OFD Sender: No OFD packet to send [20:51:16]OFD Sender: No OFD packet to send [20:51:21]OFD Sender: No OFD packet to send [20:51:26]OFD Sender: No OFD packet to send [20:51:31]OFD Sender: No OFD packet to send [20:51:36]OFD Sender: No OFD packet to send [20:51:41]OFD Sender: No OFD packet to send [20:51:46]OFD Sender: No OFD packet to send [20:51:51]OFD Sender: No OFD packet to send [20:51:56]OFD Sender: No OFD packet to send [20:52:01]OFD Sender: No OFD packet to send [20:52:06]OFD Sender: No OFD packet to send [20:52:11]OFD Sender: No OFD packet to send [20:52:16]OFD Sender: No OFD packet to send [20:52:21]OFD Sender: No OFD packet to send [20:52:26]OFD Sender: No OFD packet to send [20:52:31]OFD Sender: No OFD packet to send [20:52:36]OFD Sender: No OFD packet to send [20:52:41]OFD Sender: No OFD packet to send [20:52:46]OFD Sender: No OFD packet to send [20:52:51]OFD Sender: No OFD packet to send [20:52:56]OFD Sender: No OFD packet to send [20:53:01]OFD Sender: No OFD packet to send [20:53:06]OFD Sender: No OFD packet to send [20:53:11]OFD Sender: No OFD packet to send [20:53:16]OFD Sender: No OFD packet to send [20:53:21]OFD Sender: No OFD packet to send [20:53:26]OFD Sender: No OFD packet to send [20:53:31]OFD Sender: No OFD packet to send [20:53:36]OFD Sender: No OFD packet to send [20:53:41]OFD Sender: No OFD packet to send [20:53:46]OFD Sender: No OFD packet to send [20:53:51]OFD Sender: No OFD packet to send [20:53:56]OFD Sender: No OFD packet to send [20:54:01]OFD Sender: No OFD packet to send [20:54:06]OFD Sender: No OFD packet to send [20:54:11]OFD Sender: No OFD packet to send [20:54:16]OFD Sender: No OFD packet to send [20:54:21]OFD Sender: No OFD packet to send [20:54:26]OFD Sender: No OFD packet to send [20:54:31]OFD Sender: No OFD packet to send [20:54:36]OFD Sender: No OFD packet to send [20:54:41]OFD Sender: No OFD packet to send [20:54:46]OFD Sender: No OFD packet to send [20:54:51]OFD Sender: No OFD packet to send [20:54:56]OFD Sender: No OFD packet to send [20:55:01]OFD Sender: No OFD packet to send [20:55:06]OFD Sender: No OFD packet to send [20:55:11]OFD Sender: No OFD packet to send [20:55:16]OFD Sender: No OFD packet to send [20:55:21]OFD Sender: No OFD packet to send [20:55:26]OFD Sender: No OFD packet to send [20:55:31]OFD Sender: No OFD packet to send [20:55:36]OFD Sender: No OFD packet to send [20:55:41]OFD Sender: No OFD packet to send [20:55:46]OFD Sender: No OFD packet to send [20:55:51]OFD Sender: No OFD packet to send [20:55:56]OFD Sender: No OFD packet to send [20:56:01]OFD Sender: No OFD packet to send [20:56:06]OFD Sender: No OFD packet to send [20:56:11]OFD Sender: No OFD packet to send [20:56:13]accept exits with 9 [20:56:13]New connection [20:56:13]New thread 3066596708 created [20:56:13]Thread 3066453348 joined [20:56:13]Waiting for new connection... [20:56:13] Sock 9.Parse request [20:56:13]Sock 9.Check first char [20:56:13]Sock 9.First char is OK [20:56:13]request: POST /json_proto HTTP/1.0 [20:56:13]Method: POST [20:56:13]URL: /json_proto [20:56:13]Method is POST - this is cgi request [20:56:13]url: /json_proto [20:56:13]query_string will be loaded in cgi processing [20:56:13]execute_cgi json_proto POST (null) [20:56:13]execute_cgi path=json_proto method=POST [20:56:13]POST find Content-Length [20:56:13]Host: 172.17.32.68:8080 [20:56:13]Content-Length: 798 [20:56:13]Content-Type: application/json [20:56:13] [20:56:13]POST finish read [20:56:13]Found Content-Length = 798 [20:56:13]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242295", "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 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 70.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:56:13]execute_script... [20:56: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)242295", "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 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 70.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:56:13]POST & json_proto [20:56:13]process_json_proto [20:56:13]json parsed OK: [20:56:13]protocol is kg_v1.0 [20:56:13]action value=close_receipt [20:56:13]process_action close_receipt [20:56:13]cmd_close_receipt [20:56:13]MH_GetDate [20:56:13]Write to MH i2c: F0 00 00 A3 5D EF [20:56:13]Write i2c OK [20:56:13]MH_I2C_Read... [20:56:13]Read from MH i2c: F0 [20:56:13]MH_I2C_Read... [20:56:13]Read from MH i2c: F0 09 00 [20:56:13]MH_I2C_Read... [20:56:13]Read from MH i2c: F0 09 00 A3 5D 00 7E C1 F0 65 0A 64 6E 65 CD [20:56:13]GetLastDocTimeStamp 1710274523 [20:56:13]current date 1710276990 [20:56:13]FM_GetShiftState [20:56:13]SAM_PROTO_GetShiftState [20:56:13]wFMCommunicate request_size=4 [20:56:13]MH_SAM_APDU [20:56:13]CAPDU: 80 13 01 00 [20:56:13]Write to MH i2c: E2 08 00 A4 5D 80 13 01 00 00 00 00 00 7E [20:56:13]Write i2c OK [20:56:13]MH_I2C_Read... [20:56:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:56:13]Read from MH i2c: E2 [20:56:13]MH_I2C_Read... [20:56:13]Read from MH i2c: E2 0E 00 [20:56:13]MH_I2C_Read... [20:56:13]Read from MH i2c: E2 0E 00 A4 5D 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 AD [20:56:13]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [20:56:13]wFMCommunicate OK [20:56:13]SAM_PROTO_GetShiftState done [20:56:13]FM_GetShiftState done [20:56:13]opened in 1710202417 [20:56:13]opened+sec_in_day 1710288817 [20:56:13]quantity*price = 7000 [20:56:13]sum+1 = 7001 [20:56:13]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 70.00 НСП 1% : 0.62 НДС 12% : 7.43 Наличными: 0.00 Безнал.: 70.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 61 12.03.2024 20:56 Смена: 314 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 Платежная система: O! деньги ФМ: 0000000000871816 ФД: 47383 ФПД: 157904677234236 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T205630&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47383&fm=157904677234236&tin=02508201610067®Number=0000000000092018&sum=7000 0 [20:56:14]StoreToDocumentArchive [20:56:14]shift 314 fd 47383 [20:56:14]save to /storage/0314/doc_00047383 [20:56:14]save last doc name /storage/0314/doc_00047383 to /storage/kkm_last_doc_name [20:56:14]save OK [20:56:14]Clear old archive folders... [20:56:14]ProcessDocumentItem done err = 0, tmpTLVsize=272 [20:56:14]tlvbuf is 003E11C0 [20:56:14]SAM_PROTO_ClearQueue [20:56:14]wFMCommunicate request_size=4 [20:56:14]MH_SAM_APDU [20:56:14]CAPDU: 80 09 00 00 [20:56:14]Write to MH i2c: E2 08 00 B1 5D 80 09 00 00 00 00 00 00 80 [20:56:14]Write i2c OK [20:56:14]MH_I2C_Read... [20:56:14]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:56:14]Read from MH i2c: E2 [20:56:14]MH_I2C_Read... [20:56:14]Read from MH i2c: E2 03 00 [20:56:14]MH_I2C_Read... [20:56:14]Read from MH i2c: E2 03 00 B1 5D 00 90 00 82 [20:56:14]RAPDU: 90 00 [20:56:14]wFMCommunicate OK [20:56:14]SAM_PROTO_ClearQueue done [20:56:14]KKMCreateOFDPacket [20:56:14]OFDProtocolAddRootSTLVToBuf [20:56:14]FM_MakeSignedData [20:56:14]FM_MakeSignedData [20:56:14]SAM_PROTO_SignData [20:56:14]wFMCommunicate request_size=4 [20:56:14]MH_SAM_APDU [20:56:14]CAPDU: 80 0D 01 02 [20:56:14]Write to MH i2c: E2 08 00 B2 5D 80 0D 01 02 00 00 00 00 88 [20:56:14]Write i2c OK [20:56:14]MH_I2C_Read... [20:56:14]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:56:14]Read from MH i2c: E2 [20:56:14]MH_I2C_Read... [20:56:14]Read from MH i2c: E2 03 00 [20:56:14]MH_I2C_Read... [20:56:14]Read from MH i2c: E2 03 00 B2 5D 00 90 00 83 [20:56:14]RAPDU: 90 00 [20:56:14]wFMCommunicate OK [20:56:14]wFMCommunicate request_size=255 [20:56:14]MH_SAM_APDU [20:56:14]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 00 00 00 00 00 00 39 04 06 00 58 1B 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 7E C1 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 [20:56:14]Write to MH i2c: E2 02 01 B3 5D 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 00 00 00 00 00 00 39 04 06 00 58 1B 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 7E C1 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 00 00 91 [20:56:14]Write i2c OK [20:56:14]MH_I2C_Read... [20:56:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:56:14]Read from MH i2c: E2 [20:56:14]MH_I2C_Read... [20:56:14]Read from MH i2c: E2 03 00 [20:56:14]MH_I2C_Read... [20:56:14]Read from MH i2c: E2 03 00 B3 5D 00 90 00 84 [20:56:14]RAPDU: 90 00 [20:56:14]wFMCommunicate OK [20:56:14]wFMCommunicate request_size=31 [20:56:14]MH_SAM_APDU [20:56:14]CAPDU: 80 0D 02 02 1A 30 30 38 37 31 38 31 36 10 04 04 00 17 B9 00 00 35 04 06 00 8F 9D 0C 31 E6 3C [20:56:14]Write to MH i2c: E2 22 00 B4 5D 80 0D 02 02 1A 00 30 30 38 37 31 38 31 36 10 04 04 00 17 B9 00 00 35 04 06 00 8F 9D 0C 31 E6 3C 00 00 10 [20:56:14]Write i2c OK [20:56:14]MH_I2C_Read... [20:56:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:56:14]Read from MH i2c: E2 [20:56:14]MH_I2C_Read... [20:56:14]Read from MH i2c: E2 03 00 [20:56:14]MH_I2C_Read... [20:56:14]Read from MH i2c: E2 03 00 B4 5D 00 90 00 85 [20:56:14]RAPDU: 90 00 [20:56:14]wFMCommunicate OK [20:56:14]wFMCommunicate request_size=4 [20:56:14]MH_SAM_APDU [20:56:14]CAPDU: 80 0D 03 02 [20:56:14]Write to MH i2c: E2 08 00 B5 5D 80 0D 03 02 00 00 00 00 8D [20:56:14]Write i2c OK [20:56:14]MH_I2C_Read... [20:56:14]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:56:14]Read from MH i2c: E2 [20:56:14]MH_I2C_Read... [20:56:14]Read from MH i2c: E2 0B 00 [20:56:14]MH_I2C_Read... [20:56:14]Read from MH i2c: E2 0B 00 B5 5D 00 A0 8F 14 BB AF 32 EB 45 90 00 9D [20:56:14]RAPDU: A0 8F 14 BB AF 32 EB 45 90 00 [20:56:14]wFMCommunicate OK [20:56:14]SAM_PROTO_SignData done [20:56:14]FM_MakeSignedData done [20:56:14]CreateOFDProtocolMessage [20:56:14]wFMCommunicate request_size=4 [20:56:14]MH_SAM_APDU [20:56:14]CAPDU: 80 11 00 00 [20:56:14]Write to MH i2c: E2 08 00 B6 5D 80 11 00 00 00 00 00 00 8D [20:56:14]Write i2c OK [20:56:14]MH_I2C_Read... [20:56:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:56:15]Read from MH i2c: E2 [20:56:15]MH_I2C_Read... [20:56:15]Read from MH i2c: E2 17 00 [20:56:15]MH_I2C_Read... [20:56:15]Read from MH i2c: E2 17 00 B6 5D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 DF [20:56:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [20:56:15]wFMCommunicate OK [20:56:15]CreateOFDProtocolMessage done [20:56:15]OFDSenderStorePacket 47383 [20:56:15]StoreOFDPacket docnum=47383 [20:56:15]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 24 01 00 00 DE 46 1C 01 7B 4E 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 00 00 00 00 00 00 39 04 06 00 58 1B 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 7E C1 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 17 B9 00 00 35 04 06 00 8F 9D 0C 31 E6 3C A0 8F 14 BB AF 32 EB 45 [20:56:15]CheckFolder [20:56:15]dirname=/storage/ofd_packets [20:56:15]CheckFolder done [20:56:15]ProducePacketName [20:56:15]name=ofd_packets/00047383 [20:56:15]NVStorageSaveData ofd_packets/00047383 [20:56:15]File name is /storage/ofd_packets/00047383 [20:56:15]Write 322 bytes [20:56:15]NVStorageSaveData done [20:56:15]OFDSenderStorePacket done [20:56:15]KKMCreateOFDPacket done [20:56:15]NVStorageSaveData kkm_last_timestamp [20:56:15]File name is /storage/kkm_last_timestamp [20:56:15]Write 4 bytes [20:56:15]NVStorageSaveData done [20:56:15]ExternCall_PrintAddStr [20:56:15]wPrintStart [20:56:15]Write to MH i2c: 01 00 00 B7 5D 14 [20:56:15]Write i2c OK [20:56:15]MH_I2C_Read... [20:56:15]Read from MH i2c: 01 [20:56:15]MH_I2C_Read... [20:56:15]Read from MH i2c: 01 07 00 [20:56:15]MH_I2C_Read... [20:56:15]Read from MH i2c: 01 07 00 B7 5D 00 00 00 00 00 FF 0F 29 [20:56:15]RasterBufferAndPrint [20:56:15]line Счет N : (3)242295 [20:56:15]line ИНН: 02508201610067 [20:56:15]line Контрольно-Кассовый Чек [20:56:15]line ПРОДАЖА [20:56:15]line Товар: 4630007400358 [20:56:15]line Семечки ДЖИНН 70г [20:56:15]line 1.000 * 70.00 [20:56:15]line = 70.00 [20:56:15]line НДС 12% НСП 1% [20:56:15]line > о реализуемом товаре [20:56:15]line ИТОГО: 70.00 [20:56:15]line НСП 1% : 0.62 [20:56:15]line НДС 12% : 7.43 [20:56:15]line Наличными: 0.00 [20:56:15]line Безнал.: 70.00 [20:56:15]line Место: АЗС № 15 "Партнер Нефть" [20:56:15]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [20:56:15]line СНО: Общий режим [20:56:15]line Чек 61 12.03.2024 20:56 [20:56:15]line Смена: 314 ФФД: 1.0 [20:56:15]line ЗНМ: 0300000097 [20:56:15]line РНМ: 0000000000092018 [20:56:15]line Версия ККМ: 001 [20:56:15]line Платежная система: O! деньги [20:56:15]line ФМ: 0000000000871816 [20:56:15]line ФД: 47383 [20:56:15]line ФПД: 157904677234236 [20:56:15]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T205630&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47383&fm=157904677234236&tin=02508201610067®Number=0000000000092018&sum=7000 [20:56:15]line 0 [20:56:15]OFD Sender: Processing packet 47383 [packets to send 8, broken 7] [20:56:15]ProducePacketName [20:56:15]name=ofd_packets/00047383 [20:56:15]OFD Sender: To server: pG, [20:56:15]CommunicateWithHost lk.salyk.kg:30040 [20:56:15]ConnectInit lk.salyk.kg [20:56:15]written 0, free lines is 4095 [20:56:15]Connected sock=10 [20:56:15]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 31 36 24 01 00 00 DE 46 1C 01 7B 4E 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 00 00 00 00 00 00 39 04 06 00 58 1B 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 7E C1 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 17 B9 00 00 35 04 06 00 8F 9D 0C 31 E6 3C A0 8F 14 BB AF 32 EB 45 [20:56:15]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 F3 E9 47 00 C0 3C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 17 B9 00 00 F4 03 04 00 0F 6C F0 65 B6 04 01 00 00 BF A0 22 97 61 82 71 2C [20:56:15]CommunicateWithHost err = 0 [20:56:15]CheckOFDResponse [20:56:15]1017 (14) - 77093643461234 [20:56:15]1041 (16) - 0000000000871816 [20:56:15]1040 (4) - 47383 [20:56:15]1012 (4) - 12.03.2024 14:51 [20:56:15]1206 (1) - 0 [20:56:15]OFD Sender: Remove packet 47383 [20:56:15]ProducePacketName [20:56:15]name=ofd_packets/00047383 [20:56:15]NVStorageDeleteData [20:56:15]Write to MH i2c: 01 00 00 E1 5D 3E [20:56:15]Write i2c OK [20:56:15]MH_I2C_Read... [20:56:15]Read from MH i2c: 01 [20:56:15]MH_I2C_Read... [20:56:15]Read from MH i2c: 01 07 00 [20:56:15]MH_I2C_Read... [20:56:15]Read from MH i2c: 01 07 00 E1 5D 00 00 00 00 00 EA 0C 3B [20:56:15]RasterBufferAndPrint [20:56:15]line [20:56:15]line [20:56:15]line [20:56:15]line [20:56:15]line [20:56:15]written 0, free lines is 3312 [20:56:15]MH_Cut [20:56:15]Write to MH i2c: D1 01 00 E8 5D 01 17 [20:56:15]Write i2c OK [20:56:15]MH_I2C_Read... [20:56:15]Read from MH i2c: D1 [20:56:15]MH_I2C_Read... [20:56:15]Read from MH i2c: D1 01 00 [20:56:15]MH_I2C_Read... [20:56:15]Read from MH i2c: D1 01 00 E8 5D 00 16 [20:56:15]Write to MH i2c: 01 00 00 E9 5D 46 [20:56:15]Write i2c OK [20:56:15]MH_I2C_Read... [20:56:16]OFD Sender: No OFD packet to send [20:56:16]*** Cut start [20:56:16]*** Purtial cut [20:56:16]*** Stage 1: CUTSNS_PIN = 1 [20:56:16]Read from MH i2c: 01 [20:56:16]MH_I2C_Read... [20:56:16]*** Stop cut motor [20:56:16]*** Cut end [20:56:16]Read from MH i2c: 01 07 00 [20:56:16]MH_I2C_Read... [20:56:16]Read from MH i2c: 01 07 00 E9 5D 00 00 00 00 00 FF 0F 5B [20:56:16]process_action close_receipt done [20:56:16]requested_data is exist [20:56:16]produce_requested_data [20:56:16]requested_item fm.sn is exist - process it [20:56:16]wFMCommunicate request_size=4 [20:56:16]MH_SAM_APDU [20:56:16]CAPDU: 80 11 00 00 [20:56:16]Write to MH i2c: E2 08 00 EA 5D 80 11 00 00 00 00 00 00 C1 [20:56:16]Write i2c OK [20:56:16]MH_I2C_Read... [20:56:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:56:17]Read from MH i2c: E2 [20:56:17]MH_I2C_Read... [20:56:17]Read from MH i2c: E2 17 00 [20:56:17]MH_I2C_Read... [20:56:17]Read from MH i2c: E2 17 00 EA 5D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 13 [20:56:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [20:56:17]wFMCommunicate OK [20:56:17]requested_item fd.num is exist - process it [20:56:17]SAM_PROTO_GetFieldsCounters [20:56:17]wFMCommunicate request_size=4 [20:56:17]MH_SAM_APDU [20:56:17]CAPDU: 80 13 00 00 [20:56:17]Write to MH i2c: E2 08 00 EB 5D 80 13 00 00 00 00 00 00 C4 [20:56:17]Write i2c OK [20:56:17]MH_I2C_Read... [20:56:17]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:56:17]Read from MH i2c: E2 [20:56:17]MH_I2C_Read... [20:56:17]Read from MH i2c: E2 62 00 [20:56:17]MH_I2C_Read... [20:56:17]Read from MH i2c: E2 62 00 EB 5D 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 17 B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 3D 00 00 00 5E 04 04 00 3D 00 00 00 57 04 04 00 3E 00 00 00 19 04 04 00 00 00 00 00 90 00 A1 [20:56: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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 17 B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 3D 00 00 00 5E 04 04 00 3D 00 00 00 57 04 04 00 3E 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:56:17]wFMCommunicate OK [20:56:17]SAM_PROTO_GetFieldsCounters done [20:56:17]requested_item shift.num is exist - process it [20:56:17]requested_item shift.opened is exist - process it [20:56:17]req_shift_opened [20:56:17]FM_GetShiftState [20:56:17]SAM_PROTO_GetShiftState [20:56:17]wFMCommunicate request_size=4 [20:56:17]MH_SAM_APDU [20:56:17]CAPDU: 80 13 01 00 [20:56:17]Write to MH i2c: E2 08 00 EC 5D 80 13 01 00 00 00 00 00 C6 [20:56:17]Write i2c OK [20:56:17]MH_I2C_Read... [20:56:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:56:17]Read from MH i2c: E2 [20:56:17]MH_I2C_Read... [20:56:17]Read from MH i2c: E2 0E 00 [20:56:17]MH_I2C_Read... [20:56:17]Read from MH i2c: E2 0E 00 EC 5D 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 F5 [20:56:17]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [20:56:17]wFMCommunicate OK [20:56:17]SAM_PROTO_GetShiftState done [20:56:17]FM_GetShiftState done [20:56:17]req_shift_opened done [20:56:17]requested_item shift.open_date is exist - process it [20:56:17]req_shift_open_date [20:56:17]req_shift_open_date done [20:56:17]produce_requested_data done [20:56:17]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47383,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [20:56:17]process_action_free close_receipt [20:56:17]json_value_free [20:56:17]json_value_free done [20:56:17]process_json_proto returns [20:56:17]Send response to host [20:56:17]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47383,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [20:56:17]free response buf [20:56:17]execute_script done [20:56:17]execute_script returns [20:56:17]free content buf [20:56:17]Sock 9.Close socket [20:56:17]Sock 9.Thread stoped [20:56:21]OFD Sender: No OFD packet to send [20:56:26]OFD Sender: No OFD packet to send [20:56:31]OFD Sender: No OFD packet to send [20:56:36]OFD Sender: No OFD packet to send [20:56:41]OFD Sender: No OFD packet to send [20:56:46]OFD Sender: No OFD packet to send [20:56:51]OFD Sender: No OFD packet to send [20:56:56]OFD Sender: No OFD packet to send [20:57:01]OFD Sender: No OFD packet to send [20:57:06]OFD Sender: No OFD packet to send [20:57:11]OFD Sender: No OFD packet to send [20:57:16]OFD Sender: No OFD packet to send [20:57:21]OFD Sender: No OFD packet to send [20:57:26]OFD Sender: No OFD packet to send [20:57:31]OFD Sender: No OFD packet to send [20:57:36]OFD Sender: No OFD packet to send [20:57:41]OFD Sender: No OFD packet to send [20:57:46]OFD Sender: No OFD packet to send [20:57:51]OFD Sender: No OFD packet to send [20:57:56]OFD Sender: No OFD packet to send [20:58:01]OFD Sender: No OFD packet to send [20:58:06]OFD Sender: No OFD packet to send [20:58:11]OFD Sender: No OFD packet to send [20:58:16]OFD Sender: No OFD packet to send [20:58:21]OFD Sender: No OFD packet to send [20:58:26]OFD Sender: No OFD packet to send [20:58:31]OFD Sender: No OFD packet to send [20:58:36]OFD Sender: No OFD packet to send [20:58:41]OFD Sender: No OFD packet to send [20:58:46]OFD Sender: No OFD packet to send [20:58:51]OFD Sender: No OFD packet to send [20:58:56]OFD Sender: No OFD packet to send [20:59:01]OFD Sender: No OFD packet to send [20:59:06]OFD Sender: No OFD packet to send [20:59:11]OFD Sender: No OFD packet to send [20:59:16]OFD Sender: No OFD packet to send [20:59:21]OFD Sender: No OFD packet to send [20:59:26]OFD Sender: No OFD packet to send [20:59:31]OFD Sender: No OFD packet to send [20:59:36]OFD Sender: No OFD packet to send [20:59:41]OFD Sender: No OFD packet to send [20:59:46]OFD Sender: No OFD packet to send [20:59:51]OFD Sender: No OFD packet to send [20:59:56]OFD Sender: No OFD packet to send [21:00:01]OFD Sender: No OFD packet to send [21:00:06]OFD Sender: No OFD packet to send [21:00:11]OFD Sender: No OFD packet to send [21:00:16]OFD Sender: No OFD packet to send [21:00:21]OFD Sender: No OFD packet to send [21:00:26]OFD Sender: No OFD packet to send [21:00:31]OFD Sender: No OFD packet to send [21:00:36]OFD Sender: No OFD packet to send [21:00:41]OFD Sender: No OFD packet to send [21:00:46]OFD Sender: No OFD packet to send [21:00:51]OFD Sender: No OFD packet to send [21:00:56]OFD Sender: No OFD packet to send [21:01:01]OFD Sender: No OFD packet to send [21:01:06]OFD Sender: No OFD packet to send [21:01:11]OFD Sender: No OFD packet to send [21:01:16]OFD Sender: No OFD packet to send [21:01:21]OFD Sender: No OFD packet to send [21:01:26]OFD Sender: No OFD packet to send [21:01:31]OFD Sender: No OFD packet to send [21:01:36]OFD Sender: No OFD packet to send [21:01:41]OFD Sender: No OFD packet to send [21:01:46]OFD Sender: No OFD packet to send [21:01:51]OFD Sender: No OFD packet to send [21:01:56]OFD Sender: No OFD packet to send [21:02:01]OFD Sender: No OFD packet to send [21:02:06]OFD Sender: No OFD packet to send [21:02:11]OFD Sender: No OFD packet to send [21:02:16]OFD Sender: No OFD packet to send [21:02:21]OFD Sender: No OFD packet to send [21:02:26]OFD Sender: No OFD packet to send [21:02:31]OFD Sender: No OFD packet to send [21:02:36]OFD Sender: No OFD packet to send [21:02:41]OFD Sender: No OFD packet to send [21:02:46]OFD Sender: No OFD packet to send [21:02:51]OFD Sender: No OFD packet to send [21:02:56]OFD Sender: No OFD packet to send [21:03:01]OFD Sender: No OFD packet to send [21:03:06]OFD Sender: No OFD packet to send [21:03:11]OFD Sender: No OFD packet to send [21:03:16]OFD Sender: No OFD packet to send [21:03:21]OFD Sender: No OFD packet to send [21:03:26]OFD Sender: No OFD packet to send [21:03:31]OFD Sender: No OFD packet to send [21:03:36]OFD Sender: No OFD packet to send [21:03:41]OFD Sender: No OFD packet to send [21:03:46]OFD Sender: No OFD packet to send [21:03:51]OFD Sender: No OFD packet to send [21:03:56]OFD Sender: No OFD packet to send [21:04:01]OFD Sender: No OFD packet to send [21:04:06]OFD Sender: No OFD packet to send [21:04:11]OFD Sender: No OFD packet to send [21:04:16]OFD Sender: No OFD packet to send [21:04:21]OFD Sender: No OFD packet to send [21:04:26]OFD Sender: No OFD packet to send [21:04:31]OFD Sender: No OFD packet to send [21:04:36]OFD Sender: No OFD packet to send [21:04:41]OFD Sender: No OFD packet to send [21:04:46]OFD Sender: No OFD packet to send [21:04:51]OFD Sender: No OFD packet to send [21:04:56]OFD Sender: No OFD packet to send [21:05:01]OFD Sender: No OFD packet to send [21:05:06]OFD Sender: No OFD packet to send [21:05:11]OFD Sender: No OFD packet to send [21:05:16]OFD Sender: No OFD packet to send [21:05:21]OFD Sender: No OFD packet to send [21:05:26]OFD Sender: No OFD packet to send [21:05:31]OFD Sender: No OFD packet to send [21:05:36]OFD Sender: No OFD packet to send [21:05:41]OFD Sender: No OFD packet to send [21:05:46]OFD Sender: No OFD packet to send [21:05:51]OFD Sender: No OFD packet to send [21:05:56]OFD Sender: No OFD packet to send [21:06:01]OFD Sender: No OFD packet to send [21:06:06]OFD Sender: No OFD packet to send [21:06:11]OFD Sender: No OFD packet to send [21:06:16]OFD Sender: No OFD packet to send [21:06:21]OFD Sender: No OFD packet to send [21:06:26]OFD Sender: No OFD packet to send [21:06:31]OFD Sender: No OFD packet to send [21:06:36]OFD Sender: No OFD packet to send [21:06:41]OFD Sender: No OFD packet to send [21:06:46]OFD Sender: No OFD packet to send [21:06:51]OFD Sender: No OFD packet to send [21:06:56]OFD Sender: No OFD packet to send [21:07:01]OFD Sender: No OFD packet to send [21:07:06]OFD Sender: No OFD packet to send [21:07:11]OFD Sender: No OFD packet to send [21:07:16]OFD Sender: No OFD packet to send [21:07:21]OFD Sender: No OFD packet to send [21:07:26]OFD Sender: No OFD packet to send [21:07:31]OFD Sender: No OFD packet to send [21:07:36]OFD Sender: No OFD packet to send [21:07:41]OFD Sender: No OFD packet to send [21:07:46]OFD Sender: No OFD packet to send [21:07:51]OFD Sender: No OFD packet to send [21:07:56]OFD Sender: No OFD packet to send [21:08:01]OFD Sender: No OFD packet to send [21:08:06]OFD Sender: No OFD packet to send [21:08:11]OFD Sender: No OFD packet to send [21:08:15]recv_with_timeout no data received [21:08:16]OFD Sender: No OFD packet to send [21:08:21]OFD Sender: No OFD packet to send [21:08:26]OFD Sender: No OFD packet to send [21:08:31]OFD Sender: No OFD packet to send [21:08:36]OFD Sender: No OFD packet to send [21:08:41]OFD Sender: No OFD packet to send [21:08:46]OFD Sender: No OFD packet to send [21:08:51]OFD Sender: No OFD packet to send [21:08:56]OFD Sender: No OFD packet to send [21:09:01]OFD Sender: No OFD packet to send [21:09:06]OFD Sender: No OFD packet to send [21:09:11]OFD Sender: No OFD packet to send [21:09:16]OFD Sender: No OFD packet to send [21:09:21]OFD Sender: No OFD packet to send [21:09:26]OFD Sender: No OFD packet to send [21:09:31]OFD Sender: No OFD packet to send [21:09:36]OFD Sender: No OFD packet to send [21:09:41]OFD Sender: No OFD packet to send [21:09:46]OFD Sender: No OFD packet to send [21:09:51]OFD Sender: No OFD packet to send [21:09:56]OFD Sender: No OFD packet to send [21:10:01]OFD Sender: No OFD packet to send [21:10:06]OFD Sender: No OFD packet to send [21:10:11]OFD Sender: No OFD packet to send [21:10:16]OFD Sender: No OFD packet to send [21:10:21]OFD Sender: No OFD packet to send [21:10:26]OFD Sender: No OFD packet to send [21:10:31]OFD Sender: No OFD packet to send [21:10:36]OFD Sender: No OFD packet to send [21:10:41]OFD Sender: No OFD packet to send [21:10:46]OFD Sender: No OFD packet to send [21:10:51]OFD Sender: No OFD packet to send [21:10:56]OFD Sender: No OFD packet to send [21:11:01]OFD Sender: No OFD packet to send [21:11:06]OFD Sender: No OFD packet to send [21:11:11]OFD Sender: No OFD packet to send [21:11:16]OFD Sender: No OFD packet to send [21:11:21]OFD Sender: No OFD packet to send [21:11:26]OFD Sender: No OFD packet to send [21:11:31]OFD Sender: No OFD packet to send [21:11:36]OFD Sender: No OFD packet to send [21:11:41]OFD Sender: No OFD packet to send [21:11:46]OFD Sender: No OFD packet to send [21:11:51]OFD Sender: No OFD packet to send [21:11:56]OFD Sender: No OFD packet to send [21:12:01]OFD Sender: No OFD packet to send [21:12:06]OFD Sender: No OFD packet to send [21:12:11]OFD Sender: No OFD packet to send [21:12:16]OFD Sender: No OFD packet to send [21:12:21]OFD Sender: No OFD packet to send [21:12:26]OFD Sender: No OFD packet to send [21:12:31]OFD Sender: No OFD packet to send [21:12:36]OFD Sender: No OFD packet to send [21:12:41]OFD Sender: No OFD packet to send [21:12:46]OFD Sender: No OFD packet to send [21:12:51]OFD Sender: No OFD packet to send [21:12:56]OFD Sender: No OFD packet to send [21:13:01]OFD Sender: No OFD packet to send [21:13:06]OFD Sender: No OFD packet to send [21:13:11]OFD Sender: No OFD packet to send [21:13:16]OFD Sender: No OFD packet to send [21:13:21]OFD Sender: No OFD packet to send [21:13:26]OFD Sender: No OFD packet to send [21:13:31]OFD Sender: No OFD packet to send [21:13:36]OFD Sender: No OFD packet to send [21:13:41]OFD Sender: No OFD packet to send [21:13:46]OFD Sender: No OFD packet to send [21:13:51]OFD Sender: No OFD packet to send [21:13:56]OFD Sender: No OFD packet to send [21:14:01]OFD Sender: No OFD packet to send [21:14:06]OFD Sender: No OFD packet to send [21:14:11]OFD Sender: No OFD packet to send [21:14:16]OFD Sender: No OFD packet to send [21:14:21]OFD Sender: No OFD packet to send [21:14:26]OFD Sender: No OFD packet to send [21:14:31]OFD Sender: No OFD packet to send [21:14:36]OFD Sender: No OFD packet to send [21:14:42]OFD Sender: No OFD packet to send [21:14:47]OFD Sender: No OFD packet to send [21:14:52]OFD Sender: No OFD packet to send [21:14:57]OFD Sender: No OFD packet to send [21:15:02]OFD Sender: No OFD packet to send [21:15:07]OFD Sender: No OFD packet to send [21:15:12]OFD Sender: No OFD packet to send [21:15:17]OFD Sender: No OFD packet to send [21:15:17]recv_with_timeout no data received [21:15:22]OFD Sender: No OFD packet to send [21:15:27]OFD Sender: No OFD packet to send [21:15:32]OFD Sender: No OFD packet to send [21:15:37]OFD Sender: No OFD packet to send [21:15:42]OFD Sender: No OFD packet to send [21:15:47]OFD Sender: No OFD packet to send [21:15:52]OFD Sender: No OFD packet to send [21:15:57]OFD Sender: No OFD packet to send [21:16:02]OFD Sender: No OFD packet to send [21:16:07]OFD Sender: No OFD packet to send [21:16:12]OFD Sender: No OFD packet to send [21:16:17]OFD Sender: No OFD packet to send [21:16:22]OFD Sender: No OFD packet to send [21:16:27]OFD Sender: No OFD packet to send [21:16:32]OFD Sender: No OFD packet to send [21:16:37]OFD Sender: No OFD packet to send [21:16:42]OFD Sender: No OFD packet to send [21:16:47]OFD Sender: No OFD packet to send [21:16:52]OFD Sender: No OFD packet to send [21:16:57]OFD Sender: No OFD packet to send [21:17:02]OFD Sender: No OFD packet to send [21:17:07]OFD Sender: No OFD packet to send [21:17:12]OFD Sender: No OFD packet to send [21:17:17]OFD Sender: No OFD packet to send [21:17:22]OFD Sender: No OFD packet to send [21:17:27]OFD Sender: No OFD packet to send [21:17:32]OFD Sender: No OFD packet to send [21:17:37]OFD Sender: No OFD packet to send [21:17:42]OFD Sender: No OFD packet to send [21:17:47]OFD Sender: No OFD packet to send [21:17:52]OFD Sender: No OFD packet to send [21:17:57]OFD Sender: No OFD packet to send [21:18:02]OFD Sender: No OFD packet to send [21:18:07]OFD Sender: No OFD packet to send [21:18:12]OFD Sender: No OFD packet to send [21:18:17]OFD Sender: No OFD packet to send [21:18:22]OFD Sender: No OFD packet to send [21:18:27]OFD Sender: No OFD packet to send [21:18:32]OFD Sender: No OFD packet to send [21:18:37]OFD Sender: No OFD packet to send [21:18:42]OFD Sender: No OFD packet to send [21:18:47]OFD Sender: No OFD packet to send [21:18:50]accept exits with 7 [21:18:50]New connection [21:18:50]New thread 3066453348 created [21:18:50]Thread 3066596708 joined [21:18:50]Waiting for new connection... [21:18:50] Sock 7.Parse request [21:18:50]Sock 7.Check first char [21:18:50]Sock 7.First char is OK [21:18:50]request: POST /json_proto HTTP/1.0 [21:18:50]Method: POST [21:18:50]URL: /json_proto [21:18:50]Method is POST - this is cgi request [21:18:50]url: /json_proto [21:18:50]query_string will be loaded in cgi processing [21:18:50]execute_cgi json_proto POST (null) [21:18:50]execute_cgi path=json_proto method=POST [21:18:50]POST find Content-Length [21:18:50]Host: 172.17.32.68:8080 [21:18:50]Content-Length: 632 [21:18:50]Content-Type: application/json [21:18:50] [21:18:50]POST finish read [21:18:50]Found Content-Length = 632 [21:18:50]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242296", "tax_sys" : 0, "items" : [ { "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 40.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:18:50]execute_script... [21:18: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)242296", "tax_sys" : 0, "items" : [ { "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 40.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:18:50]POST & json_proto [21:18:50]process_json_proto [21:18:50]json parsed OK: [21:18:50]protocol is kg_v1.0 [21:18:50]action value=close_receipt [21:18:50]process_action close_receipt [21:18:50]cmd_close_receipt [21:18:50]MH_GetDate [21:18:50]Write to MH i2c: F0 00 00 ED 5D 39 [21:18:50]Write i2c OK [21:18:50]MH_I2C_Read... [21:18:50]Read from MH i2c: F0 [21:18:50]MH_I2C_Read... [21:18:50]Read from MH i2c: F0 09 00 [21:18:50]MH_I2C_Read... [21:18:50]Read from MH i2c: F0 09 00 ED 5D 00 CB C6 F0 65 0A 64 6E 65 69 [21:18:50]GetLastDocTimeStamp 1710276990 [21:18:50]current date 1710278347 [21:18:50]FM_GetShiftState [21:18:50]SAM_PROTO_GetShiftState [21:18:50]wFMCommunicate request_size=4 [21:18:50]MH_SAM_APDU [21:18:50]CAPDU: 80 13 01 00 [21:18:50]Write to MH i2c: E2 08 00 EE 5D 80 13 01 00 00 00 00 00 C8 [21:18:50]Write i2c OK [21:18:50]MH_I2C_Read... [21:18:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:18:50]Read from MH i2c: E2 [21:18:50]MH_I2C_Read... [21:18:50]Read from MH i2c: E2 0E 00 [21:18:50]MH_I2C_Read... [21:18:50]Read from MH i2c: E2 0E 00 EE 5D 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 F7 [21:18:50]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [21:18:50]wFMCommunicate OK [21:18:50]SAM_PROTO_GetShiftState done [21:18:50]FM_GetShiftState done [21:18:50]opened in 1710202417 [21:18:50]opened+sec_in_day 1710288817 [21:18:50]quantity*price = 4000 [21:18:50]sum+1 = 4001 [21:18:50]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 40.00 НСП 1% : 0.35 НДС 12% : 4.25 Наличными: 40.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 62 12.03.2024 21:19 Смена: 314 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47384 ФПД: 42430967675862 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T211907&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47384&fm=42430967675862&tin=02508201610067®Number=0000000000092018&sum=4000 0 [21:18:51]StoreToDocumentArchive [21:18:51]shift 314 fd 47384 [21:18:51]save to /storage/0314/doc_00047384 [21:18:51]save last doc name /storage/0314/doc_00047384 to /storage/kkm_last_doc_name [21:18:51]save OK [21:18:51]Clear old archive folders... [21:18:51]ProcessDocumentItem done err = 0, tmpTLVsize=271 [21:18:51]tlvbuf is 003CCDD0 [21:18:51]SAM_PROTO_ClearQueue [21:18:51]wFMCommunicate request_size=4 [21:18:51]MH_SAM_APDU [21:18:51]CAPDU: 80 09 00 00 [21:18:51]Write to MH i2c: E2 08 00 FB 5D 80 09 00 00 00 00 00 00 CA [21:18:51]Write i2c OK [21:18:51]MH_I2C_Read... [21:18:51]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:18:51]Read from MH i2c: E2 [21:18:51]MH_I2C_Read... [21:18:51]Read from MH i2c: E2 03 00 [21:18:51]MH_I2C_Read... [21:18:51]Read from MH i2c: E2 03 00 FB 5D 00 90 00 CC [21:18:51]RAPDU: 90 00 [21:18:51]wFMCommunicate OK [21:18:51]SAM_PROTO_ClearQueue done [21:18:51]KKMCreateOFDPacket [21:18:51]OFDProtocolAddRootSTLVToBuf [21:18:51]FM_MakeSignedData [21:18:51]FM_MakeSignedData [21:18:51]SAM_PROTO_SignData [21:18:51]wFMCommunicate request_size=4 [21:18:51]MH_SAM_APDU [21:18:51]CAPDU: 80 0D 01 02 [21:18:51]Write to MH i2c: E2 08 00 FC 5D 80 0D 01 02 00 00 00 00 D2 [21:18:51]Write i2c OK [21:18:51]MH_I2C_Read... [21:18:51]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:18:51]Read from MH i2c: E2 [21:18:51]MH_I2C_Read... [21:18:51]Read from MH i2c: E2 03 00 [21:18:51]MH_I2C_Read... [21:18:51]Read from MH i2c: E2 03 00 FC 5D 00 90 00 CD [21:18:51]RAPDU: 90 00 [21:18:51]wFMCommunicate OK [21:18:51]wFMCommunicate request_size=255 [21:18:51]MH_SAM_APDU [21:18:51]CAPDU: 80 0D 02 02 FA 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 CB C6 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 [21:18:51]Write to MH i2c: E2 02 01 FD 5D 80 0D 02 02 FA 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 CB C6 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 00 00 11 [21:18:51]Write i2c OK [21:18:51]MH_I2C_Read... [21:18:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:18:52]Read from MH i2c: E2 [21:18:52]MH_I2C_Read... [21:18:52]Read from MH i2c: E2 03 00 [21:18:52]MH_I2C_Read... [21:18:52]Read from MH i2c: E2 03 00 FD 5D 00 90 00 CE [21:18:52]RAPDU: 90 00 [21:18:52]wFMCommunicate OK [21:18:52]wFMCommunicate request_size=30 [21:18:52]MH_SAM_APDU [21:18:52]CAPDU: 80 0D 02 02 19 30 38 37 31 38 31 36 10 04 04 00 18 B9 00 00 35 04 06 00 26 97 3A C1 7B D6 [21:18:52]Write to MH i2c: E2 21 00 FE 5D 80 0D 02 02 19 00 30 38 37 31 38 31 36 10 04 04 00 18 B9 00 00 35 04 06 00 26 97 3A C1 7B D6 00 00 A7 [21:18:52]Write i2c OK [21:18:52]MH_I2C_Read... [21:18:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:18:52]Read from MH i2c: E2 [21:18:52]MH_I2C_Read... [21:18:52]Read from MH i2c: E2 03 00 [21:18:52]MH_I2C_Read... [21:18:52]Read from MH i2c: E2 03 00 FE 5D 00 90 00 CF [21:18:52]RAPDU: 90 00 [21:18:52]wFMCommunicate OK [21:18:52]wFMCommunicate request_size=4 [21:18:52]MH_SAM_APDU [21:18:52]CAPDU: 80 0D 03 02 [21:18:52]Write to MH i2c: E2 08 00 FF 5D 80 0D 03 02 00 00 00 00 D7 [21:18:52]Write i2c OK [21:18:52]MH_I2C_Read... [21:18:52]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:18:52]Read from MH i2c: E2 [21:18:52]MH_I2C_Read... [21:18:52]Read from MH i2c: E2 0B 00 [21:18:52]MH_I2C_Read... [21:18:52]Read from MH i2c: E2 0B 00 FF 5D 00 DD A3 EE D0 5E 9F 4F 15 90 00 77 [21:18:52]RAPDU: DD A3 EE D0 5E 9F 4F 15 90 00 [21:18:52]wFMCommunicate OK [21:18:52]SAM_PROTO_SignData done [21:18:52]FM_MakeSignedData done [21:18:52]CreateOFDProtocolMessage [21:18:52]wFMCommunicate request_size=4 [21:18:52]MH_SAM_APDU [21:18:52]CAPDU: 80 11 00 00 [21:18:52]Write to MH i2c: E2 08 00 00 5E 80 11 00 00 00 00 00 00 D8 [21:18:52]Write i2c OK [21:18:52]MH_I2C_Read... [21:18:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:18:52]Read from MH i2c: E2 [21:18:52]MH_I2C_Read... [21:18:52]Read from MH i2c: E2 17 00 [21:18:52]MH_I2C_Read... [21:18:52]Read from MH i2c: E2 17 00 00 5E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 2A [21:18:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [21:18:52]wFMCommunicate OK [21:18:52]CreateOFDProtocolMessage done [21:18:52]OFDSenderStorePacket 47384 [21:18:52]StoreOFDPacket docnum=47384 [21:18:52]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 23 01 00 00 CF 36 1B 01 FD F1 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 CB C6 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 18 B9 00 00 35 04 06 00 26 97 3A C1 7B D6 DD A3 EE D0 5E 9F 4F 15 [21:18:52]CheckFolder [21:18:52]dirname=/storage/ofd_packets [21:18:52]CheckFolder done [21:18:52]ProducePacketName [21:18:52]name=ofd_packets/00047384 [21:18:52]NVStorageSaveData ofd_packets/00047384 [21:18:52]File name is /storage/ofd_packets/00047384 [21:18:52]Write 321 bytes [21:18:52]NVStorageSaveData done [21:18:52]OFDSenderStorePacket done [21:18:52]KKMCreateOFDPacket done [21:18:52]NVStorageSaveData kkm_last_timestamp [21:18:52]File name is /storage/kkm_last_timestamp [21:18:52]Write 4 bytes [21:18:52]NVStorageSaveData done [21:18:52]ExternCall_PrintAddStr [21:18:52]wPrintStart [21:18:52]Write to MH i2c: 01 00 00 01 5E 5F [21:18:52]Write i2c OK [21:18:52]MH_I2C_Read... [21:18:52]Read from MH i2c: 01 [21:18:52]MH_I2C_Read... [21:18:52]Read from MH i2c: 01 07 00 [21:18:52]MH_I2C_Read... [21:18:52]Read from MH i2c: 01 07 00 01 5E 00 00 00 00 00 FF 0F 74 [21:18:52]RasterBufferAndPrint [21:18:52]line Счет N : (3)242296 [21:18:52]line ИНН: 02508201610067 [21:18:52]line Контрольно-Кассовый Чек [21:18:52]line ПРОДАЖА [21:18:52]line Товар: 4700000160211 [21:18:52]line Вода Легенда 0,5л [21:18:52]line 1.000 * 40.00 [21:18:52]line = 40.00 [21:18:52]line НДС 12% НСП 1% [21:18:52]line > о реализуемом товаре [21:18:52]line ИТОГО: 40.00 [21:18:52]line НСП 1% : 0.35 [21:18:52]line НДС 12% : 4.25 [21:18:52]line Наличными: 40.00 [21:18:52]line Безнал.: 0.00 [21:18:52]line Место: АЗС № 15 "Партнер Нефть" [21:18:52]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [21:18:52]line СНО: Общий режим [21:18:52]line Чек 62 12.03.2024 21:19 [21:18:52]line Смена: 314 ФФД: 1.0 [21:18:52]line ЗНМ: 0300000097 [21:18:52]line РНМ: 0000000000092018 [21:18:52]line Версия ККМ: 001 [21:18:52]line ФМ: 0000000000871816 [21:18:52]line ФД: 47384 [21:18:52]line ФПД: 42430967675862 [21:18:52]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T211907&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47384&fm=42430967675862&tin=02508201610067®Number=0000000000092018&sum=4000 [21:18:52]OFD Sender: Processing packet 47384 [packets to send 8, broken 7] [21:18:52]ProducePacketName [21:18:52]name=ofd_packets/00047384 [21:18:52]OFD Sender: To server: pG, [21:18:52]CommunicateWithHost lk.salyk.kg:30040 [21:18:52]ConnectInit lk.salyk.kg [21:18:52]line 0 [21:18:52]written 0, free lines is 4095 [21:18:52]Connected sock=10 [21:18: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 31 36 23 01 00 00 CF 36 1B 01 FD F1 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 CB C6 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 18 B9 00 00 35 04 06 00 26 97 3A C1 7B D6 DD A3 EE D0 5E 9F 4F 15 [21:18: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 31 36 4F 00 00 00 ED 51 47 00 1C E3 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 31 36 10 04 04 00 18 B9 00 00 F4 03 04 00 5C 71 F0 65 B6 04 01 00 00 40 0A 3A F3 55 07 1A 34 [21:18:52]CommunicateWithHost err = 0 [21:18:52]CheckOFDResponse [21:18:52]1017 (14) - 77093643461234 [21:18:52]1041 (16) - 0000000000871816 [21:18:52]1040 (4) - 47384 [21:18:52]1012 (4) - 12.03.2024 15:14 [21:18:52]1206 (1) - 0 [21:18:52]OFD Sender: Remove packet 47384 [21:18:52]ProducePacketName [21:18:52]name=ofd_packets/00047384 [21:18:52]NVStorageDeleteData [21:18:52]Write to MH i2c: 01 00 00 29 5E 87 [21:18:52]Write i2c OK [21:18:52]MH_I2C_Read... [21:18:52]Read from MH i2c: 01 [21:18:52]MH_I2C_Read... [21:18:52]Read from MH i2c: 01 07 00 [21:18:52]MH_I2C_Read... [21:18:52]Read from MH i2c: 01 07 00 29 5E 00 00 00 00 00 F7 0C 91 [21:18:52]RasterBufferAndPrint [21:18:52]line [21:18:52]line [21:18:52]line [21:18:52]line [21:18:52]line [21:18:52]written 0, free lines is 3328 [21:18:52]MH_Cut [21:18:52]Write to MH i2c: D1 01 00 30 5E 01 60 [21:18:52]Write i2c OK [21:18:52]MH_I2C_Read... [21:18:52]Read from MH i2c: D1 [21:18:52]MH_I2C_Read... [21:18:52]Read from MH i2c: D1 01 00 [21:18:52]MH_I2C_Read... [21:18:52]Read from MH i2c: D1 01 00 30 5E 00 5F [21:18:52]Write to MH i2c: 01 00 00 31 5E 8F [21:18:52]Write i2c OK [21:18:52]MH_I2C_Read... [21:18:53]OFD Sender: No OFD packet to send [21:18:53]*** Cut start [21:18:53]*** Purtial cut [21:18:53]*** Stage 1: CUTSNS_PIN = 1 [21:18:54]Read from MH i2c: 01 [21:18:54]MH_I2C_Read... [21:18:54]*** Stop cut motor [21:18:54]*** Cut end [21:18:54]Read from MH i2c: 01 07 00 [21:18:54]MH_I2C_Read... [21:18:54]Read from MH i2c: 01 07 00 31 5E 00 00 00 00 00 FF 0F A4 [21:18:54]process_action close_receipt done [21:18:54]requested_data is exist [21:18:54]produce_requested_data [21:18:54]requested_item fm.sn is exist - process it [21:18:54]wFMCommunicate request_size=4 [21:18:54]MH_SAM_APDU [21:18:54]CAPDU: 80 11 00 00 [21:18:54]Write to MH i2c: E2 08 00 32 5E 80 11 00 00 00 00 00 00 0A [21:18:54]Write i2c OK [21:18:54]MH_I2C_Read... [21:18:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:18:54]Read from MH i2c: E2 [21:18:54]MH_I2C_Read... [21:18:54]Read from MH i2c: E2 17 00 [21:18:54]MH_I2C_Read... [21:18:54]Read from MH i2c: E2 17 00 32 5E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 5C [21:18:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [21:18:54]wFMCommunicate OK [21:18:54]requested_item fd.num is exist - process it [21:18:54]SAM_PROTO_GetFieldsCounters [21:18:54]wFMCommunicate request_size=4 [21:18:54]MH_SAM_APDU [21:18:54]CAPDU: 80 13 00 00 [21:18:54]Write to MH i2c: E2 08 00 33 5E 80 13 00 00 00 00 00 00 0D [21:18:54]Write i2c OK [21:18:54]MH_I2C_Read... [21:18:54]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:18:54]Read from MH i2c: E2 [21:18:54]MH_I2C_Read... [21:18:54]Read from MH i2c: E2 62 00 [21:18:54]MH_I2C_Read... [21:18:54]Read from MH i2c: E2 62 00 33 5E 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 18 B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 3E 00 00 00 5E 04 04 00 3E 00 00 00 57 04 04 00 3F 00 00 00 19 04 04 00 00 00 00 00 90 00 EE [21:18: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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 18 B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 3E 00 00 00 5E 04 04 00 3E 00 00 00 57 04 04 00 3F 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:18:54]wFMCommunicate OK [21:18:54]SAM_PROTO_GetFieldsCounters done [21:18:54]requested_item shift.num is exist - process it [21:18:54]requested_item shift.opened is exist - process it [21:18:54]req_shift_opened [21:18:54]FM_GetShiftState [21:18:54]SAM_PROTO_GetShiftState [21:18:54]wFMCommunicate request_size=4 [21:18:54]MH_SAM_APDU [21:18:54]CAPDU: 80 13 01 00 [21:18:54]Write to MH i2c: E2 08 00 34 5E 80 13 01 00 00 00 00 00 0F [21:18:54]Write i2c OK [21:18:54]MH_I2C_Read... [21:18:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:18:54]Read from MH i2c: E2 [21:18:54]MH_I2C_Read... [21:18:54]Read from MH i2c: E2 0E 00 [21:18:54]MH_I2C_Read... [21:18:54]Read from MH i2c: E2 0E 00 34 5E 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 3E [21:18:54]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [21:18:54]wFMCommunicate OK [21:18:54]SAM_PROTO_GetShiftState done [21:18:54]FM_GetShiftState done [21:18:54]req_shift_opened done [21:18:54]requested_item shift.open_date is exist - process it [21:18:54]req_shift_open_date [21:18:54]req_shift_open_date done [21:18:54]produce_requested_data done [21:18:54]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47384,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [21:18:54]process_action_free close_receipt [21:18:54]json_value_free [21:18:54]json_value_free done [21:18:54]process_json_proto returns [21:18:54]Send response to host [21:18:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47384,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [21:18:54]free response buf [21:18:54]execute_script done [21:18:54]execute_script returns [21:18:54]free content buf [21:18:54]Sock 7.Close socket [21:18:54]Sock 7.Thread stoped [21:18:58]OFD Sender: No OFD packet to send [21:19:03]OFD Sender: No OFD packet to send [21:19:08]OFD Sender: No OFD packet to send [21:19:13]OFD Sender: No OFD packet to send [21:19:18]OFD Sender: No OFD packet to send [21:19:23]OFD Sender: No OFD packet to send [21:19:28]OFD Sender: No OFD packet to send [21:19:33]OFD Sender: No OFD packet to send [21:19:38]OFD Sender: No OFD packet to send [21:19:43]OFD Sender: No OFD packet to send [21:19:45]accept exits with 9 [21:19:45]New connection [21:19:45]New thread 3066596708 created [21:19:45]Thread 3066453348 joined [21:19:45]Waiting for new connection... [21:19:45] Sock 9.Parse request [21:19:45]Sock 9.Check first char [21:19:45]Sock 9.First char is OK [21:19:45]request: POST /json_proto HTTP/1.0 [21:19:45]Method: POST [21:19:45]URL: /json_proto [21:19:45]Method is POST - this is cgi request [21:19:45]url: /json_proto [21:19:45]query_string will be loaded in cgi processing [21:19:45]execute_cgi json_proto POST (null) [21:19:45]execute_cgi path=json_proto method=POST [21:19:45]POST find Content-Length [21:19:45]Host: 172.17.32.68:8080 [21:19:45]Content-Length: 626 [21:19:45]Content-Type: application/json [21:19:45] [21:19:45]POST finish read [21:19:45]Found Content-Length = 626 [21:19:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242297", "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" ] } } [21:19:45]execute_script... [21:19:45]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242297", "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" ] } } [21:19:45]POST & json_proto [21:19:45]process_json_proto [21:19:45]json parsed OK: [21:19:45]protocol is kg_v1.0 [21:19:45]action value=close_receipt [21:19:45]process_action close_receipt [21:19:45]cmd_close_receipt [21:19:45]MH_GetDate [21:19:45]Write to MH i2c: F0 00 00 35 5E 82 [21:19:45]Write i2c OK [21:19:45]MH_I2C_Read... [21:19:45]Read from MH i2c: F0 [21:19:45]MH_I2C_Read... [21:19:45]Read from MH i2c: F0 09 00 [21:19:45]MH_I2C_Read... [21:19:45]Read from MH i2c: F0 09 00 35 5E 00 02 C7 F0 65 0A 64 6E 65 EA [21:19:45]GetLastDocTimeStamp 1710278347 [21:19:45]current date 1710278402 [21:19:45]FM_GetShiftState [21:19:45]SAM_PROTO_GetShiftState [21:19:45]wFMCommunicate request_size=4 [21:19:45]MH_SAM_APDU [21:19:45]CAPDU: 80 13 01 00 [21:19:45]Write to MH i2c: E2 08 00 36 5E 80 13 01 00 00 00 00 00 11 [21:19:45]Write i2c OK [21:19:45]MH_I2C_Read... [21:19:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:19:45]Read from MH i2c: E2 [21:19:45]MH_I2C_Read... [21:19:45]Read from MH i2c: E2 0E 00 [21:19:45]MH_I2C_Read... [21:19:45]Read from MH i2c: E2 0E 00 36 5E 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 40 [21:19:45]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [21:19:45]wFMCommunicate OK [21:19:45]SAM_PROTO_GetShiftState done [21:19:45]FM_GetShiftState done [21:19:45]opened in 1710202417 [21:19:45]opened+sec_in_day 1710288817 [21:19:45]quantity*price = 1000 [21:19:45]sum+1 = 1001 [21:19:45]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 10.00 НСП 1% : 0.09 НДС 12% : 1.06 Наличными: 10.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 63 12.03.2024 21:20 Смена: 314 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47385 ФПД: 139329938137265 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T212002&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47385&fm=139329938137265&tin=02508201610067®Number=0000000000092018&sum=1000 0 [21:19:46]StoreToDocumentArchive [21:19:46]shift 314 fd 47385 [21:19:46]save to /storage/0314/doc_00047385 [21:19:46]save last doc name /storage/0314/doc_00047385 to /storage/kkm_last_doc_name [21:19:46]save OK [21:19:46]Clear old archive folders... [21:19:46]ProcessDocumentItem done err = 0, tmpTLVsize=273 [21:19:46]tlvbuf is B6D51010 [21:19:46]SAM_PROTO_ClearQueue [21:19:46]wFMCommunicate request_size=4 [21:19:46]MH_SAM_APDU [21:19:46]CAPDU: 80 09 00 00 [21:19:46]Write to MH i2c: E2 08 00 43 5E 80 09 00 00 00 00 00 00 13 [21:19:46]Write i2c OK [21:19:46]MH_I2C_Read... [21:19:46]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:19:46]Read from MH i2c: E2 [21:19:46]MH_I2C_Read... [21:19:46]Read from MH i2c: E2 03 00 [21:19:46]MH_I2C_Read... [21:19:46]Read from MH i2c: E2 03 00 43 5E 00 90 00 15 [21:19:46]RAPDU: 90 00 [21:19:46]wFMCommunicate OK [21:19:46]SAM_PROTO_ClearQueue done [21:19:46]KKMCreateOFDPacket [21:19:46]OFDProtocolAddRootSTLVToBuf [21:19:46]FM_MakeSignedData [21:19:46]FM_MakeSignedData [21:19:46]SAM_PROTO_SignData [21:19:46]wFMCommunicate request_size=4 [21:19:46]MH_SAM_APDU [21:19:46]CAPDU: 80 0D 01 02 [21:19:46]Write to MH i2c: E2 08 00 44 5E 80 0D 01 02 00 00 00 00 1B [21:19:46]Write i2c OK [21:19:46]MH_I2C_Read... [21:19:46]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:19:46]Read from MH i2c: E2 [21:19:46]MH_I2C_Read... [21:19:46]Read from MH i2c: E2 03 00 [21:19:46]MH_I2C_Read... [21:19:46]Read from MH i2c: E2 03 00 44 5E 00 90 00 16 [21:19:46]RAPDU: 90 00 [21:19:46]wFMCommunicate OK [21:19:46]wFMCommunicate request_size=255 [21:19:46]MH_SAM_APDU [21:19:46]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 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 3F 00 00 00 F4 03 04 00 02 C7 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 [21:19:46]Write to MH i2c: E2 02 01 45 5E 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 3F 00 00 00 F4 03 04 00 02 C7 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 00 00 ED [21:19:46]Write i2c OK [21:19:46]MH_I2C_Read... [21:19:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:19:47]Read from MH i2c: E2 [21:19:47]MH_I2C_Read... [21:19:47]Read from MH i2c: E2 03 00 [21:19:47]MH_I2C_Read... [21:19:47]Read from MH i2c: E2 03 00 45 5E 00 90 00 17 [21:19:47]RAPDU: 90 00 [21:19:47]wFMCommunicate OK [21:19:47]wFMCommunicate request_size=32 [21:19:47]MH_SAM_APDU [21:19:47]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 31 38 31 36 10 04 04 00 19 B9 00 00 35 04 06 00 7E B8 47 78 20 B1 [21:19:47]Write to MH i2c: E2 23 00 46 5E 80 0D 02 02 1B 00 30 30 30 38 37 31 38 31 36 10 04 04 00 19 B9 00 00 35 04 06 00 7E B8 47 78 20 B1 00 00 12 [21:19:47]Write i2c OK [21:19:47]MH_I2C_Read... [21:19:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:19:47]Read from MH i2c: E2 [21:19:47]MH_I2C_Read... [21:19:47]Read from MH i2c: E2 03 00 [21:19:47]MH_I2C_Read... [21:19:47]Read from MH i2c: E2 03 00 46 5E 00 90 00 18 [21:19:47]RAPDU: 90 00 [21:19:47]wFMCommunicate OK [21:19:47]wFMCommunicate request_size=4 [21:19:47]MH_SAM_APDU [21:19:47]CAPDU: 80 0D 03 02 [21:19:47]Write to MH i2c: E2 08 00 47 5E 80 0D 03 02 00 00 00 00 20 [21:19:47]Write i2c OK [21:19:47]MH_I2C_Read... [21:19:47]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:19:47]Read from MH i2c: E2 [21:19:47]MH_I2C_Read... [21:19:47]Read from MH i2c: E2 0B 00 [21:19:47]MH_I2C_Read... [21:19:47]Read from MH i2c: E2 0B 00 47 5E 00 71 83 C6 62 CA 17 D1 BB 90 00 AA [21:19:47]RAPDU: 71 83 C6 62 CA 17 D1 BB 90 00 [21:19:47]wFMCommunicate OK [21:19:47]SAM_PROTO_SignData done [21:19:47]FM_MakeSignedData done [21:19:47]CreateOFDProtocolMessage [21:19:47]wFMCommunicate request_size=4 [21:19:47]MH_SAM_APDU [21:19:47]CAPDU: 80 11 00 00 [21:19:47]Write to MH i2c: E2 08 00 48 5E 80 11 00 00 00 00 00 00 20 [21:19:47]Write i2c OK [21:19:47]MH_I2C_Read... [21:19:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:19:47]Read from MH i2c: E2 [21:19:47]MH_I2C_Read... [21:19:47]Read from MH i2c: E2 17 00 [21:19:47]MH_I2C_Read... [21:19:47]Read from MH i2c: E2 17 00 48 5E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 72 [21:19:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [21:19:47]wFMCommunicate OK [21:19:47]CreateOFDProtocolMessage done [21:19:47]OFDSenderStorePacket 47385 [21:19:47]StoreOFDPacket docnum=47385 [21:19:47]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 25 01 00 00 4A A8 1D 01 84 6F 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 3F 00 00 00 F4 03 04 00 02 C7 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 19 B9 00 00 35 04 06 00 7E B8 47 78 20 B1 71 83 C6 62 CA 17 D1 BB [21:19:47]CheckFolder [21:19:47]dirname=/storage/ofd_packets [21:19:47]CheckFolder done [21:19:47]ProducePacketName [21:19:47]name=ofd_packets/00047385 [21:19:47]NVStorageSaveData ofd_packets/00047385 [21:19:47]File name is /storage/ofd_packets/00047385 [21:19:47]Write 323 bytes [21:19:47]NVStorageSaveData done [21:19:47]OFDSenderStorePacket done [21:19:47]KKMCreateOFDPacket done [21:19:47]NVStorageSaveData kkm_last_timestamp [21:19:47]File name is /storage/kkm_last_timestamp [21:19:47]Write 4 bytes [21:19:47]NVStorageSaveData done [21:19:47]ExternCall_PrintAddStr [21:19:47]wPrintStart [21:19:47]Write to MH i2c: 01 00 00 49 5E A7 [21:19:47]Write i2c OK [21:19:47]MH_I2C_Read... [21:19:47]Read from MH i2c: 01 [21:19:47]MH_I2C_Read... [21:19:47]Read from MH i2c: 01 07 00 [21:19:47]MH_I2C_Read... [21:19:47]Read from MH i2c: 01 07 00 49 5E 00 00 00 00 00 FF 0F BC [21:19:47]RasterBufferAndPrint [21:19:47]line Счет N : (3)242297 [21:19:47]line ИНН: 02508201610067 [21:19:47]line Контрольно-Кассовый Чек [21:19:47]line ПРОДАЖА [21:19:47]line Товар: 46226624 [21:19:47]line Mentos ПВ Клубника 6*100*2 [21:19:47]line 1.000 * 10.00 [21:19:47]line = 10.00 [21:19:47]line НДС 12% НСП 1% [21:19:47]line > о реализуемом товаре [21:19:47]line ИТОГО: 10.00 [21:19:47]line НСП 1% : 0.09 [21:19:47]line НДС 12% : 1.06 [21:19:47]line Наличными: 10.00 [21:19:47]line Безнал.: 0.00 [21:19:47]line Место: АЗС № 15 "Партнер Нефть" [21:19:47]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [21:19:47]line СНО: Общий режим [21:19:47]line Чек 63 12.03.2024 21:20 [21:19:47]line Смена: 314 ФФД: 1.0 [21:19:47]line ЗНМ: 0300000097 [21:19:47]line РНМ: 0000000000092018 [21:19:47]line Версия ККМ: 001 [21:19:47]line ФМ: 0000000000871816 [21:19:47]line ФД: 47385 [21:19:47]line ФПД: 139329938137265 [21:19:47]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T212002&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47385&fm=139329938137265&tin=02508201610067®Number=0000000000092018&sum=1000 [21:19:47]OFD Sender: Processing packet 47385 [packets to send 8, broken 7] [21:19:47]ProducePacketName [21:19:47]name=ofd_packets/00047385 [21:19:47]OFD Sender: To server: pG, [21:19:47]CommunicateWithHost lk.salyk.kg:30040 [21:19:47]ConnectInit lk.salyk.kg [21:19:47]line 0 [21:19:47]written 0, free lines is 4095 [21:19:47]Connected sock=10 [21:19: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 31 36 25 01 00 00 4A A8 1D 01 84 6F 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 3F 00 00 00 F4 03 04 00 02 C7 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 19 B9 00 00 35 04 06 00 7E B8 47 78 20 B1 71 83 C6 62 CA 17 D1 BB [21:19: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 31 36 4F 00 00 00 54 56 47 00 C8 D7 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 19 B9 00 00 F4 03 04 00 93 71 F0 65 B6 04 01 00 00 DC DE 77 DF 95 49 8B 10 [21:19:47]CommunicateWithHost err = 0 [21:19:47]CheckOFDResponse [21:19:47]1017 (14) - 77093643461234 [21:19:47]1041 (16) - 0000000000871816 [21:19:47]1040 (4) - 47385 [21:19:47]1012 (4) - 12.03.2024 15:15 [21:19:47]1206 (1) - 0 [21:19:47]OFD Sender: Remove packet 47385 [21:19:47]ProducePacketName [21:19:47]name=ofd_packets/00047385 [21:19:47]NVStorageDeleteData [21:19:47]Write to MH i2c: 01 00 00 71 5E CF [21:19:47]Write i2c OK [21:19:47]MH_I2C_Read... [21:19:47]Read from MH i2c: 01 [21:19:47]MH_I2C_Read... [21:19:47]Read from MH i2c: 01 07 00 [21:19:47]MH_I2C_Read... [21:19:47]Read from MH i2c: 01 07 00 71 5E 00 00 00 00 00 F7 0C D9 [21:19:47]RasterBufferAndPrint [21:19:47]line [21:19:47]line [21:19:47]line [21:19:47]line [21:19:47]line [21:19:47]written 0, free lines is 3325 [21:19:47]MH_Cut [21:19:47]Write to MH i2c: D1 01 00 78 5E 01 A8 [21:19:47]Write i2c OK [21:19:47]MH_I2C_Read... [21:19:47]Read from MH i2c: D1 [21:19:47]MH_I2C_Read... [21:19:47]Read from MH i2c: D1 01 00 [21:19:47]MH_I2C_Read... [21:19:47]Read from MH i2c: D1 01 00 78 5E 00 A7 [21:19:47]Write to MH i2c: 01 00 00 79 5E D7 [21:19:47]Write i2c OK [21:19:47]MH_I2C_Read... [21:19:48]OFD Sender: No OFD packet to send [21:19:48]*** Cut start [21:19:48]*** Purtial cut [21:19:48]*** Stage 1: CUTSNS_PIN = 1 [21:19:49]Read from MH i2c: 01 [21:19:49]MH_I2C_Read... [21:19:49]*** Stop cut motor [21:19:49]*** Cut end [21:19:49]Read from MH i2c: 01 07 00 [21:19:49]MH_I2C_Read... [21:19:49]Read from MH i2c: 01 07 00 79 5E 00 00 00 00 00 FF 0F EC [21:19:49]process_action close_receipt done [21:19:49]requested_data is exist [21:19:49]produce_requested_data [21:19:49]requested_item fm.sn is exist - process it [21:19:49]wFMCommunicate request_size=4 [21:19:49]MH_SAM_APDU [21:19:49]CAPDU: 80 11 00 00 [21:19:49]Write to MH i2c: E2 08 00 7A 5E 80 11 00 00 00 00 00 00 52 [21:19:49]Write i2c OK [21:19:49]MH_I2C_Read... [21:19:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:19:49]Read from MH i2c: E2 [21:19:49]MH_I2C_Read... [21:19:49]Read from MH i2c: E2 17 00 [21:19:49]MH_I2C_Read... [21:19:49]Read from MH i2c: E2 17 00 7A 5E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 A4 [21:19:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [21:19:49]wFMCommunicate OK [21:19:49]requested_item fd.num is exist - process it [21:19:49]SAM_PROTO_GetFieldsCounters [21:19:49]wFMCommunicate request_size=4 [21:19:49]MH_SAM_APDU [21:19:49]CAPDU: 80 13 00 00 [21:19:49]Write to MH i2c: E2 08 00 7B 5E 80 13 00 00 00 00 00 00 55 [21:19:49]Write i2c OK [21:19:49]MH_I2C_Read... [21:19:49]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:19:49]Read from MH i2c: E2 [21:19:49]MH_I2C_Read... [21:19:49]Read from MH i2c: E2 62 00 [21:19:49]MH_I2C_Read... [21:19:49]Read from MH i2c: E2 62 00 7B 5E 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 19 B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 3F 00 00 00 5E 04 04 00 3F 00 00 00 57 04 04 00 40 00 00 00 19 04 04 00 00 00 00 00 90 00 3A [21:19: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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 19 B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 3F 00 00 00 5E 04 04 00 3F 00 00 00 57 04 04 00 40 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:19:49]wFMCommunicate OK [21:19:49]SAM_PROTO_GetFieldsCounters done [21:19:49]requested_item shift.num is exist - process it [21:19:49]requested_item shift.opened is exist - process it [21:19:49]req_shift_opened [21:19:49]FM_GetShiftState [21:19:49]SAM_PROTO_GetShiftState [21:19:49]wFMCommunicate request_size=4 [21:19:49]MH_SAM_APDU [21:19:49]CAPDU: 80 13 01 00 [21:19:49]Write to MH i2c: E2 08 00 7C 5E 80 13 01 00 00 00 00 00 57 [21:19:49]Write i2c OK [21:19:49]MH_I2C_Read... [21:19:49]Read from MH i2c: E2 [21:19:49]MH_I2C_Read... [21:19:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:19:49]Read from MH i2c: E2 0E 00 [21:19:49]MH_I2C_Read... [21:19:49]Read from MH i2c: E2 0E 00 7C 5E 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 86 [21:19:49]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [21:19:49]wFMCommunicate OK [21:19:49]SAM_PROTO_GetShiftState done [21:19:49]FM_GetShiftState done [21:19:49]req_shift_opened done [21:19:49]requested_item shift.open_date is exist - process it [21:19:49]req_shift_open_date [21:19:49]req_shift_open_date done [21:19:49]produce_requested_data done [21:19:49]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47385,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [21:19:49]process_action_free close_receipt [21:19:49]json_value_free [21:19:49]json_value_free done [21:19:49]process_json_proto returns [21:19:49]Send response to host [21:19:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47385,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [21:19:49]free response buf [21:19:49]execute_script done [21:19:49]execute_script returns [21:19:49]free content buf [21:19:49]Sock 9.Close socket [21:19:49]Sock 9.Thread stoped [21:19:53]OFD Sender: No OFD packet to send [21:19:58]OFD Sender: No OFD packet to send [21:20:03]OFD Sender: No OFD packet to send [21:20:08]OFD Sender: No OFD packet to send [21:20:13]OFD Sender: No OFD packet to send [21:20:18]OFD Sender: No OFD packet to send [21:20:23]OFD Sender: No OFD packet to send [21:20:28]OFD Sender: No OFD packet to send [21:20:33]OFD Sender: No OFD packet to send [21:20:38]OFD Sender: No OFD packet to send [21:20:43]OFD Sender: No OFD packet to send [21:20:48]OFD Sender: No OFD packet to send [21:20:53]OFD Sender: No OFD packet to send [21:20:58]OFD Sender: No OFD packet to send [21:21:03]OFD Sender: No OFD packet to send [21:21:08]OFD Sender: No OFD packet to send [21:21:13]OFD Sender: No OFD packet to send [21:21:18]OFD Sender: No OFD packet to send [21:21:23]OFD Sender: No OFD packet to send [21:21:28]OFD Sender: No OFD packet to send [21:21:33]OFD Sender: No OFD packet to send [21:21:38]OFD Sender: No OFD packet to send [21:21:43]OFD Sender: No OFD packet to send [21:21:48]OFD Sender: No OFD packet to send [21:21:53]OFD Sender: No OFD packet to send [21:21:58]OFD Sender: No OFD packet to send [21:22:03]OFD Sender: No OFD packet to send [21:22:08]OFD Sender: No OFD packet to send [21:22:13]OFD Sender: No OFD packet to send [21:22:18]OFD Sender: No OFD packet to send [21:22:23]OFD Sender: No OFD packet to send [21:22:28]OFD Sender: No OFD packet to send [21:22:33]OFD Sender: No OFD packet to send [21:22:38]OFD Sender: No OFD packet to send [21:22:43]OFD Sender: No OFD packet to send [21:22:48]OFD Sender: No OFD packet to send [21:22:53]OFD Sender: No OFD packet to send [21:22:58]OFD Sender: No OFD packet to send [21:23:03]OFD Sender: No OFD packet to send [21:23:08]OFD Sender: No OFD packet to send [21:23:13]OFD Sender: No OFD packet to send [21:23:18]OFD Sender: No OFD packet to send [21:23:23]OFD Sender: No OFD packet to send [21:23:25]accept exits with 7 [21:23:25]New connection [21:23:25]New thread 3066453348 created [21:23:25]Thread 3066596708 joined [21:23:25]Waiting for new connection... [21:23:25] Sock 7.Parse request [21:23:25]Sock 7.Check first char [21:23:25]Sock 7.First char is OK [21:23:25]request: POST /json_proto HTTP/1.0 [21:23:25]Method: POST [21:23:25]URL: /json_proto [21:23:25]Method is POST - this is cgi request [21:23:25]url: /json_proto [21:23:25]query_string will be loaded in cgi processing [21:23:25]execute_cgi json_proto POST (null) [21:23:25]execute_cgi path=json_proto method=POST [21:23:25]POST find Content-Length [21:23:25]Host: 172.17.32.68:8080 [21:23:25]Content-Length: 818 [21:23:25]Content-Type: application/json [21:23:25] [21:23:25]POST finish read [21:23:25]Found Content-Length = 818 [21:23:25]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242298", "tax_sys" : 0, "items" : [ { "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0414\u0435\u043C\u0438\u0440 \u041A\u0418 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:23:25]execute_script... [21:23: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)242298", "tax_sys" : 0, "items" : [ { "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0414\u0435\u043C\u0438\u0440 \u041A\u0418 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:23:25]POST & json_proto [21:23:25]process_json_proto [21:23:25]json parsed OK: [21:23:25]protocol is kg_v1.0 [21:23:25]action value=close_receipt [21:23:25]process_action close_receipt [21:23:25]cmd_close_receipt [21:23:25]MH_GetDate [21:23:25]Write to MH i2c: F0 00 00 7D 5E CA [21:23:25]Write i2c OK [21:23:25]MH_I2C_Read... [21:23:25]Read from MH i2c: F0 [21:23:25]MH_I2C_Read... [21:23:25]Read from MH i2c: F0 09 00 [21:23:25]MH_I2C_Read... [21:23:25]Read from MH i2c: F0 09 00 7D 5E 00 DE C7 F0 65 0A 64 6E 65 0E [21:23:25]GetLastDocTimeStamp 1710278402 [21:23:25]current date 1710278622 [21:23:25]FM_GetShiftState [21:23:25]SAM_PROTO_GetShiftState [21:23:25]wFMCommunicate request_size=4 [21:23:25]MH_SAM_APDU [21:23:25]CAPDU: 80 13 01 00 [21:23:25]Write to MH i2c: E2 08 00 7E 5E 80 13 01 00 00 00 00 00 59 [21:23:25]Write i2c OK [21:23:25]MH_I2C_Read... [21:23:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:23:25]Read from MH i2c: E2 [21:23:25]MH_I2C_Read... [21:23:25]Read from MH i2c: E2 0E 00 [21:23:25]MH_I2C_Read... [21:23:25]Read from MH i2c: E2 0E 00 7E 5E 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 88 [21:23:25]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [21:23:25]wFMCommunicate OK [21:23:25]SAM_PROTO_GetShiftState done [21:23:25]FM_GetShiftState done [21:23:25]opened in 1710202417 [21:23:25]opened+sec_in_day 1710288817 [21:23:25]quantity*price = 13000 [21:23:25]sum+1 = 13001 [21:23:25]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 0.00 Безнал.: 130.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 64 12.03.2024 21:23 Смена: 314 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 Платежная система: Демир КИ Банк ФМ: 0000000000871816 ФД: 47386 ФПД: 141290034072328 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T212342&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47386&fm=141290034072328&tin=02508201610067®Number=0000000000092018&sum=13000 0 [21:23:26]StoreToDocumentArchive [21:23:26]shift 314 fd 47386 [21:23:26]save to /storage/0314/doc_00047386 [21:23:26]save last doc name /storage/0314/doc_00047386 to /storage/kkm_last_doc_name [21:23:26]save OK [21:23:26]Clear old archive folders... [21:23:26]ProcessDocumentItem done err = 0, tmpTLVsize=276 [21:23:26]tlvbuf is 003C7A40 [21:23:26]SAM_PROTO_ClearQueue [21:23:26]wFMCommunicate request_size=4 [21:23:26]MH_SAM_APDU [21:23:26]CAPDU: 80 09 00 00 [21:23:26]Write to MH i2c: E2 08 00 8B 5E 80 09 00 00 00 00 00 00 5B [21:23:26]Write i2c OK [21:23:26]MH_I2C_Read... [21:23:26]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:23:26]Read from MH i2c: E2 [21:23:26]MH_I2C_Read... [21:23:26]Read from MH i2c: E2 03 00 [21:23:26]MH_I2C_Read... [21:23:26]Read from MH i2c: E2 03 00 8B 5E 00 90 00 5D [21:23:26]RAPDU: 90 00 [21:23:26]wFMCommunicate OK [21:23:26]SAM_PROTO_ClearQueue done [21:23:26]KKMCreateOFDPacket [21:23:26]OFDProtocolAddRootSTLVToBuf [21:23:26]FM_MakeSignedData [21:23:26]FM_MakeSignedData [21:23:26]SAM_PROTO_SignData [21:23:26]wFMCommunicate request_size=4 [21:23:26]MH_SAM_APDU [21:23:26]CAPDU: 80 0D 01 02 [21:23:26]Write to MH i2c: E2 08 00 8C 5E 80 0D 01 02 00 00 00 00 63 [21:23:26]Write i2c OK [21:23:26]MH_I2C_Read... [21:23:26]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:23:26]Read from MH i2c: E2 [21:23:26]MH_I2C_Read... [21:23:26]Read from MH i2c: E2 03 00 [21:23:26]MH_I2C_Read... [21:23:26]Read from MH i2c: E2 03 00 8C 5E 00 90 00 5E [21:23:26]RAPDU: 90 00 [21:23:26]wFMCommunicate OK [21:23:26]wFMCommunicate request_size=255 [21:23:26]MH_SAM_APDU [21:23:26]CAPDU: 80 0D 02 02 FA 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 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 40 00 00 00 F4 03 04 00 DE C7 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 [21:23:26]Write to MH i2c: E2 02 01 8D 5E 80 0D 02 02 FA 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 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 40 00 00 00 F4 03 04 00 DE C7 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 00 00 EE [21:23:26]Write i2c OK [21:23:26]MH_I2C_Read... [21:23:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:23:26]Read from MH i2c: E2 [21:23:26]MH_I2C_Read... [21:23:26]Read from MH i2c: E2 03 00 [21:23:26]MH_I2C_Read... [21:23:26]Read from MH i2c: E2 03 00 8D 5E 00 90 00 5F [21:23:26]RAPDU: 90 00 [21:23:26]wFMCommunicate OK [21:23:26]wFMCommunicate request_size=35 [21:23:26]MH_SAM_APDU [21:23:26]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 1A B9 00 00 35 04 06 00 80 80 A6 4A 8B 08 [21:23:26]Write to MH i2c: E2 26 00 8E 5E 80 0D 02 02 1E 00 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 1A B9 00 00 35 04 06 00 80 80 A6 4A 8B 08 00 00 AE [21:23:26]Write i2c OK [21:23:26]MH_I2C_Read... [21:23:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:23:26]Read from MH i2c: E2 [21:23:26]MH_I2C_Read... [21:23:26]Read from MH i2c: E2 03 00 [21:23:26]MH_I2C_Read... [21:23:26]Read from MH i2c: E2 03 00 8E 5E 00 90 00 60 [21:23:26]RAPDU: 90 00 [21:23:26]wFMCommunicate OK [21:23:26]wFMCommunicate request_size=4 [21:23:26]MH_SAM_APDU [21:23:26]CAPDU: 80 0D 03 02 [21:23:26]Write to MH i2c: E2 08 00 8F 5E 80 0D 03 02 00 00 00 00 68 [21:23:26]Write i2c OK [21:23:26]MH_I2C_Read... [21:23:26]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:23:26]Read from MH i2c: E2 [21:23:26]MH_I2C_Read... [21:23:26]Read from MH i2c: E2 0B 00 [21:23:26]MH_I2C_Read... [21:23:26]Read from MH i2c: E2 0B 00 8F 5E 00 48 BF DF B2 85 C8 4F 65 90 00 02 [21:23:26]RAPDU: 48 BF DF B2 85 C8 4F 65 90 00 [21:23:26]wFMCommunicate OK [21:23:26]SAM_PROTO_SignData done [21:23:26]FM_MakeSignedData done [21:23:26]CreateOFDProtocolMessage [21:23:26]wFMCommunicate request_size=4 [21:23:26]MH_SAM_APDU [21:23:26]CAPDU: 80 11 00 00 [21:23:26]Write to MH i2c: E2 08 00 90 5E 80 11 00 00 00 00 00 00 68 [21:23:26]Write i2c OK [21:23:26]MH_I2C_Read... [21:23:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:23:27]Read from MH i2c: E2 [21:23:27]MH_I2C_Read... [21:23:27]Read from MH i2c: E2 17 00 [21:23:27]MH_I2C_Read... [21:23:27]Read from MH i2c: E2 17 00 90 5E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 BA [21:23:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [21:23:27]wFMCommunicate OK [21:23:27]CreateOFDProtocolMessage done [21:23:27]OFDSenderStorePacket 47386 [21:23:27]StoreOFDPacket docnum=47386 [21:23:27]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 28 01 00 00 16 A3 20 01 36 57 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 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 40 00 00 00 F4 03 04 00 DE C7 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 1A B9 00 00 35 04 06 00 80 80 A6 4A 8B 08 48 BF DF B2 85 C8 4F 65 [21:23:27]CheckFolder [21:23:27]dirname=/storage/ofd_packets [21:23:27]CheckFolder done [21:23:27]ProducePacketName [21:23:27]name=ofd_packets/00047386 [21:23:27]NVStorageSaveData ofd_packets/00047386 [21:23:27]File name is /storage/ofd_packets/00047386 [21:23:27]Write 326 bytes [21:23:27]NVStorageSaveData done [21:23:27]OFDSenderStorePacket done [21:23:27]KKMCreateOFDPacket done [21:23:27]NVStorageSaveData kkm_last_timestamp [21:23:27]File name is /storage/kkm_last_timestamp [21:23:27]Write 4 bytes [21:23:27]NVStorageSaveData done [21:23:27]ExternCall_PrintAddStr [21:23:27]wPrintStart [21:23:27]Write to MH i2c: 01 00 00 91 5E EF [21:23:27]Write i2c OK [21:23:27]MH_I2C_Read... [21:23:27]Read from MH i2c: 01 [21:23:27]MH_I2C_Read... [21:23:27]Read from MH i2c: 01 07 00 [21:23:27]MH_I2C_Read... [21:23:27]Read from MH i2c: 01 07 00 91 5E 00 00 00 00 00 FF 0F 04 [21:23:27]RasterBufferAndPrint [21:23:27]line Счет N : (3)242298 [21:23:27]line ИНН: 02508201610067 [21:23:27]line Контрольно-Кассовый Чек [21:23:27]line ПРОДАЖА [21:23:27]line Товар: 2000036230011 [21:23:27]line Кофе Латте XL(GABB TRADE) [21:23:27]line 1.000 * 130.00 [21:23:27]line = 130.00 [21:23:27]line НДС 12% НСП 1% [21:23:27]line > о реализуемом товаре [21:23:27]line ИТОГО: 130.00 [21:23:27]line НСП 1% : 1.15 [21:23:27]line НДС 12% : 13.80 [21:23:27]line Наличными: 0.00 [21:23:27]line Безнал.: 130.00 [21:23:27]line Место: АЗС № 15 "Партнер Нефть" [21:23:27]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [21:23:27]line СНО: Общий режим [21:23:27]line Чек 64 12.03.2024 21:23 [21:23:27]line Смена: 314 ФФД: 1.0 [21:23:27]line ЗНМ: 0300000097 [21:23:27]line РНМ: 0000000000092018 [21:23:27]line Версия ККМ: 001 [21:23:27]line Платежная система: Демир КИ Банк [21:23:27]line ФМ: 0000000000871816 [21:23:27]line ФД: 47386 [21:23:27]line ФПД: 141290034072328 [21:23:27]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T212342&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47386&fm=141290034072328&tin=02508201610067®Number=0000000000092018&sum=13000 [21:23:27]line 0 [21:23:27]OFD Sender: Processing packet 47386 [packets to send 8, broken 7] [21:23:27]ProducePacketName [21:23:27]name=ofd_packets/00047386 [21:23:27]OFD Sender: To server: pG, [21:23:27]CommunicateWithHost lk.salyk.kg:30040 [21:23:27]ConnectInit lk.salyk.kg [21:23:27]written 0, free lines is 4095 [21:23:27]Connected sock=10 [21:23: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 31 36 28 01 00 00 16 A3 20 01 36 57 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 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 40 00 00 00 F4 03 04 00 DE C7 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 1A B9 00 00 35 04 06 00 80 80 A6 4A 8B 08 48 BF DF B2 85 C8 4F 65 [21:23: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 31 36 4F 00 00 00 CD 72 47 00 2A 8A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 31 36 10 04 04 00 1A B9 00 00 F4 03 04 00 6F 72 F0 65 B6 04 01 00 00 83 FE 5E 25 45 57 4E BC [21:23:27]CommunicateWithHost err = 0 [21:23:27]CheckOFDResponse [21:23:27]1017 (14) - 77093643461234 [21:23:27]1041 (16) - 0000000000871816 [21:23:27]1040 (4) - 47386 [21:23:27]1012 (4) - 12.03.2024 15:19 [21:23:27]1206 (1) - 0 [21:23:27]OFD Sender: Remove packet 47386 [21:23:27]ProducePacketName [21:23:27]name=ofd_packets/00047386 [21:23:27]NVStorageDeleteData [21:23:27]Write to MH i2c: 01 00 00 BB 5E 19 [21:23:27]Write i2c OK [21:23:27]MH_I2C_Read... [21:23:27]Read from MH i2c: 01 [21:23:27]MH_I2C_Read... [21:23:27]Read from MH i2c: 01 07 00 [21:23:27]MH_I2C_Read... [21:23:27]Read from MH i2c: 01 07 00 BB 5E 00 00 00 00 00 E1 0C 0D [21:23:27]RasterBufferAndPrint [21:23:27]line [21:23:27]line [21:23:27]line [21:23:27]line [21:23:27]line [21:23:27]written 0, free lines is 3303 [21:23:27]MH_Cut [21:23:27]Write to MH i2c: D1 01 00 C2 5E 01 F2 [21:23:27]Write i2c OK [21:23:27]MH_I2C_Read... [21:23:27]Read from MH i2c: D1 [21:23:27]MH_I2C_Read... [21:23:27]Read from MH i2c: D1 01 00 [21:23:27]MH_I2C_Read... [21:23:27]Read from MH i2c: D1 01 00 C2 5E 00 F1 [21:23:27]Write to MH i2c: 01 00 00 C3 5E 21 [21:23:27]Write i2c OK [21:23:27]MH_I2C_Read... [21:23:28]OFD Sender: No OFD packet to send [21:23:28]*** Cut start [21:23:28]*** Purtial cut [21:23:28]*** Stage 1: CUTSNS_PIN = 1 [21:23:28]Read from MH i2c: 01 [21:23:28]MH_I2C_Read... [21:23:28]*** Stop cut motor [21:23:28]*** Cut end [21:23:28]Read from MH i2c: 01 07 00 [21:23:28]MH_I2C_Read... [21:23:28]Read from MH i2c: 01 07 00 C3 5E 00 00 00 00 00 FF 0F 36 [21:23:28]process_action close_receipt done [21:23:28]requested_data is exist [21:23:28]produce_requested_data [21:23:28]requested_item fm.sn is exist - process it [21:23:28]wFMCommunicate request_size=4 [21:23:28]MH_SAM_APDU [21:23:28]CAPDU: 80 11 00 00 [21:23:28]Write to MH i2c: E2 08 00 C4 5E 80 11 00 00 00 00 00 00 9C [21:23:28]Write i2c OK [21:23:28]MH_I2C_Read... [21:23:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:23:28]Read from MH i2c: E2 [21:23:28]MH_I2C_Read... [21:23:28]Read from MH i2c: E2 17 00 [21:23:28]MH_I2C_Read... [21:23:28]Read from MH i2c: E2 17 00 C4 5E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 EE [21:23:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [21:23:28]wFMCommunicate OK [21:23:28]requested_item fd.num is exist - process it [21:23:28]SAM_PROTO_GetFieldsCounters [21:23:28]wFMCommunicate request_size=4 [21:23:28]MH_SAM_APDU [21:23:28]CAPDU: 80 13 00 00 [21:23:28]Write to MH i2c: E2 08 00 C5 5E 80 13 00 00 00 00 00 00 9F [21:23:28]Write i2c OK [21:23:28]MH_I2C_Read... [21:23:29]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:23:29]Read from MH i2c: E2 [21:23:29]MH_I2C_Read... [21:23:29]Read from MH i2c: E2 62 00 [21:23:29]MH_I2C_Read... [21:23:29]Read from MH i2c: E2 62 00 C5 5E 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 1A B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 40 00 00 00 5E 04 04 00 40 00 00 00 57 04 04 00 41 00 00 00 19 04 04 00 00 00 00 00 90 00 88 [21:23:29]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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 1A B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 40 00 00 00 5E 04 04 00 40 00 00 00 57 04 04 00 41 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:23:29]wFMCommunicate OK [21:23:29]SAM_PROTO_GetFieldsCounters done [21:23:29]requested_item shift.num is exist - process it [21:23:29]requested_item shift.opened is exist - process it [21:23:29]req_shift_opened [21:23:29]FM_GetShiftState [21:23:29]SAM_PROTO_GetShiftState [21:23:29]wFMCommunicate request_size=4 [21:23:29]MH_SAM_APDU [21:23:29]CAPDU: 80 13 01 00 [21:23:29]Write to MH i2c: E2 08 00 C6 5E 80 13 01 00 00 00 00 00 A1 [21:23:29]Write i2c OK [21:23:29]MH_I2C_Read... [21:23:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:23:29]Read from MH i2c: E2 [21:23:29]MH_I2C_Read... [21:23:29]Read from MH i2c: E2 0E 00 [21:23:29]MH_I2C_Read... [21:23:29]Read from MH i2c: E2 0E 00 C6 5E 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 D0 [21:23:29]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [21:23:29]wFMCommunicate OK [21:23:29]SAM_PROTO_GetShiftState done [21:23:29]FM_GetShiftState done [21:23:29]req_shift_opened done [21:23:29]requested_item shift.open_date is exist - process it [21:23:29]req_shift_open_date [21:23:29]req_shift_open_date done [21:23:29]produce_requested_data done [21:23:29]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47386,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [21:23:29]process_action_free close_receipt [21:23:29]json_value_free [21:23:29]json_value_free done [21:23:29]process_json_proto returns [21:23:29]Send response to host [21:23:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47386,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [21:23:29]free response buf [21:23:29]execute_script done [21:23:29]execute_script returns [21:23:29]free content buf [21:23:29]Sock 7.Close socket [21:23:29]Sock 7.Thread stoped [21:23:33]OFD Sender: No OFD packet to send [21:23:38]OFD Sender: No OFD packet to send [21:23:43]OFD Sender: No OFD packet to send [21:23:48]OFD Sender: No OFD packet to send [21:23:53]OFD Sender: No OFD packet to send [21:23:58]OFD Sender: No OFD packet to send [21:24:03]OFD Sender: No OFD packet to send [21:24:08]OFD Sender: No OFD packet to send [21:24:13]OFD Sender: No OFD packet to send [21:24:18]OFD Sender: No OFD packet to send [21:24:23]OFD Sender: No OFD packet to send [21:24:28]OFD Sender: No OFD packet to send [21:24:33]OFD Sender: No OFD packet to send [21:24:38]OFD Sender: No OFD packet to send [21:24:43]OFD Sender: No OFD packet to send [21:24:48]OFD Sender: No OFD packet to send [21:24:53]OFD Sender: No OFD packet to send [21:24:58]OFD Sender: No OFD packet to send [21:25:03]OFD Sender: No OFD packet to send [21:25:08]OFD Sender: No OFD packet to send [21:25:13]OFD Sender: No OFD packet to send [21:25:18]OFD Sender: No OFD packet to send [21:25:23]OFD Sender: No OFD packet to send [21:25:28]OFD Sender: No OFD packet to send [21:25:33]OFD Sender: No OFD packet to send [21:25:38]OFD Sender: No OFD packet to send [21:25:43]OFD Sender: No OFD packet to send [21:25:48]OFD Sender: No OFD packet to send [21:25:53]OFD Sender: No OFD packet to send [21:25:58]OFD Sender: No OFD packet to send [21:26:03]OFD Sender: No OFD packet to send [21:26:08]OFD Sender: No OFD packet to send [21:26:13]OFD Sender: No OFD packet to send [21:26:18]OFD Sender: No OFD packet to send [21:26:23]OFD Sender: No OFD packet to send [21:26:28]OFD Sender: No OFD packet to send [21:26:33]OFD Sender: No OFD packet to send [21:26:38]OFD Sender: No OFD packet to send [21:26:43]OFD Sender: No OFD packet to send [21:26:48]OFD Sender: No OFD packet to send [21:26:53]OFD Sender: No OFD packet to send [21:26:58]OFD Sender: No OFD packet to send [21:27:03]OFD Sender: No OFD packet to send [21:27:08]OFD Sender: No OFD packet to send [21:27:13]OFD Sender: No OFD packet to send [21:27:18]OFD Sender: No OFD packet to send [21:27:23]OFD Sender: No OFD packet to send [21:27:28]OFD Sender: No OFD packet to send [21:27:33]OFD Sender: No OFD packet to send [21:27:38]OFD Sender: No OFD packet to send [21:27:43]OFD Sender: No OFD packet to send [21:27:48]OFD Sender: No OFD packet to send [21:27:53]OFD Sender: No OFD packet to send [21:27:58]OFD Sender: No OFD packet to send [21:28:03]OFD Sender: No OFD packet to send [21:28:08]OFD Sender: No OFD packet to send [21:28:13]OFD Sender: No OFD packet to send [21:28:18]OFD Sender: No OFD packet to send [21:28:23]OFD Sender: No OFD packet to send [21:28:28]OFD Sender: No OFD packet to send [21:28:33]OFD Sender: No OFD packet to send [21:28:38]OFD Sender: No OFD packet to send [21:28:43]OFD Sender: No OFD packet to send [21:28:48]OFD Sender: No OFD packet to send [21:28:53]OFD Sender: No OFD packet to send [21:28:58]OFD Sender: No OFD packet to send [21:29:03]OFD Sender: No OFD packet to send [21:29:08]OFD Sender: No OFD packet to send [21:29:13]OFD Sender: No OFD packet to send [21:29:18]OFD Sender: No OFD packet to send [21:29:23]OFD Sender: No OFD packet to send [21:29:28]OFD Sender: No OFD packet to send [21:29:33]OFD Sender: No OFD packet to send [21:29:38]OFD Sender: No OFD packet to send [21:29:43]OFD Sender: No OFD packet to send [21:29:48]OFD Sender: No OFD packet to send [21:29:53]OFD Sender: No OFD packet to send [21:29:58]OFD Sender: No OFD packet to send [21:30:03]OFD Sender: No OFD packet to send [21:30:08]OFD Sender: No OFD packet to send [21:30:13]OFD Sender: No OFD packet to send [21:30:18]OFD Sender: No OFD packet to send [21:30:23]OFD Sender: No OFD packet to send [21:30:28]OFD Sender: No OFD packet to send [21:30:33]OFD Sender: No OFD packet to send [21:30:38]OFD Sender: No OFD packet to send [21:30:43]OFD Sender: No OFD packet to send [21:30:48]OFD Sender: No OFD packet to send [21:30:53]OFD Sender: No OFD packet to send [21:30:58]OFD Sender: No OFD packet to send [21:31:03]OFD Sender: No OFD packet to send [21:31:08]OFD Sender: No OFD packet to send [21:31:13]OFD Sender: No OFD packet to send [21:31:18]OFD Sender: No OFD packet to send [21:31:23]OFD Sender: No OFD packet to send [21:31:28]OFD Sender: No OFD packet to send [21:31:33]OFD Sender: No OFD packet to send [21:31:38]OFD Sender: No OFD packet to send [21:31:43]OFD Sender: No OFD packet to send [21:31:48]OFD Sender: No OFD packet to send [21:31:53]OFD Sender: No OFD packet to send [21:31:58]OFD Sender: No OFD packet to send [21:32:03]OFD Sender: No OFD packet to send [21:32:08]OFD Sender: No OFD packet to send [21:32:13]OFD Sender: No OFD packet to send [21:32:18]OFD Sender: No OFD packet to send [21:32:23]OFD Sender: No OFD packet to send [21:32:28]OFD Sender: No OFD packet to send [21:32:33]OFD Sender: No OFD packet to send [21:32:38]OFD Sender: No OFD packet to send [21:32:43]OFD Sender: No OFD packet to send [21:32:48]OFD Sender: No OFD packet to send [21:32:53]OFD Sender: No OFD packet to send [21:32:58]OFD Sender: No OFD packet to send [21:33:03]OFD Sender: No OFD packet to send [21:33:08]OFD Sender: No OFD packet to send [21:33:13]OFD Sender: No OFD packet to send [21:33:18]OFD Sender: No OFD packet to send [21:33:23]OFD Sender: No OFD packet to send [21:33:28]OFD Sender: No OFD packet to send [21:33:33]OFD Sender: No OFD packet to send [21:33:38]OFD Sender: No OFD packet to send [21:33:43]OFD Sender: No OFD packet to send [21:33:48]OFD Sender: No OFD packet to send [21:33:53]OFD Sender: No OFD packet to send [21:33:58]OFD Sender: No OFD packet to send [21:34:03]OFD Sender: No OFD packet to send [21:34:08]OFD Sender: No OFD packet to send [21:34:13]OFD Sender: No OFD packet to send [21:34:18]OFD Sender: No OFD packet to send [21:34:23]OFD Sender: No OFD packet to send [21:34:28]OFD Sender: No OFD packet to send [21:34:33]OFD Sender: No OFD packet to send [21:34:38]OFD Sender: No OFD packet to send [21:34:43]OFD Sender: No OFD packet to send [21:34:48]OFD Sender: No OFD packet to send [21:34:53]OFD Sender: No OFD packet to send [21:34:58]OFD Sender: No OFD packet to send [21:35:03]OFD Sender: No OFD packet to send [21:35:08]OFD Sender: No OFD packet to send [21:35:13]OFD Sender: No OFD packet to send [21:35:18]OFD Sender: No OFD packet to send [21:35:23]OFD Sender: No OFD packet to send [21:35:28]OFD Sender: No OFD packet to send [21:35:33]OFD Sender: No OFD packet to send [21:35:38]OFD Sender: No OFD packet to send [21:35:43]OFD Sender: No OFD packet to send [21:35:48]OFD Sender: No OFD packet to send [21:35:53]OFD Sender: No OFD packet to send [21:35:58]OFD Sender: No OFD packet to send [21:36:03]OFD Sender: No OFD packet to send [21:36:08]OFD Sender: No OFD packet to send [21:36:13]OFD Sender: No OFD packet to send [21:36:18]OFD Sender: No OFD packet to send [21:36:23]OFD Sender: No OFD packet to send [21:36:28]OFD Sender: No OFD packet to send [21:36:33]OFD Sender: No OFD packet to send [21:36:38]OFD Sender: No OFD packet to send [21:36:43]OFD Sender: No OFD packet to send [21:36:48]OFD Sender: No OFD packet to send [21:36:53]OFD Sender: No OFD packet to send [21:36:58]OFD Sender: No OFD packet to send [21:37:03]OFD Sender: No OFD packet to send [21:37:08]OFD Sender: No OFD packet to send [21:37:13]OFD Sender: No OFD packet to send [21:37:18]OFD Sender: No OFD packet to send [21:37:23]OFD Sender: No OFD packet to send [21:37:28]OFD Sender: No OFD packet to send [21:37:33]OFD Sender: No OFD packet to send [21:37:38]OFD Sender: No OFD packet to send [21:37:43]OFD Sender: No OFD packet to send [21:37:48]OFD Sender: No OFD packet to send [21:37:53]OFD Sender: No OFD packet to send [21:37:58]OFD Sender: No OFD packet to send [21:38:03]OFD Sender: No OFD packet to send [21:38:08]OFD Sender: No OFD packet to send [21:38:13]OFD Sender: No OFD packet to send [21:38:18]OFD Sender: No OFD packet to send [21:38:23]OFD Sender: No OFD packet to send [21:38:28]OFD Sender: No OFD packet to send [21:38:33]OFD Sender: No OFD packet to send [21:38:38]OFD Sender: No OFD packet to send [21:38:43]OFD Sender: No OFD packet to send [21:38:48]OFD Sender: No OFD packet to send [21:38:53]OFD Sender: No OFD packet to send [21:38:58]OFD Sender: No OFD packet to send [21:39:03]OFD Sender: No OFD packet to send [21:39:08]OFD Sender: No OFD packet to send [21:39:13]OFD Sender: No OFD packet to send [21:39:18]OFD Sender: No OFD packet to send [21:39:23]OFD Sender: No OFD packet to send [21:39:28]OFD Sender: No OFD packet to send [21:39:33]OFD Sender: No OFD packet to send [21:39:38]OFD Sender: No OFD packet to send [21:39:43]OFD Sender: No OFD packet to send [21:39:48]OFD Sender: No OFD packet to send [21:39:53]OFD Sender: No OFD packet to send [21:39:58]OFD Sender: No OFD packet to send [21:40:03]OFD Sender: No OFD packet to send [21:40:08]OFD Sender: No OFD packet to send [21:40:13]OFD Sender: No OFD packet to send [21:40:18]OFD Sender: No OFD packet to send [21:40:23]OFD Sender: No OFD packet to send [21:40:28]OFD Sender: No OFD packet to send [21:40:33]OFD Sender: No OFD packet to send [21:40:38]OFD Sender: No OFD packet to send [21:40:43]OFD Sender: No OFD packet to send [21:40:48]OFD Sender: No OFD packet to send [21:40:53]OFD Sender: No OFD packet to send [21:40:58]OFD Sender: No OFD packet to send [21:41:03]OFD Sender: No OFD packet to send [21:41:08]OFD Sender: No OFD packet to send [21:41:13]OFD Sender: No OFD packet to send [21:41:18]OFD Sender: No OFD packet to send [21:41:23]OFD Sender: No OFD packet to send [21:41:28]OFD Sender: No OFD packet to send [21:41:33]OFD Sender: No OFD packet to send [21:41:38]OFD Sender: No OFD packet to send [21:41:43]OFD Sender: No OFD packet to send [21:41:48]OFD Sender: No OFD packet to send [21:41:53]OFD Sender: No OFD packet to send [21:41:58]OFD Sender: No OFD packet to send [21:42:03]OFD Sender: No OFD packet to send [21:42:08]OFD Sender: No OFD packet to send [21:42:13]OFD Sender: No OFD packet to send [21:42:19]OFD Sender: No OFD packet to send [21:42:24]OFD Sender: No OFD packet to send [21:42:29]OFD Sender: No OFD packet to send [21:42:34]OFD Sender: No OFD packet to send [21:42:39]OFD Sender: No OFD packet to send [21:42:44]OFD Sender: No OFD packet to send [21:42:49]OFD Sender: No OFD packet to send [21:42:54]OFD Sender: No OFD packet to send [21:42:59]OFD Sender: No OFD packet to send [21:43:04]OFD Sender: No OFD packet to send [21:43:09]OFD Sender: No OFD packet to send [21:43:14]OFD Sender: No OFD packet to send [21:43:19]OFD Sender: No OFD packet to send [21:43:24]OFD Sender: No OFD packet to send [21:43:29]OFD Sender: No OFD packet to send [21:43:34]OFD Sender: No OFD packet to send [21:43:39]OFD Sender: No OFD packet to send [21:43:44]OFD Sender: No OFD packet to send [21:43:49]OFD Sender: No OFD packet to send [21:43:54]OFD Sender: No OFD packet to send [21:43:59]OFD Sender: No OFD packet to send [21:44:04]OFD Sender: No OFD packet to send [21:44:09]OFD Sender: No OFD packet to send [21:44:14]OFD Sender: No OFD packet to send [21:44:19]OFD Sender: No OFD packet to send [21:44:24]OFD Sender: No OFD packet to send [21:44:29]OFD Sender: No OFD packet to send [21:44:34]OFD Sender: No OFD packet to send [21:44:39]OFD Sender: No OFD packet to send [21:44:39]accept exits with 9 [21:44:39]New connection [21:44:39]New thread 3066596708 created [21:44:39]Thread 3066453348 joined [21:44:39]Waiting for new connection... [21:44:39] Sock 9.Parse request [21:44:39]Sock 9.Check first char [21:44:39]Sock 9.First char is OK [21:44:39]request: POST /json_proto HTTP/1.0 [21:44:39]Method: POST [21:44:39]URL: /json_proto [21:44:39]Method is POST - this is cgi request [21:44:39]url: /json_proto [21:44:39]query_string will be loaded in cgi processing [21:44:39]execute_cgi json_proto POST (null) [21:44:39]execute_cgi path=json_proto method=POST [21:44:39]POST find Content-Length [21:44:39]Host: 172.17.32.68:8080 [21:44:39]Content-Length: 863 [21:44:39]Content-Type: application/json [21:44:39] [21:44:39]POST finish read [21:44:39]Found Content-Length = 863 [21:44:39]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242299", "tax_sys" : 0, "items" : [ { "code": "48741224", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Super Slims Blue", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 265.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:44:39]execute_script... [21:44: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)242299", "tax_sys" : 0, "items" : [ { "code": "48741224", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Super Slims Blue", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 265.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:44:39]POST & json_proto [21:44:39]process_json_proto [21:44:39]json parsed OK: [21:44:39]protocol is kg_v1.0 [21:44:39]action value=close_receipt [21:44:39]process_action close_receipt [21:44:39]cmd_close_receipt [21:44:39]MH_GetDate [21:44:39]Write to MH i2c: F0 00 00 C7 5E 14 [21:44:39]Write i2c OK [21:44:39]MH_I2C_Read... [21:44:39]Read from MH i2c: F0 [21:44:39]MH_I2C_Read... [21:44:39]Read from MH i2c: F0 09 00 [21:44:39]MH_I2C_Read... [21:44:39]Read from MH i2c: F0 09 00 C7 5E 00 D9 CC F0 65 0A 64 6E 65 58 [21:44:39]GetLastDocTimeStamp 1710278622 [21:44:39]current date 1710279897 [21:44:39]FM_GetShiftState [21:44:39]SAM_PROTO_GetShiftState [21:44:39]wFMCommunicate request_size=4 [21:44:39]MH_SAM_APDU [21:44:39]CAPDU: 80 13 01 00 [21:44:39]Write to MH i2c: E2 08 00 C8 5E 80 13 01 00 00 00 00 00 A3 [21:44:39]Write i2c OK [21:44:39]MH_I2C_Read... [21:44:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:44:39]Read from MH i2c: E2 [21:44:39]MH_I2C_Read... [21:44:39]Read from MH i2c: E2 0E 00 [21:44:39]MH_I2C_Read... [21:44:39]Read from MH i2c: E2 0E 00 C8 5E 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 D2 [21:44:39]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [21:44:39]wFMCommunicate OK [21:44:39]SAM_PROTO_GetShiftState done [21:44:39]FM_GetShiftState done [21:44:39]opened in 1710202417 [21:44:39]opened+sec_in_day 1710288817 [21:44:39]quantity*price = 13000 [21:44:39]sum+1 = 13001 [21:44:39]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 48747059 Сигареты Winston Legend Blue 1.000 * 135.00 = 135.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 265.00 НСП 1% : 2.34 НДС 12% : 28.14 Наличными: 265.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 65 12.03.2024 21:44 Смена: 314 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47387 ФПД: 74645724578194 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T214457&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47387&fm=74645724578194&tin=02508201610067®Number=0000000000092018&sum=26500 0 [21:44:40]StoreToDocumentArchive [21:44:40]shift 314 fd 47387 [21:44:40]save to /storage/0314/doc_00047387 [21:44:40]save last doc name /storage/0314/doc_00047387 to /storage/kkm_last_doc_name [21:44:40]save OK [21:44:40]Clear old archive folders... [21:44:40]ProcessDocumentItem done err = 0, tmpTLVsize=381 [21:44:40]tlvbuf is 004426D0 [21:44:40]SAM_PROTO_ClearQueue [21:44:40]wFMCommunicate request_size=4 [21:44:40]MH_SAM_APDU [21:44:40]CAPDU: 80 09 00 00 [21:44:40]Write to MH i2c: E2 08 00 D5 5E 80 09 00 00 00 00 00 00 A5 [21:44:40]Write i2c OK [21:44:40]MH_I2C_Read... [21:44:40]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:44:40]Read from MH i2c: E2 [21:44:40]MH_I2C_Read... [21:44:40]Read from MH i2c: E2 03 00 [21:44:40]MH_I2C_Read... [21:44:40]Read from MH i2c: E2 03 00 D5 5E 00 90 00 A7 [21:44:40]RAPDU: 90 00 [21:44:40]wFMCommunicate OK [21:44:40]SAM_PROTO_ClearQueue done [21:44:40]KKMCreateOFDPacket [21:44:40]OFDProtocolAddRootSTLVToBuf [21:44:40]FM_MakeSignedData [21:44:40]FM_MakeSignedData [21:44:40]SAM_PROTO_SignData [21:44:40]wFMCommunicate request_size=4 [21:44:40]MH_SAM_APDU [21:44:40]CAPDU: 80 0D 01 02 [21:44:40]Write to MH i2c: E2 08 00 D6 5E 80 0D 01 02 00 00 00 00 AD [21:44:40]Write i2c OK [21:44:40]MH_I2C_Read... [21:44:40]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:44:40]Read from MH i2c: E2 [21:44:40]MH_I2C_Read... [21:44:40]Read from MH i2c: E2 03 00 [21:44:40]MH_I2C_Read... [21:44:40]Read from MH i2c: E2 03 00 D6 5E 00 90 00 A8 [21:44:40]RAPDU: 90 00 [21:44:40]wFMCommunicate OK [21:44:40]wFMCommunicate request_size=255 [21:44:40]MH_SAM_APDU [21:44:40]CAPDU: 80 0D 02 02 FA 03 00 7D 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 31 32 32 34 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 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 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 67 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 00 00 [21:44:40]Write to MH i2c: E2 02 01 D7 5E 80 0D 02 02 FA 00 03 00 7D 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 31 32 32 34 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 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 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 67 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 00 00 00 00 49 [21:44:40]Write i2c OK [21:44:40]MH_I2C_Read... [21:44:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:44:41]Read from MH i2c: E2 [21:44:41]MH_I2C_Read... [21:44:41]Read from MH i2c: E2 03 00 [21:44:41]MH_I2C_Read... [21:44:41]Read from MH i2c: E2 03 00 D7 5E 00 90 00 A9 [21:44:41]RAPDU: 90 00 [21:44:41]wFMCommunicate OK [21:44:41]wFMCommunicate request_size=140 [21:44:41]MH_SAM_APDU [21:44:41]CAPDU: 80 0D 02 02 87 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FE 0A 00 00 00 00 07 04 06 00 84 67 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 D9 CC F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 1B B9 00 00 35 04 06 00 43 E3 CF E5 C1 92 [21:44:41]Write to MH i2c: E2 8F 00 D8 5E 80 0D 02 02 87 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FE 0A 00 00 00 00 07 04 06 00 84 67 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 D9 CC F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 1B B9 00 00 35 04 06 00 43 E3 CF E5 C1 92 00 00 4F [21:44:41]Write i2c OK [21:44:41]MH_I2C_Read... [21:44:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:44:41]Read from MH i2c: E2 [21:44:41]MH_I2C_Read... [21:44:41]Read from MH i2c: E2 03 00 [21:44:41]MH_I2C_Read... [21:44:41]Read from MH i2c: E2 03 00 D8 5E 00 90 00 AA [21:44:41]RAPDU: 90 00 [21:44:41]wFMCommunicate OK [21:44:41]wFMCommunicate request_size=4 [21:44:41]MH_SAM_APDU [21:44:41]CAPDU: 80 0D 03 02 [21:44:41]Write to MH i2c: E2 08 00 D9 5E 80 0D 03 02 00 00 00 00 B2 [21:44:41]Write i2c OK [21:44:41]MH_I2C_Read... [21:44:41]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:44:41]Read from MH i2c: E2 [21:44:41]MH_I2C_Read... [21:44:41]Read from MH i2c: E2 0B 00 [21:44:41]MH_I2C_Read... [21:44:41]Read from MH i2c: E2 0B 00 D9 5E 00 0F 01 F7 BF ED 18 91 F8 90 00 07 [21:44:41]RAPDU: 0F 01 F7 BF ED 18 91 F8 90 00 [21:44:41]wFMCommunicate OK [21:44:41]SAM_PROTO_SignData done [21:44:41]FM_MakeSignedData done [21:44:41]CreateOFDProtocolMessage [21:44:41]wFMCommunicate request_size=4 [21:44:41]MH_SAM_APDU [21:44:41]CAPDU: 80 11 00 00 [21:44:41]Write to MH i2c: E2 08 00 DA 5E 80 11 00 00 00 00 00 00 B2 [21:44:41]Write i2c OK [21:44:41]MH_I2C_Read... [21:44:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:44:41]Read from MH i2c: E2 [21:44:41]MH_I2C_Read... [21:44:41]Read from MH i2c: E2 17 00 [21:44:41]MH_I2C_Read... [21:44:41]Read from MH i2c: E2 17 00 DA 5E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 04 [21:44:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [21:44:41]wFMCommunicate OK [21:44:41]CreateOFDProtocolMessage done [21:44:41]OFDSenderStorePacket 47387 [21:44:41]StoreOFDPacket docnum=47387 [21:44:41]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 91 01 00 00 FF B2 89 01 2C AA 5A 03 01 00 03 00 7D 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 31 32 32 34 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 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 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 67 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FE 0A 00 00 00 00 07 04 06 00 84 67 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 D9 CC F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 1B B9 00 00 35 04 06 00 43 E3 CF E5 C1 92 0F 01 F7 BF ED 18 91 F8 [21:44:41]CheckFolder [21:44:41]dirname=/storage/ofd_packets [21:44:41]CheckFolder done [21:44:41]ProducePacketName [21:44:41]name=ofd_packets/00047387 [21:44:41]NVStorageSaveData ofd_packets/00047387 [21:44:41]File name is /storage/ofd_packets/00047387 [21:44:41]Write 431 bytes [21:44:41]NVStorageSaveData done [21:44:41]OFDSenderStorePacket done [21:44:41]KKMCreateOFDPacket done [21:44:41]NVStorageSaveData kkm_last_timestamp [21:44:41]File name is /storage/kkm_last_timestamp [21:44:41]Write 4 bytes [21:44:41]NVStorageSaveData done [21:44:41]ExternCall_PrintAddStr [21:44:41]wPrintStart [21:44:41]Write to MH i2c: 01 00 00 DB 5E 39 [21:44:41]Write i2c OK [21:44:41]MH_I2C_Read... [21:44:41]Read from MH i2c: 01 [21:44:41]MH_I2C_Read... [21:44:41]Read from MH i2c: 01 07 00 [21:44:41]MH_I2C_Read... [21:44:41]Read from MH i2c: 01 07 00 DB 5E 00 00 00 00 00 FF 0F 4E [21:44:41]RasterBufferAndPrint [21:44:41]line Счет N : (3)242299 [21:44:41]line ИНН: 02508201610067 [21:44:41]line Контрольно-Кассовый Чек [21:44:41]line ПРОДАЖА [21:44:41]line Товар: 48741224 [21:44:41]line Сигареты Winston Super Slims Blue [21:44:41]line 1.000 * 130.00 [21:44:41]line = 130.00 [21:44:41]line НДС 12% НСП 1% [21:44:41]line > о реализуемом товаре [21:44:41]line Товар: 48747059 [21:44:41]line Сигареты Winston Legend Blue [21:44:41]line 1.000 * 135.00 [21:44:41]line = 135.00 [21:44:41]line НДС 12% НСП 1% [21:44:41]line > о реализуемом товаре [21:44:41]line ИТОГО: 265.00 [21:44:41]line НСП 1% : 2.34 [21:44:41]line НДС 12% : 28.14 [21:44:41]line Наличными: 265.00 [21:44:41]line Безнал.: 0.00 [21:44:41]line Место: АЗС № 15 "Партнер Нефть" [21:44:41]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [21:44:41]line СНО: Общий режим [21:44:41]line Чек 65 12.03.2024 21:44 [21:44:41]line Смена: 314 ФФД: 1.0 [21:44:41]line ЗНМ: 0300000097 [21:44:41]line РНМ: 0000000000092018 [21:44:41]line Версия ККМ: 001 [21:44:41]line ФМ: 0000000000871816 [21:44:41]line ФД: 47387 [21:44:41]line ФПД: 74645724578194 [21:44:41]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T214457&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47387&fm=74645724578194&tin=02508201610067®Number=0000000000092018&sum=26500 [21:44:41]line 0 [21:44:41]OFD Sender: Processing packet 47387 [packets to send 8, broken 7] [21:44:41]ProducePacketName [21:44:41]name=ofd_packets/00047387 [21:44:41]OFD Sender: To server: pG, [21:44:41]CommunicateWithHost lk.salyk.kg:30040 [21:44:41]ConnectInit lk.salyk.kg [21:44:41]written 0, free lines is 4095 [21:44:41]Connected sock=10 [21:44: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 31 36 91 01 00 00 FF B2 89 01 2C AA 5A 03 01 00 03 00 7D 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 31 32 32 34 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 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 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 67 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FE 0A 00 00 00 00 07 04 06 00 84 67 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 D9 CC F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 1B B9 00 00 35 04 06 00 43 E3 CF E5 C1 92 0F 01 F7 BF ED 18 91 F8 [21:44: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 31 36 4F 00 00 00 9D 22 47 00 7D F0 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 31 36 10 04 04 00 1B B9 00 00 F4 03 04 00 6A 77 F0 65 B6 04 01 00 00 D2 69 73 02 97 74 13 E2 [21:44:42]CommunicateWithHost err = 0 [21:44:42]CheckOFDResponse [21:44:42]1017 (14) - 77093643461234 [21:44:42]1041 (16) - 0000000000871816 [21:44:42]1040 (4) - 47387 [21:44:42]1012 (4) - 12.03.2024 15:40 [21:44:42]1206 (1) - 0 [21:44:42]OFD Sender: Remove packet 47387 [21:44:42]ProducePacketName [21:44:42]name=ofd_packets/00047387 [21:44:42]NVStorageDeleteData [21:44:42]Write to MH i2c: 01 00 00 0B 5F 6A [21:44:42]Write i2c OK [21:44:42]MH_I2C_Read... [21:44:42]Read from MH i2c: 01 [21:44:42]MH_I2C_Read... [21:44:42]Read from MH i2c: 01 07 00 [21:44:42]MH_I2C_Read... [21:44:42]Read from MH i2c: 01 07 00 0B 5F 00 00 00 00 00 50 0C CD [21:44:42]RasterBufferAndPrint [21:44:42]line [21:44:42]line [21:44:42]line [21:44:42]line [21:44:42]line [21:44:42]written 0, free lines is 3158 [21:44:42]MH_Cut [21:44:42]Write to MH i2c: D1 01 00 12 5F 01 43 [21:44:42]Write i2c OK [21:44:42]MH_I2C_Read... [21:44:42]Read from MH i2c: D1 [21:44:42]MH_I2C_Read... [21:44:42]Read from MH i2c: D1 01 00 [21:44:42]MH_I2C_Read... [21:44:42]Read from MH i2c: D1 01 00 12 5F 00 42 [21:44:42]Write to MH i2c: 01 00 00 13 5F 72 [21:44:42]Write i2c OK [21:44:42]MH_I2C_Read... [21:44:42]OFD Sender: No OFD packet to send [21:44:43]*** Cut start [21:44:43]*** Purtial cut [21:44:43]*** Stage 1: CUTSNS_PIN = 1 [21:44:43]Read from MH i2c: 01 [21:44:43]MH_I2C_Read... [21:44:43]*** Stop cut motor [21:44:43]*** Cut end [21:44:43]Read from MH i2c: 01 07 00 [21:44:43]MH_I2C_Read... [21:44:43]Read from MH i2c: 01 07 00 13 5F 00 00 00 00 00 FF 0F 87 [21:44:43]process_action close_receipt done [21:44:43]requested_data is exist [21:44:43]produce_requested_data [21:44:43]requested_item fm.sn is exist - process it [21:44:43]wFMCommunicate request_size=4 [21:44:43]MH_SAM_APDU [21:44:43]CAPDU: 80 11 00 00 [21:44:43]Write to MH i2c: E2 08 00 14 5F 80 11 00 00 00 00 00 00 ED [21:44:43]Write i2c OK [21:44:43]MH_I2C_Read... [21:44:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:44:43]Read from MH i2c: E2 [21:44:43]MH_I2C_Read... [21:44:43]Read from MH i2c: E2 17 00 [21:44:43]MH_I2C_Read... [21:44:43]Read from MH i2c: E2 17 00 14 5F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 3F [21:44:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [21:44:43]wFMCommunicate OK [21:44:43]requested_item fd.num is exist - process it [21:44:43]SAM_PROTO_GetFieldsCounters [21:44:43]wFMCommunicate request_size=4 [21:44:43]MH_SAM_APDU [21:44:43]CAPDU: 80 13 00 00 [21:44:43]Write to MH i2c: E2 08 00 15 5F 80 13 00 00 00 00 00 00 F0 [21:44:43]Write i2c OK [21:44:43]MH_I2C_Read... [21:44:43]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:44:43]Read from MH i2c: E2 [21:44:43]MH_I2C_Read... [21:44:43]Read from MH i2c: E2 62 00 [21:44:43]MH_I2C_Read... [21:44:43]Read from MH i2c: E2 62 00 15 5F 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 1B B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 41 00 00 00 5E 04 04 00 41 00 00 00 57 04 04 00 42 00 00 00 19 04 04 00 00 00 00 00 90 00 DD [21:44: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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 1B B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 41 00 00 00 5E 04 04 00 41 00 00 00 57 04 04 00 42 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:44:43]wFMCommunicate OK [21:44:43]SAM_PROTO_GetFieldsCounters done [21:44:43]requested_item shift.num is exist - process it [21:44:43]requested_item shift.opened is exist - process it [21:44:43]req_shift_opened [21:44:43]FM_GetShiftState [21:44:43]SAM_PROTO_GetShiftState [21:44:43]wFMCommunicate request_size=4 [21:44:43]MH_SAM_APDU [21:44:43]CAPDU: 80 13 01 00 [21:44:43]Write to MH i2c: E2 08 00 16 5F 80 13 01 00 00 00 00 00 F2 [21:44:43]Write i2c OK [21:44:43]MH_I2C_Read... [21:44:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:44:43]Read from MH i2c: E2 [21:44:43]MH_I2C_Read... [21:44:43]Read from MH i2c: E2 0E 00 [21:44:43]MH_I2C_Read... [21:44:43]Read from MH i2c: E2 0E 00 16 5F 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 21 [21:44:43]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [21:44:43]wFMCommunicate OK [21:44:43]SAM_PROTO_GetShiftState done [21:44:43]FM_GetShiftState done [21:44:43]req_shift_opened done [21:44:43]requested_item shift.open_date is exist - process it [21:44:43]req_shift_open_date [21:44:43]req_shift_open_date done [21:44:43]produce_requested_data done [21:44:43]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47387,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [21:44:43]process_action_free close_receipt [21:44:43]json_value_free [21:44:43]json_value_free done [21:44:43]process_json_proto returns [21:44:43]Send response to host [21:44:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47387,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [21:44:43]free response buf [21:44:43]execute_script done [21:44:43]execute_script returns [21:44:43]free content buf [21:44:43]Sock 9.Close socket [21:44:43]Sock 9.Thread stoped [21:44:47]OFD Sender: No OFD packet to send [21:44:52]OFD Sender: No OFD packet to send [21:44:57]OFD Sender: No OFD packet to send [21:45:02]OFD Sender: No OFD packet to send [21:45:07]OFD Sender: No OFD packet to send [21:45:12]OFD Sender: No OFD packet to send [21:45:17]OFD Sender: No OFD packet to send [21:45:22]OFD Sender: No OFD packet to send [21:45:27]OFD Sender: No OFD packet to send [21:45:32]OFD Sender: No OFD packet to send [21:45:37]OFD Sender: No OFD packet to send [21:45:42]OFD Sender: No OFD packet to send [21:45:47]OFD Sender: No OFD packet to send [21:45:52]OFD Sender: No OFD packet to send [21:45:57]OFD Sender: No OFD packet to send [21:46:02]OFD Sender: No OFD packet to send [21:46:07]OFD Sender: No OFD packet to send [21:46:10]accept exits with 7 [21:46:10]New connection [21:46:10]New thread 3066453348 created [21:46:10]Thread 3066596708 joined [21:46:10]Waiting for new connection... [21:46:10] Sock 7.Parse request [21:46:10]Sock 7.Check first char [21:46:10]Sock 7.First char is OK [21:46:10]request: POST /json_proto HTTP/1.0 [21:46:10]Method: POST [21:46:10]URL: /json_proto [21:46:10]Method is POST - this is cgi request [21:46:10]url: /json_proto [21:46:10]query_string will be loaded in cgi processing [21:46:10]execute_cgi json_proto POST (null) [21:46:10]execute_cgi path=json_proto method=POST [21:46:10]POST find Content-Length [21:46:10]Host: 172.17.32.68:8080 [21:46:10]Content-Length: 215 [21:46:10]Content-Type: application/json [21:46:10] [21:46:10]POST finish read [21:46:10]Found Content-Length = 215 [21:46:10]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" ] } } [21:46:10]execute_script... [21:46:10]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" ] } } [21:46:10]POST & json_proto [21:46:10]process_json_proto [21:46:10]json parsed OK: [21:46:10]protocol is kg_v1.0 [21:46:10]action value=get_value [21:46:10]process_action get_value [21:46:10]cmd_get_value [21:46:10]process_action get_value done [21:46:10]requested_data is exist [21:46:10]produce_requested_data [21:46:10]requested_item kkm.sn is exist - process it [21:46:10]requested_item kkm.ver is exist - process it [21:46:10]requested_item fm.sn is exist - process it [21:46:10]wFMCommunicate request_size=4 [21:46:10]MH_SAM_APDU [21:46:10]CAPDU: 80 11 00 00 [21:46:10]Write to MH i2c: E2 08 00 17 5F 80 11 00 00 00 00 00 00 F0 [21:46:10]Write i2c OK [21:46:10]MH_I2C_Read... [21:46:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:46:10]Read from MH i2c: E2 [21:46:10]MH_I2C_Read... [21:46:10]Read from MH i2c: E2 17 00 [21:46:10]MH_I2C_Read... [21:46:10]Read from MH i2c: E2 17 00 17 5F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 42 [21:46:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [21:46:10]wFMCommunicate OK [21:46:10]requested_item fd.num is exist - process it [21:46:10]SAM_PROTO_GetFieldsCounters [21:46:10]wFMCommunicate request_size=4 [21:46:10]MH_SAM_APDU [21:46:10]CAPDU: 80 13 00 00 [21:46:10]Write to MH i2c: E2 08 00 18 5F 80 13 00 00 00 00 00 00 F3 [21:46:10]Write i2c OK [21:46:10]MH_I2C_Read... [21:46:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:46:10]Read from MH i2c: E2 [21:46:10]MH_I2C_Read... [21:46:10]Read from MH i2c: E2 62 00 [21:46:10]MH_I2C_Read... [21:46:10]Read from MH i2c: E2 62 00 18 5F 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 1B B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 41 00 00 00 5E 04 04 00 41 00 00 00 57 04 04 00 42 00 00 00 19 04 04 00 00 00 00 00 90 00 E0 [21:46: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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 1B B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 41 00 00 00 5E 04 04 00 41 00 00 00 57 04 04 00 42 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:46:10]wFMCommunicate OK [21:46:10]SAM_PROTO_GetFieldsCounters done [21:46:10]requested_item shift.num is exist - process it [21:46:10]requested_item shift.opened is exist - process it [21:46:10]req_shift_opened [21:46:10]FM_GetShiftState [21:46:10]SAM_PROTO_GetShiftState [21:46:10]wFMCommunicate request_size=4 [21:46:10]MH_SAM_APDU [21:46:10]CAPDU: 80 13 01 00 [21:46:10]Write to MH i2c: E2 08 00 19 5F 80 13 01 00 00 00 00 00 F5 [21:46:10]Write i2c OK [21:46:10]MH_I2C_Read... [21:46:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:46:10]Read from MH i2c: E2 [21:46:10]MH_I2C_Read... [21:46:10]Read from MH i2c: E2 0E 00 [21:46:10]MH_I2C_Read... [21:46:10]Read from MH i2c: E2 0E 00 19 5F 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 24 [21:46:10]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [21:46:10]wFMCommunicate OK [21:46:10]SAM_PROTO_GetShiftState done [21:46:10]FM_GetShiftState done [21:46:10]req_shift_opened done [21:46:10]requested_item shift.open_date is exist - process it [21:46:10]req_shift_open_date [21:46:10]req_shift_open_date done [21:46:10]produce_requested_data done [21:46:10]produce_requested_data return {"kkm.sn":"0300000097","kkm.ver":"001","fm.sn":"0000000000871816","fd.num":47387,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [21:46:10]process_action_free get_value [21:46:10]json_value_free [21:46:10]json_value_free done [21:46:10]process_json_proto returns [21:46:10]Send response to host [21:46:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000097","kkm.ver":"001","fm.sn":"0000000000871816","fd.num":47387,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [21:46:10]free response buf [21:46:10]execute_script done [21:46:10]execute_script returns [21:46:10]free content buf [21:46:10]Sock 7.Close socket [21:46:10]Sock 7.Thread stoped [21:46:12]OFD Sender: No OFD packet to send [21:46:13]accept exits with 9 [21:46:13]New connection [21:46:13]New thread 3066596708 created [21:46:13]Thread 3066453348 joined [21:46:13]Waiting for new connection... [21:46:13] Sock 9.Parse request [21:46:13]Sock 9.Check first char [21:46:13]Sock 9.First char is OK [21:46:13]request: POST /json_proto HTTP/1.0 [21:46:13]Method: POST [21:46:13]URL: /json_proto [21:46:13]Method is POST - this is cgi request [21:46:13]url: /json_proto [21:46:13]query_string will be loaded in cgi processing [21:46:13]execute_cgi json_proto POST (null) [21:46:13]execute_cgi path=json_proto method=POST [21:46:13]POST find Content-Length [21:46:13]Host: 172.17.32.68:8080 [21:46:13]Content-Length: 331 [21:46:13]Content-Type: application/json [21:46:13] [21:46:13]POST finish read [21:46:13]Found Content-Length = 331 [21:46:13]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" ] } } [21:46:13]execute_script... [21:46:13]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" ] } } [21:46:13]POST & json_proto [21:46:13]process_json_proto [21:46:13]json parsed OK: [21:46:13]protocol is kg_v1.0 [21:46:13]action value=get_value [21:46:13]process_action get_value [21:46:13]cmd_get_value [21:46:13]process_action get_value done [21:46:13]requested_data is exist [21:46:13]produce_requested_data [21:46:13]requested_item fm.sale.total is exist - process it [21:46:13]SAM_PROTO_GetFMData [21:46:13]wFMCommunicate request_size=4 [21:46:13]MH_SAM_APDU [21:46:13]CAPDU: 80 13 03 00 [21:46:13]Write to MH i2c: E2 08 00 1A 5F 80 13 03 00 00 00 00 00 F8 [21:46:13]Write i2c OK [21:46:13]MH_I2C_Read... [21:46:13]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [21:46:13]Read from MH i2c: E2 [21:46:13]MH_I2C_Read... [21:46:13]Read from MH i2c: E2 FD 00 [21:46:13]MH_I2C_Read... [21:46:13]Read from MH i2c: E2 FD 00 1A 5F 00 C1 04 85 04 BD 04 6E 04 04 00 A6 B6 00 00 69 04 A0 00 6F 04 04 00 7F B5 00 00 B1 04 04 00 2F AB 0F 30 70 04 04 00 38 F2 20 28 72 04 04 00 F7 B8 EE 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 76 8E 1A 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 56 CD 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 27 01 00 00 B1 04 03 00 A0 50 6E 70 04 03 00 C4 49 6A 72 04 03 00 DC 06 04 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 12 B7 0B EF 03 09 00 F6 03 90 00 29 [21:46:13]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 A6 B6 00 00 69 04 A0 00 6F 04 04 00 7F B5 00 00 B1 04 04 00 2F AB 0F 30 70 04 04 00 38 F2 20 28 72 04 04 00 F7 B8 EE 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 76 8E 1A 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 56 CD 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 27 01 00 00 B1 04 03 00 A0 50 6E 70 04 03 00 C4 49 6A 72 04 03 00 DC 06 04 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 12 B7 0B EF 03 09 00 F6 03 90 00 [21:46:13]wFMCommunicate OK [21:46:13]wFMCommunicate request_size=4 [21:46:13]MH_SAM_APDU [21:46:13]CAPDU: 80 17 00 00 [21:46:13]Write to MH i2c: E2 08 00 1B 5F 80 17 00 00 00 00 00 00 FA [21:46:13]Write i2c OK [21:46:13]MH_I2C_Read... [21:46:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:46:14]Read from MH i2c: E2 [21:46:14]MH_I2C_Read... [21:46:14]Read from MH i2c: E2 FD 00 [21:46:14]MH_I2C_Read... [21:46:14]Read from MH i2c: E2 FD 00 1B 5F 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 C7 F9 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 E9 [21:46:14]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 C7 F9 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [21:46:14]wFMCommunicate OK [21:46:14]wFMCommunicate request_size=4 [21:46:14]MH_SAM_APDU [21:46:14]CAPDU: 80 17 00 00 [21:46:14]Write to MH i2c: E2 08 00 1C 5F 80 17 00 00 00 00 00 00 FB [21:46:14]Write i2c OK [21:46:14]MH_I2C_Read... [21:46:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:46:14]Read from MH i2c: E2 [21:46:14]MH_I2C_Read... [21:46:14]Read from MH i2c: E2 FD 00 [21:46:14]MH_I2C_Read... [21:46:14]Read from MH i2c: E2 FD 00 1C 5F 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 9B [21:46:14]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [21:46:14]wFMCommunicate OK [21:46:14]wFMCommunicate request_size=4 [21:46:14]MH_SAM_APDU [21:46:14]CAPDU: 80 17 00 00 [21:46:14]Write to MH i2c: E2 08 00 1D 5F 80 17 00 00 00 00 00 00 FC [21:46:14]Write i2c OK [21:46:14]MH_I2C_Read... [21:46:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:46:14]Read from MH i2c: E2 [21:46:14]MH_I2C_Read... [21:46:14]Read from MH i2c: E2 FD 00 [21:46:14]MH_I2C_Read... [21:46:14]Read from MH i2c: E2 FD 00 1D 5F 00 03 01 00 04 F7 03 00 00 EF 03 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 90 00 81 [21:46:14]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [21:46:14]wFMCommunicate OK [21:46:14]wFMCommunicate request_size=4 [21:46:14]MH_SAM_APDU [21:46:14]CAPDU: 80 17 00 00 [21:46:14]Write to MH i2c: E2 08 00 1E 5F 80 17 00 00 00 00 00 00 FD [21:46:14]Write i2c OK [21:46:14]MH_I2C_Read... [21:46:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [21:46:15]Read from MH i2c: E2 [21:46:15]MH_I2C_Read... [21:46:15]Read from MH i2c: E2 DE 00 [21:46:15]MH_I2C_Read... [21:46:15]Read from MH i2c: E2 DE 00 1E 5F 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 DC [21:46:15]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [21:46:15]wFMCommunicate OK [21:46:15]SAM_PROTO_GetFMData done [21:46:15]requested_item fm.sale_refund.total is exist - process it [21:46:15]requested_item fm.buy.total is exist - process it [21:46:15]requested_item shift.sale.total is exist - process it [21:46:15]SAM_PROTO_GetShiftData [21:46:15]wFMCommunicate request_size=4 [21:46:15]MH_SAM_APDU [21:46:15]CAPDU: 80 13 02 00 [21:46:15]Write to MH i2c: E2 08 00 1F 5F 80 13 02 00 00 00 00 00 FC [21:46:15]Write i2c OK [21:46:15]MH_I2C_Read... [21:46:15]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [21:46:15]Read from MH i2c: E2 [21:46:15]MH_I2C_Read... [21:46:15]Read from MH i2c: E2 FD 00 [21:46:15]MH_I2C_Read... [21:46:15]Read from MH i2c: E2 FD 00 1F 5F 00 B6 04 AA 04 B2 04 6E 04 04 00 41 00 00 00 69 04 9B 00 6F 04 04 00 3F 00 00 00 B1 04 03 00 9C 16 11 70 04 03 00 70 08 0F 72 04 03 00 2C 0E 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 91 D0 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 AC 26 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 02 00 00 00 B1 04 02 00 48 71 70 04 02 00 48 71 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 07 0C EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 B2 [21:46:15]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 41 00 00 00 69 04 9B 00 6F 04 04 00 3F 00 00 00 B1 04 03 00 9C 16 11 70 04 03 00 70 08 0F 72 04 03 00 2C 0E 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 91 D0 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 AC 26 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 02 00 00 00 B1 04 02 00 48 71 70 04 02 00 48 71 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 07 0C EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [21:46:15]wFMCommunicate OK [21:46:15]wFMCommunicate request_size=4 [21:46:15]MH_SAM_APDU [21:46:15]CAPDU: 80 17 00 00 [21:46:15]Write to MH i2c: E2 08 00 20 5F 80 17 00 00 00 00 00 00 FF [21:46:15]Write i2c OK [21:46:15]MH_I2C_Read... [21:46:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:46:15]Read from MH i2c: E2 [21:46:15]MH_I2C_Read... [21:46:15]Read from MH i2c: E2 FD 00 [21:46:15]MH_I2C_Read... [21:46:15]Read from MH i2c: E2 FD 00 20 5F 00 F6 03 01 00 01 F7 03 02 00 00 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 14 [21:46:15]RAPDU: F6 03 01 00 01 F7 03 02 00 00 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [21:46:15]wFMCommunicate OK [21:46:15]wFMCommunicate request_size=4 [21:46:15]MH_SAM_APDU [21:46:15]CAPDU: 80 17 00 00 [21:46:15]Write to MH i2c: E2 08 00 21 5F 80 17 00 00 00 00 00 00 00 [21:46:15]Write i2c OK [21:46:15]MH_I2C_Read... [21:46:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:46:16]Read from MH i2c: E2 [21:46:16]MH_I2C_Read... [21:46:16]Read from MH i2c: E2 FD 00 [21:46:16]MH_I2C_Read... [21:46:16]Read from MH i2c: E2 FD 00 21 5F 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 C0 [21:46:16]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [21:46:16]wFMCommunicate OK [21:46:16]wFMCommunicate request_size=4 [21:46:16]MH_SAM_APDU [21:46:16]CAPDU: 80 17 00 00 [21:46:16]Write to MH i2c: E2 08 00 22 5F 80 17 00 00 00 00 00 00 01 [21:46:16]Write i2c OK [21:46:16]MH_I2C_Read... [21:46:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:46:16]Read from MH i2c: E2 [21:46:16]MH_I2C_Read... [21:46:16]Read from MH i2c: E2 FD 00 [21:46:16]MH_I2C_Read... [21:46:16]Read from MH i2c: E2 FD 00 22 5F 00 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 90 00 70 [21:46:16]RAPDU: 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 90 00 [21:46:16]wFMCommunicate OK [21:46:16]wFMCommunicate request_size=4 [21:46:16]MH_SAM_APDU [21:46:16]CAPDU: 80 17 00 00 [21:46:16]Write to MH i2c: E2 08 00 23 5F 80 17 00 00 00 00 00 00 02 [21:46:16]Write i2c OK [21:46:16]MH_I2C_Read... [21:46:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [21:46:16]Read from MH i2c: E2 [21:46:16]MH_I2C_Read... [21:46:16]Read from MH i2c: E2 D3 00 [21:46:16]MH_I2C_Read... [21:46:16]Read from MH i2c: E2 D3 00 23 5F 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 EF [21:46:16]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [21:46:16]wFMCommunicate OK [21:46:16]SAM_PROTO_GetShiftData done [21:46:16]requested_item shift.sale.total_cash is exist - process it [21:46:16]requested_item shift.sale_refund.total is exist - process it [21:46:16]requested_item shift.sale_refund.total_cash is exist - process it [21:46:16]requested_item shift.buy.total is exist - process it [21:46:16]requested_item shift.buy.total_cash is exist - process it [21:46:16]produce_requested_data done [21:46:16]produce_requested_data return {"fm.sale.total":8063332.31,"fm.sale_refund.total":72296.00,"fm.buy.total":0.00,"shift.sale.total":11199.00,"shift.sale.total_cash":9852.00,"shift.sale_refund.total":290.00,"shift.sale_refund.total_cash":290.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [21:46:16]process_action_free get_value [21:46:16]json_value_free [21:46:16]json_value_free done [21:46:16]process_json_proto returns [21:46:16]Send response to host [21:46:16]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8063332.31,"fm.sale_refund.total":72296.00,"fm.buy.total":0.00,"shift.sale.total":11199.00,"shift.sale.total_cash":9852.00,"shift.sale_refund.total":290.00,"shift.sale_refund.total_cash":290.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [21:46:16]free response buf [21:46:16]execute_script done [21:46:16]execute_script returns [21:46:16]free content buf [21:46:16]Sock 9.Close socket [21:46:16]Sock 9.Thread stoped [21:46:17]OFD Sender: No OFD packet to send [21:46:22]OFD Sender: No OFD packet to send [21:46:27]OFD Sender: No OFD packet to send [21:46:32]OFD Sender: No OFD packet to send [21:46:37]OFD Sender: No OFD packet to send [21:46:42]OFD Sender: No OFD packet to send [21:46:47]OFD Sender: No OFD packet to send [21:46:52]OFD Sender: No OFD packet to send [21:46:57]OFD Sender: No OFD packet to send [21:47:02]OFD Sender: No OFD packet to send [21:47:07]OFD Sender: No OFD packet to send [21:47:12]OFD Sender: No OFD packet to send [21:47:17]OFD Sender: No OFD packet to send [21:47:22]OFD Sender: No OFD packet to send [21:47:27]OFD Sender: No OFD packet to send [21:47:32]OFD Sender: No OFD packet to send [21:47:37]OFD Sender: No OFD packet to send [21:47:42]OFD Sender: No OFD packet to send [21:47:47]OFD Sender: No OFD packet to send [21:47:52]OFD Sender: No OFD packet to send [21:47:57]OFD Sender: No OFD packet to send [21:48:02]OFD Sender: No OFD packet to send [21:48:07]OFD Sender: No OFD packet to send [21:48:12]OFD Sender: No OFD packet to send [21:48:17]OFD Sender: No OFD packet to send [21:48:22]OFD Sender: No OFD packet to send [21:48:27]OFD Sender: No OFD packet to send [21:48:32]OFD Sender: No OFD packet to send [21:48:37]OFD Sender: No OFD packet to send [21:48:42]OFD Sender: No OFD packet to send [21:48:47]OFD Sender: No OFD packet to send [21:48:52]OFD Sender: No OFD packet to send [21:48:57]OFD Sender: No OFD packet to send [21:49:02]OFD Sender: No OFD packet to send [21:49:07]OFD Sender: No OFD packet to send [21:49:12]OFD Sender: No OFD packet to send [21:49:17]OFD Sender: No OFD packet to send [21:49:22]OFD Sender: No OFD packet to send [21:49:27]OFD Sender: No OFD packet to send [21:49:32]OFD Sender: No OFD packet to send [21:49:37]OFD Sender: No OFD packet to send [21:49:42]OFD Sender: No OFD packet to send [21:49:47]OFD Sender: No OFD packet to send [21:49:52]OFD Sender: No OFD packet to send [21:49:57]OFD Sender: No OFD packet to send [21:50:02]accept exits with 7 [21:50:02]New connection [21:50:02]New thread 3066453348 created [21:50:02]Thread 3066596708 joined [21:50:02]Waiting for new connection... [21:50:02] Sock 7.Parse request [21:50:02]Sock 7.Check first char [21:50:02]Sock 7.First char is OK [21:50:02]request: POST /json_proto HTTP/1.0 [21:50:02]Method: POST [21:50:02]URL: /json_proto [21:50:02]Method is POST - this is cgi request [21:50:02]url: /json_proto [21:50:02]query_string will be loaded in cgi processing [21:50:02]execute_cgi json_proto POST (null) [21:50:02]execute_cgi path=json_proto method=POST [21:50:02]POST find Content-Length [21:50:02]Host: 172.17.32.68:8080 [21:50:02]Content-Length: 647 [21:50:02]Content-Type: application/json [21:50:02] [21:50:02]POST finish read [21:50:02]Found Content-Length = 647 [21:50:02]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242300", "tax_sys" : 0, "items" : [ { "code": "4700000310043", "name": "\u0412\u043E\u0434\u0430 \u0416\u0430\u043B\u0430\u043B\u0430\u0431\u0430\u0442 27 1\u043B", "price" : 60.00, "quantity" : 2.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 120.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:50:02]execute_script... [21:50:02]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242300", "tax_sys" : 0, "items" : [ { "code": "4700000310043", "name": "\u0412\u043E\u0434\u0430 \u0416\u0430\u043B\u0430\u043B\u0430\u0431\u0430\u0442 27 1\u043B", "price" : 60.00, "quantity" : 2.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 120.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:50:02]POST & json_proto [21:50:02]process_json_proto [21:50:02]json parsed OK: [21:50:02]protocol is kg_v1.0 [21:50:02]action value=close_receipt [21:50:02]process_action close_receipt [21:50:02]cmd_close_receipt [21:50:02]MH_GetDate [21:50:02]Write to MH i2c: F0 00 00 24 5F 72 [21:50:02]Write i2c OK [21:50:02]MH_I2C_Read... [21:50:02]Read from MH i2c: F0 [21:50:02]MH_I2C_Read... [21:50:02]Read from MH i2c: F0 09 00 [21:50:02]MH_I2C_Read... [21:50:02]Read from MH i2c: F0 09 00 24 5F 00 1C CE F0 65 0A 64 6E 65 FB [21:50:02]GetLastDocTimeStamp 1710279897 [21:50:02]current date 1710280220 [21:50:02]FM_GetShiftState [21:50:02]SAM_PROTO_GetShiftState [21:50:02]wFMCommunicate request_size=4 [21:50:02]MH_SAM_APDU [21:50:02]CAPDU: 80 13 01 00 [21:50:02]Write to MH i2c: E2 08 00 25 5F 80 13 01 00 00 00 00 00 01 [21:50:02]Write i2c OK [21:50:02]MH_I2C_Read... [21:50:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:50:02]Read from MH i2c: E2 [21:50:02]MH_I2C_Read... [21:50:02]Read from MH i2c: E2 0E 00 [21:50:02]MH_I2C_Read... [21:50:02]Read from MH i2c: E2 0E 00 25 5F 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 30 [21:50:02]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [21:50:02]wFMCommunicate OK [21:50:02]SAM_PROTO_GetShiftState done [21:50:02]FM_GetShiftState done [21:50:02]opened in 1710202417 [21:50:02]opened+sec_in_day 1710288817 [21:50:02]quantity*price = 12000 [21:50:02]sum+1 = 12001 [21:50:02]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 120.00 НСП 1% : 1.06 НДС 12% : 12.74 Наличными: 120.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 66 12.03.2024 21:50 Смена: 314 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47388 ФПД: 95846312645962 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T215020&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47388&fm=95846312645962&tin=02508201610067®Number=0000000000092018&sum=12000 0 [21:50:03]StoreToDocumentArchive [21:50:03]shift 314 fd 47388 [21:50:03]save to /storage/0314/doc_00047388 [21:50:03]save last doc name /storage/0314/doc_00047388 to /storage/kkm_last_doc_name [21:50:03]save OK [21:50:03]Clear old archive folders... [21:50:03]ProcessDocumentItem done err = 0, tmpTLVsize=276 [21:50:03]tlvbuf is 00396680 [21:50:03]SAM_PROTO_ClearQueue [21:50:03]wFMCommunicate request_size=4 [21:50:03]MH_SAM_APDU [21:50:03]CAPDU: 80 09 00 00 [21:50:03]Write to MH i2c: E2 08 00 32 5F 80 09 00 00 00 00 00 00 03 [21:50:03]Write i2c OK [21:50:03]MH_I2C_Read... [21:50:03]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:50:03]Read from MH i2c: E2 [21:50:03]MH_I2C_Read... [21:50:03]Read from MH i2c: E2 03 00 [21:50:03]MH_I2C_Read... [21:50:03]Read from MH i2c: E2 03 00 32 5F 00 90 00 05 [21:50:03]RAPDU: 90 00 [21:50:03]wFMCommunicate OK [21:50:03]SAM_PROTO_ClearQueue done [21:50:03]KKMCreateOFDPacket [21:50:03]OFDProtocolAddRootSTLVToBuf [21:50:03]FM_MakeSignedData [21:50:03]FM_MakeSignedData [21:50:03]SAM_PROTO_SignData [21:50:03]wFMCommunicate request_size=4 [21:50:03]MH_SAM_APDU [21:50:03]CAPDU: 80 0D 01 02 [21:50:03]Write to MH i2c: E2 08 00 33 5F 80 0D 01 02 00 00 00 00 0B [21:50:03]Write i2c OK [21:50:03]MH_I2C_Read... [21:50:03]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:50:03]Read from MH i2c: E2 [21:50:03]MH_I2C_Read... [21:50:03]Read from MH i2c: E2 03 00 [21:50:03]MH_I2C_Read... [21:50:03]Read from MH i2c: E2 03 00 33 5F 00 90 00 06 [21:50:03]RAPDU: 90 00 [21:50:03]wFMCommunicate OK [21:50:03]wFMCommunicate request_size=255 [21:50:03]MH_SAM_APDU [21:50:03]CAPDU: 80 0D 02 02 FA 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 42 00 00 00 F4 03 04 00 1C CE F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 [21:50:03]Write to MH i2c: E2 02 01 34 5F 80 0D 02 02 FA 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 42 00 00 00 F4 03 04 00 1C CE F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 00 00 32 [21:50:03]Write i2c OK [21:50:03]MH_I2C_Read... [21:50:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:50:04]Read from MH i2c: E2 [21:50:04]MH_I2C_Read... [21:50:04]Read from MH i2c: E2 03 00 [21:50:04]MH_I2C_Read... [21:50:04]Read from MH i2c: E2 03 00 34 5F 00 90 00 07 [21:50:04]RAPDU: 90 00 [21:50:04]wFMCommunicate OK [21:50:04]wFMCommunicate request_size=35 [21:50:04]MH_SAM_APDU [21:50:04]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 1C B9 00 00 35 04 06 00 57 2B F5 6B 15 4A [21:50:04]Write to MH i2c: E2 26 00 35 5F 80 0D 02 02 1E 00 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 1C B9 00 00 35 04 06 00 57 2B F5 6B 15 4A 00 00 16 [21:50:04]Write i2c OK [21:50:04]MH_I2C_Read... [21:50:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:50:04]Read from MH i2c: E2 [21:50:04]MH_I2C_Read... [21:50:04]Read from MH i2c: E2 03 00 [21:50:04]MH_I2C_Read... [21:50:04]Read from MH i2c: E2 03 00 35 5F 00 90 00 08 [21:50:04]RAPDU: 90 00 [21:50:04]wFMCommunicate OK [21:50:04]wFMCommunicate request_size=4 [21:50:04]MH_SAM_APDU [21:50:04]CAPDU: 80 0D 03 02 [21:50:04]Write to MH i2c: E2 08 00 36 5F 80 0D 03 02 00 00 00 00 10 [21:50:04]Write i2c OK [21:50:04]MH_I2C_Read... [21:50:04]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:50:04]Read from MH i2c: E2 [21:50:04]MH_I2C_Read... [21:50:04]Read from MH i2c: E2 0B 00 [21:50:04]MH_I2C_Read... [21:50:04]Read from MH i2c: E2 0B 00 36 5F 00 D2 F5 E0 34 94 CB 0F 66 90 00 C0 [21:50:04]RAPDU: D2 F5 E0 34 94 CB 0F 66 90 00 [21:50:04]wFMCommunicate OK [21:50:04]SAM_PROTO_SignData done [21:50:04]FM_MakeSignedData done [21:50:04]CreateOFDProtocolMessage [21:50:04]wFMCommunicate request_size=4 [21:50:04]MH_SAM_APDU [21:50:04]CAPDU: 80 11 00 00 [21:50:04]Write to MH i2c: E2 08 00 37 5F 80 11 00 00 00 00 00 00 10 [21:50:04]Write i2c OK [21:50:04]MH_I2C_Read... [21:50:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:50:04]Read from MH i2c: E2 [21:50:04]MH_I2C_Read... [21:50:04]Read from MH i2c: E2 17 00 [21:50:04]MH_I2C_Read... [21:50:04]Read from MH i2c: E2 17 00 37 5F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 62 [21:50:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [21:50:04]wFMCommunicate OK [21:50:04]CreateOFDProtocolMessage done [21:50:04]OFDSenderStorePacket 47388 [21:50:04]StoreOFDPacket docnum=47388 [21:50:04]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 28 01 00 00 0B FC 20 01 4B EA 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 42 00 00 00 F4 03 04 00 1C CE F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 1C B9 00 00 35 04 06 00 57 2B F5 6B 15 4A D2 F5 E0 34 94 CB 0F 66 [21:50:04]CheckFolder [21:50:04]dirname=/storage/ofd_packets [21:50:04]CheckFolder done [21:50:04]ProducePacketName [21:50:04]name=ofd_packets/00047388 [21:50:04]NVStorageSaveData ofd_packets/00047388 [21:50:04]File name is /storage/ofd_packets/00047388 [21:50:04]Write 326 bytes [21:50:04]NVStorageSaveData done [21:50:04]OFDSenderStorePacket done [21:50:04]KKMCreateOFDPacket done [21:50:04]NVStorageSaveData kkm_last_timestamp [21:50:04]File name is /storage/kkm_last_timestamp [21:50:04]Write 4 bytes [21:50:04]NVStorageSaveData done [21:50:04]ExternCall_PrintAddStr [21:50:04]wPrintStart [21:50:04]Write to MH i2c: 01 00 00 38 5F 97 [21:50:04]Write i2c OK [21:50:04]MH_I2C_Read... [21:50:04]Read from MH i2c: 01 [21:50:04]MH_I2C_Read... [21:50:04]Read from MH i2c: 01 07 00 [21:50:04]MH_I2C_Read... [21:50:04]Read from MH i2c: 01 07 00 38 5F 00 00 00 00 00 FF 0F AC [21:50:04]RasterBufferAndPrint [21:50:04]line Счет N : (3)242300 [21:50:04]line ИНН: 02508201610067 [21:50:04]line Контрольно-Кассовый Чек [21:50:04]line ПРОДАЖА [21:50:04]line Товар: 4700000310043 [21:50:04]line Вода Жалалабат 27 1л [21:50:04]line 2.000 * 60.00 [21:50:04]line = 120.00 [21:50:04]line НДС 12% НСП 1% [21:50:04]line > о реализуемом товаре [21:50:04]line ИТОГО: 120.00 [21:50:04]line НСП 1% : 1.06 [21:50:04]line НДС 12% : 12.74 [21:50:04]line Наличными: 120.00 [21:50:04]line Безнал.: 0.00 [21:50:04]line Место: АЗС № 15 "Партнер Нефть" [21:50:04]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [21:50:04]line СНО: Общий режим [21:50:04]line Чек 66 12.03.2024 21:50 [21:50:04]line Смена: 314 ФФД: 1.0 [21:50:04]line ЗНМ: 0300000097 [21:50:04]line РНМ: 0000000000092018 [21:50:04]line Версия ККМ: 001 [21:50:04]line ФМ: 0000000000871816 [21:50:04]line ФД: 47388 [21:50:04]line ФПД: 95846312645962 [21:50:04]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T215020&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47388&fm=95846312645962&tin=02508201610067®Number=0000000000092018&sum=12000 [21:50:04]line 0 [21:50:04]OFD Sender: Processing packet 47388 [packets to send 8, broken 7] [21:50:04]ProducePacketName [21:50:04]name=ofd_packets/00047388 [21:50:04]OFD Sender: To server: pG, [21:50:04]CommunicateWithHost lk.salyk.kg:30040 [21:50:04]ConnectInit lk.salyk.kg [21:50:04]written 0, free lines is 4095 [21:50:04]Connected sock=10 [21:50: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 31 36 28 01 00 00 0B FC 20 01 4B EA 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 42 00 00 00 F4 03 04 00 1C CE F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 1C B9 00 00 35 04 06 00 57 2B F5 6B 15 4A D2 F5 E0 34 94 CB 0F 66 [21:50: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 31 36 4F 00 00 00 F5 51 47 00 F5 97 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 1C B9 00 00 F4 03 04 00 AD 78 F0 65 B6 04 01 00 00 57 E9 BD 92 89 5D D9 F4 [21:50:05]CommunicateWithHost err = 0 [21:50:05]CheckOFDResponse [21:50:05]1017 (14) - 77093643461234 [21:50:05]1041 (16) - 0000000000871816 [21:50:05]1040 (4) - 47388 [21:50:05]1012 (4) - 12.03.2024 15:45 [21:50:05]1206 (1) - 0 [21:50:05]OFD Sender: Remove packet 47388 [21:50:05]ProducePacketName [21:50:05]name=ofd_packets/00047388 [21:50:05]NVStorageDeleteData [21:50:05]Write to MH i2c: 01 00 00 60 5F BF [21:50:05]Write i2c OK [21:50:05]MH_I2C_Read... [21:50:05]Read from MH i2c: 01 [21:50:05]MH_I2C_Read... [21:50:05]Read from MH i2c: 01 07 00 [21:50:05]MH_I2C_Read... [21:50:05]Read from MH i2c: 01 07 00 60 5F 00 00 00 00 00 FE 0C D0 [21:50:05]RasterBufferAndPrint [21:50:05]line [21:50:05]line [21:50:05]line [21:50:05]line [21:50:05]line [21:50:05]written 0, free lines is 3332 [21:50:05]MH_Cut [21:50:05]Write to MH i2c: D1 01 00 67 5F 01 98 [21:50:05]Write i2c OK [21:50:05]MH_I2C_Read... [21:50:05]Read from MH i2c: D1 [21:50:05]MH_I2C_Read... [21:50:05]Read from MH i2c: D1 01 00 [21:50:05]MH_I2C_Read... [21:50:05]Read from MH i2c: D1 01 00 67 5F 00 97 [21:50:05]Write to MH i2c: 01 00 00 68 5F C7 [21:50:05]Write i2c OK [21:50:05]MH_I2C_Read... [21:50:05]OFD Sender: No OFD packet to send [21:50:05]*** Cut start [21:50:05]*** Purtial cut [21:50:05]*** Stage 1: CUTSNS_PIN = 1 [21:50:06]Read from MH i2c: 01 [21:50:06]MH_I2C_Read... [21:50:06]*** Stop cut motor [21:50:06]*** Cut end [21:50:06]Read from MH i2c: 01 07 00 [21:50:06]MH_I2C_Read... [21:50:06]Read from MH i2c: 01 07 00 68 5F 00 00 00 00 00 FF 0F DC [21:50:06]process_action close_receipt done [21:50:06]requested_data is exist [21:50:06]produce_requested_data [21:50:06]requested_item fm.sn is exist - process it [21:50:06]wFMCommunicate request_size=4 [21:50:06]MH_SAM_APDU [21:50:06]CAPDU: 80 11 00 00 [21:50:06]Write to MH i2c: E2 08 00 69 5F 80 11 00 00 00 00 00 00 42 [21:50:06]Write i2c OK [21:50:06]MH_I2C_Read... [21:50:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:50:06]Read from MH i2c: E2 [21:50:06]MH_I2C_Read... [21:50:06]Read from MH i2c: E2 17 00 [21:50:06]MH_I2C_Read... [21:50:06]Read from MH i2c: E2 17 00 69 5F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 94 [21:50:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [21:50:06]wFMCommunicate OK [21:50:06]requested_item fd.num is exist - process it [21:50:06]SAM_PROTO_GetFieldsCounters [21:50:06]wFMCommunicate request_size=4 [21:50:06]MH_SAM_APDU [21:50:06]CAPDU: 80 13 00 00 [21:50:06]Write to MH i2c: E2 08 00 6A 5F 80 13 00 00 00 00 00 00 45 [21:50:06]Write i2c OK [21:50:06]MH_I2C_Read... [21:50:06]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:50:06]Read from MH i2c: E2 [21:50:06]MH_I2C_Read... [21:50:06]Read from MH i2c: E2 62 00 [21:50:06]MH_I2C_Read... [21:50:06]Read from MH i2c: E2 62 00 6A 5F 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 1C B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 42 00 00 00 5E 04 04 00 42 00 00 00 57 04 04 00 43 00 00 00 19 04 04 00 00 00 00 00 90 00 36 [21:50:06]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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 1C B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 42 00 00 00 5E 04 04 00 42 00 00 00 57 04 04 00 43 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:50:06]wFMCommunicate OK [21:50:06]SAM_PROTO_GetFieldsCounters done [21:50:06]requested_item shift.num is exist - process it [21:50:06]requested_item shift.opened is exist - process it [21:50:06]req_shift_opened [21:50:06]FM_GetShiftState [21:50:06]SAM_PROTO_GetShiftState [21:50:06]wFMCommunicate request_size=4 [21:50:06]MH_SAM_APDU [21:50:06]CAPDU: 80 13 01 00 [21:50:06]Write to MH i2c: E2 08 00 6B 5F 80 13 01 00 00 00 00 00 47 [21:50:06]Write i2c OK [21:50:06]MH_I2C_Read... [21:50:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:50:06]Read from MH i2c: E2 [21:50:06]MH_I2C_Read... [21:50:06]Read from MH i2c: E2 0E 00 [21:50:06]MH_I2C_Read... [21:50:06]Read from MH i2c: E2 0E 00 6B 5F 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 76 [21:50:06]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [21:50:06]wFMCommunicate OK [21:50:06]SAM_PROTO_GetShiftState done [21:50:06]FM_GetShiftState done [21:50:06]req_shift_opened done [21:50:06]requested_item shift.open_date is exist - process it [21:50:06]req_shift_open_date [21:50:06]req_shift_open_date done [21:50:06]produce_requested_data done [21:50:06]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47388,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [21:50:06]process_action_free close_receipt [21:50:06]json_value_free [21:50:06]json_value_free done [21:50:06]process_json_proto returns [21:50:06]Send response to host [21:50:06]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47388,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [21:50:06]free response buf [21:50:06]execute_script done [21:50:06]execute_script returns [21:50:06]free content buf [21:50:06]Sock 7.Close socket [21:50:06]Sock 7.Thread stoped [21:50:10]OFD Sender: No OFD packet to send [21:50:15]OFD Sender: No OFD packet to send [21:50:20]OFD Sender: No OFD packet to send [21:50:25]OFD Sender: No OFD packet to send [21:50:30]OFD Sender: No OFD packet to send [21:50:35]OFD Sender: No OFD packet to send [21:50:40]OFD Sender: No OFD packet to send [21:50:45]OFD Sender: No OFD packet to send [21:50:50]OFD Sender: No OFD packet to send [21:50:55]OFD Sender: No OFD packet to send [21:51:00]OFD Sender: No OFD packet to send [21:51:05]OFD Sender: No OFD packet to send [21:51:10]OFD Sender: No OFD packet to send [21:51:15]OFD Sender: No OFD packet to send [21:51:20]OFD Sender: No OFD packet to send [21:51:25]OFD Sender: No OFD packet to send [21:51:30]OFD Sender: No OFD packet to send [21:51:35]OFD Sender: No OFD packet to send [21:51:40]OFD Sender: No OFD packet to send [21:51:45]OFD Sender: No OFD packet to send [21:51:50]OFD Sender: No OFD packet to send [21:51:55]OFD Sender: No OFD packet to send [21:52:00]OFD Sender: No OFD packet to send [21:52:05]OFD Sender: No OFD packet to send [21:52:10]OFD Sender: No OFD packet to send [21:52:15]OFD Sender: No OFD packet to send [21:52:20]OFD Sender: No OFD packet to send [21:52:25]OFD Sender: No OFD packet to send [21:52:30]OFD Sender: No OFD packet to send [21:52:35]OFD Sender: No OFD packet to send [21:52:40]OFD Sender: No OFD packet to send [21:52:45]OFD Sender: No OFD packet to send [21:52:50]OFD Sender: No OFD packet to send [21:52:55]OFD Sender: No OFD packet to send [21:53:00]OFD Sender: No OFD packet to send [21:53:05]OFD Sender: No OFD packet to send [21:53:10]OFD Sender: No OFD packet to send [21:53:15]OFD Sender: No OFD packet to send [21:53:20]OFD Sender: No OFD packet to send [21:53:25]OFD Sender: No OFD packet to send [21:53:30]OFD Sender: No OFD packet to send [21:53:35]OFD Sender: No OFD packet to send [21:53:40]OFD Sender: No OFD packet to send [21:53:45]OFD Sender: No OFD packet to send [21:53:50]OFD Sender: No OFD packet to send [21:53:55]OFD Sender: No OFD packet to send [21:54:00]OFD Sender: No OFD packet to send [21:54:05]OFD Sender: No OFD packet to send [21:54:07]accept exits with 9 [21:54:07]New connection [21:54:07]New thread 3066596708 created [21:54:07]Thread 3066453348 joined [21:54:07]Waiting for new connection... [21:54:07] Sock 9.Parse request [21:54:07]Sock 9.Check first char [21:54:07]Sock 9.First char is OK [21:54:07]request: POST /json_proto HTTP/1.0 [21:54:07]Method: POST [21:54:07]URL: /json_proto [21:54:07]Method is POST - this is cgi request [21:54:07]url: /json_proto [21:54:07]query_string will be loaded in cgi processing [21:54:07]execute_cgi json_proto POST (null) [21:54:07]execute_cgi path=json_proto method=POST [21:54:07]POST find Content-Length [21:54:07]Host: 172.17.32.68:8080 [21:54:07]Content-Length: 816 [21:54:07]Content-Type: application/json [21:54:07] [21:54:07]POST finish read [21:54:07]Found Content-Length = 816 [21:54:07]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242301", "tax_sys" : 0, "items" : [ { "code": "4640030092499", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE SENSE Himalaya", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0414\u0435\u043C\u0438\u0440 \u041A\u0418 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 138.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:54:07]execute_script... [21:54:07]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242301", "tax_sys" : 0, "items" : [ { "code": "4640030092499", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE SENSE Himalaya", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0414\u0435\u043C\u0438\u0440 \u041A\u0418 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 138.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:54:07]POST & json_proto [21:54:07]process_json_proto [21:54:07]json parsed OK: [21:54:07]protocol is kg_v1.0 [21:54:07]action value=close_receipt [21:54:07]process_action close_receipt [21:54:07]cmd_close_receipt [21:54:07]MH_GetDate [21:54:07]Write to MH i2c: F0 00 00 6C 5F BA [21:54:07]Write i2c OK [21:54:07]MH_I2C_Read... [21:54:07]Read from MH i2c: F0 [21:54:07]MH_I2C_Read... [21:54:07]Read from MH i2c: F0 09 00 [21:54:07]MH_I2C_Read... [21:54:07]Read from MH i2c: F0 09 00 6C 5F 00 11 CF F0 65 0A 64 6E 65 39 [21:54:07]GetLastDocTimeStamp 1710280220 [21:54:07]current date 1710280465 [21:54:07]FM_GetShiftState [21:54:07]SAM_PROTO_GetShiftState [21:54:07]wFMCommunicate request_size=4 [21:54:07]MH_SAM_APDU [21:54:07]CAPDU: 80 13 01 00 [21:54:07]Write to MH i2c: E2 08 00 6D 5F 80 13 01 00 00 00 00 00 49 [21:54:07]Write i2c OK [21:54:07]MH_I2C_Read... [21:54:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:54:07]Read from MH i2c: E2 [21:54:07]MH_I2C_Read... [21:54:07]Read from MH i2c: E2 0E 00 [21:54:07]MH_I2C_Read... [21:54:07]Read from MH i2c: E2 0E 00 6D 5F 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 78 [21:54:07]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [21:54:07]wFMCommunicate OK [21:54:07]SAM_PROTO_GetShiftState done [21:54:07]FM_GetShiftState done [21:54:07]opened in 1710202417 [21:54:07]opened+sec_in_day 1710288817 [21:54:07]quantity*price = 13800 [21:54:07]sum+1 = 13801 [21:54:07]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 138.00 НСП 1% : 1.22 НДС 12% : 14.65 Наличными: 0.00 Безнал.: 138.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 67 12.03.2024 21:54 Смена: 314 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 Платежная система: Демир КИ Банк ФМ: 0000000000871816 ФД: 47389 ФПД: 212227480440707 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T215425&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47389&fm=212227480440707&tin=02508201610067®Number=0000000000092018&sum=13800 0 [21:54:08]StoreToDocumentArchive [21:54:08]shift 314 fd 47389 [21:54:08]save to /storage/0314/doc_00047389 [21:54:08]save last doc name /storage/0314/doc_00047389 to /storage/kkm_last_doc_name [21:54:08]save OK [21:54:08]Clear old archive folders... [21:54:08]ProcessDocumentItem done err = 0, tmpTLVsize=278 [21:54:08]tlvbuf is 00398E40 [21:54:08]SAM_PROTO_ClearQueue [21:54:08]wFMCommunicate request_size=4 [21:54:08]MH_SAM_APDU [21:54:08]CAPDU: 80 09 00 00 [21:54:08]Write to MH i2c: E2 08 00 7A 5F 80 09 00 00 00 00 00 00 4B [21:54:08]Write i2c OK [21:54:08]MH_I2C_Read... [21:54:08]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:54:08]Read from MH i2c: E2 [21:54:08]MH_I2C_Read... [21:54:08]Read from MH i2c: E2 03 00 [21:54:08]MH_I2C_Read... [21:54:08]Read from MH i2c: E2 03 00 7A 5F 00 90 00 4D [21:54:08]RAPDU: 90 00 [21:54:08]wFMCommunicate OK [21:54:08]SAM_PROTO_ClearQueue done [21:54:08]KKMCreateOFDPacket [21:54:08]OFDProtocolAddRootSTLVToBuf [21:54:08]FM_MakeSignedData [21:54:08]FM_MakeSignedData [21:54:08]SAM_PROTO_SignData [21:54:08]wFMCommunicate request_size=4 [21:54:08]MH_SAM_APDU [21:54:08]CAPDU: 80 0D 01 02 [21:54:08]Write to MH i2c: E2 08 00 7B 5F 80 0D 01 02 00 00 00 00 53 [21:54:08]Write i2c OK [21:54:08]MH_I2C_Read... [21:54:09]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:54:09]Read from MH i2c: E2 [21:54:09]MH_I2C_Read... [21:54:09]Read from MH i2c: E2 03 00 [21:54:09]MH_I2C_Read... [21:54:09]Read from MH i2c: E2 03 00 7B 5F 00 90 00 4E [21:54:09]RAPDU: 90 00 [21:54:09]wFMCommunicate OK [21:54:09]wFMCommunicate request_size=255 [21:54:09]MH_SAM_APDU [21:54:09]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 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E8 35 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 11 CF F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 [21:54:09]Write to MH i2c: E2 02 01 7C 5F 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 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E8 35 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 11 CF F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 00 00 C6 [21:54:09]Write i2c OK [21:54:09]MH_I2C_Read... [21:54:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:54:09]Read from MH i2c: E2 [21:54:09]MH_I2C_Read... [21:54:09]Read from MH i2c: E2 03 00 [21:54:09]MH_I2C_Read... [21:54:09]Read from MH i2c: E2 03 00 7C 5F 00 90 00 4F [21:54:09]RAPDU: 90 00 [21:54:09]wFMCommunicate OK [21:54:09]wFMCommunicate request_size=37 [21:54:09]MH_SAM_APDU [21:54:09]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 1D B9 00 00 35 04 06 00 C1 05 0F 95 4F 83 [21:54:09]Write to MH i2c: E2 28 00 7D 5F 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 1D B9 00 00 35 04 06 00 C1 05 0F 95 4F 83 00 00 BE [21:54:09]Write i2c OK [21:54:09]MH_I2C_Read... [21:54:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:54:09]Read from MH i2c: E2 [21:54:09]MH_I2C_Read... [21:54:09]Read from MH i2c: E2 03 00 [21:54:09]MH_I2C_Read... [21:54:09]Read from MH i2c: E2 03 00 7D 5F 00 90 00 50 [21:54:09]RAPDU: 90 00 [21:54:09]wFMCommunicate OK [21:54:09]wFMCommunicate request_size=4 [21:54:09]MH_SAM_APDU [21:54:09]CAPDU: 80 0D 03 02 [21:54:09]Write to MH i2c: E2 08 00 7E 5F 80 0D 03 02 00 00 00 00 58 [21:54:09]Write i2c OK [21:54:09]MH_I2C_Read... [21:54:09]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:54:09]Read from MH i2c: E2 [21:54:09]MH_I2C_Read... [21:54:09]Read from MH i2c: E2 0B 00 [21:54:09]MH_I2C_Read... [21:54:09]Read from MH i2c: E2 0B 00 7E 5F 00 11 4B CB B2 6F C8 67 22 90 00 F2 [21:54:09]RAPDU: 11 4B CB B2 6F C8 67 22 90 00 [21:54:09]wFMCommunicate OK [21:54:09]SAM_PROTO_SignData done [21:54:09]FM_MakeSignedData done [21:54:09]CreateOFDProtocolMessage [21:54:09]wFMCommunicate request_size=4 [21:54:09]MH_SAM_APDU [21:54:09]CAPDU: 80 11 00 00 [21:54:09]Write to MH i2c: E2 08 00 7F 5F 80 11 00 00 00 00 00 00 58 [21:54:09]Write i2c OK [21:54:09]MH_I2C_Read... [21:54:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:54:09]Read from MH i2c: E2 [21:54:09]MH_I2C_Read... [21:54:09]Read from MH i2c: E2 17 00 [21:54:09]MH_I2C_Read... [21:54:09]Read from MH i2c: E2 17 00 7F 5F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 AA [21:54:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [21:54:09]wFMCommunicate OK [21:54:09]CreateOFDProtocolMessage done [21:54:09]OFDSenderStorePacket 47389 [21:54:09]StoreOFDPacket docnum=47389 [21:54:09]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 2A 01 00 00 06 93 22 01 7B 14 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 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E8 35 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 11 CF F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 1D B9 00 00 35 04 06 00 C1 05 0F 95 4F 83 11 4B CB B2 6F C8 67 22 [21:54:09]CheckFolder [21:54:09]dirname=/storage/ofd_packets [21:54:09]CheckFolder done [21:54:09]ProducePacketName [21:54:09]name=ofd_packets/00047389 [21:54:09]NVStorageSaveData ofd_packets/00047389 [21:54:09]File name is /storage/ofd_packets/00047389 [21:54:09]Write 328 bytes [21:54:09]NVStorageSaveData done [21:54:09]OFDSenderStorePacket done [21:54:09]KKMCreateOFDPacket done [21:54:09]NVStorageSaveData kkm_last_timestamp [21:54:09]File name is /storage/kkm_last_timestamp [21:54:09]Write 4 bytes [21:54:09]NVStorageSaveData done [21:54:09]ExternCall_PrintAddStr [21:54:09]wPrintStart [21:54:09]Write to MH i2c: 01 00 00 80 5F DF [21:54:09]Write i2c OK [21:54:09]MH_I2C_Read... [21:54:09]Read from MH i2c: 01 [21:54:09]MH_I2C_Read... [21:54:09]Read from MH i2c: 01 07 00 [21:54:09]MH_I2C_Read... [21:54:09]Read from MH i2c: 01 07 00 80 5F 00 00 00 00 00 FF 0F F4 [21:54:09]RasterBufferAndPrint [21:54:09]line Счет N : (3)242301 [21:54:09]line ИНН: 02508201610067 [21:54:09]line Контрольно-Кассовый Чек [21:54:09]line ПРОДАЖА [21:54:09]line Товар: 4640030092499 [21:54:09]line Сигареты ESSE SENSE Himalaya [21:54:09]line 1.000 * 138.00 [21:54:09]line = 138.00 [21:54:09]line НДС 12% НСП 1% [21:54:09]line > о реализуемом товаре [21:54:09]line ИТОГО: 138.00 [21:54:09]line НСП 1% : 1.22 [21:54:09]line НДС 12% : 14.65 [21:54:09]line Наличными: 0.00 [21:54:09]line Безнал.: 138.00 [21:54:09]line Место: АЗС № 15 "Партнер Нефть" [21:54:09]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [21:54:09]line СНО: Общий режим [21:54:09]line Чек 67 12.03.2024 21:54 [21:54:09]line Смена: 314 ФФД: 1.0 [21:54:09]line ЗНМ: 0300000097 [21:54:09]line РНМ: 0000000000092018 [21:54:09]line Версия ККМ: 001 [21:54:09]line Платежная система: Демир КИ Банк [21:54:09]line ФМ: 0000000000871816 [21:54:09]line ФД: 47389 [21:54:09]line ФПД: 212227480440707 [21:54:09]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T215425&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47389&fm=212227480440707&tin=02508201610067®Number=0000000000092018&sum=13800 [21:54:09]line 0 [21:54:09]OFD Sender: Processing packet 47389 [packets to send 8, broken 7] [21:54:09]ProducePacketName [21:54:09]name=ofd_packets/00047389 [21:54:09]OFD Sender: To server: pG, [21:54:09]CommunicateWithHost lk.salyk.kg:30040 [21:54:09]ConnectInit lk.salyk.kg [21:54:09]written 0, free lines is 4095 [21:54:09]Connected sock=10 [21:54: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 31 36 2A 01 00 00 06 93 22 01 7B 14 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 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E8 35 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 11 CF F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 1D B9 00 00 35 04 06 00 C1 05 0F 95 4F 83 11 4B CB B2 6F C8 67 22 [21:54: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 31 36 4F 00 00 00 F9 B9 47 00 AD 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 31 36 10 04 04 00 1D B9 00 00 F4 03 04 00 A2 79 F0 65 B6 04 01 00 00 EC 07 CD 53 35 73 FB 89 [21:54:10]CommunicateWithHost err = 0 [21:54:10]CheckOFDResponse [21:54:10]1017 (14) - 77093643461234 [21:54:10]1041 (16) - 0000000000871816 [21:54:10]1040 (4) - 47389 [21:54:10]1012 (4) - 12.03.2024 15:49 [21:54:10]1206 (1) - 0 [21:54:10]OFD Sender: Remove packet 47389 [21:54:10]ProducePacketName [21:54:10]name=ofd_packets/00047389 [21:54:10]NVStorageDeleteData [21:54:10]Write to MH i2c: 01 00 00 AB 5F 0A [21:54:10]Write i2c OK [21:54:10]MH_I2C_Read... [21:54:10]Read from MH i2c: 01 [21:54:10]MH_I2C_Read... [21:54:10]Read from MH i2c: 01 07 00 [21:54:10]MH_I2C_Read... [21:54:10]Read from MH i2c: 01 07 00 AB 5F 00 00 00 00 00 BA 0C D7 [21:54:10]RasterBufferAndPrint [21:54:10]line [21:54:10]line [21:54:10]line [21:54:10]line [21:54:10]line [21:54:10]written 0, free lines is 3266 [21:54:10]MH_Cut [21:54:10]Write to MH i2c: D1 01 00 B2 5F 01 E3 [21:54:10]Write i2c OK [21:54:10]MH_I2C_Read... [21:54:10]Read from MH i2c: D1 [21:54:10]MH_I2C_Read... [21:54:10]Read from MH i2c: D1 01 00 [21:54:10]MH_I2C_Read... [21:54:10]Read from MH i2c: D1 01 00 B2 5F 00 E2 [21:54:10]Write to MH i2c: 01 00 00 B3 5F 12 [21:54:10]Write i2c OK [21:54:10]MH_I2C_Read... [21:54:10]OFD Sender: No OFD packet to send [21:54:11]*** Cut start [21:54:11]*** Purtial cut [21:54:11]*** Stage 1: CUTSNS_PIN = 1 [21:54:11]Read from MH i2c: 01 [21:54:11]MH_I2C_Read... [21:54:11]*** Stop cut motor [21:54:11]*** Cut end [21:54:11]Read from MH i2c: 01 07 00 [21:54:11]MH_I2C_Read... [21:54:11]Read from MH i2c: 01 07 00 B3 5F 00 00 00 00 00 FF 0F 27 [21:54:11]process_action close_receipt done [21:54:11]requested_data is exist [21:54:11]produce_requested_data [21:54:11]requested_item fm.sn is exist - process it [21:54:11]wFMCommunicate request_size=4 [21:54:11]MH_SAM_APDU [21:54:11]CAPDU: 80 11 00 00 [21:54:11]Write to MH i2c: E2 08 00 B4 5F 80 11 00 00 00 00 00 00 8D [21:54:11]Write i2c OK [21:54:11]MH_I2C_Read... [21:54:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:54:11]Read from MH i2c: E2 [21:54:11]MH_I2C_Read... [21:54:11]Read from MH i2c: E2 17 00 [21:54:11]MH_I2C_Read... [21:54:11]Read from MH i2c: E2 17 00 B4 5F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 DF [21:54:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [21:54:11]wFMCommunicate OK [21:54:11]requested_item fd.num is exist - process it [21:54:11]SAM_PROTO_GetFieldsCounters [21:54:11]wFMCommunicate request_size=4 [21:54:11]MH_SAM_APDU [21:54:11]CAPDU: 80 13 00 00 [21:54:11]Write to MH i2c: E2 08 00 B5 5F 80 13 00 00 00 00 00 00 90 [21:54:11]Write i2c OK [21:54:11]MH_I2C_Read... [21:54:11]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:54:11]Read from MH i2c: E2 [21:54:11]MH_I2C_Read... [21:54:11]Read from MH i2c: E2 62 00 [21:54:11]MH_I2C_Read... [21:54:11]Read from MH i2c: E2 62 00 B5 5F 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 1D B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 43 00 00 00 5E 04 04 00 43 00 00 00 57 04 04 00 44 00 00 00 19 04 04 00 00 00 00 00 90 00 85 [21:54: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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 1D B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 43 00 00 00 5E 04 04 00 43 00 00 00 57 04 04 00 44 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:54:11]wFMCommunicate OK [21:54:11]SAM_PROTO_GetFieldsCounters done [21:54:11]requested_item shift.num is exist - process it [21:54:11]requested_item shift.opened is exist - process it [21:54:11]req_shift_opened [21:54:11]FM_GetShiftState [21:54:11]SAM_PROTO_GetShiftState [21:54:11]wFMCommunicate request_size=4 [21:54:11]MH_SAM_APDU [21:54:11]CAPDU: 80 13 01 00 [21:54:11]Write to MH i2c: E2 08 00 B6 5F 80 13 01 00 00 00 00 00 92 [21:54:11]Write i2c OK [21:54:11]MH_I2C_Read... [21:54:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:54:11]Read from MH i2c: E2 [21:54:11]MH_I2C_Read... [21:54:11]Read from MH i2c: E2 0E 00 [21:54:11]MH_I2C_Read... [21:54:11]Read from MH i2c: E2 0E 00 B6 5F 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 C1 [21:54:11]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [21:54:11]wFMCommunicate OK [21:54:11]SAM_PROTO_GetShiftState done [21:54:11]FM_GetShiftState done [21:54:11]req_shift_opened done [21:54:11]requested_item shift.open_date is exist - process it [21:54:11]req_shift_open_date [21:54:11]req_shift_open_date done [21:54:11]produce_requested_data done [21:54:11]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47389,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [21:54:11]process_action_free close_receipt [21:54:11]json_value_free [21:54:11]json_value_free done [21:54:11]process_json_proto returns [21:54:11]Send response to host [21:54:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47389,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [21:54:11]free response buf [21:54:11]execute_script done [21:54:11]execute_script returns [21:54:11]free content buf [21:54:11]Sock 9.Close socket [21:54:11]Sock 9.Thread stoped [21:54:15]OFD Sender: No OFD packet to send [21:54:20]OFD Sender: No OFD packet to send [21:54:25]OFD Sender: No OFD packet to send [21:54:30]OFD Sender: No OFD packet to send [21:54:35]OFD Sender: No OFD packet to send [21:54:40]OFD Sender: No OFD packet to send [21:54:45]OFD Sender: No OFD packet to send [21:54:50]OFD Sender: No OFD packet to send [21:54:55]OFD Sender: No OFD packet to send [21:55:00]OFD Sender: No OFD packet to send [21:55:05]OFD Sender: No OFD packet to send [21:55:10]OFD Sender: No OFD packet to send [21:55:15]OFD Sender: No OFD packet to send [21:55:20]OFD Sender: No OFD packet to send [21:55:25]OFD Sender: No OFD packet to send [21:55:30]OFD Sender: No OFD packet to send [21:55:35]OFD Sender: No OFD packet to send [21:55:40]OFD Sender: No OFD packet to send [21:55:45]OFD Sender: No OFD packet to send [21:55:50]OFD Sender: No OFD packet to send [21:55:55]OFD Sender: No OFD packet to send [21:56:00]OFD Sender: No OFD packet to send [21:56:05]OFD Sender: No OFD packet to send [21:56:10]OFD Sender: No OFD packet to send [21:56:15]OFD Sender: No OFD packet to send [21:56:20]OFD Sender: No OFD packet to send [21:56:25]OFD Sender: No OFD packet to send [21:56:30]OFD Sender: No OFD packet to send [21:56:35]OFD Sender: No OFD packet to send [21:56:40]OFD Sender: No OFD packet to send [21:56:45]OFD Sender: No OFD packet to send [21:56:50]OFD Sender: No OFD packet to send [21:56:55]OFD Sender: No OFD packet to send [21:57:00]OFD Sender: No OFD packet to send [21:57:05]OFD Sender: No OFD packet to send [21:57:10]OFD Sender: No OFD packet to send [21:57:15]OFD Sender: No OFD packet to send [21:57:20]OFD Sender: No OFD packet to send [21:57:25]OFD Sender: No OFD packet to send [21:57:30]OFD Sender: No OFD packet to send [21:57:35]OFD Sender: No OFD packet to send [21:57:40]OFD Sender: No OFD packet to send [21:57:45]OFD Sender: No OFD packet to send [21:57:50]OFD Sender: No OFD packet to send [21:57:55]OFD Sender: No OFD packet to send [21:58:00]OFD Sender: No OFD packet to send [21:58:05]OFD Sender: No OFD packet to send [21:58:10]OFD Sender: No OFD packet to send [21:58:15]OFD Sender: No OFD packet to send [21:58:19]accept exits with 7 [21:58:19]New connection [21:58:19]New thread 3066453348 created [21:58:19]Thread 3066596708 joined [21:58:19]Waiting for new connection... [21:58:19] Sock 7.Parse request [21:58:19]Sock 7.Check first char [21:58:19]Sock 7.First char is OK [21:58:19]request: POST /json_proto HTTP/1.0 [21:58:19]Method: POST [21:58:19]URL: /json_proto [21:58:19]Method is POST - this is cgi request [21:58:19]url: /json_proto [21:58:19]query_string will be loaded in cgi processing [21:58:19]execute_cgi json_proto POST (null) [21:58:19]execute_cgi path=json_proto method=POST [21:58:19]POST find Content-Length [21:58:19]Host: 172.17.32.68:8080 [21:58:19]Content-Length: 630 [21:58:19]Content-Type: application/json [21:58:19] [21:58:19]POST finish read [21:58:19]Found Content-Length = 630 [21:58:19]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242302", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 50.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:58:19]execute_script... [21:58: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)242302", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 50.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:58:19]POST & json_proto [21:58:19]process_json_proto [21:58:19]json parsed OK: [21:58:19]protocol is kg_v1.0 [21:58:19]action value=close_receipt [21:58:19]process_action close_receipt [21:58:19]cmd_close_receipt [21:58:19]MH_GetDate [21:58:19]Write to MH i2c: F0 00 00 B7 5F 05 [21:58:19]Write i2c OK [21:58:19]MH_I2C_Read... [21:58:19]Read from MH i2c: F0 [21:58:19]MH_I2C_Read... [21:58:19]Read from MH i2c: F0 09 00 [21:58:19]MH_I2C_Read... [21:58:19]Read from MH i2c: F0 09 00 B7 5F 00 0D D0 F0 65 0A 64 6E 65 81 [21:58:19]GetLastDocTimeStamp 1710280465 [21:58:19]current date 1710280717 [21:58:19]FM_GetShiftState [21:58:19]SAM_PROTO_GetShiftState [21:58:19]wFMCommunicate request_size=4 [21:58:19]MH_SAM_APDU [21:58:19]CAPDU: 80 13 01 00 [21:58:19]Write to MH i2c: E2 08 00 B8 5F 80 13 01 00 00 00 00 00 94 [21:58:19]Write i2c OK [21:58:19]MH_I2C_Read... [21:58:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:58:19]Read from MH i2c: E2 [21:58:19]MH_I2C_Read... [21:58:19]Read from MH i2c: E2 0E 00 [21:58:19]MH_I2C_Read... [21:58:19]Read from MH i2c: E2 0E 00 B8 5F 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 C3 [21:58:19]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [21:58:19]wFMCommunicate OK [21:58:19]SAM_PROTO_GetShiftState done [21:58:19]FM_GetShiftState done [21:58:19]opened in 1710202417 [21:58:19]opened+sec_in_day 1710288817 [21:58:19]quantity*price = 5000 [21:58:19]sum+1 = 5001 [21:58:19]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 50.00 НСП 1% : 0.44 НДС 12% : 5.31 Наличными: 50.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 68 12.03.2024 21:58 Смена: 314 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47390 ФПД: 203744387170409 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T215837&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47390&fm=203744387170409&tin=02508201610067®Number=0000000000092018&sum=5000 0 [21:58:20]StoreToDocumentArchive [21:58:20]shift 314 fd 47390 [21:58:20]save to /storage/0314/doc_00047390 [21:58:20]save last doc name /storage/0314/doc_00047390 to /storage/kkm_last_doc_name [21:58:20]save OK [21:58:20]Clear old archive folders... [21:58:20]ProcessDocumentItem done err = 0, tmpTLVsize=269 [21:58:20]tlvbuf is 003CA6F0 [21:58:20]SAM_PROTO_ClearQueue [21:58:20]wFMCommunicate request_size=4 [21:58:20]MH_SAM_APDU [21:58:20]CAPDU: 80 09 00 00 [21:58:20]Write to MH i2c: E2 08 00 C5 5F 80 09 00 00 00 00 00 00 96 [21:58:20]Write i2c OK [21:58:20]MH_I2C_Read... [21:58:20]OFD Sender: No OFD packet to send [21:58:20]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:58:20]Read from MH i2c: E2 [21:58:20]MH_I2C_Read... [21:58:20]Read from MH i2c: E2 03 00 [21:58:20]MH_I2C_Read... [21:58:20]Read from MH i2c: E2 03 00 C5 5F 00 90 00 98 [21:58:20]RAPDU: 90 00 [21:58:20]wFMCommunicate OK [21:58:20]SAM_PROTO_ClearQueue done [21:58:20]KKMCreateOFDPacket [21:58:20]OFDProtocolAddRootSTLVToBuf [21:58:20]FM_MakeSignedData [21:58:20]FM_MakeSignedData [21:58:20]SAM_PROTO_SignData [21:58:20]wFMCommunicate request_size=4 [21:58:20]MH_SAM_APDU [21:58:20]CAPDU: 80 0D 01 02 [21:58:20]Write to MH i2c: E2 08 00 C6 5F 80 0D 01 02 00 00 00 00 9E [21:58:20]Write i2c OK [21:58:20]MH_I2C_Read... [21:58:20]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:58:20]Read from MH i2c: E2 [21:58:20]MH_I2C_Read... [21:58:20]Read from MH i2c: E2 03 00 [21:58:20]MH_I2C_Read... [21:58:20]Read from MH i2c: E2 03 00 C6 5F 00 90 00 99 [21:58:20]RAPDU: 90 00 [21:58:20]wFMCommunicate OK [21:58:20]wFMCommunicate request_size=255 [21:58:20]MH_SAM_APDU [21:58:20]CAPDU: 80 0D 02 02 FA 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 0D D0 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 [21:58:20]Write to MH i2c: E2 02 01 C7 5F 80 0D 02 02 FA 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 0D D0 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 00 00 61 [21:58:20]Write i2c OK [21:58:20]MH_I2C_Read... [21:58:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:58:21]Read from MH i2c: E2 [21:58:21]MH_I2C_Read... [21:58:21]Read from MH i2c: E2 03 00 [21:58:21]MH_I2C_Read... [21:58:21]Read from MH i2c: E2 03 00 C7 5F 00 90 00 9A [21:58:21]RAPDU: 90 00 [21:58:21]wFMCommunicate OK [21:58:21]wFMCommunicate request_size=28 [21:58:21]MH_SAM_APDU [21:58:21]CAPDU: 80 0D 02 02 17 37 31 38 31 36 10 04 04 00 1E B9 00 00 35 04 06 00 B9 4D EF D2 80 69 [21:58:21]Write to MH i2c: E2 1F 00 C8 5F 80 0D 02 02 17 00 37 31 38 31 36 10 04 04 00 1E B9 00 00 35 04 06 00 B9 4D EF D2 80 69 00 00 B4 [21:58:21]Write i2c OK [21:58:21]MH_I2C_Read... [21:58:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:58:21]Read from MH i2c: E2 [21:58:21]MH_I2C_Read... [21:58:21]Read from MH i2c: E2 03 00 [21:58:21]MH_I2C_Read... [21:58:21]Read from MH i2c: E2 03 00 C8 5F 00 90 00 9B [21:58:21]RAPDU: 90 00 [21:58:21]wFMCommunicate OK [21:58:21]wFMCommunicate request_size=4 [21:58:21]MH_SAM_APDU [21:58:21]CAPDU: 80 0D 03 02 [21:58:21]Write to MH i2c: E2 08 00 C9 5F 80 0D 03 02 00 00 00 00 A3 [21:58:21]Write i2c OK [21:58:21]MH_I2C_Read... [21:58:21]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:58:21]Read from MH i2c: E2 [21:58:21]MH_I2C_Read... [21:58:21]Read from MH i2c: E2 0B 00 [21:58:21]MH_I2C_Read... [21:58:21]Read from MH i2c: E2 0B 00 C9 5F 00 A8 ED 49 89 DB E2 DE 5C 90 00 02 [21:58:21]RAPDU: A8 ED 49 89 DB E2 DE 5C 90 00 [21:58:21]wFMCommunicate OK [21:58:21]SAM_PROTO_SignData done [21:58:21]FM_MakeSignedData done [21:58:21]CreateOFDProtocolMessage [21:58:21]wFMCommunicate request_size=4 [21:58:21]MH_SAM_APDU [21:58:21]CAPDU: 80 11 00 00 [21:58:21]Write to MH i2c: E2 08 00 CA 5F 80 11 00 00 00 00 00 00 A3 [21:58:21]Write i2c OK [21:58:21]MH_I2C_Read... [21:58:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:58:21]Read from MH i2c: E2 [21:58:21]MH_I2C_Read... [21:58:21]Read from MH i2c: E2 17 00 [21:58:21]MH_I2C_Read... [21:58:21]Read from MH i2c: E2 17 00 CA 5F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 F5 [21:58:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [21:58:21]wFMCommunicate OK [21:58:21]CreateOFDProtocolMessage done [21:58:21]OFDSenderStorePacket 47390 [21:58:21]StoreOFDPacket docnum=47390 [21:58:21]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 21 01 00 00 51 B4 19 01 50 21 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 0D D0 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 1E B9 00 00 35 04 06 00 B9 4D EF D2 80 69 A8 ED 49 89 DB E2 DE 5C [21:58:21]CheckFolder [21:58:21]dirname=/storage/ofd_packets [21:58:21]CheckFolder done [21:58:21]ProducePacketName [21:58:21]name=ofd_packets/00047390 [21:58:21]NVStorageSaveData ofd_packets/00047390 [21:58:21]File name is /storage/ofd_packets/00047390 [21:58:21]Write 319 bytes [21:58:21]NVStorageSaveData done [21:58:21]OFDSenderStorePacket done [21:58:21]KKMCreateOFDPacket done [21:58:21]NVStorageSaveData kkm_last_timestamp [21:58:21]File name is /storage/kkm_last_timestamp [21:58:21]Write 4 bytes [21:58:21]NVStorageSaveData done [21:58:21]ExternCall_PrintAddStr [21:58:21]wPrintStart [21:58:21]Write to MH i2c: 01 00 00 CB 5F 2A [21:58:21]Write i2c OK [21:58:21]MH_I2C_Read... [21:58:21]Read from MH i2c: 01 [21:58:21]MH_I2C_Read... [21:58:21]Read from MH i2c: 01 07 00 [21:58:21]MH_I2C_Read... [21:58:21]Read from MH i2c: 01 07 00 CB 5F 00 00 00 00 00 FF 0F 3F [21:58:21]RasterBufferAndPrint [21:58:21]line Счет N : (3)242302 [21:58:21]line ИНН: 02508201610067 [21:58:21]line Контрольно-Кассовый Чек [21:58:21]line ПРОДАЖА [21:58:21]line Товар: 4700000160358 [21:58:21]line Вода Легенда 1л [21:58:21]line 1.000 * 50.00 [21:58:21]line = 50.00 [21:58:21]line НДС 12% НСП 1% [21:58:21]line > о реализуемом товаре [21:58:21]line ИТОГО: 50.00 [21:58:21]line НСП 1% : 0.44 [21:58:21]line НДС 12% : 5.31 [21:58:21]line Наличными: 50.00 [21:58:21]line Безнал.: 0.00 [21:58:21]line Место: АЗС № 15 "Партнер Нефть" [21:58:21]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [21:58:21]line СНО: Общий режим [21:58:21]line Чек 68 12.03.2024 21:58 [21:58:21]line Смена: 314 ФФД: 1.0 [21:58:21]line ЗНМ: 0300000097 [21:58:21]line РНМ: 0000000000092018 [21:58:21]line Версия ККМ: 001 [21:58:21]line ФМ: 0000000000871816 [21:58:21]line ФД: 47390 [21:58:21]line ФПД: 203744387170409 [21:58:21]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T215837&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47390&fm=203744387170409&tin=02508201610067®Number=0000000000092018&sum=5000 [21:58:21]line 0 [21:58:21]OFD Sender: Processing packet 47390 [packets to send 8, broken 7] [21:58:21]ProducePacketName [21:58:21]name=ofd_packets/00047390 [21:58:21]OFD Sender: To server: pG, [21:58:21]CommunicateWithHost lk.salyk.kg:30040 [21:58:21]ConnectInit lk.salyk.kg [21:58:21]written 0, free lines is 4095 [21:58:21]Connected sock=11 [21:58: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 31 36 21 01 00 00 51 B4 19 01 50 21 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 0D D0 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 1E B9 00 00 35 04 06 00 B9 4D EF D2 80 69 A8 ED 49 89 DB E2 DE 5C [21:58: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 31 36 4F 00 00 00 10 F6 47 00 3B EB A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 31 36 10 04 04 00 1E B9 00 00 F4 03 04 00 9E 7A F0 65 B6 04 01 00 00 57 85 04 A5 01 B4 C5 10 [21:58:22]CommunicateWithHost err = 0 [21:58:22]CheckOFDResponse [21:58:22]1017 (14) - 77093643461234 [21:58:22]1041 (16) - 0000000000871816 [21:58:22]1040 (4) - 47390 [21:58:22]1012 (4) - 12.03.2024 15:54 [21:58:22]1206 (1) - 0 [21:58:22]OFD Sender: Remove packet 47390 [21:58:22]ProducePacketName [21:58:22]name=ofd_packets/00047390 [21:58:22]NVStorageDeleteData [21:58:22]Write to MH i2c: 01 00 00 F3 5F 52 [21:58:22]Write i2c OK [21:58:22]MH_I2C_Read... [21:58:22]Read from MH i2c: 01 [21:58:22]MH_I2C_Read... [21:58:22]Read from MH i2c: 01 07 00 [21:58:22]MH_I2C_Read... [21:58:22]Read from MH i2c: 01 07 00 F3 5F 00 00 00 00 00 FF 0C 64 [21:58:22]RasterBufferAndPrint [21:58:22]line [21:58:22]line [21:58:22]line [21:58:22]line [21:58:22]line [21:58:22]written 0, free lines is 3332 [21:58:22]MH_Cut [21:58:22]Write to MH i2c: D1 01 00 FA 5F 01 2B [21:58:22]Write i2c OK [21:58:22]MH_I2C_Read... [21:58:22]Read from MH i2c: D1 [21:58:22]MH_I2C_Read... [21:58:22]Read from MH i2c: D1 01 00 [21:58:22]MH_I2C_Read... [21:58:22]Read from MH i2c: D1 01 00 FA 5F 00 2A [21:58:22]Write to MH i2c: 01 00 00 FB 5F 5A [21:58:22]Write i2c OK [21:58:22]MH_I2C_Read... [21:58:22]OFD Sender: No OFD packet to send [21:58:22]*** Cut start [21:58:22]*** Purtial cut [21:58:22]*** Stage 1: CUTSNS_PIN = 1 [21:58:23]Read from MH i2c: 01 [21:58:23]MH_I2C_Read... [21:58:23]*** Stop cut motor [21:58:23]*** Cut end [21:58:23]Read from MH i2c: 01 07 00 [21:58:23]MH_I2C_Read... [21:58:23]Read from MH i2c: 01 07 00 FB 5F 00 00 00 00 00 FF 0F 6F [21:58:23]process_action close_receipt done [21:58:23]requested_data is exist [21:58:23]produce_requested_data [21:58:23]requested_item fm.sn is exist - process it [21:58:23]wFMCommunicate request_size=4 [21:58:23]MH_SAM_APDU [21:58:23]CAPDU: 80 11 00 00 [21:58:23]Write to MH i2c: E2 08 00 FC 5F 80 11 00 00 00 00 00 00 D5 [21:58:23]Write i2c OK [21:58:23]MH_I2C_Read... [21:58:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:58:23]Read from MH i2c: E2 [21:58:23]MH_I2C_Read... [21:58:23]Read from MH i2c: E2 17 00 [21:58:23]MH_I2C_Read... [21:58:23]Read from MH i2c: E2 17 00 FC 5F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 27 [21:58:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [21:58:23]wFMCommunicate OK [21:58:23]requested_item fd.num is exist - process it [21:58:23]SAM_PROTO_GetFieldsCounters [21:58:23]wFMCommunicate request_size=4 [21:58:23]MH_SAM_APDU [21:58:23]CAPDU: 80 13 00 00 [21:58:23]Write to MH i2c: E2 08 00 FD 5F 80 13 00 00 00 00 00 00 D8 [21:58:23]Write i2c OK [21:58:23]MH_I2C_Read... [21:58:23]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:58:23]Read from MH i2c: E2 [21:58:23]MH_I2C_Read... [21:58:23]Read from MH i2c: E2 62 00 [21:58:23]MH_I2C_Read... [21:58:23]Read from MH i2c: E2 62 00 FD 5F 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 1E B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 44 00 00 00 5E 04 04 00 44 00 00 00 57 04 04 00 45 00 00 00 19 04 04 00 00 00 00 00 90 00 D1 [21:58: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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 1E B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 44 00 00 00 5E 04 04 00 44 00 00 00 57 04 04 00 45 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:58:23]wFMCommunicate OK [21:58:23]SAM_PROTO_GetFieldsCounters done [21:58:23]requested_item shift.num is exist - process it [21:58:23]requested_item shift.opened is exist - process it [21:58:23]req_shift_opened [21:58:23]FM_GetShiftState [21:58:23]SAM_PROTO_GetShiftState [21:58:23]wFMCommunicate request_size=4 [21:58:23]MH_SAM_APDU [21:58:23]CAPDU: 80 13 01 00 [21:58:23]Write to MH i2c: E2 08 00 FE 5F 80 13 01 00 00 00 00 00 DA [21:58:23]Write i2c OK [21:58:23]MH_I2C_Read... [21:58:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:58:23]Read from MH i2c: E2 [21:58:23]MH_I2C_Read... [21:58:23]Read from MH i2c: E2 0E 00 [21:58:23]MH_I2C_Read... [21:58:23]Read from MH i2c: E2 0E 00 FE 5F 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 09 [21:58:23]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [21:58:23]wFMCommunicate OK [21:58:23]SAM_PROTO_GetShiftState done [21:58:23]FM_GetShiftState done [21:58:23]req_shift_opened done [21:58:23]requested_item shift.open_date is exist - process it [21:58:23]req_shift_open_date [21:58:23]req_shift_open_date done [21:58:23]produce_requested_data done [21:58:23]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47390,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [21:58:23]process_action_free close_receipt [21:58:23]json_value_free [21:58:23]json_value_free done [21:58:23]process_json_proto returns [21:58:23]Send response to host [21:58:23]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47390,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [21:58:23]free response buf [21:58:23]execute_script done [21:58:23]execute_script returns [21:58:23]free content buf [21:58:23]Sock 7.Close socket [21:58:23]Sock 7.Thread stoped [21:58:27]OFD Sender: No OFD packet to send [21:58:32]OFD Sender: No OFD packet to send [21:58:37]OFD Sender: No OFD packet to send [21:58:42]OFD Sender: No OFD packet to send [21:58:47]OFD Sender: No OFD packet to send [21:58:52]OFD Sender: No OFD packet to send [21:58:57]OFD Sender: No OFD packet to send [21:59:02]OFD Sender: No OFD packet to send [21:59:07]OFD Sender: No OFD packet to send [21:59:12]OFD Sender: No OFD packet to send [21:59:17]OFD Sender: No OFD packet to send [21:59:22]OFD Sender: No OFD packet to send [21:59:27]OFD Sender: No OFD packet to send [21:59:32]OFD Sender: No OFD packet to send [21:59:37]OFD Sender: No OFD packet to send [21:59:42]OFD Sender: No OFD packet to send [21:59:47]OFD Sender: No OFD packet to send [21:59:52]OFD Sender: No OFD packet to send [21:59:57]OFD Sender: No OFD packet to send [22:00:02]OFD Sender: No OFD packet to send [22:00:07]OFD Sender: No OFD packet to send [22:00:12]OFD Sender: No OFD packet to send [22:00:17]OFD Sender: No OFD packet to send [22:00:17]recv_with_timeout no data received [22:00:22]OFD Sender: No OFD packet to send [22:00:27]OFD Sender: No OFD packet to send [22:00:32]OFD Sender: No OFD packet to send [22:00:37]OFD Sender: No OFD packet to send [22:00:42]OFD Sender: No OFD packet to send [22:00:47]OFD Sender: No OFD packet to send [22:00:52]OFD Sender: No OFD packet to send [22:00:57]OFD Sender: No OFD packet to send [22:01:02]OFD Sender: No OFD packet to send [22:01:07]OFD Sender: No OFD packet to send [22:01:12]OFD Sender: No OFD packet to send [22:01:17]OFD Sender: No OFD packet to send [22:01:22]OFD Sender: No OFD packet to send [22:01:27]OFD Sender: No OFD packet to send [22:01:32]OFD Sender: No OFD packet to send [22:01:37]OFD Sender: No OFD packet to send [22:01:42]OFD Sender: No OFD packet to send [22:01:47]OFD Sender: No OFD packet to send [22:01:52]OFD Sender: No OFD packet to send [22:01:57]OFD Sender: No OFD packet to send [22:02:02]OFD Sender: No OFD packet to send [22:02:07]OFD Sender: No OFD packet to send [22:02:12]OFD Sender: No OFD packet to send [22:02:17]OFD Sender: No OFD packet to send [22:02:22]OFD Sender: No OFD packet to send [22:02:27]OFD Sender: No OFD packet to send [22:02:32]OFD Sender: No OFD packet to send [22:02:37]OFD Sender: No OFD packet to send [22:02:42]OFD Sender: No OFD packet to send [22:02:47]OFD Sender: No OFD packet to send [22:02:47]recv_with_timeout no data received [22:02:52]OFD Sender: No OFD packet to send [22:02:57]OFD Sender: No OFD packet to send [22:03:02]OFD Sender: No OFD packet to send [22:03:07]OFD Sender: No OFD packet to send [22:03:12]OFD Sender: No OFD packet to send [22:03:17]OFD Sender: No OFD packet to send 65 [22:03:21]Write to MH i2c: E2 10 00 09 60 80 15 02 00 08 00 F4 03 04 00 3A D1 F0 65 00 00 54 [22:03:21]Write i2c OK [22:03:21]MH_I2C_Read... [22:03:21]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [22:03:21]Read from MH i2c: E2 [22:03:21]MH_I2C_Read... [22:03:21]Read from MH i2c: E2 03 00 [22:03:21]MH_I2C_Read... [22:03:21]Read from MH i2c: E2 03 00 09 60 00 90 00 DD [22:03:21]RAPDU: 90 00 [22:03:21]wFMCommunicate OK [22:03:21]wFMCommunicate request_size=25 [22:03:21]MH_SAM_APDU [22:03:21]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 [22:03:21]Write to MH i2c: E2 1C 00 0A 60 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 00 00 47 [22:03:21]Write i2c OK [22:03:21]MH_I2C_Read... [22:03:21]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [22:03:21]Read from MH i2c: E2 [22:03:21]MH_I2C_Read... [22:03:21]Read from MH i2c: E2 03 00 [22:03:21]MH_I2C_Read... [22:03:21]Read from MH i2c: E2 03 00 0A 60 00 90 00 DE [22:03:21]RAPDU: 90 00 [22:03:21]wFMCommunicate OK [22:03:21]wFMCommunicate request_size=4 [22:03:21]MH_SAM_APDU [22:03:21]CAPDU: 80 15 03 00 [22:03:21]Write to MH i2c: E2 08 00 0B 60 80 15 03 00 00 00 00 00 EC [22:03:21]Write i2c OK [22:03:21]MH_I2C_Read... [22:03:21]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 61! [22:03:21]Read from MH i2c: E2 [22:03:21]MH_I2C_Read... [22:03:21]Read from MH i2c: E2 40 00 [22:03:21]MH_I2C_Read... [22:03:21]Read from MH i2c: E2 40 00 0B 60 00 3B 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 1F B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 45 00 00 00 35 04 06 00 05 09 C9 A7 D0 51 90 00 D8 [22:03:21]RAPDU: 3B 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 1F B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 45 00 00 00 35 04 06 00 05 09 C9 A7 D0 51 90 00 [22:03:21]wFMCommunicate OK [22:03:21]SAM_PROTO_ProcessDocument answer len = 59 [22:03:21]SAM_PROTO_ProcessDocument done [22:03:21]SetTLVBufToDocument [22:03:21]Processing tag 1209 (04B9) [22:03:21]Malloc new data [22:03:21]Processing tag 1041 (0411) [22:03:21]Processing tag 1040 (0410) [22:03:21]Malloc new data [22:03:21]Processing tag 1038 (040E) [22:03:21]Malloc new data [22:03:21]Processing tag 1042 (0412) [22:03:21]Malloc new data [22:03:21]Processing tag 1077 (0435) [22:03:21]Malloc new data [22:03:21]SetTLVBufToDocument err=0 [22:03:21]KKMLoadAndSignReceiptData store KKM data [22:03:21]KKMLoadAndSignReceiptData err=0 [22:03:21]wFMCommunicate request_size=4 [22:03:21]MH_SAM_APDU [22:03:21]CAPDU: 80 11 00 00 [22:03:21]Write to MH i2c: E2 08 00 0C 60 80 11 00 00 00 00 00 00 E6 [22:03:21]Write i2c OK [22:03:21]MH_I2C_Read... [22:03:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:03:21]Read from MH i2c: E2 [22:03:21]MH_I2C_Read... [22:03:21]Read from MH i2c: E2 17 00 [22:03:21]MH_I2C_Read... [22:03:21]Read from MH i2c: E2 17 00 0C 60 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 38 [22:03:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [22:03:21]wFMCommunicate OK [22:03:21]Счет N : (3)242303 ИНН: 02508201610067 Контрольно-Кассовый Чек ПРОДАЖА Товар: 8901086040022 Жидкость стеклоомывающая ПН -20 4,5л 1.000 * 257.00 = 257.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 257.00 НСП 1% : 2.27 НДС 12% : 27.29 Наличными: 257.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 69 12.03.2024 22:03 Смена: 314 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47391 ФПД: 5539596062801 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T220338&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47391&fm=5539596062801&tin=02508201610067®Number=0000000000092018&sum=25700 0 [22:03:21]StoreToDocumentArchive [22:03:21]shift 314 fd 47391 [22:03:21]save to /storage/0314/doc_00047391 [22:03:21]save last doc name /storage/0314/doc_00047391 to /storage/kkm_last_doc_name [22:03:21]save OK [22:03:21]Clear old archive folders... [22:03:21]ProcessDocumentItem done err = 0, tmpTLVsize=304 [22:03:21]tlvbuf is 003BC400 [22:03:21]SAM_PROTO_ClearQueue [22:03:21]wFMCommunicate request_size=4 [22:03:21]MH_SAM_APDU [22:03:21]CAPDU: 80 09 00 00 [22:03:21]Write to MH i2c: E2 08 00 0D 60 80 09 00 00 00 00 00 00 DF [22:03:21]Write i2c OK [22:03:21]MH_I2C_Read... [22:03:21]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:03:21]Read from MH i2c: E2 [22:03:21]MH_I2C_Read... [22:03:21]Read from MH i2c: E2 03 00 [22:03:21]MH_I2C_Read... [22:03:21]Read from MH i2c: E2 03 00 0D 60 00 90 00 E1 [22:03:21]RAPDU: 90 00 [22:03:21]wFMCommunicate OK [22:03:21]SAM_PROTO_ClearQueue done [22:03:21]KKMCreateOFDPacket [22:03:21]OFDProtocolAddRootSTLVToBuf [22:03:21]FM_MakeSignedData [22:03:21]FM_MakeSignedData [22:03:21]SAM_PROTO_SignData [22:03:21]wFMCommunicate request_size=4 [22:03:21]MH_SAM_APDU [22:03:21]CAPDU: 80 0D 01 02 [22:03:21]Write to MH i2c: E2 08 00 0E 60 80 0D 01 02 00 00 00 00 E7 [22:03:21]Write i2c OK [22:03:21]MH_I2C_Read... [22:03:21]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:03:21]Read from MH i2c: E2 [22:03:21]MH_I2C_Read... [22:03:21]Read from MH i2c: E2 03 00 [22:03:21]MH_I2C_Read... [22:03:21]Read from MH i2c: E2 03 00 0E 60 00 90 00 E2 [22:03:21]RAPDU: 90 00 [22:03:21]wFMCommunicate OK [22:03:21]wFMCommunicate request_size=255 [22:03:21]MH_SAM_APDU [22:03:21]CAPDU: 80 0D 02 02 FA 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 38 39 30 31 30 38 36 30 34 30 30 32 32 06 04 3E 00 D0 96 D0 B8 D0 B4 D0 BA D0 BE D1 81 D1 82 D1 8C 20 D1 81 D1 82 D0 B5 D0 BA D0 BB D0 BE D0 BE D0 BC D1 8B D0 B2 D0 B0 D1 8E D1 89 D0 B0 D1 8F 20 D0 9F D0 9D 20 2D 32 30 20 34 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 64 00 00 00 00 13 04 06 00 64 64 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 64 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 0A 00 00 00 00 07 04 06 00 64 64 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 45 00 00 00 F4 03 04 00 3A D1 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 [22:03:21]Write to MH i2c: E2 02 01 0F 60 80 0D 02 02 FA 00 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 38 39 30 31 30 38 36 30 34 30 30 32 32 06 04 3E 00 D0 96 D0 B8 D0 B4 D0 BA D0 BE D1 81 D1 82 D1 8C 20 D1 81 D1 82 D0 B5 D0 BA D0 BB D0 BE D0 BE D0 BC D1 8B D0 B2 D0 B0 D1 8E D1 89 D0 B0 D1 8F 20 D0 9F D0 9D 20 2D 32 30 20 34 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 64 00 00 00 00 13 04 06 00 64 64 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 64 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 0A 00 00 00 00 07 04 06 00 64 64 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 45 00 00 00 F4 03 04 00 3A D1 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 00 00 DB [22:03:22]Write i2c OK [22:03:22]MH_I2C_Read... [22:03:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:03:22]Read from MH i2c: E2 [22:03:22]MH_I2C_Read... [22:03:22]Read from MH i2c: E2 03 00 [22:03:22]MH_I2C_Read... [22:03:22]Read from MH i2c: E2 03 00 0F 60 00 90 00 E3 [22:03:22]RAPDU: 90 00 [22:03:22]wFMCommunicate OK [22:03:22]wFMCommunicate request_size=63 [22:03:22]MH_SAM_APDU [22:03:22]CAPDU: 80 0D 02 02 3A 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 1F B9 00 00 35 04 06 00 05 09 C9 A7 D0 51 [22:03:22]Write to MH i2c: E2 42 00 10 60 80 0D 02 02 3A 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 1F B9 00 00 35 04 06 00 05 09 C9 A7 D0 51 00 00 A5 [22:03:22]Write i2c OK [22:03:22]MH_I2C_Read... [22:03:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:03:22]Read from MH i2c: E2 [22:03:22]MH_I2C_Read... [22:03:22]Read from MH i2c: E2 03 00 [22:03:22]MH_I2C_Read... [22:03:22]Read from MH i2c: E2 03 00 10 60 00 90 00 E4 [22:03:22]RAPDU: 90 00 [22:03:22]wFMCommunicate OK [22:03:22]wFMCommunicate request_size=4 [22:03:22]MH_SAM_APDU [22:03:22]CAPDU: 80 0D 03 02 [22:03:22]Write to MH i2c: E2 08 00 11 60 80 0D 03 02 00 00 00 00 EC [22:03:22]Write i2c OK [22:03:22]MH_I2C_Read... [22:03:22]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:03:22]Read from MH i2c: E2 [22:03:22]MH_I2C_Read... [22:03:22]Read from MH i2c: E2 0B 00 [22:03:22]MH_I2C_Read... [22:03:22]Read from MH i2c: E2 0B 00 11 60 00 AF 70 A2 4A 11 47 99 C7 90 00 B0 [22:03:22]RAPDU: AF 70 A2 4A 11 47 99 C7 90 00 [22:03:22]wFMCommunicate OK [22:03:22]SAM_PROTO_SignData done [22:03:22]FM_MakeSignedData done [22:03:22]CreateOFDProtocolMessage [22:03:22]wFMCommunicate request_size=4 [22:03:22]MH_SAM_APDU [22:03:22]CAPDU: 80 11 00 00 [22:03:22]Write to MH i2c: E2 08 00 12 60 80 11 00 00 00 00 00 00 EC [22:03:22]Write i2c OK [22:03:22]MH_I2C_Read... [22:03:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:03:22]Read from MH i2c: E2 [22:03:22]MH_I2C_Read... [22:03:22]Read from MH i2c: E2 17 00 [22:03:22]MH_I2C_Read... [22:03:22]Read from MH i2c: E2 17 00 12 60 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 3E [22:03:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [22:03:22]wFMCommunicate OK [22:03:22]CreateOFDProtocolMessage done [22:03:22]OFDSenderStorePacket 47391 [22:03:22]StoreOFDPacket docnum=47391 [22:03:22]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 44 01 00 00 1C D1 3C 01 A5 17 5A 03 01 00 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 38 39 30 31 30 38 36 30 34 30 30 32 32 06 04 3E 00 D0 96 D0 B8 D0 B4 D0 BA D0 BE D1 81 D1 82 D1 8C 20 D1 81 D1 82 D0 B5 D0 BA D0 BB D0 BE D0 BE D0 BC D1 8B D0 B2 D0 B0 D1 8E D1 89 D0 B0 D1 8F 20 D0 9F D0 9D 20 2D 32 30 20 34 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 64 00 00 00 00 13 04 06 00 64 64 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 64 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 0A 00 00 00 00 07 04 06 00 64 64 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 45 00 00 00 F4 03 04 00 3A D1 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 1F B9 00 00 35 04 06 00 05 09 C9 A7 D0 51 AF 70 A2 4A 11 47 99 C7 [22:03:22]CheckFolder [22:03:22]dirname=/storage/ofd_packets [22:03:22]CheckFolder done [22:03:22]ProducePacketName [22:03:22]name=ofd_packets/00047391 [22:03:22]NVStorageSaveData ofd_packets/00047391 [22:03:22]File name is /storage/ofd_packets/00047391 [22:03:22]Write 354 bytes [22:03:22]NVStorageSaveData done [22:03:22]OFDSenderStorePacket done [22:03:22]KKMCreateOFDPacket done [22:03:22]NVStorageSaveData kkm_last_timestamp [22:03:22]File name is /storage/kkm_last_timestamp [22:03:22]Write 4 bytes [22:03:22]NVStorageSaveData done [22:03:22]ExternCall_PrintAddStr [22:03:22]wPrintStart [22:03:22]Write to MH i2c: 01 00 00 13 60 73 [22:03:22]Write i2c OK [22:03:22]MH_I2C_Read... [22:03:22]Read from MH i2c: 01 [22:03:22]MH_I2C_Read... [22:03:22]Read from MH i2c: 01 07 00 [22:03:22]MH_I2C_Read... [22:03:22]Read from MH i2c: 01 07 00 13 60 00 00 00 00 00 FF 0F 88 [22:03:22]RasterBufferAndPrint [22:03:22]line Счет N : (3)242303 [22:03:22]line ИНН: 02508201610067 [22:03:22]line Контрольно-Кассовый Чек [22:03:22]line ПРОДАЖА [22:03:22]line Товар: 8901086040022 [22:03:22]line Жидкость стеклоомывающая ПН -20 4,5л [22:03:22]line 1.000 * 257.00 [22:03:22]line = 257.00 [22:03:22]line НДС 12% НСП 1% [22:03:22]line > о реализуемом товаре [22:03:22]line ИТОГО: 257.00 [22:03:22]line НСП 1% : 2.27 [22:03:22]line НДС 12% : 27.29 [22:03:22]line Наличными: 257.00 [22:03:22]line Безнал.: 0.00 [22:03:22]line Место: АЗС № 15 "Партнер Нефть" [22:03:22]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [22:03:22]line СНО: Общий режим [22:03:22]line Чек 69 12.03.2024 22:03 [22:03:22]line Смена: 314 ФФД: 1.0 [22:03:22]line ЗНМ: 0300000097 [22:03:22]line РНМ: 0000000000092018 [22:03:22]line Версия ККМ: 001 [22:03:22]line ФМ: 0000000000871816 [22:03:22]line ФД: 47391 [22:03:22]line ФПД: 5539596062801 [22:03:22]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T220338&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47391&fm=5539596062801&tin=02508201610067®Number=0000000000092018&sum=25700 [22:03:22]line 0 [22:03:22]OFD Sender: Processing packet 47391 [packets to send 8, broken 7] [22:03:22]ProducePacketName [22:03:22]name=ofd_packets/00047391 [22:03:22]OFD Sender: To server: pG, [22:03:22]CommunicateWithHost lk.salyk.kg:30040 [22:03:22]ConnectInit lk.salyk.kg [22:03:22]written 0, free lines is 4095 [22:03:23]Write to MH i2c: 01 00 00 3C 60 9C [22:03:23]Write i2c OK [22:03:23]MH_I2C_Read... [22:03:23]Read from MH i2c: 01 [22:03:23]MH_I2C_Read... [22:03:23]Read from MH i2c: 01 07 00 [22:03:23]MH_I2C_Read... [22:03:23]Read from MH i2c: 01 07 00 3C 60 00 00 00 00 00 D1 0C 80 [22:03:23]RasterBufferAndPrint [22:03:23]line [22:03:23]line [22:03:23]line [22:03:23]line [22:03:23]line [22:03:23]written 0, free lines is 3288 [22:03:23]MH_Cut [22:03:23]Write to MH i2c: D1 01 00 43 60 01 75 [22:03:23]Write i2c OK [22:03:23]MH_I2C_Read... [22:03:23]Read from MH i2c: D1 [22:03:23]MH_I2C_Read... [22:03:23]Read from MH i2c: D1 01 00 [22:03:23]MH_I2C_Read... [22:03:23]Read from MH i2c: D1 01 00 43 60 00 74 [22:03:23]Write to MH i2c: 01 00 00 44 60 A4 [22:03:23]Write i2c OK [22:03:23]MH_I2C_Read... [22:03:24]*** Cut start [22:03:24]*** Purtial cut [22:03:24]*** Stage 1: CUTSNS_PIN = 1 [22:03:24]Read from MH i2c: 01 [22:03:24]MH_I2C_Read... [22:03:24]*** Stop cut motor [22:03:24]*** Cut end [22:03:24]Read from MH i2c: 01 07 00 [22:03:24]MH_I2C_Read... [22:03:24]Read from MH i2c: 01 07 00 44 60 00 00 00 00 00 FF 0F B9 [22:03:24]process_action close_receipt done [22:03:24]requested_data is exist [22:03:24]produce_requested_data [22:03:24]requested_item fm.sn is exist - process it [22:03:24]wFMCommunicate request_size=4 [22:03:24]MH_SAM_APDU [22:03:24]CAPDU: 80 11 00 00 [22:03:24]Write to MH i2c: E2 08 00 45 60 80 11 00 00 00 00 00 00 1F [22:03:24]Write i2c OK [22:03:24]MH_I2C_Read... [22:03:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:03:24]Read from MH i2c: E2 [22:03:24]MH_I2C_Read... [22:03:24]Read from MH i2c: E2 17 00 [22:03:24]MH_I2C_Read... [22:03:24]Read from MH i2c: E2 17 00 45 60 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 71 [22:03:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [22:03:24]wFMCommunicate OK [22:03:24]requested_item fd.num is exist - process it [22:03:24]SAM_PROTO_GetFieldsCounters [22:03:24]wFMCommunicate request_size=4 [22:03:24]MH_SAM_APDU [22:03:24]CAPDU: 80 13 00 00 [22:03:24]Write to MH i2c: E2 08 00 46 60 80 13 00 00 00 00 00 00 22 [22:03:24]Write i2c OK [22:03:24]MH_I2C_Read... [22:03:24]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:03:24]Read from MH i2c: E2 [22:03:24]MH_I2C_Read... [22:03:24]Read from MH i2c: E2 62 00 [22:03:24]MH_I2C_Read... [22:03:24]Read from MH i2c: E2 62 00 46 60 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 1F B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 45 00 00 00 5E 04 04 00 45 00 00 00 57 04 04 00 46 00 00 00 19 04 04 00 00 00 00 00 90 00 1F [22:03: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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 1F B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 45 00 00 00 5E 04 04 00 45 00 00 00 57 04 04 00 46 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:03:24]wFMCommunicate OK [22:03:24]SAM_PROTO_GetFieldsCounters done [22:03:24]requested_item shift.num is exist - process it [22:03:24]requested_item shift.opened is exist - process it [22:03:24]req_shift_opened [22:03:24]FM_GetShiftState [22:03:24]SAM_PROTO_GetShiftState [22:03:24]wFMCommunicate request_size=4 [22:03:24]MH_SAM_APDU [22:03:24]CAPDU: 80 13 01 00 [22:03:24]Write to MH i2c: E2 08 00 47 60 80 13 01 00 00 00 00 00 24 [22:03:24]Write i2c OK [22:03:24]MH_I2C_Read... [22:03:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:03:24]Read from MH i2c: E2 [22:03:24]MH_I2C_Read... [22:03:24]Read from MH i2c: E2 0E 00 [22:03:24]MH_I2C_Read... [22:03:24]Read from MH i2c: E2 0E 00 47 60 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 53 [22:03:24]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [22:03:24]wFMCommunicate OK [22:03:24]SAM_PROTO_GetShiftState done [22:03:24]FM_GetShiftState done [22:03:24]req_shift_opened done [22:03:24]requested_item shift.open_date is exist - process it [22:03:24]req_shift_open_date [22:03:24]req_shift_open_date done [22:03:24]produce_requested_data done [22:03:24]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47391,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [22:03:24]process_action_free close_receipt [22:03:24]json_value_free [22:03:24]json_value_free done [22:03:24]process_json_proto returns [22:03:24]Send response to host [22:03:24]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47391,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [22:03:24]free response buf [22:03:24]execute_script done [22:03:24]execute_script returns [22:03:24]free content buf [22:03:24]Sock 9.Close socket [22:03:24]Sock 9.Thread stoped [22:03:27]ConnectInit Can't take IP for lk.salyk.kg [22:03:27]CommunicateWithHost connect error [22:03:27]CommunicateWithHost err = -1 [22:03:27]OFD Sender: Server communicate error [22:03:32]OFD Sender: Processing packet 47391 [packets to send 8, broken 7] [22:03:32]ProducePacketName [22:03:32]name=ofd_packets/00047391 [22:03:32]OFD Sender: To server: pG, [22:03:32]CommunicateWithHost lk.salyk.kg:30040 [22:03:32]ConnectInit lk.salyk.kg [22:03:34]recv_with_timeout no data received [22:03:37]ConnectInit Can't take IP for lk.salyk.kg [22:03:37]CommunicateWithHost connect error [22:03:37]CommunicateWithHost err = -1 [22:03:37]OFD Sender: Server communicate error [22:03:42]OFD Sender: Processing packet 47391 [packets to send 8, broken 7] [22:03:42]ProducePacketName [22:03:42]name=ofd_packets/00047391 [22:03:42]OFD Sender: To server: pG, [22:03:42]CommunicateWithHost lk.salyk.kg:30040 [22:03:42]ConnectInit lk.salyk.kg [22:03:47]ConnectInit Can't take IP for lk.salyk.kg [22:03:47]CommunicateWithHost connect error [22:03:47]CommunicateWithHost err = -1 [22:03:47]OFD Sender: Server communicate error [22:03:51]accept exits with 7 [22:03:51]New connection [22:03:51]New thread 3066453348 created [22:03:51]Thread 3066596708 joined [22:03:51]Waiting for new connection... [22:03:51] Sock 7.Parse request [22:03:51]Sock 7.Check first char [22:03:51]Sock 7.First char is OK [22:03:51]request: POST /json_proto HTTP/1.0 [22:03:51]Method: POST [22:03:51]URL: /json_proto [22:03:51]Method is POST - this is cgi request [22:03:51]url: /json_proto [22:03:51]query_string will be loaded in cgi processing [22:03:51]execute_cgi json_proto POST (null) [22:03:51]execute_cgi path=json_proto method=POST [22:03:51]POST find Content-Length [22:03:51]Host: 172.17.32.68:8080 [22:03:51]Content-Length: 605 [22:03:51]Content-Type: application/json [22:03:51] [22:03:51]POST finish read [22:03:51]Found Content-Length = 605 [22:03:51]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242304", "tax_sys" : 0, "items" : [ { "code": "42113270", "name": "\u0416\u0435\u0432 Orbit \u0430\u0440\u0431\u0443\u0437", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 40.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:03:51]execute_script... [22:03: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)242304", "tax_sys" : 0, "items" : [ { "code": "42113270", "name": "\u0416\u0435\u0432 Orbit \u0430\u0440\u0431\u0443\u0437", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 40.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:03:51]POST & json_proto [22:03:51]process_json_proto [22:03:51]json parsed OK: [22:03:51]protocol is kg_v1.0 [22:03:51]action value=close_receipt [22:03:51]process_action close_receipt [22:03:51]cmd_close_receipt [22:03:51]MH_GetDate [22:03:51]Write to MH i2c: F0 00 00 48 60 97 [22:03:51]Write i2c OK [22:03:51]MH_I2C_Read... [22:03:51]Read from MH i2c: F0 [22:03:51]MH_I2C_Read... [22:03:51]Read from MH i2c: F0 09 00 [22:03:51]MH_I2C_Read... [22:03:51]Read from MH i2c: F0 09 00 48 60 00 59 D1 F0 65 0A 64 6E 65 60 [22:03:51]GetLastDocTimeStamp 1710281018 [22:03:51]current date 1710281049 [22:03:51]FM_GetShiftState [22:03:51]SAM_PROTO_GetShiftState [22:03:51]wFMCommunicate request_size=4 [22:03:51]MH_SAM_APDU [22:03:51]CAPDU: 80 13 01 00 [22:03:51]Write to MH i2c: E2 08 00 49 60 80 13 01 00 00 00 00 00 26 [22:03:51]Write i2c OK [22:03:51]MH_I2C_Read... [22:03:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:03:51]Read from MH i2c: E2 [22:03:51]MH_I2C_Read... [22:03:51]Read from MH i2c: E2 0E 00 [22:03:51]MH_I2C_Read... [22:03:51]Read from MH i2c: E2 0E 00 49 60 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 55 [22:03:51]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [22:03:51]wFMCommunicate OK [22:03:51]SAM_PROTO_GetShiftState done [22:03:51]FM_GetShiftState done [22:03:51]opened in 1710202417 [22:03:51]opened+sec_in_day 1710288817 [22:03:51]quantity*price = 4000 [22:03:51]sum+1 = 4001 [22:03:51]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 40.00 НСП 1% : 0.35 НДС 12% : 4.25 Наличными: 40.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 70 12.03.2024 22:04 Смена: 314 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47392 ФПД: 226674647242012 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T220409&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47392&fm=226674647242012&tin=02508201610067®Number=0000000000092018&sum=4000 0 [22:03:52]StoreToDocumentArchive [22:03:52]shift 314 fd 47392 [22:03:52]save to /storage/0314/doc_00047392 [22:03:52]save last doc name /storage/0314/doc_00047392 to /storage/kkm_last_doc_name [22:03:52]save OK [22:03:52]Clear old archive folders... [22:03:52]ProcessDocumentItem done err = 0, tmpTLVsize=260 [22:03:52]tlvbuf is 00432B40 [22:03:52]SAM_PROTO_ClearQueue [22:03:52]wFMCommunicate request_size=4 [22:03:52]MH_SAM_APDU [22:03:52]CAPDU: 80 09 00 00 [22:03:52]Write to MH i2c: E2 08 00 56 60 80 09 00 00 00 00 00 00 28 [22:03:52]Write i2c OK [22:03:52]MH_I2C_Read... [22:03:52]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:03:52]Read from MH i2c: E2 [22:03:52]MH_I2C_Read... [22:03:52]Read from MH i2c: E2 03 00 [22:03:52]MH_I2C_Read... [22:03:52]Read from MH i2c: E2 03 00 56 60 00 90 00 2A [22:03:52]RAPDU: 90 00 [22:03:52]wFMCommunicate OK [22:03:52]SAM_PROTO_ClearQueue done [22:03:52]KKMCreateOFDPacket [22:03:52]OFDProtocolAddRootSTLVToBuf [22:03:52]FM_MakeSignedData [22:03:52]FM_MakeSignedData [22:03:52]SAM_PROTO_SignData [22:03:52]wFMCommunicate request_size=4 [22:03:52]MH_SAM_APDU [22:03:52]CAPDU: 80 0D 01 02 [22:03:52]Write to MH i2c: E2 08 00 57 60 80 0D 01 02 00 00 00 00 30 [22:03:52]Write i2c OK [22:03:52]MH_I2C_Read... [22:03:52]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:03:52]OFD Sender: Processing packet 47391 [packets to send 8, broken 7] [22:03:52]ProducePacketName [22:03:52]name=ofd_packets/00047391 [22:03:52]OFD Sender: To server: pG, [22:03:52]CommunicateWithHost lk.salyk.kg:30040 [22:03:52]ConnectInit lk.salyk.kg [22:03:52]Read from MH i2c: E2 [22:03:52]MH_I2C_Read... [22:03:52]Read from MH i2c: E2 03 00 [22:03:52]MH_I2C_Read... [22:03:52]Read from MH i2c: E2 03 00 57 60 00 90 00 2B [22:03:52]RAPDU: 90 00 [22:03:52]wFMCommunicate OK [22:03:52]wFMCommunicate request_size=255 [22:03:52]MH_SAM_APDU [22:03:52]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 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 46 00 00 00 F4 03 04 00 59 D1 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 [22:03:52]Write to MH i2c: E2 02 01 58 60 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 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 46 00 00 00 F4 03 04 00 59 D1 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 00 00 85 [22:03:52]Write i2c OK [22:03:52]MH_I2C_Read... [22:03:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:03:53]Read from MH i2c: E2 [22:03:53]MH_I2C_Read... [22:03:53]Read from MH i2c: E2 03 00 [22:03:53]MH_I2C_Read... [22:03:53]Read from MH i2c: E2 03 00 58 60 00 90 00 2C [22:03:53]RAPDU: 90 00 [22:03:53]wFMCommunicate OK [22:03:53]wFMCommunicate request_size=19 [22:03:53]MH_SAM_APDU [22:03:53]CAPDU: 80 0D 02 02 0E 20 B9 00 00 35 04 06 00 CE 28 CD D4 15 1C [22:03:53]Write to MH i2c: E2 16 00 59 60 80 0D 02 02 0E 00 20 B9 00 00 35 04 06 00 CE 28 CD D4 15 1C 00 00 2F [22:03:53]Write i2c OK [22:03:53]MH_I2C_Read... [22:03:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:03:53]Read from MH i2c: E2 [22:03:53]MH_I2C_Read... [22:03:53]Read from MH i2c: E2 03 00 [22:03:53]MH_I2C_Read... [22:03:53]Read from MH i2c: E2 03 00 59 60 00 90 00 2D [22:03:53]RAPDU: 90 00 [22:03:53]wFMCommunicate OK [22:03:53]wFMCommunicate request_size=4 [22:03:53]MH_SAM_APDU [22:03:53]CAPDU: 80 0D 03 02 [22:03:53]Write to MH i2c: E2 08 00 5A 60 80 0D 03 02 00 00 00 00 35 [22:03:53]Connected sock=11 [22:03: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 31 36 44 01 00 00 1C D1 3C 01 A5 17 5A 03 01 00 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 38 39 30 31 30 38 36 30 34 30 30 32 32 06 04 3E 00 D0 96 D0 B8 D0 B4 D0 BA D0 BE D1 81 D1 82 D1 8C 20 D1 81 D1 82 D0 B5 D0 BA D0 BB D0 BE D0 BE D0 BC D1 8B D0 B2 D0 B0 D1 8E D1 89 D0 B0 D1 8F 20 D0 9F D0 9D 20 2D 32 30 20 34 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 64 00 00 00 00 13 04 06 00 64 64 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 64 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 0A 00 00 00 00 07 04 06 00 64 64 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 45 00 00 00 F4 03 04 00 3A D1 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 1F B9 00 00 35 04 06 00 05 09 C9 A7 D0 51 AF 70 A2 4A 11 47 99 C7 [22:03:53]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:03:53]Write i2c OK [22:03:53]MH_I2C_Read... [22:03:53]Read from MH i2c: E2 [22:03:53]MH_I2C_Read... [22:03:53]Read from MH i2c: E2 0B 00 [22:03:53]MH_I2C_Read... [22:03:53]Read from MH i2c: E2 0B 00 5A 60 00 64 CC B0 88 7C 80 AB F5 90 00 3A [22:03:53]RAPDU: 64 CC B0 88 7C 80 AB F5 90 00 [22:03:53]wFMCommunicate OK [22:03:53]SAM_PROTO_SignData done [22:03:53]FM_MakeSignedData done [22:03:53]CreateOFDProtocolMessage [22:03:53]wFMCommunicate request_size=4 [22:03:53]MH_SAM_APDU [22:03:53]CAPDU: 80 11 00 00 [22:03:53]Write to MH i2c: E2 08 00 5B 60 80 11 00 00 00 00 00 00 35 [22:03:53]Write i2c OK [22:03:53]MH_I2C_Read... [22:03:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:03:53]Read from MH i2c: E2 [22:03:53]MH_I2C_Read... [22:03:53]Read from MH i2c: E2 17 00 [22:03:53]MH_I2C_Read... [22:03:53]Read from MH i2c: E2 17 00 5B 60 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 87 [22:03:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [22:03:53]wFMCommunicate OK [22:03:53]CreateOFDProtocolMessage done [22:03:53]OFDSenderStorePacket 47392 [22:03:53]StoreOFDPacket docnum=47392 [22:03:53]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 18 01 00 00 C2 35 10 01 50 35 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 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 46 00 00 00 F4 03 04 00 59 D1 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 20 B9 00 00 35 04 06 00 CE 28 CD D4 15 1C 64 CC B0 88 7C 80 AB F5 [22:03:53]CheckFolder [22:03:53]dirname=/storage/ofd_packets [22:03:53]CheckFolder done [22:03:53]ProducePacketName [22:03:53]name=ofd_packets/00047392 [22:03:53]NVStorageSaveData ofd_packets/00047392 [22:03:53]File name is /storage/ofd_packets/00047392 [22:03:53]Write 310 bytes [22:03:53]NVStorageSaveData done [22:03:53]OFDSenderStorePacket done [22:03:53]KKMCreateOFDPacket done [22:03:53]NVStorageSaveData kkm_last_timestamp [22:03:53]File name is /storage/kkm_last_timestamp [22:03:53]Write 4 bytes [22:03:53]NVStorageSaveData done [22:03:53]ExternCall_PrintAddStr [22:03:53]wPrintStart [22:03:53]Write to MH i2c: 01 00 00 5C 60 BC [22:03:53]Write i2c OK [22:03:53]MH_I2C_Read... [22:03:53]Read from MH i2c: 01 [22:03:53]MH_I2C_Read... [22:03:53]Read from MH i2c: 01 07 00 [22:03:53]MH_I2C_Read... [22:03:53]Read from MH i2c: 01 07 00 5C 60 00 00 00 00 00 FF 0F D1 [22:03:53]RasterBufferAndPrint [22:03:53]line Счет N : (3)242304 [22:03:53]line ИНН: 02508201610067 [22:03:53]line Контрольно-Кассовый Чек [22:03:53]line ПРОДАЖА [22:03:53]line Товар: 42113270 [22:03:53]line Жев Orbit арбуз [22:03:53]line 1.000 * 40.00 [22:03:53]line = 40.00 [22:03:53]line НДС 12% НСП 1% [22:03:53]line > о реализуемом товаре [22:03:53]line ИТОГО: 40.00 [22:03:53]line НСП 1% : 0.35 [22:03:53]line НДС 12% : 4.25 [22:03:53]line Наличными: 40.00 [22:03:53]line Безнал.: 0.00 [22:03:53]line Место: АЗС № 15 "Партнер Нефть" [22:03:53]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [22:03:53]line СНО: Общий режим [22:03:53]line Чек 70 12.03.2024 22:04 [22:03:53]line Смена: 314 ФФД: 1.0 [22:03:53]line ЗНМ: 0300000097 [22:03:53]line РНМ: 0000000000092018 [22:03:53]line Версия ККМ: 001 [22:03:53]line ФМ: 0000000000871816 [22:03:53]line ФД: 47392 [22:03:53]line ФПД: 226674647242012 [22:03:53]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T220409&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47392&fm=226674647242012&tin=02508201610067®Number=0000000000092018&sum=4000 [22:03:53]line 0 [22:03: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 31 36 4F 00 00 00 A3 E5 47 00 38 96 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 1F B9 00 00 F4 03 04 00 E9 7B F0 65 B6 04 01 00 00 12 69 6D CD AC EB FC 62 [22:03:53]CommunicateWithHost err = 0 [22:03:53]CheckOFDResponse [22:03:53]1017 (14) - 77093643461234 [22:03:53]1041 (16) - 0000000000871816 [22:03:53]1040 (4) - 47391 [22:03:53]1012 (4) - 12.03.2024 15:59 [22:03:53]1206 (1) - 0 [22:03:53]OFD Sender: Remove packet 47391 [22:03:53]ProducePacketName [22:03:53]name=ofd_packets/00047391 [22:03:53]NVStorageDeleteData [22:03:53]written 0, free lines is 4095 [22:03:54]Write to MH i2c: 01 00 00 84 60 E4 [22:03:54]Write i2c OK [22:03:54]MH_I2C_Read... [22:03:54]Read from MH i2c: 01 [22:03:54]MH_I2C_Read... [22:03:54]Read from MH i2c: 01 07 00 [22:03:54]MH_I2C_Read... [22:03:54]Read from MH i2c: 01 07 00 84 60 00 00 00 00 00 FB 0C F2 [22:03:54]RasterBufferAndPrint [22:03:54]line [22:03:54]line [22:03:54]line [22:03:54]line [22:03:54]line [22:03:54]written 0, free lines is 3332 [22:03:54]MH_Cut [22:03:54]Write to MH i2c: D1 01 00 8B 60 01 BD [22:03:54]Write i2c OK [22:03:54]MH_I2C_Read... [22:03:54]Read from MH i2c: D1 [22:03:54]MH_I2C_Read... [22:03:54]Read from MH i2c: D1 01 00 [22:03:54]MH_I2C_Read... [22:03:54]Read from MH i2c: D1 01 00 8B 60 00 BC [22:03:54]Write to MH i2c: 01 00 00 8C 60 EC [22:03:54]Write i2c OK [22:03:54]MH_I2C_Read... [22:03:54]OFD Sender: Processing packet 47392 [packets to send 8, broken 7] [22:03:54]ProducePacketName [22:03:54]name=ofd_packets/00047392 [22:03:54]OFD Sender: To server: pG, [22:03:54]CommunicateWithHost lk.salyk.kg:30040 [22:03:54]ConnectInit lk.salyk.kg [22:03:54]Connected sock=11 [22:03: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 31 36 18 01 00 00 C2 35 10 01 50 35 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 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 46 00 00 00 F4 03 04 00 59 D1 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 20 B9 00 00 35 04 06 00 CE 28 CD D4 15 1C 64 CC B0 88 7C 80 AB F5 [22:03: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 31 36 4F 00 00 00 33 EA 47 00 09 B4 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 31 36 10 04 04 00 20 B9 00 00 F4 03 04 00 EA 7B F0 65 B6 04 01 00 00 FD C2 FC 68 6A 6D 6C BB [22:03:54]CommunicateWithHost err = 0 [22:03:54]CheckOFDResponse [22:03:54]1017 (14) - 77093643461234 [22:03:54]1041 (16) - 0000000000871816 [22:03:54]1040 (4) - 47392 [22:03:54]1012 (4) - 12.03.2024 15:59 [22:03:54]1206 (1) - 0 [22:03:54]OFD Sender: Remove packet 47392 [22:03:54]ProducePacketName [22:03:54]name=ofd_packets/00047392 [22:03:54]NVStorageDeleteData [22:03:54]*** Cut start [22:03:54]*** Purtial cut [22:03:54]*** Stage 1: CUTSNS_PIN = 1 [22:03:54]OFD Sender: No OFD packet to send [22:03:55]OFD Sender: No OFD packet to send [22:03:55]Read from MH i2c: 01 [22:03:55]MH_I2C_Read... [22:03:55]*** Stop cut motor [22:03:55]*** Cut end [22:03:55]Read from MH i2c: 01 07 00 [22:03:55]MH_I2C_Read... [22:03:55]Read from MH i2c: 01 07 00 8C 60 00 00 00 00 00 FF 0F 01 [22:03:55]process_action close_receipt done [22:03:55]requested_data is exist [22:03:55]produce_requested_data [22:03:55]requested_item fm.sn is exist - process it [22:03:55]wFMCommunicate request_size=4 [22:03:55]MH_SAM_APDU [22:03:55]CAPDU: 80 11 00 00 [22:03:55]Write to MH i2c: E2 08 00 8D 60 80 11 00 00 00 00 00 00 67 [22:03:55]Write i2c OK [22:03:55]MH_I2C_Read... [22:03:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:03:55]Read from MH i2c: E2 [22:03:55]MH_I2C_Read... [22:03:55]Read from MH i2c: E2 17 00 [22:03:55]MH_I2C_Read... [22:03:55]Read from MH i2c: E2 17 00 8D 60 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 B9 [22:03:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [22:03:55]wFMCommunicate OK [22:03:55]requested_item fd.num is exist - process it [22:03:55]SAM_PROTO_GetFieldsCounters [22:03:55]wFMCommunicate request_size=4 [22:03:55]MH_SAM_APDU [22:03:55]CAPDU: 80 13 00 00 [22:03:55]Write to MH i2c: E2 08 00 8E 60 80 13 00 00 00 00 00 00 6A [22:03:55]Write i2c OK [22:03:55]MH_I2C_Read... [22:03:55]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:03:55]Read from MH i2c: E2 [22:03:55]MH_I2C_Read... [22:03:55]Read from MH i2c: E2 62 00 [22:03:55]MH_I2C_Read... [22:03:55]Read from MH i2c: E2 62 00 8E 60 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 20 B9 00 00 0E 04 04 00 3A 01 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 6B [22:03: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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 20 B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 46 00 00 00 5E 04 04 00 46 00 00 00 57 04 04 00 47 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:03:55]wFMCommunicate OK [22:03:55]SAM_PROTO_GetFieldsCounters done [22:03:55]requested_item shift.num is exist - process it [22:03:55]requested_item shift.opened is exist - process it [22:03:55]req_shift_opened [22:03:55]FM_GetShiftState [22:03:55]SAM_PROTO_GetShiftState [22:03:55]wFMCommunicate request_size=4 [22:03:55]MH_SAM_APDU [22:03:55]CAPDU: 80 13 01 00 [22:03:55]Write to MH i2c: E2 08 00 8F 60 80 13 01 00 00 00 00 00 6C [22:03:55]Write i2c OK [22:03:55]MH_I2C_Read... [22:03:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:03:55]Read from MH i2c: E2 [22:03:55]MH_I2C_Read... [22:03:55]Read from MH i2c: E2 0E 00 [22:03:55]MH_I2C_Read... [22:03:55]Read from MH i2c: E2 0E 00 8F 60 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 9B [22:03:55]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [22:03:55]wFMCommunicate OK [22:03:55]SAM_PROTO_GetShiftState done [22:03:55]FM_GetShiftState done [22:03:55]req_shift_opened done [22:03:55]requested_item shift.open_date is exist - process it [22:03:55]req_shift_open_date [22:03:55]req_shift_open_date done [22:03:55]produce_requested_data done [22:03:55]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47392,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [22:03:55]process_action_free close_receipt [22:03:55]json_value_free [22:03:55]json_value_free done [22:03:55]process_json_proto returns [22:03:55]Send response to host [22:03:55]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47392,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [22:03:55]free response buf [22:03:55]execute_script done [22:03:55]execute_script returns [22:03:55]free content buf [22:03:55]Sock 7.Close socket [22:03:55]Sock 7.Thread stoped [22:04:00]OFD Sender: No OFD packet to send [22:04:05]OFD Sender: No OFD packet to send [22:04:10]OFD Sender: No OFD packet to send [22:04:15]OFD Sender: No OFD packet to send [22:04:20]OFD Sender: No OFD packet to send [22:04:21]recv_with_timeout no data received [22:04:25]OFD Sender: No OFD packet to send [22:04:30]OFD Sender: No OFD packet to send [22:04:35]OFD Sender: No OFD packet to send [22:04:40]OFD Sender: No OFD packet to send [22:04:45]OFD Sender: No OFD packet to send [22:04:50]OFD Sender: No OFD packet to send [22:04:55]OFD Sender: No OFD packet to send [22:05:00]OFD Sender: No OFD packet to send [22:05:05]OFD Sender: No OFD packet to send [22:05:10]OFD Sender: No OFD packet to send [22:05:15]OFD Sender: No OFD packet to send [22:05:20]OFD Sender: No OFD packet to send [22:05:25]OFD Sender: No OFD packet to send [22:05:30]OFD Sender: No OFD packet to send [22:05:35]OFD Sender: No OFD packet to send [22:05:40]OFD Sender: No OFD packet to send [22:05:45]OFD Sender: No OFD packet to send [22:05:50]OFD Sender: No OFD packet to send [22:05:55]OFD Sender: No OFD packet to send [22:06:00]OFD Sender: No OFD packet to send [22:06:05]OFD Sender: No OFD packet to send [22:06:10]OFD Sender: No OFD packet to send [22:06:15]OFD Sender: No OFD packet to send [22:06:20]OFD Sender: No OFD packet to send [22:06:25]OFD Sender: No OFD packet to send [22:06:30]OFD Sender: No OFD packet to send [22:06:35]OFD Sender: No OFD packet to send [22:06:40]OFD Sender: No OFD packet to send [22:06:45]OFD Sender: No OFD packet to send [22:06:50]OFD Sender: No OFD packet to send [22:06:55]OFD Sender: No OFD packet to send [22:07:00]OFD Sender: No OFD packet to send [22:07:05]OFD Sender: No OFD packet to send [22:07:10]OFD Sender: No OFD packet to send [22:07:15]OFD Sender: No OFD packet to send [22:07:20]OFD Sender: No OFD packet to send [22:07:25]OFD Sender: No OFD packet to send [22:07:30]OFD Sender: No OFD packet to send [22:07:35]OFD Sender: No OFD packet to send [22:07:40]OFD Sender: No OFD packet to send [22:07:45]OFD Sender: No OFD packet to send [22:07:50]OFD Sender: No OFD packet to send [22:07:55]OFD Sender: No OFD packet to send [22:08:00]OFD Sender: No OFD packet to send [22:08:05]OFD Sender: No OFD packet to send [22:08:10]OFD Sender: No OFD packet to send [22:08:15]OFD Sender: No OFD packet to send [22:08:20]OFD Sender: No OFD packet to send [22:08:25]OFD Sender: No OFD packet to send [22:08:30]OFD Sender: No OFD packet to send [22:08:35]OFD Sender: No OFD packet to send [22:08:40]OFD Sender: No OFD packet to send [22:08:45]OFD Sender: No OFD packet to send [22:08:50]OFD Sender: No OFD packet to send [22:08:55]OFD Sender: No OFD packet to send [22:09:00]OFD Sender: No OFD packet to send [22:09:05]OFD Sender: No OFD packet to send [22:09:10]OFD Sender: No OFD packet to send [22:09:15]OFD Sender: No OFD packet to send [22:09:20]OFD Sender: No OFD packet to send [22:09:25]OFD Sender: No OFD packet to send [22:09:30]OFD Sender: No OFD packet to send [22:09:35]OFD Sender: No OFD packet to send [22:09:40]OFD Sender: No OFD packet to send [22:09:45]OFD Sender: No OFD packet to send [22:09:50]OFD Sender: No OFD packet to send [22:09:55]OFD Sender: No OFD packet to send [22:10:00]OFD Sender: No OFD packet to send [22:10:05]OFD Sender: No OFD packet to send [22:10:10]OFD Sender: No OFD packet to send [22:10:15]OFD Sender: No OFD packet to send [22:10:20]OFD Sender: No OFD packet to send [22:10:25]OFD Sender: No OFD packet to send [22:10:30]OFD Sender: No OFD packet to send [22:10:35]OFD Sender: No OFD packet to send [22:10:40]OFD Sender: No OFD packet to send [22:10:45]OFD Sender: No OFD packet to send [22:10:50]OFD Sender: No OFD packet to send [22:10:55]OFD Sender: No OFD packet to send [22:11:00]OFD Sender: No OFD packet to send [22:11:05]OFD Sender: No OFD packet to send [22:11:10]OFD Sender: No OFD packet to send [22:27:56]ConnectInit Can't connect to host [22:28:00]OFD Sender: Processing packet 47393 [packets to send 10, broken 7] [22:28:00]ProducePacketName [22:28:00]name=ofd_packets/00047393 [22:28:00]OFD Sender: To server: pG, [22:28:00]CommunicateWithHost lk.salyk.kg:30040 [22:28:00]ConnectInit lk.salyk.kg [22:29:54]ConnectInit Can't connect to host [22:29:55]ConnectInit Can't take IP for lk.salyk.kg [22:29:55]CommunicateWithHost connect error [22:29:55]CommunicateWithHost err = -1 [22:29:55]OFD Sender: Server communicate error [22:30:00]OFD Sender: Processing packet 47393 [packets to send 10, broken 7] [22:30:00]ProducePacketName [22:30:00]name=ofd_packets/00047393 [22:30:00]OFD Sender: To server: pG, [22:30:00]CommunicateWithHost lk.salyk.kg:30040 [22:30:00]ConnectInit lk.salyk.kg [22:30:00]Connected sock=9 [22:30: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 31 36 39 01 00 00 B1 A4 31 01 1D C4 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 47 00 00 00 F4 03 04 00 E3 D5 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 21 B9 00 00 35 04 06 00 C1 09 22 EA A9 38 8B 7E D2 3B 15 1D 8C 5D [22:30: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 31 36 4F 00 00 00 CC 34 47 00 54 AE A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 21 B9 00 00 F4 03 04 00 08 82 F0 65 B6 04 01 00 00 AF DD D5 0A 15 4D F5 79 [22:30:00]CommunicateWithHost err = 0 [22:30:00]CheckOFDResponse [22:30:00]1017 (14) - 77093643461234 [22:30:00]1041 (16) - 0000000000871816 [22:30:00]1040 (4) - 47393 [22:30:00]1012 (4) - 12.03.2024 16:25 [22:30:00]1206 (1) - 0 [22:30:00]OFD Sender: Remove packet 47393 [22:30:00]ProducePacketName [22:30:00]name=ofd_packets/00047393 [22:30:00]NVStorageDeleteData [22:30:01]OFD Sender: Processing packet 47394 [packets to send 9, broken 7] [22:30:01]ProducePacketName [22:30:01]name=ofd_packets/00047394 [22:30:01]OFD Sender: To server: pG, [22:30:01]CommunicateWithHost lk.salyk.kg:30040 [22:30:01]ConnectInit lk.salyk.kg [22:30:05]Connected sock=9 [22:30: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 31 36 18 01 00 00 5B AF 10 01 64 17 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 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 48 00 00 00 F4 03 04 00 EA D5 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 22 B9 00 00 35 04 06 00 0F A1 F4 1E 4A A8 A4 FF F6 B1 14 FC 34 35 [22:30:10]recv_with_timeout no data received [22:30:10]CommunicateWithHost answer receiving error [22:30:10]CommunicateWithHost err = -3 [22:30:10]OFD Sender: Server communicate error [22:30:15]OFD Sender: Processing packet 47394 [packets to send 9, broken 7] [22:30:15]ProducePacketName [22:30:15]name=ofd_packets/00047394 [22:30:15]OFD Sender: To server: pG, [22:30:15]CommunicateWithHost lk.salyk.kg:30040 [22:30:15]ConnectInit lk.salyk.kg [22:30:28]Connected sock=9 [22:30: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 31 36 18 01 00 00 5B AF 10 01 64 17 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 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 48 00 00 00 F4 03 04 00 EA D5 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 22 B9 00 00 35 04 06 00 0F A1 F4 1E 4A A8 A4 FF F6 B1 14 FC 34 35 [22:30:33]recv_with_timeout no data received [22:30:33]CommunicateWithHost answer receiving error [22:30:33]CommunicateWithHost err = -3 [22:30:33]OFD Sender: Server communicate error [22:30:33]recv_with_timeout no data received [22:30:38]OFD Sender: Processing packet 47394 [packets to send 9, broken 7] [22:30:38]ProducePacketName [22:30:38]name=ofd_packets/00047394 [22:30:38]OFD Sender: To server: pG, [22:30:38]CommunicateWithHost lk.salyk.kg:30040 [22:30:38]ConnectInit lk.salyk.kg [22:30:43]ConnectInit Can't take IP for lk.salyk.kg [22:30:43]CommunicateWithHost connect error [22:30:43]CommunicateWithHost err = -1 [22:30:43]OFD Sender: Server communicate error [22:30:48]OFD Sender: Processing packet 47394 [packets to send 9, broken 7] [22:30:48]ProducePacketName [22:30:48]name=ofd_packets/00047394 [22:30:48]OFD Sender: To server: pG, [22:30:48]CommunicateWithHost lk.salyk.kg:30040 [22:30:48]ConnectInit lk.salyk.kg [22:30:48]Connected sock=9 [22:30: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 31 36 18 01 00 00 5B AF 10 01 64 17 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 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 48 00 00 00 F4 03 04 00 EA D5 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 22 B9 00 00 35 04 06 00 0F A1 F4 1E 4A A8 A4 FF F6 B1 14 FC 34 35 [22:30:48]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 74 B3 47 00 85 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 31 36 10 04 04 00 22 B9 00 00 F4 03 04 00 38 82 F0 65 B6 04 01 00 00 52 A0 E7 87 8B 4C BE 70 [22:30:48]CommunicateWithHost err = 0 [22:30:48]CheckOFDResponse [22:30:48]1017 (14) - 77093643461234 [22:30:48]1041 (16) - 0000000000871816 [22:30:48]1040 (4) - 47394 [22:30:48]1012 (4) - 12.03.2024 16:26 [22:30:48]1206 (1) - 0 [22:30:48]OFD Sender: Remove packet 47394 [22:30:48]ProducePacketName [22:30:48]name=ofd_packets/00047394 [22:30:48]NVStorageDeleteData [22:30:48]OFD Sender: Processing packet 47395 [packets to send 8, broken 7] [22:30:48]ProducePacketName [22:30:48]name=ofd_packets/00047395 [22:30:48]OFD Sender: To server: pG, [22:30:48]CommunicateWithHost lk.salyk.kg:30040 [22:30:48]ConnectInit lk.salyk.kg [22:30:48]Connected sock=9 [22:30: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 31 36 A9 01 00 00 7E F1 A1 01 F6 C4 5A 03 01 00 03 00 95 01 1E 04 01 00 01 23 04 7E 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 34 39 06 04 3A 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 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 52 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B9 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B6 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 08 52 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 49 00 00 00 F4 03 04 00 CD D6 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 23 B9 00 00 35 04 06 00 04 92 3E 0D 18 50 29 12 C3 74 DA C0 AE 61 [22:30: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 31 36 4F 00 00 00 F3 38 47 00 41 EC A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 31 36 10 04 04 00 23 B9 00 00 F4 03 04 00 39 82 F0 65 B6 04 01 00 00 02 FE F0 F9 CA 7D 85 AD [22:30:49]CommunicateWithHost err = 0 [22:30:49]CheckOFDResponse [22:30:49]1017 (14) - 77093643461234 [22:30:49]1041 (16) - 0000000000871816 [22:30:49]1040 (4) - 47395 [22:30:49]1012 (4) - 12.03.2024 16:26 [22:30:49]1206 (1) - 0 [22:30:49]OFD Sender: Remove packet 47395 [22:30:49]ProducePacketName [22:30:49]name=ofd_packets/00047395 [22:30:49]NVStorageDeleteData [22:30:49]OFD Sender: No OFD packet to send [22:30:54]OFD Sender: No OFD packet to send [22:30:59]OFD Sender: No OFD packet to send [22:31:04]OFD Sender: No OFD packet to send [22:31:09]OFD Sender: No OFD packet to send [22:31:14]OFD Sender: No OFD packet to send [22:31:19]OFD Sender: No OFD packet to send [22:31:24]OFD Sender: No OFD packet to send [22:31:28]recv_with_timeout no data received [22:31:29]OFD Sender: No OFD packet to send [22:31:34]OFD Sender: No OFD packet to send [22:31:39]OFD Sender: No OFD packet to send [22:31:44]OFD Sender: No OFD packet to send [22:31:49]OFD Sender: No OFD packet to send [22:31:54]OFD Sender: No OFD packet to send [22:31:59]OFD Sender: No OFD packet to send [22:32:04]OFD Sender: No OFD packet to send [22:32:09]OFD Sender: No OFD packet to send [22:32:14]OFD Sender: No OFD packet to send [22:32:19]OFD Sender: No OFD packet to send [22:32:24]OFD Sender: No OFD packet to send [22:32:29]OFD Sender: No OFD packet to send [22:32:34]OFD Sender: No OFD packet to send [22:32:39]OFD Sender: No OFD packet to send [22:32:44]OFD Sender: No OFD packet to send [22:32:49]OFD Sender: No OFD packet to send [22:32:54]OFD Sender: No OFD packet to send [22:32:59]OFD Sender: No OFD packet to send [22:33:04]OFD Sender: No OFD packet to send [22:33:09]OFD Sender: No OFD packet to send [22:33:14]OFD Sender: No OFD packet to send [22:33:18]accept exits with 7 [22:33:18]New connection [22:33:18]New thread 3066453348 created [22:33:18]Thread 3066596708 joined [22:33:18]Waiting for new connection... [22:33:18] Sock 7.Parse request [22:33:18]Sock 7.Check first char [22:33:18]Sock 7.First char is OK [22:33:18]request: POST /json_proto HTTP/1.0 [22:33:18]Method: POST [22:33:18]URL: /json_proto [22:33:18]Method is POST - this is cgi request [22:33:18]url: /json_proto [22:33:18]query_string will be loaded in cgi processing [22:33:18]execute_cgi json_proto POST (null) [22:33:18]execute_cgi path=json_proto method=POST [22:33:18]POST find Content-Length [22:33:18]Host: 172.17.32.68:8080 [22:33:18]Content-Length: 921 [22:33:18]Content-Type: application/json [22:33:18] [22:33:18]POST finish read [22:33:18]Found Content-Length = 921 [22:33:18]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242308", "tax_sys" : 0, "items" : [ { "code": "46230607", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Richmond Bronze Edition", "price" : 145.00, "quantity" : 1.000, "sum" : 145.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000032780026", "name": "\u0410\u041A\u0426\u0418\u042F \u0421\u043E\u0441\u0438\u0441\u043A\u0430 \u0432 \u0442\u0435\u0441\u0442\u0435 DC 110\u0433", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 185.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:33:18]execute_script... [22:33: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)242308", "tax_sys" : 0, "items" : [ { "code": "46230607", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Richmond Bronze Edition", "price" : 145.00, "quantity" : 1.000, "sum" : 145.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000032780026", "name": "\u0410\u041A\u0426\u0418\u042F \u0421\u043E\u0441\u0438\u0441\u043A\u0430 \u0432 \u0442\u0435\u0441\u0442\u0435 DC 110\u0433", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 185.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:33:18]POST & json_proto [22:33:18]process_json_proto [22:33:18]json parsed OK: [22:33:18]protocol is kg_v1.0 [22:33:18]action value=close_receipt [22:33:18]process_action close_receipt [22:33:18]cmd_close_receipt [22:33:18]MH_GetDate [22:33:18]Write to MH i2c: F0 00 00 73 61 C3 [22:33:18]Write i2c OK [22:33:18]MH_I2C_Read... [22:33:18]Read from MH i2c: F0 [22:33:18]MH_I2C_Read... [22:33:18]Read from MH i2c: F0 09 00 [22:33:18]MH_I2C_Read... [22:33:18]Read from MH i2c: F0 09 00 73 61 00 40 D8 F0 65 0A 64 6E 65 7A [22:33:18]GetLastDocTimeStamp 1710282445 [22:33:18]current date 1710282816 [22:33:18]FM_GetShiftState [22:33:18]SAM_PROTO_GetShiftState [22:33:18]wFMCommunicate request_size=4 [22:33:18]MH_SAM_APDU [22:33:18]CAPDU: 80 13 01 00 [22:33:18]Write to MH i2c: E2 08 00 74 61 80 13 01 00 00 00 00 00 52 [22:33:18]Write i2c OK [22:33:18]MH_I2C_Read... [22:33:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:33:18]Read from MH i2c: E2 [22:33:18]MH_I2C_Read... [22:33:18]Read from MH i2c: E2 0E 00 [22:33:18]MH_I2C_Read... [22:33:18]Read from MH i2c: E2 0E 00 74 61 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 81 [22:33:18]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [22:33:18]wFMCommunicate OK [22:33:18]SAM_PROTO_GetShiftState done [22:33:18]FM_GetShiftState done [22:33:18]opened in 1710202417 [22:33:18]opened+sec_in_day 1710288817 [22:33:18]quantity*price = 14500 [22:33:18]sum+1 = 14501 [22:33:18]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000032780026 АКЦИЯ Сосиска в тесте DC 110г 1.000 * 40.00 = 40.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 185.00 НСП 1% : 1.63 НДС 12% : 19.65 Наличными: 185.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 74 12.03.2024 22:33 Смена: 314 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47396 ФПД: 165741964434166 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T223336&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47396&fm=165741964434166&tin=02508201610067®Number=0000000000092018&sum=18500 0 [22:33:19]StoreToDocumentArchive [22:33:19]shift 314 fd 47396 [22:33:19]save to /storage/0314/doc_00047396 [22:33:19]save last doc name /storage/0314/doc_00047396 to /storage/kkm_last_doc_name [22:33:19]save OK [22:33:19]Clear old archive folders... [22:33:19]ProcessDocumentItem done err = 0, tmpTLVsize=397 [22:33:19]tlvbuf is 003624D0 [22:33:19]SAM_PROTO_ClearQueue [22:33:19]wFMCommunicate request_size=4 [22:33:19]MH_SAM_APDU [22:33:19]CAPDU: 80 09 00 00 [22:33:19]Write to MH i2c: E2 08 00 81 61 80 09 00 00 00 00 00 00 54 [22:33:19]Write i2c OK [22:33:19]MH_I2C_Read... [22:33:20]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:33:20]Read from MH i2c: E2 [22:33:20]MH_I2C_Read... [22:33:20]Read from MH i2c: E2 03 00 [22:33:20]MH_I2C_Read... [22:33:20]Read from MH i2c: E2 03 00 81 61 00 90 00 56 [22:33:20]RAPDU: 90 00 [22:33:20]wFMCommunicate OK [22:33:20]SAM_PROTO_ClearQueue done [22:33:20]KKMCreateOFDPacket [22:33:20]OFDProtocolAddRootSTLVToBuf [22:33:20]FM_MakeSignedData [22:33:20]FM_MakeSignedData [22:33:20]SAM_PROTO_SignData [22:33:20]wFMCommunicate request_size=4 [22:33:20]MH_SAM_APDU [22:33:20]CAPDU: 80 0D 01 02 [22:33:20]Write to MH i2c: E2 08 00 82 61 80 0D 01 02 00 00 00 00 5C [22:33:20]Write i2c OK [22:33:20]MH_I2C_Read... [22:33:20]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:33:20]Read from MH i2c: E2 [22:33:20]MH_I2C_Read... [22:33:20]Read from MH i2c: E2 03 00 [22:33:20]MH_I2C_Read... [22:33:20]Read from MH i2c: E2 03 00 82 61 00 90 00 57 [22:33:20]RAPDU: 90 00 [22:33:20]wFMCommunicate OK [22:33:20]wFMCommunicate request_size=255 [22:33:20]MH_SAM_APDU [22:33:20]CAPDU: 80 0D 02 02 FA 03 00 8D 01 1E 04 01 00 01 23 04 67 00 8A 04 08 00 34 36 32 33 30 36 30 37 06 04 28 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 42 72 6F 6E 7A 65 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 38 00 00 00 00 13 04 06 00 A4 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 74 00 8A 04 0D 00 32 30 30 30 30 33 32 37 38 30 30 32 36 06 04 30 00 D0 90 D0 9A D0 A6 D0 98 D0 AF 20 D0 A1 D0 BE D1 81 D0 B8 D1 81 D0 BA D0 B0 20 D0 B2 20 D1 82 D0 B5 D1 81 D1 82 D0 B5 20 44 43 20 31 31 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 44 48 00 00 00 00 EB 03 26 00 [22:33:20]Write to MH i2c: E2 02 01 83 61 80 0D 02 02 FA 00 03 00 8D 01 1E 04 01 00 01 23 04 67 00 8A 04 08 00 34 36 32 33 30 36 30 37 06 04 28 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 42 72 6F 6E 7A 65 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 38 00 00 00 00 13 04 06 00 A4 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 74 00 8A 04 0D 00 32 30 30 30 30 33 32 37 38 30 30 32 36 06 04 30 00 D0 90 D0 9A D0 A6 D0 98 D0 AF 20 D0 A1 D0 BE D1 81 D0 B8 D1 81 D0 BA D0 B0 20 D0 B2 20 D1 82 D0 B5 D1 81 D1 82 D0 B5 20 44 43 20 31 31 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 44 48 00 00 00 00 EB 03 26 00 00 00 34 [22:33:20]Write i2c OK [22:33:20]MH_I2C_Read... [22:33:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:33:20]Read from MH i2c: E2 [22:33:20]MH_I2C_Read... [22:33:20]Read from MH i2c: E2 03 00 [22:33:20]MH_I2C_Read... [22:33:20]Read from MH i2c: E2 03 00 83 61 00 90 00 58 [22:33:20]RAPDU: 90 00 [22:33:20]wFMCommunicate OK [22:33:20]wFMCommunicate request_size=156 [22:33:20]MH_SAM_APDU [22:33:20]CAPDU: 80 0D 02 02 97 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AD 07 00 00 00 00 07 04 06 00 44 48 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 40 D8 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 24 B9 00 00 35 04 06 00 96 BD CE EA 1A F6 [22:33:20]Write to MH i2c: E2 9F 00 84 61 80 0D 02 02 97 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AD 07 00 00 00 00 07 04 06 00 44 48 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 40 D8 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 24 B9 00 00 35 04 06 00 96 BD CE EA 1A F6 00 00 7D [22:33:20]Write i2c OK [22:33:20]MH_I2C_Read... [22:33:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:33:20]Read from MH i2c: E2 [22:33:20]MH_I2C_Read... [22:33:20]Read from MH i2c: E2 03 00 [22:33:20]MH_I2C_Read... [22:33:20]Read from MH i2c: E2 03 00 84 61 00 90 00 59 [22:33:20]RAPDU: 90 00 [22:33:20]wFMCommunicate OK [22:33:20]wFMCommunicate request_size=4 [22:33:20]MH_SAM_APDU [22:33:20]CAPDU: 80 0D 03 02 [22:33:20]Write to MH i2c: E2 08 00 85 61 80 0D 03 02 00 00 00 00 61 [22:33:20]Write i2c OK [22:33:20]MH_I2C_Read... [22:33:20]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:33:20]Read from MH i2c: E2 [22:33:20]MH_I2C_Read... [22:33:20]Read from MH i2c: E2 0B 00 [22:33:20]MH_I2C_Read... [22:33:20]Read from MH i2c: E2 0B 00 85 61 00 68 C8 5F 63 1F CD A2 0B 90 00 ED [22:33:20]RAPDU: 68 C8 5F 63 1F CD A2 0B 90 00 [22:33:20]wFMCommunicate OK [22:33:20]SAM_PROTO_SignData done [22:33:20]FM_MakeSignedData done [22:33:20]CreateOFDProtocolMessage [22:33:20]wFMCommunicate request_size=4 [22:33:20]MH_SAM_APDU [22:33:20]CAPDU: 80 11 00 00 [22:33:20]Write to MH i2c: E2 08 00 86 61 80 11 00 00 00 00 00 00 61 [22:33:20]Write i2c OK [22:33:20]MH_I2C_Read... [22:33:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:33:20]Read from MH i2c: E2 [22:33:20]MH_I2C_Read... [22:33:20]Read from MH i2c: E2 17 00 [22:33:20]MH_I2C_Read... [22:33:20]Read from MH i2c: E2 17 00 86 61 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 B3 [22:33:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [22:33:20]wFMCommunicate OK [22:33:20]CreateOFDProtocolMessage done [22:33:20]OFDSenderStorePacket 47396 [22:33:20]StoreOFDPacket docnum=47396 [22:33:20]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 A1 01 00 00 9F 24 99 01 7E B3 5A 03 01 00 03 00 8D 01 1E 04 01 00 01 23 04 67 00 8A 04 08 00 34 36 32 33 30 36 30 37 06 04 28 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 42 72 6F 6E 7A 65 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 38 00 00 00 00 13 04 06 00 A4 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 74 00 8A 04 0D 00 32 30 30 30 30 33 32 37 38 30 30 32 36 06 04 30 00 D0 90 D0 9A D0 A6 D0 98 D0 AF 20 D0 A1 D0 BE D1 81 D0 B8 D1 81 D0 BA D0 B0 20 D0 B2 20 D1 82 D0 B5 D1 81 D1 82 D0 B5 20 44 43 20 31 31 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 44 48 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AD 07 00 00 00 00 07 04 06 00 44 48 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 40 D8 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 24 B9 00 00 35 04 06 00 96 BD CE EA 1A F6 68 C8 5F 63 1F CD A2 0B [22:33:20]CheckFolder [22:33:20]dirname=/storage/ofd_packets [22:33:20]CheckFolder done [22:33:20]ProducePacketName [22:33:20]name=ofd_packets/00047396 [22:33:20]NVStorageSaveData ofd_packets/00047396 [22:33:20]File name is /storage/ofd_packets/00047396 [22:33:20]Write 447 bytes [22:33:20]NVStorageSaveData done [22:33:20]OFDSenderStorePacket done [22:33:20]KKMCreateOFDPacket done [22:33:20]NVStorageSaveData kkm_last_timestamp [22:33:20]File name is /storage/kkm_last_timestamp [22:33:20]Write 4 bytes [22:33:20]NVStorageSaveData done [22:33:20]ExternCall_PrintAddStr [22:33:20]wPrintStart [22:33:20]Write to MH i2c: 01 00 00 87 61 E8 [22:33:20]Write i2c OK [22:33:20]MH_I2C_Read... [22:33:20]Read from MH i2c: 01 [22:33:20]MH_I2C_Read... [22:33:20]OFD Sender: Processing packet 47396 [packets to send 8, broken 7] [22:33:20]ProducePacketName [22:33:20]name=ofd_packets/00047396 [22:33:20]OFD Sender: To server: pG, [22:33:20]CommunicateWithHost lk.salyk.kg:30040 [22:33:20]ConnectInit lk.salyk.kg [22:33:20]Read from MH i2c: 01 07 00 [22:33:20]MH_I2C_Read... [22:33:20]Read from MH i2c: 01 07 00 87 61 00 00 00 00 00 FF 0F FD [22:33:20]RasterBufferAndPrint [22:33:20]line Счет N : (3)242308 [22:33:20]line ИНН: 02508201610067 [22:33:20]line Контрольно-Кассовый Чек [22:33:20]line ПРОДАЖА [22:33:20]line Товар: 46230607 [22:33:20]line Сигареты Richmond Bronze Edition [22:33:20]line 1.000 * 145.00 [22:33:20]line = 145.00 [22:33:20]line НДС 12% НСП 1% [22:33:20]line > о реализуемом товаре [22:33:20]line Товар: 2000032780026 [22:33:20]line АКЦИЯ Сосиска в тесте DC 110г [22:33:20]line 1.000 * 40.00 [22:33:20]line = 40.00 [22:33:20]line НДС 12% НСП 1% [22:33:20]line > о реализуемом товаре [22:33:20]line ИТОГО: 185.00 [22:33:20]line НСП 1% : 1.63 [22:33:20]line НДС 12% : 19.65 [22:33:20]line Наличными: 185.00 [22:33:20]line Безнал.: 0.00 [22:33:20]line Место: АЗС № 15 "Партнер Нефть" [22:33:20]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [22:33:20]line СНО: Общий режим [22:33:20]line Чек 74 12.03.2024 22:33 [22:33:20]line Смена: 314 ФФД: 1.0 [22:33:20]line ЗНМ: 0300000097 [22:33:20]line РНМ: 0000000000092018 [22:33:20]line Версия ККМ: 001 [22:33:20]line ФМ: 0000000000871816 [22:33:20]line ФД: 47396 [22:33:20]line ФПД: 165741964434166 [22:33:20]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T223336&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47396&fm=165741964434166&tin=02508201610067®Number=0000000000092018&sum=18500 [22:33:20]line 0 [22:33:20]written 0, free lines is 4095 [22:33:21]Connected sock=10 [22:33: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 31 36 A1 01 00 00 9F 24 99 01 7E B3 5A 03 01 00 03 00 8D 01 1E 04 01 00 01 23 04 67 00 8A 04 08 00 34 36 32 33 30 36 30 37 06 04 28 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 42 72 6F 6E 7A 65 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 38 00 00 00 00 13 04 06 00 A4 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 74 00 8A 04 0D 00 32 30 30 30 30 33 32 37 38 30 30 32 36 06 04 30 00 D0 90 D0 9A D0 A6 D0 98 D0 AF 20 D0 A1 D0 BE D1 81 D0 B8 D1 81 D0 BA D0 B0 20 D0 B2 20 D1 82 D0 B5 D1 81 D1 82 D0 B5 20 44 43 20 31 31 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 44 48 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AD 07 00 00 00 00 07 04 06 00 44 48 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 40 D8 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 24 B9 00 00 35 04 06 00 96 BD CE EA 1A F6 68 C8 5F 63 1F CD A2 0B [22:33:21]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 1F E7 47 00 5A 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 31 36 10 04 04 00 24 B9 00 00 F4 03 04 00 D1 82 F0 65 B6 04 01 00 00 02 A9 AA 45 AC D4 E3 50 [22:33:21]CommunicateWithHost err = 0 [22:33:21]CheckOFDResponse [22:33:21]1017 (14) - 77093643461234 [22:33:21]1041 (16) - 0000000000871816 [22:33:21]1040 (4) - 47396 [22:33:21]1012 (4) - 12.03.2024 16:29 [22:33:21]1206 (1) - 0 [22:33:21]OFD Sender: Remove packet 47396 [22:33:21]ProducePacketName [22:33:21]name=ofd_packets/00047396 [22:33:21]NVStorageDeleteData [22:33:21]Write to MH i2c: 01 00 00 B7 61 18 [22:33:21]Write i2c OK [22:33:21]MH_I2C_Read... [22:33:21]Read from MH i2c: 01 [22:33:21]MH_I2C_Read... [22:33:21]Read from MH i2c: 01 07 00 [22:33:21]MH_I2C_Read... [22:33:21]Read from MH i2c: 01 07 00 B7 61 00 00 00 00 00 53 0C 7E [22:33:21]RasterBufferAndPrint [22:33:21]line [22:33:21]line [22:33:21]line [22:33:21]line [22:33:21]line [22:33:21]written 0, free lines is 3164 [22:33:21]MH_Cut [22:33:21]Write to MH i2c: D1 01 00 BE 61 01 F1 [22:33:21]Write i2c OK [22:33:21]MH_I2C_Read... [22:33:21]Read from MH i2c: D1 [22:33:21]MH_I2C_Read... [22:33:21]Read from MH i2c: D1 01 00 [22:33:21]MH_I2C_Read... [22:33:21]Read from MH i2c: D1 01 00 BE 61 00 F0 [22:33:21]Write to MH i2c: 01 00 00 BF 61 20 [22:33:21]Write i2c OK [22:33:21]MH_I2C_Read... [22:33:21]OFD Sender: No OFD packet to send [22:33:22]*** Cut start [22:33:22]*** Purtial cut [22:33:22]*** Stage 1: CUTSNS_PIN = 1 [22:33:22]Read from MH i2c: 01 [22:33:22]MH_I2C_Read... [22:33:22]*** Stop cut motor [22:33:22]*** Cut end [22:33:22]Read from MH i2c: 01 07 00 [22:33:22]MH_I2C_Read... [22:33:22]Read from MH i2c: 01 07 00 BF 61 00 00 00 00 00 FF 0F 35 [22:33:22]process_action close_receipt done [22:33:22]requested_data is exist [22:33:22]produce_requested_data [22:33:22]requested_item fm.sn is exist - process it [22:33:22]wFMCommunicate request_size=4 [22:33:22]MH_SAM_APDU [22:33:22]CAPDU: 80 11 00 00 [22:33:22]Write to MH i2c: E2 08 00 C0 61 80 11 00 00 00 00 00 00 9B [22:33:22]Write i2c OK [22:33:22]MH_I2C_Read... [22:33:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:33:22]Read from MH i2c: E2 [22:33:22]MH_I2C_Read... [22:33:22]Read from MH i2c: E2 17 00 [22:33:22]MH_I2C_Read... [22:33:22]Read from MH i2c: E2 17 00 C0 61 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 ED [22:33:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [22:33:22]wFMCommunicate OK [22:33:22]requested_item fd.num is exist - process it [22:33:22]SAM_PROTO_GetFieldsCounters [22:33:22]wFMCommunicate request_size=4 [22:33:22]MH_SAM_APDU [22:33:22]CAPDU: 80 13 00 00 [22:33:22]Write to MH i2c: E2 08 00 C1 61 80 13 00 00 00 00 00 00 9E [22:33:22]Write i2c OK [22:33:22]MH_I2C_Read... [22:33:22]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:33:22]Read from MH i2c: E2 [22:33:22]MH_I2C_Read... [22:33:22]Read from MH i2c: E2 62 00 [22:33:22]MH_I2C_Read... [22:33:22]Read from MH i2c: E2 62 00 C1 61 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 24 B9 00 00 0E 04 04 00 3A 01 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 AF [22:33: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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 24 B9 00 00 0E 04 04 00 3A 01 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:33:22]wFMCommunicate OK [22:33:22]SAM_PROTO_GetFieldsCounters done [22:33:22]requested_item shift.num is exist - process it [22:33:22]requested_item shift.opened is exist - process it [22:33:22]req_shift_opened [22:33:22]FM_GetShiftState [22:33:22]SAM_PROTO_GetShiftState [22:33:22]wFMCommunicate request_size=4 [22:33:22]MH_SAM_APDU [22:33:22]CAPDU: 80 13 01 00 [22:33:22]Write to MH i2c: E2 08 00 C2 61 80 13 01 00 00 00 00 00 A0 [22:33:22]Write i2c OK [22:33:22]MH_I2C_Read... [22:33:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:33:22]Read from MH i2c: E2 [22:33:22]MH_I2C_Read... [22:33:22]Read from MH i2c: E2 0E 00 [22:33:22]MH_I2C_Read... [22:33:22]Read from MH i2c: E2 0E 00 C2 61 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 CF [22:33:22]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [22:33:22]wFMCommunicate OK [22:33:22]SAM_PROTO_GetShiftState done [22:33:22]FM_GetShiftState done [22:33:22]req_shift_opened done [22:33:22]requested_item shift.open_date is exist - process it [22:33:22]req_shift_open_date [22:33:22]req_shift_open_date done [22:33:22]produce_requested_data done [22:33:22]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47396,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [22:33:22]process_action_free close_receipt [22:33:22]json_value_free [22:33:22]json_value_free done [22:33:22]process_json_proto returns [22:33:22]Send response to host [22:33:22]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47396,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [22:33:22]free response buf [22:33:22]execute_script done [22:33:22]execute_script returns [22:33:22]free content buf [22:33:22]Sock 7.Close socket [22:33:22]Sock 7.Thread stoped [22:33:26]OFD Sender: No OFD packet to send [22:33:31]OFD Sender: No OFD packet to send [22:33:36]OFD Sender: No OFD packet to send [22:33:41]OFD Sender: No OFD packet to send [22:33:46]OFD Sender: No OFD packet to send [22:33:51]OFD Sender: No OFD packet to send [22:33:56]OFD Sender: No OFD packet to send [22:34:01]OFD Sender: No OFD packet to send [22:34:06]OFD Sender: No OFD packet to send [22:34:11]OFD Sender: No OFD packet to send [22:34:16]OFD Sender: No OFD packet to send [22:34:21]OFD Sender: No OFD packet to send [22:34:26]OFD Sender: No OFD packet to send [22:34:31]OFD Sender: No OFD packet to send [22:34:36]OFD Sender: No OFD packet to send [22:34:41]OFD Sender: No OFD packet to send [22:34:46]OFD Sender: No OFD packet to send [22:34:51]OFD Sender: No OFD packet to send [22:34:56]OFD Sender: No OFD packet to send [22:35:01]OFD Sender: No OFD packet to send [22:35:06]OFD Sender: No OFD packet to send [22:35:11]OFD Sender: No OFD packet to send [22:35:16]OFD Sender: No OFD packet to send [22:35:21]OFD Sender: No OFD packet to send [22:35:26]OFD Sender: No OFD packet to send [22:35:31]OFD Sender: No OFD packet to send [22:35:36]OFD Sender: No OFD packet to send [22:35:41]OFD Sender: No OFD packet to send [22:35:46]OFD Sender: No OFD packet to send [22:35:51]OFD Sender: No OFD packet to send [22:35:56]OFD Sender: No OFD packet to send [22:35:59]accept exits with 9 [22:35:59]New connection [22:35:59]New thread 3066596708 created [22:35:59]Thread 3066453348 joined [22:35:59]Waiting for new connection... [22:35:59] Sock 9.Parse request [22:35:59]Sock 9.Check first char [22:35:59]Sock 9.First char is OK [22:35:59]request: POST /json_proto HTTP/1.0 [22:35:59]Method: POST [22:35:59]URL: /json_proto [22:35:59]Method is POST - this is cgi request [22:35:59]url: /json_proto [22:35:59]query_string will be loaded in cgi processing [22:35:59]execute_cgi json_proto POST (null) [22:35:59]execute_cgi path=json_proto method=POST [22:35:59]POST find Content-Length [22:35:59]Host: 172.17.32.68:8080 [22:35:59]Content-Length: 822 [22:35:59]Content-Type: application/json [22:35:59] [22:35:59]POST finish read [22:35:59]Found Content-Length = 822 [22:35:59]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242309", "tax_sys" : 0, "items" : [ { "code": "48745031", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Superslims Expand Blue", "price" : 135.00, "quantity" : 1.000, "sum" : 135.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: \u0414\u0435\u043C\u0438\u0440 \u041A\u0418 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:35:59]execute_script... [22:35: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)242309", "tax_sys" : 0, "items" : [ { "code": "48745031", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Superslims Expand Blue", "price" : 135.00, "quantity" : 1.000, "sum" : 135.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: \u0414\u0435\u043C\u0438\u0440 \u041A\u0418 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:35:59]POST & json_proto [22:35:59]process_json_proto [22:35:59]json parsed OK: [22:35:59]protocol is kg_v1.0 [22:35:59]action value=close_receipt [22:35:59]process_action close_receipt [22:35:59]cmd_close_receipt [22:35:59]MH_GetDate [22:35:59]Write to MH i2c: F0 00 00 C3 61 13 [22:35:59]Write i2c OK [22:35:59]MH_I2C_Read... [22:35:59]Read from MH i2c: F0 [22:35:59]MH_I2C_Read... [22:35:59]Read from MH i2c: F0 09 00 [22:35:59]MH_I2C_Read... [22:35:59]Read from MH i2c: F0 09 00 C3 61 00 E1 D8 F0 65 0A 64 6E 65 6B [22:35:59]GetLastDocTimeStamp 1710282816 [22:35:59]current date 1710282977 [22:35:59]FM_GetShiftState [22:35:59]SAM_PROTO_GetShiftState [22:35:59]wFMCommunicate request_size=4 [22:35:59]MH_SAM_APDU [22:35:59]CAPDU: 80 13 01 00 [22:35:59]Write to MH i2c: E2 08 00 C4 61 80 13 01 00 00 00 00 00 A2 [22:35:59]Write i2c OK [22:35:59]MH_I2C_Read... [22:35:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:35:59]Read from MH i2c: E2 [22:35:59]MH_I2C_Read... [22:35:59]Read from MH i2c: E2 0E 00 [22:35:59]MH_I2C_Read... [22:35:59]Read from MH i2c: E2 0E 00 C4 61 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 D1 [22:35:59]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [22:35:59]wFMCommunicate OK [22:35:59]SAM_PROTO_GetShiftState done [22:35:59]FM_GetShiftState done [22:35:59]opened in 1710202417 [22:35:59]opened+sec_in_day 1710288817 [22:35:59]quantity*price = 13500 [22:35:59]sum+1 = 13501 [22:35:59]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 135.00 НСП 1% : 1.19 НДС 12% : 14.34 Наличными: 0.00 Безнал.: 135.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 75 12.03.2024 22:36 Смена: 314 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 Платежная система: Демир КИ Банк ФМ: 0000000000871816 ФД: 47397 ФПД: 53393510937713 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T223617&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47397&fm=53393510937713&tin=02508201610067®Number=0000000000092018&sum=13500 0 [22:36:00]StoreToDocumentArchive [22:36:00]shift 314 fd 47397 [22:36:00]save to /storage/0314/doc_00047397 [22:36:00]save last doc name /storage/0314/doc_00047397 to /storage/kkm_last_doc_name [22:36:00]save OK [22:36:00]Clear old archive folders... [22:36:00]ProcessDocumentItem done err = 0, tmpTLVsize=284 [22:36:00]tlvbuf is 003B7330 [22:36:00]SAM_PROTO_ClearQueue [22:36:00]wFMCommunicate request_size=4 [22:36:00]MH_SAM_APDU [22:36:00]CAPDU: 80 09 00 00 [22:36:00]Write to MH i2c: E2 08 00 D1 61 80 09 00 00 00 00 00 00 A4 [22:36:00]Write i2c OK [22:36:00]MH_I2C_Read... [22:36:00]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:36:00]Read from MH i2c: E2 [22:36:00]MH_I2C_Read... [22:36:00]Read from MH i2c: E2 03 00 [22:36:00]MH_I2C_Read... [22:36:00]Read from MH i2c: E2 03 00 D1 61 00 90 00 A6 [22:36:00]RAPDU: 90 00 [22:36:00]wFMCommunicate OK [22:36:00]SAM_PROTO_ClearQueue done [22:36:00]KKMCreateOFDPacket [22:36:00]OFDProtocolAddRootSTLVToBuf [22:36:00]FM_MakeSignedData [22:36:00]FM_MakeSignedData [22:36:00]SAM_PROTO_SignData [22:36:00]wFMCommunicate request_size=4 [22:36:00]MH_SAM_APDU [22:36:00]CAPDU: 80 0D 01 02 [22:36:00]Write to MH i2c: E2 08 00 D2 61 80 0D 01 02 00 00 00 00 AC [22:36:00]Write i2c OK [22:36:00]MH_I2C_Read... [22:36:00]Read from MH i2c: E2 [22:36:00]MH_I2C_Read... [22:36:00]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:36:00]Read from MH i2c: E2 03 00 [22:36:00]MH_I2C_Read... [22:36:00]Read from MH i2c: E2 03 00 D2 61 00 90 00 A7 [22:36:00]RAPDU: 90 00 [22:36:00]wFMCommunicate OK [22:36:00]wFMCommunicate request_size=255 [22:36:00]MH_SAM_APDU [22:36:00]CAPDU: 80 0D 02 02 FA 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 08 00 34 38 37 34 35 30 33 31 06 04 2F 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 73 6C 69 6D 73 20 45 78 70 61 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 BC 34 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4B 00 00 00 F4 03 04 00 E1 D8 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 [22:36:00]Write to MH i2c: E2 02 01 D3 61 80 0D 02 02 FA 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 08 00 34 38 37 34 35 30 33 31 06 04 2F 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 73 6C 69 6D 73 20 45 78 70 61 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 BC 34 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4B 00 00 00 F4 03 04 00 E1 D8 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 00 00 12 [22:36:00]Write i2c OK [22:36:00]MH_I2C_Read... [22:36:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:36:01]Read from MH i2c: E2 [22:36:01]MH_I2C_Read... [22:36:01]Read from MH i2c: E2 03 00 [22:36:01]MH_I2C_Read... [22:36:01]Read from MH i2c: E2 03 00 D3 61 00 90 00 A8 [22:36:01]RAPDU: 90 00 [22:36:01]wFMCommunicate OK [22:36:01]wFMCommunicate request_size=43 [22:36:01]MH_SAM_APDU [22:36:01]CAPDU: 80 0D 02 02 26 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 25 B9 00 00 35 04 06 00 30 8F A5 40 B4 71 [22:36:01]Write to MH i2c: E2 2E 00 D4 61 80 0D 02 02 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 25 B9 00 00 35 04 06 00 30 8F A5 40 B4 71 00 00 3D [22:36:01]Write i2c OK [22:36:01]MH_I2C_Read... [22:36:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:36:01]Read from MH i2c: E2 [22:36:01]MH_I2C_Read... [22:36:01]Read from MH i2c: E2 03 00 [22:36:01]MH_I2C_Read... [22:36:01]Read from MH i2c: E2 03 00 D4 61 00 90 00 A9 [22:36:01]RAPDU: 90 00 [22:36:01]wFMCommunicate OK [22:36:01]wFMCommunicate request_size=4 [22:36:01]MH_SAM_APDU [22:36:01]CAPDU: 80 0D 03 02 [22:36:01]Write to MH i2c: E2 08 00 D5 61 80 0D 03 02 00 00 00 00 B1 [22:36:01]Write i2c OK [22:36:01]MH_I2C_Read... [22:36:01]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:36:01]Read from MH i2c: E2 [22:36:01]MH_I2C_Read... [22:36:01]Read from MH i2c: E2 0B 00 [22:36:01]MH_I2C_Read... [22:36:01]Read from MH i2c: E2 0B 00 D5 61 00 42 6B 04 31 C0 77 5B 8D 90 00 B3 [22:36:01]RAPDU: 42 6B 04 31 C0 77 5B 8D 90 00 [22:36:01]wFMCommunicate OK [22:36:01]SAM_PROTO_SignData done [22:36:01]FM_MakeSignedData done [22:36:01]CreateOFDProtocolMessage [22:36:01]wFMCommunicate request_size=4 [22:36:01]MH_SAM_APDU [22:36:01]CAPDU: 80 11 00 00 [22:36:01]Write to MH i2c: E2 08 00 D6 61 80 11 00 00 00 00 00 00 B1 [22:36:01]Write i2c OK [22:36:01]MH_I2C_Read... [22:36:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:36:01]Read from MH i2c: E2 [22:36:01]MH_I2C_Read... [22:36:01]Read from MH i2c: E2 17 00 [22:36:01]MH_I2C_Read... [22:36:01]Read from MH i2c: E2 17 00 D6 61 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 03 [22:36:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [22:36:01]wFMCommunicate OK [22:36:01]CreateOFDProtocolMessage done [22:36:01]OFDSenderStorePacket 47397 [22:36:01]StoreOFDPacket docnum=47397 [22:36:01]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 30 01 00 00 40 7E 28 01 95 D9 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 08 00 34 38 37 34 35 30 33 31 06 04 2F 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 73 6C 69 6D 73 20 45 78 70 61 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 BC 34 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4B 00 00 00 F4 03 04 00 E1 D8 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 25 B9 00 00 35 04 06 00 30 8F A5 40 B4 71 42 6B 04 31 C0 77 5B 8D [22:36:01]CheckFolder [22:36:01]dirname=/storage/ofd_packets [22:36:01]CheckFolder done [22:36:01]ProducePacketName [22:36:01]name=ofd_packets/00047397 [22:36:01]NVStorageSaveData ofd_packets/00047397 [22:36:01]File name is /storage/ofd_packets/00047397 [22:36:01]Write 334 bytes [22:36:01]NVStorageSaveData done [22:36:01]OFDSenderStorePacket done [22:36:01]KKMCreateOFDPacket done [22:36:01]NVStorageSaveData kkm_last_timestamp [22:36:01]File name is /storage/kkm_last_timestamp [22:36:01]Write 4 bytes [22:36:01]NVStorageSaveData done [22:36:01]ExternCall_PrintAddStr [22:36:01]wPrintStart [22:36:01]Write to MH i2c: 01 00 00 D7 61 38 [22:36:01]Write i2c OK [22:36:01]MH_I2C_Read... [22:36:01]Read from MH i2c: 01 [22:36:01]MH_I2C_Read... [22:36:01]Read from MH i2c: 01 07 00 [22:36:01]MH_I2C_Read... [22:36:01]Read from MH i2c: 01 07 00 D7 61 00 00 00 00 00 FF 0F 4D [22:36:01]RasterBufferAndPrint [22:36:01]line Счет N : (3)242309 [22:36:01]line ИНН: 02508201610067 [22:36:01]line Контрольно-Кассовый Чек [22:36:01]line ПРОДАЖА [22:36:01]line Товар: 48745031 [22:36:01]line Сигареты Winston Superslims Expand Blue [22:36:01]line 1.000 * 135.00 [22:36:01]line = 135.00 [22:36:01]line НДС 12% НСП 1% [22:36:01]line > о реализуемом товаре [22:36:01]line ИТОГО: 135.00 [22:36:01]line НСП 1% : 1.19 [22:36:01]line НДС 12% : 14.34 [22:36:01]line Наличными: 0.00 [22:36:01]line Безнал.: 135.00 [22:36:01]line Место: АЗС № 15 "Партнер Нефть" [22:36:01]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [22:36:01]line СНО: Общий режим [22:36:01]line Чек 75 12.03.2024 22:36 [22:36:01]line Смена: 314 ФФД: 1.0 [22:36:01]line ЗНМ: 0300000097 [22:36:01]line РНМ: 0000000000092018 [22:36:01]line Версия ККМ: 001 [22:36:01]line Платежная система: Демир КИ Банк [22:36:01]line ФМ: 0000000000871816 [22:36:01]line ФД: 47397 [22:36:01]line ФПД: 53393510937713 [22:36:01]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T223617&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47397&fm=53393510937713&tin=02508201610067®Number=0000000000092018&sum=13500 [22:36:01]line 0 [22:36:01]OFD Sender: Processing packet 47397 [packets to send 8, broken 7] [22:36:01]ProducePacketName [22:36:01]name=ofd_packets/00047397 [22:36:01]OFD Sender: To server: pG, [22:36:01]CommunicateWithHost lk.salyk.kg:30040 [22:36:01]ConnectInit lk.salyk.kg [22:36:01]written 0, free lines is 4095 [22:36:01]Connected sock=10 [22:36:01]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 31 36 30 01 00 00 40 7E 28 01 95 D9 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 08 00 34 38 37 34 35 30 33 31 06 04 2F 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 73 6C 69 6D 73 20 45 78 70 61 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 BC 34 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4B 00 00 00 F4 03 04 00 E1 D8 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 25 B9 00 00 35 04 06 00 30 8F A5 40 B4 71 42 6B 04 31 C0 77 5B 8D [22:36: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 31 36 4F 00 00 00 CF 38 47 00 C8 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 31 36 10 04 04 00 25 B9 00 00 F4 03 04 00 72 83 F0 65 B6 04 01 00 00 32 43 B7 A1 A9 B7 A2 62 [22:36:02]CommunicateWithHost err = 0 [22:36:02]CheckOFDResponse [22:36:02]1017 (14) - 77093643461234 [22:36:02]1041 (16) - 0000000000871816 [22:36:02]1040 (4) - 47397 [22:36:02]1012 (4) - 12.03.2024 16:31 [22:36:02]1206 (1) - 0 [22:36:02]OFD Sender: Remove packet 47397 [22:36:02]ProducePacketName [22:36:02]name=ofd_packets/00047397 [22:36:02]NVStorageDeleteData [22:36:02]Write to MH i2c: 01 00 00 02 62 64 [22:36:02]Write i2c OK [22:36:02]MH_I2C_Read... [22:36:02]Read from MH i2c: 01 [22:36:02]MH_I2C_Read... [22:36:02]Read from MH i2c: 01 07 00 [22:36:02]MH_I2C_Read... [22:36:02]Read from MH i2c: 01 07 00 02 62 00 00 00 00 00 C5 0C 3C [22:36:02]RasterBufferAndPrint [22:36:02]line [22:36:02]line [22:36:02]line [22:36:02]line [22:36:02]line [22:36:02]written 0, free lines is 3275 [22:36:02]MH_Cut [22:36:02]Write to MH i2c: D1 01 00 09 62 01 3D [22:36:02]Write i2c OK [22:36:02]MH_I2C_Read... [22:36:02]Read from MH i2c: D1 [22:36:02]MH_I2C_Read... [22:36:02]Read from MH i2c: D1 01 00 [22:36:02]MH_I2C_Read... [22:36:02]Read from MH i2c: D1 01 00 09 62 00 3C [22:36:02]Write to MH i2c: 01 00 00 0A 62 6C [22:36:02]Write i2c OK [22:36:02]MH_I2C_Read... [22:36:02]OFD Sender: No OFD packet to send [22:36:02]*** Cut start [22:36:02]*** Purtial cut [22:36:02]*** Stage 1: CUTSNS_PIN = 1 [22:36:03]Read from MH i2c: 01 [22:36:03]MH_I2C_Read... [22:36:03]*** Stop cut motor [22:36:03]*** Cut end [22:36:03]Read from MH i2c: 01 07 00 [22:36:03]MH_I2C_Read... [22:36:03]Read from MH i2c: 01 07 00 0A 62 00 00 00 00 00 FF 0F 81 [22:36:03]process_action close_receipt done [22:36:03]requested_data is exist [22:36:03]produce_requested_data [22:36:03]requested_item fm.sn is exist - process it [22:36:03]wFMCommunicate request_size=4 [22:36:03]MH_SAM_APDU [22:36:03]CAPDU: 80 11 00 00 [22:36:03]Write to MH i2c: E2 08 00 0B 62 80 11 00 00 00 00 00 00 E7 [22:36:03]Write i2c OK [22:36:03]MH_I2C_Read... [22:36:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:36:03]Read from MH i2c: E2 [22:36:03]MH_I2C_Read... [22:36:03]Read from MH i2c: E2 17 00 [22:36:03]MH_I2C_Read... [22:36:03]Read from MH i2c: E2 17 00 0B 62 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 39 [22:36:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [22:36:03]wFMCommunicate OK [22:36:03]requested_item fd.num is exist - process it [22:36:03]SAM_PROTO_GetFieldsCounters [22:36:03]wFMCommunicate request_size=4 [22:36:03]MH_SAM_APDU [22:36:03]CAPDU: 80 13 00 00 [22:36:03]Write to MH i2c: E2 08 00 0C 62 80 13 00 00 00 00 00 00 EA [22:36:03]Write i2c OK [22:36:03]MH_I2C_Read... [22:36:03]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:36:03]Read from MH i2c: E2 [22:36:03]MH_I2C_Read... [22:36:03]Read from MH i2c: E2 62 00 [22:36:03]MH_I2C_Read... [22:36:03]Read from MH i2c: E2 62 00 0C 62 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 25 B9 00 00 0E 04 04 00 3A 01 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 FF [22:36:03]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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 25 B9 00 00 0E 04 04 00 3A 01 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:36:03]wFMCommunicate OK [22:36:03]SAM_PROTO_GetFieldsCounters done [22:36:03]requested_item shift.num is exist - process it [22:36:03]requested_item shift.opened is exist - process it [22:36:03]req_shift_opened [22:36:03]FM_GetShiftState [22:36:03]SAM_PROTO_GetShiftState [22:36:03]wFMCommunicate request_size=4 [22:36:03]MH_SAM_APDU [22:36:03]CAPDU: 80 13 01 00 [22:36:03]Write to MH i2c: E2 08 00 0D 62 80 13 01 00 00 00 00 00 EC [22:36:03]Write i2c OK [22:36:03]MH_I2C_Read... [22:36:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:36:03]Read from MH i2c: E2 [22:36:03]MH_I2C_Read... [22:36:03]Read from MH i2c: E2 0E 00 [22:36:03]MH_I2C_Read... [22:36:03]Read from MH i2c: E2 0E 00 0D 62 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 1B [22:36:03]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [22:36:03]wFMCommunicate OK [22:36:03]SAM_PROTO_GetShiftState done [22:36:03]FM_GetShiftState done [22:36:03]req_shift_opened done [22:36:03]requested_item shift.open_date is exist - process it [22:36:03]req_shift_open_date [22:36:03]req_shift_open_date done [22:36:03]produce_requested_data done [22:36:03]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47397,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [22:36:03]process_action_free close_receipt [22:36:03]json_value_free [22:36:03]json_value_free done [22:36:03]process_json_proto returns [22:36:03]Send response to host [22:36:03]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47397,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [22:36:03]free response buf [22:36:03]execute_script done [22:36:03]execute_script returns [22:36:03]free content buf [22:36:03]Sock 9.Close socket [22:36:03]Sock 9.Thread stoped [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:56]accept exits with 7 [22:36:56]New connection [22:36:56]New thread 3066453348 created [22:36:56]Thread 3066596708 joined [22:36:56]Waiting for new connection... [22:36:56] Sock 7.Parse request [22:36:56]Sock 7.Check first char [22:36:56]Sock 7.First char is OK [22:36:56]request: POST /json_proto HTTP/1.0 [22:36:56]Method: POST [22:36:56]URL: /json_proto [22:36:56]Method is POST - this is cgi request [22:36:56]url: /json_proto [22:36:56]query_string will be loaded in cgi processing [22:36:56]execute_cgi json_proto POST (null) [22:36:56]execute_cgi path=json_proto method=POST [22:36:56]POST find Content-Length [22:36:56]Host: 172.17.32.68:8080 [22:36:56]Content-Length: 852 [22:36:56]Content-Type: application/json [22:36:56] [22:36:56]POST finish read [22:36:56]Found Content-Length = 852 [22:36:56]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242310", "tax_sys" : 0, "items" : [ { "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 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0414\u0435\u043C\u0438\u0440 \u041A\u0418 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 54.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:36:56]execute_script... [22:36: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)242310", "tax_sys" : 0, "items" : [ { "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 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0414\u0435\u043C\u0438\u0440 \u041A\u0418 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 54.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:36:56]POST & json_proto [22:36:56]process_json_proto [22:36:56]json parsed OK: [22:36:56]protocol is kg_v1.0 [22:36:56]action value=close_receipt [22:36:56]process_action close_receipt [22:36:56]cmd_close_receipt [22:36:56]MH_GetDate [22:36:56]Write to MH i2c: F0 00 00 0E 62 5F [22:36:56]Write i2c OK [22:36:56]MH_I2C_Read... [22:36:56]Read from MH i2c: F0 [22:36:56]MH_I2C_Read... [22:36:56]Read from MH i2c: F0 09 00 [22:36:56]MH_I2C_Read... [22:36:56]Read from MH i2c: F0 09 00 0E 62 00 1A D9 F0 65 0A 64 6E 65 F1 [22:36:56]GetLastDocTimeStamp 1710282977 [22:36:56]current date 1710283034 [22:36:56]FM_GetShiftState [22:36:56]SAM_PROTO_GetShiftState [22:36:56]wFMCommunicate request_size=4 [22:36:56]MH_SAM_APDU [22:36:56]CAPDU: 80 13 01 00 [22:36:56]Write to MH i2c: E2 08 00 0F 62 80 13 01 00 00 00 00 00 EE [22:36:56]Write i2c OK [22:36:56]MH_I2C_Read... [22:36:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:36:56]Read from MH i2c: E2 [22:36:56]MH_I2C_Read... [22:36:56]Read from MH i2c: E2 0E 00 [22:36:56]MH_I2C_Read... [22:36:56]Read from MH i2c: E2 0E 00 0F 62 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 1D [22:36:56]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [22:36:56]wFMCommunicate OK [22:36:56]SAM_PROTO_GetShiftState done [22:36:56]FM_GetShiftState done [22:36:56]opened in 1710202417 [22:36:56]opened+sec_in_day 1710288817 [22:36:56]quantity*price = 5400 [22:36:56]sum+1 = 5401 [22:36:56]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 54.00 НСП 1% : 0.48 НДС 12% : 5.73 Наличными: 0.00 Безнал.: 54.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 76 12.03.2024 22:37 Смена: 314 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 Платежная система: Демир КИ Банк ФМ: 0000000000871816 ФД: 47398 ФПД: 173969805116530 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T223714&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47398&fm=173969805116530&tin=02508201610067®Number=0000000000092018&sum=5400 0 [22:36:57]StoreToDocumentArchive [22:36:57]shift 314 fd 47398 [22:36:57]save to /storage/0314/doc_00047398 [22:36:57]save last doc name /storage/0314/doc_00047398 to /storage/kkm_last_doc_name [22:36:57]save OK [22:36:57]Clear old archive folders... [22:36:57]ProcessDocumentItem done err = 0, tmpTLVsize=281 [22:36:57]tlvbuf is 003B6E10 [22:36:57]SAM_PROTO_ClearQueue [22:36:57]wFMCommunicate request_size=4 [22:36:57]MH_SAM_APDU [22:36:57]CAPDU: 80 09 00 00 [22:36:57]Write to MH i2c: E2 08 00 1C 62 80 09 00 00 00 00 00 00 F0 [22:36:57]Write i2c OK [22:36:57]MH_I2C_Read... [22:36:57]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:36:57]Read from MH i2c: E2 [22:36:57]MH_I2C_Read... [22:36:57]Read from MH i2c: E2 03 00 [22:36:57]MH_I2C_Read... [22:36:57]Read from MH i2c: E2 03 00 1C 62 00 90 00 F2 [22:36:57]RAPDU: 90 00 [22:36:57]wFMCommunicate OK [22:36:57]SAM_PROTO_ClearQueue done [22:36:57]KKMCreateOFDPacket [22:36:57]OFDProtocolAddRootSTLVToBuf [22:36:57]FM_MakeSignedData [22:36:57]FM_MakeSignedData [22:36:57]SAM_PROTO_SignData [22:36:57]wFMCommunicate request_size=4 [22:36:57]MH_SAM_APDU [22:36:57]CAPDU: 80 0D 01 02 [22:36:57]Write to MH i2c: E2 08 00 1D 62 80 0D 01 02 00 00 00 00 F8 [22:36:57]Write i2c OK [22:36:57]MH_I2C_Read... [22:36:57]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:36:57]Read from MH i2c: E2 [22:36:57]MH_I2C_Read... [22:36:57]Read from MH i2c: E2 03 00 [22:36:57]MH_I2C_Read... [22:36:57]Read from MH i2c: E2 03 00 1D 62 00 90 00 F3 [22:36:57]RAPDU: 90 00 [22:36:57]wFMCommunicate OK [22:36:57]wFMCommunicate request_size=255 [22:36:57]MH_SAM_APDU [22:36:57]CAPDU: 80 0D 02 02 FA 03 00 19 01 1E 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 18 15 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3D 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 18 15 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4C 00 00 00 F4 03 04 00 1A D9 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 [22:36:57]Write to MH i2c: E2 02 01 1E 62 80 0D 02 02 FA 00 03 00 19 01 1E 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 18 15 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3D 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 18 15 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4C 00 00 00 F4 03 04 00 1A D9 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 00 DC [22:36:57]Write i2c OK [22:36:57]MH_I2C_Read... [22:36:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:36:58]Read from MH i2c: E2 [22:36:58]MH_I2C_Read... [22:36:58]Read from MH i2c: E2 03 00 [22:36:58]MH_I2C_Read... [22:36:58]Read from MH i2c: E2 03 00 1E 62 00 90 00 F4 [22:36:58]RAPDU: 90 00 [22:36:58]wFMCommunicate OK [22:36:58]wFMCommunicate request_size=40 [22:36:58]MH_SAM_APDU [22:36:58]CAPDU: 80 0D 02 02 23 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 26 B9 00 00 35 04 06 00 9E 39 80 6F 84 72 [22:36:58]Write to MH i2c: E2 2B 00 1F 62 80 0D 02 02 23 00 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 26 B9 00 00 35 04 06 00 9E 39 80 6F 84 72 00 00 52 [22:36:58]Write i2c OK [22:36:58]MH_I2C_Read... [22:36:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:36:58]Read from MH i2c: E2 [22:36:58]MH_I2C_Read... [22:36:58]Read from MH i2c: E2 03 00 [22:36:58]MH_I2C_Read... [22:36:58]Read from MH i2c: E2 03 00 1F 62 00 90 00 F5 [22:36:58]RAPDU: 90 00 [22:36:58]wFMCommunicate OK [22:36:58]wFMCommunicate request_size=4 [22:36:58]MH_SAM_APDU [22:36:58]CAPDU: 80 0D 03 02 [22:36:58]Write to MH i2c: E2 08 00 20 62 80 0D 03 02 00 00 00 00 FD [22:36:58]Write i2c OK [22:36:58]MH_I2C_Read... [22:36:58]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:36:58]Read from MH i2c: E2 [22:36:58]MH_I2C_Read... [22:36:58]Read from MH i2c: E2 0B 00 [22:36:58]MH_I2C_Read... [22:36:58]Read from MH i2c: E2 0B 00 20 62 00 CD DF C8 8A 46 97 20 08 90 00 01 [22:36:58]RAPDU: CD DF C8 8A 46 97 20 08 90 00 [22:36:58]wFMCommunicate OK [22:36:58]SAM_PROTO_SignData done [22:36:58]FM_MakeSignedData done [22:36:58]CreateOFDProtocolMessage [22:36:58]wFMCommunicate request_size=4 [22:36:58]MH_SAM_APDU [22:36:58]CAPDU: 80 11 00 00 [22:36:58]Write to MH i2c: E2 08 00 21 62 80 11 00 00 00 00 00 00 FD [22:36:58]Write i2c OK [22:36:58]MH_I2C_Read... [22:36:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:36:58]Read from MH i2c: E2 [22:36:58]MH_I2C_Read... [22:36:58]Read from MH i2c: E2 17 00 [22:36:58]MH_I2C_Read... [22:36:58]Read from MH i2c: E2 17 00 21 62 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 4F [22:36:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [22:36:58]wFMCommunicate OK [22:36:58]CreateOFDProtocolMessage done [22:36:58]OFDSenderStorePacket 47398 [22:36:58]StoreOFDPacket docnum=47398 [22:36:58]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 2D 01 00 00 4D FB 25 01 52 B9 5A 03 01 00 03 00 19 01 1E 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 18 15 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3D 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 18 15 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4C 00 00 00 F4 03 04 00 1A D9 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 26 B9 00 00 35 04 06 00 9E 39 80 6F 84 72 CD DF C8 8A 46 97 20 08 [22:36:58]CheckFolder [22:36:58]dirname=/storage/ofd_packets [22:36:58]CheckFolder done [22:36:58]ProducePacketName [22:36:58]name=ofd_packets/00047398 [22:36:58]NVStorageSaveData ofd_packets/00047398 [22:36:58]File name is /storage/ofd_packets/00047398 [22:36:58]Write 331 bytes [22:36:58]NVStorageSaveData done [22:36:58]OFDSenderStorePacket done [22:36:58]KKMCreateOFDPacket done [22:36:58]NVStorageSaveData kkm_last_timestamp [22:36:58]File name is /storage/kkm_last_timestamp [22:36:58]Write 4 bytes [22:36:58]NVStorageSaveData done [22:36:58]ExternCall_PrintAddStr [22:36:58]wPrintStart [22:36:58]Write to MH i2c: 01 00 00 22 62 84 [22:36:58]Write i2c OK [22:36:58]MH_I2C_Read... [22:36:58]Read from MH i2c: 01 [22:36:58]MH_I2C_Read... [22:36:58]Read from MH i2c: 01 07 00 [22:36:58]MH_I2C_Read... [22:36:58]Read from MH i2c: 01 07 00 22 62 00 00 00 00 00 FF 0F 99 [22:36:58]RasterBufferAndPrint [22:36:58]line Счет N : (3)242310 [22:36:58]line ИНН: 02508201610067 [22:36:58]line Контрольно-Кассовый Чек [22:36:58]line ПРОДАЖА [22:36:58]line Товар: 4011100977952 [22:36:58]line Шок Батончик Твикс 55г [22:36:58]line 1.000 * 54.00 [22:36:58]line = 54.00 [22:36:58]line НДС 12% НСП 1% [22:36:58]line > о реализуемом товаре [22:36:58]line ИТОГО: 54.00 [22:36:58]line НСП 1% : 0.48 [22:36:58]line НДС 12% : 5.73 [22:36:58]line Наличными: 0.00 [22:36:58]line Безнал.: 54.00 [22:36:58]line Место: АЗС № 15 "Партнер Нефть" [22:36:58]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [22:36:58]line СНО: Общий режим [22:36:58]line Чек 76 12.03.2024 22:37 [22:36:58]line Смена: 314 ФФД: 1.0 [22:36:58]line ЗНМ: 0300000097 [22:36:58]line РНМ: 0000000000092018 [22:36:58]line Версия ККМ: 001 [22:36:58]line Платежная система: Демир КИ Банк [22:36:58]line ФМ: 0000000000871816 [22:36:58]line ФД: 47398 [22:36:58]line ФПД: 173969805116530 [22:36:58]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T223714&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47398&fm=173969805116530&tin=02508201610067®Number=0000000000092018&sum=5400 [22:36:58]line 0 [22:36:58]OFD Sender: Processing packet 47398 [packets to send 8, broken 7] [22:36:58]ProducePacketName [22:36:58]name=ofd_packets/00047398 [22:36:58]OFD Sender: To server: pG, [22:36:58]CommunicateWithHost lk.salyk.kg:30040 [22:36:58]ConnectInit lk.salyk.kg [22:36:58]written 0, free lines is 4095 [22:36:58]Connected sock=10 [22:36: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 31 36 2D 01 00 00 4D FB 25 01 52 B9 5A 03 01 00 03 00 19 01 1E 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 18 15 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3D 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 18 15 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4C 00 00 00 F4 03 04 00 1A D9 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 26 B9 00 00 35 04 06 00 9E 39 80 6F 84 72 CD DF C8 8A 46 97 20 08 [22:36: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 31 36 4F 00 00 00 02 D1 47 00 F8 B1 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 31 36 10 04 04 00 26 B9 00 00 F4 03 04 00 AB 83 F0 65 B6 04 01 00 00 63 0F C6 C3 15 3B FC 48 [22:36:58]CommunicateWithHost err = 0 [22:36:58]CheckOFDResponse [22:36:58]1017 (14) - 77093643461234 [22:36:58]1041 (16) - 0000000000871816 [22:36:58]1040 (4) - 47398 [22:36:58]1012 (4) - 12.03.2024 16:32 [22:36:58]1206 (1) - 0 [22:36:58]OFD Sender: Remove packet 47398 [22:36:58]ProducePacketName [22:36:58]name=ofd_packets/00047398 [22:36:58]NVStorageDeleteData [22:36:59]Write to MH i2c: 01 00 00 4C 62 AE [22:36:59]Write i2c OK [22:36:59]MH_I2C_Read... [22:36:59]Read from MH i2c: 01 [22:36:59]MH_I2C_Read... [22:36:59]Read from MH i2c: 01 07 00 [22:36:59]MH_I2C_Read... [22:36:59]Read from MH i2c: 01 07 00 4C 62 00 00 00 00 00 E7 0C A8 [22:36:59]RasterBufferAndPrint [22:36:59]line [22:36:59]line [22:36:59]line [22:36:59]line [22:36:59]line [22:36:59]written 0, free lines is 3309 [22:36:59]MH_Cut [22:36:59]Write to MH i2c: D1 01 00 53 62 01 87 [22:36:59]Write i2c OK [22:36:59]MH_I2C_Read... [22:36:59]Read from MH i2c: D1 [22:36:59]MH_I2C_Read... [22:36:59]Read from MH i2c: D1 01 00 [22:36:59]MH_I2C_Read... [22:36:59]Read from MH i2c: D1 01 00 53 62 00 86 [22:36:59]Write to MH i2c: 01 00 00 54 62 B6 [22:36:59]Write i2c OK [22:36:59]MH_I2C_Read... [22:36:59]OFD Sender: No OFD packet to send [22:36:59]*** Cut start [22:36:59]*** Purtial cut [22:36:59]*** Stage 1: CUTSNS_PIN = 1 [22:37:00]Read from MH i2c: 01 [22:37:00]MH_I2C_Read... [22:37:00]*** Stop cut motor [22:37:00]*** Cut end [22:37:00]Read from MH i2c: 01 07 00 [22:37:00]MH_I2C_Read... [22:37:00]Read from MH i2c: 01 07 00 54 62 00 00 00 00 00 FF 0F CB [22:37:00]process_action close_receipt done [22:37:00]requested_data is exist [22:37:00]produce_requested_data [22:37:00]requested_item fm.sn is exist - process it [22:37:00]wFMCommunicate request_size=4 [22:37:00]MH_SAM_APDU [22:37:00]CAPDU: 80 11 00 00 [22:37:00]Write to MH i2c: E2 08 00 55 62 80 11 00 00 00 00 00 00 31 [22:37:00]Write i2c OK [22:37:00]MH_I2C_Read... [22:37:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:37:00]Read from MH i2c: E2 [22:37:00]MH_I2C_Read... [22:37:00]Read from MH i2c: E2 17 00 [22:37:00]MH_I2C_Read... [22:37:00]Read from MH i2c: E2 17 00 55 62 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 83 [22:37:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [22:37:00]wFMCommunicate OK [22:37:00]requested_item fd.num is exist - process it [22:37:00]SAM_PROTO_GetFieldsCounters [22:37:00]wFMCommunicate request_size=4 [22:37:00]MH_SAM_APDU [22:37:00]CAPDU: 80 13 00 00 [22:37:00]Write to MH i2c: E2 08 00 56 62 80 13 00 00 00 00 00 00 34 [22:37:00]Write i2c OK [22:37:00]MH_I2C_Read... [22:37:00]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:37:00]Read from MH i2c: E2 [22:37:00]MH_I2C_Read... [22:37:00]Read from MH i2c: E2 62 00 [22:37:00]MH_I2C_Read... [22:37:00]Read from MH i2c: E2 62 00 56 62 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 26 B9 00 00 0E 04 04 00 3A 01 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 4D [22:37: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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 26 B9 00 00 0E 04 04 00 3A 01 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 [22:37:00]wFMCommunicate OK [22:37:00]SAM_PROTO_GetFieldsCounters done [22:37:00]requested_item shift.num is exist - process it [22:37:00]requested_item shift.opened is exist - process it [22:37:00]req_shift_opened [22:37:00]FM_GetShiftState [22:37:00]SAM_PROTO_GetShiftState [22:37:00]wFMCommunicate request_size=4 [22:37:00]MH_SAM_APDU [22:37:00]CAPDU: 80 13 01 00 [22:37:00]Write to MH i2c: E2 08 00 57 62 80 13 01 00 00 00 00 00 36 [22:37:00]Write i2c OK [22:37:00]MH_I2C_Read... [22:37:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:37:00]Read from MH i2c: E2 [22:37:00]MH_I2C_Read... [22:37:00]Read from MH i2c: E2 0E 00 [22:37:00]MH_I2C_Read... [22:37:00]Read from MH i2c: E2 0E 00 57 62 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 65 [22:37:00]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [22:37:00]wFMCommunicate OK [22:37:00]SAM_PROTO_GetShiftState done [22:37:00]FM_GetShiftState done [22:37:00]req_shift_opened done [22:37:00]requested_item shift.open_date is exist - process it [22:37:00]req_shift_open_date [22:37:00]req_shift_open_date done [22:37:00]produce_requested_data done [22:37:00]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47398,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [22:37:00]process_action_free close_receipt [22:37:00]json_value_free [22:37:00]json_value_free done [22:37:00]process_json_proto returns [22:37:00]Send response to host [22:37:00]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47398,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [22:37:00]free response buf [22:37:00]execute_script done [22:37:00]execute_script returns [22:37:00]free content buf [22:37:00]Sock 7.Close socket [22:37:00]Sock 7.Thread stoped [22:37:04]OFD Sender: No OFD packet to send [22:37:09]OFD Sender: No OFD packet to send [22:37:14]OFD Sender: No OFD packet to send [22:37:19]OFD Sender: No OFD packet to send [22:37:24]OFD Sender: No OFD packet to send [22:37:29]OFD Sender: No OFD packet to send [22:37:34]OFD Sender: No OFD packet to send [22:37:39]OFD Sender: No OFD packet to send [22:37:43]accept exits with 9 [22:37:43]New connection [22:37:43]New thread 3066596708 created [22:37:43]Thread 3066453348 joined [22:37:43]Waiting for new connection... [22:37:43] Sock 9.Parse request [22:37:43]Sock 9.Check first char [22:37:43]Sock 9.First char is OK [22:37:43]request: POST /json_proto HTTP/1.0 [22:37:43]Method: POST [22:37:43]URL: /json_proto [22:37:43]Method is POST - this is cgi request [22:37:43]url: /json_proto [22:37:43]query_string will be loaded in cgi processing [22:37:43]execute_cgi json_proto POST (null) [22:37:43]execute_cgi path=json_proto method=POST [22:37:43]POST find Content-Length [22:37:43]Host: 172.17.32.68:8080 [22:37:43]Content-Length: 614 [22:37:43]Content-Type: application/json [22:37:43] [22:37:43]POST finish read [22:37:43]Found Content-Length = 614 [22:37:43]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242311", "tax_sys" : 0, "items" : [ { "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:37:43]execute_script... [22:37: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)242311", "tax_sys" : 0, "items" : [ { "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:37:43]POST & json_proto [22:37:43]process_json_proto [22:37:43]json parsed OK: [22:37:43]protocol is kg_v1.0 [22:37:43]action value=close_receipt [22:37:43]process_action close_receipt [22:37:43]cmd_close_receipt [22:37:43]MH_GetDate [22:37:43]Write to MH i2c: F0 00 00 58 62 A9 [22:37:43]Write i2c OK [22:37:43]MH_I2C_Read... [22:37:43]Read from MH i2c: F0 [22:37:43]MH_I2C_Read... [22:37:43]Read from MH i2c: F0 09 00 [22:37:43]MH_I2C_Read... [22:37:43]Read from MH i2c: F0 09 00 58 62 00 49 D9 F0 65 0A 64 6E 65 6A [22:37:43]GetLastDocTimeStamp 1710283034 [22:37:43]current date 1710283081 [22:37:43]FM_GetShiftState [22:37:43]SAM_PROTO_GetShiftState [22:37:43]wFMCommunicate request_size=4 [22:37:43]MH_SAM_APDU [22:37:43]CAPDU: 80 13 01 00 [22:37:43]Write to MH i2c: E2 08 00 59 62 80 13 01 00 00 00 00 00 38 [22:37:43]Write i2c OK [22:37:43]MH_I2C_Read... [22:37:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:37:43]Read from MH i2c: E2 [22:37:43]MH_I2C_Read... [22:37:43]Read from MH i2c: E2 0E 00 [22:37:43]MH_I2C_Read... [22:37:43]Read from MH i2c: E2 0E 00 59 62 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 67 [22:37:43]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [22:37:43]wFMCommunicate OK [22:37:43]SAM_PROTO_GetShiftState done [22:37:43]FM_GetShiftState done [22:37:43]opened in 1710202417 [22:37:43]opened+sec_in_day 1710288817 [22:37:43]quantity*price = 13000 [22:37:43]sum+1 = 13001 [22:37:43]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 130.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 77 12.03.2024 22:38 Смена: 314 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47399 ФПД: 229638925162019 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T223801&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47399&fm=229638925162019&tin=02508201610067®Number=0000000000092018&sum=13000 0 [22:37:44]StoreToDocumentArchive [22:37:44]shift 314 fd 47399 [22:37:44]save to /storage/0314/doc_00047399 [22:37:44]save last doc name /storage/0314/doc_00047399 to /storage/kkm_last_doc_name [22:37:44]save OK [22:37:44]Clear old archive folders... [22:37:44]ProcessDocumentItem done err = 0, tmpTLVsize=266 [22:37:44]tlvbuf is 0042A0F0 [22:37:44]SAM_PROTO_ClearQueue [22:37:44]wFMCommunicate request_size=4 [22:37:44]MH_SAM_APDU [22:37:44]CAPDU: 80 09 00 00 [22:37:44]Write to MH i2c: E2 08 00 66 62 80 09 00 00 00 00 00 00 3A [22:37:44]Write i2c OK [22:37:44]MH_I2C_Read... [22:37:44]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:37:44]Read from MH i2c: E2 [22:37:44]MH_I2C_Read... [22:37:44]Read from MH i2c: E2 03 00 [22:37:44]MH_I2C_Read... [22:37:44]Read from MH i2c: E2 03 00 66 62 00 90 00 3C [22:37:44]RAPDU: 90 00 [22:37:44]wFMCommunicate OK [22:37:44]SAM_PROTO_ClearQueue done [22:37:44]KKMCreateOFDPacket [22:37:44]OFDProtocolAddRootSTLVToBuf [22:37:44]FM_MakeSignedData [22:37:44]FM_MakeSignedData [22:37:44]SAM_PROTO_SignData [22:37:44]wFMCommunicate request_size=4 [22:37:44]MH_SAM_APDU [22:37:44]CAPDU: 80 0D 01 02 [22:37:44]Write to MH i2c: E2 08 00 67 62 80 0D 01 02 00 00 00 00 42 [22:37:44]Write i2c OK [22:37:44]MH_I2C_Read... [22:37:44]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:37:44]Read from MH i2c: E2 [22:37:44]MH_I2C_Read... [22:37:44]Read from MH i2c: E2 03 00 [22:37:44]MH_I2C_Read... [22:37:44]Read from MH i2c: E2 03 00 67 62 00 90 00 3D [22:37:44]RAPDU: 90 00 [22:37:44]wFMCommunicate OK [22:37:44]wFMCommunicate request_size=255 [22:37:44]MH_SAM_APDU [22:37:44]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 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 4D 00 00 00 F4 03 04 00 49 D9 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 [22:37:44]Write to MH i2c: E2 02 01 68 62 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 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 4D 00 00 00 F4 03 04 00 49 D9 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 00 00 FA [22:37:44]Write i2c OK [22:37:44]MH_I2C_Read... [22:37:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:37:45]Read from MH i2c: E2 [22:37:45]MH_I2C_Read... [22:37:45]Read from MH i2c: E2 03 00 [22:37:45]MH_I2C_Read... [22:37:45]Read from MH i2c: E2 03 00 68 62 00 90 00 3E [22:37:45]RAPDU: 90 00 [22:37:45]wFMCommunicate OK [22:37:45]wFMCommunicate request_size=25 [22:37:45]MH_SAM_APDU [22:37:45]CAPDU: 80 0D 02 02 14 31 36 10 04 04 00 27 B9 00 00 35 04 06 00 D0 DA FA 8F 96 23 [22:37:45]Write to MH i2c: E2 1C 00 69 62 80 0D 02 02 14 00 31 36 10 04 04 00 27 B9 00 00 35 04 06 00 D0 DA FA 8F 96 23 00 00 F7 [22:37:45]Write i2c OK [22:37:45]MH_I2C_Read... [22:37:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:37:45]Read from MH i2c: E2 [22:37:45]MH_I2C_Read... [22:37:45]Read from MH i2c: E2 03 00 [22:37:45]MH_I2C_Read... [22:37:45]Read from MH i2c: E2 03 00 69 62 00 90 00 3F [22:37:45]RAPDU: 90 00 [22:37:45]wFMCommunicate OK [22:37:45]wFMCommunicate request_size=4 [22:37:45]MH_SAM_APDU [22:37:45]CAPDU: 80 0D 03 02 [22:37:45]Write to MH i2c: E2 08 00 6A 62 80 0D 03 02 00 00 00 00 47 [22:37:45]Write i2c OK [22:37:45]MH_I2C_Read... [22:37:45]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:37:45]Read from MH i2c: E2 [22:37:45]MH_I2C_Read... [22:37:45]Read from MH i2c: E2 0B 00 [22:37:45]MH_I2C_Read... [22:37:45]Read from MH i2c: E2 0B 00 6A 62 00 A6 A9 BC A3 76 F5 35 C0 90 00 56 [22:37:45]RAPDU: A6 A9 BC A3 76 F5 35 C0 90 00 [22:37:45]wFMCommunicate OK [22:37:45]SAM_PROTO_SignData done [22:37:45]FM_MakeSignedData done [22:37:45]CreateOFDProtocolMessage [22:37:45]wFMCommunicate request_size=4 [22:37:45]MH_SAM_APDU [22:37:45]CAPDU: 80 11 00 00 [22:37:45]Write to MH i2c: E2 08 00 6B 62 80 11 00 00 00 00 00 00 47 [22:37:45]Write i2c OK [22:37:45]MH_I2C_Read... [22:37:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:37:45]Read from MH i2c: E2 [22:37:45]MH_I2C_Read... [22:37:45]Read from MH i2c: E2 17 00 [22:37:45]MH_I2C_Read... [22:37:45]Read from MH i2c: E2 17 00 6B 62 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 99 [22:37:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [22:37:45]wFMCommunicate OK [22:37:45]CreateOFDProtocolMessage done [22:37:45]OFDSenderStorePacket 47399 [22:37:45]StoreOFDPacket docnum=47399 [22:37:45]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 1E 01 00 00 2E BC 16 01 8F 4B 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 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 4D 00 00 00 F4 03 04 00 49 D9 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 27 B9 00 00 35 04 06 00 D0 DA FA 8F 96 23 A6 A9 BC A3 76 F5 35 C0 [22:37:45]CheckFolder [22:37:45]dirname=/storage/ofd_packets [22:37:45]CheckFolder done [22:37:45]ProducePacketName [22:37:45]name=ofd_packets/00047399 [22:37:45]NVStorageSaveData ofd_packets/00047399 [22:37:45]File name is /storage/ofd_packets/00047399 [22:37:45]Write 316 bytes [22:37:45]NVStorageSaveData done [22:37:45]OFDSenderStorePacket done [22:37:45]KKMCreateOFDPacket done [22:37:45]NVStorageSaveData kkm_last_timestamp [22:37:45]File name is /storage/kkm_last_timestamp [22:37:45]Write 4 bytes [22:37:45]NVStorageSaveData done [22:37:45]ExternCall_PrintAddStr [22:37:45]wPrintStart [22:37:45]Write to MH i2c: 01 00 00 6C 62 CE [22:37:45]Write i2c OK [22:37:45]MH_I2C_Read... [22:37:45]Read from MH i2c: 01 [22:37:45]MH_I2C_Read... [22:37:45]Read from MH i2c: 01 07 00 [22:37:45]MH_I2C_Read... [22:37:45]Read from MH i2c: 01 07 00 6C 62 00 00 00 00 00 FF 0F E3 [22:37:45]RasterBufferAndPrint [22:37:45]line Счет N : (3)242311 [22:37:45]line ИНН: 02508201610067 [22:37:45]line Контрольно-Кассовый Чек [22:37:45]line ПРОДАЖА [22:37:45]line Товар: 4870001570071 [22:37:45]line Напиток Pepsi 1л [22:37:45]line 1.000 * 130.00 [22:37:45]line = 130.00 [22:37:45]line НДС 12% НСП 1% [22:37:45]line > о реализуемом товаре [22:37:45]line ИТОГО: 130.00 [22:37:45]line НСП 1% : 1.15 [22:37:45]line НДС 12% : 13.80 [22:37:45]line Наличными: 130.00 [22:37:45]line Безнал.: 0.00 [22:37:45]line Место: АЗС № 15 "Партнер Нефть" [22:37:45]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [22:37:45]line СНО: Общий режим [22:37:45]line Чек 77 12.03.2024 22:38 [22:37:45]line Смена: 314 ФФД: 1.0 [22:37:45]line ЗНМ: 0300000097 [22:37:45]line РНМ: 0000000000092018 [22:37:45]line Версия ККМ: 001 [22:37:45]line ФМ: 0000000000871816 [22:37:45]line ФД: 47399 [22:37:45]line ФПД: 229638925162019 [22:37:45]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T223801&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47399&fm=229638925162019&tin=02508201610067®Number=0000000000092018&sum=13000 [22:37:45]line 0 [22:37:45]OFD Sender: Processing packet 47399 [packets to send 8, broken 7] [22:37:45]ProducePacketName [22:37:45]name=ofd_packets/00047399 [22:37:45]OFD Sender: To server: pG, [22:37:45]CommunicateWithHost lk.salyk.kg:30040 [22:37:45]ConnectInit lk.salyk.kg [22:37:45]written 0, free lines is 4095 [22:37:45]Connected sock=10 [22:37:45]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 31 36 1E 01 00 00 2E BC 16 01 8F 4B 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 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 4D 00 00 00 F4 03 04 00 49 D9 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 27 B9 00 00 35 04 06 00 D0 DA FA 8F 96 23 A6 A9 BC A3 76 F5 35 C0 [22:37: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 31 36 4F 00 00 00 0A DC 47 00 AE 17 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 27 B9 00 00 F4 03 04 00 DA 83 F0 65 B6 04 01 00 00 45 33 14 81 04 D8 6B 78 [22:37:45]CommunicateWithHost err = 0 [22:37:45]CheckOFDResponse [22:37:45]1017 (14) - 77093643461234 [22:37:45]1041 (16) - 0000000000871816 [22:37:45]1040 (4) - 47399 [22:37:45]1012 (4) - 12.03.2024 16:33 [22:37:45]1206 (1) - 0 [22:37:45]OFD Sender: Remove packet 47399 [22:37:45]ProducePacketName [22:37:45]name=ofd_packets/00047399 [22:37:45]NVStorageDeleteData [22:37:46]Write to MH i2c: 01 00 00 94 62 F6 [22:37:46]Write i2c OK [22:37:46]MH_I2C_Read... [22:37:46]Read from MH i2c: 01 [22:37:46]MH_I2C_Read... [22:37:46]Read from MH i2c: 01 07 00 [22:37:46]MH_I2C_Read... [22:37:46]Read from MH i2c: 01 07 00 94 62 00 00 00 00 00 16 0D 20 [22:37:46]RasterBufferAndPrint [22:37:46]line [22:37:46]line [22:37:46]line [22:37:46]line [22:37:46]line [22:37:46]written 0, free lines is 3360 [22:37:46]MH_Cut [22:37:46]Write to MH i2c: D1 01 00 9B 62 01 CF [22:37:46]Write i2c OK [22:37:46]MH_I2C_Read... [22:37:46]Read from MH i2c: D1 [22:37:46]MH_I2C_Read... [22:37:46]Read from MH i2c: D1 01 00 [22:37:46]MH_I2C_Read... [22:37:46]Read from MH i2c: D1 01 00 9B 62 00 CE [22:37:46]Write to MH i2c: 01 00 00 9C 62 FE [22:37:46]Write i2c OK [22:37:46]MH_I2C_Read... [22:37:46]OFD Sender: No OFD packet to send [22:37:46]*** Cut start [22:37:46]*** Purtial cut [22:37:46]*** Stage 1: CUTSNS_PIN = 1 [22:37:47]Read from MH i2c: 01 [22:37:47]MH_I2C_Read... [22:37:47]*** Stop cut motor [22:37:47]*** Cut end [22:37:47]Read from MH i2c: 01 07 00 [22:37:47]MH_I2C_Read... [22:37:47]Read from MH i2c: 01 07 00 9C 62 00 00 00 00 00 FF 0F 13 [22:37:47]process_action close_receipt done [22:37:47]requested_data is exist [22:37:47]produce_requested_data [22:37:47]requested_item fm.sn is exist - process it [22:37:47]wFMCommunicate request_size=4 [22:37:47]MH_SAM_APDU [22:37:47]CAPDU: 80 11 00 00 [22:37:47]Write to MH i2c: E2 08 00 9D 62 80 11 00 00 00 00 00 00 79 [22:37:47]Write i2c OK [22:37:47]MH_I2C_Read... [22:37:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:37:47]Read from MH i2c: E2 [22:37:47]MH_I2C_Read... [22:37:47]Read from MH i2c: E2 17 00 [22:37:47]MH_I2C_Read... [22:37:47]Read from MH i2c: E2 17 00 9D 62 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 CB [22:37:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [22:37:47]wFMCommunicate OK [22:37:47]requested_item fd.num is exist - process it [22:37:47]SAM_PROTO_GetFieldsCounters [22:37:47]wFMCommunicate request_size=4 [22:37:47]MH_SAM_APDU [22:37:47]CAPDU: 80 13 00 00 [22:37:47]Write to MH i2c: E2 08 00 9E 62 80 13 00 00 00 00 00 00 7C [22:37:47]Write i2c OK [22:37:47]MH_I2C_Read... [22:37:47]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:37:47]Read from MH i2c: E2 [22:37:47]MH_I2C_Read... [22:37:47]Read from MH i2c: E2 62 00 [22:37:47]MH_I2C_Read... [22:37:47]Read from MH i2c: E2 62 00 9E 62 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 27 B9 00 00 0E 04 04 00 3A 01 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 99 [22:37: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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 27 B9 00 00 0E 04 04 00 3A 01 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 [22:37:47]wFMCommunicate OK [22:37:47]SAM_PROTO_GetFieldsCounters done [22:37:47]requested_item shift.num is exist - process it [22:37:47]requested_item shift.opened is exist - process it [22:37:47]req_shift_opened [22:37:47]FM_GetShiftState [22:37:47]SAM_PROTO_GetShiftState [22:37:47]wFMCommunicate request_size=4 [22:37:47]MH_SAM_APDU [22:37:47]CAPDU: 80 13 01 00 [22:37:47]Write to MH i2c: E2 08 00 9F 62 80 13 01 00 00 00 00 00 7E [22:37:47]Write i2c OK [22:37:47]MH_I2C_Read... [22:37:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:37:47]Read from MH i2c: E2 [22:37:47]MH_I2C_Read... [22:37:47]Read from MH i2c: E2 0E 00 [22:37:47]MH_I2C_Read... [22:37:47]Read from MH i2c: E2 0E 00 9F 62 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 AD [22:37:47]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [22:37:47]wFMCommunicate OK [22:37:47]SAM_PROTO_GetShiftState done [22:37:47]FM_GetShiftState done [22:37:47]req_shift_opened done [22:37:47]requested_item shift.open_date is exist - process it [22:37:47]req_shift_open_date [22:37:47]req_shift_open_date done [22:37:47]produce_requested_data done [22:37:47]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47399,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [22:37:47]process_action_free close_receipt [22:37:47]json_value_free [22:37:47]json_value_free done [22:37:47]process_json_proto returns [22:37:47]Send response to host [22:37:47]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47399,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [22:37:47]free response buf [22:37:47]execute_script done [22:37:47]execute_script returns [22:37:47]free content buf [22:37:47]Sock 9.Close socket [22:37:47]Sock 9.Thread stoped [22:37:51]OFD Sender: No OFD packet to send [22:37:56]OFD Sender: No OFD packet to send [22:38:01]OFD Sender: No OFD packet to send [22:38:06]OFD Sender: No OFD packet to send [22:38:11]OFD Sender: No OFD packet to send [22:38:16]OFD Sender: No OFD packet to send [22:38:21]OFD Sender: No OFD packet to send [22:38:26]OFD Sender: No OFD packet to send [22:38:31]OFD Sender: No OFD packet to send [22:38:36]OFD Sender: No OFD packet to send [22:38:41]OFD Sender: No OFD packet to send [22:38:46]OFD Sender: No OFD packet to send [22:38:51]OFD Sender: No OFD packet to send [22:38:56]OFD Sender: No OFD packet to send [22:39:01]OFD Sender: No OFD packet to send [22:39:06]OFD Sender: No OFD packet to send [22:39:11]OFD Sender: No OFD packet to send [22:39:16]OFD Sender: No OFD packet to send [22:39:21]OFD Sender: No OFD packet to send [22:39:26]OFD Sender: No OFD packet to send [22:39:31]OFD Sender: No OFD packet to send [22:39:36]OFD Sender: No OFD packet to send [22:39:41]OFD Sender: No OFD packet to send [22:39:46]OFD Sender: No OFD packet to send [22:39:51]OFD Sender: No OFD packet to send [22:39:56]OFD Sender: No OFD packet to send [22:40:01]OFD Sender: No OFD packet to send [22:40:06]OFD Sender: No OFD packet to send [22:40:11]OFD Sender: No OFD packet to send [22:40:16]OFD Sender: No OFD packet to send [22:40:21]OFD Sender: No OFD packet to send [22:40:22]recv_with_timeout no data received [22:40:26]OFD Sender: No OFD packet to send [22:40:31]OFD Sender: No OFD packet to send [22:40:36]OFD Sender: No OFD packet to send [22:40:41]OFD Sender: No OFD packet to send [22:40:46]OFD Sender: No OFD packet to send [22:40:51]OFD Sender: No OFD packet to send [22:40:56]OFD Sender: No OFD packet to send [22:41:01]OFD Sender: No OFD packet to send [22:41:01]accept exits with 7 [22:41:01]New connection [22:41:01]New thread 3066453348 created [22:41:01]Thread 3066596708 joined [22:41:01]Waiting for new connection... [22:41:01] Sock 7.Parse request [22:41:01]Sock 7.Check first char [22:41:01]Sock 7.First char is OK [22:41:01]request: POST /json_proto HTTP/1.0 [22:41:01]Method: POST [22:41:01]URL: /json_proto [22:41:01]Method is POST - this is cgi request [22:41:01]url: /json_proto [22:41:01]query_string will be loaded in cgi processing [22:41:01]execute_cgi json_proto POST (null) [22:41:01]execute_cgi path=json_proto method=POST [22:41:01]POST find Content-Length [22:41:01]Host: 172.17.32.68:8080 [22:41:01]Content-Length: 616 [22:41:01]Content-Type: application/json [22:41:01] [22:41:01]POST finish read [22:41:01]Found Content-Length = 616 [22:41:01]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242312", "tax_sys" : 0, "items" : [ { "code": "4640030091584", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Esse Gold", "price" : 143.00, "quantity" : 1.000, "sum" : 143.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 143.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:41:01]execute_script... [22:41: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)242312", "tax_sys" : 0, "items" : [ { "code": "4640030091584", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Esse Gold", "price" : 143.00, "quantity" : 1.000, "sum" : 143.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 143.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:41:01]POST & json_proto [22:41:01]process_json_proto [22:41:01]json parsed OK: [22:41:01]protocol is kg_v1.0 [22:41:01]action value=close_receipt [22:41:01]process_action close_receipt [22:41:01]cmd_close_receipt [22:41:01]MH_GetDate [22:41:01]Write to MH i2c: F0 00 00 A0 62 F1 [22:41:01]Write i2c OK [22:41:01]MH_I2C_Read... [22:41:01]Read from MH i2c: F0 [22:41:01]MH_I2C_Read... [22:41:01]Read from MH i2c: F0 09 00 [22:41:01]MH_I2C_Read... [22:41:01]Read from MH i2c: F0 09 00 A0 62 00 0F DA F0 65 0A 64 6E 65 79 [22:41:01]GetLastDocTimeStamp 1710283081 [22:41:01]current date 1710283279 [22:41:01]FM_GetShiftState [22:41:01]SAM_PROTO_GetShiftState [22:41:01]wFMCommunicate request_size=4 [22:41:01]MH_SAM_APDU [22:41:01]CAPDU: 80 13 01 00 [22:41:01]Write to MH i2c: E2 08 00 A1 62 80 13 01 00 00 00 00 00 80 [22:41:01]Write i2c OK [22:41:01]MH_I2C_Read... [22:41:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:41:01]Read from MH i2c: E2 [22:41:01]MH_I2C_Read... [22:41:01]Read from MH i2c: E2 0E 00 [22:41:01]MH_I2C_Read... [22:41:01]Read from MH i2c: E2 0E 00 A1 62 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 AF [22:41:01]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [22:41:01]wFMCommunicate OK [22:41:01]SAM_PROTO_GetShiftState done [22:41:01]FM_GetShiftState done [22:41:01]opened in 1710202417 [22:41:01]opened+sec_in_day 1710288817 [22:41:01]quantity*price = 14300 [22:41:01]sum+1 = 14301 [22:41:01]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 143.00 НСП 1% : 1.26 НДС 12% : 15.19 Наличными: 143.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 78 12.03.2024 22:41 Смена: 314 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47400 ФПД: 138237791222391 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T224119&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47400&fm=138237791222391&tin=02508201610067®Number=0000000000092018&sum=14300 0 [22:41:02]StoreToDocumentArchive [22:41:02]shift 314 fd 47400 [22:41:02]save to /storage/0314/doc_00047400 [22:41:02]save last doc name /storage/0314/doc_00047400 to /storage/kkm_last_doc_name [22:41:02]save OK [22:41:02]Clear old archive folders... [22:41:02]ProcessDocumentItem done err = 0, tmpTLVsize=268 [22:41:02]tlvbuf is B6D51B60 [22:41:02]SAM_PROTO_ClearQueue [22:41:02]wFMCommunicate request_size=4 [22:41:02]MH_SAM_APDU [22:41:02]CAPDU: 80 09 00 00 [22:41:02]Write to MH i2c: E2 08 00 AE 62 80 09 00 00 00 00 00 00 82 [22:41:02]Write i2c OK [22:41:02]MH_I2C_Read... [22:41:02]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:41:02]Read from MH i2c: E2 [22:41:02]MH_I2C_Read... [22:41:02]Read from MH i2c: E2 03 00 [22:41:02]MH_I2C_Read... [22:41:02]Read from MH i2c: E2 03 00 AE 62 00 90 00 84 [22:41:02]RAPDU: 90 00 [22:41:02]wFMCommunicate OK [22:41:02]SAM_PROTO_ClearQueue done [22:41:02]KKMCreateOFDPacket [22:41:02]OFDProtocolAddRootSTLVToBuf [22:41:02]FM_MakeSignedData [22:41:02]FM_MakeSignedData [22:41:02]SAM_PROTO_SignData [22:41:02]wFMCommunicate request_size=4 [22:41:02]MH_SAM_APDU [22:41:02]CAPDU: 80 0D 01 02 [22:41:02]Write to MH i2c: E2 08 00 AF 62 80 0D 01 02 00 00 00 00 8A [22:41:02]Write i2c OK [22:41:02]MH_I2C_Read... [22:41:02]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:41:02]Read from MH i2c: E2 [22:41:02]MH_I2C_Read... [22:41:02]Read from MH i2c: E2 03 00 [22:41:02]MH_I2C_Read... [22:41:02]Read from MH i2c: E2 03 00 AF 62 00 90 00 85 [22:41:02]RAPDU: 90 00 [22:41:02]wFMCommunicate OK [22:41:02]wFMCommunicate request_size=255 [22:41:02]MH_SAM_APDU [22:41:02]CAPDU: 80 0D 02 02 FA 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 35 38 34 06 04 1A 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 73 73 65 20 47 6F 6C 64 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 37 00 00 00 00 13 04 06 00 DC 37 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 37 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EF 05 00 00 00 00 07 04 06 00 DC 37 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4E 00 00 00 F4 03 04 00 0F DA F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 [22:41:02]Write to MH i2c: E2 02 01 B0 62 80 0D 02 02 FA 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 35 38 34 06 04 1A 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 73 73 65 20 47 6F 6C 64 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 37 00 00 00 00 13 04 06 00 DC 37 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 37 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EF 05 00 00 00 00 07 04 06 00 DC 37 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4E 00 00 00 F4 03 04 00 0F DA F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 00 00 10 [22:41:02]Write i2c OK [22:41:02]MH_I2C_Read... [22:41:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:41:03]Read from MH i2c: E2 [22:41:03]MH_I2C_Read... [22:41:03]Read from MH i2c: E2 03 00 [22:41:03]MH_I2C_Read... [22:41:03]Read from MH i2c: E2 03 00 B0 62 00 90 00 86 [22:41:03]RAPDU: 90 00 [22:41:03]wFMCommunicate OK [22:41:03]wFMCommunicate request_size=27 [22:41:03]MH_SAM_APDU [22:41:03]CAPDU: 80 0D 02 02 16 31 38 31 36 10 04 04 00 28 B9 00 00 35 04 06 00 7D B9 FE 70 BA 77 [22:41:03]Write to MH i2c: E2 1E 00 B1 62 80 0D 02 02 16 00 31 38 31 36 10 04 04 00 28 B9 00 00 35 04 06 00 7D B9 FE 70 BA 77 00 00 96 [22:41:03]Write i2c OK [22:41:03]MH_I2C_Read... [22:41:03]Read from MH i2c: E2 [22:41:03]MH_I2C_Read... [22:41:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:41:03]Read from MH i2c: E2 03 00 [22:41:03]MH_I2C_Read... [22:41:03]Read from MH i2c: E2 03 00 B1 62 00 90 00 87 [22:41:03]RAPDU: 90 00 [22:41:03]wFMCommunicate OK [22:41:03]wFMCommunicate request_size=4 [22:41:03]MH_SAM_APDU [22:41:03]CAPDU: 80 0D 03 02 [22:41:03]Write to MH i2c: E2 08 00 B2 62 80 0D 03 02 00 00 00 00 8F [22:41:03]Write i2c OK [22:41:03]MH_I2C_Read... [22:41:03]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:41:03]Read from MH i2c: E2 [22:41:03]MH_I2C_Read... [22:41:03]Read from MH i2c: E2 0B 00 [22:41:03]MH_I2C_Read... [22:41:03]Read from MH i2c: E2 0B 00 B2 62 00 4E 3F 37 10 85 BA 35 BE 90 00 96 [22:41:03]RAPDU: 4E 3F 37 10 85 BA 35 BE 90 00 [22:41:03]wFMCommunicate OK [22:41:03]SAM_PROTO_SignData done [22:41:03]FM_MakeSignedData done [22:41:03]CreateOFDProtocolMessage [22:41:03]wFMCommunicate request_size=4 [22:41:03]MH_SAM_APDU [22:41:03]CAPDU: 80 11 00 00 [22:41:03]Write to MH i2c: E2 08 00 B3 62 80 11 00 00 00 00 00 00 8F [22:41:03]Write i2c OK [22:41:03]MH_I2C_Read... [22:41:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:41:03]Read from MH i2c: E2 [22:41:03]MH_I2C_Read... [22:41:03]Read from MH i2c: E2 17 00 [22:41:03]MH_I2C_Read... [22:41:03]Read from MH i2c: E2 17 00 B3 62 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 E1 [22:41:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [22:41:03]wFMCommunicate OK [22:41:03]CreateOFDProtocolMessage done [22:41:03]OFDSenderStorePacket 47400 [22:41:03]StoreOFDPacket docnum=47400 [22:41:03]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 20 01 00 00 A2 2A 18 01 76 83 5A 03 01 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 35 38 34 06 04 1A 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 73 73 65 20 47 6F 6C 64 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 37 00 00 00 00 13 04 06 00 DC 37 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 37 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EF 05 00 00 00 00 07 04 06 00 DC 37 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4E 00 00 00 F4 03 04 00 0F DA F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 28 B9 00 00 35 04 06 00 7D B9 FE 70 BA 77 4E 3F 37 10 85 BA 35 BE [22:41:03]CheckFolder [22:41:03]dirname=/storage/ofd_packets [22:41:03]CheckFolder done [22:41:03]ProducePacketName [22:41:03]name=ofd_packets/00047400 [22:41:03]NVStorageSaveData ofd_packets/00047400 [22:41:03]File name is /storage/ofd_packets/00047400 [22:41:03]Write 318 bytes [22:41:03]NVStorageSaveData done [22:41:03]OFDSenderStorePacket done [22:41:03]KKMCreateOFDPacket done [22:41:03]NVStorageSaveData kkm_last_timestamp [22:41:03]File name is /storage/kkm_last_timestamp [22:41:03]Write 4 bytes [22:41:03]NVStorageSaveData done [22:41:03]ExternCall_PrintAddStr [22:41:03]wPrintStart [22:41:03]Write to MH i2c: 01 00 00 B4 62 16 [22:41:03]Write i2c OK [22:41:03]MH_I2C_Read... [22:41:03]Read from MH i2c: 01 [22:41:03]MH_I2C_Read... [22:41:03]Read from MH i2c: 01 07 00 [22:41:03]MH_I2C_Read... [22:41:03]Read from MH i2c: 01 07 00 B4 62 00 00 00 00 00 FF 0F 2B [22:41:03]RasterBufferAndPrint [22:41:03]line Счет N : (3)242312 [22:41:03]line ИНН: 02508201610067 [22:41:03]line Контрольно-Кассовый Чек [22:41:03]line ПРОДАЖА [22:41:03]line Товар: 4640030091584 [22:41:03]line Сигареты Esse Gold [22:41:03]line 1.000 * 143.00 [22:41:03]line = 143.00 [22:41:03]line НДС 12% НСП 1% [22:41:03]line > о реализуемом товаре [22:41:03]line ИТОГО: 143.00 [22:41:03]line НСП 1% : 1.26 [22:41:03]line НДС 12% : 15.19 [22:41:03]line Наличными: 143.00 [22:41:03]line Безнал.: 0.00 [22:41:03]line Место: АЗС № 15 "Партнер Нефть" [22:41:03]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [22:41:03]line СНО: Общий режим [22:41:03]line Чек 78 12.03.2024 22:41 [22:41:03]line Смена: 314 ФФД: 1.0 [22:41:03]line ЗНМ: 0300000097 [22:41:03]line РНМ: 0000000000092018 [22:41:03]line Версия ККМ: 001 [22:41:03]line ФМ: 0000000000871816 [22:41:03]line ФД: 47400 [22:41:03]line ФПД: 138237791222391 [22:41:03]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T224119&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47400&fm=138237791222391&tin=02508201610067®Number=0000000000092018&sum=14300 [22:41:03]line 0 [22:41:03]written 0, free lines is 4095 [22:41:03]OFD Sender: Processing packet 47400 [packets to send 8, broken 7] [22:41:03]ProducePacketName [22:41:03]name=ofd_packets/00047400 [22:41:03]OFD Sender: To server: pG, [22:41:03]CommunicateWithHost lk.salyk.kg:30040 [22:41:03]ConnectInit lk.salyk.kg [22:41:03]Connected sock=10 [22:41: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 31 36 20 01 00 00 A2 2A 18 01 76 83 5A 03 01 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 35 38 34 06 04 1A 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 73 73 65 20 47 6F 6C 64 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 37 00 00 00 00 13 04 06 00 DC 37 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 37 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EF 05 00 00 00 00 07 04 06 00 DC 37 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4E 00 00 00 F4 03 04 00 0F DA F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 28 B9 00 00 35 04 06 00 7D B9 FE 70 BA 77 4E 3F 37 10 85 BA 35 BE [22:41:03]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 A7 63 47 00 39 02 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 31 36 10 04 04 00 28 B9 00 00 F4 03 04 00 9F 84 F0 65 B6 04 01 00 00 F0 8B 2E D6 6A B3 C2 99 [22:41:03]CommunicateWithHost err = 0 [22:41:03]CheckOFDResponse [22:41:03]1017 (14) - 77093643461234 [22:41:03]1041 (16) - 0000000000871816 [22:41:03]1040 (4) - 47400 [22:41:03]1012 (4) - 12.03.2024 16:36 [22:41:03]1206 (1) - 0 [22:41:03]OFD Sender: Remove packet 47400 [22:41:03]ProducePacketName [22:41:03]name=ofd_packets/00047400 [22:41:03]NVStorageDeleteData [22:41:03]Write to MH i2c: 01 00 00 DC 62 3E [22:41:03]Write i2c OK [22:41:03]MH_I2C_Read... [22:41:03]Read from MH i2c: 01 [22:41:03]MH_I2C_Read... [22:41:03]Read from MH i2c: 01 07 00 [22:41:03]MH_I2C_Read... [22:41:03]Read from MH i2c: 01 07 00 DC 62 00 00 00 00 00 FE 0C 4F [22:41:03]RasterBufferAndPrint [22:41:03]line [22:41:03]line [22:41:03]line [22:41:03]line [22:41:03]line [22:41:03]written 0, free lines is 3332 [22:41:03]MH_Cut [22:41:03]Write to MH i2c: D1 01 00 E3 62 01 17 [22:41:03]Write i2c OK [22:41:03]MH_I2C_Read... [22:41:03]Read from MH i2c: D1 [22:41:03]MH_I2C_Read... [22:41:03]Read from MH i2c: D1 01 00 [22:41:03]MH_I2C_Read... [22:41:03]Read from MH i2c: D1 01 00 E3 62 00 16 [22:41:03]Write to MH i2c: 01 00 00 E4 62 46 [22:41:03]Write i2c OK [22:41:03]MH_I2C_Read... [22:41:04]OFD Sender: No OFD packet to send [22:41:04]*** Cut start [22:41:04]*** Purtial cut [22:41:04]*** Stage 1: CUTSNS_PIN = 1 [22:41:04]Read from MH i2c: 01 [22:41:04]MH_I2C_Read... [22:41:04]*** Stop cut motor [22:41:04]*** Cut end [22:41:04]Read from MH i2c: 01 07 00 [22:41:04]MH_I2C_Read... [22:41:04]Read from MH i2c: 01 07 00 E4 62 00 00 00 00 00 FF 0F 5B [22:41:04]process_action close_receipt done [22:41:04]requested_data is exist [22:41:04]produce_requested_data [22:41:04]requested_item fm.sn is exist - process it [22:41:04]wFMCommunicate request_size=4 [22:41:04]MH_SAM_APDU [22:41:04]CAPDU: 80 11 00 00 [22:41:04]Write to MH i2c: E2 08 00 E5 62 80 11 00 00 00 00 00 00 C1 [22:41:04]Write i2c OK [22:41:04]MH_I2C_Read... [22:41:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:41:04]Read from MH i2c: E2 [22:41:04]MH_I2C_Read... [22:41:04]Read from MH i2c: E2 17 00 [22:41:04]MH_I2C_Read... [22:41:04]Read from MH i2c: E2 17 00 E5 62 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 13 [22:41:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [22:41:04]wFMCommunicate OK [22:41:04]requested_item fd.num is exist - process it [22:41:04]SAM_PROTO_GetFieldsCounters [22:41:04]wFMCommunicate request_size=4 [22:41:04]MH_SAM_APDU [22:41:04]CAPDU: 80 13 00 00 [22:41:04]Write to MH i2c: E2 08 00 E6 62 80 13 00 00 00 00 00 00 C4 [22:41:04]Write i2c OK [22:41:04]MH_I2C_Read... [22:41:05]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:41:05]Read from MH i2c: E2 [22:41:05]MH_I2C_Read... [22:41:05]Read from MH i2c: E2 62 00 [22:41:05]MH_I2C_Read... [22:41:05]Read from MH i2c: E2 62 00 E6 62 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 28 B9 00 00 0E 04 04 00 3A 01 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 E5 [22:41: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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 28 B9 00 00 0E 04 04 00 3A 01 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 [22:41:05]wFMCommunicate OK [22:41:05]SAM_PROTO_GetFieldsCounters done [22:41:05]requested_item shift.num is exist - process it [22:41:05]requested_item shift.opened is exist - process it [22:41:05]req_shift_opened [22:41:05]FM_GetShiftState [22:41:05]SAM_PROTO_GetShiftState [22:41:05]wFMCommunicate request_size=4 [22:41:05]MH_SAM_APDU [22:41:05]CAPDU: 80 13 01 00 [22:41:05]Write to MH i2c: E2 08 00 E7 62 80 13 01 00 00 00 00 00 C6 [22:41:05]Write i2c OK [22:41:05]MH_I2C_Read... [22:41:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:41:05]Read from MH i2c: E2 [22:41:05]MH_I2C_Read... [22:41:05]Read from MH i2c: E2 0E 00 [22:41:05]MH_I2C_Read... [22:41:05]Read from MH i2c: E2 0E 00 E7 62 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 F5 [22:41:05]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [22:41:05]wFMCommunicate OK [22:41:05]SAM_PROTO_GetShiftState done [22:41:05]FM_GetShiftState done [22:41:05]req_shift_opened done [22:41:05]requested_item shift.open_date is exist - process it [22:41:05]req_shift_open_date [22:41:05]req_shift_open_date done [22:41:05]produce_requested_data done [22:41:05]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47400,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [22:41:05]process_action_free close_receipt [22:41:05]json_value_free [22:41:05]json_value_free done [22:41:05]process_json_proto returns [22:41:05]Send response to host [22:41:05]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47400,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [22:41:05]free response buf [22:41:05]execute_script done [22:41:05]execute_script returns [22:41:05]free content buf [22:41:05]Sock 7.Close socket [22:41:05]Sock 7.Thread stoped [22:41:09]OFD Sender: No OFD packet to send [22:41:14]OFD Sender: No OFD packet to send [22:41:19]OFD Sender: No OFD packet to send [22:41:24]OFD Sender: No OFD packet to send [22:41:29]OFD Sender: No OFD packet to send [22:41:34]OFD Sender: No OFD packet to send [22:41:39]OFD Sender: No OFD packet to send [22:41:44]OFD Sender: No OFD packet to send [22:41:49]OFD Sender: No OFD packet to send [22:41:54]OFD Sender: No OFD packet to send [22:41:59]OFD Sender: No OFD packet to send [22:42:04]OFD Sender: No OFD packet to send [22:42:09]OFD Sender: No OFD packet to send [22:42:14]OFD Sender: No OFD packet to send [22:42:19]OFD Sender: No OFD packet to send [22:42:24]OFD Sender: No OFD packet to send [22:42:29]OFD Sender: No OFD packet to send [22:42:34]OFD Sender: No OFD packet to send [22:42:39]OFD Sender: No OFD packet to send [22:42:44]OFD Sender: No OFD packet to send [22:42:49]OFD Sender: No OFD packet to send [22:42:54]OFD Sender: No OFD packet to send [22:42:59]OFD Sender: No OFD packet to send [22:43:04]OFD Sender: No OFD packet to send [22:43:09]OFD Sender: No OFD packet to send [22:43:14]OFD Sender: No OFD packet to send [22:43:19]OFD Sender: No OFD packet to send [22:43:24]OFD Sender: No OFD packet to send [22:43:29]OFD Sender: No OFD packet to send [22:43:34]OFD Sender: No OFD packet to send [22:43:39]OFD Sender: No OFD packet to send [22:43:44]OFD Sender: No OFD packet to send [22:43:49]OFD Sender: No OFD packet to send [22:43:54]OFD Sender: No OFD packet to send [22:43:59]OFD Sender: No OFD packet to send [22:44:04]OFD Sender: No OFD packet to send [22:44:09]OFD Sender: No OFD packet to send [22:44:14]OFD Sender: No OFD packet to send [22:44:19]OFD Sender: No OFD packet to send [22:44:24]OFD Sender: No OFD packet to send [22:44:29]OFD Sender: No OFD packet to send [22:44:34]OFD Sender: No OFD packet to send [22:44:39]OFD Sender: No OFD packet to send [22:44:44]OFD Sender: No OFD packet to send [22:44:49]OFD Sender: No OFD packet to send [22:44:54]OFD Sender: No OFD packet to send [22:44:59]OFD Sender: No OFD packet to send [22:45:04]OFD Sender: No OFD packet to send [22:45:09]OFD Sender: No OFD packet to send [22:45:14]OFD Sender: No OFD packet to send [22:45:19]OFD Sender: No OFD packet to send [22:45:24]OFD Sender: No OFD packet to send [22:45:29]OFD Sender: No OFD packet to send [22:45:34]OFD Sender: No OFD packet to send [22:45:39]OFD Sender: No OFD packet to send [22:45:44]OFD Sender: No OFD packet to send [22:45:49]OFD Sender: No OFD packet to send [22:45:54]OFD Sender: No OFD packet to send [22:45:59]OFD Sender: No OFD packet to send [22:46:04]OFD Sender: No OFD packet to send [22:46:09]OFD Sender: No OFD packet to send [22:46:14]OFD Sender: No OFD packet to send [22:46:19]OFD Sender: No OFD packet to send [22:46:24]OFD Sender: No OFD packet to send [22:46:29]OFD Sender: No OFD packet to send [22:46:34]OFD Sender: No OFD packet to send [22:46:39]OFD Sender: No OFD packet to send [22:46:44]OFD Sender: No OFD packet to send [22:46:49]OFD Sender: No OFD packet to send [22:46:54]OFD Sender: No OFD packet to send [22:46:54]accept exits with 9 [22:46:54]New connection [22:46:54]New thread 3066596708 created [22:46:54]Thread 3066453348 joined [22:46:54]Waiting for new connection... [22:46:54] Sock 9.Parse request [22:46:54]Sock 9.Check first char [22:46:54]Sock 9.First char is OK [22:46:54]request: POST /json_proto HTTP/1.0 [22:46:54]Method: POST [22:46:54]URL: /json_proto [22:46:54]Method is POST - this is cgi request [22:46:54]url: /json_proto [22:46:54]query_string will be loaded in cgi processing [22:46:54]execute_cgi json_proto POST (null) [22:46:54]execute_cgi path=json_proto method=POST [22:46:54]POST find Content-Length [22:46:54]Host: 172.17.32.68:8080 [22:46:54]Content-Length: 590 [22:46:54]Content-Type: application/json [22:46:54] [22:46:54]POST finish read [22:46:54]Found Content-Length = 590 [22:46:54]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242313", "tax_sys" : 0, "items" : [ { "code": "42113164", "name": "\u0416\u0435\u0432 Orbit White Spearmint", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 40.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:46:54]execute_script... [22:46: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)242313", "tax_sys" : 0, "items" : [ { "code": "42113164", "name": "\u0416\u0435\u0432 Orbit White Spearmint", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 40.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:46:54]POST & json_proto [22:46:54]process_json_proto [22:46:54]json parsed OK: [22:46:54]protocol is kg_v1.0 [22:46:54]action value=close_receipt [22:46:54]process_action close_receipt [22:46:54]cmd_close_receipt [22:46:54]MH_GetDate [22:46:54]Write to MH i2c: F0 00 00 E8 62 39 [22:46:54]Write i2c OK [22:46:54]MH_I2C_Read... [22:46:54]Read from MH i2c: F0 [22:46:54]MH_I2C_Read... [22:46:54]Read from MH i2c: F0 09 00 [22:46:54]MH_I2C_Read... [22:46:54]Read from MH i2c: F0 09 00 E8 62 00 70 DB F0 65 0A 64 6E 65 23 [22:46:54]GetLastDocTimeStamp 1710283279 [22:46:54]current date 1710283632 [22:46:54]FM_GetShiftState [22:46:54]SAM_PROTO_GetShiftState [22:46:54]wFMCommunicate request_size=4 [22:46:54]MH_SAM_APDU [22:46:54]CAPDU: 80 13 01 00 [22:46:54]Write to MH i2c: E2 08 00 E9 62 80 13 01 00 00 00 00 00 C8 [22:46:54]Write i2c OK [22:46:54]MH_I2C_Read... [22:46:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:46:54]Read from MH i2c: E2 [22:46:54]MH_I2C_Read... [22:46:54]Read from MH i2c: E2 0E 00 [22:46:54]MH_I2C_Read... [22:46:54]Read from MH i2c: E2 0E 00 E9 62 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 F7 [22:46:54]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [22:46:54]wFMCommunicate OK [22:46:54]SAM_PROTO_GetShiftState done [22:46:54]FM_GetShiftState done [22:46:54]opened in 1710202417 [22:46:54]opened+sec_in_day 1710288817 [22:46:54]quantity*price = 4000 [22:46:54]sum+1 = 4001 [22:46:54]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 40.00 НСП 1% : 0.35 НДС 12% : 4.25 Наличными: 40.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 79 12.03.2024 22:47 Смена: 314 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47401 ФПД: 265831523134741 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T224712&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47401&fm=265831523134741&tin=02508201610067®Number=0000000000092018&sum=4000 0 [22:46:55]StoreToDocumentArchive [22:46:55]shift 314 fd 47401 [22:46:55]save to /storage/0314/doc_00047401 [22:46:55]save last doc name /storage/0314/doc_00047401 to /storage/kkm_last_doc_name [22:46:55]save OK [22:46:55]Clear old archive folders... [22:46:55]ProcessDocumentItem done err = 0, tmpTLVsize=265 [22:46:55]tlvbuf is 003CCFB0 [22:46:55]SAM_PROTO_ClearQueue [22:46:55]wFMCommunicate request_size=4 [22:46:55]MH_SAM_APDU [22:46:55]CAPDU: 80 09 00 00 [22:46:55]Write to MH i2c: E2 08 00 F6 62 80 09 00 00 00 00 00 00 CA [22:46:55]Write i2c OK [22:46:55]MH_I2C_Read... [22:46:55]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:46:55]Read from MH i2c: E2 [22:46:55]MH_I2C_Read... [22:46:55]Read from MH i2c: E2 03 00 [22:46:55]MH_I2C_Read... [22:46:55]Read from MH i2c: E2 03 00 F6 62 00 90 00 CC [22:46:55]RAPDU: 90 00 [22:46:55]wFMCommunicate OK [22:46:55]SAM_PROTO_ClearQueue done [22:46:55]KKMCreateOFDPacket [22:46:55]OFDProtocolAddRootSTLVToBuf [22:46:55]FM_MakeSignedData [22:46:55]FM_MakeSignedData [22:46:55]SAM_PROTO_SignData [22:46:55]wFMCommunicate request_size=4 [22:46:55]MH_SAM_APDU [22:46:55]CAPDU: 80 0D 01 02 [22:46:55]Write to MH i2c: E2 08 00 F7 62 80 0D 01 02 00 00 00 00 D2 [22:46:55]Write i2c OK [22:46:55]MH_I2C_Read... [22:46:55]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:46:55]Read from MH i2c: E2 [22:46:55]MH_I2C_Read... [22:46:55]Read from MH i2c: E2 03 00 [22:46:55]MH_I2C_Read... [22:46:55]Read from MH i2c: E2 03 00 F7 62 00 90 00 CD [22:46:55]RAPDU: 90 00 [22:46:55]wFMCommunicate OK [22:46:55]wFMCommunicate request_size=255 [22:46:55]MH_SAM_APDU [22:46:55]CAPDU: 80 0D 02 02 FA 03 00 09 01 1E 04 01 00 01 23 04 5B 00 8A 04 08 00 34 32 31 31 33 31 36 34 06 04 1C 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 53 70 65 61 72 6D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4F 00 00 00 F4 03 04 00 70 DB F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 [22:46:55]Write to MH i2c: E2 02 01 F8 62 80 0D 02 02 FA 00 03 00 09 01 1E 04 01 00 01 23 04 5B 00 8A 04 08 00 34 32 31 31 33 31 36 34 06 04 1C 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 53 70 65 61 72 6D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4F 00 00 00 F4 03 04 00 70 DB F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 00 00 BB [22:46:55]Write i2c OK [22:46:55]MH_I2C_Read... [22:46:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:46:56]Read from MH i2c: E2 [22:46:56]MH_I2C_Read... [22:46:56]Read from MH i2c: E2 03 00 [22:46:56]MH_I2C_Read... [22:46:56]Read from MH i2c: E2 03 00 F8 62 00 90 00 CE [22:46:56]RAPDU: 90 00 [22:46:56]wFMCommunicate OK [22:46:56]wFMCommunicate request_size=24 [22:46:56]MH_SAM_APDU [22:46:56]CAPDU: 80 0D 02 02 13 36 10 04 04 00 29 B9 00 00 35 04 06 00 F1 C5 B9 81 AD 15 [22:46:56]Write to MH i2c: E2 1B 00 F9 62 80 0D 02 02 13 00 36 10 04 04 00 29 B9 00 00 35 04 06 00 F1 C5 B9 81 AD 15 00 00 1C [22:46:56]Write i2c OK [22:46:56]MH_I2C_Read... [22:46:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:46:56]Read from MH i2c: E2 [22:46:56]MH_I2C_Read... [22:46:56]Read from MH i2c: E2 03 00 [22:46:56]MH_I2C_Read... [22:46:56]Read from MH i2c: E2 03 00 F9 62 00 90 00 CF [22:46:56]RAPDU: 90 00 [22:46:56]wFMCommunicate OK [22:46:56]wFMCommunicate request_size=4 [22:46:56]MH_SAM_APDU [22:46:56]CAPDU: 80 0D 03 02 [22:46:56]Write to MH i2c: E2 08 00 FA 62 80 0D 03 02 00 00 00 00 D7 [22:46:56]Write i2c OK [22:46:56]MH_I2C_Read... [22:46:56]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:46:56]Read from MH i2c: E2 [22:46:56]MH_I2C_Read... [22:46:56]Read from MH i2c: E2 0B 00 [22:46:56]MH_I2C_Read... [22:46:56]Read from MH i2c: E2 0B 00 FA 62 00 1D 41 55 F1 2C 09 DB 48 90 00 D4 [22:46:56]RAPDU: 1D 41 55 F1 2C 09 DB 48 90 00 [22:46:56]wFMCommunicate OK [22:46:56]SAM_PROTO_SignData done [22:46:56]FM_MakeSignedData done [22:46:56]CreateOFDProtocolMessage [22:46:56]wFMCommunicate request_size=4 [22:46:56]MH_SAM_APDU [22:46:56]CAPDU: 80 11 00 00 [22:46:56]Write to MH i2c: E2 08 00 FB 62 80 11 00 00 00 00 00 00 D7 [22:46:56]Write i2c OK [22:46:56]MH_I2C_Read... [22:46:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:46:56]Read from MH i2c: E2 [22:46:56]MH_I2C_Read... [22:46:56]Read from MH i2c: E2 17 00 [22:46:56]MH_I2C_Read... [22:46:56]Read from MH i2c: E2 17 00 FB 62 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 29 [22:46:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [22:46:56]wFMCommunicate OK [22:46:56]CreateOFDProtocolMessage done [22:46:56]OFDSenderStorePacket 47401 [22:46:56]StoreOFDPacket docnum=47401 [22:46:56]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 1D 01 00 00 FF 25 15 01 44 E8 5A 03 01 00 03 00 09 01 1E 04 01 00 01 23 04 5B 00 8A 04 08 00 34 32 31 31 33 31 36 34 06 04 1C 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 53 70 65 61 72 6D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4F 00 00 00 F4 03 04 00 70 DB F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 29 B9 00 00 35 04 06 00 F1 C5 B9 81 AD 15 1D 41 55 F1 2C 09 DB 48 [22:46:56]CheckFolder [22:46:56]dirname=/storage/ofd_packets [22:46:56]CheckFolder done [22:46:56]ProducePacketName [22:46:56]name=ofd_packets/00047401 [22:46:56]NVStorageSaveData ofd_packets/00047401 [22:46:56]File name is /storage/ofd_packets/00047401 [22:46:56]Write 315 bytes [22:46:56]NVStorageSaveData done [22:46:56]OFDSenderStorePacket done [22:46:56]KKMCreateOFDPacket done [22:46:56]NVStorageSaveData kkm_last_timestamp [22:46:56]File name is /storage/kkm_last_timestamp [22:46:56]Write 4 bytes [22:46:56]NVStorageSaveData done [22:46:56]ExternCall_PrintAddStr [22:46:56]wPrintStart [22:46:56]Write to MH i2c: 01 00 00 FC 62 5E [22:46:56]Write i2c OK [22:46:56]MH_I2C_Read... [22:46:56]Read from MH i2c: 01 [22:46:56]MH_I2C_Read... [22:46:56]Read from MH i2c: 01 07 00 [22:46:56]MH_I2C_Read... [22:46:56]Read from MH i2c: 01 07 00 FC 62 00 00 00 00 00 FF 0F 73 [22:46:56]RasterBufferAndPrint [22:46:56]line Счет N : (3)242313 [22:46:56]line ИНН: 02508201610067 [22:46:56]line Контрольно-Кассовый Чек [22:46:56]line ПРОДАЖА [22:46:56]line Товар: 42113164 [22:46:56]line Жев Orbit White Spearmint [22:46:56]line 1.000 * 40.00 [22:46:56]line = 40.00 [22:46:56]line НДС 12% НСП 1% [22:46:56]line > о реализуемом товаре [22:46:56]line ИТОГО: 40.00 [22:46:56]line НСП 1% : 0.35 [22:46:56]line НДС 12% : 4.25 [22:46:56]line Наличными: 40.00 [22:46:56]line Безнал.: 0.00 [22:46:56]line Место: АЗС № 15 "Партнер Нефть" [22:46:56]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [22:46:56]line СНО: Общий режим [22:46:56]line Чек 79 12.03.2024 22:47 [22:46:56]line Смена: 314 ФФД: 1.0 [22:46:56]line ЗНМ: 0300000097 [22:46:56]line РНМ: 0000000000092018 [22:46:56]line Версия ККМ: 001 [22:46:56]line ФМ: 0000000000871816 [22:46:56]line ФД: 47401 [22:46:56]line ФПД: 265831523134741 [22:46:56]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T224712&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47401&fm=265831523134741&tin=02508201610067®Number=0000000000092018&sum=4000 [22:46:56]line 0 [22:46:56]OFD Sender: Processing packet 47401 [packets to send 8, broken 7] [22:46:56]ProducePacketName [22:46:56]name=ofd_packets/00047401 [22:46:56]OFD Sender: To server: pG, [22:46:56]CommunicateWithHost lk.salyk.kg:30040 [22:46:56]ConnectInit lk.salyk.kg [22:46:56]written 0, free lines is 4095 [22:46:56]Connected sock=10 [22:46: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 31 36 1D 01 00 00 FF 25 15 01 44 E8 5A 03 01 00 03 00 09 01 1E 04 01 00 01 23 04 5B 00 8A 04 08 00 34 32 31 31 33 31 36 34 06 04 1C 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 53 70 65 61 72 6D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4F 00 00 00 F4 03 04 00 70 DB F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 29 B9 00 00 35 04 06 00 F1 C5 B9 81 AD 15 1D 41 55 F1 2C 09 DB 48 [22:46: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 31 36 4F 00 00 00 53 01 47 00 EC 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 31 36 10 04 04 00 29 B9 00 00 F4 03 04 00 01 86 F0 65 B6 04 01 00 00 7C 3A C4 B3 91 0F 2F D0 [22:46:56]CommunicateWithHost err = 0 [22:46:56]CheckOFDResponse [22:46:56]1017 (14) - 77093643461234 [22:46:56]1041 (16) - 0000000000871816 [22:46:56]1040 (4) - 47401 [22:46:56]1012 (4) - 12.03.2024 16:42 [22:46:56]1206 (1) - 0 [22:46:56]OFD Sender: Remove packet 47401 [22:46:56]ProducePacketName [22:46:56]name=ofd_packets/00047401 [22:46:56]NVStorageDeleteData [22:46:57]Write to MH i2c: 01 00 00 24 63 87 [22:46:57]Write i2c OK [22:46:57]MH_I2C_Read... [22:46:57]Read from MH i2c: 01 [22:46:57]MH_I2C_Read... [22:46:57]Read from MH i2c: 01 07 00 [22:46:57]MH_I2C_Read... [22:46:57]Read from MH i2c: 01 07 00 24 63 00 00 00 00 00 F1 0C 8B [22:46:57]RasterBufferAndPrint [22:46:57]line [22:46:57]line [22:46:57]line [22:46:57]line [22:46:57]line [22:46:57]written 0, free lines is 3319 [22:46:57]MH_Cut [22:46:57]Write to MH i2c: D1 01 00 2B 63 01 60 [22:46:57]Write i2c OK [22:46:57]MH_I2C_Read... [22:46:57]Read from MH i2c: D1 [22:46:57]MH_I2C_Read... [22:46:57]Read from MH i2c: D1 01 00 [22:46:57]MH_I2C_Read... [22:46:57]Read from MH i2c: D1 01 00 2B 63 00 5F [22:46:57]Write to MH i2c: 01 00 00 2C 63 8F [22:46:57]Write i2c OK [22:46:57]MH_I2C_Read... [22:46:57]OFD Sender: No OFD packet to send [22:46:57]*** Cut start [22:46:57]*** Purtial cut [22:46:57]*** Stage 1: CUTSNS_PIN = 1 [22:46:58]Read from MH i2c: 01 [22:46:58]MH_I2C_Read... [22:46:58]*** Stop cut motor [22:46:58]*** Cut end [22:46:58]Read from MH i2c: 01 07 00 [22:46:58]MH_I2C_Read... [22:46:58]Read from MH i2c: 01 07 00 2C 63 00 00 00 00 00 FF 0F A4 [22:46:58]process_action close_receipt done [22:46:58]requested_data is exist [22:46:58]produce_requested_data [22:46:58]requested_item fm.sn is exist - process it [22:46:58]wFMCommunicate request_size=4 [22:46:58]MH_SAM_APDU [22:46:58]CAPDU: 80 11 00 00 [22:46:58]Write to MH i2c: E2 08 00 2D 63 80 11 00 00 00 00 00 00 0A [22:46:58]Write i2c OK [22:46:58]MH_I2C_Read... [22:46:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:46:58]Read from MH i2c: E2 [22:46:58]MH_I2C_Read... [22:46:58]Read from MH i2c: E2 17 00 [22:46:58]MH_I2C_Read... [22:46:58]Read from MH i2c: E2 17 00 2D 63 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 5C [22:46:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [22:46:58]wFMCommunicate OK [22:46:58]requested_item fd.num is exist - process it [22:46:58]SAM_PROTO_GetFieldsCounters [22:46:58]wFMCommunicate request_size=4 [22:46:58]MH_SAM_APDU [22:46:58]CAPDU: 80 13 00 00 [22:46:58]Write to MH i2c: E2 08 00 2E 63 80 13 00 00 00 00 00 00 0D [22:46:58]Write i2c OK [22:46:58]MH_I2C_Read... [22:46:58]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:46:58]Read from MH i2c: E2 [22:46:58]MH_I2C_Read... [22:46:58]Read from MH i2c: E2 62 00 [22:46:58]MH_I2C_Read... [22:46:58]Read from MH i2c: E2 62 00 2E 63 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 29 B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 4F 00 00 00 5E 04 04 00 4F 00 00 00 57 04 04 00 50 00 00 00 19 04 04 00 00 00 00 00 90 00 32 [22:46:58]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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 29 B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 4F 00 00 00 5E 04 04 00 4F 00 00 00 57 04 04 00 50 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:46:58]wFMCommunicate OK [22:46:58]SAM_PROTO_GetFieldsCounters done [22:46:58]requested_item shift.num is exist - process it [22:46:58]requested_item shift.opened is exist - process it [22:46:58]req_shift_opened [22:46:58]FM_GetShiftState [22:46:58]SAM_PROTO_GetShiftState [22:46:58]wFMCommunicate request_size=4 [22:46:58]MH_SAM_APDU [22:46:58]CAPDU: 80 13 01 00 [22:46:58]Write to MH i2c: E2 08 00 2F 63 80 13 01 00 00 00 00 00 0F [22:46:58]Write i2c OK [22:46:58]MH_I2C_Read... [22:46:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:46:58]Read from MH i2c: E2 [22:46:58]MH_I2C_Read... [22:46:58]Read from MH i2c: E2 0E 00 [22:46:58]MH_I2C_Read... [22:46:58]Read from MH i2c: E2 0E 00 2F 63 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 3E [22:46:58]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [22:46:58]wFMCommunicate OK [22:46:58]SAM_PROTO_GetShiftState done [22:46:58]FM_GetShiftState done [22:46:58]req_shift_opened done [22:46:58]requested_item shift.open_date is exist - process it [22:46:58]req_shift_open_date [22:46:58]req_shift_open_date done [22:46:58]produce_requested_data done [22:46:58]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47401,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [22:46:58]process_action_free close_receipt [22:46:58]json_value_free [22:46:58]json_value_free done [22:46:58]process_json_proto returns [22:46:58]Send response to host [22:46:58]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47401,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [22:46:58]free response buf [22:46:58]execute_script done [22:46:58]execute_script returns [22:46:58]free content buf [22:46:58]Sock 9.Close socket [22:46:58]Sock 9.Thread stoped [22:47:02]OFD Sender: No OFD packet to send [22:47:07]OFD Sender: No OFD packet to send [22:47:12]OFD Sender: No OFD packet to send [22:47:17]OFD Sender: No OFD packet to send [22:47:22]OFD Sender: No OFD packet to send [22:47:27]OFD Sender: No OFD packet to send [22:47:32]OFD Sender: No OFD packet to send [22:47:37]OFD Sender: No OFD packet to send [22:47:42]OFD Sender: No OFD packet to send [22:47:47]OFD Sender: No OFD packet to send [22:47:52]OFD Sender: No OFD packet to send [22:47:57]OFD Sender: No OFD packet to send [22:48:02]OFD Sender: No OFD packet to send [22:48:07]OFD Sender: No OFD packet to send [22:48:12]OFD Sender: No OFD packet to send [22:48:17]OFD Sender: No OFD packet to send [22:48:22]OFD Sender: No OFD packet to send [22:48:27]OFD Sender: No OFD packet to send [22:48:32]OFD Sender: No OFD packet to send [22:48:37]OFD Sender: No OFD packet to send [22:48:42]OFD Sender: No OFD packet to send [22:48:47]OFD Sender: No OFD packet to send [22:48:52]OFD Sender: No OFD packet to send [22:48:57]OFD Sender: No OFD packet to send [22:49:02]OFD Sender: No OFD packet to send [22:49:07]OFD Sender: No OFD packet to send [22:49:12]OFD Sender: No OFD packet to send [22:49:17]OFD Sender: No OFD packet to send [22:49:22]OFD Sender: No OFD packet to send [22:49:27]OFD Sender: No OFD packet to send [22:49:32]OFD Sender: No OFD packet to send [22:49:37]OFD Sender: No OFD packet to send [22:49:42]OFD Sender: No OFD packet to send [22:49:47]OFD Sender: No OFD packet to send [22:49:52]OFD Sender: No OFD packet to send [22:49:57]OFD Sender: No OFD packet to send [22:50:02]OFD Sender: No OFD packet to send [22:50:07]OFD Sender: No OFD packet to send [22:50:12]OFD Sender: No OFD packet to send [22:50:17]OFD Sender: No OFD packet to send [22:50:22]OFD Sender: No OFD packet to send [22:50:27]OFD Sender: No OFD packet to send [22:50:32]OFD Sender: No OFD packet to send [22:50:37]OFD Sender: No OFD packet to send [22:50:42]OFD Sender: No OFD packet to send [22:50:47]OFD Sender: No OFD packet to send [22:50:52]OFD Sender: No OFD packet to send [22:50:57]OFD Sender: No OFD packet to send [22:51:02]OFD Sender: No OFD packet to send [22:51:04]recv_with_timeout no data received [22:51:07]OFD Sender: No OFD packet to send [22:51:12]OFD Sender: No OFD packet to send [22:51:17]OFD Sender: No OFD packet to send [22:51:22]OFD Sender: No OFD packet to send [22:51:27]OFD Sender: No OFD packet to send [22:51:32]OFD Sender: No OFD packet to send [22:51:37]OFD Sender: No OFD packet to send [22:51:42]OFD Sender: No OFD packet to send [22:51:47]OFD Sender: No OFD packet to send [22:51:52]OFD Sender: No OFD packet to send [22:51:57]OFD Sender: No OFD packet to send [22:52:02]OFD Sender: No OFD packet to send [22:52:07]OFD Sender: No OFD packet to send [22:52:12]OFD Sender: No OFD packet to send [22:52:17]OFD Sender: No OFD packet to send [22:52:22]OFD Sender: No OFD packet to send [22:52:27]OFD Sender: No OFD packet to send [22:52:32]OFD Sender: No OFD packet to send [22:52:37]OFD Sender: No OFD packet to send [22:52:42]OFD Sender: No OFD packet to send [22:52:47]OFD Sender: No OFD packet to send [22:52:52]OFD Sender: No OFD packet to send [22:52:57]OFD Sender: No OFD packet to send [22:53:02]OFD Sender: No OFD packet to send [22:53:07]OFD Sender: No OFD packet to send [22:53:12]OFD Sender: No OFD packet to send [22:53:17]OFD Sender: No OFD packet to send [22:53:22]OFD Sender: No OFD packet to send [22:53:27]OFD Sender: No OFD packet to send [22:53:32]OFD Sender: No OFD packet to send [22:53:37]OFD Sender: No OFD packet to send [22:53:42]OFD Sender: No OFD packet to send [22:53:47]OFD Sender: No OFD packet to send [22:53:52]OFD Sender: No OFD packet to send [22:53:57]OFD Sender: No OFD packet to send [22:54:02]OFD Sender: No OFD packet to send [22:54:07]OFD Sender: No OFD packet to send [22:54:12]OFD Sender: No OFD packet to send [22:54:17]OFD Sender: No OFD packet to send [22:54:22]OFD Sender: No OFD packet to send [22:54:27]OFD Sender: No OFD packet to send [22:54:32]OFD Sender: No OFD packet to send [22:54:37]OFD Sender: No OFD packet to send [22:54:42]OFD Sender: No OFD packet to send [22:54:47]OFD Sender: No OFD packet to send [22:54:52]OFD Sender: No OFD packet to send [22:54:57]OFD Sender: No OFD packet to send [22:55:02]OFD Sender: No OFD packet to send [22:55:07]OFD Sender: No OFD packet to send [22:55:12]OFD Sender: No OFD packet to send [22:55:17]OFD Sender: No OFD packet to send [22:55:22]OFD Sender: No OFD packet to send [22:55:27]OFD Sender: No OFD packet to send [22:55:32]OFD Sender: No OFD packet to send [22:55:37]OFD Sender: No OFD packet to send [22:55:42]OFD Sender: No OFD packet to send [22:55:47]OFD Sender: No OFD packet to send [22:55:52]OFD Sender: No OFD packet to send [22:55:57]OFD Sender: No OFD packet to send [22:56:02]OFD Sender: No OFD packet to send [22:56:07]OFD Sender: No OFD packet to send [22:56:12]OFD Sender: No OFD packet to send [22:56:17]OFD Sender: No OFD packet to send [22:56:22]OFD Sender: No OFD packet to send [22:56:27]OFD Sender: No OFD packet to send [22:56:32]OFD Sender: No OFD packet to send [22:56:37]OFD Sender: No OFD packet to send [22:56:42]OFD Sender: No OFD packet to send [22:56:46]recv_with_timeout no data received [22:56:47]OFD Sender: No OFD packet to send [22:56:52]OFD Sender: No OFD packet to send [22:56:57]OFD Sender: No OFD packet to send [22:57:02]OFD Sender: No OFD packet to send [22:57:07]OFD Sender: No OFD packet to send [22:57:12]OFD Sender: No OFD packet to send [22:57:17]OFD Sender: No OFD packet to send [22:57:22]OFD Sender: No OFD packet to send [22:57:27]OFD Sender: No OFD packet to send [22:57:32]OFD Sender: No OFD packet to send [22:57:37]OFD Sender: No OFD packet to send [22:57:42]OFD Sender: No OFD packet to send [22:57:47]OFD Sender: No OFD packet to send [22:57:52]OFD Sender: No OFD packet to send [22:57:57]OFD Sender: No OFD packet to send [22:58:02]OFD Sender: No OFD packet to send [22:58:07]OFD Sender: No OFD packet to send [22:58:12]OFD Sender: No OFD packet to send [22:58:17]OFD Sender: No OFD packet to send [22:58:22]OFD Sender: No OFD packet to send [22:58:27]OFD Sender: No OFD packet to send [22:58:32]OFD Sender: No OFD packet to send [22:58:37]OFD Sender: No OFD packet to send [22:58:42]OFD Sender: No OFD packet to send [22:58:47]OFD Sender: No OFD packet to send [22:58:52]OFD Sender: No OFD packet to send [22:58:57]OFD Sender: No OFD packet to send [22:59:03]OFD Sender: No OFD packet to send [22:59:08]OFD Sender: No OFD packet to send [22:59:13]OFD Sender: No OFD packet to send [22:59:18]OFD Sender: No OFD packet to send [22:59:23]OFD Sender: No OFD packet to send [22:59:28]OFD Sender: No OFD packet to send [22:59:33]OFD Sender: No OFD packet to send [22:59:38]OFD Sender: No OFD packet to send [22:59:43]OFD Sender: No OFD packet to send [22:59:48]OFD Sender: No OFD packet to send [22:59:53]OFD Sender: No OFD packet to send [22:59:58]OFD Sender: No OFD packet to send [23:00:03]OFD Sender: No OFD packet to send [23:00:08]OFD Sender: No OFD packet to send [23:00:13]OFD Sender: No OFD packet to send [23:00:18]OFD Sender: No OFD packet to send [23:00:23]OFD Sender: No OFD packet to send [23:00:28]OFD Sender: No OFD packet to send [23:00:33]OFD Sender: No OFD packet to send [23:00:38]OFD Sender: No OFD packet to send [23:00:43]OFD Sender: No OFD packet to send [23:00:48]OFD Sender: No OFD packet to send [23:00:53]OFD Sender: No OFD packet to send [23:00:58]OFD Sender: No OFD packet to send [23:00:58]accept exits with 7 [23:00:58]New connection [23:00:58]New thread 3066453348 created [23:00:58]Thread 3066596708 joined [23:00:58]Waiting for new connection... [23:00:58] Sock 7.Parse request [23:00:58]Sock 7.Check first char [23:00:58]Sock 7.First char is OK [23:00:58]request: POST /json_proto HTTP/1.0 [23:00:58]Method: POST [23:00:58]URL: /json_proto [23:00:58]Method is POST - this is cgi request [23:00:58]url: /json_proto [23:00:58]query_string will be loaded in cgi processing [23:00:58]execute_cgi json_proto POST (null) [23:00:58]execute_cgi path=json_proto method=POST [23:00:58]POST find Content-Length [23:00:58]Host: 172.17.32.68:8080 [23:00:58]Content-Length: 703 [23:00:58]Content-Type: application/json [23:00:58] [23:00:58]POST finish read [23:00:58]Found Content-Length = 703 [23:00:58]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242314", "tax_sys" : 0, "items" : [ { "code": "46230966", "name": "\u041A\u043E\u043D\u0444 Meller \u0441\u0442\u0438\u043A \u0441\u043E\u043B\u0435\u043D\u0430\u044F \u043A\u0430\u0440\u0430\u043C\u0435\u043B\u044C 8*24", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 75.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:00:58]execute_script... [23:00: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)242314", "tax_sys" : 0, "items" : [ { "code": "46230966", "name": "\u041A\u043E\u043D\u0444 Meller \u0441\u0442\u0438\u043A \u0441\u043E\u043B\u0435\u043D\u0430\u044F \u043A\u0430\u0440\u0430\u043C\u0435\u043B\u044C 8*24", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 75.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:00:58]POST & json_proto [23:00:58]process_json_proto [23:00:58]json parsed OK: [23:00:58]protocol is kg_v1.0 [23:00:58]action value=close_receipt [23:00:58]process_action close_receipt [23:00:58]cmd_close_receipt [23:00:58]MH_GetDate [23:00:58]Write to MH i2c: F0 00 00 30 63 82 [23:00:58]Write i2c OK [23:00:58]MH_I2C_Read... [23:00:58]Read from MH i2c: F0 [23:00:58]MH_I2C_Read... [23:00:58]Read from MH i2c: F0 09 00 [23:00:58]MH_I2C_Read... [23:00:58]Read from MH i2c: F0 09 00 30 63 00 BC DE F0 65 0A 64 6E 65 BB [23:00:58]GetLastDocTimeStamp 1710283632 [23:00:58]current date 1710284476 [23:00:58]FM_GetShiftState [23:00:58]SAM_PROTO_GetShiftState [23:00:58]wFMCommunicate request_size=4 [23:00:58]MH_SAM_APDU [23:00:58]CAPDU: 80 13 01 00 [23:00:58]Write to MH i2c: E2 08 00 31 63 80 13 01 00 00 00 00 00 11 [23:00:58]Write i2c OK [23:00:58]MH_I2C_Read... [23:00:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:00:58]Read from MH i2c: E2 [23:00:58]MH_I2C_Read... [23:00:58]Read from MH i2c: E2 0E 00 [23:00:58]MH_I2C_Read... [23:00:58]Read from MH i2c: E2 0E 00 31 63 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 40 [23:00:58]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [23:00:58]wFMCommunicate OK [23:00:58]SAM_PROTO_GetShiftState done [23:00:58]FM_GetShiftState done [23:00:58]opened in 1710202417 [23:00:58]opened+sec_in_day 1710288817 [23:00:58]quantity*price = 7500 [23:00:58]sum+1 = 7501 [23:00:58]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 75.00 НСП 1% : 0.66 НДС 12% : 7.96 Наличными: 75.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 80 12.03.2024 23:01 Смена: 314 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47402 ФПД: 114697497244438 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T230116&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47402&fm=114697497244438&tin=02508201610067®Number=0000000000092018&sum=7500 0 [23:00:59]StoreToDocumentArchive [23:00:59]shift 314 fd 47402 [23:00:59]save to /storage/0314/doc_00047402 [23:00:59]save last doc name /storage/0314/doc_00047402 to /storage/kkm_last_doc_name [23:00:59]save OK [23:00:59]Clear old archive folders... [23:00:59]ProcessDocumentItem done err = 0, tmpTLVsize=298 [23:00:59]tlvbuf is 003722A0 [23:00:59]SAM_PROTO_ClearQueue [23:00:59]wFMCommunicate request_size=4 [23:00:59]MH_SAM_APDU [23:00:59]CAPDU: 80 09 00 00 [23:00:59]Write to MH i2c: E2 08 00 3E 63 80 09 00 00 00 00 00 00 13 [23:00:59]Write i2c OK [23:00:59]MH_I2C_Read... [23:00:59]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:00:59]Read from MH i2c: E2 [23:00:59]MH_I2C_Read... [23:00:59]Read from MH i2c: E2 03 00 [23:00:59]MH_I2C_Read... [23:00:59]Read from MH i2c: E2 03 00 3E 63 00 90 00 15 [23:00:59]RAPDU: 90 00 [23:00:59]wFMCommunicate OK [23:00:59]SAM_PROTO_ClearQueue done [23:00:59]KKMCreateOFDPacket [23:00:59]OFDProtocolAddRootSTLVToBuf [23:00:59]FM_MakeSignedData [23:00:59]FM_MakeSignedData [23:00:59]SAM_PROTO_SignData [23:00:59]wFMCommunicate request_size=4 [23:00:59]MH_SAM_APDU [23:00:59]CAPDU: 80 0D 01 02 [23:00:59]Write to MH i2c: E2 08 00 3F 63 80 0D 01 02 00 00 00 00 1B [23:00:59]Write i2c OK [23:00:59]MH_I2C_Read... [23:00:59]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:00:59]Read from MH i2c: E2 [23:00:59]MH_I2C_Read... [23:00:59]Read from MH i2c: E2 03 00 [23:00:59]MH_I2C_Read... [23:00:59]Read from MH i2c: E2 03 00 3F 63 00 90 00 16 [23:00:59]RAPDU: 90 00 [23:00:59]wFMCommunicate OK [23:00:59]wFMCommunicate request_size=255 [23:00:59]MH_SAM_APDU [23:00:59]CAPDU: 80 0D 02 02 FA 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 08 00 34 36 32 33 30 39 36 36 06 04 3D 00 D0 9A D0 BE D0 BD D1 84 20 4D 65 6C 6C 65 72 20 D1 81 D1 82 D0 B8 D0 BA 20 D1 81 D0 BE D0 BB D0 B5 D0 BD D0 B0 D1 8F 20 D0 BA D0 B0 D1 80 D0 B0 D0 BC D0 B5 D0 BB D1 8C 20 38 2A 32 34 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 4C 1D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 50 00 00 00 F4 03 04 00 BC DE F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 [23:00:59]Write to MH i2c: E2 02 01 40 63 80 0D 02 02 FA 00 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 08 00 34 36 32 33 30 39 36 36 06 04 3D 00 D0 9A D0 BE D0 BD D1 84 20 4D 65 6C 6C 65 72 20 D1 81 D1 82 D0 B8 D0 BA 20 D1 81 D0 BE D0 BB D0 B5 D0 BD D0 B0 D1 8F 20 D0 BA D0 B0 D1 80 D0 B0 D0 BC D0 B5 D0 BB D1 8C 20 38 2A 32 34 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 4C 1D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 50 00 00 00 F4 03 04 00 BC DE F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 00 00 89 [23:00:59]Write i2c OK [23:00:59]MH_I2C_Read... [23:01:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:01:00]Read from MH i2c: E2 [23:01:00]MH_I2C_Read... [23:01:00]Read from MH i2c: E2 03 00 [23:01:00]MH_I2C_Read... [23:01:00]Read from MH i2c: E2 03 00 40 63 00 90 00 17 [23:01:00]RAPDU: 90 00 [23:01:00]wFMCommunicate OK [23:01:00]wFMCommunicate request_size=57 [23:01:00]MH_SAM_APDU [23:01:00]CAPDU: 80 0D 02 02 34 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 2A B9 00 00 35 04 06 00 68 51 17 94 73 16 [23:01:00]Write to MH i2c: E2 3C 00 41 63 80 0D 02 02 34 00 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 2A B9 00 00 35 04 06 00 68 51 17 94 73 16 00 00 A5 [23:01:00]Write i2c OK [23:01:00]MH_I2C_Read... [23:01:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:01:00]Read from MH i2c: E2 [23:01:00]MH_I2C_Read... [23:01:00]Read from MH i2c: E2 03 00 [23:01:00]MH_I2C_Read... [23:01:00]Read from MH i2c: E2 03 00 41 63 00 90 00 18 [23:01:00]RAPDU: 90 00 [23:01:00]wFMCommunicate OK [23:01:00]wFMCommunicate request_size=4 [23:01:00]MH_SAM_APDU [23:01:00]CAPDU: 80 0D 03 02 [23:01:00]Write to MH i2c: E2 08 00 42 63 80 0D 03 02 00 00 00 00 20 [23:01:00]Write i2c OK [23:01:00]MH_I2C_Read... [23:01:00]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:01:00]Read from MH i2c: E2 [23:01:00]MH_I2C_Read... [23:01:00]Read from MH i2c: E2 0B 00 [23:01:00]MH_I2C_Read... [23:01:00]Read from MH i2c: E2 0B 00 42 63 00 F6 03 3D 87 F8 68 18 E6 90 00 3C [23:01:00]RAPDU: F6 03 3D 87 F8 68 18 E6 90 00 [23:01:00]wFMCommunicate OK [23:01:00]SAM_PROTO_SignData done [23:01:00]FM_MakeSignedData done [23:01:00]CreateOFDProtocolMessage [23:01:00]wFMCommunicate request_size=4 [23:01:00]MH_SAM_APDU [23:01:00]CAPDU: 80 11 00 00 [23:01:00]Write to MH i2c: E2 08 00 43 63 80 11 00 00 00 00 00 00 20 [23:01:00]Write i2c OK [23:01:00]MH_I2C_Read... [23:01:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:01:00]Read from MH i2c: E2 [23:01:00]MH_I2C_Read... [23:01:00]Read from MH i2c: E2 17 00 [23:01:00]MH_I2C_Read... [23:01:00]Read from MH i2c: E2 17 00 43 63 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 72 [23:01:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [23:01:00]wFMCommunicate OK [23:01:00]CreateOFDProtocolMessage done [23:01:00]OFDSenderStorePacket 47402 [23:01:00]StoreOFDPacket docnum=47402 [23:01:00]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 3E 01 00 00 5A E2 36 01 B5 64 5A 03 01 00 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 08 00 34 36 32 33 30 39 36 36 06 04 3D 00 D0 9A D0 BE D0 BD D1 84 20 4D 65 6C 6C 65 72 20 D1 81 D1 82 D0 B8 D0 BA 20 D1 81 D0 BE D0 BB D0 B5 D0 BD D0 B0 D1 8F 20 D0 BA D0 B0 D1 80 D0 B0 D0 BC D0 B5 D0 BB D1 8C 20 38 2A 32 34 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 4C 1D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 50 00 00 00 F4 03 04 00 BC DE F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 2A B9 00 00 35 04 06 00 68 51 17 94 73 16 F6 03 3D 87 F8 68 18 E6 [23:01:00]CheckFolder [23:01:00]dirname=/storage/ofd_packets [23:01:00]CheckFolder done [23:01:00]ProducePacketName [23:01:00]name=ofd_packets/00047402 [23:01:00]NVStorageSaveData ofd_packets/00047402 [23:01:00]File name is /storage/ofd_packets/00047402 [23:01:00]Write 348 bytes [23:01:00]NVStorageSaveData done [23:01:00]OFDSenderStorePacket done [23:01:00]KKMCreateOFDPacket done [23:01:00]NVStorageSaveData kkm_last_timestamp [23:01:00]File name is /storage/kkm_last_timestamp [23:01:00]Write 4 bytes [23:01:00]NVStorageSaveData done [23:01:00]ExternCall_PrintAddStr [23:01:00]wPrintStart [23:01:00]Write to MH i2c: 01 00 00 44 63 A7 [23:01:00]Write i2c OK [23:01:00]MH_I2C_Read... [23:01:00]Read from MH i2c: 01 [23:01:00]MH_I2C_Read... [23:01:00]Read from MH i2c: 01 07 00 [23:01:00]MH_I2C_Read... [23:01:00]Read from MH i2c: 01 07 00 44 63 00 00 00 00 00 FF 0F BC [23:01:00]RasterBufferAndPrint [23:01:00]line Счет N : (3)242314 [23:01:00]line ИНН: 02508201610067 [23:01:00]line Контрольно-Кассовый Чек [23:01:00]line ПРОДАЖА [23:01:00]line Товар: 46230966 [23:01:00]line Конф Meller стик соленая карамель 8*24 [23:01:00]line 1.000 * 75.00 [23:01:00]line = 75.00 [23:01:00]line НДС 12% НСП 1% [23:01:00]line > о реализуемом товаре [23:01:00]line ИТОГО: 75.00 [23:01:00]line НСП 1% : 0.66 [23:01:00]line НДС 12% : 7.96 [23:01:00]line Наличными: 75.00 [23:01:00]line Безнал.: 0.00 [23:01:00]line Место: АЗС № 15 "Партнер Нефть" [23:01:00]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [23:01:00]line СНО: Общий режим [23:01:00]line Чек 80 12.03.2024 23:01 [23:01:00]line Смена: 314 ФФД: 1.0 [23:01:00]line ЗНМ: 0300000097 [23:01:00]line РНМ: 0000000000092018 [23:01:00]line Версия ККМ: 001 [23:01:00]line ФМ: 0000000000871816 [23:01:00]line ФД: 47402 [23:01:00]line ФПД: 114697497244438 [23:01:00]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T230116&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47402&fm=114697497244438&tin=02508201610067®Number=0000000000092018&sum=7500 [23:01:00]OFD Sender: Processing packet 47402 [packets to send 8, broken 7] [23:01:00]ProducePacketName [23:01:00]name=ofd_packets/00047402 [23:01:00]OFD Sender: To server: pG, [23:01:00]CommunicateWithHost lk.salyk.kg:30040 [23:01:00]ConnectInit lk.salyk.kg [23:01:00]line 0 [23:01:00]written 0, free lines is 4095 [23:01:00]Connected sock=10 [23:01: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 31 36 3E 01 00 00 5A E2 36 01 B5 64 5A 03 01 00 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 08 00 34 36 32 33 30 39 36 36 06 04 3D 00 D0 9A D0 BE D0 BD D1 84 20 4D 65 6C 6C 65 72 20 D1 81 D1 82 D0 B8 D0 BA 20 D1 81 D0 BE D0 BB D0 B5 D0 BD D0 B0 D1 8F 20 D0 BA D0 B0 D1 80 D0 B0 D0 BC D0 B5 D0 BB D1 8C 20 38 2A 32 34 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 4C 1D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 50 00 00 00 F4 03 04 00 BC DE F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 2A B9 00 00 35 04 06 00 68 51 17 94 73 16 F6 03 3D 87 F8 68 18 E6 [23:01: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 31 36 4F 00 00 00 75 F6 47 00 6A 80 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 31 36 10 04 04 00 2A B9 00 00 F4 03 04 00 4D 89 F0 65 B6 04 01 00 00 24 95 21 18 51 DD FB E6 [23:01:00]CommunicateWithHost err = 0 [23:01:00]CheckOFDResponse [23:01:00]1017 (14) - 77093643461234 [23:01:00]1041 (16) - 0000000000871816 [23:01:00]1040 (4) - 47402 [23:01:00]1012 (4) - 12.03.2024 16:56 [23:01:00]1206 (1) - 0 [23:01:00]OFD Sender: Remove packet 47402 [23:01:00]ProducePacketName [23:01:00]name=ofd_packets/00047402 [23:01:00]NVStorageDeleteData [23:01:01]Write to MH i2c: 01 00 00 6D 63 D0 [23:01:01]Write i2c OK [23:01:01]MH_I2C_Read... [23:01:01]Read from MH i2c: 01 [23:01:01]MH_I2C_Read... [23:01:01]Read from MH i2c: 01 07 00 [23:01:01]MH_I2C_Read... [23:01:01]Read from MH i2c: 01 07 00 6D 63 00 00 00 00 00 D4 0C B7 [23:01:01]RasterBufferAndPrint [23:01:01]line [23:01:01]line [23:01:01]line [23:01:01]line [23:01:01]line [23:01:01]written 0, free lines is 3290 [23:01:01]MH_Cut [23:01:01]Write to MH i2c: D1 01 00 74 63 01 A9 [23:01:01]Write i2c OK [23:01:01]MH_I2C_Read... [23:01:01]Read from MH i2c: D1 [23:01:01]MH_I2C_Read... [23:01:01]Read from MH i2c: D1 01 00 [23:01:01]MH_I2C_Read... [23:01:01]Read from MH i2c: D1 01 00 74 63 00 A8 [23:01:01]Write to MH i2c: 01 00 00 75 63 D8 [23:01:01]Write i2c OK [23:01:01]MH_I2C_Read... [23:01:01]OFD Sender: No OFD packet to send [23:01:01]*** Cut start [23:01:01]*** Purtial cut [23:01:01]*** Stage 1: CUTSNS_PIN = 1 [23:01:02]Read from MH i2c: 01 [23:01:02]MH_I2C_Read... [23:01:02]*** Stop cut motor [23:01:02]*** Cut end [23:01:02]Read from MH i2c: 01 07 00 [23:01:02]MH_I2C_Read... [23:01:02]Read from MH i2c: 01 07 00 75 63 00 00 00 00 00 FF 0F ED [23:01:02]process_action close_receipt done [23:01:02]requested_data is exist [23:01:02]produce_requested_data [23:01:02]requested_item fm.sn is exist - process it [23:01:02]wFMCommunicate request_size=4 [23:01:02]MH_SAM_APDU [23:01:02]CAPDU: 80 11 00 00 [23:01:02]Write to MH i2c: E2 08 00 76 63 80 11 00 00 00 00 00 00 53 [23:01:02]Write i2c OK [23:01:02]MH_I2C_Read... [23:01:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:01:02]Read from MH i2c: E2 [23:01:02]MH_I2C_Read... [23:01:02]Read from MH i2c: E2 17 00 [23:01:02]MH_I2C_Read... [23:01:02]Read from MH i2c: E2 17 00 76 63 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 A5 [23:01:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [23:01:02]wFMCommunicate OK [23:01:02]requested_item fd.num is exist - process it [23:01:02]SAM_PROTO_GetFieldsCounters [23:01:02]wFMCommunicate request_size=4 [23:01:02]MH_SAM_APDU [23:01:02]CAPDU: 80 13 00 00 [23:01:02]Write to MH i2c: E2 08 00 77 63 80 13 00 00 00 00 00 00 56 [23:01:02]Write i2c OK [23:01:02]MH_I2C_Read... [23:01:02]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:01:02]Read from MH i2c: E2 [23:01:02]MH_I2C_Read... [23:01:02]Read from MH i2c: E2 62 00 [23:01:02]MH_I2C_Read... [23:01:02]Read from MH i2c: E2 62 00 77 63 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 2A B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 50 00 00 00 5E 04 04 00 50 00 00 00 57 04 04 00 51 00 00 00 19 04 04 00 00 00 00 00 90 00 7F [23:01: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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 2A B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 50 00 00 00 5E 04 04 00 50 00 00 00 57 04 04 00 51 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:01:02]wFMCommunicate OK [23:01:02]SAM_PROTO_GetFieldsCounters done [23:01:02]requested_item shift.num is exist - process it [23:01:02]requested_item shift.opened is exist - process it [23:01:02]req_shift_opened [23:01:02]FM_GetShiftState [23:01:02]SAM_PROTO_GetShiftState [23:01:02]wFMCommunicate request_size=4 [23:01:02]MH_SAM_APDU [23:01:02]CAPDU: 80 13 01 00 [23:01:02]Write to MH i2c: E2 08 00 78 63 80 13 01 00 00 00 00 00 58 [23:01:02]Write i2c OK [23:01:02]MH_I2C_Read... [23:01:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:01:02]Read from MH i2c: E2 [23:01:02]MH_I2C_Read... [23:01:02]Read from MH i2c: E2 0E 00 [23:01:02]MH_I2C_Read... [23:01:02]Read from MH i2c: E2 0E 00 78 63 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 87 [23:01:02]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [23:01:02]wFMCommunicate OK [23:01:02]SAM_PROTO_GetShiftState done [23:01:02]FM_GetShiftState done [23:01:02]req_shift_opened done [23:01:02]requested_item shift.open_date is exist - process it [23:01:02]req_shift_open_date [23:01:02]req_shift_open_date done [23:01:02]produce_requested_data done [23:01:02]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47402,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [23:01:02]process_action_free close_receipt [23:01:02]json_value_free [23:01:02]json_value_free done [23:01:02]process_json_proto returns [23:01:02]Send response to host [23:01:02]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47402,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [23:01:02]free response buf [23:01:02]execute_script done [23:01:02]execute_script returns [23:01:02]free content buf [23:01:02]Sock 7.Close socket [23:01:02]Sock 7.Thread stoped [23:01:06]OFD Sender: No OFD packet to send [23:01:11]OFD Sender: No OFD packet to send [23:01:16]OFD Sender: No OFD packet to send [23:01:21]OFD Sender: No OFD packet to send [23:01:26]OFD Sender: No OFD packet to send [23:01:31]OFD Sender: No OFD packet to send [23:01:36]OFD Sender: No OFD packet to send [23:01:41]OFD Sender: No OFD packet to send [23:01:46]OFD Sender: No OFD packet to send [23:01:51]OFD Sender: No OFD packet to send [23:01:56]OFD Sender: No OFD packet to send [23:02:01]OFD Sender: No OFD packet to send [23:02:06]OFD Sender: No OFD packet to send [23:02:11]OFD Sender: No OFD packet to send [23:02:16]OFD Sender: No OFD packet to send [23:02:21]OFD Sender: No OFD packet to send [23:02:26]OFD Sender: No OFD packet to send [23:02:31]OFD Sender: No OFD packet to send [23:02:36]OFD Sender: No OFD packet to send [23:02:41]OFD Sender: No OFD packet to send [23:02:46]OFD Sender: No OFD packet to send [23:02:51]OFD Sender: No OFD packet to send [23:02:56]OFD Sender: No OFD packet to send [23:03:01]OFD Sender: No OFD packet to send [23:03:06]OFD Sender: No OFD packet to send [23:03:11]OFD Sender: No OFD packet to send [23:03:16]OFD Sender: No OFD packet to send [23:03:21]OFD Sender: No OFD packet to send [23:03:26]OFD Sender: No OFD packet to send [23:03:31]OFD Sender: No OFD packet to send [23:03:41]OFD Sender: No OFD packet to send [23:03:46]OFD Sender: No OFD packet to send [23:03:51]OFD Sender: No OFD packet to send [23:03:51]recv_with_timeout no data received [23:03:56]OFD Sender: No OFD packet to send [23:04:01]OFD Sender: No OFD packet to send [23:04:06]OFD Sender: No OFD packet to send [23:04:10]accept exits with 9 [23:04:10]New connection [23:04:10]New thread 3066596708 created [23:04:10]Thread 3066453348 joined [23:04:10]Waiting for new connection... [23:04:10] Sock 9.Parse request [23:04:10]Sock 9.Check first char [23:04:10]Sock 9.First char is OK [23:04:10]request: POST /json_proto HTTP/1.0 [23:04:10]Method: POST [23:04:10]URL: /json_proto [23:04:10]Method is POST - this is cgi request [23:04:10]url: /json_proto [23:04:10]query_string will be loaded in cgi processing [23:04:10]execute_cgi json_proto POST (null) [23:04:10]execute_cgi path=json_proto method=POST [23:04:10]POST find Content-Length [23:04:10]Host: 172.17.32.68:8080 [23:04:10]Content-Length: 680 [23:04:10]Content-Type: application/json [23:04:10] [23:04:10]POST finish read [23:04:10]Found Content-Length = 680 [23:04:10]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242315", "tax_sys" : 0, "items" : [ { "code": "4700452010610", "name": "\u041A\u043E\u0444\u0435 \u043A\u0430\u043F\u0443\u0447\u0438\u043D\u043E 200\u043C\u043B (\u0410\u041A\u0426\u0418\u042F)", "price" : 105.00, "quantity" : 3.000, "sum" : 315.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 315.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:04:10]execute_script... [23:04:10]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242315", "tax_sys" : 0, "items" : [ { "code": "4700452010610", "name": "\u041A\u043E\u0444\u0435 \u043A\u0430\u043F\u0443\u0447\u0438\u043D\u043E 200\u043C\u043B (\u0410\u041A\u0426\u0418\u042F)", "price" : 105.00, "quantity" : 3.000, "sum" : 315.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 315.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:04:10]POST & json_proto [23:04:10]process_json_proto [23:04:10]json parsed OK: [23:04:10]protocol is kg_v1.0 [23:04:10]action value=close_receipt [23:04:10]process_action close_receipt [23:04:10]cmd_close_receipt [23:04:10]MH_GetDate [23:04:10]Write to MH i2c: F0 00 00 79 63 CB [23:04:10]Write i2c OK [23:04:10]MH_I2C_Read... [23:04:10]Read from MH i2c: F0 [23:04:10]MH_I2C_Read... [23:04:10]Read from MH i2c: F0 09 00 [23:04:10]MH_I2C_Read... [23:04:10]Read from MH i2c: F0 09 00 79 63 00 7C DF F0 65 0A 64 6E 65 C5 [23:04:10]GetLastDocTimeStamp 1710284476 [23:04:10]current date 1710284668 [23:04:10]FM_GetShiftState [23:04:10]SAM_PROTO_GetShiftState [23:04:10]wFMCommunicate request_size=4 [23:04:10]MH_SAM_APDU [23:04:10]CAPDU: 80 13 01 00 [23:04:10]Write to MH i2c: E2 08 00 7A 63 80 13 01 00 00 00 00 00 5A [23:04:10]Write i2c OK [23:04:10]MH_I2C_Read... [23:04:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:04:10]Read from MH i2c: E2 [23:04:10]MH_I2C_Read... [23:04:10]Read from MH i2c: E2 0E 00 [23:04:10]MH_I2C_Read... [23:04:10]Read from MH i2c: E2 0E 00 7A 63 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 89 [23:04:10]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [23:04:10]wFMCommunicate OK [23:04:10]SAM_PROTO_GetShiftState done [23:04:10]FM_GetShiftState done [23:04:10]opened in 1710202417 [23:04:10]opened+sec_in_day 1710288817 [23:04:10]quantity*price = 31500 [23:04:10]sum+1 = 31501 [23:04:10]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 315.00 НСП 1% : 2.79 НДС 12% : 33.45 Наличными: 315.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 81 12.03.2024 23:04 Смена: 314 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47403 ФПД: 258051642215075 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T230428&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47403&fm=258051642215075&tin=02508201610067®Number=0000000000092018&sum=31500 0 [23:04:11]StoreToDocumentArchive [23:04:11]shift 314 fd 47403 [23:04:11]save to /storage/0314/doc_00047403 [23:04:11]save last doc name /storage/0314/doc_00047403 to /storage/kkm_last_doc_name [23:04:11]save OK [23:04:11]Clear old archive folders... [23:04:11]ProcessDocumentItem done err = 0, tmpTLVsize=288 [23:04:11]tlvbuf is 00371B60 [23:04:11]SAM_PROTO_ClearQueue [23:04:11]wFMCommunicate request_size=4 [23:04:11]MH_SAM_APDU [23:04:11]CAPDU: 80 09 00 00 [23:04:11]Write to MH i2c: E2 08 00 87 63 80 09 00 00 00 00 00 00 5C [23:04:11]Write i2c OK [23:04:11]MH_I2C_Read... [23:04:11]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:04:11]Read from MH i2c: E2 [23:04:11]MH_I2C_Read... [23:04:11]Read from MH i2c: E2 03 00 [23:04:11]MH_I2C_Read... [23:04:11]Read from MH i2c: E2 03 00 87 63 00 90 00 5E [23:04:11]RAPDU: 90 00 [23:04:11]wFMCommunicate OK [23:04:11]SAM_PROTO_ClearQueue done [23:04:11]KKMCreateOFDPacket [23:04:11]OFDProtocolAddRootSTLVToBuf [23:04:11]FM_MakeSignedData [23:04:11]FM_MakeSignedData [23:04:11]SAM_PROTO_SignData [23:04:11]wFMCommunicate request_size=4 [23:04:11]MH_SAM_APDU [23:04:11]CAPDU: 80 0D 01 02 [23:04:11]Write to MH i2c: E2 08 00 88 63 80 0D 01 02 00 00 00 00 64 [23:04:11]Write i2c OK [23:04:11]MH_I2C_Read... [23:04:11]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:04:11]Read from MH i2c: E2 [23:04:11]MH_I2C_Read... [23:04:11]Read from MH i2c: E2 03 00 [23:04:11]MH_I2C_Read... [23:04:11]Read from MH i2c: E2 03 00 88 63 00 90 00 5F [23:04:11]RAPDU: 90 00 [23:04:11]wFMCommunicate OK [23:04:11]wFMCommunicate request_size=255 [23:04:11]MH_SAM_APDU [23:04:11]CAPDU: 80 0D 02 02 FA 03 00 20 01 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 34 37 30 30 34 35 32 30 31 30 36 31 30 06 04 2E 00 D0 9A D0 BE D1 84 D0 B5 20 D0 BA D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 32 30 30 D0 BC D0 BB 20 28 D0 90 D0 9A D0 A6 D0 98 D0 AF 29 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 FC 03 06 00 0C 7B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 17 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 11 0D 00 00 00 00 07 04 06 00 0C 7B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 51 00 00 00 F4 03 04 00 7C DF F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 [23:04:11]Write to MH i2c: E2 02 01 89 63 80 0D 02 02 FA 00 03 00 20 01 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 34 37 30 30 34 35 32 30 31 30 36 31 30 06 04 2E 00 D0 9A D0 BE D1 84 D0 B5 20 D0 BA D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 32 30 30 D0 BC D0 BB 20 28 D0 90 D0 9A D0 A6 D0 98 D0 AF 29 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 FC 03 06 00 0C 7B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 17 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 11 0D 00 00 00 00 07 04 06 00 0C 7B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 51 00 00 00 F4 03 04 00 7C DF F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 00 00 C4 [23:04:11]Write i2c OK [23:04:11]MH_I2C_Read... [23:04:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:04:12]Read from MH i2c: E2 [23:04:12]MH_I2C_Read... [23:04:12]Read from MH i2c: E2 03 00 [23:04:12]MH_I2C_Read... [23:04:12]Read from MH i2c: E2 03 00 89 63 00 90 00 60 [23:04:12]RAPDU: 90 00 [23:04:12]wFMCommunicate OK [23:04:12]wFMCommunicate request_size=47 [23:04:12]MH_SAM_APDU [23:04:12]CAPDU: 80 0D 02 02 2A 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 2B B9 00 00 35 04 06 00 EA B2 54 77 CA A3 [23:04:12]Write to MH i2c: E2 32 00 8A 63 80 0D 02 02 2A 00 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 2B B9 00 00 35 04 06 00 EA B2 54 77 CA A3 00 00 D9 [23:04:12]Write i2c OK [23:04:12]MH_I2C_Read... [23:04:12]Read from MH i2c: E2 [23:04:12]MH_I2C_Read... [23:04:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:04:12]Read from MH i2c: E2 03 00 [23:04:12]MH_I2C_Read... [23:04:12]Read from MH i2c: E2 03 00 8A 63 00 90 00 61 [23:04:12]RAPDU: 90 00 [23:04:12]wFMCommunicate OK [23:04:12]wFMCommunicate request_size=4 [23:04:12]MH_SAM_APDU [23:04:12]CAPDU: 80 0D 03 02 [23:04:12]Write to MH i2c: E2 08 00 8B 63 80 0D 03 02 00 00 00 00 69 [23:04:12]Write i2c OK [23:04:12]MH_I2C_Read... [23:04:12]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:04:12]Read from MH i2c: E2 [23:04:12]MH_I2C_Read... [23:04:12]Read from MH i2c: E2 0B 00 [23:04:12]MH_I2C_Read... [23:04:12]Read from MH i2c: E2 0B 00 8B 63 00 ED D3 D5 AA 4B F0 1F 12 90 00 15 [23:04:12]RAPDU: ED D3 D5 AA 4B F0 1F 12 90 00 [23:04:12]wFMCommunicate OK [23:04:12]SAM_PROTO_SignData done [23:04:12]FM_MakeSignedData done [23:04:12]CreateOFDProtocolMessage [23:04:12]wFMCommunicate request_size=4 [23:04:12]MH_SAM_APDU [23:04:12]CAPDU: 80 11 00 00 [23:04:12]Write to MH i2c: E2 08 00 8C 63 80 11 00 00 00 00 00 00 69 [23:04:12]Write i2c OK [23:04:12]MH_I2C_Read... [23:04:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:04:12]Read from MH i2c: E2 [23:04:12]MH_I2C_Read... [23:04:12]Read from MH i2c: E2 17 00 [23:04:12]MH_I2C_Read... [23:04:12]Read from MH i2c: E2 17 00 8C 63 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 BB [23:04:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [23:04:12]wFMCommunicate OK [23:04:12]CreateOFDProtocolMessage done [23:04:12]OFDSenderStorePacket 47403 [23:04:12]StoreOFDPacket docnum=47403 [23:04:12]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 34 01 00 00 F7 98 2C 01 F3 72 5A 03 01 00 03 00 20 01 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 34 37 30 30 34 35 32 30 31 30 36 31 30 06 04 2E 00 D0 9A D0 BE D1 84 D0 B5 20 D0 BA D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 32 30 30 D0 BC D0 BB 20 28 D0 90 D0 9A D0 A6 D0 98 D0 AF 29 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 FC 03 06 00 0C 7B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 17 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 11 0D 00 00 00 00 07 04 06 00 0C 7B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 51 00 00 00 F4 03 04 00 7C DF F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 2B B9 00 00 35 04 06 00 EA B2 54 77 CA A3 ED D3 D5 AA 4B F0 1F 12 [23:04:12]CheckFolder [23:04:12]dirname=/storage/ofd_packets [23:04:12]CheckFolder done [23:04:12]ProducePacketName [23:04:12]name=ofd_packets/00047403 [23:04:12]NVStorageSaveData ofd_packets/00047403 [23:04:12]File name is /storage/ofd_packets/00047403 [23:04:12]Write 338 bytes [23:04:12]NVStorageSaveData done [23:04:12]OFDSenderStorePacket done [23:04:12]KKMCreateOFDPacket done [23:04:12]NVStorageSaveData kkm_last_timestamp [23:04:12]File name is /storage/kkm_last_timestamp [23:04:12]Write 4 bytes [23:04:12]NVStorageSaveData done [23:04:12]ExternCall_PrintAddStr [23:04:12]wPrintStart [23:04:12]Write to MH i2c: 01 00 00 8D 63 F0 [23:04:12]Write i2c OK [23:04:12]MH_I2C_Read... [23:04:12]Read from MH i2c: 01 [23:04:12]MH_I2C_Read... [23:04:12]Read from MH i2c: 01 07 00 [23:04:12]MH_I2C_Read... [23:04:12]Read from MH i2c: 01 07 00 8D 63 00 00 00 00 00 FF 0F 05 [23:04:12]RasterBufferAndPrint [23:04:12]line Счет N : (3)242315 [23:04:12]line ИНН: 02508201610067 [23:04:12]line Контрольно-Кассовый Чек [23:04:12]line ПРОДАЖА [23:04:12]line Товар: 4700452010610 [23:04:12]line Кофе капучино 200мл (АКЦИЯ) [23:04:12]line 3.000 * 105.00 [23:04:12]line = 315.00 [23:04:12]line НДС 12% НСП 1% [23:04:12]line > о реализуемом товаре [23:04:12]line ИТОГО: 315.00 [23:04:12]line НСП 1% : 2.79 [23:04:12]line НДС 12% : 33.45 [23:04:12]line Наличными: 315.00 [23:04:12]line Безнал.: 0.00 [23:04:12]line Место: АЗС № 15 "Партнер Нефть" [23:04:12]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [23:04:12]line СНО: Общий режим [23:04:12]line Чек 81 12.03.2024 23:04 [23:04:12]line Смена: 314 ФФД: 1.0 [23:04:12]line ЗНМ: 0300000097 [23:04:12]line РНМ: 0000000000092018 [23:04:12]line Версия ККМ: 001 [23:04:12]line ФМ: 0000000000871816 [23:04:12]line ФД: 47403 [23:04:12]line ФПД: 258051642215075 [23:04:12]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T230428&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47403&fm=258051642215075&tin=02508201610067®Number=0000000000092018&sum=31500 [23:04:12]line 0 [23:04:12]OFD Sender: Processing packet 47403 [packets to send 8, broken 7] [23:04:12]ProducePacketName [23:04:12]name=ofd_packets/00047403 [23:04:12]OFD Sender: To server: pG, [23:04:12]CommunicateWithHost lk.salyk.kg:30040 [23:04:12]ConnectInit lk.salyk.kg [23:04:12]written 0, free lines is 4095 [23:04:13]Write to MH i2c: 01 00 00 B6 63 19 [23:04:13]Write i2c OK [23:04:13]MH_I2C_Read... [23:04:13]Read from MH i2c: 01 [23:04:13]MH_I2C_Read... [23:04:13]Read from MH i2c: 01 07 00 [23:04:13]MH_I2C_Read... [23:04:13]Read from MH i2c: 01 07 00 B6 63 00 00 00 00 00 DC 0C 08 [23:04:13]RasterBufferAndPrint [23:04:13]line [23:04:13]line [23:04:13]line [23:04:13]line [23:04:13]line [23:04:13]written 0, free lines is 3298 [23:04:13]MH_Cut [23:04:13]Write to MH i2c: D1 01 00 BD 63 01 F2 [23:04:13]Write i2c OK [23:04:13]MH_I2C_Read... [23:04:13]Read from MH i2c: D1 [23:04:13]MH_I2C_Read... [23:04:13]Read from MH i2c: D1 01 00 [23:04:13]MH_I2C_Read... [23:04:13]Read from MH i2c: D1 01 00 BD 63 00 F1 [23:04:13]Write to MH i2c: 01 00 00 BE 63 21 [23:04:13]Write i2c OK [23:04:13]MH_I2C_Read... [23:04:13]*** Cut start [23:04:13]*** Purtial cut [23:04:13]*** Stage 1: CUTSNS_PIN = 1 [23:04:14]Read from MH i2c: 01 [23:04:14]MH_I2C_Read... [23:04:14]*** Stop cut motor [23:04:14]*** Cut end [23:04:14]Read from MH i2c: 01 07 00 [23:04:14]MH_I2C_Read... [23:04:14]Read from MH i2c: 01 07 00 BE 63 00 00 00 00 00 FF 0F 36 [23:04:14]process_action close_receipt done [23:04:14]requested_data is exist [23:04:14]produce_requested_data [23:04:14]requested_item fm.sn is exist - process it [23:04:14]wFMCommunicate request_size=4 [23:04:14]MH_SAM_APDU [23:04:14]CAPDU: 80 11 00 00 [23:04:14]Write to MH i2c: E2 08 00 BF 63 80 11 00 00 00 00 00 00 9C [23:04:14]Write i2c OK [23:04:14]MH_I2C_Read... [23:04:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:04:14]Read from MH i2c: E2 [23:04:14]MH_I2C_Read... [23:04:14]Read from MH i2c: E2 17 00 [23:04:14]MH_I2C_Read... [23:04:14]Read from MH i2c: E2 17 00 BF 63 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 EE [23:04:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [23:04:14]wFMCommunicate OK [23:04:14]requested_item fd.num is exist - process it [23:04:14]SAM_PROTO_GetFieldsCounters [23:04:14]wFMCommunicate request_size=4 [23:04:14]MH_SAM_APDU [23:04:14]CAPDU: 80 13 00 00 [23:04:14]Write to MH i2c: E2 08 00 C0 63 80 13 00 00 00 00 00 00 9F [23:04:14]Write i2c OK [23:04:14]MH_I2C_Read... [23:04:14]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:04:14]Read from MH i2c: E2 [23:04:14]MH_I2C_Read... [23:04:14]Read from MH i2c: E2 62 00 [23:04:14]MH_I2C_Read... [23:04:14]Read from MH i2c: E2 62 00 C0 63 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 2B B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 51 00 00 00 5E 04 04 00 51 00 00 00 57 04 04 00 52 00 00 00 19 04 04 00 00 00 00 00 90 00 CC [23:04: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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 2B B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 51 00 00 00 5E 04 04 00 51 00 00 00 57 04 04 00 52 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:04:14]wFMCommunicate OK [23:04:14]SAM_PROTO_GetFieldsCounters done [23:04:14]requested_item shift.num is exist - process it [23:04:14]requested_item shift.opened is exist - process it [23:04:14]req_shift_opened [23:04:14]FM_GetShiftState [23:04:14]SAM_PROTO_GetShiftState [23:04:14]wFMCommunicate request_size=4 [23:04:14]MH_SAM_APDU [23:04:14]CAPDU: 80 13 01 00 [23:04:14]Write to MH i2c: E2 08 00 C1 63 80 13 01 00 00 00 00 00 A1 [23:04:14]Write i2c OK [23:04:14]MH_I2C_Read... [23:04:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:04:14]Read from MH i2c: E2 [23:04:14]MH_I2C_Read... [23:04:14]Read from MH i2c: E2 0E 00 [23:04:14]MH_I2C_Read... [23:04:14]Read from MH i2c: E2 0E 00 C1 63 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 D0 [23:04:14]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [23:04:14]wFMCommunicate OK [23:04:14]SAM_PROTO_GetShiftState done [23:04:14]FM_GetShiftState done [23:04:14]req_shift_opened done [23:04:14]requested_item shift.open_date is exist - process it [23:04:14]req_shift_open_date [23:04:14]req_shift_open_date done [23:04:14]produce_requested_data done [23:04:14]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47403,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [23:04:14]process_action_free close_receipt [23:04:14]json_value_free [23:04:14]json_value_free done [23:04:14]process_json_proto returns [23:04:14]Send response to host [23:04:14]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47403,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [23:04:14]free response buf [23:04:14]execute_script done [23:04:14]execute_script returns [23:04:14]free content buf [23:04:14]Sock 9.Close socket [23:04:14]Sock 9.Thread stoped [23:06:18]accept exits with 7 [23:06:18]New connection [23:06:18]New thread 3066453348 created [23:06:18]Thread 3066596708 joined [23:06:18]Waiting for new connection... [23:06:18] Sock 7.Parse request [23:06:18]Sock 7.Check first char [23:06:18]Sock 7.First char is OK [23:06:18]request: POST /json_proto HTTP/1.0 [23:06:18]Method: POST [23:06:18]URL: /json_proto [23:06:18]Method is POST - this is cgi request [23:06:18]url: /json_proto [23:06:18]query_string will be loaded in cgi processing [23:06:18]execute_cgi json_proto POST (null) [23:06:18]execute_cgi path=json_proto method=POST [23:06:18]POST find Content-Length [23:06:18]Host: 172.17.32.68:8080 [23:06:18]Content-Length: 632 [23:06:18]Content-Type: application/json [23:06:18] [23:06:18]POST finish read [23:06:18]Found Content-Length = 632 [23:06:18]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242316", "tax_sys" : 0, "items" : [ { "code": "4700000160204", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1,5\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:06:18]execute_script... [23:06: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)242316", "tax_sys" : 0, "items" : [ { "code": "4700000160204", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1,5\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:06:18]POST & json_proto [23:06:18]process_json_proto [23:06:18]json parsed OK: [23:06:18]protocol is kg_v1.0 [23:06:18]action value=close_receipt [23:06:18]process_action close_receipt [23:06:18]cmd_close_receipt [23:06:18]MH_GetDate [23:06:18]Write to MH i2c: F0 00 00 C2 63 14 [23:06:18]Write i2c OK [23:06:18]MH_I2C_Read... [23:06:18]Read from MH i2c: F0 [23:06:18]MH_I2C_Read... [23:06:18]Read from MH i2c: F0 09 00 [23:06:18]MH_I2C_Read... [23:06:18]Read from MH i2c: F0 09 00 C2 63 00 FC DF F0 65 0A 64 6E 65 8E [23:06:18]GetLastDocTimeStamp 1710284668 [23:06:18]current date 1710284796 [23:06:18]FM_GetShiftState [23:06:18]SAM_PROTO_GetShiftState [23:06:18]wFMCommunicate request_size=4 [23:06:18]MH_SAM_APDU [23:06:18]CAPDU: 80 13 01 00 [23:06:18]Write to MH i2c: E2 08 00 C3 63 80 13 01 00 00 00 00 00 A3 [23:06:18]Write i2c OK [23:06:18]MH_I2C_Read... [23:06:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:06:18]Read from MH i2c: E2 [23:06:18]MH_I2C_Read... [23:06:18]Read from MH i2c: E2 0E 00 [23:06:18]MH_I2C_Read... [23:06:18]Read from MH i2c: E2 0E 00 C3 63 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 D2 [23:06:18]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [23:06:18]wFMCommunicate OK [23:06:18]SAM_PROTO_GetShiftState done [23:06:18]FM_GetShiftState done [23:06:18]opened in 1710202417 [23:06:18]opened+sec_in_day 1710288817 [23:06:18]quantity*price = 6000 [23:06:18]sum+1 = 6001 [23:06:18]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 60.00 НСП 1% : 0.53 НДС 12% : 6.37 Наличными: 60.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 82 12.03.2024 23:06 Смена: 314 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47404 ФПД: 78251980199465 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T230636&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47404&fm=78251980199465&tin=02508201610067®Number=0000000000092018&sum=6000 0 [23:06:19]StoreToDocumentArchive [23:06:19]shift 314 fd 47404 [23:06:19]save to /storage/0314/doc_00047404 [23:06:19]save last doc name /storage/0314/doc_00047404 to /storage/kkm_last_doc_name [23:06:19]save OK [23:06:19]Clear old archive folders... [23:06:19]ProcessDocumentItem done err = 0, tmpTLVsize=271 [23:06:19]tlvbuf is 00284160 [23:06:19]SAM_PROTO_ClearQueue [23:06:19]wFMCommunicate request_size=4 [23:06:19]MH_SAM_APDU [23:06:19]CAPDU: 80 09 00 00 [23:06:19]Write to MH i2c: E2 08 00 D0 63 80 09 00 00 00 00 00 00 A5 [23:06:19]Write i2c OK [23:06:19]MH_I2C_Read... [23:06:19]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:06:19]Read from MH i2c: E2 [23:06:19]MH_I2C_Read... [23:06:19]Read from MH i2c: E2 03 00 [23:06:19]MH_I2C_Read... [23:06:19]Read from MH i2c: E2 03 00 D0 63 00 90 00 A7 [23:06:19]RAPDU: 90 00 [23:06:19]wFMCommunicate OK [23:06:19]SAM_PROTO_ClearQueue done [23:06:19]KKMCreateOFDPacket [23:06:19]OFDProtocolAddRootSTLVToBuf [23:06:19]FM_MakeSignedData [23:06:19]FM_MakeSignedData [23:06:19]SAM_PROTO_SignData [23:06:19]wFMCommunicate request_size=4 [23:06:19]MH_SAM_APDU [23:06:19]CAPDU: 80 0D 01 02 [23:06:19]Write to MH i2c: E2 08 00 D1 63 80 0D 01 02 00 00 00 00 AD [23:06:19]Write i2c OK [23:06:19]MH_I2C_Read... [23:06:19]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:06:19]Read from MH i2c: E2 [23:06:19]MH_I2C_Read... [23:06:19]Read from MH i2c: E2 03 00 [23:06:19]MH_I2C_Read... [23:06:19]Read from MH i2c: E2 03 00 D1 63 00 90 00 A8 [23:06:19]RAPDU: 90 00 [23:06:19]wFMCommunicate OK [23:06:19]wFMCommunicate request_size=255 [23:06:19]MH_SAM_APDU [23:06:19]CAPDU: 80 0D 02 02 FA 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 52 00 00 00 F4 03 04 00 FC DF F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 [23:06:19]Write to MH i2c: E2 02 01 D2 63 80 0D 02 02 FA 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 52 00 00 00 F4 03 04 00 FC DF F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 00 00 94 [23:06:19]Write i2c OK [23:06:19]MH_I2C_Read... [23:06:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:06:19]Read from MH i2c: E2 [23:06:19]MH_I2C_Read... [23:06:19]Read from MH i2c: E2 03 00 [23:06:19]MH_I2C_Read... [23:06:19]Read from MH i2c: E2 03 00 D2 63 00 90 00 A9 [23:06:19]RAPDU: 90 00 [23:06:19]wFMCommunicate OK [23:06:19]wFMCommunicate request_size=30 [23:06:19]MH_SAM_APDU [23:06:19]CAPDU: 80 0D 02 02 19 30 38 37 31 38 31 36 10 04 04 00 2C B9 00 00 35 04 06 00 47 2B 75 7B 96 29 [23:06:19]Write to MH i2c: E2 21 00 D3 63 80 0D 02 02 19 00 30 38 37 31 38 31 36 10 04 04 00 2C B9 00 00 35 04 06 00 47 2B 75 7B 96 29 00 00 AE [23:06:19]Write i2c OK [23:06:19]MH_I2C_Read... [23:06:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:06:20]Read from MH i2c: E2 [23:06:20]MH_I2C_Read... [23:06:20]Read from MH i2c: E2 03 00 [23:06:20]MH_I2C_Read... [23:06:20]Read from MH i2c: E2 03 00 D3 63 00 90 00 AA [23:06:20]RAPDU: 90 00 [23:06:20]wFMCommunicate OK [23:06:20]wFMCommunicate request_size=4 [23:06:20]MH_SAM_APDU [23:06:20]CAPDU: 80 0D 03 02 [23:06:20]Write to MH i2c: E2 08 00 D4 63 80 0D 03 02 00 00 00 00 B2 [23:06:20]Write i2c OK [23:06:20]MH_I2C_Read... [23:06:20]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:06:20]Read from MH i2c: E2 [23:06:20]MH_I2C_Read... [23:06:20]Read from MH i2c: E2 0B 00 [23:06:20]MH_I2C_Read... [23:06:20]Read from MH i2c: E2 0B 00 D4 63 00 60 CD 26 19 9A CF 7B 96 90 00 99 [23:06:20]RAPDU: 60 CD 26 19 9A CF 7B 96 90 00 [23:06:20]wFMCommunicate OK [23:06:20]SAM_PROTO_SignData done [23:06:20]FM_MakeSignedData done [23:06:20]CreateOFDProtocolMessage [23:06:20]wFMCommunicate request_size=4 [23:06:20]MH_SAM_APDU [23:06:20]CAPDU: 80 11 00 00 [23:06:20]Write to MH i2c: E2 08 00 D5 63 80 11 00 00 00 00 00 00 B2 [23:06:20]Write i2c OK [23:06:20]MH_I2C_Read... [23:06:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:06:20]Read from MH i2c: E2 [23:06:20]MH_I2C_Read... [23:06:20]Read from MH i2c: E2 17 00 [23:06:20]MH_I2C_Read... [23:06:20]Read from MH i2c: E2 17 00 D5 63 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 04 [23:06:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [23:06:20]wFMCommunicate OK [23:06:20]CreateOFDProtocolMessage done [23:06:20]OFDSenderStorePacket 47404 [23:06:20]StoreOFDPacket docnum=47404 [23:06:20]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 23 01 00 00 D2 22 1B 01 0D 78 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 52 00 00 00 F4 03 04 00 FC DF F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 2C B9 00 00 35 04 06 00 47 2B 75 7B 96 29 60 CD 26 19 9A CF 7B 96 [23:06:20]CheckFolder [23:06:20]dirname=/storage/ofd_packets [23:06:20]CheckFolder done [23:06:20]ProducePacketName [23:06:20]name=ofd_packets/00047404 [23:06:20]NVStorageSaveData ofd_packets/00047404 [23:06:20]File name is /storage/ofd_packets/00047404 [23:06:20]Write 321 bytes [23:06:20]NVStorageSaveData done [23:06:20]OFDSenderStorePacket done [23:06:20]KKMCreateOFDPacket done [23:06:20]NVStorageSaveData kkm_last_timestamp [23:06:20]File name is /storage/kkm_last_timestamp [23:06:20]Write 4 bytes [23:06:20]NVStorageSaveData done [23:06:20]ExternCall_PrintAddStr [23:06:20]wPrintStart [23:06:20]Write to MH i2c: 01 00 00 D6 63 39 [23:06:20]Write i2c OK [23:06:20]MH_I2C_Read... [23:06:20]Read from MH i2c: 01 [23:06:20]MH_I2C_Read... [23:06:20]Read from MH i2c: 01 07 00 [23:06:20]MH_I2C_Read... [23:06:20]Read from MH i2c: 01 07 00 D6 63 00 00 00 00 00 FF 0F 4E [23:06:20]RasterBufferAndPrint [23:06:20]line Счет N : (3)242316 [23:06:20]line ИНН: 02508201610067 [23:06:20]line Контрольно-Кассовый Чек [23:06:20]line ПРОДАЖА [23:06:20]line Товар: 4700000160204 [23:06:20]line Вода Легенда 1,5л [23:06:20]line 1.000 * 60.00 [23:06:20]line = 60.00 [23:06:20]line НДС 12% НСП 1% [23:06:20]line > о реализуемом товаре [23:06:20]line ИТОГО: 60.00 [23:06:20]line НСП 1% : 0.53 [23:06:20]line НДС 12% : 6.37 [23:06:20]line Наличными: 60.00 [23:06:20]line Безнал.: 0.00 [23:06:20]line Место: АЗС № 15 "Партнер Нефть" [23:06:20]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [23:06:20]line СНО: Общий режим [23:06:20]line Чек 82 12.03.2024 23:06 [23:06:20]line Смена: 314 ФФД: 1.0 [23:06:20]line ЗНМ: 0300000097 [23:06:20]line РНМ: 0000000000092018 [23:06:20]line Версия ККМ: 001 [23:06:20]line ФМ: 0000000000871816 [23:06:20]line ФД: 47404 [23:06:20]line ФПД: 78251980199465 [23:06:20]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T230636&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47404&fm=78251980199465&tin=02508201610067®Number=0000000000092018&sum=6000 [23:06:20]line 0 [23:06:20]written 0, free lines is 4095 [23:06:20]Write to MH i2c: 01 00 00 FE 63 61 [23:06:20]Write i2c OK [23:06:20]MH_I2C_Read... [23:06:20]Read from MH i2c: 01 [23:06:20]MH_I2C_Read... [23:06:20]Read from MH i2c: 01 07 00 [23:06:20]MH_I2C_Read... [23:06:20]Read from MH i2c: 01 07 00 FE 63 00 00 00 00 00 E9 0C 5D [23:06:20]RasterBufferAndPrint [23:06:20]line [23:06:20]line [23:06:20]line [23:06:20]line [23:06:20]line [23:06:20]written 0, free lines is 3311 [23:06:20]MH_Cut [23:06:20]Write to MH i2c: D1 01 00 05 64 01 3B [23:06:20]Write i2c OK [23:06:20]MH_I2C_Read... [23:06:20]Read from MH i2c: D1 [23:06:20]MH_I2C_Read... [23:06:20]Read from MH i2c: D1 01 00 [23:06:20]MH_I2C_Read... [23:06:20]Read from MH i2c: D1 01 00 05 64 00 3A [23:06:20]Write to MH i2c: 01 00 00 06 64 6A [23:06:20]Write i2c OK [23:06:20]MH_I2C_Read... [23:06:21]*** Cut start [23:06:21]*** Purtial cut [23:06:21]*** Stage 1: CUTSNS_PIN = 1 [23:06:22]Read from MH i2c: 01 [23:06:22]MH_I2C_Read... [23:06:22]*** Stop cut motor [23:06:22]*** Cut end [23:06:22]Read from MH i2c: 01 07 00 [23:06:22]MH_I2C_Read... [23:06:22]Read from MH i2c: 01 07 00 06 64 00 00 00 00 00 FF 0F 7F [23:06:22]process_action close_receipt done [23:06:22]requested_data is exist [23:06:22]produce_requested_data [23:06:22]requested_item fm.sn is exist - process it [23:06:22]wFMCommunicate request_size=4 [23:06:22]MH_SAM_APDU [23:06:22]CAPDU: 80 11 00 00 [23:06:22]Write to MH i2c: E2 08 00 07 64 80 11 00 00 00 00 00 00 E5 [23:06:22]Write i2c OK [23:06:22]MH_I2C_Read... [23:06:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:06:22]Read from MH i2c: E2 [23:06:22]MH_I2C_Read... [23:06:22]Read from MH i2c: E2 17 00 [23:06:22]MH_I2C_Read... [23:06:22]Read from MH i2c: E2 17 00 07 64 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 37 [23:06:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [23:06:22]wFMCommunicate OK [23:06:22]requested_item fd.num is exist - process it [23:06:22]SAM_PROTO_GetFieldsCounters [23:06:22]wFMCommunicate request_size=4 [23:06:22]MH_SAM_APDU [23:06:22]CAPDU: 80 13 00 00 [23:06:22]Write to MH i2c: E2 08 00 08 64 80 13 00 00 00 00 00 00 E8 [23:06:22]Write i2c OK [23:06:22]MH_I2C_Read... [23:06:22]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:06:22]Read from MH i2c: E2 [23:06:22]MH_I2C_Read... [23:06:22]Read from MH i2c: E2 62 00 [23:06:22]MH_I2C_Read... [23:06:22]Read from MH i2c: E2 62 00 08 64 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 2C B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 52 00 00 00 5E 04 04 00 52 00 00 00 57 04 04 00 53 00 00 00 19 04 04 00 00 00 00 00 90 00 19 [23:06: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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 2C B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 52 00 00 00 5E 04 04 00 52 00 00 00 57 04 04 00 53 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:06:22]wFMCommunicate OK [23:06:22]SAM_PROTO_GetFieldsCounters done [23:06:22]requested_item shift.num is exist - process it [23:06:22]requested_item shift.opened is exist - process it [23:06:22]req_shift_opened [23:06:22]FM_GetShiftState [23:06:22]SAM_PROTO_GetShiftState [23:06:22]wFMCommunicate request_size=4 [23:06:22]MH_SAM_APDU [23:06:22]CAPDU: 80 13 01 00 [23:06:22]Write to MH i2c: E2 08 00 09 64 80 13 01 00 00 00 00 00 EA [23:06:22]ConnectInit Can't connect to host [23:06:22]CommunicateWithHost connect error [23:06:22]CommunicateWithHost err = -1 [23:06:22]OFD Sender: Server communicate error [23:06:22]Write i2c OK [23:06:22]MH_I2C_Read... [23:06:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:06:22]Read from MH i2c: E2 [23:06:22]MH_I2C_Read... [23:06:22]Read from MH i2c: E2 0E 00 [23:06:22]MH_I2C_Read... [23:06:22]Read from MH i2c: E2 0E 00 09 64 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 19 [23:06:22]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [23:06:22]wFMCommunicate OK [23:06:22]SAM_PROTO_GetShiftState done [23:06:22]FM_GetShiftState done [23:06:22]req_shift_opened done [23:06:22]requested_item shift.open_date is exist - process it [23:06:22]req_shift_open_date [23:06:22]req_shift_open_date done [23:06:22]produce_requested_data done [23:06:22]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47404,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [23:06:22]process_action_free close_receipt [23:06:22]json_value_free [23:06:22]json_value_free done [23:06:22]process_json_proto returns [23:06:22]Send response to host [23:06:22]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47404,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [23:06:22]free response buf [23:06:22]execute_script done [23:06:22]execute_script returns [23:06:22]free content buf [23:06:22]Sock 7.Close socket [23:06:22]Sock 7.Thread stoped [23:06:22]OFD Sender: Processing packet 47403 [packets to send 9, broken 7] [23:06:22]ProducePacketName [23:06:22]name=ofd_packets/00047403 [23:06:22]OFD Sender: To server: pG, [23:06:22]CommunicateWithHost lk.salyk.kg:30040 [23:06:22]ConnectInit lk.salyk.kg [23:06:22]Connected sock=7 [23:06: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 31 36 34 01 00 00 F7 98 2C 01 F3 72 5A 03 01 00 03 00 20 01 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 34 37 30 30 34 35 32 30 31 30 36 31 30 06 04 2E 00 D0 9A D0 BE D1 84 D0 B5 20 D0 BA D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 32 30 30 D0 BC D0 BB 20 28 D0 90 D0 9A D0 A6 D0 98 D0 AF 29 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 FC 03 06 00 0C 7B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 17 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 11 0D 00 00 00 00 07 04 06 00 0C 7B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 51 00 00 00 F4 03 04 00 7C DF F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 2B B9 00 00 35 04 06 00 EA B2 54 77 CA A3 ED D3 D5 AA 4B F0 1F 12 [23:06: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 31 36 4F 00 00 00 BD 8F 47 00 D7 C3 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 2B B9 00 00 F4 03 04 00 8E 8A F0 65 B6 04 01 00 00 BD 53 91 C3 AC 56 4E CF [23:06:22]CommunicateWithHost err = 0 [23:06:22]CheckOFDResponse [23:06:22]1017 (14) - 77093643461234 [23:06:22]1041 (16) - 0000000000871816 [23:06:22]1040 (4) - 47403 [23:06:22]1012 (4) - 12.03.2024 17:02 [23:06:22]1206 (1) - 0 [23:06:22]OFD Sender: Remove packet 47403 [23:06:22]ProducePacketName [23:06:22]name=ofd_packets/00047403 [23:06:22]NVStorageDeleteData [23:06:23]OFD Sender: Processing packet 47404 [packets to send 8, broken 7] [23:06:23]ProducePacketName [23:06:23]name=ofd_packets/00047404 [23:06:23]OFD Sender: To server: pG, [23:06:23]CommunicateWithHost lk.salyk.kg:30040 [23:06:23]ConnectInit lk.salyk.kg [23:06:23]Connected sock=7 [23:06: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 31 36 23 01 00 00 D2 22 1B 01 0D 78 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 52 00 00 00 F4 03 04 00 FC DF F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 2C B9 00 00 35 04 06 00 47 2B 75 7B 96 29 60 CD 26 19 9A CF 7B 96 [23:06: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 31 36 4F 00 00 00 39 4C 47 00 73 0D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 2C B9 00 00 F4 03 04 00 8F 8A F0 65 B6 04 01 00 00 3C 0A C9 AE 7C B2 A0 3D [23:06:23]CommunicateWithHost err = 0 [23:06:23]CheckOFDResponse [23:06:23]1017 (14) - 77093643461234 [23:06:23]1041 (16) - 0000000000871816 [23:06:23]1040 (4) - 47404 [23:06:23]1012 (4) - 12.03.2024 17:02 [23:06:23]1206 (1) - 0 [23:06:23]OFD Sender: Remove packet 47404 [23:06:23]ProducePacketName [23:06:23]name=ofd_packets/00047404 [23:06:23]NVStorageDeleteData [23:06:23]OFD Sender: No OFD packet to send [23:06:28]OFD Sender: No OFD packet to send [23:06:33]OFD Sender: No OFD packet to send [23:06:38]OFD Sender: No OFD packet to send [23:06:43]OFD Sender: No OFD packet to send [23:06:48]OFD Sender: No OFD packet to send [23:06:53]OFD Sender: No OFD packet to send [23:06:58]OFD Sender: No OFD packet to send [23:07:03]OFD Sender: No OFD packet to send [23:07:08]OFD Sender: No OFD packet to send [23:07:13]OFD Sender: No OFD packet to send [23:07:18]OFD Sender: No OFD packet to send [23:07:23]OFD Sender: No OFD packet to send [23:07:28]OFD Sender: No OFD packet to send [23:07:33]OFD Sender: No OFD packet to send [23:07:38]OFD Sender: No OFD packet to send [23:07:43]OFD Sender: No OFD packet to send [23:07:48]OFD Sender: No OFD packet to send [23:07:53]OFD Sender: No OFD packet to send [23:07:58]OFD Sender: No OFD packet to send [23:08:03]OFD Sender: No OFD packet to send [23:08:08]OFD Sender: No OFD packet to send [23:08:13]OFD Sender: No OFD packet to send [23:08:19]OFD Sender: No OFD packet to send [23:08:24]OFD Sender: No OFD packet to send [23:08:29]OFD Sender: No OFD packet to send [23:08:34]OFD Sender: No OFD packet to send [23:08:39]OFD Sender: No OFD packet to send [23:08:44]OFD Sender: No OFD packet to send [23:08:49]OFD Sender: No OFD packet to send [23:08:54]OFD Sender: No OFD packet to send [23:08:59]OFD Sender: No OFD packet to send [23:09:04]OFD Sender: No OFD packet to send [23:09:09]OFD Sender: No OFD packet to send [23:09:14]OFD Sender: No OFD packet to send [23:09:19]OFD Sender: No OFD packet to send [23:09:24]OFD Sender: No OFD packet to send [23:09:29]OFD Sender: No OFD packet to send [23:09:34]OFD Sender: No OFD packet to send [23:09:39]OFD Sender: No OFD packet to send [23:09:44]OFD Sender: No OFD packet to send [23:09:49]OFD Sender: No OFD packet to send [23:09:54]OFD Sender: No OFD packet to send [23:09:59]OFD Sender: No OFD packet to send [23:10:04]OFD Sender: No OFD packet to send [23:10:09]OFD Sender: No OFD packet to send [23:10:14]OFD Sender: No OFD packet to send [23:10:19]OFD Sender: No OFD packet to send [23:10:24]OFD Sender: No OFD packet to send [23:10:29]OFD Sender: No OFD packet to send [23:10:34]OFD Sender: No OFD packet to send [23:10:39]OFD Sender: No OFD packet to send [23:10:44]OFD Sender: No OFD packet to send [23:10:49]OFD Sender: No OFD packet to send [23:10:54]OFD Sender: No OFD packet to send [23:10:59]OFD Sender: No OFD packet to send [23:11:04]OFD Sender: No OFD packet to send [23:11:09]OFD Sender: No OFD packet to send [23:11:14]OFD Sender: No OFD packet to send [23:11:19]OFD Sender: No OFD packet to send [23:11:24]OFD Sender: No OFD packet to send [23:11:29]OFD Sender: No OFD packet to send [23:11:34]OFD Sender: No OFD packet to send [23:11:39]OFD Sender: No OFD packet to send [23:11:44]OFD Sender: No OFD packet to send [23:11:49]OFD Sender: No OFD packet to send [23:11:54]OFD Sender: No OFD packet to send [23:11:59]OFD Sender: No OFD packet to send [23:12:04]OFD Sender: No OFD packet to send [23:12:09]OFD Sender: No OFD packet to send [23:12:14]OFD Sender: No OFD packet to send [23:12:19]OFD Sender: No OFD packet to send [23:12:24]OFD Sender: No OFD packet to send [23:12:29]OFD Sender: No OFD packet to send [23:12:34]OFD Sender: No OFD packet to send [23:12:39]OFD Sender: No OFD packet to send [23:12:40]accept exits with 9 [23:12:40]New connection [23:12:40]New thread 3066596708 created [23:12:40]Thread 3066453348 joined [23:12:40]Waiting for new connection... [23:12:40] Sock 9.Parse request [23:12:40]Sock 9.Check first char [23:12:40]Sock 9.First char is OK [23:12:40]request: POST /json_proto HTTP/1.0 [23:12:40]Method: POST [23:12:40]URL: /json_proto [23:12:40]Method is POST - this is cgi request [23:12:40]url: /json_proto [23:12:40]query_string will be loaded in cgi processing [23:12:40]execute_cgi json_proto POST (null) [23:12:40]execute_cgi path=json_proto method=POST [23:12:40]POST find Content-Length [23:12:40]Host: 172.17.32.68:8080 [23:12:40]Content-Length: 215 [23:12:40]Content-Type: application/json [23:12:40] [23:12:40]POST finish read [23:12:40]Found Content-Length = 215 [23:12:40]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:12:40]execute_script... [23:12:40]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:12:40]POST & json_proto [23:12:40]process_json_proto [23:12:40]json parsed OK: [23:12:40]protocol is kg_v1.0 [23:12:40]action value=get_value [23:12:40]process_action get_value [23:12:40]cmd_get_value [23:12:40]process_action get_value done [23:12:40]requested_data is exist [23:12:40]produce_requested_data [23:12:40]requested_item kkm.sn is exist - process it [23:12:40]requested_item kkm.ver is exist - process it [23:12:40]requested_item fm.sn is exist - process it [23:12:40]wFMCommunicate request_size=4 [23:12:40]MH_SAM_APDU [23:12:40]CAPDU: 80 11 00 00 [23:12:40]Write to MH i2c: E2 08 00 0A 64 80 11 00 00 00 00 00 00 E8 [23:12:40]Write i2c OK [23:12:40]MH_I2C_Read... [23:12:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:12:40]Read from MH i2c: E2 [23:12:40]MH_I2C_Read... [23:12:40]Read from MH i2c: E2 17 00 [23:12:40]MH_I2C_Read... [23:12:40]Read from MH i2c: E2 17 00 0A 64 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 3A [23:12:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [23:12:40]wFMCommunicate OK [23:12:40]requested_item fd.num is exist - process it [23:12:40]SAM_PROTO_GetFieldsCounters [23:12:40]wFMCommunicate request_size=4 [23:12:40]MH_SAM_APDU [23:12:40]CAPDU: 80 13 00 00 [23:12:40]Write to MH i2c: E2 08 00 0B 64 80 13 00 00 00 00 00 00 EB [23:12:40]Write i2c OK [23:12:40]MH_I2C_Read... [23:12:40]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:12:40]Read from MH i2c: E2 [23:12:40]MH_I2C_Read... [23:12:40]Read from MH i2c: E2 62 00 [23:12:40]MH_I2C_Read... [23:12:40]Read from MH i2c: E2 62 00 0B 64 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 2C B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 52 00 00 00 5E 04 04 00 52 00 00 00 57 04 04 00 53 00 00 00 19 04 04 00 00 00 00 00 90 00 1C [23:12: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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 2C B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 52 00 00 00 5E 04 04 00 52 00 00 00 57 04 04 00 53 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:12:40]wFMCommunicate OK [23:12:40]SAM_PROTO_GetFieldsCounters done [23:12:40]requested_item shift.num is exist - process it [23:12:40]requested_item shift.opened is exist - process it [23:12:40]req_shift_opened [23:12:40]FM_GetShiftState [23:12:40]SAM_PROTO_GetShiftState [23:12:40]wFMCommunicate request_size=4 [23:12:40]MH_SAM_APDU [23:12:40]CAPDU: 80 13 01 00 [23:12:40]Write to MH i2c: E2 08 00 0C 64 80 13 01 00 00 00 00 00 ED [23:12:40]Write i2c OK [23:12:40]MH_I2C_Read... [23:12:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:12:40]Read from MH i2c: E2 [23:12:40]MH_I2C_Read... [23:12:40]Read from MH i2c: E2 0E 00 [23:12:40]MH_I2C_Read... [23:12:40]Read from MH i2c: E2 0E 00 0C 64 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 1C [23:12:40]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [23:12:40]wFMCommunicate OK [23:12:40]SAM_PROTO_GetShiftState done [23:12:40]FM_GetShiftState done [23:12:40]req_shift_opened done [23:12:40]requested_item shift.open_date is exist - process it [23:12:40]req_shift_open_date [23:12:40]req_shift_open_date done [23:12:40]produce_requested_data done [23:12:40]produce_requested_data return {"kkm.sn":"0300000097","kkm.ver":"001","fm.sn":"0000000000871816","fd.num":47404,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [23:12:40]process_action_free get_value [23:12:40]json_value_free [23:12:40]json_value_free done [23:12:40]process_json_proto returns [23:12:40]Send response to host [23:12:40]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000097","kkm.ver":"001","fm.sn":"0000000000871816","fd.num":47404,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [23:12:40]free response buf [23:12:40]execute_script done [23:12:40]execute_script returns [23:12:40]free content buf [23:12:40]Sock 9.Close socket [23:12:40]Sock 9.Thread stoped [23:12:40]accept exits with 7 [23:12:40]New connection [23:12:40]New thread 3066453348 created [23:12:40]Thread 3066596708 joined [23:12:40]Waiting for new connection... [23:12:40] Sock 7.Parse request [23:12:40]Sock 7.Check first char [23:12:40]Sock 7.First char is OK [23:12:40]request: POST /json_proto HTTP/1.0 [23:12:40]Method: POST [23:12:40]URL: /json_proto [23:12:40]Method is POST - this is cgi request [23:12:40]url: /json_proto [23:12:40]query_string will be loaded in cgi processing [23:12:40]execute_cgi json_proto POST (null) [23:12:40]execute_cgi path=json_proto method=POST [23:12:40]POST find Content-Length [23:12:40]Host: 172.17.32.68:8080 [23:12:40]Content-Length: 331 [23:12:40]Content-Type: application/json [23:12:40] [23:12:40]POST finish read [23:12:40]Found Content-Length = 331 [23:12:40]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:12:40]execute_script... [23:12:40]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:12:40]POST & json_proto [23:12:40]process_json_proto [23:12:40]json parsed OK: [23:12:40]protocol is kg_v1.0 [23:12:40]action value=get_value [23:12:40]process_action get_value [23:12:40]cmd_get_value [23:12:40]process_action get_value done [23:12:40]requested_data is exist [23:12:40]produce_requested_data [23:12:40]requested_item fm.sale.total is exist - process it [23:12:40]SAM_PROTO_GetFMData [23:12:40]wFMCommunicate request_size=4 [23:12:40]MH_SAM_APDU [23:12:40]CAPDU: 80 13 03 00 [23:12:40]Write to MH i2c: E2 08 00 0D 64 80 13 03 00 00 00 00 00 F0 [23:12:40]Write i2c OK [23:12:40]MH_I2C_Read... [23:12:41]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:12:41]Read from MH i2c: E2 [23:12:41]MH_I2C_Read... [23:12:41]Read from MH i2c: E2 FD 00 [23:12:41]MH_I2C_Read... [23:12:41]Read from MH i2c: E2 FD 00 0D 64 00 C1 04 85 04 BD 04 6E 04 04 00 B7 B6 00 00 69 04 A0 00 6F 04 04 00 90 B5 00 00 B1 04 04 00 77 D8 12 30 70 04 04 00 BC 4D 23 28 72 04 04 00 BB 8A EF 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 D3 E4 1A 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 84 D4 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 27 01 00 00 B1 04 03 00 A0 50 6E 70 04 03 00 C4 49 6A 72 04 03 00 DC 06 04 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 12 B7 0B EF 03 09 00 F6 03 90 00 1C [23:12:41]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 B7 B6 00 00 69 04 A0 00 6F 04 04 00 90 B5 00 00 B1 04 04 00 77 D8 12 30 70 04 04 00 BC 4D 23 28 72 04 04 00 BB 8A EF 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 D3 E4 1A 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 84 D4 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 27 01 00 00 B1 04 03 00 A0 50 6E 70 04 03 00 C4 49 6A 72 04 03 00 DC 06 04 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 12 B7 0B EF 03 09 00 F6 03 90 00 [23:12:41]wFMCommunicate OK [23:12:41]wFMCommunicate request_size=4 [23:12:41]MH_SAM_APDU [23:12:41]CAPDU: 80 17 00 00 [23:12:41]Write to MH i2c: E2 08 00 0E 64 80 17 00 00 00 00 00 00 F2 [23:12:41]Write i2c OK [23:12:41]MH_I2C_Read... [23:12:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:12:41]Read from MH i2c: E2 [23:12:41]MH_I2C_Read... [23:12:41]Read from MH i2c: E2 FD 00 [23:12:41]MH_I2C_Read... [23:12:41]Read from MH i2c: E2 FD 00 0E 64 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 C7 F9 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 E1 [23:12:41]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 C7 F9 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:12:41]wFMCommunicate OK [23:12:41]wFMCommunicate request_size=4 [23:12:41]MH_SAM_APDU [23:12:41]CAPDU: 80 17 00 00 [23:12:41]Write to MH i2c: E2 08 00 0F 64 80 17 00 00 00 00 00 00 F3 [23:12:41]Write i2c OK [23:12:41]MH_I2C_Read... [23:12:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:12:41]Read from MH i2c: E2 [23:12:41]MH_I2C_Read... [23:12:41]Read from MH i2c: E2 FD 00 [23:12:41]MH_I2C_Read... [23:12:41]Read from MH i2c: E2 FD 00 0F 64 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 93 [23:12:41]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:12:41]wFMCommunicate OK [23:12:41]wFMCommunicate request_size=4 [23:12:41]MH_SAM_APDU [23:12:41]CAPDU: 80 17 00 00 [23:12:41]Write to MH i2c: E2 08 00 10 64 80 17 00 00 00 00 00 00 F4 [23:12:41]Write i2c OK [23:12:41]MH_I2C_Read... [23:12:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:12:42]Read from MH i2c: E2 [23:12:42]MH_I2C_Read... [23:12:42]Read from MH i2c: E2 FD 00 [23:12:42]MH_I2C_Read... [23:12:42]Read from MH i2c: E2 FD 00 10 64 00 03 01 00 04 F7 03 00 00 EF 03 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 90 00 79 [23:12:42]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:12:42]wFMCommunicate OK [23:12:42]wFMCommunicate request_size=4 [23:12:42]MH_SAM_APDU [23:12:42]CAPDU: 80 17 00 00 [23:12:42]Write to MH i2c: E2 08 00 11 64 80 17 00 00 00 00 00 00 F5 [23:12:42]Write i2c OK [23:12:42]MH_I2C_Read... [23:12:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [23:12:42]Read from MH i2c: E2 [23:12:42]MH_I2C_Read... [23:12:42]Read from MH i2c: E2 DE 00 [23:12:42]MH_I2C_Read... [23:12:42]Read from MH i2c: E2 DE 00 11 64 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 D4 [23:12:42]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:12:42]wFMCommunicate OK [23:12:42]SAM_PROTO_GetFMData done [23:12:42]requested_item fm.sale_refund.total is exist - process it [23:12:42]requested_item fm.buy.total is exist - process it [23:12:42]requested_item shift.sale.total is exist - process it [23:12:42]SAM_PROTO_GetShiftData [23:12:42]wFMCommunicate request_size=4 [23:12:42]MH_SAM_APDU [23:12:42]CAPDU: 80 13 02 00 [23:12:42]Write to MH i2c: E2 08 00 12 64 80 13 02 00 00 00 00 00 F4 [23:12:42]Write i2c OK [23:12:42]MH_I2C_Read... [23:12:42]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:12:42]Read from MH i2c: E2 [23:12:42]MH_I2C_Read... [23:12:42]Read from MH i2c: E2 FD 00 [23:12:42]MH_I2C_Read... [23:12:42]Read from MH i2c: E2 FD 00 12 64 00 B6 04 AA 04 B2 04 6E 04 04 00 52 00 00 00 69 04 9B 00 6F 04 04 00 50 00 00 00 B1 04 03 00 E4 43 14 70 04 03 00 F4 63 11 72 04 03 00 F0 DF 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 EE 26 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 DA 2D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 02 00 00 00 B1 04 02 00 48 71 70 04 02 00 48 71 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 07 0C EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 A3 [23:12:42]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 52 00 00 00 69 04 9B 00 6F 04 04 00 50 00 00 00 B1 04 03 00 E4 43 14 70 04 03 00 F4 63 11 72 04 03 00 F0 DF 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 EE 26 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 DA 2D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 02 00 00 00 B1 04 02 00 48 71 70 04 02 00 48 71 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 07 0C EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [23:12:42]wFMCommunicate OK [23:12:42]wFMCommunicate request_size=4 [23:12:42]MH_SAM_APDU [23:12:42]CAPDU: 80 17 00 00 [23:12:42]Write to MH i2c: E2 08 00 13 64 80 17 00 00 00 00 00 00 F7 [23:12:42]Write i2c OK [23:12:42]MH_I2C_Read... [23:12:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:12:43]Read from MH i2c: E2 [23:12:43]MH_I2C_Read... [23:12:43]Read from MH i2c: E2 FD 00 [23:12:43]MH_I2C_Read... [23:12:43]Read from MH i2c: E2 FD 00 13 64 00 F6 03 01 00 01 F7 03 02 00 00 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 0C [23:12:43]RAPDU: F6 03 01 00 01 F7 03 02 00 00 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:12:43]wFMCommunicate OK [23:12:43]wFMCommunicate request_size=4 [23:12:43]MH_SAM_APDU [23:12:43]CAPDU: 80 17 00 00 [23:12:43]Write to MH i2c: E2 08 00 14 64 80 17 00 00 00 00 00 00 F8 [23:12:43]Write i2c OK [23:12:43]MH_I2C_Read... [23:12:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:12:43]Read from MH i2c: E2 [23:12:43]MH_I2C_Read... [23:12:43]Read from MH i2c: E2 FD 00 [23:12:43]MH_I2C_Read... [23:12:43]Read from MH i2c: E2 FD 00 14 64 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 B8 [23:12:43]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:12:43]wFMCommunicate OK [23:12:43]wFMCommunicate request_size=4 [23:12:43]MH_SAM_APDU [23:12:43]CAPDU: 80 17 00 00 [23:12:43]Write to MH i2c: E2 08 00 15 64 80 17 00 00 00 00 00 00 F9 [23:12:43]Write i2c OK [23:12:43]MH_I2C_Read... [23:12:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:12:43]Read from MH i2c: E2 [23:12:43]MH_I2C_Read... [23:12:43]Read from MH i2c: E2 FD 00 [23:12:43]MH_I2C_Read... [23:12:43]Read from MH i2c: E2 FD 00 15 64 00 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 90 00 68 [23:12:43]RAPDU: 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 90 00 [23:12:43]wFMCommunicate OK [23:12:43]wFMCommunicate request_size=4 [23:12:43]MH_SAM_APDU [23:12:43]CAPDU: 80 17 00 00 [23:12:43]Write to MH i2c: E2 08 00 16 64 80 17 00 00 00 00 00 00 FA [23:12:43]Write i2c OK [23:12:43]MH_I2C_Read... [23:12:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [23:12:43]Read from MH i2c: E2 [23:12:43]MH_I2C_Read... [23:12:43]Read from MH i2c: E2 D3 00 [23:12:43]MH_I2C_Read... [23:12:43]Read from MH i2c: E2 D3 00 16 64 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 E7 [23:12:43]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:12:43]wFMCommunicate OK [23:12:43]SAM_PROTO_GetShiftData done [23:12:43]requested_item shift.sale.total_cash is exist - process it [23:12:43]requested_item shift.sale_refund.total is exist - process it [23:12:43]requested_item shift.sale_refund.total_cash is exist - process it [23:12:43]requested_item shift.buy.total is exist - process it [23:12:43]requested_item shift.buy.total_cash is exist - process it [23:12:43]produce_requested_data done [23:12:43]produce_requested_data return {"fm.sale.total":8065414.31,"fm.sale_refund.total":72296.00,"fm.buy.total":0.00,"shift.sale.total":13281.00,"shift.sale.total_cash":11397.00,"shift.sale_refund.total":290.00,"shift.sale_refund.total_cash":290.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [23:12:43]process_action_free get_value [23:12:43]json_value_free [23:12:43]json_value_free done [23:12:43]process_json_proto returns [23:12:43]Send response to host [23:12:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8065414.31,"fm.sale_refund.total":72296.00,"fm.buy.total":0.00,"shift.sale.total":13281.00,"shift.sale.total_cash":11397.00,"shift.sale_refund.total":290.00,"shift.sale_refund.total_cash":290.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [23:12:43]free response buf [23:12:43]execute_script done [23:12:43]execute_script returns [23:12:43]free content buf [23:12:43]Sock 7.Close socket [23:12:43]Sock 7.Thread stoped [23:12:44]accept exits with 9 [23:12:44]New connection [23:12:44]New thread 3066596708 created [23:12:44]Thread 3066453348 joined [23:12:44]Waiting for new connection... [23:12:44] Sock 9.Parse request [23:12:44]Sock 9.Check first char [23:12:44]Sock 9.First char is OK [23:12:44]request: POST /json_proto HTTP/1.0 [23:12:44]Method: POST [23:12:44]URL: /json_proto [23:12:44]Method is POST - this is cgi request [23:12:44]url: /json_proto [23:12:44]query_string will be loaded in cgi processing [23:12:44]execute_cgi json_proto POST (null) [23:12:44]execute_cgi path=json_proto method=POST [23:12:44]POST find Content-Length [23:12:44]Host: 172.17.32.68:8080 [23:12:44]Content-Length: 331 [23:12:44]Content-Type: application/json [23:12:44] [23:12:44]POST finish read [23:12:44]Found Content-Length = 331 [23:12:44]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:12:44]execute_script... [23:12:44]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:12:44]POST & json_proto [23:12:44]process_json_proto [23:12:44]json parsed OK: [23:12:44]protocol is kg_v1.0 [23:12:44]action value=get_value [23:12:44]process_action get_value [23:12:44]cmd_get_value [23:12:44]process_action get_value done [23:12:44]requested_data is exist [23:12:44]produce_requested_data [23:12:44]requested_item fm.sale.total is exist - process it [23:12:44]SAM_PROTO_GetFMData [23:12:44]wFMCommunicate request_size=4 [23:12:44]MH_SAM_APDU [23:12:44]CAPDU: 80 13 03 00 [23:12:44]Write to MH i2c: E2 08 00 17 64 80 13 03 00 00 00 00 00 FA [23:12:44]Write i2c OK [23:12:44]MH_I2C_Read... [23:12:44]OFD Sender: No OFD packet to send [23:12:44]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:12:44]Read from MH i2c: E2 [23:12:44]MH_I2C_Read... [23:12:44]Read from MH i2c: E2 FD 00 [23:12:44]MH_I2C_Read... [23:12:44]Read from MH i2c: E2 FD 00 17 64 00 C1 04 85 04 BD 04 6E 04 04 00 B7 B6 00 00 69 04 A0 00 6F 04 04 00 90 B5 00 00 B1 04 04 00 77 D8 12 30 70 04 04 00 BC 4D 23 28 72 04 04 00 BB 8A EF 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 D3 E4 1A 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 84 D4 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 27 01 00 00 B1 04 03 00 A0 50 6E 70 04 03 00 C4 49 6A 72 04 03 00 DC 06 04 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 12 B7 0B EF 03 09 00 F6 03 90 00 26 [23:12:44]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 B7 B6 00 00 69 04 A0 00 6F 04 04 00 90 B5 00 00 B1 04 04 00 77 D8 12 30 70 04 04 00 BC 4D 23 28 72 04 04 00 BB 8A EF 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 D3 E4 1A 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 84 D4 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 27 01 00 00 B1 04 03 00 A0 50 6E 70 04 03 00 C4 49 6A 72 04 03 00 DC 06 04 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 12 B7 0B EF 03 09 00 F6 03 90 00 [23:12:44]wFMCommunicate OK [23:12:44]wFMCommunicate request_size=4 [23:12:44]MH_SAM_APDU [23:12:44]CAPDU: 80 17 00 00 [23:12:44]Write to MH i2c: E2 08 00 18 64 80 17 00 00 00 00 00 00 FC [23:12:44]Write i2c OK [23:12:44]MH_I2C_Read... [23:12:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:12:44]Read from MH i2c: E2 [23:12:44]MH_I2C_Read... [23:12:44]Read from MH i2c: E2 FD 00 [23:12:44]MH_I2C_Read... [23:12:44]Read from MH i2c: E2 FD 00 18 64 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 C7 F9 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 EB [23:12:44]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 C7 F9 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:12:44]wFMCommunicate OK [23:12:44]wFMCommunicate request_size=4 [23:12:44]MH_SAM_APDU [23:12:44]CAPDU: 80 17 00 00 [23:12:44]Write to MH i2c: E2 08 00 19 64 80 17 00 00 00 00 00 00 FD [23:12:44]Write i2c OK [23:12:44]MH_I2C_Read... [23:12:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:12:45]Read from MH i2c: E2 [23:12:45]MH_I2C_Read... [23:12:45]Read from MH i2c: E2 FD 00 [23:12:45]MH_I2C_Read... [23:12:45]Read from MH i2c: E2 FD 00 19 64 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 9D [23:12:45]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:12:45]wFMCommunicate OK [23:12:45]wFMCommunicate request_size=4 [23:12:45]MH_SAM_APDU [23:12:45]CAPDU: 80 17 00 00 [23:12:45]Write to MH i2c: E2 08 00 1A 64 80 17 00 00 00 00 00 00 FE [23:12:45]Write i2c OK [23:12:45]MH_I2C_Read... [23:12:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:12:45]Read from MH i2c: E2 [23:12:45]MH_I2C_Read... [23:12:45]Read from MH i2c: E2 FD 00 [23:12:45]MH_I2C_Read... [23:12:45]Read from MH i2c: E2 FD 00 1A 64 00 03 01 00 04 F7 03 00 00 EF 03 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 90 00 83 [23:12:45]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:12:45]wFMCommunicate OK [23:12:45]wFMCommunicate request_size=4 [23:12:45]MH_SAM_APDU [23:12:45]CAPDU: 80 17 00 00 [23:12:45]Write to MH i2c: E2 08 00 1B 64 80 17 00 00 00 00 00 00 FF [23:12:45]Write i2c OK [23:12:45]MH_I2C_Read... [23:12:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [23:12:45]Read from MH i2c: E2 [23:12:45]MH_I2C_Read... [23:12:45]Read from MH i2c: E2 DE 00 [23:12:45]MH_I2C_Read... [23:12:45]Read from MH i2c: E2 DE 00 1B 64 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 DE [23:12:45]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:12:45]wFMCommunicate OK [23:12:45]SAM_PROTO_GetFMData done [23:12:45]requested_item fm.sale_refund.total is exist - process it [23:12:45]requested_item fm.buy.total is exist - process it [23:12:45]requested_item shift.sale.total is exist - process it [23:12:45]SAM_PROTO_GetShiftData [23:12:45]wFMCommunicate request_size=4 [23:12:45]MH_SAM_APDU [23:12:45]CAPDU: 80 13 02 00 [23:12:45]Write to MH i2c: E2 08 00 1C 64 80 13 02 00 00 00 00 00 FE [23:12:46]Write i2c OK [23:12:46]MH_I2C_Read... [23:12:46]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:12:46]Read from MH i2c: E2 [23:12:46]MH_I2C_Read... [23:12:46]Read from MH i2c: E2 FD 00 [23:12:46]MH_I2C_Read... [23:12:46]Read from MH i2c: E2 FD 00 1C 64 00 B6 04 AA 04 B2 04 6E 04 04 00 52 00 00 00 69 04 9B 00 6F 04 04 00 50 00 00 00 B1 04 03 00 E4 43 14 70 04 03 00 F4 63 11 72 04 03 00 F0 DF 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 EE 26 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 DA 2D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 02 00 00 00 B1 04 02 00 48 71 70 04 02 00 48 71 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 07 0C EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 AD [23:12:46]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 52 00 00 00 69 04 9B 00 6F 04 04 00 50 00 00 00 B1 04 03 00 E4 43 14 70 04 03 00 F4 63 11 72 04 03 00 F0 DF 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 EE 26 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 DA 2D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 02 00 00 00 B1 04 02 00 48 71 70 04 02 00 48 71 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 07 0C EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [23:12:46]wFMCommunicate OK [23:12:46]wFMCommunicate request_size=4 [23:12:46]MH_SAM_APDU [23:12:46]CAPDU: 80 17 00 00 [23:12:46]Write to MH i2c: E2 08 00 1D 64 80 17 00 00 00 00 00 00 01 [23:12:46]Write i2c OK [23:12:46]MH_I2C_Read... [23:12:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:12:46]Read from MH i2c: E2 [23:12:46]MH_I2C_Read... [23:12:46]Read from MH i2c: E2 FD 00 [23:12:46]MH_I2C_Read... [23:12:46]Read from MH i2c: E2 FD 00 1D 64 00 F6 03 01 00 01 F7 03 02 00 00 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 16 [23:12:46]RAPDU: F6 03 01 00 01 F7 03 02 00 00 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:12:47]wFMCommunicate OK [23:12:47]wFMCommunicate request_size=4 [23:12:47]MH_SAM_APDU [23:12:47]CAPDU: 80 17 00 00 [23:12:47]Write to MH i2c: E2 08 00 1E 64 80 17 00 00 00 00 00 00 02 [23:12:47]Write i2c OK [23:12:47]MH_I2C_Read... [23:12:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:12:47]Read from MH i2c: E2 [23:12:47]MH_I2C_Read... [23:12:47]Read from MH i2c: E2 FD 00 [23:12:47]MH_I2C_Read... [23:12:47]Read from MH i2c: E2 FD 00 1E 64 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 C2 [23:12:47]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:12:47]wFMCommunicate OK [23:12:47]wFMCommunicate request_size=4 [23:12:47]MH_SAM_APDU [23:12:47]CAPDU: 80 17 00 00 [23:12:47]Write to MH i2c: E2 08 00 1F 64 80 17 00 00 00 00 00 00 03 [23:12:47]Write i2c OK [23:12:47]MH_I2C_Read... [23:12:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:12:47]Read from MH i2c: E2 [23:12:47]MH_I2C_Read... [23:12:47]Read from MH i2c: E2 FD 00 [23:12:47]MH_I2C_Read... [23:12:47]Read from MH i2c: E2 FD 00 1F 64 00 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 90 00 72 [23:12:47]RAPDU: 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 90 00 [23:12:47]wFMCommunicate OK [23:12:47]wFMCommunicate request_size=4 [23:12:47]MH_SAM_APDU [23:12:47]CAPDU: 80 17 00 00 [23:12:47]Write to MH i2c: E2 08 00 20 64 80 17 00 00 00 00 00 00 04 [23:12:47]Write i2c OK [23:12:47]MH_I2C_Read... [23:12:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [23:12:48]Read from MH i2c: E2 [23:12:48]MH_I2C_Read... [23:12:48]Read from MH i2c: E2 D3 00 [23:12:48]MH_I2C_Read... [23:12:48]Read from MH i2c: E2 D3 00 20 64 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 F1 [23:12:48]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:12:48]wFMCommunicate OK [23:12:48]SAM_PROTO_GetShiftData done [23:12:48]requested_item shift.sale.total_cash is exist - process it [23:12:48]requested_item shift.sale_refund.total is exist - process it [23:12:48]requested_item shift.sale_refund.total_cash is exist - process it [23:12:48]requested_item shift.buy.total is exist - process it [23:12:48]requested_item shift.buy.total_cash is exist - process it [23:12:48]produce_requested_data done [23:12:48]produce_requested_data return {"fm.sale.total":8065414.31,"fm.sale_refund.total":72296.00,"fm.buy.total":0.00,"shift.sale.total":13281.00,"shift.sale.total_cash":11397.00,"shift.sale_refund.total":290.00,"shift.sale_refund.total_cash":290.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [23:12:48]process_action_free get_value [23:12:48]json_value_free [23:12:48]json_value_free done [23:12:48]process_json_proto returns [23:12:48]Send response to host [23:12:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8065414.31,"fm.sale_refund.total":72296.00,"fm.buy.total":0.00,"shift.sale.total":13281.00,"shift.sale.total_cash":11397.00,"shift.sale_refund.total":290.00,"shift.sale_refund.total_cash":290.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [23:12:48]free response buf [23:12:48]execute_script done [23:12:48]execute_script returns [23:12:48]free content buf [23:12:48]Sock 9.Close socket [23:12:48]Sock 9.Thread stoped [23:12:48]accept exits with 7 [23:12:48]New connection [23:12:48]New thread 3066453348 created [23:12:48]Thread 3066596708 joined [23:12:48]Waiting for new connection... [23:12:48] Sock 7.Parse request [23:12:48]Sock 7.Check first char [23:12:48]Sock 7.First char is OK [23:12:48]request: POST /json_proto HTTP/1.0 [23:12:48]Method: POST [23:12:48]URL: /json_proto [23:12:48]Method is POST - this is cgi request [23:12:48]url: /json_proto [23:12:48]query_string will be loaded in cgi processing [23:12:48]execute_cgi json_proto POST (null) [23:12:48]execute_cgi path=json_proto method=POST [23:12:48]POST find Content-Length [23:12:48]Host: 172.17.32.68:8080 [23:12:48]Content-Length: 270 [23:12:48]Content-Type: application/json [23:12:48] [23:12:48]POST finish read [23:12:48]Found Content-Length = 270 [23:12:48]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u041C\u0430\u043A\u0441\u0430\u0442\u0431\u0435\u043A \u0443 \u0414. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:12:48]execute_script... [23:12:48]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u041C\u0430\u043A\u0441\u0430\u0442\u0431\u0435\u043A \u0443 \u0414. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:12:48]POST & json_proto [23:12:48]process_json_proto [23:12:48]json parsed OK: [23:12:48]protocol is kg_v1.0 [23:12:48]action value=x_report [23:12:48]process_action x_report [23:12:48]cmd_x_report [23:12:48]MH_GetDate [23:12:48]Write to MH i2c: F0 00 00 21 64 74 [23:12:48]Write i2c OK [23:12:48]MH_I2C_Read... [23:12:48]Read from MH i2c: F0 [23:12:48]MH_I2C_Read... [23:12:48]Read from MH i2c: F0 09 00 [23:12:48]MH_I2C_Read... [23:12:48]Read from MH i2c: F0 09 00 21 64 00 82 E1 F0 65 0A 64 6E 65 76 [23:12:48]GetLastDocTimeStamp 1710284796 [23:12:48]current date 1710285186 [23:12:48]FM_GetShiftState [23:12:48]SAM_PROTO_GetShiftState [23:12:48]wFMCommunicate request_size=4 [23:12:48]MH_SAM_APDU [23:12:48]CAPDU: 80 13 01 00 [23:12:48]Write to MH i2c: E2 08 00 22 64 80 13 01 00 00 00 00 00 03 [23:12:48]Write i2c OK [23:12:48]MH_I2C_Read... [23:12:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:12:48]Read from MH i2c: E2 [23:12:48]MH_I2C_Read... [23:12:48]Read from MH i2c: E2 0E 00 [23:12:48]MH_I2C_Read... [23:12:48]Read from MH i2c: E2 0E 00 22 64 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 32 [23:12:48]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [23:12:48]wFMCommunicate OK [23:12:48]SAM_PROTO_GetShiftState done [23:12:48]FM_GetShiftState done [23:12:48]KKMCreateXReportDocument [23:12:48]Load OK [23:12:48]Malloc new data [23:12:48]MH_GetDate [23:12:48]Write to MH i2c: F0 00 00 23 64 76 [23:12:48]Write i2c OK [23:12:48]MH_I2C_Read... [23:12:48]Read from MH i2c: F0 [23:12:48]MH_I2C_Read... [23:12:48]Read from MH i2c: F0 09 00 [23:12:48]MH_I2C_Read... [23:12:48]Read from MH i2c: F0 09 00 23 64 00 82 E1 F0 65 0A 64 6E 65 78 [23:12:48]Malloc new data [23:12:48]Malloc new data [23:12:48]wFMCommunicate request_size=4 [23:12:48]MH_SAM_APDU [23:12:48]CAPDU: 80 11 00 00 [23:12:48]Write to MH i2c: E2 08 00 24 64 80 11 00 00 00 00 00 00 02 [23:12:48]Write i2c OK [23:12:48]MH_I2C_Read... [23:12:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:12:48]Read from MH i2c: E2 [23:12:48]MH_I2C_Read... [23:12:48]Read from MH i2c: E2 17 00 [23:12:48]MH_I2C_Read... [23:12:48]Read from MH i2c: E2 17 00 24 64 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 54 [23:12:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [23:12:48]wFMCommunicate OK [23:12:48]SAM_PROTO_GetFieldsCounters [23:12:48]wFMCommunicate request_size=4 [23:12:48]MH_SAM_APDU [23:12:48]CAPDU: 80 13 00 00 [23:12:48]Write to MH i2c: E2 08 00 25 64 80 13 00 00 00 00 00 00 05 [23:12:48]Write i2c OK [23:12:48]MH_I2C_Read... [23:12:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:12:48]Read from MH i2c: E2 [23:12:48]MH_I2C_Read... [23:12:48]Read from MH i2c: E2 62 00 [23:12:48]MH_I2C_Read... [23:12:48]Read from MH i2c: E2 62 00 25 64 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 2C B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 52 00 00 00 5E 04 04 00 52 00 00 00 57 04 04 00 53 00 00 00 19 04 04 00 00 00 00 00 90 00 36 [23:12:48]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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 2C B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 52 00 00 00 5E 04 04 00 52 00 00 00 57 04 04 00 53 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:12:48]wFMCommunicate OK [23:12:48]SAM_PROTO_GetFieldsCounters done [23:12:48]Malloc new data [23:12:48]Malloc new data [23:12:48]Malloc new data [23:12:48]KKMCreateXReportDocument OK [23:12:48]KKMSetXReportData OK [23:12:48]KKMPrepareXReportFMData [23:12:48]SAM_PROTO_GetShiftData [23:12:48]wFMCommunicate request_size=4 [23:12:48]MH_SAM_APDU [23:12:48]CAPDU: 80 13 02 00 [23:12:48]Write to MH i2c: E2 08 00 26 64 80 13 02 00 00 00 00 00 08 [23:12:48]Write i2c OK [23:12:48]MH_I2C_Read... [23:12:49]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:12:49]Read from MH i2c: E2 [23:12:49]MH_I2C_Read... [23:12:49]Read from MH i2c: E2 FD 00 [23:12:49]MH_I2C_Read... [23:12:49]Read from MH i2c: E2 FD 00 26 64 00 B6 04 AA 04 B2 04 6E 04 04 00 52 00 00 00 69 04 9B 00 6F 04 04 00 50 00 00 00 B1 04 03 00 E4 43 14 70 04 03 00 F4 63 11 72 04 03 00 F0 DF 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 EE 26 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 DA 2D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 02 00 00 00 B1 04 02 00 48 71 70 04 02 00 48 71 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 07 0C EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 B7 [23:12:49]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 52 00 00 00 69 04 9B 00 6F 04 04 00 50 00 00 00 B1 04 03 00 E4 43 14 70 04 03 00 F4 63 11 72 04 03 00 F0 DF 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 EE 26 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 DA 2D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 02 00 00 00 B1 04 02 00 48 71 70 04 02 00 48 71 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 07 0C EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [23:12:49]wFMCommunicate OK [23:12:49]wFMCommunicate request_size=4 [23:12:49]MH_SAM_APDU [23:12:49]CAPDU: 80 17 00 00 [23:12:49]Write to MH i2c: E2 08 00 27 64 80 17 00 00 OFD Sender: No OFD packet to send [23:12:49]00 00 00 00 0B [23:12:49]Write i2c OK [23:12:49]MH_I2C_Read... [23:12:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:12:49]Read from MH i2c: E2 [23:12:49]MH_I2C_Read... [23:12:49]Read from MH i2c: E2 FD 00 [23:12:49]MH_I2C_Read... [23:12:49]Read from MH i2c: E2 FD 00 27 64 00 F6 03 01 00 01 F7 03 02 00 00 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 20 [23:12:49]RAPDU: F6 03 01 00 01 F7 03 02 00 00 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:12:49]wFMCommunicate OK [23:12:49]wFMCommunicate request_size=4 [23:12:49]MH_SAM_APDU [23:12:49]CAPDU: 80 17 00 00 [23:12:49]Write to MH i2c: E2 08 00 28 64 80 17 00 00 00 00 00 00 0C [23:12:49]Write i2c OK [23:12:49]MH_I2C_Read... [23:12:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:12:50]Read from MH i2c: E2 [23:12:50]MH_I2C_Read... [23:12:50]Read from MH i2c: E2 FD 00 [23:12:50]MH_I2C_Read... [23:12:50]Read from MH i2c: E2 FD 00 28 64 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 CC [23:12:50]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:12:50]wFMCommunicate OK [23:12:50]wFMCommunicate request_size=4 [23:12:50]MH_SAM_APDU [23:12:50]CAPDU: 80 17 00 00 [23:12:50]Write to MH i2c: E2 08 00 29 64 80 17 00 00 00 00 00 00 0D [23:12:50]Write i2c OK [23:12:50]MH_I2C_Read... [23:12:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:12:50]Read from MH i2c: E2 [23:12:50]MH_I2C_Read... [23:12:50]Read from MH i2c: E2 FD 00 [23:12:50]MH_I2C_Read... [23:12:50]Read from MH i2c: E2 FD 00 29 64 00 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 90 00 7C [23:12:50]RAPDU: 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 90 00 [23:12:50]wFMCommunicate OK [23:12:50]wFMCommunicate request_size=4 [23:12:50]MH_SAM_APDU [23:12:50]CAPDU: 80 17 00 00 [23:12:50]Write to MH i2c: E2 08 00 2A 64 80 17 00 00 00 00 00 00 0E [23:12:50]Write i2c OK [23:12:50]MH_I2C_Read... [23:12:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [23:12:50]Read from MH i2c: E2 [23:12:50]MH_I2C_Read... [23:12:50]Read from MH i2c: E2 D3 00 [23:12:51]MH_I2C_Read... [23:12:51]Read from MH i2c: E2 D3 00 2A 64 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 FB [23:12:51]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:12:51]wFMCommunicate OK [23:12:51]SAM_PROTO_GetShiftData done [23:12:51]1194 (1202) - счетчики итогов смены [23:12:51] 1134 (4) - 82 - количество чеков со всеми признаками расчетов [23:12:51] 1129 (155) - счетчики операций «приход» [23:12:51] 1135 (4) - 80 - количество чеков по признаку расчетов [23:12:51] 1201 (3) - 13281.00 - общая итоговая сумма в чеках [23:12:51] 1136 (3) - 11397.00 - итоговая сумма в чеках наличными [23:12:51] 1138 (3) - 1884.00 - итоговая сумма в чеках безналичными [23:12:51] 1024 (122) - суммы налогов [23:12:51] 1006 (9) - суммы НДС [23:12:51] 1010 (1) - 0% - код ставки НДС [23:12:51] 1011 (0) - 0.00 - сумма НДС по ставке [23:12:51] 1006 (12) - суммы НДС [23:12:51] 1010 (1) - 12% - код ставки НДС [23:12:51] 1011 (3) - 1410.38 - сумма НДС по ставке [23:12:51] 1007 (9) - суммы НСП [23:12:51] 1014 (1) - 0% - код ставки НСП [23:12:51] 1015 (0) - 0.00 - сумма НСП по ставке [23:12:51] 1007 (11) - суммы НСП [23:12:51] 1014 (1) - 1% - код ставки НСП [23:12:51] 1015 (2) - 117.38 - сумма НСП по ставке [23:12:51] 1007 (9) - суммы НСП [23:12:51] 1014 (1) - 2% - код ставки НСП [23:12:51] 1015 (0) - 0.00 - сумма НСП по ставке [23:12:51] 1007 (9) - суммы НСП [23:12:51] 1014 (1) - 3% - код ставки НСП [23:12:51] 1015 (0) - 0.00 - сумма НСП по ставке [23:12:51] 1007 (9) - суммы НСП [23:12:51] 1014 (1) - 5% - код ставки НСП [23:12:51] 1015 (0) - 0.00 - сумма НСП по ставке [23:12:51] 1007 (9) - суммы НСП [23:12:51] 1014 (1) - 0,50% - код ставки НСП [23:12:51] 1015 (0) - 0.00 - сумма НСП по ставке [23:12:51] 1007 (9) - суммы НСП [23:12:51] 1014 (1) - 1,50% - код ставки НСП [23:12:51] 1015 (0) - 0.00 - сумма НСП по ставке [23:12:51] 1130 (149) - счетчики операций «возврат прихода» [23:12:51] 1135 (4) - 2 - количество чеков по признаку расчетов [23:12:51] 1201 (2) - 290.00 - общая итоговая сумма в чеках [23:12:51] 1136 (2) - 290.00 - итоговая сумма в чеках наличными [23:12:51] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:12:51] 1024 (121) - суммы налогов [23:12:51] 1006 (9) - суммы НДС [23:12:51] 1010 (1) - 0% - код ставки НДС [23:12:51] 1011 (0) - 0.00 - сумма НДС по ставке [23:12:51] 1006 (11) - суммы НДС [23:12:51] 1010 (1) - 12% - код ставки НДС [23:12:51] 1011 (2) - 30.79 - сумма НДС по ставке [23:12:51] 1007 (9) - суммы НСП [23:12:51] 1014 (1) - 0% - код ставки НСП [23:12:51] 1015 (0) - 0.00 - сумма НСП по ставке [23:12:51] 1007 (11) - суммы НСП [23:12:51] 1014 (1) - 1% - код ставки НСП [23:12:51] 1015 (2) - 2.56 - сумма НСП по ставке [23:12:51] 1007 (9) - суммы НСП [23:12:51] 1014 (1) - 2% - код ставки НСП [23:12:51] 1015 (0) - 0.00 - сумма НСП по ставке [23:12:51] 1007 (9) - суммы НСП [23:12:51] 1014 (1) - 3% - код ставки НСП [23:12:51] 1015 (0) - 0.00 - сумма НСП по ставке [23:12:51] 1007 (9) - суммы НСП [23:12:51] 1014 (1) - 5% - код ставки НСП [23:12:51] 1015 (0) - 0.00 - сумма НСП по ставке [23:12:51] 1007 (9) - суммы НСП [23:12:51] 1014 (1) - 0,50% - код ставки НСП [23:12:51] 1015 (0) - 0.00 - сумма НСП по ставке [23:12:51] 1007 (9) - суммы НСП [23:12:51] 1014 (1) - 1,50% - код ставки НСП [23:12:51] 1015 (0) - 0.00 - сумма НСП по ставке [23:12:51] 1131 (141) - счетчики операций «расход» [23:12:51] 1135 (4) - 0 - количество чеков по признаку расчетов [23:12:51] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:12:51] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:12:51] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:12:51] 1024 (117) - суммы налогов [23:12:51] 1006 (9) - суммы НДС [23:12:51] 1010 (1) - 0% - код ставки НДС [23:12:51] 1011 (0) - 0.00 - сумма НДС по ставке [23:12:51] 1006 (9) - суммы НДС [23:12:51] 1010 (1) - 12% - код ставки НДС [23:12:51] 1011 (0) - 0.00 - сумма НДС по ставке [23:12:51] 1007 (9) - суммы НСП [23:12:51] 1014 (1) - 0% - код ставки НСП [23:12:51] 1015 (0) - 0.00 - сумма НСП по ставке [23:12:51] 1007 (9) - суммы НСП [23:12:51] 1014 (1) - 1% - код ставки НСП [23:12:51] 1015 (0) - 0.00 - сумма НСП по ставке [23:12:51] 1007 (9) - суммы НСП [23:12:51] 1014 (1) - 2% - код ставки НСП [23:12:51] 1015 (0) - 0.00 - сумма НСП по ставке [23:12:51] 1007 (9) - суммы НСП [23:12:51] 1014 (1) - 3% - код ставки НСП [23:12:51] 1015 (0) - 0.00 - сумма НСП по ставке [23:12:51] 1007 (9) - суммы НСП [23:12:51] 1014 (1) - 5% - код ставки НСП [23:12:51] 1015 (0) - 0.00 - сумма НСП по ставке [23:12:51] 1007 (9) - суммы НСП [23:12:51] 1014 (1) - 0,50% - код ставки НСП [23:12:51] 1015 (0) - 0.00 - сумма НСП по ставке [23:12:51] 1007 (9) - суммы НСП [23:12:51] 1014 (1) - 1,50% - код ставки НСП [23:12:51] 1015 (0) - 0.00 - сумма НСП по ставке [23:12:51] 1132 (141) - счетчики операций «возврат расхода» [23:12:51] 1135 (4) - 0 - количество чеков по признаку расчетов [23:12:51] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:12:51] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:12:51] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:12:51] 1024 (117) - суммы налогов [23:12:51] 1006 (9) - суммы НДС [23:12:51] 1010 (1) - 0% - код ставки НДС [23:12:51] 1011 (0) - 0.00 - сумма НДС по ставке [23:12:51] 1006 (9) - суммы НДС [23:12:51] 1010 (1) - 12% - код ставки НДС [23:12:51] 1011 (0) - 0.00 - сумма НДС по ставке [23:12:51] 1007 (9) - суммы НСП [23:12:51] 1014 (1) - 0% - код ставки НСП [23:12:51] 1015 (0) - 0.00 - сумма НСП по ставке [23:12:51] 1007 (9) - суммы НСП [23:12:51] 1014 (1) - 1% - код ставки НСП [23:12:51] 1015 (0) - 0.00 - сумма НСП по ставке [23:12:51] 1007 (9) - суммы НСП [23:12:51] 1014 (1) - 2% - код ставки НСП [23:12:51] 1015 (0) - 0.00 - сумма НСП по ставке [23:12:51] 1007 (9) - суммы НСП [23:12:51] 1014 (1) - 3% - код ставки НСП [23:12:51] 1015 (0) - 0.00 - сумма НСП по ставке [23:12:51] 1007 (9) - суммы НСП [23:12:51] 1014 (1) - 5% - код ставки НСП [23:12:51] 1015 (0) - 0.00 - сумма НСП по ставке [23:12:51] 1007 (9) - суммы НСП [23:12:51] 1014 (1) - 0,50% - код ставки НСП [23:12:51] 1015 (0) - 0.00 - сумма НСП по ставке [23:12:51] 1007 (9) - суммы НСП [23:12:51] 1014 (1) - 1,50% - код ставки НСП [23:12:51] 1015 (0) - 0.00 - сумма НСП по ставке [23:12:51] 1133 (588) - - счетчики коррекции - не используются [23:12:51]SetTLVBufToDocument [23:12:51]Processing tag 1194 (04AA) [23:12:51]Load OK [23:12:51]SetTLVBufToDocument [23:12:51]Processing tag 1134 (046E) [23:12:51]Malloc new data [23:12:51]Processing tag 1129 (0469) [23:12:51]Load OK [23:12:51]SetTLVBufToDocument [23:12:51]Processing tag 1135 (046F) [23:12:51]Malloc new data [23:12:51]Processing tag 1201 (04B1) [23:12:51]Malloc new data [23:12:51]Processing tag 1136 (0470) [23:12:51]Malloc new data [23:12:51]Processing tag 1138 (0472) [23:12:51]Malloc new data [23:12:51]Processing tag 1024 (0400) [23:12:51]Load OK [23:12:51]SetTLVBufToDocument [23:12:51]Processing tag 1006 (03EE) [23:12:51]Load OK [23:12:51]SetTLVBufToDocument [23:12:51]Processing tag 1010 (03F2) [23:12:51]Malloc new data [23:12:51]Processing tag 1011 (03F3) [23:12:51]Malloc new data [23:12:51]SetTLVBufToDocument err=0 [23:12:51]Processing tag 1006 (03EE) [23:12:51]Load OK [23:12:51]SetTLVBufToDocument [23:12:51]Processing tag 1010 (03F2) [23:12:51]Malloc new data [23:12:51]Processing tag 1011 (03F3) [23:12:51]Malloc new data [23:12:51]SetTLVBufToDocument err=0 [23:12:51]Processing tag 1007 (03EF) [23:12:51]Load OK [23:12:51]SetTLVBufToDocument [23:12:51]Processing tag 1014 (03F6) [23:12:51]Malloc new data [23:12:51]Processing tag 1015 (03F7) [23:12:51]Malloc new data [23:12:51]SetTLVBufToDocument err=0 [23:12:51]Processing tag 1007 (03EF) [23:12:51]Load OK [23:12:51]SetTLVBufToDocument [23:12:51]Processing tag 1014 (03F6) [23:12:51]Malloc new data [23:12:51]Processing tag 1015 (03F7) [23:12:51]Malloc new data [23:12:51]SetTLVBufToDocument err=0 [23:12:51]Processing tag 1007 (03EF) [23:12:51]Load OK [23:12:51]SetTLVBufToDocument [23:12:51]Processing tag 1014 (03F6) [23:12:51]Malloc new data [23:12:51]Processing tag 1015 (03F7) [23:12:51]Malloc new data [23:12:51]SetTLVBufToDocument err=0 [23:12:51]Processing tag 1007 (03EF) [23:12:51]Load OK [23:12:51]SetTLVBufToDocument [23:12:51]Processing tag 1014 (03F6) [23:12:51]Malloc new data [23:12:51]Processing tag 1015 (03F7) [23:12:51]Malloc new data [23:12:51]SetTLVBufToDocument err=0 [23:12:51]Processing tag 1007 (03EF) [23:12:51]Load OK [23:12:51]SetTLVBufToDocument [23:12:51]Processing tag 1014 (03F6) [23:12:51]Malloc new data [23:12:51]Processing tag 1015 (03F7) [23:12:51]Malloc new data [23:12:51]SetTLVBufToDocument err=0 [23:12:51]Processing tag 1007 (03EF) [23:12:51]Load OK [23:12:51]SetTLVBufToDocument [23:12:51]Processing tag 1014 (03F6) [23:12:51]Malloc new data [23:12:51]Processing tag 1015 (03F7) [23:12:51]Malloc new data [23:12:51]SetTLVBufToDocument err=0 [23:12:51]Processing tag 1007 (03EF) [23:12:51]Load OK [23:12:51]SetTLVBufToDocument [23:12:51]Processing tag 1014 (03F6) [23:12:51]Malloc new data [23:12:51]Processing tag 1015 (03F7) [23:12:51]Malloc new data [23:12:51]SetTLVBufToDocument err=0 [23:12:51]SetTLVBufToDocument err=0 [23:12:51]SetTLVBufToDocument err=0 [23:12:51]Processing tag 1130 (046A) [23:12:51]Load OK [23:12:51]SetTLVBufToDocument [23:12:51]Processing tag 1135 (046F) [23:12:51]Malloc new data [23:12:51]Processing tag 1201 (04B1) [23:12:51]Malloc new data [23:12:51]Processing tag 1136 (0470) [23:12:51]Malloc new data [23:12:51]Processing tag 1138 (0472) [23:12:51]Malloc new data [23:12:51]Processing tag 1024 (0400) [23:12:51]Load OK [23:12:51]SetTLVBufToDocument [23:12:51]Processing tag 1006 (03EE) [23:12:51]Load OK [23:12:51]SetTLVBufToDocument [23:12:51]Processing tag 1010 (03F2) [23:12:51]Malloc new data [23:12:51]Processing tag 1011 (03F3) [23:12:51]Malloc new data [23:12:51]SetTLVBufToDocument err=0 [23:12:51]Processing tag 1006 (03EE) [23:12:51]Load OK [23:12:51]SetTLVBufToDocument [23:12:51]Processing tag 1010 (03F2) [23:12:51]Malloc new data [23:12:51]Processing tag 1011 (03F3) [23:12:51]Malloc new data [23:12:51]SetTLVBufToDocument err=0 [23:12:51]Processing tag 1007 (03EF) [23:12:51]Load OK [23:12:51]SetTLVBufToDocument [23:12:51]Processing tag 1014 (03F6) [23:12:51]Malloc new data [23:12:51]Processing tag 1015 (03F7) [23:12:51]Malloc new data [23:12:51]SetTLVBufToDocument err=0 [23:12:51]Processing tag 1007 (03EF) [23:12:51]Load OK [23:12:51]SetTLVBufToDocument [23:12:51]Processing tag 1014 (03F6) [23:12:51]Malloc new data [23:12:51]Processing tag 1015 (03F7) [23:12:51]Malloc new data [23:12:51]SetTLVBufToDocument err=0 [23:12:51]Processing tag 1007 (03EF) [23:12:51]Load OK [23:12:51]SetTLVBufToDocument [23:12:51]Processing tag 1014 (03F6) [23:12:51]Malloc new data [23:12:51]Processing tag 1015 (03F7) [23:12:51]Malloc new data [23:12:51]SetTLVBufToDocument err=0 [23:12:51]Processing tag 1007 (03EF) [23:12:51]Load OK [23:12:51]SetTLVBufToDocument [23:12:51]Processing tag 1014 (03F6) [23:12:51]Malloc new data [23:12:51]Processing tag 1015 (03F7) [23:12:51]Malloc new data [23:12:51]SetTLVBufToDocument err=0 [23:12:51]Processing tag 1007 (03EF) [23:12:51]Load OK [23:12:51]SetTLVBufToDocument [23:12:51]Processing tag 1014 (03F6) [23:12:51]Malloc new data [23:12:51]Processing tag 1015 (03F7) [23:12:51]Malloc new data [23:12:51]SetTLVBufToDocument err=0 [23:12:51]Processing tag 1007 (03EF) [23:12:51]Load OK [23:12:51]SetTLVBufToDocument [23:12:51]Processing tag 1014 (03F6) [23:12:51]Malloc new data [23:12:51]Processing tag 1015 (03F7) [23:12:51]Malloc new data [23:12:51]SetTLVBufToDocument err=0 [23:12:51]Processing tag 1007 (03EF) [23:12:51]Load OK [23:12:51]SetTLVBufToDocument [23:12:51]Processing tag 1014 (03F6) [23:12:51]Malloc new data [23:12:51]Processing tag 1015 (03F7) [23:12:51]Malloc new data [23:12:51]SetTLVBufToDocument err=0 [23:12:51]SetTLVBufToDocument err=0 [23:12:51]SetTLVBufToDocument err=0 [23:12:51]Processing tag 1131 (046B) [23:12:51]Load OK [23:12:51]SetTLVBufToDocument [23:12:51]Processing tag 1135 (046F) [23:12:51]Malloc new data [23:12:51]Processing tag 1201 (04B1) [23:12:51]Malloc new data [23:12:51]Processing tag 1136 (0470) [23:12:51]Malloc new data [23:12:51]Processing tag 1138 (0472) [23:12:51]Malloc new data [23:12:51]Processing tag 1024 (0400) [23:12:51]Load OK [23:12:51]SetTLVBufToDocument [23:12:51]Processing tag 1006 (03EE) [23:12:51]Load OK [23:12:51]SetTLVBufToDocument [23:12:51]Processing tag 1010 (03F2) [23:12:51]Malloc new data [23:12:51]Processing tag 1011 (03F3) [23:12:51]Malloc new data [23:12:51]SetTLVBufToDocument err=0 [23:12:51]Processing tag 1006 (03EE) [23:12:51]Load OK [23:12:51]SetTLVBufToDocument [23:12:51]Processing tag 1010 (03F2) [23:12:51]Malloc new data [23:12:51]Processing tag 1011 (03F3) [23:12:51]Malloc new data [23:12:51]SetTLVBufToDocument err=0 [23:12:51]Processing tag 1007 (03EF) [23:12:51]Load OK [23:12:51]SetTLVBufToDocument [23:12:51]Processing tag 1014 (03F6) [23:12:51]Malloc new data [23:12:51]Processing tag 1015 (03F7) [23:12:51]Malloc new data [23:12:51]SetTLVBufToDocument err=0 [23:12:51]Processing tag 1007 (03EF) [23:12:51]Load OK [23:12:51]SetTLVBufToDocument [23:12:51]Processing tag 1014 (03F6) [23:12:51]Malloc new data [23:12:51]Processing tag 1015 (03F7) [23:12:51]Malloc new data [23:12:51]SetTLVBufToDocument err=0 [23:12:51]Processing tag 1007 (03EF) [23:12:51]Load OK [23:12:51]SetTLVBufToDocument [23:12:51]Processing tag 1014 (03F6) [23:12:51]Malloc new data [23:12:51]Processing tag 1015 (03F7) [23:12:51]Malloc new data [23:12:51]SetTLVBufToDocument err=0 [23:12:51]Processing tag 1007 (03EF) [23:12:51]Load OK [23:12:51]SetTLVBufToDocument [23:12:51]Processing tag 1014 (03F6) [23:12:51]Malloc new data [23:12:51]Processing tag 1015 (03F7) [23:12:51]Malloc new data [23:12:51]SetTLVBufToDocument err=0 [23:12:51]Processing tag 1007 (03EF) [23:12:51]Load OK [23:12:51]SetTLVBufToDocument [23:12:51]Processing tag 1014 (03F6) [23:12:51]Malloc new data [23:12:51]Processing tag 1015 (03F7) [23:12:51]Malloc new data [23:12:51]SetTLVBufToDocument err=0 [23:12:51]Processing tag 1007 (03EF) [23:12:51]Load OK [23:12:51]SetTLVBufToDocument [23:12:51]Processing tag 1014 (03F6) [23:12:51]Malloc new data [23:12:51]Processing tag 1015 (03F7) [23:12:51]Malloc new data [23:12:51]SetTLVBufToDocument err=0 [23:12:51]Processing tag 1007 (03EF) [23:12:51]Load OK [23:12:51]SetTLVBufToDocument [23:12:51]Processing tag 1014 (03F6) [23:12:51]Malloc new data [23:12:51]Processing tag 1015 (03F7) [23:12:51]Malloc new data [23:12:51]SetTLVBufToDocument err=0 [23:12:52]SetTLVBufToDocument err=0 [23:12:52]SetTLVBufToDocument err=0 [23:12:52]Processing tag 1132 (046C) [23:12:52]Load OK [23:12:52]SetTLVBufToDocument [23:12:52]Processing tag 1135 (046F) [23:12:52]Malloc new data [23:12:52]Processing tag 1201 (04B1) [23:12:52]Malloc new data [23:12:52]Processing tag 1136 (0470) [23:12:52]Malloc new data [23:12:52]Processing tag 1138 (0472) [23:12:52]Malloc new data [23:12:52]Processing tag 1024 (0400) [23:12:52]Load OK [23:12:52]SetTLVBufToDocument [23:12:52]Processing tag 1006 (03EE) [23:12:52]Load OK [23:12:52]SetTLVBufToDocument [23:12:52]Processing tag 1010 (03F2) [23:12:52]Malloc new data [23:12:52]Processing tag 1011 (03F3) [23:12:52]Malloc new data [23:12:52]SetTLVBufToDocument err=0 [23:12:52]Processing tag 1006 (03EE) [23:12:52]Load OK [23:12:52]SetTLVBufToDocument [23:12:52]Processing tag 1010 (03F2) [23:12:52]Malloc new data [23:12:52]Processing tag 1011 (03F3) [23:12:52]Malloc new data [23:12:52]SetTLVBufToDocument err=0 [23:12:52]Processing tag 1007 (03EF) [23:12:52]Load OK [23:12:52]SetTLVBufToDocument [23:12:52]Processing tag 1014 (03F6) [23:12:52]Malloc new data [23:12:52]Processing tag 1015 (03F7) [23:12:52]Malloc new data [23:12:52]SetTLVBufToDocument err=0 [23:12:52]Processing tag 1007 (03EF) [23:12:52]Load OK [23:12:52]SetTLVBufToDocument [23:12:52]Processing tag 1014 (03F6) [23:12:52]Malloc new data [23:12:52]Processing tag 1015 (03F7) [23:12:52]Malloc new data [23:12:52]SetTLVBufToDocument err=0 [23:12:52]Processing tag 1007 (03EF) [23:12:52]Load OK [23:12:52]SetTLVBufToDocument [23:12:52]Processing tag 1014 (03F6) [23:12:52]Malloc new data [23:12:52]Processing tag 1015 (03F7) [23:12:52]Malloc new data [23:12:52]SetTLVBufToDocument err=0 [23:12:52]Processing tag 1007 (03EF) [23:12:52]Load OK [23:12:52]SetTLVBufToDocument [23:12:52]Processing tag 1014 (03F6) [23:12:52]Malloc new data [23:12:52]Processing tag 1015 (03F7) [23:12:52]Malloc new data [23:12:52]SetTLVBufToDocument err=0 [23:12:52]Processing tag 1007 (03EF) [23:12:52]Load OK [23:12:52]SetTLVBufToDocument [23:12:52]Processing tag 1014 (03F6) [23:12:52]Malloc new data [23:12:52]Processing tag 1015 (03F7) [23:12:52]Malloc new data [23:12:52]SetTLVBufToDocument err=0 [23:12:52]Processing tag 1007 (03EF) [23:12:52]Load OK [23:12:52]SetTLVBufToDocument [23:12:52]Processing tag 1014 (03F6) [23:12:52]Malloc new data [23:12:52]Processing tag 1015 (03F7) [23:12:52]Malloc new data [23:12:52]SetTLVBufToDocument err=0 [23:12:52]Processing tag 1007 (03EF) [23:12:52]Load OK [23:12:52]SetTLVBufToDocument [23:12:52]Processing tag 1014 (03F6) [23:12:52]Malloc new data [23:12:52]Processing tag 1015 (03F7) [23:12:52]Malloc new data [23:12:52]SetTLVBufToDocument err=0 [23:12:52]SetTLVBufToDocument err=0 [23:12:52]SetTLVBufToDocument err=0 [23:12:52]Processing tag 1133 (046D) [23:12:52]Malloc new data [23:12:52]SetTLVBufToDocument err=0 [23:12:52]SetTLVBufToDocument err=0 [23:12:52]Malloc new data [23:12:52]SAM_PROTO_GetFMData [23:12:52]wFMCommunicate request_size=4 [23:12:52]MH_SAM_APDU [23:12:52]CAPDU: 80 13 03 00 [23:12:52]Write to MH i2c: E2 08 00 2B 64 80 13 03 00 00 00 00 00 0E [23:12:52]Write i2c OK [23:12:52]MH_I2C_Read... [23:12:52]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:12:52]Read from MH i2c: E2 [23:12:52]MH_I2C_Read... [23:12:52]Read from MH i2c: E2 FD 00 [23:12:52]MH_I2C_Read... [23:12:52]Read from MH i2c: E2 FD 00 2B 64 00 C1 04 85 04 BD 04 6E 04 04 00 B7 B6 00 00 69 04 A0 00 6F 04 04 00 90 B5 00 00 B1 04 04 00 77 D8 12 30 70 04 04 00 BC 4D 23 28 72 04 04 00 BB 8A EF 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 D3 E4 1A 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 84 D4 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 27 01 00 00 B1 04 03 00 A0 50 6E 70 04 03 00 C4 49 6A 72 04 03 00 DC 06 04 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 12 B7 0B EF 03 09 00 F6 03 90 00 3A [23:12:52]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 B7 B6 00 00 69 04 A0 00 6F 04 04 00 90 B5 00 00 B1 04 04 00 77 D8 12 30 70 04 04 00 BC 4D 23 28 72 04 04 00 BB 8A EF 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 D3 E4 1A 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 84 D4 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 27 01 00 00 B1 04 03 00 A0 50 6E 70 04 03 00 C4 49 6A 72 04 03 00 DC 06 04 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 12 B7 0B EF 03 09 00 F6 03 90 00 [23:12:53]wFMCommunicate OK [23:12:53]wFMCommunicate request_size=4 [23:12:53]MH_SAM_APDU [23:12:53]CAPDU: 80 17 00 00 [23:12:53]Write to MH i2c: E2 08 00 2C 64 80 17 00 00 00 00 00 00 10 [23:12:53]Write i2c OK [23:12:53]MH_I2C_Read... [23:12:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:12:53]Read from MH i2c: E2 [23:12:53]MH_I2C_Read... [23:12:53]Read from MH i2c: E2 FD 00 [23:12:53]MH_I2C_Read... [23:12:53]Read from MH i2c: E2 FD 00 2C 64 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 C7 F9 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 FF [23:12:53]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 C7 F9 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:12:53]wFMCommunicate OK [23:12:53]wFMCommunicate request_size=4 [23:12:53]MH_SAM_APDU [23:12:53]CAPDU: 80 17 00 00 [23:12:53]Write to MH i2c: E2 08 00 2D 64 80 17 00 00 00 00 00 00 11 [23:12:53]Write i2c OK [23:12:53]MH_I2C_Read... [23:12:53]Read from MH i2c: E2 [23:12:53]MH_I2C_Read... [23:12:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:12:53]Read from MH i2c: E2 FD 00 [23:12:53]MH_I2C_Read... [23:12:53]Read from MH i2c: E2 FD 00 2D 64 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 B1 [23:12:53]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:12:54]wFMCommunicate OK [23:12:54]wFMCommunicate request_size=4 [23:12:54]MH_SAM_APDU [23:12:54]CAPDU: 80 17 00 00 [23:12:54]Write to MH i2c: E2 08 00 2E 64 80 17 00 00 00 00 00 00 12 [23:12:54]Write i2c OK [23:12:54]MH_I2C_Read... [23:12:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:12:54]Read from MH i2c: E2 [23:12:54]MH_I2C_Read... [23:12:54]Read from MH i2c: E2 FD 00 [23:12:54]MH_I2C_Read... [23:12:54]Read from MH i2c: E2 FD 00 2E 64 00 03 01 00 04 F7 03 00 00 EF 03 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 90 00 97 [23:12:54]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 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 OFD Sender: No OFD packet to send [23:12:54]70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:12:54]wFMCommunicate OK [23:12:54]wFMCommunicate request_size=4 [23:12:54]MH_SAM_APDU [23:12:54]CAPDU: 80 17 00 00 [23:12:54]Write to MH i2c: E2 08 00 2F 64 80 17 00 00 00 00 00 00 13 [23:12:54]Write i2c OK [23:12:54]MH_I2C_Read... [23:12:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [23:12:54]Read from MH i2c: E2 [23:12:54]MH_I2C_Read... [23:12:54]Read from MH i2c: E2 DE 00 [23:12:54]MH_I2C_Read... [23:12:54]Read from MH i2c: E2 DE 00 2F 64 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [23:12:55]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:12:55]wFMCommunicate OK [23:12:55]SAM_PROTO_GetFMData done [23:12:55]FM_GetFMData:85 04 BD 04 6E 04 04 00 B7 B6 00 00 69 04 A0 00 6F 04 04 00 90 B5 00 00 B1 04 04 00 77 D8 12 30 70 04 04 00 BC 4D 23 28 72 04 04 00 BB 8A EF 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 D3 E4 1A 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 84 D4 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 27 01 00 00 B1 04 03 00 A0 50 6E 70 04 03 00 C4 49 6A 72 04 03 00 DC 06 04 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 12 B7 0B 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 C7 F9 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [23:12:55]oper:6F 04 04 00 90 B5 00 00 B1 04 04 00 77 D8 12 30 70 04 04 00 BC 4D 23 28 72 04 04 00 BB 8A EF 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 D3 E4 1A 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 84 D4 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [23:12:55]total:77 D8 12 30 [23:12:55]Malloc new data [23:12:55]oper:6F 04 04 00 27 01 00 00 B1 04 03 00 A0 50 6E 70 04 03 00 C4 49 6A 72 04 03 00 DC 06 04 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 12 B7 0B 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 C7 F9 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [23:12:55]total:A0 50 6E [23:12:55]Malloc new data [23:12:55]oper:6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [23:12:56]total: [23:12:56]Malloc new data [23:12:56]oper:6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [23:12:56]total: [23:12:56]Malloc new data [23:12:56]KKMPrepareXReportFMData err=0 [23:12:56]Х отчет ИНН: 02508201610067 Кассир: Максатбек у Д. 12.03.2024 23:13 Смена: 266 РНМ: 0000000000092018 ЗНМ: 0300000097 СНО: Общий режим Всего чеков: 82 ИТОГИ ПРИХОД Чеков: 80 Общий итог: 13281.00 Итого наличными: 11397.00 Итого безнал.: 1884.00 НДС 0% : 0.00 НДС 12% : 1410.38 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 117.38 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 2 Общий итог: 290.00 Итого наличными: 290.00 Итого безнал.: 0.00 НДС 0% : 0.00 НДС 12% : 30.79 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 2.56 ИТОГИ РАСХОД Чеков: 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 Нал. в кассе: 11107.00 НС Приход: 8065414.31 НС Возвр.Прихода: 72296.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФМ: 0000000000871816 [23:12:56]StoreToDocumentArchive [23:12:56]MH_GetDate [23:12:56]Write to MH i2c: F0 00 00 30 64 83 [23:12:56]Write i2c OK [23:12:56]MH_I2C_Read... [23:12:56]Read from MH i2c: F0 [23:12:56]MH_I2C_Read... [23:12:56]Read from MH i2c: F0 09 00 [23:12:56]MH_I2C_Read... [23:12:56]Read from MH i2c: F0 09 00 30 64 00 89 E1 F0 65 0A 64 6E 65 8C [23:12:56]shift 266 fd 1710285193 [23:12:56]Create dir for shift 0266 [23:12:56]save to /storage/0266/doc_1710285193 [23:12:56]save last doc name /storage/0266/doc_1710285193 to /storage/kkm_last_doc_name [23:12:56]save OK [23:12:56]Clear old archive folders... [23:12:56]NVStorageSaveData kkm_last_timestamp [23:12:56]File name is /storage/kkm_last_timestamp [23:12:56]Write 4 bytes [23:12:56]NVStorageSaveData done [23:12:56]ExternCall_PrintAddStr [23:12:56]wPrintStart [23:12:56]Write to MH i2c: 01 00 00 31 64 95 [23:12:56]Write i2c OK [23:12:56]MH_I2C_Read... [23:12:56]Read from MH i2c: 01 [23:12:56]MH_I2C_Read... [23:12:56]Read from MH i2c: 01 07 00 [23:12:56]MH_I2C_Read... [23:12:56]Read from MH i2c: 01 07 00 31 64 00 00 00 00 00 FF 0F AA [23:12:56]RasterBufferAndPrint [23:12:56]line Х отчет [23:12:56]line ИНН: 02508201610067 [23:12:56]line Кассир: Максатбек у Д. [23:12:56]line 12.03.2024 23:13 [23:12:56]line Смена: 266 [23:12:56]line РНМ: 0000000000092018 [23:12:56]line ЗНМ: 0300000097 [23:12:56]line СНО: Общий режим [23:12:56]line Всего чеков: 82 [23:12:56]line ИТОГИ ПРИХОД [23:12:56]line Чеков: 80 [23:12:56]line Общий итог: 13281.00 [23:12:56]line Итого наличными: 11397.00 [23:12:56]line Итого безнал.: 1884.00 [23:12:56]line НДС 0% : 0.00 [23:12:56]line НДС 12% : 1410.38 [23:12:56]line НСП 0% : 0.00 [23:12:56]line НСП 1,50% : 0.00 [23:12:56]line НСП 0,50% : 0.00 [23:12:56]line НСП 5% : 0.00 [23:12:56]line НСП 3% : 0.00 [23:12:56]line НСП 2% : 0.00 [23:12:56]line НСП 1% : 117.38 [23:12:56]line ИТОГИ ВОЗВРАТ ПРИХОДА [23:12:56]line Чеков: 2 [23:12:56]line Общий итог: 290.00 [23:12:56]line Итого наличными: 290.00 [23:12:56]line Итого безнал.: 0.00 [23:12:56]line НДС 0% : 0.00 [23:12:56]line НДС 12% : 30.79 [23:12:56]line НСП 0% : 0.00 [23:12:56]line НСП 1,50% : 0.00 [23:12:56]line НСП 0,50% : 0.00 [23:12:56]line НСП 5% : 0.00 [23:12:56]line НСП 3% : 0.00 [23:12:56]line НСП 2% : 0.00 [23:12:56]line НСП 1% : 2.56 [23:12:56]line ИТОГИ РАСХОД [23:12:56]line Чеков: 0 [23:12:56]line Общий итог: 0.00 [23:12:56]line Итого наличными: 0.00 [23:12:56]line Итого безнал.: 0.00 [23:12:56]line НДС 0% : 0.00 [23:12:56]line НДС 12% : 0.00 [23:12:56]line НСП 0% : 0.00 [23:12:56]line НСП 1,50% : 0.00 [23:12:56]line НСП 0,50% : 0.00 [23:12:56]line НСП 5% : 0.00 [23:12:56]line НСП 3% : 0.00 [23:12:56]line НСП 2% : 0.00 [23:12:56]line НСП 1% : 0.00 [23:12:56]line ИТОГИ ВОЗВРАТ РАСХОДА [23:12:56]line Чеков: 0 [23:12:56]line Общий итог: 0.00 [23:12:56]line Итого наличными: 0.00 [23:12:56]line Итого безнал.: 0.00 [23:12:56]line НДС 0% : 0.00 [23:12:56]line НДС 12% : 0.00 [23:12:56]line НСП 0% : 0.00 [23:12:56]line НСП 1,50% : 0.00 [23:12:56]line НСП 0,50% : 0.00 [23:12:56]line НСП 5% : 0.00 [23:12:56]line НСП 3% : 0.00 [23:12:56]line НСП 2% : 0.00 [23:12:56]line НСП 1% : 0.00 [23:12:56]line Сумма внесений: 0.00 [23:12:56]line Сумма выплат: 0.00 [23:12:56]line Нал. в кассе: 11107.00 [23:12:56]line НС Приход: 8065414.31 [23:12:56]line НС Возвр.Прихода: 72296.00 [23:12:56]line НС Расход: 0.00 [23:12:56]line НС Возвр.Расхода: 0.00 [23:12:56]line ФМ: 0000000000871816 [23:12:56]written 0, free lines is 4095 [23:12:56]Write to MH i2c: 01 00 00 7C 64 E0 [23:12:56]Write i2c OK [23:12:56]MH_I2C_Read... [23:12:56]Read from MH i2c: 01 [23:12:56]MH_I2C_Read... [23:12:56]Read from MH i2c: 01 07 00 [23:12:57]MH_I2C_Read... [23:12:57]Read from MH i2c: 01 07 00 7C 64 00 00 00 00 00 89 0A 7A [23:12:57]RasterBufferAndPrint [23:12:57]line [23:12:57]line [23:12:57]line [23:12:57]line [23:12:57]line [23:12:57]written 0, free lines is 2726 [23:12:57]MH_Cut [23:12:57]Write to MH i2c: D1 01 00 83 64 01 B9 [23:12:57]Write i2c OK [23:12:57]MH_I2C_Read... [23:12:57]Read from MH i2c: D1 [23:12:57]MH_I2C_Read... [23:12:57]Read from MH i2c: D1 01 00 [23:12:57]MH_I2C_Read... [23:12:57]Read from MH i2c: D1 01 00 83 64 00 B8 [23:12:57]Write to MH i2c: 01 00 00 84 64 E8 [23:12:57]Write i2c OK [23:12:57]MH_I2C_Read... [23:12:58]*** Cut start [23:12:58]*** Purtial cut [23:12:58]*** Stage 1: CUTSNS_PIN = 1 [23:12:58]Read from MH i2c: 01 [23:12:58]MH_I2C_Read... [23:12:58]*** Stop cut motor [23:12:58]*** Cut end [23:12:58]Read from MH i2c: 01 07 00 [23:12:58]MH_I2C_Read... [23:12:58]Read from MH i2c: 01 07 00 84 64 00 00 00 00 00 FF 0F FD [23:12:58]process_action x_report done [23:12:58]requested_data is exist [23:12:58]produce_requested_data [23:12:58]requested_item fd.num is exist - process it [23:12:58]SAM_PROTO_GetFieldsCounters [23:12:58]wFMCommunicate request_size=4 [23:12:58]MH_SAM_APDU [23:12:58]CAPDU: 80 13 00 00 [23:12:58]Write to MH i2c: E2 08 00 85 64 80 13 00 00 00 00 00 00 65 [23:12:58]Write i2c OK [23:12:58]MH_I2C_Read... [23:12:58]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:12:58]Read from MH i2c: E2 [23:12:58]MH_I2C_Read... [23:12:58]Read from MH i2c: E2 62 00 [23:12:58]MH_I2C_Read... [23:12:58]Read from MH i2c: E2 62 00 85 64 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 2C B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 52 00 00 00 5E 04 04 00 52 00 00 00 57 04 04 00 53 00 00 00 19 04 04 00 00 00 00 00 90 00 96 [23:12:58]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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 2C B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 52 00 00 00 5E 04 04 00 52 00 00 00 57 04 04 00 53 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:12:58]wFMCommunicate OK [23:12:58]SAM_PROTO_GetFieldsCounters done [23:12:58]requested_item shift.num is exist - process it [23:12:58]requested_item shift.opened is exist - process it [23:12:58]req_shift_opened [23:12:58]FM_GetShiftState [23:12:58]SAM_PROTO_GetShiftState [23:12:58]wFMCommunicate request_size=4 [23:12:58]MH_SAM_APDU [23:12:58]CAPDU: 80 13 01 00 [23:12:58]Write to MH i2c: E2 08 00 86 64 80 13 01 00 00 00 00 00 67 [23:12:58]Write i2c OK [23:12:58]MH_I2C_Read... [23:12:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:12:58]Read from MH i2c: E2 [23:12:58]MH_I2C_Read... [23:12:58]Read from MH i2c: E2 0E 00 [23:12:58]MH_I2C_Read... [23:12:58]Read from MH i2c: E2 0E 00 86 64 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 96 [23:12:58]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [23:12:58]wFMCommunicate OK [23:12:58]SAM_PROTO_GetShiftState done [23:12:58]FM_GetShiftState done [23:12:58]req_shift_opened done [23:12:58]requested_item shift.open_date is exist - process it [23:12:58]req_shift_open_date [23:12:58]req_shift_open_date done [23:12:58]produce_requested_data done [23:12:58]produce_requested_data return {"fd.num":47404,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [23:12:58]process_action_free x_report [23:12:58]json_value_free [23:12:58]json_value_free done [23:12:58]process_json_proto returns [23:12:58]Send response to host [23:12:58]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":47404,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [23:12:58]free response buf [23:12:58]execute_script done [23:12:58]execute_script returns [23:12:58]free content buf [23:12:58]Sock 7.Close socket [23:12:58]Sock 7.Thread stoped [23:12:59]OFD Sender: No OFD packet to send [23:13:04]OFD Sender: No OFD packet to send [23:13:09]OFD Sender: No OFD packet to send [23:13:14]OFD Sender: No OFD packet to send [23:13:19]OFD Sender: No OFD packet to send [23:13:24]OFD Sender: No OFD packet to send [23:13:29]OFD Sender: No OFD packet to send [23:13:34]OFD Sender: No OFD packet to send [23:13:39]OFD Sender: No OFD packet to send [23:13:44]OFD Sender: No OFD packet to send [23:13:49]OFD Sender: No OFD packet to send [23:13:54]OFD Sender: No OFD packet to send [23:13:59]OFD Sender: No OFD packet to send [23:14:04]OFD Sender: No OFD packet to send [23:14:09]OFD Sender: No OFD packet to send [23:14:14]OFD Sender: No OFD packet to send [23:14:19]OFD Sender: No OFD packet to send [23:14:24]OFD Sender: No OFD packet to send [23:14:29]OFD Sender: No OFD packet to send [23:14:34]OFD Sender: No OFD packet to send [23:14:39]OFD Sender: No OFD packet to send [23:14:44]OFD Sender: No OFD packet to send [23:14:49]OFD Sender: No OFD packet to send [23:14:54]OFD Sender: No OFD packet to send [23:14:59]OFD Sender: No OFD packet to send [23:15:04]OFD Sender: No OFD packet to send [23:15:09]OFD Sender: No OFD packet to send [23:15:14]OFD Sender: No OFD packet to send [23:15:19]OFD Sender: No OFD packet to send [23:15:24]OFD Sender: No OFD packet to send [23:15:29]OFD Sender: No OFD packet to send [23:15:34]OFD Sender: No OFD packet to send [23:15:39]OFD Sender: No OFD packet to send [23:15:44]OFD Sender: No OFD packet to send [23:15:49]OFD Sender: No OFD packet to send [23:15:54]OFD Sender: No OFD packet to send [23:15:59]OFD Sender: No OFD packet to send [23:16:04]OFD Sender: No OFD packet to send [23:16:09]OFD Sender: No OFD packet to send [23:16:14]OFD Sender: No OFD packet to send [23:16:19]OFD Sender: No OFD packet to send [23:16:24]OFD Sender: No OFD packet to send [23:16:29]OFD Sender: No OFD packet to send [23:16:34]OFD Sender: No OFD packet to send [23:16:39]OFD Sender: No OFD packet to send [23:16:44]OFD Sender: No OFD packet to send [23:16:49]OFD Sender: No OFD packet to send [23:16:54]OFD Sender: No OFD packet to send [23:16:59]OFD Sender: No OFD packet to send [23:17:04]OFD Sender: No OFD packet to send [23:17:09]OFD Sender: No OFD packet to send [23:17:14]OFD Sender: No OFD packet to send [23:17:19]OFD Sender: No OFD packet to send [23:17:24]OFD Sender: No OFD packet to send [23:17:29]OFD Sender: No OFD packet to send [23:17:34]OFD Sender: No OFD packet to send [23:17:39]OFD Sender: No OFD packet to send [23:17:44]OFD Sender: No OFD packet to send [23:17:49]OFD Sender: No OFD packet to send [23:17:54]OFD Sender: No OFD packet to send [23:17:59]OFD Sender: No OFD packet to send [23:18:04]OFD Sender: No OFD packet to send [23:18:09]OFD Sender: No OFD packet to send [23:18:14]OFD Sender: No OFD packet to send [23:18:19]OFD Sender: No OFD packet to send [23:18:24]OFD Sender: No OFD packet to send [23:18:29]OFD Sender: No OFD packet to send [23:18:34]OFD Sender: No OFD packet to send [23:18:39]OFD Sender: No OFD packet to send [23:18:44]OFD Sender: No OFD packet to send [23:18:49]OFD Sender: No OFD packet to send [23:18:54]OFD Sender: No OFD packet to send [23:18:59]OFD Sender: No OFD packet to send [23:19:04]OFD Sender: No OFD packet to send [23:19:09]OFD Sender: No OFD packet to send [23:19:14]OFD Sender: No OFD packet to send [23:19:19]OFD Sender: No OFD packet to send [23:19:24]OFD Sender: No OFD packet to send [23:19:29]OFD Sender: No OFD packet to send [23:19:34]OFD Sender: No OFD packet to send [23:19:39]OFD Sender: No OFD packet to send [23:19:44]OFD Sender: No OFD packet to send [23:19:49]OFD Sender: No OFD packet to send [23:19:54]OFD Sender: No OFD packet to send [23:19:59]OFD Sender: No OFD packet to send [23:20:04]OFD Sender: No OFD packet to send [23:20:09]OFD Sender: No OFD packet to send [23:20:14]OFD Sender: No OFD packet to send [23:20:19]OFD Sender: No OFD packet to send [23:20:24]OFD Sender: No OFD packet to send [23:20:29]OFD Sender: No OFD packet to send [23:20:34]OFD Sender: No OFD packet to send [23:20:39]OFD Sender: No OFD packet to send [23:20:44]OFD Sender: No OFD packet to send [23:20:49]OFD Sender: No OFD packet to send [23:20:54]OFD Sender: No OFD packet to send [23:20:59]OFD Sender: No OFD packet to send [23:21:04]OFD Sender: No OFD packet to send [23:21:09]OFD Sender: No OFD packet to send [23:21:14]OFD Sender: No OFD packet to send [23:21:19]OFD Sender: No OFD packet to send [23:21:24]OFD Sender: No OFD packet to send [23:21:29]OFD Sender: No OFD packet to send [23:21:34]OFD Sender: No OFD packet to send [23:21:39]OFD Sender: No OFD packet to send [23:21:44]OFD Sender: No OFD packet to send [23:21:49]OFD Sender: No OFD packet to send [23:21:54]OFD Sender: No OFD packet to send [23:21:59]OFD Sender: No OFD packet to send [23:22:04]OFD Sender: No OFD packet to send [23:22:10]OFD Sender: No OFD packet to send [23:22:15]OFD Sender: No OFD packet to send [23:22:20]OFD Sender: No OFD packet to send [23:22:25]OFD Sender: No OFD packet to send [23:22:30]OFD Sender: No OFD packet to send [23:22:35]OFD Sender: No OFD packet to send [23:22:40]OFD Sender: No OFD packet to send [23:22:45]OFD Sender: No OFD packet to send [23:22:50]OFD Sender: No OFD packet to send [23:22:55]OFD Sender: No OFD packet to send [23:23:00]OFD Sender: No OFD packet to send [23:23:05]OFD Sender: No OFD packet to send [23:23:10]OFD Sender: No OFD packet to send [23:23:15]OFD Sender: No OFD packet to send [23:23:20]OFD Sender: No OFD packet to send [23:23:25]OFD Sender: No OFD packet to send [23:23:30]OFD Sender: No OFD packet to send [23:23:35]OFD Sender: No OFD packet to send [23:23: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:34]accept exits with 9 [23:24:34]New connection [23:24:34]New thread 3066596708 created [23:24:34]Thread 3066453348 joined [23:24:34]Waiting for new connection... [23:24:34] Sock 9.Parse request [23:24:34]Sock 9.Check first char [23:24:34]Sock 9.First char is OK [23:24:34]request: POST /json_proto HTTP/1.0 [23:24:34]Method: POST [23:24:34]URL: /json_proto [23:24:34]Method is POST - this is cgi request [23:24:34]url: /json_proto [23:24:34]query_string will be loaded in cgi processing [23:24:34]execute_cgi json_proto POST (null) [23:24:34]execute_cgi path=json_proto method=POST [23:24:34]POST find Content-Length [23:24:34]Host: 172.17.32.68:8080 [23:24:34]Content-Length: 655 [23:24:34]Content-Type: application/json [23:24:34] [23:24:34]POST finish read [23:24:34]Found Content-Length = 655 [23:24:34]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242317", "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" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 85.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:24:34]execute_script... [23:24:34]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242317", "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" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 85.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:24:34]POST & json_proto [23:24:34]process_json_proto [23:24:34]json parsed OK: [23:24:34]protocol is kg_v1.0 [23:24:34]action value=close_receipt [23:24:34]process_action close_receipt [23:24:34]cmd_close_receipt [23:24:34]MH_GetDate [23:24:34]Write to MH i2c: F0 00 00 87 64 DA [23:24:34]Write i2c OK [23:24:34]MH_I2C_Read... [23:24:34]Read from MH i2c: F0 [23:24:34]MH_I2C_Read... [23:24:34]Read from MH i2c: F0 09 00 [23:24:34]MH_I2C_Read... [23:24:34]Read from MH i2c: F0 09 00 87 64 00 44 E4 F0 65 0A 64 6E 65 A1 [23:24:34]GetLastDocTimeStamp 1710285186 [23:24:34]current date 1710285892 [23:24:34]FM_GetShiftState [23:24:34]SAM_PROTO_GetShiftState [23:24:34]wFMCommunicate request_size=4 [23:24:34]MH_SAM_APDU [23:24:34]CAPDU: 80 13 01 00 [23:24:34]Write to MH i2c: E2 08 00 88 64 80 13 01 00 00 00 00 00 69 [23:24:34]Write i2c OK [23:24:34]MH_I2C_Read... [23:24:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:24:34]Read from MH i2c: E2 [23:24:34]MH_I2C_Read... [23:24:34]Read from MH i2c: E2 0E 00 [23:24:34]MH_I2C_Read... [23:24:34]Read from MH i2c: E2 0E 00 88 64 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 98 [23:24:34]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [23:24:34]wFMCommunicate OK [23:24:34]SAM_PROTO_GetShiftState done [23:24:34]FM_GetShiftState done [23:24:34]opened in 1710202417 [23:24:34]opened+sec_in_day 1710288817 [23:24:34]quantity*price = 8500 [23:24:34]sum+1 = 8501 [23:24:34]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 85.00 НСП 1% : 0.75 НДС 12% : 9.03 Наличными: 85.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 83 12.03.2024 23:24 Смена: 314 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47405 ФПД: 84387098232570 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T232452&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47405&fm=84387098232570&tin=02508201610067®Number=0000000000092018&sum=8500 0 [23:24:35]StoreToDocumentArchive [23:24:35]shift 314 fd 47405 [23:24:35]save to /storage/0314/doc_00047405 [23:24:35]save last doc name /storage/0314/doc_00047405 to /storage/kkm_last_doc_name [23:24:35]save OK [23:24:35]Clear old archive folders... [23:24:35]Remove dir /storage/0266 [23:24:35]opendir ok [23:24:35]file . [23:24:35]file .. [23:24:35]file doc_1710285193 [23:24:35]remove file /storage/0266/doc_1710285193 [23:24:35]remove dir /storage/0266 [23:24:35]ProcessDocumentItem done err = 0, tmpTLVsize=294 [23:24:35]tlvbuf is 0042AD10 [23:24:35]SAM_PROTO_ClearQueue [23:24:35]wFMCommunicate request_size=4 [23:24:35]MH_SAM_APDU [23:24:35]CAPDU: 80 09 00 00 [23:24:35]Write to MH i2c: E2 08 00 95 64 80 09 00 00 00 00 00 00 6B [23:24:35]Write i2c OK [23:24:35]MH_I2C_Read... [23:24:35]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:24:35]Read from MH i2c: E2 [23:24:35]MH_I2C_Read... [23:24:35]Read from MH i2c: E2 03 00 [23:24:35]MH_I2C_Read... [23:24:35]Read from MH i2c: E2 03 00 95 64 00 90 00 6D [23:24:35]RAPDU: 90 00 [23:24:35]wFMCommunicate OK [23:24:35]SAM_PROTO_ClearQueue done [23:24:35]KKMCreateOFDPacket [23:24:35]OFDProtocolAddRootSTLVToBuf [23:24:35]FM_MakeSignedData [23:24:35]FM_MakeSignedData [23:24:35]SAM_PROTO_SignData [23:24:35]wFMCommunicate request_size=4 [23:24:35]MH_SAM_APDU [23:24:35]CAPDU: 80 0D 01 02 [23:24:35]Write to MH i2c: E2 08 00 96 64 80 0D 01 02 00 00 00 00 73 [23:24:35]Write i2c OK [23:24:35]MH_I2C_Read... [23:24:35]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:24:35]Read from MH i2c: E2 [23:24:35]MH_I2C_Read... [23:24:35]Read from MH i2c: E2 03 00 [23:24:35]MH_I2C_Read... [23:24:35]Read from MH i2c: E2 03 00 96 64 00 90 00 6E [23:24:35]RAPDU: 90 00 [23:24:35]wFMCommunicate OK [23:24:35]wFMCommunicate request_size=255 [23:24:35]MH_SAM_APDU [23:24:35]CAPDU: 80 0D 02 02 FA 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 34 21 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 53 00 00 00 F4 03 04 00 44 E4 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 [23:24:35]Write to MH i2c: E2 02 01 97 64 80 0D 02 02 FA 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 34 21 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 53 00 00 00 F4 03 04 00 44 E4 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 00 00 62 [23:24:35]Write i2c OK [23:24:35]MH_I2C_Read... [23:24:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:24:36]Read from MH i2c: E2 [23:24:36]MH_I2C_Read... [23:24:36]Read from MH i2c: E2 03 00 [23:24:36]MH_I2C_Read... [23:24:36]Read from MH i2c: E2 03 00 97 64 00 90 00 6F [23:24:36]RAPDU: 90 00 [23:24:36]wFMCommunicate OK [23:24:36]wFMCommunicate request_size=53 [23:24:36]MH_SAM_APDU [23:24:36]CAPDU: 80 0D 02 02 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 2D B9 00 00 35 04 06 00 4C BF E7 03 86 FA [23:24:36]Write to MH i2c: E2 38 00 98 64 80 0D 02 02 30 00 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 2D B9 00 00 35 04 06 00 4C BF E7 03 86 FA 00 00 C0 [23:24:36]Write i2c OK [23:24:36]MH_I2C_Read... [23:24:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:24:36]Read from MH i2c: E2 [23:24:36]MH_I2C_Read... [23:24:36]Read from MH i2c: E2 03 00 [23:24:36]MH_I2C_Read... [23:24:36]Read from MH i2c: E2 03 00 98 64 00 90 00 70 [23:24:36]RAPDU: 90 00 [23:24:36]wFMCommunicate OK [23:24:36]wFMCommunicate request_size=4 [23:24:36]MH_SAM_APDU [23:24:36]CAPDU: 80 0D 03 02 [23:24:36]Write to MH i2c: E2 08 00 99 64 80 0D 03 02 00 00 00 00 78 [23:24:36]Write i2c OK [23:24:36]MH_I2C_Read... [23:24:36]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:24:36]Read from MH i2c: E2 [23:24:36]MH_I2C_Read... [23:24:36]Read from MH i2c: E2 0B 00 [23:24:36]MH_I2C_Read... [23:24:36]Read from MH i2c: E2 0B 00 99 64 00 9E 7B 83 65 19 5C 1F 26 90 00 34 [23:24:36]RAPDU: 9E 7B 83 65 19 5C 1F 26 90 00 [23:24:36]wFMCommunicate OK [23:24:36]SAM_PROTO_SignData done [23:24:36]FM_MakeSignedData done [23:24:36]CreateOFDProtocolMessage [23:24:36]wFMCommunicate request_size=4 [23:24:36]MH_SAM_APDU [23:24:36]CAPDU: 80 11 00 00 [23:24:36]Write to MH i2c: E2 08 00 9A 64 80 11 00 00 00 00 00 00 78 [23:24:36]Write i2c OK [23:24:36]MH_I2C_Read... [23:24:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:24:36]Read from MH i2c: E2 [23:24:36]MH_I2C_Read... [23:24:36]Read from MH i2c: E2 17 00 [23:24:36]MH_I2C_Read... [23:24:36]Read from MH i2c: E2 17 00 9A 64 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 CA [23:24:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [23:24:36]wFMCommunicate OK [23:24:36]CreateOFDProtocolMessage done [23:24:36]OFDSenderStorePacket 47405 [23:24:36]StoreOFDPacket docnum=47405 [23:24:36]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 3A 01 00 00 7A DE 32 01 14 89 5A 03 01 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 34 21 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 53 00 00 00 F4 03 04 00 44 E4 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 2D B9 00 00 35 04 06 00 4C BF E7 03 86 FA 9E 7B 83 65 19 5C 1F 26 [23:24:36]CheckFolder [23:24:36]dirname=/storage/ofd_packets [23:24:36]CheckFolder done [23:24:36]ProducePacketName [23:24:36]name=ofd_packets/00047405 [23:24:36]NVStorageSaveData ofd_packets/00047405 [23:24:36]File name is /storage/ofd_packets/00047405 [23:24:36]Write 344 bytes [23:24:36]NVStorageSaveData done [23:24:36]OFDSenderStorePacket done [23:24:36]KKMCreateOFDPacket done [23:24:36]NVStorageSaveData kkm_last_timestamp [23:24:36]File name is /storage/kkm_last_timestamp [23:24:36]Write 4 bytes [23:24:36]NVStorageSaveData done [23:24:36]ExternCall_PrintAddStr [23:24:36]wPrintStart [23:24:36]Write to MH i2c: 01 00 00 9B 64 FF [23:24:36]Write i2c OK [23:24:36]MH_I2C_Read... [23:24:36]Read from MH i2c: 01 [23:24:36]MH_I2C_Read... [23:24:36]Read from MH i2c: 01 07 00 [23:24:36]MH_I2C_Read... [23:24:36]Read from MH i2c: 01 07 00 9B 64 00 00 00 00 00 FF 0F 14 [23:24:36]RasterBufferAndPrint [23:24:36]line Счет N : (3)242317 [23:24:36]line ИНН: 02508201610067 [23:24:36]line Контрольно-Кассовый Чек [23:24:36]line ПРОДАЖА [23:24:36]line Товар: 4600682557456 [23:24:36]line Напиток FLash up energy эн ж/б 0,5/0,45л [23:24:36]line 1.000 * 85.00 [23:24:36]line = 85.00 [23:24:36]line НДС 12% НСП 1% [23:24:36]line > о реализуемом товаре [23:24:36]line ИТОГО: 85.00 [23:24:36]line НСП 1% : 0.75 [23:24:36]line НДС 12% : 9.03 [23:24:36]line Наличными: 85.00 [23:24:36]line Безнал.: 0.00 [23:24:36]line Место: АЗС № 15 "Партнер Нефть" [23:24:36]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [23:24:36]line СНО: Общий режим [23:24:36]line Чек 83 12.03.2024 23:24 [23:24:36]line Смена: 314 ФФД: 1.0 [23:24:36]line ЗНМ: 0300000097 [23:24:36]line РНМ: 0000000000092018 [23:24:36]line Версия ККМ: 001 [23:24:36]line ФМ: 0000000000871816 [23:24:36]line ФД: 47405 [23:24:36]line ФПД: 84387098232570 [23:24:36]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T232452&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47405&fm=84387098232570&tin=02508201610067®Number=0000000000092018&sum=8500 [23:24:36]line 0 [23:24:36]OFD Sender: Processing packet 47405 [packets to send 8, broken 7] [23:24:36]ProducePacketName [23:24:36]name=ofd_packets/00047405 [23:24:36]OFD Sender: To server: pG, [23:24:36]CommunicateWithHost lk.salyk.kg:30040 [23:24:36]ConnectInit lk.salyk.kg [23:24:36]written 0, free lines is 4095 [23:24:37]Write to MH i2c: 01 00 00 C4 64 28 [23:24:37]Write i2c OK [23:24:37]MH_I2C_Read... [23:24:37]Read from MH i2c: 01 [23:24:37]MH_I2C_Read... [23:24:37]Read from MH i2c: 01 07 00 [23:24:37]MH_I2C_Read... [23:24:37]Read from MH i2c: 01 07 00 C4 64 00 00 00 00 00 CD 0C 08 [23:24:37]RasterBufferAndPrint [23:24:37]line [23:24:37]line [23:24:37]line [23:24:37]line [23:24:37]line [23:24:37]written 0, free lines is 3283 [23:24:37]MH_Cut [23:24:37]Write to MH i2c: D1 01 00 CB 64 01 01 [23:24:37]Write i2c OK [23:24:37]MH_I2C_Read... [23:24:37]Read from MH i2c: D1 [23:24:37]MH_I2C_Read... [23:24:37]Read from MH i2c: D1 01 00 [23:24:37]MH_I2C_Read... [23:24:37]Read from MH i2c: D1 01 00 CB 64 00 00 [23:24:37]Write to MH i2c: 01 00 00 CC 64 30 [23:24:37]Write i2c OK [23:24:37]MH_I2C_Read... [23:24:37]*** Cut start [23:24:37]*** Purtial cut [23:24:37]*** Stage 1: CUTSNS_PIN = 1 [23:24:38]Read from MH i2c: 01 [23:24:38]MH_I2C_Read... [23:24:38]*** Stop cut motor [23:24:38]*** Cut end [23:24:38]Read from MH i2c: 01 07 00 [23:24:38]MH_I2C_Read... [23:24:38]Read from MH i2c: 01 07 00 CC 64 00 00 00 00 00 FF 0F 45 [23:24:38]process_action close_receipt done [23:24:38]requested_data is exist [23:24:38]produce_requested_data [23:24:38]requested_item fm.sn is exist - process it [23:24:38]wFMCommunicate request_size=4 [23:24:38]MH_SAM_APDU [23:24:38]CAPDU: 80 11 00 00 [23:24:38]Write to MH i2c: E2 08 00 CD 64 80 11 00 00 00 00 00 00 AB [23:24:38]Write i2c OK [23:24:38]MH_I2C_Read... [23:24:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:24:38]Read from MH i2c: E2 [23:24:38]MH_I2C_Read... [23:24:38]Read from MH i2c: E2 17 00 [23:24:38]MH_I2C_Read... [23:24:38]Read from MH i2c: E2 17 00 CD 64 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 FD [23:24:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [23:24:38]wFMCommunicate OK [23:24:38]requested_item fd.num is exist - process it [23:24:38]SAM_PROTO_GetFieldsCounters [23:24:38]wFMCommunicate request_size=4 [23:24:38]MH_SAM_APDU [23:24:38]CAPDU: 80 13 00 00 [23:24:38]Write to MH i2c: E2 08 00 CE 64 80 13 00 00 00 00 00 00 AE [23:24:38]Write i2c OK [23:24:38]MH_I2C_Read... [23:24:38]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:24:38]Read from MH i2c: E2 [23:24:38]MH_I2C_Read... [23:24:38]Read from MH i2c: E2 62 00 [23:24:38]MH_I2C_Read... [23:24:38]Read from MH i2c: E2 62 00 CE 64 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 2D B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 53 00 00 00 5E 04 04 00 53 00 00 00 57 04 04 00 54 00 00 00 19 04 04 00 00 00 00 00 90 00 E3 [23:24:38]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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 2D B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 53 00 00 00 5E 04 04 00 53 00 00 00 57 04 04 00 54 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:24:38]wFMCommunicate OK [23:24:38]SAM_PROTO_GetFieldsCounters done [23:24:38]requested_item shift.num is exist - process it [23:24:38]requested_item shift.opened is exist - process it [23:24:38]req_shift_opened [23:24:38]FM_GetShiftState [23:24:38]SAM_PROTO_GetShiftState [23:24:38]wFMCommunicate request_size=4 [23:24:38]MH_SAM_APDU [23:24:38]CAPDU: 80 13 01 00 [23:24:38]Write to MH i2c: E2 08 00 CF 64 80 13 01 00 00 00 00 00 B0 [23:24:38]Write i2c OK [23:24:38]MH_I2C_Read... [23:24:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:24:38]Read from MH i2c: E2 [23:24:38]MH_I2C_Read... [23:24:38]Read from MH i2c: E2 0E 00 [23:24:38]MH_I2C_Read... [23:24:38]Read from MH i2c: E2 0E 00 CF 64 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 DF [23:24:38]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [23:24:38]wFMCommunicate OK [23:24:38]SAM_PROTO_GetShiftState done [23:24:38]FM_GetShiftState done [23:24:38]req_shift_opened done [23:24:38]requested_item shift.open_date is exist - process it [23:24:38]req_shift_open_date [23:24:38]req_shift_open_date done [23:24:38]produce_requested_data done [23:24:38]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47405,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [23:24:38]process_action_free close_receipt [23:24:38]json_value_free [23:24:38]json_value_free done [23:24:38]process_json_proto returns [23:24:38]Send response to host [23:24:38]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47405,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [23:24:38]free response buf [23:24:38]execute_script done [23:24:38]execute_script returns [23:24:38]free content buf [23:24:38]Sock 9.Close socket [23:24:38]Sock 9.Thread stoped [23:24:38]Connected sock=11 [23:24:38]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 31 36 3A 01 00 00 7A DE 32 01 14 89 5A 03 01 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 34 21 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 53 00 00 00 F4 03 04 00 44 E4 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 2D B9 00 00 35 04 06 00 4C BF E7 03 86 FA 9E 7B 83 65 19 5C 1F 26 [23:24:38]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 DA 0F 47 00 61 F0 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 31 36 10 04 04 00 2D B9 00 00 F4 03 04 00 D7 8E F0 65 B6 04 01 00 00 8E 73 DC 30 07 40 55 46 [23:24:38]CommunicateWithHost err = 0 [23:24:38]CheckOFDResponse [23:24:38]1017 (14) - 77093643461234 [23:24:38]1041 (16) - 0000000000871816 [23:24:38]1040 (4) - 47405 [23:24:38]1012 (4) - 12.03.2024 17:20 [23:24:38]1206 (1) - 0 [23:24:38]OFD Sender: Remove packet 47405 [23:24:38]ProducePacketName [23:24:38]name=ofd_packets/00047405 [23:24:38]NVStorageDeleteData [23:24:39]OFD Sender: No OFD packet to send [23:24:44]OFD Sender: No OFD packet to send [23:24:49]OFD Sender: No OFD packet to send [23:24:54]OFD Sender: No OFD packet to send [23:24:59]OFD Sender: No OFD packet to send [23:25:04]OFD Sender: No OFD packet to send [23:25:09]OFD Sender: No OFD packet to send [23:25:14]OFD Sender: No OFD packet to send [23:25:19]OFD Sender: No OFD packet to send [23:25:24]OFD Sender: No OFD packet to send [23:25:29]OFD Sender: No OFD packet to send [23:25:34]OFD Sender: No OFD packet to send [23:25:39]OFD Sender: No OFD packet to send [23:25:44]OFD Sender: No OFD packet to send [23:25:49]OFD Sender: No OFD packet to send [23:25:54]OFD Sender: No OFD packet to send [23:25:59]OFD Sender: No OFD packet to send [23:26:04]OFD Sender: No OFD packet to send [23:26:09]OFD Sender: No OFD packet to send [23:26:14]OFD Sender: No OFD packet to send [23:26:19]OFD Sender: No OFD packet to send [23:26:24]OFD Sender: No OFD packet to send [23:26:29]OFD Sender: No OFD packet to send [23:26:34]OFD Sender: No OFD packet to send [23:26:39]OFD Sender: No OFD packet to send [23:26:44]OFD Sender: No OFD packet to send [23:26:49]OFD Sender: No OFD packet to send [23:26:54]OFD Sender: No OFD packet to send [23:26:59]OFD Sender: No OFD packet to send [23:27:04]OFD Sender: No OFD packet to send [23:27:09]OFD Sender: No OFD packet to send [23:27:14]OFD Sender: No OFD packet to send [23:27:19]OFD Sender: No OFD packet to send [23:27:24]OFD Sender: No OFD packet to send [23:27:29]OFD Sender: No OFD packet to send [23:27:34]OFD Sender: No OFD packet to send [23:27:39]OFD Sender: No OFD packet to send [23:27:44]OFD Sender: No OFD packet to send [23:27:49]OFD Sender: No OFD packet to send [23:27:54]OFD Sender: No OFD packet to send [23:27:59]OFD Sender: No OFD packet to send [23:28:04]OFD Sender: No OFD packet to send [23:28:09]OFD Sender: No OFD packet to send [23:28:14]OFD Sender: No OFD packet to send [23:28:19]OFD Sender: No OFD packet to send [23:28:24]OFD Sender: No OFD packet to send [23:28:29]OFD Sender: No OFD packet to send [23:28:34]OFD Sender: No OFD packet to send [23:28:39]OFD Sender: No OFD packet to send [23:28:44]OFD Sender: No OFD packet to send [23:28:49]OFD Sender: No OFD packet to send [23:28:54]OFD Sender: No OFD packet to send [23:28:59]OFD Sender: No OFD packet to send [23:29:04]OFD Sender: No OFD packet to send [23:29:09]OFD Sender: No OFD packet to send [23:29:14]OFD Sender: No OFD packet to send [23:29:19]OFD Sender: No OFD packet to send [23:29:24]OFD Sender: No OFD packet to send [23:29:29]OFD Sender: No OFD packet to send [23:29:34]OFD Sender: No OFD packet to send [23:29:39]OFD Sender: No OFD packet to send [23:29:44]OFD Sender: No OFD packet to send [23:29:49]OFD Sender: No OFD packet to send [23:29:54]OFD Sender: No OFD packet to send [23:29:59]OFD Sender: No OFD packet to send [23:30:04]OFD Sender: No OFD packet to send [23:30:09]OFD Sender: No OFD packet to send [23:30:14]OFD Sender: No OFD packet to send [23:30:19]OFD Sender: No OFD packet to send [23:30:24]OFD Sender: No OFD packet to send [23:30:29]OFD Sender: No OFD packet to send [23:30:34]OFD Sender: No OFD packet to send [23:30:39]OFD Sender: No OFD packet to send [23:30:44]OFD Sender: No OFD packet to send [23:30:49]OFD Sender: No OFD packet to send [23:30:54]OFD Sender: No OFD packet to send [23:30:59]OFD Sender: No OFD packet to send [23:31:04]OFD Sender: No OFD packet to send [23:31:09]OFD Sender: No OFD packet to send [23:31:14]OFD Sender: No OFD packet to send [23:31:19]OFD Sender: No OFD packet to send [23:31:24]OFD Sender: No OFD packet to send [23:31:29]OFD Sender: No OFD packet to send [23:31:34]OFD Sender: No OFD packet to send [23:31:39]OFD Sender: No OFD packet to send [23:31:44]OFD Sender: No OFD packet to send [23:31:49]OFD Sender: No OFD packet to send [23:31:54]OFD Sender: No OFD packet to send [23:31:59]OFD Sender: No OFD packet to send [23:32:04]OFD Sender: No OFD packet to send [23:32:09]OFD Sender: No OFD packet to send [23:32:14]OFD Sender: No OFD packet to send [23:32:19]OFD Sender: No OFD packet to send [23:32:24]OFD Sender: No OFD packet to send [23:32:29]OFD Sender: No OFD packet to send [23:32:34]OFD Sender: No OFD packet to send [23:32:39]OFD Sender: No OFD packet to send [23:32:44]OFD Sender: No OFD packet to send [23:32:49]OFD Sender: No OFD packet to send [23:32:54]OFD Sender: No OFD packet to send [23:32:59]OFD Sender: No OFD packet to send [23:33:04]OFD Sender: No OFD packet to send [23:33:09]OFD Sender: No OFD packet to send [23:33:14]OFD Sender: No OFD packet to send [23:33:19]OFD Sender: No OFD packet to send [23:33:24]OFD Sender: No OFD packet to send [23:33:29]OFD Sender: No OFD packet to send [23:33:34]OFD Sender: No OFD packet to send [23:33:39]OFD Sender: No OFD packet to send [23:33:44]OFD Sender: No OFD packet to send [23:33:49]OFD Sender: No OFD packet to send [23:33:54]OFD Sender: No OFD packet to send [23:33:59]OFD Sender: No OFD packet to send [23:34:04]OFD Sender: No OFD packet to send [23:34:09]OFD Sender: No OFD packet to send [23:34:14]OFD Sender: No OFD packet to send [23:34:19]OFD Sender: No OFD packet to send [23:34:24]OFD Sender: No OFD packet to send [23:34:29]OFD Sender: No OFD packet to send [23:34:34]OFD Sender: No OFD packet to send [23:34:39]OFD Sender: No OFD packet to send [23:34:44]OFD Sender: No OFD packet to send [23:34:49]OFD Sender: No OFD packet to send [23:34:54]OFD Sender: No OFD packet to send [23:34:59]OFD Sender: No OFD packet to send [23:35:04]OFD Sender: No OFD packet to send [23:35:09]OFD Sender: No OFD packet to send [23:35:14]OFD Sender: No OFD packet to send [23:35:16]recv_with_timeout no data received [23:35:19]OFD Sender: No OFD packet to send [23:35:24]OFD Sender: No OFD packet to send [23:35:29]OFD Sender: No OFD packet to send [23:35:34]OFD Sender: No OFD packet to send [23:35:39]OFD Sender: No OFD packet to send [23:35:44]OFD Sender: No OFD packet to send [23:35:49]OFD Sender: No OFD packet to send [23:35:54]OFD Sender: No OFD packet to send [23:35:59]OFD Sender: No OFD packet to send [23:36:04]OFD Sender: No OFD packet to send [23:36:09]OFD Sender: No OFD packet to send [23:36:14]OFD Sender: No OFD packet to send [23:36:19]OFD Sender: No OFD packet to send [23:36:24]OFD Sender: No OFD packet to send [23:36:29]OFD Sender: No OFD packet to send [23:36:35]OFD Sender: No OFD packet to send [23:36:40]OFD Sender: No OFD packet to send [23:36:45]OFD Sender: No OFD packet to send [23:36:50]OFD Sender: No OFD packet to send [23:36:55]OFD Sender: No OFD packet to send [23:37:00]OFD Sender: No OFD packet to send [23:37:05]OFD Sender: No OFD packet to send [23:37:10]OFD Sender: No OFD packet to send [23:37:15]OFD Sender: No OFD packet to send [23:37:20]OFD Sender: No OFD packet to send [23:37:25]OFD Sender: No OFD packet to send [23:37:30]OFD Sender: No OFD packet to send [23:37:35]OFD Sender: No OFD packet to send [23:37:40]OFD Sender: No OFD packet to send [23:37:45]OFD Sender: No OFD packet to send [23:37:50]OFD Sender: No OFD packet to send [23:37:55]OFD Sender: No OFD packet to send [23:38:00]OFD Sender: No OFD packet to send [23:38:05]OFD Sender: No OFD packet to send [23:38:10]OFD Sender: No OFD packet to send [23:38:15]OFD Sender: No OFD packet to send [23:38:20]OFD Sender: No OFD packet to send [23:38:25]OFD Sender: No OFD packet to send [23:38:30]OFD Sender: No OFD packet to send [23:38:35]OFD Sender: No OFD packet to send [23:38:40]OFD Sender: No OFD packet to send [23:38:45]OFD Sender: No OFD packet to send [23:38:50]OFD Sender: No OFD packet to send [23:38:55]OFD Sender: No OFD packet to send [23:39:00]OFD Sender: No OFD packet to send [23:39:05]OFD Sender: No OFD packet to send [23:39:10]OFD Sender: No OFD packet to send [23:39:15]OFD Sender: No OFD packet to send [23:39:20]OFD Sender: No OFD packet to send [23:39:25]OFD Sender: No OFD packet to send [23:39:30]OFD Sender: No OFD packet to send [23:39:35]OFD Sender: No OFD packet to send [23:39:40]OFD Sender: No OFD packet to send [23:39:45]OFD Sender: No OFD packet to send [23:39:50]OFD Sender: No OFD packet to send [23:39:55]OFD Sender: No OFD packet to send [23:40:00]OFD Sender: No OFD packet to send [23:40:05]OFD Sender: No OFD packet to send [23:40:10]OFD Sender: No OFD packet to send [23:40:15]OFD Sender: No OFD packet to send [23:40:20]OFD Sender: No OFD packet to send [23:40:25]OFD Sender: No OFD packet to send [23:40:30]OFD Sender: No OFD packet to send [23:40:35]OFD Sender: No OFD packet to send [23:40:40]OFD Sender: No OFD packet to send [23:40:45]OFD Sender: No OFD packet to send [23:40:50]OFD Sender: No OFD packet to send [23:40:55]OFD Sender: No OFD packet to send [23:41:00]OFD Sender: No OFD packet to send [23:41:05]OFD Sender: No OFD packet to send [23:41:10]OFD Sender: No OFD packet to send [23:41:15]OFD Sender: No OFD packet to send [23:41:20]OFD Sender: No OFD packet to send [23:41:25]OFD Sender: No OFD packet to send [23:41:30]OFD Sender: No OFD packet to send [23:41:35]OFD Sender: No OFD packet to send [23:41:40]OFD Sender: No OFD packet to send [23:41:45]OFD Sender: No OFD packet to send [23:41:50]OFD Sender: No OFD packet to send [23:41:55]OFD Sender: No OFD packet to send [23:42:00]OFD Sender: No OFD packet to send [23:42:05]OFD Sender: No OFD packet to send [23:42:10]OFD Sender: No OFD packet to send [23:42:15]OFD Sender: No OFD packet to send [23:42:20]OFD Sender: No OFD packet to send [23:42:25]OFD Sender: No OFD packet to send [23:42:30]OFD Sender: No OFD packet to send [23:42:35]OFD Sender: No OFD packet to send [23:42:40]OFD Sender: No OFD packet to send [23:42:45]OFD Sender: No OFD packet to send [23:42:50]OFD Sender: No OFD packet to send [23:42:55]OFD Sender: No OFD packet to send [23:43:00]OFD Sender: No OFD packet to send [23:43:05]OFD Sender: No OFD packet to send [23:43:10]OFD Sender: No OFD packet to send [23:43:15]OFD Sender: No OFD packet to send [23:43:20]OFD Sender: No OFD packet to send [23:43:25]OFD Sender: No OFD packet to send [23:43:30]OFD Sender: No OFD packet to send [23:43:35]OFD Sender: No OFD packet to send [23:43:40]OFD Sender: No OFD packet to send [23:43:45]OFD Sender: No OFD packet to send [23:43:50]OFD Sender: No OFD packet to send [23:43:55]OFD Sender: No OFD packet to send [23:44:00]OFD Sender: No OFD packet to send [23:44:05]OFD Sender: No OFD packet to send [23:44:10]OFD Sender: No OFD packet to send [23:44:15]OFD Sender: No OFD packet to send [23:44:20]OFD Sender: No OFD packet to send [23:44:25]OFD Sender: No OFD packet to send [23:44:30]OFD Sender: No OFD packet to send [23:44:35]OFD Sender: No OFD packet to send [23:44:40]OFD Sender: No OFD packet to send [23:44:45]OFD Sender: No OFD packet to send [23:44:50]OFD Sender: No OFD packet to send [23:44:55]OFD Sender: No OFD packet to send [23:45:00]OFD Sender: No OFD packet to send [23:45:05]OFD Sender: No OFD packet to send [23:45:10]OFD Sender: No OFD packet to send [23:45:15]OFD Sender: No OFD packet to send [23:45:20]OFD Sender: No OFD packet to send [23:45:25]OFD Sender: No OFD packet to send [23:45:30]OFD Sender: No OFD packet to send [23:45:35]OFD Sender: No OFD packet to send [23:45:40]OFD Sender: No OFD packet to send [23:45:45]OFD Sender: No OFD packet to send [23:45:50]OFD Sender: No OFD packet to send [23:45:55]OFD Sender: No OFD packet to send [23:46:00]OFD Sender: No OFD packet to send [23:46:05]OFD Sender: No OFD packet to send [23:46:10]OFD Sender: No OFD packet to send [23:46:15]OFD Sender: No OFD packet to send [23:46:20]OFD Sender: No OFD packet to send [23:46:25]OFD Sender: No OFD packet to send [23:46:30]OFD Sender: No OFD packet to send [23:46:35]OFD Sender: No OFD packet to send [23:46:40]OFD Sender: No OFD packet to send [23:46:45]OFD Sender: No OFD packet to send [23:46:50]OFD Sender: No OFD packet to send [23:46:55]OFD Sender: No OFD packet to send [23:47:00]OFD Sender: No OFD packet to send [23:47:05]OFD Sender: No OFD packet to send [23:47:10]OFD Sender: No OFD packet to send [23:47:13]accept exits with 10 [23:47:13]New connection [23:47:13]New thread 3066453348 created [23:47:13]Thread 3066596708 joined [23:47:13]Waiting for new connection... [23:47:13] Sock 10.Parse request [23:47:13]Sock 10.Check first char [23:47:13]Sock 10.First char is OK [23:47:13]request: POST /json_proto HTTP/1.0 [23:47:13]Method: POST [23:47:13]URL: /json_proto [23:47:13]Method is POST - this is cgi request [23:47:13]url: /json_proto [23:47:13]query_string will be loaded in cgi processing [23:47:13]execute_cgi json_proto POST (null) [23:47:13]execute_cgi path=json_proto method=POST [23:47:13]POST find Content-Length [23:47:13]Host: 172.17.32.68:8080 [23:47:13]Content-Length: 845 [23:47:13]Content-Type: application/json [23:47:13] [23:47:13]POST finish read [23:47:13]Found Content-Length = 845 [23:47:13]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242318", "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" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0414\u0435\u043C\u0438\u0440 \u041A\u0418 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 85.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:47:13]execute_script... [23:47: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)242318", "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" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0414\u0435\u043C\u0438\u0440 \u041A\u0418 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 85.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:47:13]POST & json_proto [23:47:13]process_json_proto [23:47:13]json parsed OK: [23:47:13]protocol is kg_v1.0 [23:47:13]action value=close_receipt [23:47:13]process_action close_receipt [23:47:13]cmd_close_receipt [23:47:13]MH_GetDate [23:47:13]Write to MH i2c: F0 00 00 D0 64 23 [23:47:13]Write i2c OK [23:47:13]MH_I2C_Read... [23:47:13]Read from MH i2c: F0 [23:47:13]MH_I2C_Read... [23:47:13]Read from MH i2c: F0 09 00 [23:47:13]MH_I2C_Read... [23:47:13]Read from MH i2c: F0 09 00 D0 64 00 93 E9 F0 65 0A 64 6E 65 3E [23:47:13]GetLastDocTimeStamp 1710285892 [23:47:13]current date 1710287251 [23:47:13]FM_GetShiftState [23:47:13]SAM_PROTO_GetShiftState [23:47:13]wFMCommunicate request_size=4 [23:47:13]MH_SAM_APDU [23:47:13]CAPDU: 80 13 01 00 [23:47:13]Write to MH i2c: E2 08 00 D1 64 80 13 01 00 00 00 00 00 B2 [23:47:13]Write i2c OK [23:47:13]MH_I2C_Read... [23:47:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:47:13]Read from MH i2c: E2 [23:47:13]MH_I2C_Read... [23:47:13]Read from MH i2c: E2 0E 00 [23:47:13]MH_I2C_Read... [23:47:13]Read from MH i2c: E2 0E 00 D1 64 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 E1 [23:47:13]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [23:47:13]wFMCommunicate OK [23:47:13]SAM_PROTO_GetShiftState done [23:47:13]FM_GetShiftState done [23:47:13]opened in 1710202417 [23:47:13]opened+sec_in_day 1710288817 [23:47:13]quantity*price = 8500 [23:47:13]sum+1 = 8501 [23:47:13]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 85.00 НСП 1% : 0.75 НДС 12% : 9.03 Наличными: 0.00 Безнал.: 85.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 84 12.03.2024 23:47 Смена: 314 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 Платежная система: Демир КИ Банк ФМ: 0000000000871816 ФД: 47406 ФПД: 22122571006281 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T234731&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47406&fm=22122571006281&tin=02508201610067®Number=0000000000092018&sum=8500 0 [23:47:14]StoreToDocumentArchive [23:47:14]shift 314 fd 47406 [23:47:14]save to /storage/0314/doc_00047406 [23:47:14]save last doc name /storage/0314/doc_00047406 to /storage/kkm_last_doc_name [23:47:14]save OK [23:47:14]Clear old archive folders... [23:47:14]ProcessDocumentItem done err = 0, tmpTLVsize=294 [23:47:14]tlvbuf is 00426100 [23:47:14]SAM_PROTO_ClearQueue [23:47:14]wFMCommunicate request_size=4 [23:47:14]MH_SAM_APDU [23:47:14]CAPDU: 80 09 00 00 [23:47:14]Write to MH i2c: E2 08 00 DE 64 80 09 00 00 00 00 00 00 B4 [23:47:14]Write i2c OK [23:47:14]MH_I2C_Read... [23:47:14]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:47:14]Read from MH i2c: E2 [23:47:14]MH_I2C_Read... [23:47:14]Read from MH i2c: E2 03 00 [23:47:14]MH_I2C_Read... [23:47:14]Read from MH i2c: E2 03 00 DE 64 00 90 00 B6 [23:47:14]RAPDU: 90 00 [23:47:14]wFMCommunicate OK [23:47:14]SAM_PROTO_ClearQueue done [23:47:14]KKMCreateOFDPacket [23:47:14]OFDProtocolAddRootSTLVToBuf [23:47:14]FM_MakeSignedData [23:47:14]FM_MakeSignedData [23:47:14]SAM_PROTO_SignData [23:47:14]wFMCommunicate request_size=4 [23:47:14]MH_SAM_APDU [23:47:14]CAPDU: 80 0D 01 02 [23:47:14]Write to MH i2c: E2 08 00 DF 64 80 0D 01 02 00 00 00 00 BC [23:47:14]Write i2c OK [23:47:14]MH_I2C_Read... [23:47:14]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:47:14]Read from MH i2c: E2 [23:47:14]MH_I2C_Read... [23:47:14]Read from MH i2c: E2 03 00 [23:47:14]MH_I2C_Read... [23:47:14]Read from MH i2c: E2 03 00 DF 64 00 90 00 B7 [23:47:14]RAPDU: 90 00 [23:47:14]wFMCommunicate OK [23:47:14]wFMCommunicate request_size=255 [23:47:14]MH_SAM_APDU [23:47:14]CAPDU: 80 0D 02 02 FA 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 34 21 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 54 00 00 00 F4 03 04 00 93 E9 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 [23:47:14]Write to MH i2c: E2 02 01 E0 64 80 0D 02 02 FA 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 34 21 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 54 00 00 00 F4 03 04 00 93 E9 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 00 00 00 [23:47:14]Write i2c OK [23:47:14]MH_I2C_Read... [23:47:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:47:14]Read from MH i2c: E2 [23:47:14]MH_I2C_Read... [23:47:14]Read from MH i2c: E2 03 00 [23:47:14]MH_I2C_Read... [23:47:14]Read from MH i2c: E2 03 00 E0 64 00 90 00 B8 [23:47:14]RAPDU: 90 00 [23:47:14]wFMCommunicate OK [23:47:14]wFMCommunicate request_size=53 [23:47:14]MH_SAM_APDU [23:47:14]CAPDU: 80 0D 02 02 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 2E B9 00 00 35 04 06 00 14 1E CF FC 81 49 [23:47:14]Write to MH i2c: E2 38 00 E1 64 80 0D 02 02 30 00 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 2E B9 00 00 35 04 06 00 14 1E CF FC 81 49 00 00 5C [23:47:14]Write i2c OK [23:47:14]MH_I2C_Read... [23:47:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:47:15]Read from MH i2c: E2 [23:47:15]MH_I2C_Read... [23:47:15]Read from MH i2c: E2 03 00 [23:47:15]MH_I2C_Read... [23:47:15]Read from MH i2c: E2 03 00 E1 64 00 90 00 B9 [23:47:15]RAPDU: 90 00 [23:47:15]wFMCommunicate OK [23:47:15]wFMCommunicate request_size=4 [23:47:15]MH_SAM_APDU [23:47:15]CAPDU: 80 0D 03 02 [23:47:15]Write to MH i2c: E2 08 00 E2 64 80 0D 03 02 00 00 00 00 C1 [23:47:15]Write i2c OK [23:47:15]MH_I2C_Read... [23:47:15]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:47:15]Read from MH i2c: E2 [23:47:15]MH_I2C_Read... [23:47:15]Read from MH i2c: E2 0B 00 [23:47:15]MH_I2C_Read... [23:47:15]Read from MH i2c: E2 0B 00 E2 64 00 3B EF 2A 93 C6 F8 23 CA 90 00 54 [23:47:15]RAPDU: 3B EF 2A 93 C6 F8 23 CA 90 00 [23:47:15]wFMCommunicate OK [23:47:15]SAM_PROTO_SignData done [23:47:15]FM_MakeSignedData done [23:47:15]CreateOFDProtocolMessage [23:47:15]wFMCommunicate request_size=4 [23:47:15]MH_SAM_APDU [23:47:15]CAPDU: 80 11 00 00 [23:47:15]Write to MH i2c: E2 08 00 E3 64 80 11 00 00 00 00 00 00 C1 [23:47:15]Write i2c OK [23:47:15]MH_I2C_Read... [23:47:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:47:15]Read from MH i2c: E2 [23:47:15]MH_I2C_Read... [23:47:15]Read from MH i2c: E2 17 00 [23:47:15]MH_I2C_Read... [23:47:15]Read from MH i2c: E2 17 00 E3 64 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 13 [23:47:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [23:47:15]wFMCommunicate OK [23:47:15]CreateOFDProtocolMessage done [23:47:15]OFDSenderStorePacket 47406 [23:47:15]StoreOFDPacket docnum=47406 [23:47:15]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 3A 01 00 00 5F 67 32 01 8C 00 5A 03 01 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 34 21 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 54 00 00 00 F4 03 04 00 93 E9 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 2E B9 00 00 35 04 06 00 14 1E CF FC 81 49 3B EF 2A 93 C6 F8 23 CA [23:47:15]CheckFolder [23:47:15]dirname=/storage/ofd_packets [23:47:15]CheckFolder done [23:47:15]ProducePacketName [23:47:15]name=ofd_packets/00047406 [23:47:15]NVStorageSaveData ofd_packets/00047406 [23:47:15]File name is /storage/ofd_packets/00047406 [23:47:15]Write 344 bytes [23:47:15]NVStorageSaveData done [23:47:15]OFDSenderStorePacket done [23:47:15]KKMCreateOFDPacket done [23:47:15]NVStorageSaveData kkm_last_timestamp [23:47:15]File name is /storage/kkm_last_timestamp [23:47:15]Write 4 bytes [23:47:15]NVStorageSaveData done [23:47:15]ExternCall_PrintAddStr [23:47:15]wPrintStart [23:47:15]Write to MH i2c: 01 00 00 E4 64 48 [23:47:15]Write i2c OK [23:47:15]MH_I2C_Read... [23:47:15]Read from MH i2c: 01 [23:47:15]MH_I2C_Read... [23:47:15]Read from MH i2c: 01 07 00 [23:47:15]MH_I2C_Read... [23:47:15]Read from MH i2c: 01 07 00 E4 64 00 00 00 00 00 FF 0F 5D [23:47:15]RasterBufferAndPrint [23:47:15]line Счет N : (3)242318 [23:47:15]line ИНН: 02508201610067 [23:47:15]line Контрольно-Кассовый Чек [23:47:15]line ПРОДАЖА [23:47:15]line Товар: 4600682557456 [23:47:15]line Напиток FLash up energy эн ж/б 0,5/0,45л [23:47:15]line 1.000 * 85.00 [23:47:15]line = 85.00 [23:47:15]line НДС 12% НСП 1% [23:47:15]line > о реализуемом товаре [23:47:15]line ИТОГО: 85.00 [23:47:15]line НСП 1% : 0.75 [23:47:15]line НДС 12% : 9.03 [23:47:15]line Наличными: 0.00 [23:47:15]line Безнал.: 85.00 [23:47:15]line Место: АЗС № 15 "Партнер Нефть" [23:47:15]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [23:47:15]line СНО: Общий режим [23:47:15]line Чек 84 12.03.2024 23:47 [23:47:15]line Смена: 314 ФФД: 1.0 [23:47:15]line ЗНМ: 0300000097 [23:47:15]line РНМ: 0000000000092018 [23:47:15]line Версия ККМ: 001 [23:47:15]line Платежная система: Демир КИ Банк [23:47:15]line ФМ: 0000000000871816 [23:47:15]line ФД: 47406 [23:47:15]line ФПД: 22122571006281 [23:47:15]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T234731&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47406&fm=22122571006281&tin=02508201610067®Number=0000000000092018&sum=8500 [23:47:15]line 0 [23:47:15]OFD Sender: Processing packet 47406 [packets to send 8, broken 7] [23:47:15]ProducePacketName [23:47:15]name=ofd_packets/00047406 [23:47:15]OFD Sender: To server: pG, [23:47:15]CommunicateWithHost lk.salyk.kg:30040 [23:47:15]ConnectInit lk.salyk.kg [23:47:15]written 0, free lines is 4095 [23:47:15]Connected sock=9 [23:47:15]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 31 36 3A 01 00 00 5F 67 32 01 8C 00 5A 03 01 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 34 21 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 54 00 00 00 F4 03 04 00 93 E9 F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 2E B9 00 00 35 04 06 00 14 1E CF FC 81 49 3B EF 2A 93 C6 F8 23 CA [23:47:15]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 28 70 47 00 D6 6C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 2E B9 00 00 F4 03 04 00 24 94 F0 65 B6 04 01 00 00 28 BF 32 62 2F 93 FD 86 [23:47:15]CommunicateWithHost err = 0 [23:47:15]CheckOFDResponse [23:47:15]1017 (14) - 77093643461234 [23:47:15]1041 (16) - 0000000000871816 [23:47:15]1040 (4) - 47406 [23:47:15]1012 (4) - 12.03.2024 17:43 [23:47:15]1206 (1) - 0 [23:47:15]OFD Sender: Remove packet 47406 [23:47:15]ProducePacketName [23:47:15]name=ofd_packets/00047406 [23:47:15]NVStorageDeleteData [23:47:15]Write to MH i2c: 01 00 00 0F 65 74 [23:47:15]Write i2c OK [23:47:15]MH_I2C_Read... [23:47:15]Read from MH i2c: 01 [23:47:15]MH_I2C_Read... [23:47:15]Read from MH i2c: 01 07 00 [23:47:15]MH_I2C_Read... [23:47:15]Read from MH i2c: 01 07 00 0F 65 00 00 00 00 00 AF 0C 36 [23:47:15]RasterBufferAndPrint [23:47:15]line [23:47:15]line [23:47:15]line [23:47:15]line [23:47:15]line [23:47:15]written 0, free lines is 3256 [23:47:15]MH_Cut [23:47:15]Write to MH i2c: D1 01 00 16 65 01 4D [23:47:15]Write i2c OK [23:47:15]MH_I2C_Read... [23:47:15]Read from MH i2c: D1 [23:47:15]MH_I2C_Read... [23:47:15]Read from MH i2c: D1 01 00 [23:47:15]MH_I2C_Read... [23:47:15]Read from MH i2c: D1 01 00 16 65 00 4C [23:47:15]Write to MH i2c: 01 00 00 17 65 7C [23:47:15]Write i2c OK [23:47:15]MH_I2C_Read... [23:47:16]OFD Sender: No OFD packet to send [23:47:16]*** Cut start [23:47:16]*** Purtial cut [23:47:16]*** Stage 1: CUTSNS_PIN = 1 [23:47:17]Read from MH i2c: 01 [23:47:17]MH_I2C_Read... [23:47:17]*** Stop cut motor [23:47:17]*** Cut end [23:47:17]Read from MH i2c: 01 07 00 [23:47:17]MH_I2C_Read... [23:47:17]Read from MH i2c: 01 07 00 17 65 00 00 00 00 00 FF 0F 91 [23:47:17]process_action close_receipt done [23:47:17]requested_data is exist [23:47:17]produce_requested_data [23:47:17]requested_item fm.sn is exist - process it [23:47:17]wFMCommunicate request_size=4 [23:47:17]MH_SAM_APDU [23:47:17]CAPDU: 80 11 00 00 [23:47:17]Write to MH i2c: E2 08 00 18 65 80 11 00 00 00 00 00 00 F7 [23:47:17]Write i2c OK [23:47:17]MH_I2C_Read... [23:47:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:47:17]Read from MH i2c: E2 [23:47:17]MH_I2C_Read... [23:47:17]Read from MH i2c: E2 17 00 [23:47:17]MH_I2C_Read... [23:47:17]Read from MH i2c: E2 17 00 18 65 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 49 [23:47:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [23:47:17]wFMCommunicate OK [23:47:17]requested_item fd.num is exist - process it [23:47:17]SAM_PROTO_GetFieldsCounters [23:47:17]wFMCommunicate request_size=4 [23:47:17]MH_SAM_APDU [23:47:17]CAPDU: 80 13 00 00 [23:47:17]Write to MH i2c: E2 08 00 19 65 80 13 00 00 00 00 00 00 FA [23:47:17]Write i2c OK [23:47:17]MH_I2C_Read... [23:47:17]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:47:17]Read from MH i2c: E2 [23:47:17]MH_I2C_Read... [23:47:17]Read from MH i2c: E2 62 00 [23:47:17]MH_I2C_Read... [23:47:17]Read from MH i2c: E2 62 00 19 65 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 2E B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 54 00 00 00 5E 04 04 00 54 00 00 00 57 04 04 00 55 00 00 00 19 04 04 00 00 00 00 00 90 00 33 [23:47: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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 2E B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 54 00 00 00 5E 04 04 00 54 00 00 00 57 04 04 00 55 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:47:17]wFMCommunicate OK [23:47:17]SAM_PROTO_GetFieldsCounters done [23:47:17]requested_item shift.num is exist - process it [23:47:17]requested_item shift.opened is exist - process it [23:47:17]req_shift_opened [23:47:17]FM_GetShiftState [23:47:17]SAM_PROTO_GetShiftState [23:47:17]wFMCommunicate request_size=4 [23:47:17]MH_SAM_APDU [23:47:17]CAPDU: 80 13 01 00 [23:47:17]Write to MH i2c: E2 08 00 1A 65 80 13 01 00 00 00 00 00 FC [23:47:17]Write i2c OK [23:47:17]MH_I2C_Read... [23:47:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:47:17]Read from MH i2c: E2 [23:47:17]MH_I2C_Read... [23:47:17]Read from MH i2c: E2 0E 00 [23:47:17]MH_I2C_Read... [23:47:17]Read from MH i2c: E2 0E 00 1A 65 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 2B [23:47:17]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [23:47:17]wFMCommunicate OK [23:47:17]SAM_PROTO_GetShiftState done [23:47:17]FM_GetShiftState done [23:47:17]req_shift_opened done [23:47:17]requested_item shift.open_date is exist - process it [23:47:17]req_shift_open_date [23:47:17]req_shift_open_date done [23:47:17]produce_requested_data done [23:47:17]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47406,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [23:47:17]process_action_free close_receipt [23:47:17]json_value_free [23:47:17]json_value_free done [23:47:17]process_json_proto returns [23:47:17]Send response to host [23:47:17]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47406,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [23:47:17]free response buf [23:47:17]execute_script done [23:47:17]execute_script returns [23:47:17]free content buf [23:47:17]Sock 10.Close socket [23:47:17]Sock 10.Thread stoped [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:55]accept exits with 7 [23:48:55]New connection [23:48:55]New thread 3066596708 created [23:48:55]Thread 3066453348 joined [23:48:55]Waiting for new connection... [23:48:55] Sock 7.Parse request [23:48:55]Sock 7.Check first char [23:48:55]Sock 7.First char is OK [23:48:55]request: POST /json_proto HTTP/1.0 [23:48:55]Method: POST [23:48:55]URL: /json_proto [23:48:55]Method is POST - this is cgi request [23:48:55]url: /json_proto [23:48:55]query_string will be loaded in cgi processing [23:48:55]execute_cgi json_proto POST (null) [23:48:55]execute_cgi path=json_proto method=POST [23:48:55]POST find Content-Length [23:48:55]Host: 172.17.32.68:8080 [23:48:55]Content-Length: 215 [23:48:55]Content-Type: application/json [23:48:55] [23:48:55]POST finish read [23:48:55]Found Content-Length = 215 [23:48: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" ] } } [23:48:55]execute_script... [23:48: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" ] } } [23:48:55]POST & json_proto [23:48:55]process_json_proto [23:48:55]json parsed OK: [23:48:55]protocol is kg_v1.0 [23:48:55]action value=get_value [23:48:55]process_action get_value [23:48:55]cmd_get_value [23:48:55]process_action get_value done [23:48:55]requested_data is exist [23:48:55]produce_requested_data [23:48:55]requested_item kkm.sn is exist - process it [23:48:55]requested_item kkm.ver is exist - process it [23:48:55]requested_item fm.sn is exist - process it [23:48:55]wFMCommunicate request_size=4 [23:48:55]MH_SAM_APDU [23:48:55]CAPDU: 80 11 00 00 [23:48:55]Write to MH i2c: E2 08 00 1B 65 80 11 00 00 00 00 00 00 FA [23:48:55]Write i2c OK [23:48:55]MH_I2C_Read... [23:48:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:48:55]Read from MH i2c: E2 [23:48:55]MH_I2C_Read... [23:48:55]Read from MH i2c: E2 17 00 [23:48:55]MH_I2C_Read... [23:48:55]Read from MH i2c: E2 17 00 1B 65 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 4C [23:48:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [23:48:55]wFMCommunicate OK [23:48:55]requested_item fd.num is exist - process it [23:48:55]SAM_PROTO_GetFieldsCounters [23:48:55]wFMCommunicate request_size=4 [23:48:55]MH_SAM_APDU [23:48:55]CAPDU: 80 13 00 00 [23:48:55]Write to MH i2c: E2 08 00 1C 65 80 13 00 00 00 00 00 00 FD [23:48:55]Write i2c OK [23:48:55]MH_I2C_Read... [23:48:55]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:48:55]Read from MH i2c: E2 [23:48:55]MH_I2C_Read... [23:48:55]Read from MH i2c: E2 62 00 [23:48:55]MH_I2C_Read... [23:48:55]Read from MH i2c: E2 62 00 1C 65 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 2E B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 54 00 00 00 5E 04 04 00 54 00 00 00 57 04 04 00 55 00 00 00 19 04 04 00 00 00 00 00 90 00 36 [23:48: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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 2E B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 54 00 00 00 5E 04 04 00 54 00 00 00 57 04 04 00 55 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:48:55]wFMCommunicate OK [23:48:55]SAM_PROTO_GetFieldsCounters done [23:48:55]requested_item shift.num is exist - process it [23:48:55]requested_item shift.opened is exist - process it [23:48:55]req_shift_opened [23:48:55]FM_GetShiftState [23:48:55]SAM_PROTO_GetShiftState [23:48:55]wFMCommunicate request_size=4 [23:48:55]MH_SAM_APDU [23:48:55]CAPDU: 80 13 01 00 [23:48:55]Write to MH i2c: E2 08 00 1D 65 80 13 01 00 00 00 00 00 FF [23:48:55]Write i2c OK [23:48:55]MH_I2C_Read... [23:48:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:48:55]Read from MH i2c: E2 [23:48:55]MH_I2C_Read... [23:48:55]Read from MH i2c: E2 0E 00 [23:48:55]MH_I2C_Read... [23:48:55]Read from MH i2c: E2 0E 00 1D 65 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 2E [23:48:55]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [23:48:55]wFMCommunicate OK [23:48:55]SAM_PROTO_GetShiftState done [23:48:55]FM_GetShiftState done [23:48:55]req_shift_opened done [23:48:55]requested_item shift.open_date is exist - process it [23:48:55]req_shift_open_date [23:48:55]req_shift_open_date done [23:48:55]produce_requested_data done [23:48:55]produce_requested_data return {"kkm.sn":"0300000097","kkm.ver":"001","fm.sn":"0000000000871816","fd.num":47406,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [23:48:55]process_action_free get_value [23:48:55]json_value_free [23:48:55]json_value_free done [23:48:55]process_json_proto returns [23:48:55]Send response to host [23:48:55]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000097","kkm.ver":"001","fm.sn":"0000000000871816","fd.num":47406,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [23:48:55]free response buf [23:48:55]execute_script done [23:48:55]execute_script returns [23:48:55]free content buf [23:48:55]Sock 7.Close socket [23:48:55]Sock 7.Thread stoped [23:48:55]accept exits with 9 [23:48:55]New connection [23:48:55]New thread 3066453348 created [23:48:55]Thread 3066596708 joined [23:48:55]Waiting for new connection... [23:48:55] Sock 9.Parse request [23:48:55]Sock 9.Check first char [23:48:55]Sock 9.First char is OK [23:48:55]request: POST /json_proto HTTP/1.0 [23:48:55]Method: POST [23:48:55]URL: /json_proto [23:48:55]Method is POST - this is cgi request [23:48:55]url: /json_proto [23:48:55]query_string will be loaded in cgi processing [23:48:55]execute_cgi json_proto POST (null) [23:48:55]execute_cgi path=json_proto method=POST [23:48:55]POST find Content-Length [23:48:55]Host: 172.17.32.68:8080 [23:48:55]Content-Length: 331 [23:48:55]Content-Type: application/json [23:48:55] [23:48:55]POST finish read [23:48:55]Found Content-Length = 331 [23:48: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" ] } } [23:48:55]execute_script... [23:48:56]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:48:56]POST & json_proto [23:48:56]process_json_proto [23:48:56]json parsed OK: [23:48:56]protocol is kg_v1.0 [23:48:56]action value=get_value [23:48:56]process_action get_value [23:48:56]cmd_get_value [23:48:56]process_action get_value done [23:48:56]requested_data is exist [23:48:56]produce_requested_data [23:48:56]requested_item fm.sale.total is exist - process it [23:48:56]SAM_PROTO_GetFMData [23:48:56]wFMCommunicate request_size=4 [23:48:56]MH_SAM_APDU [23:48:56]CAPDU: 80 13 03 00 [23:48:56]Write to MH i2c: E2 08 00 1E 65 80 13 03 00 00 00 00 00 02 [23:48:56]Write i2c OK [23:48:56]MH_I2C_Read... [23:48:56]OFD Sender: No OFD packet to send [23:48:56]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:48:56]Read from MH i2c: E2 [23:48:56]MH_I2C_Read... [23:48:56]Read from MH i2c: E2 FD 00 [23:48:56]MH_I2C_Read... [23:48:56]Read from MH i2c: E2 FD 00 1E 65 00 C1 04 85 04 BD 04 6E 04 04 00 B9 B6 00 00 69 04 A0 00 6F 04 04 00 92 B5 00 00 B1 04 04 00 DF 1A 13 30 70 04 04 00 F0 6E 23 28 72 04 04 00 EF AB EF 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 E1 EB 1A 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 1A D5 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 27 01 00 00 B1 04 03 00 A0 50 6E 70 04 03 00 C4 49 6A 72 04 03 00 DC 06 04 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 12 B7 0B EF 03 09 00 F6 03 90 00 33 [23:48:56]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 B9 B6 00 00 69 04 A0 00 6F 04 04 00 92 B5 00 00 B1 04 04 00 DF 1A 13 30 70 04 04 00 F0 6E 23 28 72 04 04 00 EF AB EF 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 E1 EB 1A 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 1A D5 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 27 01 00 00 B1 04 03 00 A0 50 6E 70 04 03 00 C4 49 6A 72 04 03 00 DC 06 04 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 12 B7 0B EF 03 09 00 F6 03 90 00 [23:48:56]wFMCommunicate OK [23:48:56]wFMCommunicate request_size=4 [23:48:56]MH_SAM_APDU [23:48:56]CAPDU: 80 17 00 00 [23:48:56]Write to MH i2c: E2 08 00 1F 65 80 17 00 00 00 00 00 00 04 [23:48:56]Write i2c OK [23:48:56]MH_I2C_Read... [23:48:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:48:56]Read from MH i2c: E2 [23:48:56]MH_I2C_Read... [23:48:56]Read from MH i2c: E2 FD 00 [23:48:56]MH_I2C_Read... [23:48:56]Read from MH i2c: E2 FD 00 1F 65 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 C7 F9 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 F3 [23:48:56]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 C7 F9 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:48:56]wFMCommunicate OK [23:48:56]wFMCommunicate request_size=4 [23:48:56]MH_SAM_APDU [23:48:56]CAPDU: 80 17 00 00 [23:48:56]Write to MH i2c: E2 08 00 20 65 80 17 00 00 00 00 00 00 05 [23:48:56]Write i2c OK [23:48:56]MH_I2C_Read... [23:48:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:48:57]Read from MH i2c: E2 [23:48:57]MH_I2C_Read... [23:48:57]Read from MH i2c: E2 FD 00 [23:48:57]MH_I2C_Read... [23:48:57]Read from MH i2c: E2 FD 00 20 65 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 A5 [23:48:57]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:48:57]wFMCommunicate OK [23:48:57]wFMCommunicate request_size=4 [23:48:57]MH_SAM_APDU [23:48:57]CAPDU: 80 17 00 00 [23:48:57]Write to MH i2c: E2 08 00 21 65 80 17 00 00 00 00 00 00 06 [23:48:57]Write i2c OK [23:48:57]MH_I2C_Read... [23:48:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:48:57]Read from MH i2c: E2 [23:48:57]MH_I2C_Read... [23:48:57]Read from MH i2c: E2 FD 00 [23:48:57]MH_I2C_Read... [23:48:57]Read from MH i2c: E2 FD 00 21 65 00 03 01 00 04 F7 03 00 00 EF 03 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 90 00 8B [23:48:57]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:48:57]wFMCommunicate OK [23:48:57]wFMCommunicate request_size=4 [23:48:57]MH_SAM_APDU [23:48:57]CAPDU: 80 17 00 00 [23:48:57]Write to MH i2c: E2 08 00 22 65 80 17 00 00 00 00 00 00 07 [23:48:57]Write i2c OK [23:48:57]MH_I2C_Read... [23:48:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [23:48:57]Read from MH i2c: E2 [23:48:57]MH_I2C_Read... [23:48:57]Read from MH i2c: E2 DE 00 [23:48:57]MH_I2C_Read... [23:48:57]Read from MH i2c: E2 DE 00 22 65 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 E6 [23:48:57]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:48:57]wFMCommunicate OK [23:48:57]SAM_PROTO_GetFMData done [23:48:57]requested_item fm.sale_refund.total is exist - process it [23:48:57]requested_item fm.buy.total is exist - process it [23:48:57]requested_item shift.sale.total is exist - process it [23:48:57]SAM_PROTO_GetShiftData [23:48:57]wFMCommunicate request_size=4 [23:48:57]MH_SAM_APDU [23:48:57]CAPDU: 80 13 02 00 [23:48:57]Write to MH i2c: E2 08 00 23 65 80 13 02 00 00 00 00 00 06 [23:48:57]Write i2c OK [23:48:57]MH_I2C_Read... [23:48:58]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:48:58]Read from MH i2c: E2 [23:48:58]MH_I2C_Read... [23:48:58]Read from MH i2c: E2 FD 00 [23:48:58]MH_I2C_Read... [23:48:58]Read from MH i2c: E2 FD 00 23 65 00 B6 04 AA 04 B2 04 6E 04 04 00 54 00 00 00 69 04 9B 00 6F 04 04 00 52 00 00 00 B1 04 03 00 4C 86 14 70 04 03 00 28 85 11 72 04 03 00 24 01 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 FC 2D 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 70 2E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 02 00 00 00 B1 04 02 00 48 71 70 04 02 00 48 71 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 07 0C EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 BD [23:48:58]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 54 00 00 00 69 04 9B 00 6F 04 04 00 52 00 00 00 B1 04 03 00 4C 86 14 70 04 03 00 28 85 11 72 04 03 00 24 01 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 FC 2D 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 70 2E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 02 00 00 00 B1 04 02 00 48 71 70 04 02 00 48 71 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 07 0C EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [23:48:58]wFMCommunicate OK [23:48:58]wFMCommunicate request_size=4 [23:48:58]MH_SAM_APDU [23:48:58]CAPDU: 80 17 00 00 [23:48:58]Write to MH i2c: E2 08 00 24 65 80 17 00 00 00 00 00 00 09 [23:48:58]Write i2c OK [23:48:58]MH_I2C_Read... [23:48:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:48:58]Read from MH i2c: E2 [23:48:58]MH_I2C_Read... [23:48:58]Read from MH i2c: E2 FD 00 [23:48:58]MH_I2C_Read... [23:48:58]Read from MH i2c: E2 FD 00 24 65 00 F6 03 01 00 01 F7 03 02 00 00 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 1E [23:48:58]RAPDU: F6 03 01 00 01 F7 03 02 00 00 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:48:58]wFMCommunicate OK [23:48:58]wFMCommunicate request_size=4 [23:48:58]MH_SAM_APDU [23:48:58]CAPDU: 80 17 00 00 [23:48:58]Write to MH i2c: E2 08 00 25 65 80 17 00 00 00 00 00 00 0A [23:48:58]Write i2c OK [23:48:58]MH_I2C_Read... [23:48:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:48:58]Read from MH i2c: E2 [23:48:58]MH_I2C_Read... [23:48:58]Read from MH i2c: E2 FD 00 [23:48:58]MH_I2C_Read... [23:48:58]Read from MH i2c: E2 FD 00 25 65 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 CA [23:48:58]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:48:58]wFMCommunicate OK [23:48:58]wFMCommunicate request_size=4 [23:48:58]MH_SAM_APDU [23:48:58]CAPDU: 80 17 00 00 [23:48:58]Write to MH i2c: E2 08 00 26 65 80 17 00 00 00 00 00 00 0B [23:48:58]Write i2c OK [23:48:58]MH_I2C_Read... [23:48:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:48:58]Read from MH i2c: E2 [23:48:58]MH_I2C_Read... [23:48:58]Read from MH i2c: E2 FD 00 [23:48:58]MH_I2C_Read... [23:48:58]Read from MH i2c: E2 FD 00 26 65 00 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 90 00 7A [23:48:58]RAPDU: 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 90 00 [23:48:58]wFMCommunicate OK [23:48:58]wFMCommunicate request_size=4 [23:48:58]MH_SAM_APDU [23:48:58]CAPDU: 80 17 00 00 [23:48:58]Write to MH i2c: E2 08 00 27 65 80 17 00 00 00 00 00 00 0C [23:48:58]Write i2c OK [23:48:58]MH_I2C_Read... [23:48:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [23:48:59]Read from MH i2c: E2 [23:48:59]MH_I2C_Read... [23:48:59]Read from MH i2c: E2 D3 00 [23:48:59]MH_I2C_Read... [23:48:59]Read from MH i2c: E2 D3 00 27 65 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 F9 [23:48:59]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:48:59]wFMCommunicate OK [23:48:59]SAM_PROTO_GetShiftData done [23:48:59]requested_item shift.sale.total_cash is exist - process it [23:48:59]requested_item shift.sale_refund.total is exist - process it [23:48:59]requested_item shift.sale_refund.total_cash is exist - process it [23:48:59]requested_item shift.buy.total is exist - process it [23:48:59]requested_item shift.buy.total_cash is exist - process it [23:48:59]produce_requested_data done [23:48:59]produce_requested_data return {"fm.sale.total":8065584.31,"fm.sale_refund.total":72296.00,"fm.buy.total":0.00,"shift.sale.total":13451.00,"shift.sale.total_cash":11482.00,"shift.sale_refund.total":290.00,"shift.sale_refund.total_cash":290.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [23:48:59]process_action_free get_value [23:48:59]json_value_free [23:48:59]json_value_free done [23:48:59]process_json_proto returns [23:48:59]Send response to host [23:48:59]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8065584.31,"fm.sale_refund.total":72296.00,"fm.buy.total":0.00,"shift.sale.total":13451.00,"shift.sale.total_cash":11482.00,"shift.sale_refund.total":290.00,"shift.sale_refund.total_cash":290.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [23:48:59]free response buf [23:48:59]execute_script done [23:48:59]execute_script returns [23:48:59]free content buf [23:48:59]Sock 9.Close socket [23:48:59]Sock 9.Thread stoped [23:48:59]accept exits with 7 [23:48:59]New connection [23:48:59]New thread 3066596708 created [23:48:59]Thread 3066453348 joined [23:48:59]Waiting for new connection... [23:48:59] Sock 7.Parse request [23:48:59]Sock 7.Check first char [23:48:59]Sock 7.First char is OK [23:48:59]request: POST /json_proto HTTP/1.0 [23:48:59]Method: POST [23:48:59]URL: /json_proto [23:48:59]Method is POST - this is cgi request [23:48:59]url: /json_proto [23:48:59]query_string will be loaded in cgi processing [23:48:59]execute_cgi json_proto POST (null) [23:48:59]execute_cgi path=json_proto method=POST [23:48:59]POST find Content-Length [23:48:59]Host: 172.17.32.68:8080 [23:48:59]Content-Length: 331 [23:48:59]Content-Type: application/json [23:48:59] [23:48:59]POST finish read [23:48:59]Found Content-Length = 331 [23:48:59]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:48:59]execute_script... [23:48:59]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:48:59]POST & json_proto [23:48:59]process_json_proto [23:48:59]json parsed OK: [23:48:59]protocol is kg_v1.0 [23:48:59]action value=get_value [23:48:59]process_action get_value [23:48:59]cmd_get_value [23:48:59]process_action get_value done [23:48:59]requested_data is exist [23:48:59]produce_requested_data [23:48:59]requested_item fm.sale.total is exist - process it [23:48:59]SAM_PROTO_GetFMData [23:48:59]wFMCommunicate request_size=4 [23:48:59]MH_SAM_APDU [23:48:59]CAPDU: 80 13 03 00 [23:48:59]Write to MH i2c: E2 08 00 28 65 80 13 03 00 00 00 00 00 0C [23:48:59]Write i2c OK [23:48:59]MH_I2C_Read... [23:48:59]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:48:59]Read from MH i2c: E2 [23:48:59]MH_I2C_Read... [23:48:59]Read from MH i2c: E2 FD 00 [23:48:59]MH_I2C_Read... [23:48:59]Read from MH i2c: E2 FD 00 28 65 00 C1 04 85 04 BD 04 6E 04 04 00 B9 B6 00 00 69 04 A0 00 6F 04 04 00 92 B5 00 00 B1 04 04 00 DF 1A 13 30 70 04 04 00 F0 6E 23 28 72 04 04 00 EF AB EF 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 E1 EB 1A 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 1A D5 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 27 01 00 00 B1 04 03 00 A0 50 6E 70 04 03 00 C4 49 6A 72 04 03 00 DC 06 04 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 12 B7 0B EF 03 09 00 F6 03 90 00 3D [23:48:59]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 B9 B6 00 00 69 04 A0 00 6F 04 04 00 92 B5 00 00 B1 04 04 00 DF 1A 13 30 70 04 04 00 F0 6E 23 28 72 04 04 00 EF AB EF 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 E1 EB 1A 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 1A D5 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 27 01 00 00 B1 04 03 00 A0 50 6E 70 04 03 00 C4 49 6A 72 04 03 00 DC 06 04 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 12 B7 0B EF 03 09 00 F6 03 90 00 [23:48:59]wFMCommunicate OK [23:48:59]wFMCommunicate request_size=4 [23:48:59]MH_SAM_APDU [23:48:59]CAPDU: 80 17 00 00 [23:48:59]Write to MH i2c: E2 08 00 29 65 80 17 00 00 00 00 00 00 0E [23:48:59]Write i2c OK [23:48:59]MH_I2C_Read... [23:49:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:49:00]Read from MH i2c: E2 [23:49:00]MH_I2C_Read... [23:49:00]Read from MH i2c: E2 FD 00 [23:49:00]MH_I2C_Read... [23:49:00]Read from MH i2c: E2 FD 00 29 65 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 C7 F9 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 FD [23:49:00]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 C7 F9 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:49:00]wFMCommunicate OK [23:49:00]wFMCommunicate request_size=4 [23:49:00]MH_SAM_APDU [23:49:00]CAPDU: 80 17 00 00 [23:49:00]Write to MH i2c: E2 08 00 2A 65 80 17 00 00 00 00 00 00 0F [23:49:00]Write i2c OK [23:49:00]MH_I2C_Read... [23:49:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:49:00]Read from MH i2c: E2 [23:49:00]MH_I2C_Read... [23:49:00]Read from MH i2c: E2 FD 00 [23:49:00]MH_I2C_Read... [23:49:00]Read from MH i2c: E2 FD 00 2A 65 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 AF [23:49:00]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:49:00]wFMCommunicate OK [23:49:00]wFMCommunicate request_size=4 [23:49:00]MH_SAM_APDU [23:49:00]CAPDU: 80 17 00 00 [23:49:00]Write to MH i2c: E2 08 00 2B 65 80 17 00 00 00 00 00 00 10 [23:49:00]Write i2c OK [23:49:00]MH_I2C_Read... [23:49:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:49:00]Read from MH i2c: E2 [23:49:00]MH_I2C_Read... [23:49:00]Read from MH i2c: E2 FD 00 [23:49:00]MH_I2C_Read... [23:49:00]Read from MH i2c: E2 FD 00 2B 65 00 03 01 00 04 F7 03 00 00 EF 03 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 90 00 95 [23:49:01]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:49:01]wFMCommunicate OK [23:49:01]wFMCommunicate request_size=4 [23:49:01]MH_SAM_APDU [23:49:01]CAPDU: 80 17 00 00 [23:49:01]Write to MH i2c: E2 08 00 2C 65 80 17 00 00 00 00 00 00 11 [23:49:01]Write i2c OK [23:49:01]MH_I2C_Read... [23:49:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [23:49:01]Read from MH i2c: E2 [23:49:01]MH_I2C_Read... [23:49:01]Read from MH i2c: E2 DE 00 [23:49:01]MH_I2C_Read... [23:49:01]Read from MH i2c: E2 DE 00 2C 65 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 F0 [23:49:01]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:49:01]wFMCommunicate OK [23:49:01]SAM_PROTO_GetFMData done [23:49:01]requested_item fm.sale_refund.total is exist - process it [23:49:01]requested_item fm.buy.total is exist - process it [23:49:01]requested_item shift.sale.total is exist - process it [23:49:01]SAM_PROTO_GetShiftData [23:49:01]wFMCommunicate request_size=4 [23:49:01]MH_SAM_APDU [23:49:01]CAPDU: 80 13 02 00 [23:49:01]Write to MH i2c: E2 08 00 2D 65 80 13 02 00 00 00 00 00 10 [23:49:01]Write i2c OK [23:49:01]MH_I2C_Read... [23:49:01]OFD Sender: No OFD packet to send [23:49:01]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:49:01]Read from MH i2c: E2 [23:49:01]MH_I2C_Read... [23:49:01]Read from MH i2c: E2 FD 00 [23:49:01]MH_I2C_Read... [23:49:01]Read from MH i2c: E2 FD 00 2D 65 00 B6 04 AA 04 B2 04 6E 04 04 00 54 00 00 00 69 04 9B 00 6F 04 04 00 52 00 00 00 B1 04 03 00 4C 86 14 70 04 03 00 28 85 11 72 04 03 00 24 01 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 FC 2D 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 70 2E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 02 00 00 00 B1 04 02 00 48 71 70 04 02 00 48 71 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 07 0C EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 C7 [23:49:01]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 54 00 00 00 69 04 9B 00 6F 04 04 00 52 00 00 00 B1 04 03 00 4C 86 14 70 04 03 00 28 85 11 72 04 03 00 24 01 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 FC 2D 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 70 2E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 02 00 00 00 B1 04 02 00 48 71 70 04 02 00 48 71 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 07 0C EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [23:49:02]wFMCommunicate OK [23:49:02]wFMCommunicate request_size=4 [23:49:02]MH_SAM_APDU [23:49:02]CAPDU: 80 17 00 00 [23:49:02]Write to MH i2c: E2 08 00 2E 65 80 17 00 00 00 00 00 00 13 [23:49:02]Write i2c OK [23:49:02]MH_I2C_Read... [23:49:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:49:02]Read from MH i2c: E2 [23:49:02]MH_I2C_Read... [23:49:02]Read from MH i2c: E2 FD 00 [23:49:02]MH_I2C_Read... [23:49:02]Read from MH i2c: E2 FD 00 2E 65 00 F6 03 01 00 01 F7 03 02 00 00 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 28 [23:49:02]RAPDU: F6 03 01 00 01 F7 03 02 00 00 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:49:02]wFMCommunicate OK [23:49:02]wFMCommunicate request_size=4 [23:49:02]MH_SAM_APDU [23:49:02]CAPDU: 80 17 00 00 [23:49:02]Write to MH i2c: E2 08 00 2F 65 80 17 00 00 00 00 00 00 14 [23:49:02]Write i2c OK [23:49:02]MH_I2C_Read... [23:49:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:49:02]Read from MH i2c: E2 [23:49:02]MH_I2C_Read... [23:49:02]Read from MH i2c: E2 FD 00 [23:49:02]MH_I2C_Read... [23:49:02]Read from MH i2c: E2 FD 00 2F 65 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 D4 [23:49:02]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:49:02]wFMCommunicate OK [23:49:02]wFMCommunicate request_size=4 [23:49:02]MH_SAM_APDU [23:49:02]CAPDU: 80 17 00 00 [23:49:02]Write to MH i2c: E2 08 00 30 65 80 17 00 00 00 00 00 00 15 [23:49:02]Write i2c OK [23:49:02]MH_I2C_Read... [23:49:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:49:03]Read from MH i2c: E2 [23:49:03]MH_I2C_Read... [23:49:03]Read from MH i2c: E2 FD 00 [23:49:03]MH_I2C_Read... [23:49:03]Read from MH i2c: E2 FD 00 30 65 00 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 90 00 84 [23:49:03]RAPDU: 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 90 00 [23:49:03]wFMCommunicate OK [23:49:03]wFMCommunicate request_size=4 [23:49:03]MH_SAM_APDU [23:49:03]CAPDU: 80 17 00 00 [23:49:03]Write to MH i2c: E2 08 00 31 65 80 17 00 00 00 00 00 00 16 [23:49:03]Write i2c OK [23:49:03]MH_I2C_Read... [23:49:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [23:49:03]Read from MH i2c: E2 [23:49:03]MH_I2C_Read... [23:49:03]Read from MH i2c: E2 D3 00 [23:49:03]MH_I2C_Read... [23:49:03]Read from MH i2c: E2 D3 00 31 65 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 03 [23:49:03]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:49:03]wFMCommunicate OK [23:49:03]SAM_PROTO_GetShiftData done [23:49:03]requested_item shift.sale.total_cash is exist - process it [23:49:03]requested_item shift.sale_refund.total is exist - process it [23:49:03]requested_item shift.sale_refund.total_cash is exist - process it [23:49:03]requested_item shift.buy.total is exist - process it [23:49:03]requested_item shift.buy.total_cash is exist - process it [23:49:03]produce_requested_data done [23:49:03]produce_requested_data return {"fm.sale.total":8065584.31,"fm.sale_refund.total":72296.00,"fm.buy.total":0.00,"shift.sale.total":13451.00,"shift.sale.total_cash":11482.00,"shift.sale_refund.total":290.00,"shift.sale_refund.total_cash":290.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [23:49:03]process_action_free get_value [23:49:03]json_value_free [23:49:03]json_value_free done [23:49:03]process_json_proto returns [23:49:03]Send response to host [23:49:03]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8065584.31,"fm.sale_refund.total":72296.00,"fm.buy.total":0.00,"shift.sale.total":13451.00,"shift.sale.total_cash":11482.00,"shift.sale_refund.total":290.00,"shift.sale_refund.total_cash":290.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [23:49:03]free response buf [23:49:03]execute_script done [23:49:03]execute_script returns [23:49:03]free content buf [23:49:03]Sock 7.Close socket [23:49:03]Sock 7.Thread stoped [23:49:03]accept exits with 9 [23:49:03]New connection [23:49:03]New thread 3066453348 created [23:49:03]Thread 3066596708 joined [23:49:03]Waiting for new connection... [23:49:03] Sock 9.Parse request [23:49:03]Sock 9.Check first char [23:49:03]Sock 9.First char is OK [23:49:03]request: POST /json_proto HTTP/1.0 [23:49:03]Method: POST [23:49:03]URL: /json_proto [23:49:03]Method is POST - this is cgi request [23:49:03]url: /json_proto [23:49:03]query_string will be loaded in cgi processing [23:49:03]execute_cgi json_proto POST (null) [23:49:03]execute_cgi path=json_proto method=POST [23:49:03]POST find Content-Length [23:49:03]Host: 172.17.32.68:8080 [23:49:03]Content-Length: 270 [23:49:03]Content-Type: application/json [23:49:03] [23:49:03]POST finish read [23:49:03]Found Content-Length = 270 [23:49:03]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u041C\u0430\u043A\u0441\u0430\u0442\u0431\u0435\u043A \u0443 \u0414. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:49:03]execute_script... [23:49:03]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u041C\u0430\u043A\u0441\u0430\u0442\u0431\u0435\u043A \u0443 \u0414. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:49:03]POST & json_proto [23:49:03]process_json_proto [23:49:03]json parsed OK: [23:49:03]protocol is kg_v1.0 [23:49:03]action value=x_report [23:49:03]process_action x_report [23:49:03]cmd_x_report [23:49:03]MH_GetDate [23:49:03]Write to MH i2c: F0 00 00 32 65 86 [23:49:03]Write i2c OK [23:49:03]MH_I2C_Read... [23:49:03]Read from MH i2c: F0 [23:49:03]MH_I2C_Read... [23:49:03]Read from MH i2c: F0 09 00 [23:49:03]MH_I2C_Read... [23:49:03]Read from MH i2c: F0 09 00 32 65 00 01 EA F0 65 0A 64 6E 65 10 [23:49:03]GetLastDocTimeStamp 1710287251 [23:49:03]current date 1710287361 [23:49:03]FM_GetShiftState [23:49:03]SAM_PROTO_GetShiftState [23:49:03]wFMCommunicate request_size=4 [23:49:03]MH_SAM_APDU [23:49:03]CAPDU: 80 13 01 00 [23:49:03]Write to MH i2c: E2 08 00 33 65 80 13 01 00 00 00 00 00 15 [23:49:03]Write i2c OK [23:49:03]MH_I2C_Read... [23:49:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:49:03]Read from MH i2c: E2 [23:49:03]MH_I2C_Read... [23:49:03]Read from MH i2c: E2 0E 00 [23:49:03]MH_I2C_Read... [23:49:03]Read from MH i2c: E2 0E 00 33 65 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 44 [23:49:03]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [23:49:03]wFMCommunicate OK [23:49:03]SAM_PROTO_GetShiftState done [23:49:03]FM_GetShiftState done [23:49:03]KKMCreateXReportDocument [23:49:03]Load OK [23:49:03]Malloc new data [23:49:03]MH_GetDate [23:49:03]Write to MH i2c: F0 00 00 34 65 88 [23:49:03]Write i2c OK [23:49:03]MH_I2C_Read... [23:49:03]Read from MH i2c: F0 [23:49:03]MH_I2C_Read... [23:49:03]Read from MH i2c: F0 09 00 [23:49:03]MH_I2C_Read... [23:49:03]Read from MH i2c: F0 09 00 34 65 00 01 EA F0 65 0A 64 6E 65 12 [23:49:03]Malloc new data [23:49:03]Malloc new data [23:49:03]wFMCommunicate request_size=4 [23:49:03]MH_SAM_APDU [23:49:03]CAPDU: 80 11 00 00 [23:49:03]Write to MH i2c: E2 08 00 35 65 80 11 00 00 00 00 00 00 14 [23:49:03]Write i2c OK [23:49:03]MH_I2C_Read... [23:49:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:49:03]Read from MH i2c: E2 [23:49:03]MH_I2C_Read... [23:49:03]Read from MH i2c: E2 17 00 [23:49:03]MH_I2C_Read... [23:49:03]Read from MH i2c: E2 17 00 35 65 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 66 [23:49:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [23:49:03]wFMCommunicate OK [23:49:03]SAM_PROTO_GetFieldsCounters [23:49:03]wFMCommunicate request_size=4 [23:49:03]MH_SAM_APDU [23:49:03]CAPDU: 80 13 00 00 [23:49:03]Write to MH i2c: E2 08 00 36 65 80 13 00 00 00 00 00 00 17 [23:49:03]Write i2c OK [23:49:03]MH_I2C_Read... [23:49:03]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:49:03]Read from MH i2c: E2 [23:49:03]MH_I2C_Read... [23:49:03]Read from MH i2c: E2 62 00 [23:49:03]MH_I2C_Read... [23:49:03]Read from MH i2c: E2 62 00 36 65 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 2E B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 54 00 00 00 5E 04 04 00 54 00 00 00 57 04 04 00 55 00 00 00 19 04 04 00 00 00 00 00 90 00 50 [23:49:03]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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 2E B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 54 00 00 00 5E 04 04 00 54 00 00 00 57 04 04 00 55 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:49:03]wFMCommunicate OK [23:49:03]SAM_PROTO_GetFieldsCounters done [23:49:03]Malloc new data [23:49:03]Malloc new data [23:49:03]Malloc new data [23:49:03]KKMCreateXReportDocument OK [23:49:03]KKMSetXReportData OK [23:49:03]KKMPrepareXReportFMData [23:49:03]SAM_PROTO_GetShiftData [23:49:03]wFMCommunicate request_size=4 [23:49:03]MH_SAM_APDU [23:49:03]CAPDU: 80 13 02 00 [23:49:03]Write to MH i2c: E2 08 00 37 65 80 13 02 00 00 00 00 00 1A [23:49:03]Write i2c OK [23:49:03]MH_I2C_Read... [23:49:04]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:49:04]Read from MH i2c: E2 [23:49:04]MH_I2C_Read... [23:49:04]Read from MH i2c: E2 FD 00 [23:49:04]MH_I2C_Read... [23:49:04]Read from MH i2c: E2 FD 00 37 65 00 B6 04 AA 04 B2 04 6E 04 04 00 54 00 00 00 69 04 9B 00 6F 04 04 00 52 00 00 00 B1 04 03 00 4C 86 14 70 04 03 00 28 85 11 72 04 03 00 24 01 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 FC 2D 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 70 2E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 02 00 00 00 B1 04 02 00 48 71 70 04 02 00 48 71 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 07 0C EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 D1 [23:49:04]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 54 00 00 00 69 04 9B 00 6F 04 04 00 52 00 00 00 B1 04 03 00 4C 86 14 70 04 03 00 28 85 11 72 04 03 00 24 01 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 FC 2D 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 70 2E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 02 00 00 00 B1 04 02 00 48 71 70 04 02 00 48 71 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 07 0C EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [23:49:04]wFMCommunicate OK [23:49:04]wFMCommunicate request_size=4 [23:49:04]MH_SAM_APDU [23:49:04]CAPDU: 80 17 00 00 [23:49:04]Write to MH i2c: E2 08 00 38 65 80 17 00 00 00 00 00 00 1D [23:49:04]Write i2c OK [23:49:04]MH_I2C_Read... [23:49:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:49:04]Read from MH i2c: E2 [23:49:04]MH_I2C_Read... [23:49:04]Read from MH i2c: E2 FD 00 [23:49:04]MH_I2C_Read... [23:49:04]Read from MH i2c: E2 FD 00 38 65 00 F6 03 01 00 01 F7 03 02 00 00 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 32 [23:49:04]RAPDU: F6 03 01 00 01 F7 03 02 00 00 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:49:04]wFMCommunicate OK [23:49:04]wFMCommunicate request_size=4 [23:49:04]MH_SAM_APDU [23:49:04]CAPDU: 80 17 00 00 [23:49:04]Write to MH i2c: E2 08 00 39 65 80 17 00 00 00 00 00 00 1E [23:49:04]Write i2c OK [23:49:04]MH_I2C_Read... [23:49:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:49:05]Read from MH i2c: E2 [23:49:05]MH_I2C_Read... [23:49:05]Read from MH i2c: E2 FD 00 [23:49:05]MH_I2C_Read... [23:49:05]Read from MH i2c: E2 FD 00 39 65 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 DE [23:49:05]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:49:05]wFMCommunicate OK [23:49:05]wFMCommunicate request_size=4 [23:49:05]MH_SAM_APDU [23:49:05]CAPDU: 80 17 00 00 [23:49:05]Write to MH i2c: E2 08 00 3A 65 80 17 00 00 00 00 00 00 1F [23:49:05]Write i2c OK [23:49:05]MH_I2C_Read... [23:49:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:49:05]Read from MH i2c: E2 [23:49:05]MH_I2C_Read... [23:49:05]Read from MH i2c: E2 FD 00 [23:49:05]MH_I2C_Read... [23:49:05]Read from MH i2c: E2 FD 00 3A 65 00 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 90 00 8E [23:49:05]RAPDU: 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 90 00 [23:49:05]wFMCommunicate OK [23:49:05]wFMCommunicate request_size=4 [23:49:05]MH_SAM_APDU [23:49:05]CAPDU: 80 17 00 00 [23:49:05]Write to MH i2c: E2 08 00 3B 65 80 17 00 00 00 00 00 00 20 [23:49:05]Write i2c OK [23:49:05]MH_I2C_Read... [23:49:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [23:49:06]Read from MH i2c: E2 [23:49:06]MH_I2C_Read... [23:49:06]Read from MH i2c: E2 D3 00 [23:49:06]MH_I2C_Read... [23:49:06]Read from MH i2c: E2 D3 00 3B 65 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 0D [23:49:06]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:49:06]wFMCommunicate OK [23:49:06]SAM_PROTO_GetShiftData done [23:49:06]1194 (1202) - счетчики итогов смены [23:49:06] 1134 (4) - 84 - количество чеков со всеми признаками расчетов [23:49:06] 1129 (155) - счетчики операций «приход» [23:49:06] 1135 (4) - 82 - количество чеков по признаку расчетов [23:49:06] 1201 (3) - 13451.00 - общая итоговая сумма в чеках [23:49:06] 1136 (3) - 11482.00 - итоговая сумма в чеках наличными [23:49:06] 1138 (3) - 1969.00 - итоговая сумма в чеках безналичными [23:49:06] 1024 (122) - суммы налогов [23:49:06] 1006 (9) - суммы НДС [23:49:06] 1010 (1) - 0% - код ставки НДС [23:49:06] 1011 (0) - 0.00 - сумма НДС по ставке [23:49:06] 1006 (12) - суммы НДС [23:49:06] 1010 (1) - 12% - код ставки НДС [23:49:06] 1011 (3) - 1428.44 - сумма НДС по ставке [23:49:06] 1007 (9) - суммы НСП [23:49:06] 1014 (1) - 0% - код ставки НСП [23:49:06] 1015 (0) - 0.00 - сумма НСП по ставке [23:49:06] 1007 (11) - суммы НСП [23:49:06] 1014 (1) - 1% - код ставки НСП [23:49:06] 1015 (2) - 118.88 - сумма НСП по ставке [23:49:06] 1007 (9) - суммы НСП [23:49:06] 1014 (1) - 2% - код ставки НСП [23:49:06] 1015 (0) - 0.00 - сумма НСП по ставке [23:49:06] 1007 (9) - суммы НСП [23:49:06] 1014 (1) - 3% - код ставки НСП [23:49:06] 1015 (0) - 0.00 - сумма НСП по ставке [23:49:06] 1007 (9) - суммы НСП [23:49:06] 1014 (1) - 5% - код ставки НСП [23:49:06] 1015 (0) - 0.00 - сумма НСП по ставке [23:49:06] 1007 (9) - суммы НСП [23:49:06] 1014 (1) - 0,50% - код ставки НСП [23:49:06] 1015 (0) - 0.00 - сумма НСП по ставке [23:49:06] 1007 (9) - суммы НСП [23:49:06] 1014 (1) - 1,50% - код ставки НСП [23:49:06] 1015 (0) - 0.00 - сумма НСП по ставке [23:49:06] 1130 (149) - счетчики операций «возврат прихода» [23:49:06] 1135 (4) - 2 - количество чеков по признаку расчетов [23:49:06] 1201 (2) - 290.00 - общая итоговая сумма в чеках [23:49:06] 1136 (2) - 290.00 - итоговая сумма в чеках наличными [23:49:06] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:49:06] 1024 (121) - суммы налогов [23:49:06] 1006 (9) - суммы НДС [23:49:06] 1010 (1) - 0% - код ставки НДС [23:49:06] 1011 (0) - 0.00 - сумма НДС по ставке [23:49:06] 1006 (11) - суммы НДС [23:49:06] 1010 (1) - 12% - код ставки НДС [23:49:06] 1011 (2) - 30.79 - сумма НДС по ставке [23:49:06] 1007 (9) - суммы НСП [23:49:06] 1014 (1) - 0% - код ставки НСП [23:49:06] 1015 (0) - 0.00 - сумма НСП по ставке [23:49:06] 1007 (11) - суммы НСП [23:49:06] 1014 (1) - 1% - код ставки НСП [23:49:06] 1015 (2) - 2.56 - сумма НСП по ставке [23:49:06] 1007 (9) - суммы НСП [23:49:06] 1014 (1) - 2% - код ставки НСП [23:49:06] 1015 (0) - 0.00 - сумма НСП по ставке [23:49:06] 1007 (9) - суммы НСП [23:49:06] 1014 (1) - 3% - код ставки НСП [23:49:06] 1015 (0) - 0.00 - сумма НСП по ставке [23:49:06] 1007 (9) - суммы НСП [23:49:06] 1014 (1) - 5% - код ставки НСП [23:49:06] 1015 (0) - 0.00 - сумма НСП по ставке [23:49:06] 1007 (9) - суммы НСП [23:49:06] 1014 (1) - 0,50% - код ставки НСП [23:49:06] 1015 (0) - 0.00 - сумма НСП по ставке [23:49:06] 1007 (9) - суммы НСП [23:49:06] 1014 (1) - 1,50% - код ставки НСП [23:49:06] 1015 (0) - 0.00 - сумма НСП по ставке [23:49:06] 1131 (141) - счетчики операций «расход» [23:49:06] 1135 (4) - 0 - количество чеков по признаку расчетов [23:49:06] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:49:06] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:49:06] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:49:06] 1024 (117) - суммы налогов [23:49:06] 1006 (9) - суммы НДС [23:49:06] 1010 (1) - 0% - код ставки НДС [23:49:06] 1011 (0) - 0.00 - сумма НДС по ставке [23:49:06] 1006 (9) - суммы НДС [23:49:06] 1010 (1) - 12% - код ставки НДС [23:49:06] 1011 (0) - 0.00 - сумма НДС по ставке [23:49:06] 1007 (9) - суммы НСП [23:49:06] 1014 (1) - 0% - код ставки НСП [23:49:06] 1015 (0) - 0.00 - сумма НСП по ставке [23:49:06] 1007 (9) - суммы НСП [23:49:06] 1014 (1) - 1% - код ставки НСП [23:49:06] 1015 (0) - 0.00 - сумма НСП по ставке [23:49:06] 1007 (9) - суммы НСП [23:49:06] 1014 (1) - 2% - код ставки НСП [23:49:06] 1015 (0) - 0.00 - сумма НСП по ставке [23:49:06] 1007 (9) - суммы НСП [23:49:06] 1014 (1) - 3% - код ставки НСП [23:49:06] 1015 (0) - 0.00 - сумма НСП по ставке [23:49:06] 1007 (9) - суммы НСП [23:49:06] 1014 (1) - 5% - код ставки НСП [23:49:06] 1015 (0) - 0.00 - сумма НСП по ставке [23:49:06] 1007 (9) - суммы НСП [23:49:06] 1014 (1) - 0,50% - код ставки НСП [23:49:06] 1015 (0) - 0.00 - сумма НСП по ставке [23:49:06] 1007 (9) - суммы НСП [23:49:06] 1014 (1) - 1,50% - код ставки НСП [23:49:06] 1015 (0) - 0.00 - сумма НСП по ставке [23:49:06] 1132 (141) - счетчики операций «возврат расхода» [23:49:06] 1135 (4) - 0 - количество чеков по признаку расчетов [23:49:06] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:49:06] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:49:06] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:49:06] 1024 (117) - суммы налогов [23:49:06] 1006 (9) - суммы НДС [23:49:06] 1010 (1) - 0% - код ставки НДС [23:49:06] 1011 (0) - 0.00 - сумма НДС по ставке [23:49:06] 1006 (9) - суммы НДС [23:49:06] 1010 (1) - 12% - код ставки НДС [23:49:06] 1011 (0) - 0.00 - сумма НДС по ставке [23:49:06] 1007 (9) - суммы НСП [23:49:06] 1014 (1) - 0% - код ставки НСП [23:49:06] 1015 (0) - 0.00 - сумма НСП по ставке [23:49:06] 1007 (9) - суммы НСП [23:49:06] 1014 (1) - 1% - код ставки НСП [23:49:06] 1015 (0) - 0.00 - сумма НСП по ставке [23:49:06] 1007 (9) - суммы НСП [23:49:06] 1014 (1) - 2% - код ставки НСП [23:49:06] 1015 (0) - 0.00 - сумма НСП по ставке [23:49:06] 1007 (9) - суммы НСП [23:49:06] 1014 (1) - 3% - код ставки НСП [23:49:06] 1015 (0) - 0.00 - сумма НСП по ставке [23:49:06] 1007 (9) - суммы НСП [23:49:06] 1014 (1) - 5% - код ставки НСП [23:49:06] OFD Sender: No OFD packet to send [23:49:06] 1015 (0) - 0.00 - сумма НСП по ставке [23:49:06] 1007 (9) - суммы НСП [23:49:06] 1014 (1) - 0,50% - код ставки НСП [23:49:06] 1015 (0) - 0.00 - сумма НСП по ставке [23:49:06] 1007 (9) - суммы НСП [23:49:06] 1014 (1) - 1,50% - код ставки НСП [23:49:06] 1015 (0) - 0.00 - сумма НСП по ставке [23:49:06] 1133 (588) - - счетчики коррекции - не используются [23:49:06]SetTLVBufToDocument [23:49:06]Processing tag 1194 (04AA) [23:49:06]Load OK [23:49:06]SetTLVBufToDocument [23:49:06]Processing tag 1134 (046E) [23:49:06]Malloc new data [23:49:06]Processing tag 1129 (0469) [23:49:06]Load OK [23:49:06]SetTLVBufToDocument [23:49:06]Processing tag 1135 (046F) [23:49:06]Malloc new data [23:49:06]Processing tag 1201 (04B1) [23:49:06]Malloc new data [23:49:06]Processing tag 1136 (0470) [23:49:06]Malloc new data [23:49:06]Processing tag 1138 (0472) [23:49:06]Malloc new data [23:49:06]Processing tag 1024 (0400) [23:49:06]Load OK [23:49:06]SetTLVBufToDocument [23:49:06]Processing tag 1006 (03EE) [23:49:06]Load OK [23:49:06]SetTLVBufToDocument [23:49:06]Processing tag 1010 (03F2) [23:49:06]Malloc new data [23:49:06]Processing tag 1011 (03F3) [23:49:06]Malloc new data [23:49:06]SetTLVBufToDocument err=0 [23:49:06]Processing tag 1006 (03EE) [23:49:06]Load OK [23:49:06]SetTLVBufToDocument [23:49:06]Processing tag 1010 (03F2) [23:49:06]Malloc new data [23:49:06]Processing tag 1011 (03F3) [23:49:06]Malloc new data [23:49:06]SetTLVBufToDocument err=0 [23:49:06]Processing tag 1007 (03EF) [23:49:06]Load OK [23:49:06]SetTLVBufToDocument [23:49:06]Processing tag 1014 (03F6) [23:49:06]Malloc new data [23:49:06]Processing tag 1015 (03F7) [23:49:06]Malloc new data [23:49:06]SetTLVBufToDocument err=0 [23:49:06]Processing tag 1007 (03EF) [23:49:06]Load OK [23:49:06]SetTLVBufToDocument [23:49:06]Processing tag 1014 (03F6) [23:49:06]Malloc new data [23:49:06]Processing tag 1015 (03F7) [23:49:06]Malloc new data [23:49:06]SetTLVBufToDocument err=0 [23:49:06]Processing tag 1007 (03EF) [23:49:06]Load OK [23:49:06]SetTLVBufToDocument [23:49:06]Processing tag 1014 (03F6) [23:49:06]Malloc new data [23:49:06]Processing tag 1015 (03F7) [23:49:06]Malloc new data [23:49:06]SetTLVBufToDocument err=0 [23:49:06]Processing tag 1007 (03EF) [23:49:06]Load OK [23:49:07]SetTLVBufToDocument [23:49:07]Processing tag 1014 (03F6) [23:49:07]Malloc new data [23:49:07]Processing tag 1015 (03F7) [23:49:07]Malloc new data [23:49:07]SetTLVBufToDocument err=0 [23:49:07]Processing tag 1007 (03EF) [23:49:07]Load OK [23:49:07]SetTLVBufToDocument [23:49:07]Processing tag 1014 (03F6) [23:49:07]Malloc new data [23:49:07]Processing tag 1015 (03F7) [23:49:07]Malloc new data [23:49:07]SetTLVBufToDocument err=0 [23:49:07]Processing tag 1007 (03EF) [23:49:07]Load OK [23:49:07]SetTLVBufToDocument [23:49:07]Processing tag 1014 (03F6) [23:49:07]Malloc new data [23:49:07]Processing tag 1015 (03F7) [23:49:07]Malloc new data [23:49:07]SetTLVBufToDocument err=0 [23:49:07]Processing tag 1007 (03EF) [23:49:07]Load OK [23:49:07]SetTLVBufToDocument [23:49:07]Processing tag 1014 (03F6) [23:49:07]Malloc new data [23:49:07]Processing tag 1015 (03F7) [23:49:07]Malloc new data [23:49:07]SetTLVBufToDocument err=0 [23:49:07]SetTLVBufToDocument err=0 [23:49:07]SetTLVBufToDocument err=0 [23:49:07]Processing tag 1130 (046A) [23:49:07]Load OK [23:49:07]SetTLVBufToDocument [23:49:07]Processing tag 1135 (046F) [23:49:07]Malloc new data [23:49:07]Processing tag 1201 (04B1) [23:49:07]Malloc new data [23:49:07]Processing tag 1136 (0470) [23:49:07]Malloc new data [23:49:07]Processing tag 1138 (0472) [23:49:07]Malloc new data [23:49:07]Processing tag 1024 (0400) [23:49:07]Load OK [23:49:07]SetTLVBufToDocument [23:49:07]Processing tag 1006 (03EE) [23:49:07]Load OK [23:49:07]SetTLVBufToDocument [23:49:07]Processing tag 1010 (03F2) [23:49:07]Malloc new data [23:49:07]Processing tag 1011 (03F3) [23:49:07]Malloc new data [23:49:07]SetTLVBufToDocument err=0 [23:49:07]Processing tag 1006 (03EE) [23:49:07]Load OK [23:49:07]SetTLVBufToDocument [23:49:07]Processing tag 1010 (03F2) [23:49:07]Malloc new data [23:49:07]Processing tag 1011 (03F3) [23:49:07]Malloc new data [23:49:07]SetTLVBufToDocument err=0 [23:49:07]Processing tag 1007 (03EF) [23:49:07]Load OK [23:49:07]SetTLVBufToDocument [23:49:07]Processing tag 1014 (03F6) [23:49:07]Malloc new data [23:49:07]Processing tag 1015 (03F7) [23:49:07]Malloc new data [23:49:07]SetTLVBufToDocument err=0 [23:49:07]Processing tag 1007 (03EF) [23:49:07]Load OK [23:49:07]SetTLVBufToDocument [23:49:07]Processing tag 1014 (03F6) [23:49:07]Malloc new data [23:49:07]Processing tag 1015 (03F7) [23:49:07]Malloc new data [23:49:07]SetTLVBufToDocument err=0 [23:49:07]Processing tag 1007 (03EF) [23:49:07]Load OK [23:49:07]SetTLVBufToDocument [23:49:07]Processing tag 1014 (03F6) [23:49:07]Malloc new data [23:49:07]Processing tag 1015 (03F7) [23:49:07]Malloc new data [23:49:07]SetTLVBufToDocument err=0 [23:49:07]Processing tag 1007 (03EF) [23:49:07]Load OK [23:49:07]SetTLVBufToDocument [23:49:07]Processing tag 1014 (03F6) [23:49:07]Malloc new data [23:49:07]Processing tag 1015 (03F7) [23:49:07]Malloc new data [23:49:07]SetTLVBufToDocument err=0 [23:49:07]Processing tag 1007 (03EF) [23:49:07]Load OK [23:49:07]SetTLVBufToDocument [23:49:07]Processing tag 1014 (03F6) [23:49:07]Malloc new data [23:49:07]Processing tag 1015 (03F7) [23:49:07]Malloc new data [23:49:07]SetTLVBufToDocument err=0 [23:49:07]Processing tag 1007 (03EF) [23:49:07]Load OK [23:49:07]SetTLVBufToDocument [23:49:07]Processing tag 1014 (03F6) [23:49:07]Malloc new data [23:49:07]Processing tag 1015 (03F7) [23:49:07]Malloc new data [23:49:07]SetTLVBufToDocument err=0 [23:49:07]Processing tag 1007 (03EF) [23:49:07]Load OK [23:49:07]SetTLVBufToDocument [23:49:07]Processing tag 1014 (03F6) [23:49:07]Malloc new data [23:49:07]Processing tag 1015 (03F7) [23:49:07]Malloc new data [23:49:07]SetTLVBufToDocument err=0 [23:49:07]SetTLVBufToDocument err=0 [23:49:07]SetTLVBufToDocument err=0 [23:49:07]Processing tag 1131 (046B) [23:49:07]Load OK [23:49:07]SetTLVBufToDocument [23:49:07]Processing tag 1135 (046F) [23:49:07]Malloc new data [23:49:07]Processing tag 1201 (04B1) [23:49:07]Malloc new data [23:49:07]Processing tag 1136 (0470) [23:49:07]Malloc new data [23:49:07]Processing tag 1138 (0472) [23:49:07]Malloc new data [23:49:07]Processing tag 1024 (0400) [23:49:07]Load OK [23:49:07]SetTLVBufToDocument [23:49:07]Processing tag 1006 (03EE) [23:49:07]Load OK [23:49:07]SetTLVBufToDocument [23:49:07]Processing tag 1010 (03F2) [23:49:07]Malloc new data [23:49:07]Processing tag 1011 (03F3) [23:49:07]Malloc new data [23:49:07]SetTLVBufToDocument err=0 [23:49:07]Processing tag 1006 (03EE) [23:49:07]Load OK [23:49:07]SetTLVBufToDocument [23:49:07]Processing tag 1010 (03F2) [23:49:07]Malloc new data [23:49:07]Processing tag 1011 (03F3) [23:49:07]Malloc new data [23:49:07]SetTLVBufToDocument err=0 [23:49:07]Processing tag 1007 (03EF) [23:49:07]Load OK [23:49:07]SetTLVBufToDocument [23:49:07]Processing tag 1014 (03F6) [23:49:07]Malloc new data [23:49:07]Processing tag 1015 (03F7) [23:49:07]Malloc new data [23:49:07]SetTLVBufToDocument err=0 [23:49:07]Processing tag 1007 (03EF) [23:49:07]Load OK [23:49:07]SetTLVBufToDocument [23:49:07]Processing tag 1014 (03F6) [23:49:07]Malloc new data [23:49:07]Processing tag 1015 (03F7) [23:49:07]Malloc new data [23:49:07]SetTLVBufToDocument err=0 [23:49:07]Processing tag 1007 (03EF) [23:49:07]Load OK [23:49:07]SetTLVBufToDocument [23:49:07]Processing tag 1014 (03F6) [23:49:07]Malloc new data [23:49:07]Processing tag 1015 (03F7) [23:49:07]Malloc new data [23:49:07]SetTLVBufToDocument err=0 [23:49:07]Processing tag 1007 (03EF) [23:49:07]Load OK [23:49:07]SetTLVBufToDocument [23:49:07]Processing tag 1014 (03F6) [23:49:07]Malloc new data [23:49:07]Processing tag 1015 (03F7) [23:49:07]Malloc new data [23:49:07]SetTLVBufToDocument err=0 [23:49:07]Processing tag 1007 (03EF) [23:49:07]Load OK [23:49:07]SetTLVBufToDocument [23:49:07]Processing tag 1014 (03F6) [23:49:07]Malloc new data [23:49:07]Processing tag 1015 (03F7) [23:49:07]Malloc new data [23:49:07]SetTLVBufToDocument err=0 [23:49:07]Processing tag 1007 (03EF) [23:49:07]Load OK [23:49:07]SetTLVBufToDocument [23:49:07]Processing tag 1014 (03F6) [23:49:07]Malloc new data [23:49:07]Processing tag 1015 (03F7) [23:49:07]Malloc new data [23:49:07]SetTLVBufToDocument err=0 [23:49:07]Processing tag 1007 (03EF) [23:49:07]Load OK [23:49:07]SetTLVBufToDocument [23:49:07]Processing tag 1014 (03F6) [23:49:07]Malloc new data [23:49:07]Processing tag 1015 (03F7) [23:49:07]Malloc new data [23:49:07]SetTLVBufToDocument err=0 [23:49:07]SetTLVBufToDocument err=0 [23:49:07]SetTLVBufToDocument err=0 [23:49:07]Processing tag 1132 (046C) [23:49:07]Load OK [23:49:07]SetTLVBufToDocument [23:49:07]Processing tag 1135 (046F) [23:49:07]Malloc new data [23:49:07]Processing tag 1201 (04B1) [23:49:07]Malloc new data [23:49:07]Processing tag 1136 (0470) [23:49:07]Malloc new data [23:49:07]Processing tag 1138 (0472) [23:49:07]Malloc new data [23:49:07]Processing tag 1024 (0400) [23:49:07]Load OK [23:49:07]SetTLVBufToDocument [23:49:07]Processing tag 1006 (03EE) [23:49:07]Load OK [23:49:07]SetTLVBufToDocument [23:49:07]Processing tag 1010 (03F2) [23:49:07]Malloc new data [23:49:07]Processing tag 1011 (03F3) [23:49:07]Malloc new data [23:49:07]SetTLVBufToDocument err=0 [23:49:07]Processing tag 1006 (03EE) [23:49:07]Load OK [23:49:07]SetTLVBufToDocument [23:49:07]Processing tag 1010 (03F2) [23:49:07]Malloc new data [23:49:07]Processing tag 1011 (03F3) [23:49:07]Malloc new data [23:49:07]SetTLVBufToDocument err=0 [23:49:07]Processing tag 1007 (03EF) [23:49:07]Load OK [23:49:07]SetTLVBufToDocument [23:49:07]Processing tag 1014 (03F6) [23:49:07]Malloc new data [23:49:07]Processing tag 1015 (03F7) [23:49:07]Malloc new data [23:49:07]SetTLVBufToDocument err=0 [23:49:07]Processing tag 1007 (03EF) [23:49:07]Load OK [23:49:07]SetTLVBufToDocument [23:49:07]Processing tag 1014 (03F6) [23:49:07]Malloc new data [23:49:07]Processing tag 1015 (03F7) [23:49:07]Malloc new data [23:49:07]SetTLVBufToDocument err=0 [23:49:07]Processing tag 1007 (03EF) [23:49:07]Load OK [23:49:07]SetTLVBufToDocument [23:49:07]Processing tag 1014 (03F6) [23:49:07]Malloc new data [23:49:07]Processing tag 1015 (03F7) [23:49:07]Malloc new data [23:49:07]SetTLVBufToDocument err=0 [23:49:07]Processing tag 1007 (03EF) [23:49:07]Load OK [23:49:07]SetTLVBufToDocument [23:49:07]Processing tag 1014 (03F6) [23:49:07]Malloc new data [23:49:07]Processing tag 1015 (03F7) [23:49:07]Malloc new data [23:49:07]SetTLVBufToDocument err=0 [23:49:07]Processing tag 1007 (03EF) [23:49:07]Load OK [23:49:07]SetTLVBufToDocument [23:49:07]Processing tag 1014 (03F6) [23:49:07]Malloc new data [23:49:07]Processing tag 1015 (03F7) [23:49:07]Malloc new data [23:49:07]SetTLVBufToDocument err=0 [23:49:07]Processing tag 1007 (03EF) [23:49:07]Load OK [23:49:07]SetTLVBufToDocument [23:49:07]Processing tag 1014 (03F6) [23:49:07]Malloc new data [23:49:07]Processing tag 1015 (03F7) [23:49:07]Malloc new data [23:49:07]SetTLVBufToDocument err=0 [23:49:07]Processing tag 1007 (03EF) [23:49:07]Load OK [23:49:07]SetTLVBufToDocument [23:49:07]Processing tag 1014 (03F6) [23:49:07]Malloc new data [23:49:07]Processing tag 1015 (03F7) [23:49:07]Malloc new data [23:49:07]SetTLVBufToDocument err=0 [23:49:07]SetTLVBufToDocument err=0 [23:49:07]SetTLVBufToDocument err=0 [23:49:07]Processing tag 1133 (046D) [23:49:07]Malloc new data [23:49:07]SetTLVBufToDocument err=0 [23:49:07]SetTLVBufToDocument err=0 [23:49:07]Malloc new data [23:49:07]SAM_PROTO_GetFMData [23:49:07]wFMCommunicate request_size=4 [23:49:07]MH_SAM_APDU [23:49:07]CAPDU: 80 13 03 00 [23:49:07]Write to MH i2c: E2 08 00 3C 65 80 13 03 00 00 00 00 00 20 [23:49:07]Write i2c OK [23:49:07]MH_I2C_Read... [23:49:07]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:49:07]Read from MH i2c: E2 [23:49:07]MH_I2C_Read... [23:49:07]Read from MH i2c: E2 FD 00 [23:49:07]MH_I2C_Read... [23:49:08]Read from MH i2c: E2 FD 00 3C 65 00 C1 04 85 04 BD 04 6E 04 04 00 B9 B6 00 00 69 04 A0 00 6F 04 04 00 92 B5 00 00 B1 04 04 00 DF 1A 13 30 70 04 04 00 F0 6E 23 28 72 04 04 00 EF AB EF 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 E1 EB 1A 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 1A D5 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 27 01 00 00 B1 04 03 00 A0 50 6E 70 04 03 00 C4 49 6A 72 04 03 00 DC 06 04 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 12 B7 0B EF 03 09 00 F6 03 90 00 51 [23:49:08]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 B9 B6 00 00 69 04 A0 00 6F 04 04 00 92 B5 00 00 B1 04 04 00 DF 1A 13 30 70 04 04 00 F0 6E 23 28 72 04 04 00 EF AB EF 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 E1 EB 1A 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 1A D5 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 27 01 00 00 B1 04 03 00 A0 50 6E 70 04 03 00 C4 49 6A 72 04 03 00 DC 06 04 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 12 B7 0B EF 03 09 00 F6 03 90 00 [23:49:08]wFMCommunicate OK [23:49:08]wFMCommunicate request_size=4 [23:49:08]MH_SAM_APDU [23:49:08]CAPDU: 80 17 00 00 [23:49:08]Write to MH i2c: E2 08 00 3D 65 80 17 00 00 00 00 00 00 22 [23:49:08]Write i2c OK [23:49:08]MH_I2C_Read... [23:49:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:49:08]Read from MH i2c: E2 [23:49:08]MH_I2C_Read... [23:49:08]Read from MH i2c: E2 FD 00 [23:49:08]MH_I2C_Read... [23:49:08]Read from MH i2c: E2 FD 00 3D 65 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 C7 F9 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 11 [23:49:08]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 C7 F9 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:49:08]wFMCommunicate OK [23:49:08]wFMCommunicate request_size=4 [23:49:08]MH_SAM_APDU [23:49:08]CAPDU: 80 17 00 00 [23:49:08]Write to MH i2c: E2 08 00 3E 65 80 17 00 00 00 00 00 00 23 [23:49:08]Write i2c OK [23:49:08]MH_I2C_Read... [23:49:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:49:08]Read from MH i2c: E2 [23:49:08]MH_I2C_Read... [23:49:08]Read from MH i2c: E2 FD 00 [23:49:08]MH_I2C_Read... [23:49:08]Read from MH i2c: E2 FD 00 3E 65 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 C3 [23:49:09]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:49:09]wFMCommunicate OK [23:49:09]wFMCommunicate request_size=4 [23:49:09]MH_SAM_APDU [23:49:09]CAPDU: 80 17 00 00 [23:49:09]Write to MH i2c: E2 08 00 3F 65 80 17 00 00 00 00 00 00 24 [23:49:09]Write i2c OK [23:49:09]MH_I2C_Read... [23:49:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:49:09]Read from MH i2c: E2 [23:49:09]MH_I2C_Read... [23:49:09]Read from MH i2c: E2 FD 00 [23:49:09]MH_I2C_Read... [23:49:09]Read from MH i2c: E2 FD 00 3F 65 00 03 01 00 04 F7 03 00 00 EF 03 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 90 00 A9 [23:49:09]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:49:09]wFMCommunicate OK [23:49:09]wFMCommunicate request_size=4 [23:49:09]MH_SAM_APDU [23:49:09]CAPDU: 80 17 00 00 [23:49:09]Write to MH i2c: E2 08 00 40 65 80 17 00 00 00 00 00 00 25 [23:49:09]Write i2c OK [23:49:09]MH_I2C_Read... [23:49:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [23:49:09]Read from MH i2c: E2 [23:49:09]MH_I2C_Read... [23:49:09]Read from MH i2c: E2 DE 00 [23:49:09]MH_I2C_Read... [23:49:09]Read from MH i2c: E2 DE 00 40 65 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 04 [23:49:10]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:49:10]wFMCommunicate OK [23:49:10]SAM_PROTO_GetFMData done [23:49:10]FM_GetFMData:85 04 BD 04 6E 04 04 00 B9 B6 00 00 69 04 A0 00 6F 04 04 00 92 B5 00 00 B1 04 04 00 DF 1A 13 30 70 04 04 00 F0 6E 23 28 72 04 04 00 EF AB EF 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 E1 EB 1A 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 1A D5 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 27 01 00 00 B1 04 03 00 A0 50 6E 70 04 03 00 C4 49 6A 72 04 03 00 DC 06 04 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 12 B7 0B 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 C7 F9 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [23:49:10]oper:6F 04 04 00 92 B5 00 00 B1 04 04 00 DF 1A 13 30 70 04 04 00 F0 6E 23 28 72 04 04 00 EF AB EF 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 E1 EB 1A 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 1A D5 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [23:49:10]total:DF 1A 13 30 [23:49:10]Malloc new data [23:49:10]oper:6F 04 04 00 27 01 00 00 B1 04 03 00 A0 50 6E 70 04 03 00 C4 49 6A 72 04 03 00 DC 06 04 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 12 B7 0B 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 C7 F9 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [23:49:11]total:A0 50 6E [23:49:11]Malloc new data [23:49:11]oper:6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [23:49:11]total: [23:49:11]Malloc new data [23:49:11]oper:6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [23:49:11]total: [23:49:11]Malloc new data [23:49:11]KKMPrepareXReportFMData err=0 [23:49:11]Х отчет ИНН: 02508201610067 Кассир: Максатбек у Д. 12.03.2024 23:49 Смена: 266 РНМ: 0000000000092018 ЗНМ: 0300000097 СНО: Общий режим Всего чеков: 84 ИТОГИ ПРИХОД Чеков: 82 Общий итог: 13451.00 Итого наличными: 11482.00 Итого безнал.: 1969.00 НДС 0% : 0.00 НДС 12% : 1428.44 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 118.88 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 2 Общий итог: 290.00 Итого наличными: 290.00 Итого безнал.: 0.00 НДС 0% : 0.00 НДС 12% : 30.79 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 2.56 ИТОГИ РАСХОД Чеков: 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 Нал. в кассе: 11192.00 НС Приход: 8065584.31 НС Возвр.Прихода: 72296.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФМ: 0000000000871816 [23:49:11]StoreToDocumentArchive [23:49:11]MH_GetDate [23:49:11]Write to MH i2c: F0 00 00 41 65 95 [23:49:11]Write i2c OK [23:49:11]MH_I2C_Read... [23:49:11]Read from MH i2c: F0 [23:49:11]MH_I2C_Read... [23:49:11]Read from MH i2c: F0 09 00 [23:49:11]MH_I2C_Read... [23:49:11]Read from MH i2c: F0 09 00 41 65 00 09 EA F0 65 0A 64 6E 65 27 [23:49:11]shift 266 fd 1710287369 [23:49:11]Create dir for shift 0266 [23:49:11]save to /storage/0266/doc_1710287369 [23:49:11]save last doc name /storage/0266/doc_1710287369 to /storage/kkm_last_doc_name [23:49:11]save OK [23:49:11]Clear old archive folders... [23:49:11]NVStorageSaveData kkm_last_timestamp [23:49:11]File name is /storage/kkm_last_timestamp [23:49:11]Write 4 bytes [23:49:11]NVStorageSaveData done [23:49:11]ExternCall_PrintAddStr [23:49:11]wPrintStart [23:49:11]Write to MH i2c: 01 00 00 42 65 A7 [23:49:11]Write i2c OK [23:49:11]MH_I2C_Read... [23:49:11]Read from MH i2c: 01 [23:49:11]MH_I2C_Read... [23:49:11]Read from MH i2c: 01 07 00 [23:49:11]MH_I2C_Read... [23:49:11]Read from MH i2c: 01 07 00 42 65 00 00 00 00 00 FF 0F BC [23:49:11]RasterBufferAndPrint [23:49:11]line Х отчет [23:49:11]line ИНН: 02508201610067 [23:49:11]line Кассир: Максатбек у Д. [23:49:11]line 12.03.2024 23:49 [23:49:11]line Смена: 266 [23:49:11]line РНМ: 0000000000092018 [23:49:11]line ЗНМ: 0300000097 [23:49:11]line СНО: Общий режим [23:49:11]line Всего чеков: 84 [23:49:11]line ИТОГИ ПРИХОД [23:49:11]line Чеков: 82 [23:49:11]line Общий итог: 13451.00 [23:49:11]line Итого наличными: 11482.00 [23:49:11]line Итого безнал.: 1969.00 [23:49:11]line НДС 0% : 0.00 [23:49:11]line НДС 12% : 1428.44 [23:49:11]line НСП 0% : 0.00 [23:49:11]line НСП 1,50% : 0.00 [23:49:11]line НСП 0,50% : 0.00 [23:49:11]line НСП 5% : 0.00 [23:49:11]line НСП 3% : 0.00 [23:49:11]line НСП 2% : 0.00 [23:49:11]line НСП 1% : 118.88 [23:49:11]line ИТОГИ ВОЗВРАТ ПРИХОДА [23:49:11]line Чеков: 2 [23:49:11]line Общий итог: 290.00 [23:49:11]line Итого наличными: 290.00 [23:49:11]line Итого безнал.: 0.00 [23:49:11]line НДС 0% : 0.00 [23:49:11]line НДС 12% : 30.79 [23:49:11]line НСП 0% : 0.00 [23:49:11]line НСП 1,50% : 0.00 [23:49:11]line НСП 0,50% : 0.00 [23:49:11]line НСП 5% : 0.00 [23:49:11]line НСП 3% : 0.00 [23:49:11]line НСП 2% : 0.00 [23:49:11]line НСП 1% : 2.56 [23:49:11]line ИТОГИ РАСХОД [23:49:11]line Чеков: 0 [23:49:11]line Общий итог: 0.00 [23:49:11]line Итого наличными: 0.00 [23:49:11]line Итого безнал.: 0.00 [23:49:11]line НДС 0% : 0.00 [23:49:11]line НДС 12% : 0.00 [23:49:11]line НСП 0% : 0.00 [23:49:11]line НСП 1,50% : 0.00 [23:49:11]line НСП 0,50% : 0.00 [23:49:11]line НСП 5% : 0.00 [23:49:11]line НСП 3% : 0.00 [23:49:11]line НСП 2% : 0.00 [23:49:11]line НСП 1% : 0.00 [23:49:11]line ИТОГИ ВОЗВРАТ РАСХОДА [23:49:11]line Чеков: 0 [23:49:11]line Общий итог: 0.00 [23:49:11]line Итого наличными: 0.00 [23:49:11]line Итого безнал.: 0.00 [23:49:11]line НДС 0% : 0.00 [23:49:11]line НДС 12% : 0.00 [23:49:11]line НСП 0% : 0.00 [23:49:11]line НСП 1,50% : 0.00 [23:49:11]line НСП 0,50% : 0.00 [23:49:11]line НСП 5% : 0.00 [23:49:11]line НСП 3% : 0.00 [23:49:11]line НСП 2% : 0.00 [23:49:11]line НСП 1% : 0.00 [23:49:11]line Сумма внесений: 0.00 [23:49:11]line Сумма выплат: 0.00 [23:49:11]line Нал. в кассе: 11192.00 [23:49:11]line НС Приход: 8065584.31 [23:49:11]line НС Возвр.Прихода: 72296.00 [23:49:11]line НС Расход: 0.00 [23:49:11]line НС Возвр.Расхода: 0.00 [23:49:11]line ФМ: 0000000000871816 [23:49:11]written 0, free lines is 4095 [23:49:11]OFD Sender: No OFD packet to send [23:49:12]Write to MH i2c: 01 00 00 8D 65 F2 [23:49:12]Write i2c OK [23:49:12]MH_I2C_Read... [23:49:12]Read from MH i2c: 01 [23:49:12]MH_I2C_Read... [23:49:12]Read from MH i2c: 01 07 00 [23:49:12]MH_I2C_Read... [23:49:12]Read from MH i2c: 01 07 00 8D 65 00 00 00 00 00 A0 0A A3 [23:49:12]RasterBufferAndPrint [23:49:12]line [23:49:12]line [23:49:12]line [23:49:12]line [23:49:12]line [23:49:12]written 0, free lines is 2752 [23:49:12]MH_Cut [23:49:12]Write to MH i2c: D1 01 00 94 65 01 CB [23:49:12]Write i2c OK [23:49:12]MH_I2C_Read... [23:49:12]Read from MH i2c: D1 [23:49:12]MH_I2C_Read... [23:49:12]Read from MH i2c: D1 01 00 [23:49:12]MH_I2C_Read... [23:49:12]Read from MH i2c: D1 01 00 94 65 00 CA [23:49:12]Write to MH i2c: 01 00 00 95 65 FA [23:49:12]Write i2c OK [23:49:12]MH_I2C_Read... [23:49:13]*** Cut start [23:49:13]*** Purtial cut [23:49:13]*** Stage 1: CUTSNS_PIN = 1 [23:49:13]Read from MH i2c: 01 [23:49:13]MH_I2C_Read... [23:49:13]*** Stop cut motor [23:49:13]*** Cut end [23:49:13]Read from MH i2c: 01 07 00 [23:49:13]MH_I2C_Read... [23:49:13]Read from MH i2c: 01 07 00 95 65 00 00 00 00 00 FF 0F 0F [23:49:13]process_action x_report done [23:49:13]requested_data is exist [23:49:13]produce_requested_data [23:49:13]requested_item fd.num is exist - process it [23:49:13]SAM_PROTO_GetFieldsCounters [23:49:13]wFMCommunicate request_size=4 [23:49:13]MH_SAM_APDU [23:49:13]CAPDU: 80 13 00 00 [23:49:13]Write to MH i2c: E2 08 00 96 65 80 13 00 00 00 00 00 00 77 [23:49:13]Write i2c OK [23:49:13]MH_I2C_Read... [23:49:13]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:49:13]Read from MH i2c: E2 [23:49:13]MH_I2C_Read... [23:49:13]Read from MH i2c: E2 62 00 [23:49:13]MH_I2C_Read... [23:49:13]Read from MH i2c: E2 62 00 96 65 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 2E B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 54 00 00 00 5E 04 04 00 54 00 00 00 57 04 04 00 55 00 00 00 19 04 04 00 00 00 00 00 90 00 B0 [23:49: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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 2E B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 54 00 00 00 5E 04 04 00 54 00 00 00 57 04 04 00 55 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:49:13]wFMCommunicate OK [23:49:13]SAM_PROTO_GetFieldsCounters done [23:49:13]requested_item shift.num is exist - process it [23:49:13]requested_item shift.opened is exist - process it [23:49:13]req_shift_opened [23:49:13]FM_GetShiftState [23:49:13]SAM_PROTO_GetShiftState [23:49:13]wFMCommunicate request_size=4 [23:49:13]MH_SAM_APDU [23:49:13]CAPDU: 80 13 01 00 [23:49:13]Write to MH i2c: E2 08 00 97 65 80 13 01 00 00 00 00 00 79 [23:49:13]Write i2c OK [23:49:13]MH_I2C_Read... [23:49:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:49:13]Read from MH i2c: E2 [23:49:13]MH_I2C_Read... [23:49:13]Read from MH i2c: E2 0E 00 [23:49:13]MH_I2C_Read... [23:49:13]Read from MH i2c: E2 0E 00 97 65 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 A8 [23:49:13]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [23:49:13]wFMCommunicate OK [23:49:13]SAM_PROTO_GetShiftState done [23:49:13]FM_GetShiftState done [23:49:13]req_shift_opened done [23:49:13]requested_item shift.open_date is exist - process it [23:49:13]req_shift_open_date [23:49:13]req_shift_open_date done [23:49:13]produce_requested_data done [23:49:13]produce_requested_data return {"fd.num":47406,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [23:49:13]process_action_free x_report [23:49:13]json_value_free [23:49:13]json_value_free done [23:49:13]process_json_proto returns [23:49:13]Send response to host [23:49:13]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":47406,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [23:49:13]free response buf [23:49:13]execute_script done [23:49:13]execute_script returns [23:49:13]free content buf [23:49:13]Sock 9.Close socket [23:49:13]Sock 9.Thread stoped [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:45]accept exits with 7 [23:50:45]New connection [23:50:45]New thread 3066596708 created [23:50:45]Thread 3066453348 joined [23:50:45]Waiting for new connection... [23:50:45] Sock 7.Parse request [23:50:45]Sock 7.Check first char [23:50:45]Sock 7.First char is OK [23:50:45]request: POST /json_proto HTTP/1.0 [23:50:45]Method: POST [23:50:45]URL: /json_proto [23:50:45]Method is POST - this is cgi request [23:50:45]url: /json_proto [23:50:45]query_string will be loaded in cgi processing [23:50:45]execute_cgi json_proto POST (null) [23:50:45]execute_cgi path=json_proto method=POST [23:50:45]POST find Content-Length [23:50:45]Host: 172.17.32.68:8080 [23:50:45]Content-Length: 905 [23:50:45]Content-Type: application/json [23:50:45] [23:50:45]POST finish read [23:50:45]Found Content-Length = 905 [23:50:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale_refund", "base_FD": 47406, "base_FM": "0000000000871816", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242318", "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" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0414\u0435\u043C\u0438\u0440 \u041A\u0418 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 85.00 } ], "post_footer_text": "47406" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:50:45]execute_script... [23:50:45]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale_refund", "base_FD": 47406, "base_FM": "0000000000871816", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242318", "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" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0414\u0435\u043C\u0438\u0440 \u041A\u0418 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 85.00 } ], "post_footer_text": "47406" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:50:45]POST & json_proto [23:50:45]process_json_proto [23:50:45]json parsed OK: [23:50:45]protocol is kg_v1.0 [23:50:45]action value=close_receipt [23:50:45]process_action close_receipt [23:50:45]cmd_close_receipt [23:50:45]MH_GetDate [23:50:45]Write to MH i2c: F0 00 00 98 65 EC [23:50:45]Write i2c OK [23:50:45]MH_I2C_Read... [23:50:45]Read from MH i2c: F0 [23:50:45]MH_I2C_Read... [23:50:45]Read from MH i2c: F0 09 00 [23:50:45]MH_I2C_Read... [23:50:45]Read from MH i2c: F0 09 00 98 65 00 67 EA F0 65 0A 64 6E 65 DC [23:50:45]GetLastDocTimeStamp 1710287361 [23:50:45]current date 1710287463 [23:50:45]FM_GetShiftState [23:50:45]SAM_PROTO_GetShiftState [23:50:45]wFMCommunicate request_size=4 [23:50:45]MH_SAM_APDU [23:50:45]CAPDU: 80 13 01 00 [23:50:45]Write to MH i2c: E2 08 00 99 65 80 13 01 00 00 00 00 00 7B [23:50:45]Write i2c OK [23:50:45]MH_I2C_Read... [23:50:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:50:45]Read from MH i2c: E2 [23:50:45]MH_I2C_Read... [23:50:45]Read from MH i2c: E2 0E 00 [23:50:45]MH_I2C_Read... [23:50:45]Read from MH i2c: E2 0E 00 99 65 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 AA [23:50:45]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [23:50:45]wFMCommunicate OK [23:50:45]SAM_PROTO_GetShiftState done [23:50:45]FM_GetShiftState done [23:50:45]opened in 1710202417 [23:50:45]opened+sec_in_day 1710288817 [23:50:45]quantity*price = 8500 [23:50:45]sum+1 = 8501 [23:50:45]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 85.00 НСП 1% : 0.75 НДС 12% : 9.03 Наличными: 0.00 Безнал.: 85.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 85 12.03.2024 23:51 Смена: 314 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФД осн.: 47406 ФМ осн.: 0000000000871816 Платежная система: Демир КИ Банк ФМ: 0000000000871816 ФД: 47407 ФПД: 88087286593573 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T235103&type=2&operation_type=1&fn_number=0000000000871816&fd_number=47407&fm=88087286593573&tin=02508201610067®Number=0000000000092018&sum=8500 47406 [23:50:46]StoreToDocumentArchive [23:50:46]shift 314 fd 47407 [23:50:46]save to /storage/0314/doc_00047407 [23:50:46]save last doc name /storage/0314/doc_00047407 to /storage/kkm_last_doc_name [23:50:46]save OK [23:50:46]Clear old archive folders... [23:50:46]Remove dir /storage/0266 [23:50:46]opendir ok [23:50:46]file . [23:50:46]file .. [23:50:46]file doc_1710287369 [23:50:46]remove file /storage/0266/doc_1710287369 [23:50:46]remove dir /storage/0266 [23:50:46]ProcessDocumentItem done err = 0, tmpTLVsize=322 [23:50:46]tlvbuf is 0042A440 [23:50:46]SAM_PROTO_ClearQueue [23:50:46]wFMCommunicate request_size=4 [23:50:46]MH_SAM_APDU [23:50:46]CAPDU: 80 09 00 00 [23:50:46]Write to MH i2c: E2 08 00 A8 65 80 09 00 00 00 00 00 00 7F [23:50:46]Write i2c OK [23:50:46]MH_I2C_Read... [23:50:46]OFD Sender: No OFD packet to send [23:50:46]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:50:46]Read from MH i2c: E2 [23:50:46]MH_I2C_Read... [23:50:46]Read from MH i2c: E2 03 00 [23:50:46]MH_I2C_Read... [23:50:46]Read from MH i2c: E2 03 00 A8 65 00 90 00 81 [23:50:46]RAPDU: 90 00 [23:50:46]wFMCommunicate OK [23:50:46]SAM_PROTO_ClearQueue done [23:50:46]KKMCreateOFDPacket [23:50:46]OFDProtocolAddRootSTLVToBuf [23:50:46]FM_MakeSignedData [23:50:46]FM_MakeSignedData [23:50:46]SAM_PROTO_SignData [23:50:46]wFMCommunicate request_size=4 [23:50:46]MH_SAM_APDU [23:50:46]CAPDU: 80 0D 01 02 [23:50:46]Write to MH i2c: E2 08 00 A9 65 80 0D 01 02 00 00 00 00 87 [23:50:46]Write i2c OK [23:50:46]MH_I2C_Read... [23:50:46]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:50:46]Read from MH i2c: E2 [23:50:46]MH_I2C_Read... [23:50:46]Read from MH i2c: E2 03 00 [23:50:46]MH_I2C_Read... [23:50:46]Read from MH i2c: E2 03 00 A9 65 00 90 00 82 [23:50:46]RAPDU: 90 00 [23:50:46]wFMCommunicate OK [23:50:46]wFMCommunicate request_size=255 [23:50:46]MH_SAM_APDU [23:50:46]CAPDU: 80 0D 02 02 FA 03 00 42 01 1E 04 01 00 02 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 34 21 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 55 00 00 00 F4 03 04 00 67 EA F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 [23:50:46]Write to MH i2c: E2 02 01 AA 65 80 0D 02 02 FA 00 03 00 42 01 1E 04 01 00 02 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 34 21 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 55 00 00 00 F4 03 04 00 67 EA F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 00 00 BE [23:50:46]Write i2c OK [23:50:46]MH_I2C_Read... [23:50:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:50:47]Read from MH i2c: E2 [23:50:47]MH_I2C_Read... [23:50:47]Read from MH i2c: E2 03 00 [23:50:47]MH_I2C_Read... [23:50:47]Read from MH i2c: E2 03 00 AA 65 00 90 00 83 [23:50:47]RAPDU: 90 00 [23:50:47]wFMCommunicate OK [23:50:47]wFMCommunicate request_size=81 [23:50:47]MH_SAM_APDU [23:50:47]CAPDU: 80 0D 02 02 4C 30 30 30 30 30 39 32 30 31 38 27 04 04 00 2E B9 00 00 28 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 2F B9 00 00 35 04 06 00 50 1D 6B 6D 38 25 [23:50:47]Write to MH i2c: E2 54 00 AB 65 80 0D 02 02 4C 00 30 30 30 30 30 39 32 30 31 38 27 04 04 00 2E B9 00 00 28 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 2F B9 00 00 35 04 06 00 50 1D 6B 6D 38 25 00 00 AC [23:50:47]Write i2c OK [23:50:47]MH_I2C_Read... [23:50:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:50:47]Read from MH i2c: E2 [23:50:47]MH_I2C_Read... [23:50:47]Read from MH i2c: E2 03 00 [23:50:47]MH_I2C_Read... [23:50:47]Read from MH i2c: E2 03 00 AB 65 00 90 00 84 [23:50:47]RAPDU: 90 00 [23:50:47]wFMCommunicate OK [23:50:47]wFMCommunicate request_size=4 [23:50:47]MH_SAM_APDU [23:50:47]CAPDU: 80 0D 03 02 [23:50:47]Write to MH i2c: E2 08 00 AC 65 80 0D 03 02 00 00 00 00 8C [23:50:47]Write i2c OK [23:50:47]MH_I2C_Read... [23:50:47]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:50:47]Read from MH i2c: E2 [23:50:47]MH_I2C_Read... [23:50:47]Read from MH i2c: E2 0B 00 [23:50:47]MH_I2C_Read... [23:50:47]Read from MH i2c: E2 0B 00 AC 65 00 06 D7 2B 9A 15 56 70 87 90 00 91 [23:50:47]RAPDU: 06 D7 2B 9A 15 56 70 87 90 00 [23:50:47]wFMCommunicate OK [23:50:47]SAM_PROTO_SignData done [23:50:47]FM_MakeSignedData done [23:50:47]CreateOFDProtocolMessage [23:50:47]wFMCommunicate request_size=4 [23:50:47]MH_SAM_APDU [23:50:47]CAPDU: 80 11 00 00 [23:50:47]Write to MH i2c: E2 08 00 AD 65 80 11 00 00 00 00 00 00 8C [23:50:47]Write i2c OK [23:50:47]MH_I2C_Read... [23:50:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:50:47]Read from MH i2c: E2 [23:50:47]MH_I2C_Read... [23:50:47]Read from MH i2c: E2 17 00 [23:50:47]MH_I2C_Read... [23:50:47]Read from MH i2c: E2 17 00 AD 65 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 DE [23:50:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [23:50:47]wFMCommunicate OK [23:50:47]CreateOFDProtocolMessage done [23:50:47]OFDSenderStorePacket 47407 [23:50:47]StoreOFDPacket docnum=47407 [23:50:47]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 56 01 00 00 89 56 4E 01 AC 42 5A 03 01 00 03 00 42 01 1E 04 01 00 02 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 34 21 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 55 00 00 00 F4 03 04 00 67 EA F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 27 04 04 00 2E B9 00 00 28 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 2F B9 00 00 35 04 06 00 50 1D 6B 6D 38 25 06 D7 2B 9A 15 56 70 87 [23:50:47]CheckFolder [23:50:47]dirname=/storage/ofd_packets [23:50:47]CheckFolder done [23:50:47]ProducePacketName [23:50:47]name=ofd_packets/00047407 [23:50:47]NVStorageSaveData ofd_packets/00047407 [23:50:47]File name is /storage/ofd_packets/00047407 [23:50:47]Write 372 bytes [23:50:47]NVStorageSaveData done [23:50:47]OFDSenderStorePacket done [23:50:47]KKMCreateOFDPacket done [23:50:47]NVStorageSaveData kkm_last_timestamp [23:50:47]File name is /storage/kkm_last_timestamp [23:50:47]Write 4 bytes [23:50:47]NVStorageSaveData done [23:50:47]ExternCall_PrintAddStr [23:50:47]wPrintStart [23:50:47]Write to MH i2c: 01 00 00 AE 65 13 [23:50:47]Write i2c OK [23:50:47]MH_I2C_Read... [23:50:47]Read from MH i2c: 01 [23:50:47]MH_I2C_Read... [23:50:47]Read from MH i2c: 01 07 00 [23:50:47]MH_I2C_Read... [23:50:47]Read from MH i2c: 01 07 00 AE 65 00 00 00 00 00 FF 0F 28 [23:50:47]RasterBufferAndPrint [23:50:47]line Счет N : (3)242318 [23:50:47]line ИНН: 02508201610067 [23:50:47]line Контрольно-Кассовый Чек [23:50:47]line ВОЗВРАТ ПРОДАЖИ [23:50:47]line Товар: 4600682557456 [23:50:47]line Напиток FLash up energy эн ж/б 0,5/0,45л [23:50:47]line 1.000 * 85.00 [23:50:47]line = 85.00 [23:50:47]line НДС 12% НСП 1% [23:50:47]line > о реализуемом товаре [23:50:47]line ИТОГО: 85.00 [23:50:47]line НСП 1% : 0.75 [23:50:47]line НДС 12% : 9.03 [23:50:47]line Наличными: 0.00 [23:50:47]line Безнал.: 85.00 [23:50:47]line Место: АЗС № 15 "Партнер Нефть" [23:50:47]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [23:50:47]line СНО: Общий режим [23:50:47]line Чек 85 12.03.2024 23:51 [23:50:47]line Смена: 314 ФФД: 1.0 [23:50:47]line ЗНМ: 0300000097 [23:50:47]line РНМ: 0000000000092018 [23:50:47]line Версия ККМ: 001 [23:50:47]line ФД осн.: 47406 [23:50:47]line ФМ осн.: 0000000000871816 [23:50:47]line Платежная система: Демир КИ Банк [23:50:47]line ФМ: 0000000000871816 [23:50:47]line ФД: 47407 [23:50:47]line ФПД: 88087286593573 [23:50:47]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T235103&type=2&operation_type=1&fn_number=0000000000871816&fd_number=47407&fm=88087286593573&tin=02508201610067®Number=0000000000092018&sum=8500 [23:50:47]line 47406 [23:50:47]OFD Sender: Processing packet 47407 [packets to send 8, broken 7] [23:50:47]ProducePacketName [23:50:47]name=ofd_packets/00047407 [23:50:47]OFD Sender: To server: pG, [23:50:47]CommunicateWithHost lk.salyk.kg:30040 [23:50:47]ConnectInit lk.salyk.kg [23:50:47]written 0, free lines is 4095 [23:50:47]Connected sock=11 [23:50: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 31 36 56 01 00 00 89 56 4E 01 AC 42 5A 03 01 00 03 00 42 01 1E 04 01 00 02 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 34 21 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 55 00 00 00 F4 03 04 00 67 EA F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 27 04 04 00 2E B9 00 00 28 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 2F B9 00 00 35 04 06 00 50 1D 6B 6D 38 25 06 D7 2B 9A 15 56 70 87 [23:50: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 31 36 4F 00 00 00 45 CC 47 00 88 F1 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 31 36 10 04 04 00 2F B9 00 00 F4 03 04 00 F8 94 F0 65 B6 04 01 00 00 0B EC 98 5C 5E 9D 36 5E [23:50:47]CommunicateWithHost err = 0 [23:50:47]CheckOFDResponse [23:50:47]1017 (14) - 77093643461234 [23:50:47]1041 (16) - 0000000000871816 [23:50:47]1040 (4) - 47407 [23:50:47]1012 (4) - 12.03.2024 17:46 [23:50:47]1206 (1) - 0 [23:50:47]OFD Sender: Remove packet 47407 [23:50:47]ProducePacketName [23:50:47]name=ofd_packets/00047407 [23:50:47]NVStorageDeleteData [23:50:48]Write to MH i2c: 01 00 00 DB 65 40 [23:50:48]Write i2c OK [23:50:48]MH_I2C_Read... [23:50:48]Read from MH i2c: 01 [23:50:48]MH_I2C_Read... [23:50:48]Read from MH i2c: 01 07 00 [23:50:48]MH_I2C_Read... [23:50:48]Read from MH i2c: 01 07 00 DB 65 00 00 00 00 00 C2 0C 15 [23:50:48]RasterBufferAndPrint [23:50:48]line [23:50:48]line [23:50:48]line [23:50:48]line [23:50:48]line [23:50:48]written 0, free lines is 3271 [23:50:48]MH_Cut [23:50:48]Write to MH i2c: D1 01 00 E2 65 01 19 [23:50:48]Write i2c OK [23:50:48]MH_I2C_Read... [23:50:48]Read from MH i2c: D1 [23:50:48]MH_I2C_Read... [23:50:48]Read from MH i2c: D1 01 00 [23:50:48]MH_I2C_Read... [23:50:48]Read from MH i2c: D1 01 00 E2 65 00 18 [23:50:48]Write to MH i2c: 01 00 00 E3 65 48 [23:50:48]Write i2c OK [23:50:48]MH_I2C_Read... [23:50:48]OFD Sender: No OFD packet to send [23:50:49]*** Cut start [23:50:49]*** Purtial cut [23:50:49]*** Stage 1: CUTSNS_PIN = 1 [23:50:49]Read from MH i2c: 01 [23:50:49]MH_I2C_Read... [23:50:49]*** Stop cut motor [23:50:49]*** Cut end [23:50:49]Read from MH i2c: 01 07 00 [23:50:49]MH_I2C_Read... [23:50:49]Read from MH i2c: 01 07 00 E3 65 00 00 00 00 00 FF 0F 5D [23:50:49]process_action close_receipt done [23:50:49]requested_data is exist [23:50:49]produce_requested_data [23:50:49]requested_item fm.sn is exist - process it [23:50:49]wFMCommunicate request_size=4 [23:50:49]MH_SAM_APDU [23:50:49]CAPDU: 80 11 00 00 [23:50:49]Write to MH i2c: E2 08 00 E4 65 80 11 00 00 00 00 00 00 C3 [23:50:49]Write i2c OK [23:50:49]MH_I2C_Read... [23:50:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:50:49]Read from MH i2c: E2 [23:50:49]MH_I2C_Read... [23:50:49]Read from MH i2c: E2 17 00 [23:50:49]MH_I2C_Read... [23:50:49]Read from MH i2c: E2 17 00 E4 65 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 15 [23:50:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [23:50:49]wFMCommunicate OK [23:50:49]requested_item fd.num is exist - process it [23:50:49]SAM_PROTO_GetFieldsCounters [23:50:49]wFMCommunicate request_size=4 [23:50:49]MH_SAM_APDU [23:50:49]CAPDU: 80 13 00 00 [23:50:49]Write to MH i2c: E2 08 00 E5 65 80 13 00 00 00 00 00 00 C6 [23:50:49]Write i2c OK [23:50:49]MH_I2C_Read... [23:50:49]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:50:49]Read from MH i2c: E2 [23:50:49]MH_I2C_Read... [23:50:49]Read from MH i2c: E2 62 00 [23:50:49]MH_I2C_Read... [23:50:49]Read from MH i2c: E2 62 00 E5 65 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 2F B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 55 00 00 00 5E 04 04 00 55 00 00 00 57 04 04 00 56 00 00 00 19 04 04 00 00 00 00 00 90 00 03 [23:50: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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 2F B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 55 00 00 00 5E 04 04 00 55 00 00 00 57 04 04 00 56 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:50:49]wFMCommunicate OK [23:50:49]SAM_PROTO_GetFieldsCounters done [23:50:49]requested_item shift.num is exist - process it [23:50:49]requested_item shift.opened is exist - process it [23:50:49]req_shift_opened [23:50:49]FM_GetShiftState [23:50:49]SAM_PROTO_GetShiftState [23:50:49]wFMCommunicate request_size=4 [23:50:49]MH_SAM_APDU [23:50:49]CAPDU: 80 13 01 00 [23:50:49]Write to MH i2c: E2 08 00 E6 65 80 13 01 00 00 00 00 00 C8 [23:50:49]Write i2c OK [23:50:49]MH_I2C_Read... [23:50:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:50:49]Read from MH i2c: E2 [23:50:49]MH_I2C_Read... [23:50:49]Read from MH i2c: E2 0E 00 [23:50:49]MH_I2C_Read... [23:50:49]Read from MH i2c: E2 0E 00 E6 65 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 F7 [23:50:49]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [23:50:49]wFMCommunicate OK [23:50:49]SAM_PROTO_GetShiftState done [23:50:49]FM_GetShiftState done [23:50:49]req_shift_opened done [23:50:49]requested_item shift.open_date is exist - process it [23:50:49]req_shift_open_date [23:50:49]req_shift_open_date done [23:50:49]produce_requested_data done [23:50:49]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47407,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [23:50:49]process_action_free close_receipt [23:50:49]json_value_free [23:50:49]json_value_free done [23:50:49]process_json_proto returns [23:50:49]Send response to host [23:50:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47407,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [23:50:49]free response buf [23:50:49]execute_script done [23:50:49]execute_script returns [23:50:49]free content buf [23:50:49]Sock 7.Close socket [23:50:49]Sock 7.Thread stoped [23:50:52]accept exits with 9 [23:50:52]New connection [23:50:52]New thread 3066453348 created [23:50:52]Thread 3066596708 joined [23:50:52]Waiting for new connection... [23:50:52] Sock 9.Parse request [23:50:52]Sock 9.Check first char [23:50:52]Sock 9.First char is OK [23:50:52]request: POST /json_proto HTTP/1.0 [23:50:52]Method: POST [23:50:52]URL: /json_proto [23:50:52]Method is POST - this is cgi request [23:50:52]url: /json_proto [23:50:52]query_string will be loaded in cgi processing [23:50:52]execute_cgi json_proto POST (null) [23:50:52]execute_cgi path=json_proto method=POST [23:50:52]POST find Content-Length [23:50:52]Host: 172.17.32.68:8080 [23:50:52]Content-Length: 655 [23:50:52]Content-Type: application/json [23:50:52] [23:50:52]POST finish read [23:50:52]Found Content-Length = 655 [23:50:52]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242319", "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" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 85.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:50:52]execute_script... [23:50:52]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242319", "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" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 85.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:50:52]POST & json_proto [23:50:52]process_json_proto [23:50:52]json parsed OK: [23:50:52]protocol is kg_v1.0 [23:50:52]action value=close_receipt [23:50:52]process_action close_receipt [23:50:52]cmd_close_receipt [23:50:52]MH_GetDate [23:50:52]Write to MH i2c: F0 00 00 E7 65 3B [23:50:52]Write i2c OK [23:50:52]MH_I2C_Read... [23:50:52]Read from MH i2c: F0 [23:50:52]MH_I2C_Read... [23:50:52]Read from MH i2c: F0 09 00 [23:50:52]MH_I2C_Read... [23:50:52]Read from MH i2c: F0 09 00 E7 65 00 6E EA F0 65 0A 64 6E 65 32 [23:50:52]GetLastDocTimeStamp 1710287463 [23:50:52]current date 1710287470 [23:50:52]FM_GetShiftState [23:50:52]SAM_PROTO_GetShiftState [23:50:52]wFMCommunicate request_size=4 [23:50:52]MH_SAM_APDU [23:50:52]CAPDU: 80 13 01 00 [23:50:52]Write to MH i2c: E2 08 00 E8 65 80 13 01 00 00 00 00 00 CA [23:50:52]Write i2c OK [23:50:52]MH_I2C_Read... [23:50:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:50:52]Read from MH i2c: E2 [23:50:52]MH_I2C_Read... [23:50:52]Read from MH i2c: E2 0E 00 [23:50:52]MH_I2C_Read... [23:50:52]Read from MH i2c: E2 0E 00 E8 65 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 F9 [23:50:52]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [23:50:52]wFMCommunicate OK [23:50:52]SAM_PROTO_GetShiftState done [23:50:52]FM_GetShiftState done [23:50:52]opened in 1710202417 [23:50:52]opened+sec_in_day 1710288817 [23:50:52]quantity*price = 8500 [23:50:52]sum+1 = 8501 [23:50:52]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 85.00 НСП 1% : 0.75 НДС 12% : 9.03 Наличными: 85.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 86 12.03.2024 23:51 Смена: 314 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47408 ФПД: 149773490238627 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T235110&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47408&fm=149773490238627&tin=02508201610067®Number=0000000000092018&sum=8500 0 [23:50:53]StoreToDocumentArchive [23:50:53]shift 314 fd 47408 [23:50:53]save to /storage/0314/doc_00047408 [23:50:53]save last doc name /storage/0314/doc_00047408 to /storage/kkm_last_doc_name [23:50:53]save OK [23:50:53]Clear old archive folders... [23:50:53]ProcessDocumentItem done err = 0, tmpTLVsize=294 [23:50:53]tlvbuf is 004AE7F0 [23:50:53]SAM_PROTO_ClearQueue [23:50:53]wFMCommunicate request_size=4 [23:50:53]MH_SAM_APDU [23:50:53]CAPDU: 80 09 00 00 [23:50:53]Write to MH i2c: E2 08 00 F5 65 80 09 00 00 00 00 00 00 CC [23:50:53]Write i2c OK [23:50:53]MH_I2C_Read... [23:50:53]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:50:53]Read from MH i2c: E2 [23:50:53]MH_I2C_Read... [23:50:53]Read from MH i2c: E2 03 00 [23:50:53]MH_I2C_Read... [23:50:53]Read from MH i2c: E2 03 00 F5 65 00 90 00 CE [23:50:53]RAPDU: 90 00 [23:50:53]wFMCommunicate OK [23:50:53]SAM_PROTO_ClearQueue done [23:50:53]KKMCreateOFDPacket [23:50:53]OFDProtocolAddRootSTLVToBuf [23:50:53]FM_MakeSignedData [23:50:53]FM_MakeSignedData [23:50:53]SAM_PROTO_SignData [23:50:53]wFMCommunicate request_size=4 [23:50:53]MH_SAM_APDU [23:50:53]CAPDU: 80 0D 01 02 [23:50:53]Write to MH i2c: E2 08 00 F6 65 80 0D 01 02 00 00 00 00 D4 [23:50:53]Write i2c OK [23:50:53]MH_I2C_Read... [23:50:53]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:50:53]Read from MH i2c: E2 [23:50:53]MH_I2C_Read... [23:50:53]Read from MH i2c: E2 03 00 [23:50:53]MH_I2C_Read... [23:50:53]Read from MH i2c: E2 03 00 F6 65 00 90 00 CF [23:50:53]RAPDU: 90 00 [23:50:53]wFMCommunicate OK [23:50:53]wFMCommunicate request_size=255 [23:50:53]MH_SAM_APDU [23:50:53]CAPDU: 80 0D 02 02 FA 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 34 21 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 56 00 00 00 F4 03 04 00 6E EA F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 [23:50:53]Write to MH i2c: E2 02 01 F7 65 80 0D 02 02 FA 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 34 21 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 56 00 00 00 F4 03 04 00 6E EA F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 00 00 F6 [23:50:53]Write i2c OK [23:50:53]MH_I2C_Read... [23:50:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:50:53]Read from MH i2c: E2 [23:50:53]MH_I2C_Read... [23:50:53]Read from MH i2c: E2 03 00 [23:50:53]MH_I2C_Read... [23:50:53]Read from MH i2c: E2 03 00 F7 65 00 90 00 D0 [23:50:53]RAPDU: 90 00 [23:50:53]wFMCommunicate OK [23:50:53]wFMCommunicate request_size=53 [23:50:53]MH_SAM_APDU [23:50:53]CAPDU: 80 0D 02 02 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 30 B9 00 00 35 04 06 00 88 37 DB AE B4 A3 [23:50:54]Write to MH i2c: E2 38 00 F8 65 80 0D 02 02 30 00 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 30 B9 00 00 35 04 06 00 88 37 DB AE B4 A3 00 00 4E [23:50:54]Write i2c OK [23:50:54]MH_I2C_Read... [23:50:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:50:54]Read from MH i2c: E2 [23:50:54]MH_I2C_Read... [23:50:54]Read from MH i2c: E2 03 00 [23:50:54]MH_I2C_Read... [23:50:54]Read from MH i2c: E2 03 00 F8 65 00 90 00 D1 [23:50:54]RAPDU: 90 00 [23:50:54]wFMCommunicate OK [23:50:54]wFMCommunicate request_size=4 [23:50:54]MH_SAM_APDU [23:50:54]CAPDU: 80 0D 03 02 [23:50:54]Write to MH i2c: E2 08 00 F9 65 80 0D 03 02 00 00 00 00 D9 [23:50:54]Write i2c OK [23:50:54]MH_I2C_Read... [23:50:54]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:50:54]Read from MH i2c: E2 [23:50:54]MH_I2C_Read... [23:50:54]Read from MH i2c: E2 0B 00 [23:50:54]MH_I2C_Read... [23:50:54]Read from MH i2c: E2 0B 00 F9 65 00 03 2B B7 44 CA E5 00 3F 90 00 F1 [23:50:54]RAPDU: 03 2B B7 44 CA E5 00 3F 90 00 [23:50:54]wFMCommunicate OK [23:50:54]SAM_PROTO_SignData done [23:50:54]FM_MakeSignedData done [23:50:54]CreateOFDProtocolMessage [23:50:54]wFMCommunicate request_size=4 [23:50:54]MH_SAM_APDU [23:50:54]CAPDU: 80 11 00 00 [23:50:54]Write to MH i2c: E2 08 00 FA 65 80 11 00 00 00 00 00 00 D9 [23:50:54]Write i2c OK [23:50:54]MH_I2C_Read... [23:50:54]Read from MH i2c: E2 [23:50:54]MH_I2C_Read... [23:50:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:50:54]Read from MH i2c: E2 17 00 [23:50:54]MH_I2C_Read... [23:50:54]Read from MH i2c: E2 17 00 FA 65 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 2B [23:50:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [23:50:54]wFMCommunicate OK [23:50:54]CreateOFDProtocolMessage done [23:50:54]OFDSenderStorePacket 47408 [23:50:54]StoreOFDPacket docnum=47408 [23:50:54]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 3A 01 00 00 B8 EF 32 01 E5 23 5A 03 01 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 34 21 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 56 00 00 00 F4 03 04 00 6E EA F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 30 B9 00 00 35 04 06 00 88 37 DB AE B4 A3 03 2B B7 44 CA E5 00 3F [23:50:54]CheckFolder [23:50:54]dirname=/storage/ofd_packets [23:50:54]CheckFolder done [23:50:54]ProducePacketName [23:50:54]name=ofd_packets/00047408 [23:50:54]NVStorageSaveData ofd_packets/00047408 [23:50:54]File name is /storage/ofd_packets/00047408 [23:50:54]Write 344 bytes [23:50:54]NVStorageSaveData done [23:50:54]OFDSenderStorePacket done [23:50:54]KKMCreateOFDPacket done [23:50:54]NVStorageSaveData kkm_last_timestamp [23:50:54]File name is /storage/kkm_last_timestamp [23:50:54]Write 4 bytes [23:50:54]NVStorageSaveData done [23:50:54]ExternCall_PrintAddStr [23:50:54]wPrintStart [23:50:54]Write to MH i2c: 01 00 00 FB 65 60 [23:50:54]Write i2c OK [23:50:54]MH_I2C_Read... [23:50:54]Read from MH i2c: 01 [23:50:54]MH_I2C_Read... [23:50:54]Read from MH i2c: 01 07 00 [23:50:54]MH_I2C_Read... [23:50:54]Read from MH i2c: 01 07 00 FB 65 00 00 00 00 00 FF 0F 75 [23:50:54]RasterBufferAndPrint [23:50:54]line Счет N : (3)242319 [23:50:54]line ИНН: 02508201610067 [23:50:54]line Контрольно-Кассовый Чек [23:50:54]line ПРОДАЖА [23:50:54]line Товар: 4600682557456 [23:50:54]line Напиток FLash up energy эн ж/б 0,5/0,45л [23:50:54]line 1.000 * 85.00 [23:50:54]line = 85.00 [23:50:54]line НДС 12% НСП 1% [23:50:54]line > о реализуемом товаре [23:50:54]line ИТОГО: 85.00 [23:50:54]line НСП 1% : 0.75 [23:50:54]line НДС 12% : 9.03 [23:50:54]line Наличными: 85.00 [23:50:54]line Безнал.: 0.00 [23:50:54]line Место: АЗС № 15 "Партнер Нефть" [23:50:54]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [23:50:54]line СНО: Общий режим [23:50:54]line Чек 86 12.03.2024 23:51 [23:50:54]line Смена: 314 ФФД: 1.0 [23:50:54]line ЗНМ: 0300000097 [23:50:54]line РНМ: 0000000000092018 [23:50:54]line Версия ККМ: 001 [23:50:54]line ФМ: 0000000000871816 [23:50:54]line ФД: 47408 [23:50:54]line ФПД: 149773490238627 [23:50:54]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T235110&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47408&fm=149773490238627&tin=02508201610067®Number=0000000000092018&sum=8500 [23:50:54]line 0 [23:50:54]written 0, free lines is 4095 [23:50:54]OFD Sender: Processing packet 47408 [packets to send 8, broken 7] [23:50:54]ProducePacketName [23:50:54]name=ofd_packets/00047408 [23:50:54]OFD Sender: To server: pG, [23:50:54]CommunicateWithHost lk.salyk.kg:30040 [23:50:54]ConnectInit lk.salyk.kg [23:50:54]Connected sock=10 [23:50: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 31 36 3A 01 00 00 B8 EF 32 01 E5 23 5A 03 01 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 34 21 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 56 00 00 00 F4 03 04 00 6E EA F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 30 B9 00 00 35 04 06 00 88 37 DB AE B4 A3 03 2B B7 44 CA E5 00 3F [23: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 31 36 4F 00 00 00 A2 E7 47 00 DF 42 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 30 B9 00 00 F4 03 04 00 FE 94 F0 65 B6 04 01 00 00 B0 B5 12 EE 60 6D F8 43 [23:50:54]CommunicateWithHost err = 0 [23:50:54]CheckOFDResponse [23:50:54]1017 (14) - 77093643461234 [23:50:54]1041 (16) - 0000000000871816 [23:50:54]1040 (4) - 47408 [23:50:54]1012 (4) - 12.03.2024 17:46 [23:50:54]1206 (1) - 0 [23:50:54]OFD Sender: Remove packet 47408 [23:50:54]ProducePacketName [23:50:54]name=ofd_packets/00047408 [23:50:54]NVStorageDeleteData [23:50:54]Write to MH i2c: 01 00 00 24 66 8A [23:50:54]Write i2c OK [23:50:54]MH_I2C_Read... [23:50:54]Read from MH i2c: 01 [23:50:54]MH_I2C_Read... [23:50:54]Read from MH i2c: 01 07 00 [23:50:54]MH_I2C_Read... [23:50:54]Read from MH i2c: 01 07 00 24 66 00 00 00 00 00 E9 0C 86 [23:50:54]RasterBufferAndPrint [23:50:54]line [23:50:54]line [23:50:54]line [23:50:54]line [23:50:54]line [23:50:54]written 0, free lines is 3317 [23:50:54]MH_Cut [23:50:54]Write to MH i2c: D1 01 00 2B 66 01 63 [23:50:54]Write i2c OK [23:50:54]MH_I2C_Read... [23:50:54]Read from MH i2c: D1 [23:50:54]MH_I2C_Read... [23:50:54]Read from MH i2c: D1 01 00 [23:50:54]MH_I2C_Read... [23:50:54]Read from MH i2c: D1 01 00 2B 66 00 62 [23:50:54]Write to MH i2c: 01 00 00 2C 66 92 [23:50:54]Write i2c OK [23:50:54]MH_I2C_Read... [23:50:55]OFD Sender: No OFD packet to send [23:50:55]*** Cut start [23:50:55]*** Purtial cut [23:50:55]*** Stage 1: CUTSNS_PIN = 1 [23:50:55]Read from MH i2c: 01 [23:50:55]MH_I2C_Read... [23:50:55]*** Stop cut motor [23:50:55]*** Cut end [23:50:55]Read from MH i2c: 01 07 00 [23:50:55]MH_I2C_Read... [23:50:55]Read from MH i2c: 01 07 00 2C 66 00 00 00 00 00 FF 0F A7 [23:50:55]process_action close_receipt done [23:50:55]requested_data is exist [23:50:55]produce_requested_data [23:50:55]requested_item fm.sn is exist - process it [23:50:55]wFMCommunicate request_size=4 [23:50:55]MH_SAM_APDU [23:50:55]CAPDU: 80 11 00 00 [23:50:55]Write to MH i2c: E2 08 00 2D 66 80 11 00 00 00 00 00 00 0D [23:50:55]Write i2c OK [23:50:55]MH_I2C_Read... [23:50:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:50:55]Read from MH i2c: E2 [23:50:55]MH_I2C_Read... [23:50:55]Read from MH i2c: E2 17 00 [23:50:55]MH_I2C_Read... [23:50:55]Read from MH i2c: E2 17 00 2D 66 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 5F [23:50:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [23:50:55]wFMCommunicate OK [23:50:55]requested_item fd.num is exist - process it [23:50:55]SAM_PROTO_GetFieldsCounters [23:50:55]wFMCommunicate request_size=4 [23:50:55]MH_SAM_APDU [23:50:55]CAPDU: 80 13 00 00 [23:50:55]Write to MH i2c: E2 08 00 2E 66 80 13 00 00 00 00 00 00 10 [23:50:55]Write i2c OK [23:50:55]MH_I2C_Read... [23:50:55]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:50:55]Read from MH i2c: E2 [23:50:55]MH_I2C_Read... [23:50:55]Read from MH i2c: E2 62 00 [23:50:55]MH_I2C_Read... [23:50:55]Read from MH i2c: E2 62 00 2E 66 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 30 B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 56 00 00 00 5E 04 04 00 56 00 00 00 57 04 04 00 57 00 00 00 19 04 04 00 00 00 00 00 90 00 51 [23: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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 30 B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 56 00 00 00 5E 04 04 00 56 00 00 00 57 04 04 00 57 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:50:56]wFMCommunicate OK [23:50:56]SAM_PROTO_GetFieldsCounters done [23:50:56]requested_item shift.num is exist - process it [23:50:56]requested_item shift.opened is exist - process it [23:50:56]req_shift_opened [23:50:56]FM_GetShiftState [23:50:56]SAM_PROTO_GetShiftState [23:50:56]wFMCommunicate request_size=4 [23:50:56]MH_SAM_APDU [23:50:56]CAPDU: 80 13 01 00 [23:50:56]Write to MH i2c: E2 08 00 2F 66 80 13 01 00 00 00 00 00 12 [23:50:56]Write i2c OK [23:50:56]MH_I2C_Read... [23:50:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:50:56]Read from MH i2c: E2 [23:50:56]MH_I2C_Read... [23:50:56]Read from MH i2c: E2 0E 00 [23:50:56]MH_I2C_Read... [23:50:56]Read from MH i2c: E2 0E 00 2F 66 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 41 [23:50:56]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [23:50:56]wFMCommunicate OK [23:50:56]SAM_PROTO_GetShiftState done [23:50:56]FM_GetShiftState done [23:50:56]req_shift_opened done [23:50:56]requested_item shift.open_date is exist - process it [23:50:56]req_shift_open_date [23:50:56]req_shift_open_date done [23:50:56]produce_requested_data done [23:50:56]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47408,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [23:50:56]process_action_free close_receipt [23:50:56]json_value_free [23:50:56]json_value_free done [23:50:56]process_json_proto returns [23:50:56]Send response to host [23:50:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47408,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [23:50:56]free response buf [23:50:56]execute_script done [23:50:56]execute_script returns [23:50:56]free content buf [23:50:56]Sock 9.Close socket [23:50:56]Sock 9.Thread stoped [23:51:00]OFD Sender: No OFD packet to send [23:51:05]OFD Sender: No OFD packet to send [23:51:10]OFD Sender: No OFD packet to send [23:51:15]OFD Sender: No OFD packet to send [23:51:20]OFD Sender: No OFD packet to send [23:51:25]OFD Sender: No OFD packet to send [23:51:30]OFD Sender: No OFD packet to send [23:51:35]OFD Sender: No OFD packet to send [23:51:40]OFD Sender: No OFD packet to send [23:51:45]OFD Sender: No OFD packet to send [23:51:50]OFD Sender: No OFD packet to send [23:51:55]OFD Sender: No OFD packet to send [23:52:00]OFD Sender: No OFD packet to send [23:52:05]OFD Sender: No OFD packet to send [23:52:10]OFD Sender: No OFD packet to send [23:52:15]OFD Sender: No OFD packet to send [23:52:20]OFD Sender: No OFD packet to send [23:52:23]accept exits with 7 [23:52:23]New connection [23:52:23]New thread 3066596708 created [23:52:23]Thread 3066453348 joined [23:52:23]Waiting for new connection... [23:52:23] Sock 7.Parse request [23:52:23]Sock 7.Check first char [23:52:23]Sock 7.First char is OK [23:52:23]request: POST /json_proto HTTP/1.0 [23:52:23]Method: POST [23:52:23]URL: /json_proto [23:52:23]Method is POST - this is cgi request [23:52:23]url: /json_proto [23:52:23]query_string will be loaded in cgi processing [23:52:23]execute_cgi json_proto POST (null) [23:52:23]execute_cgi path=json_proto method=POST [23:52:23]POST find Content-Length [23:52:23]Host: 172.17.32.68:8080 [23:52:23]Content-Length: 858 [23:52:23]Content-Type: application/json [23:52:23] [23:52:23]POST finish read [23:52:23]Found Content-Length = 858 [23:52:23]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale_refund", "base_FD": 47383, "base_FM": "0000000000871816", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242295", "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 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 70.00 } ], "post_footer_text": "47383" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:52:23]execute_script... [23:52:23]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale_refund", "base_FD": 47383, "base_FM": "0000000000871816", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242295", "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 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 70.00 } ], "post_footer_text": "47383" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:52:23]POST & json_proto [23:52:23]process_json_proto [23:52:23]json parsed OK: [23:52:23]protocol is kg_v1.0 [23:52:23]action value=close_receipt [23:52:23]process_action close_receipt [23:52:23]cmd_close_receipt [23:52:23]MH_GetDate [23:52:23]Write to MH i2c: F0 00 00 30 66 85 [23:52:23]Write i2c OK [23:52:23]MH_I2C_Read... [23:52:23]Read from MH i2c: F0 [23:52:23]MH_I2C_Read... [23:52:23]Read from MH i2c: F0 09 00 [23:52:23]MH_I2C_Read... [23:52:23]Read from MH i2c: F0 09 00 30 66 00 C9 EA F0 65 0A 64 6E 65 D7 [23:52:23]GetLastDocTimeStamp 1710287470 [23:52:23]current date 1710287561 [23:52:23]FM_GetShiftState [23:52:23]SAM_PROTO_GetShiftState [23:52:23]wFMCommunicate request_size=4 [23:52:23]MH_SAM_APDU [23:52:23]CAPDU: 80 13 01 00 [23:52:23]Write to MH i2c: E2 08 00 31 66 80 13 01 00 00 00 00 00 14 [23:52:23]Write i2c OK [23:52:23]MH_I2C_Read... [23:52:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:52:23]Read from MH i2c: E2 [23:52:23]MH_I2C_Read... [23:52:23]Read from MH i2c: E2 0E 00 [23:52:23]MH_I2C_Read... [23:52:23]Read from MH i2c: E2 0E 00 31 66 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 43 [23:52:23]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [23:52:23]wFMCommunicate OK [23:52:23]SAM_PROTO_GetShiftState done [23:52:23]FM_GetShiftState done [23:52:23]opened in 1710202417 [23:52:23]opened+sec_in_day 1710288817 [23:52:23]quantity*price = 7000 [23:52:23]sum+1 = 7001 [23:52:23]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 70.00 НСП 1% : 0.62 НДС 12% : 7.43 Наличными: 0.00 Безнал.: 70.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 87 12.03.2024 23:52 Смена: 314 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФД осн.: 47383 ФМ осн.: 0000000000871816 Платежная система: O! деньги ФМ: 0000000000871816 ФД: 47409 ФПД: 149705383667612 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T235241&type=2&operation_type=1&fn_number=0000000000871816&fd_number=47409&fm=149705383667612&tin=02508201610067®Number=0000000000092018&sum=7000 47383 [23:52:24]StoreToDocumentArchive [23:52:24]shift 314 fd 47409 [23:52:24]save to /storage/0314/doc_00047409 [23:52:24]save last doc name /storage/0314/doc_00047409 to /storage/kkm_last_doc_name [23:52:24]save OK [23:52:24]Clear old archive folders... [23:52:24]ProcessDocumentItem done err = 0, tmpTLVsize=300 [23:52:24]tlvbuf is 00432E90 [23:52:24]SAM_PROTO_ClearQueue [23:52:24]wFMCommunicate request_size=4 [23:52:24]MH_SAM_APDU [23:52:24]CAPDU: 80 09 00 00 [23:52:24]Write to MH i2c: E2 08 00 40 66 80 09 00 00 00 00 00 00 18 [23:52:24]Write i2c OK [23:52:24]MH_I2C_Read... [23:52:24]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:52:24]Read from MH i2c: E2 [23:52:24]MH_I2C_Read... [23:52:24]Read from MH i2c: E2 03 00 [23:52:24]MH_I2C_Read... [23:52:24]Read from MH i2c: E2 03 00 40 66 00 90 00 1A [23:52:24]RAPDU: 90 00 [23:52:24]wFMCommunicate OK [23:52:24]SAM_PROTO_ClearQueue done [23:52:24]KKMCreateOFDPacket [23:52:24]OFDProtocolAddRootSTLVToBuf [23:52:24]FM_MakeSignedData [23:52:24]FM_MakeSignedData [23:52:24]SAM_PROTO_SignData [23:52:24]wFMCommunicate request_size=4 [23:52:24]MH_SAM_APDU [23:52:24]CAPDU: 80 0D 01 02 [23:52:24]Write to MH i2c: E2 08 00 41 66 80 0D 01 02 00 00 00 00 20 [23:52:24]Write i2c OK [23:52:24]MH_I2C_Read... [23:52:24]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:52:24]Read from MH i2c: E2 [23:52:24]MH_I2C_Read... [23:52:24]Read from MH i2c: E2 03 00 [23:52:24]MH_I2C_Read... [23:52:24]Read from MH i2c: E2 03 00 41 66 00 90 00 1B [23:52:24]RAPDU: 90 00 [23:52:24]wFMCommunicate OK [23:52:24]wFMCommunicate request_size=255 [23:52:24]MH_SAM_APDU [23:52:24]CAPDU: 80 0D 02 02 FA 03 00 2C 01 1E 04 01 00 02 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 00 00 00 00 00 00 39 04 06 00 58 1B 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 57 00 00 00 F4 03 04 00 C9 EA F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 27 04 04 00 17 B9 00 00 28 04 10 00 [23:52:24]Write to MH i2c: E2 02 01 42 66 80 0D 02 02 FA 00 03 00 2C 01 1E 04 01 00 02 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 00 00 00 00 00 00 39 04 06 00 58 1B 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 57 00 00 00 F4 03 04 00 C9 EA F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 27 04 04 00 17 B9 00 00 28 04 10 00 00 00 6A [23:52:24]Write i2c OK [23:52:24]MH_I2C_Read... [23:52:25]OFD Sender: No OFD packet to send [23:52:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:52:25]Read from MH i2c: E2 [23:52:25]MH_I2C_Read... [23:52:25]Read from MH i2c: E2 03 00 [23:52:25]MH_I2C_Read... [23:52:25]Read from MH i2c: E2 03 00 42 66 00 90 00 1C [23:52:25]RAPDU: 90 00 [23:52:25]wFMCommunicate OK [23:52:25]wFMCommunicate request_size=59 [23:52:25]MH_SAM_APDU [23:52:25]CAPDU: 80 0D 02 02 36 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 31 B9 00 00 35 04 06 00 88 28 00 36 E7 9C [23:52:25]Write to MH i2c: E2 3E 00 43 66 80 0D 02 02 36 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 31 B9 00 00 35 04 06 00 88 28 00 36 E7 9C 00 00 9C [23:52:25]Write i2c OK [23:52:25]MH_I2C_Read... [23:52:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:52:25]Read from MH i2c: E2 [23:52:25]MH_I2C_Read... [23:52:25]Read from MH i2c: E2 03 00 [23:52:25]MH_I2C_Read... [23:52:25]Read from MH i2c: E2 03 00 43 66 00 90 00 1D [23:52:25]RAPDU: 90 00 [23:52:25]wFMCommunicate OK [23:52:25]wFMCommunicate request_size=4 [23:52:25]MH_SAM_APDU [23:52:25]CAPDU: 80 0D 03 02 [23:52:25]Write to MH i2c: E2 08 00 44 66 80 0D 03 02 00 00 00 00 25 [23:52:25]Write i2c OK [23:52:25]MH_I2C_Read... [23:52:25]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:52:25]Read from MH i2c: E2 [23:52:25]MH_I2C_Read... [23:52:25]Read from MH i2c: E2 0B 00 [23:52:25]MH_I2C_Read... [23:52:25]Read from MH i2c: E2 0B 00 44 66 00 75 76 59 9B 6C 36 AA 61 90 00 B2 [23:52:25]RAPDU: 75 76 59 9B 6C 36 AA 61 90 00 [23:52:25]wFMCommunicate OK [23:52:25]SAM_PROTO_SignData done [23:52:25]FM_MakeSignedData done [23:52:25]CreateOFDProtocolMessage [23:52:25]wFMCommunicate request_size=4 [23:52:25]MH_SAM_APDU [23:52:25]CAPDU: 80 11 00 00 [23:52:25]Write to MH i2c: E2 08 00 45 66 80 11 00 00 00 00 00 00 25 [23:52:25]Write i2c OK [23:52:25]MH_I2C_Read... [23:52:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:52:25]Read from MH i2c: E2 [23:52:25]MH_I2C_Read... [23:52:25]Read from MH i2c: E2 17 00 [23:52:25]MH_I2C_Read... [23:52:25]Read from MH i2c: E2 17 00 45 66 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 77 [23:52:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [23:52:25]wFMCommunicate OK [23:52:25]CreateOFDProtocolMessage done [23:52:25]OFDSenderStorePacket 47409 [23:52:25]StoreOFDPacket docnum=47409 [23:52:25]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 40 01 00 00 A7 80 38 01 F9 C9 5A 03 01 00 03 00 2C 01 1E 04 01 00 02 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 00 00 00 00 00 00 39 04 06 00 58 1B 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 57 00 00 00 F4 03 04 00 C9 EA F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 27 04 04 00 17 B9 00 00 28 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 31 B9 00 00 35 04 06 00 88 28 00 36 E7 9C 75 76 59 9B 6C 36 AA 61 [23:52:25]CheckFolder [23:52:25]dirname=/storage/ofd_packets [23:52:25]CheckFolder done [23:52:25]ProducePacketName [23:52:25]name=ofd_packets/00047409 [23:52:25]NVStorageSaveData ofd_packets/00047409 [23:52:25]File name is /storage/ofd_packets/00047409 [23:52:25]Write 350 bytes [23:52:25]NVStorageSaveData done [23:52:25]OFDSenderStorePacket done [23:52:25]KKMCreateOFDPacket done [23:52:25]NVStorageSaveData kkm_last_timestamp [23:52:25]File name is /storage/kkm_last_timestamp [23:52:25]Write 4 bytes [23:52:25]NVStorageSaveData done [23:52:25]ExternCall_PrintAddStr [23:52:25]wPrintStart [23:52:25]Write to MH i2c: 01 00 00 46 66 AC [23:52:25]Write i2c OK [23:52:25]MH_I2C_Read... [23:52:25]Read from MH i2c: 01 [23:52:25]MH_I2C_Read... [23:52:25]Read from MH i2c: 01 07 00 [23:52:25]MH_I2C_Read... [23:52:25]Read from MH i2c: 01 07 00 46 66 00 00 00 00 00 FF 0F C1 [23:52:25]RasterBufferAndPrint [23:52:25]line Счет N : (3)242295 [23:52:25]line ИНН: 02508201610067 [23:52:25]line Контрольно-Кассовый Чек [23:52:25]line ВОЗВРАТ ПРОДАЖИ [23:52:25]line Товар: 4630007400358 [23:52:25]line Семечки ДЖИНН 70г [23:52:25]line 1.000 * 70.00 [23:52:25]line = 70.00 [23:52:25]line НДС 12% НСП 1% [23:52:25]line > о реализуемом товаре [23:52:25]line ИТОГО: 70.00 [23:52:25]line НСП 1% : 0.62 [23:52:25]line НДС 12% : 7.43 [23:52:25]line Наличными: 0.00 [23:52:25]line Безнал.: 70.00 [23:52:25]line Место: АЗС № 15 "Партнер Нефть" [23:52:25]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [23:52:25]line СНО: Общий режим [23:52:25]line Чек 87 12.03.2024 23:52 [23:52:25]line Смена: 314 ФФД: 1.0 [23:52:25]line ЗНМ: 0300000097 [23:52:25]line РНМ: 0000000000092018 [23:52:25]line Версия ККМ: 001 [23:52:25]line ФД осн.: 47383 [23:52:25]line ФМ осн.: 0000000000871816 [23:52:25]line Платежная система: O! деньги [23:52:25]line ФМ: 0000000000871816 [23:52:25]line ФД: 47409 [23:52:25]line ФПД: 149705383667612 [23:52:25]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T235241&type=2&operation_type=1&fn_number=0000000000871816&fd_number=47409&fm=149705383667612&tin=02508201610067®Number=0000000000092018&sum=7000 [23:52:25]line 47383 [23:52:25]OFD Sender: Processing packet 47409 [packets to send 8, broken 7] [23:52:25]ProducePacketName [23:52:25]name=ofd_packets/00047409 [23:52:25]OFD Sender: To server: pG, [23:52:25]CommunicateWithHost lk.salyk.kg:30040 [23:52:25]ConnectInit lk.salyk.kg [23:52:25]written 0, free lines is 4095 [23:52:25]Connected sock=10 [23:52: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 31 36 40 01 00 00 A7 80 38 01 F9 C9 5A 03 01 00 03 00 2C 01 1E 04 01 00 02 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 00 00 00 00 00 00 39 04 06 00 58 1B 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 57 00 00 00 F4 03 04 00 C9 EA F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 27 04 04 00 17 B9 00 00 28 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 31 B9 00 00 35 04 06 00 88 28 00 36 E7 9C 75 76 59 9B 6C 36 AA 61 [23:52: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 31 36 4F 00 00 00 8E 10 47 00 A3 93 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 31 B9 00 00 F4 03 04 00 5A 95 F0 65 B6 04 01 00 00 64 20 7A 8E 57 96 54 53 [23:52:26]CommunicateWithHost err = 0 [23:52:26]CheckOFDResponse [23:52:26]1017 (14) - 77093643461234 [23:52:26]1041 (16) - 0000000000871816 [23:52:26]1040 (4) - 47409 [23:52:26]1012 (4) - 12.03.2024 17:48 [23:52:26]1206 (1) - 0 [23:52:26]OFD Sender: Remove packet 47409 [23:52:26]ProducePacketName [23:52:26]name=ofd_packets/00047409 [23:52:26]NVStorageDeleteData [23:52:26]Write to MH i2c: 01 00 00 72 66 D8 [23:52:26]Write i2c OK [23:52:26]MH_I2C_Read... [23:52:26]Read from MH i2c: 01 [23:52:26]MH_I2C_Read... [23:52:26]Read from MH i2c: 01 07 00 [23:52:26]MH_I2C_Read... [23:52:26]Read from MH i2c: 01 07 00 72 66 00 00 00 00 00 D8 0C C3 [23:52:26]RasterBufferAndPrint [23:52:26]line [23:52:26]line [23:52:26]line [23:52:26]line [23:52:26]line [23:52:26]written 0, free lines is 3295 [23:52:26]MH_Cut [23:52:26]Write to MH i2c: D1 01 00 79 66 01 B1 [23:52:26]Write i2c OK [23:52:26]MH_I2C_Read... [23:52:26]Read from MH i2c: D1 [23:52:26]MH_I2C_Read... [23:52:26]Read from MH i2c: D1 01 00 [23:52:26]MH_I2C_Read... [23:52:26]Read from MH i2c: D1 01 00 79 66 00 B0 [23:52:26]Write to MH i2c: 01 00 00 7A 66 E0 [23:52:26]Write i2c OK [23:52:26]MH_I2C_Read... [23:52:26]OFD Sender: No OFD packet to send [23:52:27]*** Cut start [23:52:27]*** Purtial cut [23:52:27]*** Stage 1: CUTSNS_PIN = 1 [23:52:27]Read from MH i2c: 01 [23:52:27]MH_I2C_Read... [23:52:27]*** Stop cut motor [23:52:27]*** Cut end [23:52:27]Read from MH i2c: 01 07 00 [23:52:27]MH_I2C_Read... [23:52:27]Read from MH i2c: 01 07 00 7A 66 00 00 00 00 00 FF 0F F5 [23:52:27]process_action close_receipt done [23:52:27]requested_data is exist [23:52:27]produce_requested_data [23:52:27]requested_item fm.sn is exist - process it [23:52:27]wFMCommunicate request_size=4 [23:52:27]MH_SAM_APDU [23:52:27]CAPDU: 80 11 00 00 [23:52:27]Write to MH i2c: E2 08 00 7B 66 80 11 00 00 00 00 00 00 5B [23:52:27]Write i2c OK [23:52:27]MH_I2C_Read... [23:52:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:52:27]Read from MH i2c: E2 [23:52:27]MH_I2C_Read... [23:52:27]Read from MH i2c: E2 17 00 [23:52:27]MH_I2C_Read... [23:52:27]Read from MH i2c: E2 17 00 7B 66 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 AD [23:52:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [23:52:27]wFMCommunicate OK [23:52:27]requested_item fd.num is exist - process it [23:52:27]SAM_PROTO_GetFieldsCounters [23:52:27]wFMCommunicate request_size=4 [23:52:27]MH_SAM_APDU [23:52:27]CAPDU: 80 13 00 00 [23:52:27]Write to MH i2c: E2 08 00 7C 66 80 13 00 00 00 00 00 00 5E [23:52:27]Write i2c OK [23:52:27]MH_I2C_Read... [23:52:27]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:52:27]Read from MH i2c: E2 [23:52:27]MH_I2C_Read... [23:52:27]Read from MH i2c: E2 62 00 [23:52:27]MH_I2C_Read... [23:52:27]Read from MH i2c: E2 62 00 7C 66 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 31 B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 57 00 00 00 5E 04 04 00 57 00 00 00 57 04 04 00 58 00 00 00 19 04 04 00 00 00 00 00 90 00 A3 [23:52: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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 31 B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 57 00 00 00 5E 04 04 00 57 00 00 00 57 04 04 00 58 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:52:27]wFMCommunicate OK [23:52:27]SAM_PROTO_GetFieldsCounters done [23:52:27]requested_item shift.num is exist - process it [23:52:27]requested_item shift.opened is exist - process it [23:52:27]req_shift_opened [23:52:27]FM_GetShiftState [23:52:27]SAM_PROTO_GetShiftState [23:52:27]wFMCommunicate request_size=4 [23:52:27]MH_SAM_APDU [23:52:27]CAPDU: 80 13 01 00 [23:52:27]Write to MH i2c: E2 08 00 7D 66 80 13 01 00 00 00 00 00 60 [23:52:27]Write i2c OK [23:52:27]MH_I2C_Read... [23:52:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:52:27]Read from MH i2c: E2 [23:52:27]MH_I2C_Read... [23:52:27]Read from MH i2c: E2 0E 00 [23:52:27]MH_I2C_Read... [23:52:27]Read from MH i2c: E2 0E 00 7D 66 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 8F [23:52:27]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [23:52:27]wFMCommunicate OK [23:52:27]SAM_PROTO_GetShiftState done [23:52:27]FM_GetShiftState done [23:52:27]req_shift_opened done [23:52:27]requested_item shift.open_date is exist - process it [23:52:27]req_shift_open_date [23:52:27]req_shift_open_date done [23:52:27]produce_requested_data done [23:52:27]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47409,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [23:52:27]process_action_free close_receipt [23:52:27]json_value_free [23:52:27]json_value_free done [23:52:27]process_json_proto returns [23:52:27]Send response to host [23:52:27]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47409,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [23:52:27]free response buf [23:52:27]execute_script done [23:52:27]execute_script returns [23:52:27]free content buf [23:52:27]Sock 7.Close socket [23:52:27]Sock 7.Thread stoped [23:52:29]accept exits with 9 [23:52:29]New connection [23:52:29]New thread 3066453348 created [23:52:29]Thread 3066596708 joined [23:52:29]Waiting for new connection... [23:52:29] Sock 9.Parse request [23:52:29]Sock 9.Check first char [23:52:29]Sock 9.First char is OK [23:52:29]request: POST /json_proto HTTP/1.0 [23:52:29]Method: POST [23:52:29]URL: /json_proto [23:52:29]Method is POST - this is cgi request [23:52:29]url: /json_proto [23:52:29]query_string will be loaded in cgi processing [23:52:29]execute_cgi json_proto POST (null) [23:52:29]execute_cgi path=json_proto method=POST [23:52:29]POST find Content-Length [23:52:29]Host: 172.17.32.68:8080 [23:52:29]Content-Length: 637 [23:52:29]Content-Type: application/json [23:52:29] [23:52:29]POST finish read [23:52:29]Found Content-Length = 637 [23:52:29]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242320", "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" ] } } [23:52:29]execute_script... [23:52: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)242320", "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" ] } } [23:52:29]POST & json_proto [23:52:29]process_json_proto [23:52:29]json parsed OK: [23:52:29]protocol is kg_v1.0 [23:52:29]action value=close_receipt [23:52:29]process_action close_receipt [23:52:29]cmd_close_receipt [23:52:29]MH_GetDate [23:52:29]Write to MH i2c: F0 00 00 7E 66 D3 [23:52:29]Write i2c OK [23:52:29]MH_I2C_Read... [23:52:29]Read from MH i2c: F0 [23:52:29]MH_I2C_Read... [23:52:29]Read from MH i2c: F0 09 00 [23:52:29]MH_I2C_Read... [23:52:29]Read from MH i2c: F0 09 00 7E 66 00 CF EA F0 65 0A 64 6E 65 2B [23:52:29]GetLastDocTimeStamp 1710287561 [23:52:29]current date 1710287567 [23:52:29]FM_GetShiftState [23:52:29]SAM_PROTO_GetShiftState [23:52:29]wFMCommunicate request_size=4 [23:52:29]MH_SAM_APDU [23:52:29]CAPDU: 80 13 01 00 [23:52:29]Write to MH i2c: E2 08 00 7F 66 80 13 01 00 00 00 00 00 62 [23:52:29]Write i2c OK [23:52:29]MH_I2C_Read... [23:52:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:52:29]Read from MH i2c: E2 [23:52:29]MH_I2C_Read... [23:52:29]Read from MH i2c: E2 0E 00 [23:52:29]MH_I2C_Read... [23:52:29]Read from MH i2c: E2 0E 00 7F 66 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 91 [23:52:29]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [23:52:29]wFMCommunicate OK [23:52:29]SAM_PROTO_GetShiftState done [23:52:29]FM_GetShiftState done [23:52:29]opened in 1710202417 [23:52:29]opened+sec_in_day 1710288817 [23:52:29]quantity*price = 7000 [23:52:29]sum+1 = 7001 [23:52:29]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 70.00 НСП 1% : 0.62 НДС 12% : 7.43 Наличными: 70.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 88 12.03.2024 23:52 Смена: 314 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47410 ФПД: 277992760421058 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T235247&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47410&fm=277992760421058&tin=02508201610067®Number=0000000000092018&sum=7000 0 [23:52:30]StoreToDocumentArchive [23:52:30]shift 314 fd 47410 [23:52:30]save to /storage/0314/doc_00047410 [23:52:30]save last doc name /storage/0314/doc_00047410 to /storage/kkm_last_doc_name [23:52:30]save OK [23:52:30]Clear old archive folders... [23:52:30]ProcessDocumentItem done err = 0, tmpTLVsize=272 [23:52:30]tlvbuf is 00294440 [23:52:30]SAM_PROTO_ClearQueue [23:52:30]wFMCommunicate request_size=4 [23:52:30]MH_SAM_APDU [23:52:30]CAPDU: 80 09 00 00 [23:52:30]Write to MH i2c: E2 08 00 8C 66 80 09 00 00 00 00 00 00 64 [23:52:30]Write i2c OK [23:52:30]MH_I2C_Read... [23:52:30]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:52:30]Read from MH i2c: E2 [23:52:30]MH_I2C_Read... [23:52:30]Read from MH i2c: E2 03 00 [23:52:30]MH_I2C_Read... [23:52:30]Read from MH i2c: E2 03 00 8C 66 00 90 00 66 [23:52:30]RAPDU: 90 00 [23:52:30]wFMCommunicate OK [23:52:30]SAM_PROTO_ClearQueue done [23:52:30]KKMCreateOFDPacket [23:52:30]OFDProtocolAddRootSTLVToBuf [23:52:30]FM_MakeSignedData [23:52:30]FM_MakeSignedData [23:52:30]SAM_PROTO_SignData [23:52:30]wFMCommunicate request_size=4 [23:52:30]MH_SAM_APDU [23:52:30]CAPDU: 80 0D 01 02 [23:52:30]Write to MH i2c: E2 08 00 8D 66 80 0D 01 02 00 00 00 00 6C [23:52:30]Write i2c OK [23:52:30]MH_I2C_Read... [23:52:30]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:52:30]Read from MH i2c: E2 [23:52:30]MH_I2C_Read... [23:52:30]Read from MH i2c: E2 03 00 [23:52:30]MH_I2C_Read... [23:52:30]Read from MH i2c: E2 03 00 8D 66 00 90 00 67 [23:52:30]RAPDU: 90 00 [23:52:30]wFMCommunicate OK [23:52:30]wFMCommunicate request_size=255 [23:52:30]MH_SAM_APDU [23:52:30]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 58 00 00 00 F4 03 04 00 CF EA F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 [23:52:30]Write to MH i2c: E2 02 01 8E 66 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 58 00 00 00 F4 03 04 00 CF EA F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 00 00 0A [23:52:30]Write i2c OK [23:52:30]MH_I2C_Read... [23:52:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:52:31]Read from MH i2c: E2 [23:52:31]MH_I2C_Read... [23:52:31]Read from MH i2c: E2 03 00 [23:52:31]MH_I2C_Read... [23:52:31]Read from MH i2c: E2 03 00 8E 66 00 90 00 68 [23:52:31]RAPDU: 90 00 [23:52:31]wFMCommunicate OK [23:52:31]wFMCommunicate request_size=31 [23:52:31]MH_SAM_APDU [23:52:31]CAPDU: 80 0D 02 02 1A 30 30 38 37 31 38 31 36 10 04 04 00 32 B9 00 00 35 04 06 00 FC D5 3B BC 2A C2 [23:52:31]Write to MH i2c: E2 22 00 8F 66 80 0D 02 02 1A 00 30 30 38 37 31 38 31 36 10 04 04 00 32 B9 00 00 35 04 06 00 FC D5 3B BC 2A C2 00 00 38 [23:52:31]Write i2c OK [23:52:31]MH_I2C_Read... [23:52:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:52:31]Read from MH i2c: E2 [23:52:31]MH_I2C_Read... [23:52:31]Read from MH i2c: E2 03 00 [23:52:31]MH_I2C_Read... [23:52:31]Read from MH i2c: E2 03 00 8F 66 00 90 00 69 [23:52:31]RAPDU: 90 00 [23:52:31]wFMCommunicate OK [23:52:31]wFMCommunicate request_size=4 [23:52:31]MH_SAM_APDU [23:52:31]CAPDU: 80 0D 03 02 [23:52:31]Write to MH i2c: E2 08 00 90 66 80 0D 03 02 00 00 00 00 71 [23:52:31]Write i2c OK [23:52:31]MH_I2C_Read... [23:52:31]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:52:31]Read from MH i2c: E2 [23:52:31]MH_I2C_Read... [23:52:31]Read from MH i2c: E2 0B 00 [23:52:31]MH_I2C_Read... [23:52:31]Read from MH i2c: E2 0B 00 90 66 00 EA 0B 63 86 EC 46 1F B9 90 00 5A [23:52:31]RAPDU: EA 0B 63 86 EC 46 1F B9 90 00 [23:52:31]wFMCommunicate OK [23:52:31]SAM_PROTO_SignData done [23:52:31]FM_MakeSignedData done [23:52:31]CreateOFDProtocolMessage [23:52:31]wFMCommunicate request_size=4 [23:52:31]MH_SAM_APDU [23:52:31]CAPDU: 80 11 00 00 [23:52:31]Write to MH i2c: E2 08 00 91 66 80 11 00 00 00 00 00 00 71 [23:52:31]Write i2c OK [23:52:31]MH_I2C_Read... [23:52:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:52:31]Read from MH i2c: E2 [23:52:31]MH_I2C_Read... [23:52:31]Read from MH i2c: E2 17 00 [23:52:31]MH_I2C_Read... [23:52:31]Read from MH i2c: E2 17 00 91 66 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 C3 [23:52:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [23:52:31]wFMCommunicate OK [23:52:31]CreateOFDProtocolMessage done [23:52:31]OFDSenderStorePacket 47410 [23:52:31]StoreOFDPacket docnum=47410 [23:52:31]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 24 01 00 00 35 AD 1C 01 50 C5 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 58 00 00 00 F4 03 04 00 CF EA F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 32 B9 00 00 35 04 06 00 FC D5 3B BC 2A C2 EA 0B 63 86 EC 46 1F B9 [23:52:31]CheckFolder [23:52:31]dirname=/storage/ofd_packets [23:52:31]CheckFolder done [23:52:31]ProducePacketName [23:52:31]name=ofd_packets/00047410 [23:52:31]NVStorageSaveData ofd_packets/00047410 [23:52:31]File name is /storage/ofd_packets/00047410 [23:52:31]Write 322 bytes [23:52:31]NVStorageSaveData done [23:52:31]OFDSenderStorePacket done [23:52:31]KKMCreateOFDPacket done [23:52:31]NVStorageSaveData kkm_last_timestamp [23:52:31]File name is /storage/kkm_last_timestamp [23:52:31]Write 4 bytes [23:52:31]NVStorageSaveData done [23:52:31]ExternCall_PrintAddStr [23:52:31]wPrintStart [23:52:31]Write to MH i2c: 01 00 00 92 66 F8 [23:52:31]Write i2c OK [23:52:31]MH_I2C_Read... [23:52:31]Read from MH i2c: 01 [23:52:31]MH_I2C_Read... [23:52:31]Read from MH i2c: 01 07 00 [23:52:31]MH_I2C_Read... [23:52:31]Read from MH i2c: 01 07 00 92 66 00 00 00 00 00 FF 0F 0D [23:52:31]RasterBufferAndPrint [23:52:31]line Счет N : (3)242320 [23:52:31]line ИНН: 02508201610067 [23:52:31]line Контрольно-Кассовый Чек [23:52:31]line ПРОДАЖА [23:52:31]line Товар: 4630007400358 [23:52:31]line Семечки ДЖИНН 70г [23:52:31]line 1.000 * 70.00 [23:52:31]line = 70.00 [23:52:31]OFD Sender: Processing packet 47410 [packets to send 8, broken 7] [23:52:31]ProducePacketName [23:52:31]name=ofd_packets/00047410 [23:52:31]OFD Sender: To server: pG, [23:52:31]CommunicateWithHost lk.salyk.kg:30040 [23:52:31]ConnectInit lk.salyk.kg [23:52:31]line НДС 12% НСП 1% [23:52:31]line > о реализуемом товаре [23:52:31]line ИТОГО: 70.00 [23:52:31]line НСП 1% : 0.62 [23:52:31]line НДС 12% : 7.43 [23:52:31]line Наличными: 70.00 [23:52:31]line Безнал.: 0.00 [23:52:31]line Место: АЗС № 15 "Партнер Нефть" [23:52:31]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [23:52:31]line СНО: Общий режим [23:52:31]line Чек 88 12.03.2024 23:52 [23:52:31]line Смена: 314 ФФД: 1.0 [23:52:31]line ЗНМ: 0300000097 [23:52:31]line РНМ: 0000000000092018 [23:52:31]line Версия ККМ: 001 [23:52:31]line ФМ: 0000000000871816 [23:52:31]line ФД: 47410 [23:52:31]line ФПД: 277992760421058 [23:52:31]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240312T235247&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47410&fm=277992760421058&tin=02508201610067®Number=0000000000092018&sum=7000 [23:52:31]line 0 [23:52:31]written 0, free lines is 4095 [23:52:31]Connected sock=10 [23:52: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 31 36 24 01 00 00 35 AD 1C 01 50 C5 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 58 00 00 00 F4 03 04 00 CF EA F0 65 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 32 B9 00 00 35 04 06 00 FC D5 3B BC 2A C2 EA 0B 63 86 EC 46 1F B9 [23:52: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 31 36 4F 00 00 00 44 A1 47 00 1E EF A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 32 B9 00 00 F4 03 04 00 5F 95 F0 65 B6 04 01 00 00 7C 37 55 D9 C7 DB 48 D1 [23:52:31]CommunicateWithHost err = 0 [23:52:31]CheckOFDResponse [23:52:31]1017 (14) - 77093643461234 [23:52:31]1041 (16) - 0000000000871816 [23:52:31]1040 (4) - 47410 [23:52:31]1012 (4) - 12.03.2024 17:48 [23:52:31]1206 (1) - 0 [23:52:31]OFD Sender: Remove packet 47410 [23:52:31]ProducePacketName [23:52:31]name=ofd_packets/00047410 [23:52:31]NVStorageDeleteData [23:52:31]Write to MH i2c: 01 00 00 BA 66 20 [23:52:31]Write i2c OK [23:52:31]MH_I2C_Read... [23:52:31]Read from MH i2c: 01 [23:52:31]MH_I2C_Read... [23:52:31]Read from MH i2c: 01 07 00 [23:52:31]MH_I2C_Read... [23:52:31]Read from MH i2c: 01 07 00 BA 66 00 00 00 00 00 1A 0D 4E [23:52:31]RasterBufferAndPrint [23:52:31]line [23:52:31]line [23:52:31]line [23:52:31]line [23:52:31]line [23:52:31]written 0, free lines is 3369 [23:52:31]MH_Cut [23:52:31]Write to MH i2c: D1 01 00 C1 66 01 F9 [23:52:31]Write i2c OK [23:52:31]MH_I2C_Read... [23:52:31]Read from MH i2c: D1 [23:52:31]MH_I2C_Read... [23:52:31]Read from MH i2c: D1 01 00 [23:52:31]MH_I2C_Read... [23:52:31]Read from MH i2c: D1 01 00 C1 66 00 F8 [23:52:31]Write to MH i2c: 01 00 00 C2 66 28 [23:52:31]Write i2c OK [23:52:31]MH_I2C_Read... [23:52:32]OFD Sender: No OFD packet to send [23:52:32]*** Cut start [23:52:32]*** Purtial cut [23:52:32]*** Stage 1: CUTSNS_PIN = 1 [23:52:32]Read from MH i2c: 01 [23:52:32]MH_I2C_Read... [23:52:32]*** Stop cut motor [23:52:32]*** Cut end [23:52:32]Read from MH i2c: 01 07 00 [23:52:32]MH_I2C_Read... [23:52:32]Read from MH i2c: 01 07 00 C2 66 00 00 00 00 00 FF 0F 3D [23:52:32]process_action close_receipt done [23:52:32]requested_data is exist [23:52:32]produce_requested_data [23:52:32]requested_item fm.sn is exist - process it [23:52:32]wFMCommunicate request_size=4 [23:52:32]MH_SAM_APDU [23:52:32]CAPDU: 80 11 00 00 [23:52:32]Write to MH i2c: E2 08 00 C3 66 80 11 00 00 00 00 00 00 A3 [23:52:32]Write i2c OK [23:52:32]MH_I2C_Read... [23:52:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:52:32]Read from MH i2c: E2 [23:52:32]MH_I2C_Read... [23:52:32]Read from MH i2c: E2 17 00 [23:52:32]MH_I2C_Read... [23:52:32]Read from MH i2c: E2 17 00 C3 66 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 F5 [23:52:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [23:52:32]wFMCommunicate OK [23:52:32]requested_item fd.num is exist - process it [23:52:32]SAM_PROTO_GetFieldsCounters [23:52:32]wFMCommunicate request_size=4 [23:52:32]MH_SAM_APDU [23:52:32]CAPDU: 80 13 00 00 [23:52:32]Write to MH i2c: E2 08 00 C4 66 80 13 00 00 00 00 00 00 A6 [23:52:32]Write i2c OK [23:52:32]MH_I2C_Read... [23:52:33]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:52:33]Read from MH i2c: E2 [23:52:33]MH_I2C_Read... [23:52:33]Read from MH i2c: E2 62 00 [23:52:33]MH_I2C_Read... [23:52:33]Read from MH i2c: E2 62 00 C4 66 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 32 B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 58 00 00 00 5E 04 04 00 58 00 00 00 57 04 04 00 59 00 00 00 19 04 04 00 00 00 00 00 90 00 EF [23:52: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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 32 B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 58 00 00 00 5E 04 04 00 58 00 00 00 57 04 04 00 59 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:52:33]wFMCommunicate OK [23:52:33]SAM_PROTO_GetFieldsCounters done [23:52:33]requested_item shift.num is exist - process it [23:52:33]requested_item shift.opened is exist - process it [23:52:33]req_shift_opened [23:52:33]FM_GetShiftState [23:52:33]SAM_PROTO_GetShiftState [23:52:33]wFMCommunicate request_size=4 [23:52:33]MH_SAM_APDU [23:52:33]CAPDU: 80 13 01 00 [23:52:33]Write to MH i2c: E2 08 00 C5 66 80 13 01 00 00 00 00 00 A8 [23:52:33]Write i2c OK [23:52:33]MH_I2C_Read... [23:52:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:52:33]Read from MH i2c: E2 [23:52:33]MH_I2C_Read... [23:52:33]Read from MH i2c: E2 0E 00 [23:52:33]MH_I2C_Read... [23:52:33]Read from MH i2c: E2 0E 00 C5 66 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 D7 [23:52:33]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [23:52:33]wFMCommunicate OK [23:52:33]SAM_PROTO_GetShiftState done [23:52:33]FM_GetShiftState done [23:52:33]req_shift_opened done [23:52:33]requested_item shift.open_date is exist - process it [23:52:33]req_shift_open_date [23:52:33]req_shift_open_date done [23:52:33]produce_requested_data done [23:52:33]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47410,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [23:52:33]process_action_free close_receipt [23:52:33]json_value_free [23:52:33]json_value_free done [23:52:33]process_json_proto returns [23:52:33]Send response to host [23:52:33]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47410,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [23:52:33]free response buf [23:52:33]execute_script done [23:52:33]execute_script returns [23:52:33]free content buf [23:52:33]Sock 9.Close socket [23:52:33]Sock 9.Thread stoped [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:56]accept exits with 7 [23:52:56]New connection [23:52:56]New thread 3066596708 created [23:52:56]Thread 3066453348 joined [23:52:56]Waiting for new connection... [23:52:56] Sock 7.Parse request [23:52:56]Sock 7.Check first char [23:52:56]Sock 7.First char is OK [23:52:56]request: POST /json_proto HTTP/1.0 [23:52:56]Method: POST [23:52:56]URL: /json_proto [23:52:56]Method is POST - this is cgi request [23:52:56]url: /json_proto [23:52:56]query_string will be loaded in cgi processing [23:52:56]execute_cgi json_proto POST (null) [23:52:56]execute_cgi path=json_proto method=POST [23:52:56]POST find Content-Length [23:52:56]Host: 172.17.32.68:8080 [23:52:56]Content-Length: 215 [23:52:56]Content-Type: application/json [23:52:56] [23:52:56]POST finish read [23:52:56]Found Content-Length = 215 [23:52:56]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:52:56]execute_script... [23:52:56]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:52:56]POST & json_proto [23:52:56]process_json_proto [23:52:56]json parsed OK: [23:52:56]protocol is kg_v1.0 [23:52:56]action value=get_value [23:52:56]process_action get_value [23:52:56]cmd_get_value [23:52:56]process_action get_value done [23:52:56]requested_data is exist [23:52:56]produce_requested_data [23:52:56]requested_item kkm.sn is exist - process it [23:52:56]requested_item kkm.ver is exist - process it [23:52:56]requested_item fm.sn is exist - process it [23:52:56]wFMCommunicate request_size=4 [23:52:56]MH_SAM_APDU [23:52:56]CAPDU: 80 11 00 00 [23:52:56]Write to MH i2c: E2 08 00 C6 66 80 11 00 00 00 00 00 00 A6 [23:52:56]Write i2c OK [23:52:56]MH_I2C_Read... [23:52:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:52:56]Read from MH i2c: E2 [23:52:56]MH_I2C_Read... [23:52:56]Read from MH i2c: E2 17 00 [23:52:56]MH_I2C_Read... [23:52:56]Read from MH i2c: E2 17 00 C6 66 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 F8 [23:52:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [23:52:56]wFMCommunicate OK [23:52:56]requested_item fd.num is exist - process it [23:52:56]SAM_PROTO_GetFieldsCounters [23:52:56]wFMCommunicate request_size=4 [23:52:56]MH_SAM_APDU [23:52:56]CAPDU: 80 13 00 00 [23:52:56]Write to MH i2c: E2 08 00 C7 66 80 13 00 00 00 00 00 00 A9 [23:52:56]Write i2c OK [23:52:56]MH_I2C_Read... [23:52:56]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:52:56]Read from MH i2c: E2 [23:52:56]MH_I2C_Read... [23:52:56]Read from MH i2c: E2 62 00 [23:52:56]MH_I2C_Read... [23:52:56]Read from MH i2c: E2 62 00 C7 66 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 32 B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 58 00 00 00 5E 04 04 00 58 00 00 00 57 04 04 00 59 00 00 00 19 04 04 00 00 00 00 00 90 00 F2 [23:52: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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 32 B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 58 00 00 00 5E 04 04 00 58 00 00 00 57 04 04 00 59 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:52:56]wFMCommunicate OK [23:52:56]SAM_PROTO_GetFieldsCounters done [23:52:56]requested_item shift.num is exist - process it [23:52:56]requested_item shift.opened is exist - process it [23:52:56]req_shift_opened [23:52:56]FM_GetShiftState [23:52:56]SAM_PROTO_GetShiftState [23:52:56]wFMCommunicate request_size=4 [23:52:56]MH_SAM_APDU [23:52:56]CAPDU: 80 13 01 00 [23:52:56]Write to MH i2c: E2 08 00 C8 66 80 13 01 00 00 00 00 00 AB [23:52:56]Write i2c OK [23:52:56]MH_I2C_Read... [23:52:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:52:56]Read from MH i2c: E2 [23:52:56]MH_I2C_Read... [23:52:56]Read from MH i2c: E2 0E 00 [23:52:56]MH_I2C_Read... [23:52:56]Read from MH i2c: E2 0E 00 C8 66 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 DA [23:52:56]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [23:52:56]wFMCommunicate OK [23:52:56]SAM_PROTO_GetShiftState done [23:52:56]FM_GetShiftState done [23:52:56]req_shift_opened done [23:52:56]requested_item shift.open_date is exist - process it [23:52:56]req_shift_open_date [23:52:56]req_shift_open_date done [23:52:56]produce_requested_data done [23:52:56]produce_requested_data return {"kkm.sn":"0300000097","kkm.ver":"001","fm.sn":"0000000000871816","fd.num":47410,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [23:52:56]process_action_free get_value [23:52:56]json_value_free [23:52:56]json_value_free done [23:52:56]process_json_proto returns [23:52:56]Send response to host [23:52:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000097","kkm.ver":"001","fm.sn":"0000000000871816","fd.num":47410,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [23:52:56]free response buf [23:52:56]execute_script done [23:52:56]execute_script returns [23:52:56]free content buf [23:52:56]Sock 7.Close socket [23:52:56]Sock 7.Thread stoped [23:52:56]accept exits with 9 [23:52:56]New connection [23:52:56]New thread 3066453348 created [23:52:56]Thread 3066596708 joined [23:52:56]Waiting for new connection... [23:52:56] Sock 9.Parse request [23:52:56]Sock 9.Check first char [23:52:56]Sock 9.First char is OK [23:52:56]request: POST /json_proto HTTP/1.0 [23:52:56]Method: POST [23:52:56]URL: /json_proto [23:52:56]Method is POST - this is cgi request [23:52:56]url: /json_proto [23:52:56]query_string will be loaded in cgi processing [23:52:56]execute_cgi json_proto POST (null) [23:52:56]execute_cgi path=json_proto method=POST [23:52:56]POST find Content-Length [23:52:56]Host: 172.17.32.68:8080 [23:52:56]Content-Length: 331 [23:52:56]Content-Type: application/json [23:52:56] [23:52:56]POST finish read [23:52:56]Found Content-Length = 331 [23:52:56]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:52:56]execute_script... [23:52:56]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:52:56]POST & json_proto [23:52:56]process_json_proto [23:52:56]json parsed OK: [23:52:56]protocol is kg_v1.0 [23:52:56]action value=get_value [23:52:56]process_action get_value [23:52:56]cmd_get_value [23:52:56]process_action get_value done [23:52:56]requested_data is exist [23:52:56]produce_requested_data [23:52:56]requested_item fm.sale.total is exist - process it [23:52:56]SAM_PROTO_GetFMData [23:52:56]wFMCommunicate request_size=4 [23:52:56]MH_SAM_APDU [23:52:56]CAPDU: 80 13 03 00 [23:52:56]Write to MH i2c: E2 08 00 C9 66 80 13 03 00 00 00 00 00 AE [23:52:56]Write i2c OK [23:52:56]MH_I2C_Read... [23:52:56]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:52:56]Read from MH i2c: E2 [23:52:56]MH_I2C_Read... [23:52:56]Read from MH i2c: E2 FD 00 [23:52:56]MH_I2C_Read... [23:52:56]Read from MH i2c: E2 FD 00 C9 66 00 C1 04 85 04 BD 04 6E 04 04 00 BD B6 00 00 69 04 A0 00 6F 04 04 00 94 B5 00 00 B1 04 04 00 6B 57 13 30 70 04 04 00 7C AB 23 28 72 04 04 00 EF AB EF 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 4F F2 1A 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 A3 D5 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 29 01 00 00 B1 04 03 00 2C 8D 6E 70 04 03 00 C4 49 6A 72 04 03 00 68 43 04 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 80 BD 0B EF 03 09 00 F6 03 90 00 7D [23:52:57]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 BD B6 00 00 69 04 A0 00 6F 04 04 00 94 B5 00 00 B1 04 04 00 6B 57 13 30 70 04 04 00 7C AB 23 28 72 04 04 00 EF AB EF 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 4F F2 1A 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 A3 D5 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 29 01 00 00 B1 04 03 00 2C 8D 6E 70 04 03 00 C4 49 6A 72 04 03 00 68 43 04 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 80 BD 0B EF 03 09 00 F6 03 90 00 [23:52:57]wFMCommunicate OK [23:52:57]wFMCommunicate request_size=4 [23:52:57]MH_SAM_APDU [23:52:57]CAPDU: 80 17 00 00 [23:52:57]Write to MH i2c: E2 08 00 CA 66 80 17 00 00 00 00 00 00 B0 [23:52:57]Write i2c OK [23:52:57]MH_I2C_Read... [23:52:57]OFD Sender: No OFD packet to send [23:52:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:52:57]Read from MH i2c: E2 [23:52:57]MH_I2C_Read... [23:52:57]Read from MH i2c: E2 FD 00 [23:52:57]MH_I2C_Read... [23:52:57]Read from MH i2c: E2 FD 00 CA 66 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 29 [23:52:57]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:52:57]wFMCommunicate OK [23:52:57]wFMCommunicate request_size=4 [23:52:57]MH_SAM_APDU [23:52:57]CAPDU: 80 17 00 00 [23:52:57]Write to MH i2c: E2 08 00 CB 66 80 17 00 00 00 00 00 00 B1 [23:52:57]Write i2c OK [23:52:57]MH_I2C_Read... [23:52:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:52:57]Read from MH i2c: E2 [23:52:57]MH_I2C_Read... [23:52:57]Read from MH i2c: E2 FD 00 [23:52:57]MH_I2C_Read... [23:52:57]Read from MH i2c: E2 FD 00 CB 66 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 51 [23:52:57]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:52:57]wFMCommunicate OK [23:52:57]wFMCommunicate request_size=4 [23:52:57]MH_SAM_APDU [23:52:57]CAPDU: 80 17 00 00 [23:52:57]Write to MH i2c: E2 08 00 CC 66 80 17 00 00 00 00 00 00 B2 [23:52:57]Write i2c OK [23:52:57]MH_I2C_Read... [23:52:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:52:57]Read from MH i2c: E2 [23:52:57]MH_I2C_Read... [23:52:57]Read from MH i2c: E2 FD 00 [23:52:57]MH_I2C_Read... [23:52:57]Read from MH i2c: E2 FD 00 CC 66 00 03 01 00 04 F7 03 00 00 EF 03 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 90 00 37 [23:52:57]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:52:57]wFMCommunicate OK [23:52:57]wFMCommunicate request_size=4 [23:52:57]MH_SAM_APDU [23:52:57]CAPDU: 80 17 00 00 [23:52:57]Write to MH i2c: E2 08 00 CD 66 80 17 00 00 00 00 00 00 B3 [23:52:57]Write i2c OK [23:52:57]MH_I2C_Read... [23:52:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [23:52:58]Read from MH i2c: E2 [23:52:58]MH_I2C_Read... [23:52:58]Read from MH i2c: E2 DE 00 [23:52:58]MH_I2C_Read... [23:52:58]Read from MH i2c: E2 DE 00 CD 66 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 92 [23:52:58]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:52:58]wFMCommunicate OK [23:52:58]SAM_PROTO_GetFMData done [23:52:58]requested_item fm.sale_refund.total is exist - process it [23:52:58]requested_item fm.buy.total is exist - process it [23:52:58]requested_item shift.sale.total is exist - process it [23:52:58]SAM_PROTO_GetShiftData [23:52:58]wFMCommunicate request_size=4 [23:52:58]MH_SAM_APDU [23:52:58]CAPDU: 80 13 02 00 [23:52:58]Write to MH i2c: E2 08 00 CE 66 80 13 02 00 00 00 00 00 B2 [23:52:58]Write i2c OK [23:52:58]MH_I2C_Read... [23:52:58]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:52:58]Read from MH i2c: E2 [23:52:58]MH_I2C_Read... [23:52:58]Read from MH i2c: E2 FD 00 [23:52:58]MH_I2C_Read... [23:52:58]Read from MH i2c: E2 FD 00 CE 66 00 B8 04 AA 04 B4 04 6E 04 04 00 58 00 00 00 69 04 9B 00 6F 04 04 00 54 00 00 00 B1 04 03 00 D8 C2 14 70 04 03 00 B4 C1 11 72 04 03 00 24 01 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 6A 34 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 F9 2E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 04 00 00 00 B1 04 02 00 D4 AD 70 04 02 00 48 71 72 04 02 00 8C 3C 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 75 12 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 90 00 00 [23:52:58]RAPDU: B8 04 AA 04 B4 04 6E 04 04 00 58 00 00 00 69 04 9B 00 6F 04 04 00 54 00 00 00 B1 04 03 00 D8 C2 14 70 04 03 00 B4 C1 11 72 04 03 00 24 01 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 6A 34 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 F9 2E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 04 00 00 00 B1 04 02 00 D4 AD 70 04 02 00 48 71 72 04 02 00 8C 3C 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 75 12 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 90 00 [23:52:58]wFMCommunicate OK [23:52:58]wFMCommunicate request_size=4 [23:52:58]MH_SAM_APDU [23:52:58]CAPDU: 80 17 00 00 [23:52:58]Write to MH i2c: E2 08 00 CF 66 80 17 00 00 00 00 00 00 B5 [23:52:58]Write i2c OK [23:52:58]MH_I2C_Read... [23:52:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:52:58]Read from MH i2c: E2 [23:52:58]MH_I2C_Read... [23:52:58]Read from MH i2c: E2 FD 00 [23:52:58]MH_I2C_Read... [23:52:58]Read from MH i2c: E2 FD 00 CF 66 00 0B 00 F6 03 01 00 01 F7 03 02 00 89 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 70 [23:52:58]RAPDU: 0B 00 F6 03 01 00 01 F7 03 02 00 89 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:52:58]wFMCommunicate OK [23:52:58]wFMCommunicate request_size=4 [23:52:58]MH_SAM_APDU [23:52:58]CAPDU: 80 17 00 00 [23:52:58]Write to MH i2c: E2 08 00 D0 66 80 17 00 00 00 00 00 00 B6 [23:52:58]Write i2c OK [23:52:58]MH_I2C_Read... [23:52:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:52:59]Read from MH i2c: E2 [23:52:59]MH_I2C_Read... [23:52:59]Read from MH i2c: E2 FD 00 [23:52:59]MH_I2C_Read... [23:52:59]Read from MH i2c: E2 FD 00 D0 66 00 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 58 [23:52:59]RAPDU: 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:52:59]wFMCommunicate OK [23:52:59]wFMCommunicate request_size=4 [23:52:59]MH_SAM_APDU [23:52:59]CAPDU: 80 17 00 00 [23:52:59]Write to MH i2c: E2 08 00 D1 66 80 17 00 00 00 00 00 00 B7 [23:52:59]Write i2c OK [23:52:59]MH_I2C_Read... [23:52:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:52:59]Read from MH i2c: E2 [23:52:59]MH_I2C_Read... [23:52:59]Read from MH i2c: E2 FD 00 [23:52:59]MH_I2C_Read... [23:52:59]Read from MH i2c: E2 FD 00 D1 66 00 03 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 90 00 40 [23:52:59]RAPDU: 03 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 90 00 [23:52:59]wFMCommunicate OK [23:52:59]wFMCommunicate request_size=4 [23:52:59]MH_SAM_APDU [23:52:59]CAPDU: 80 17 00 00 [23:52:59]Write to MH i2c: E2 08 00 D2 66 80 17 00 00 00 00 00 00 B8 [23:52:59]Write i2c OK [23:52:59]MH_I2C_Read... [23:52:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 210! [23:52:59]Read from MH i2c: E2 [23:52:59]MH_I2C_Read... [23:52:59]Read from MH i2c: E2 D5 00 [23:52:59]MH_I2C_Read... [23:52:59]Read from MH i2c: E2 D5 00 D2 66 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 99 [23:52:59]RAPDU: EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:52:59]wFMCommunicate OK [23:52:59]SAM_PROTO_GetShiftData done [23:52:59]requested_item shift.sale.total_cash is exist - process it [23:52:59]requested_item shift.sale_refund.total is exist - process it [23:52:59]requested_item shift.sale_refund.total_cash is exist - process it [23:52:59]requested_item shift.buy.total is exist - process it [23:52:59]requested_item shift.buy.total_cash is exist - process it [23:52:59]produce_requested_data done [23:52:59]produce_requested_data return {"fm.sale.total":8065739.31,"fm.sale_refund.total":72451.00,"fm.buy.total":0.00,"shift.sale.total":13606.00,"shift.sale.total_cash":11637.00,"shift.sale_refund.total":445.00,"shift.sale_refund.total_cash":290.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [23:52:59]process_action_free get_value [23:52:59]json_value_free [23:52:59]json_value_free done [23:52:59]process_json_proto returns [23:52:59]Send response to host [23:52:59]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8065739.31,"fm.sale_refund.total":72451.00,"fm.buy.total":0.00,"shift.sale.total":13606.00,"shift.sale.total_cash":11637.00,"shift.sale_refund.total":445.00,"shift.sale_refund.total_cash":290.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [23:52:59]free response buf [23:52:59]execute_script done [23:52:59]execute_script returns [23:52:59]free content buf [23:52:59]Sock 9.Close socket [23:52:59]Sock 9.Thread stoped [23:52:59]accept exits with 7 [23:52:59]New connection [23:52:59]New thread 3066596708 created [23:52:59]Thread 3066453348 joined [23:52:59]Waiting for new connection... [23:52:59] Sock 7.Parse request [23:52:59]Sock 7.Check first char [23:52:59]Sock 7.First char is OK [23:52:59]request: POST /json_proto HTTP/1.0 [23:52:59]Method: POST [23:52:59]URL: /json_proto [23:52:59]Method is POST - this is cgi request [23:52:59]url: /json_proto [23:52:59]query_string will be loaded in cgi processing [23:52:59]execute_cgi json_proto POST (null) [23:52:59]execute_cgi path=json_proto method=POST [23:52:59]POST find Content-Length [23:52:59]Host: 172.17.32.68:8080 [23:52:59]Content-Length: 331 [23:52:59]Content-Type: application/json [23:52:59] [23:52:59]POST finish read [23:52:59]Found Content-Length = 331 [23:52:59]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:52:59]execute_script... [23:52:59]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:52:59]POST & json_proto [23:52:59]process_json_proto [23:52:59]json parsed OK: [23:52:59]protocol is kg_v1.0 [23:52:59]action value=get_value [23:52:59]process_action get_value [23:52:59]cmd_get_value [23:52:59]process_action get_value done [23:52:59]requested_data is exist [23:52:59]produce_requested_data [23:52:59]requested_item fm.sale.total is exist - process it [23:52:59]SAM_PROTO_GetFMData [23:52:59]wFMCommunicate request_size=4 [23:52:59]MH_SAM_APDU [23:52:59]CAPDU: 80 13 03 00 [23:52:59]Write to MH i2c: E2 08 00 D3 66 80 13 03 00 00 00 00 00 B8 [23:52:59]Write i2c OK [23:52:59]MH_I2C_Read... [23:53:00]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:53:00]Read from MH i2c: E2 [23:53:00]MH_I2C_Read... [23:53:00]Read from MH i2c: E2 FD 00 [23:53:00]MH_I2C_Read... [23:53:00]Read from MH i2c: E2 FD 00 D3 66 00 C1 04 85 04 BD 04 6E 04 04 00 BD B6 00 00 69 04 A0 00 6F 04 04 00 94 B5 00 00 B1 04 04 00 6B 57 13 30 70 04 04 00 7C AB 23 28 72 04 04 00 EF AB EF 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 4F F2 1A 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 A3 D5 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 29 01 00 00 B1 04 03 00 2C 8D 6E 70 04 03 00 C4 49 6A 72 04 03 00 68 43 04 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 80 BD 0B EF 03 09 00 F6 03 90 00 87 [23:53:00]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 BD B6 00 00 69 04 A0 00 6F 04 04 00 94 B5 00 00 B1 04 04 00 6B 57 13 30 70 04 04 00 7C AB 23 28 72 04 04 00 EF AB EF 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 4F F2 1A 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 A3 D5 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 29 01 00 00 B1 04 03 00 2C 8D 6E 70 04 03 00 C4 49 6A 72 04 03 00 68 43 04 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 80 BD 0B EF 03 09 00 F6 03 90 00 [23:53:00]wFMCommunicate OK [23:53:00]wFMCommunicate request_size=4 [23:53:00]MH_SAM_APDU [23:53:00]CAPDU: 80 17 00 00 [23:53:00]Write to MH i2c: E2 08 00 D4 66 80 17 00 00 00 00 00 00 BA [23:53:00]Write i2c OK [23:53:00]MH_I2C_Read... [23:53:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:53:00]Read from MH i2c: E2 [23:53:00]MH_I2C_Read... [23:53:00]Read from MH i2c: E2 FD 00 [23:53:00]MH_I2C_Read... [23:53:00]Read from MH i2c: E2 FD 00 D4 66 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 33 [23:53:00]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:53:00]wFMCommunicate OK [23:53:00]wFMCommunicate request_size=4 [23:53:00]MH_SAM_APDU [23:53:00]CAPDU: 80 17 00 00 [23:53:00]Write to MH i2c: E2 08 00 D5 66 80 17 00 00 00 00 00 00 BB [23:53:00]Write i2c OK [23:53:00]MH_I2C_Read... [23:53:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:53:01]Read from MH i2c: E2 [23:53:01]MH_I2C_Read... [23:53:01]Read from MH i2c: E2 FD 00 [23:53:01]MH_I2C_Read... [23:53:01]Read from MH i2c: E2 FD 00 D5 66 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 5B [23:53:01]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:53:01]wFMCommunicate OK [23:53:01]wFMCommunicate request_size=4 [23:53:01]MH_SAM_APDU [23:53:01]CAPDU: 80 17 00 00 [23:53:01]Write to MH i2c: E2 08 00 D6 66 80 17 00 00 00 00 00 00 BC [23:53:01]Write i2c OK [23:53:01]MH_I2C_Read... [23:53:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:53:01]Read from MH i2c: E2 [23:53:01]MH_I2C_Read... [23:53:01]Read from MH i2c: E2 FD 00 [23:53:01]MH_I2C_Read... [23:53:01]Read from MH i2c: E2 FD 00 D6 66 00 03 01 00 04 F7 03 00 00 EF 03 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 90 00 41 [23:53:01]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:53:01]wFMCommunicate OK [23:53:01]wFMCommunicate request_size=4 [23:53:01]MH_SAM_APDU [23:53:01]CAPDU: 80 17 00 00 [23:53:01]Write to MH i2c: E2 08 00 D7 66 80 17 00 00 00 00 00 00 BD [23:53:01]Write i2c OK [23:53:01]MH_I2C_Read... [23:53:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [23:53:01]Read from MH i2c: E2 [23:53:01]MH_I2C_Read... [23:53:01]Read from MH i2c: E2 DE 00 [23:53:01]MH_I2C_Read... [23:53:01]Read from MH i2c: E2 DE 00 D7 66 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9C [23:53:01]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:53:01]wFMCommunicate OK [23:53:01]SAM_PROTO_GetFMData done [23:53:01]requested_item fm.sale_refund.total is exist - process it [23:53:01]requested_item fm.buy.total is exist - process it [23:53:01]requested_item shift.sale.total is exist - process it [23:53:01]SAM_PROTO_GetShiftData [23:53:01]wFMCommunicate request_size=4 [23:53:01]MH_SAM_APDU [23:53:01]CAPDU: 80 13 02 00 [23:53:01]Write to MH i2c: E2 08 00 D8 66 80 13 02 00 00 00 00 00 BC [23:53:01]Write i2c OK [23:53:01]MH_I2C_Read... [23:53:02]OFD Sender: No OFD packet to send [23:53:02]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:53:02]Read from MH i2c: E2 [23:53:02]MH_I2C_Read... [23:53:02]Read from MH i2c: E2 FD 00 [23:53:02]MH_I2C_Read... [23:53:02]Read from MH i2c: E2 FD 00 D8 66 00 B8 04 AA 04 B4 04 6E 04 04 00 58 00 00 00 69 04 9B 00 6F 04 04 00 54 00 00 00 B1 04 03 00 D8 C2 14 70 04 03 00 B4 C1 11 72 04 03 00 24 01 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 6A 34 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 F9 2E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 04 00 00 00 B1 04 02 00 D4 AD 70 04 02 00 48 71 72 04 02 00 8C 3C 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 75 12 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 90 00 0A [23:53:02]RAPDU: B8 04 AA 04 B4 04 6E 04 04 00 58 00 00 00 69 04 9B 00 6F 04 04 00 54 00 00 00 B1 04 03 00 D8 C2 14 70 04 03 00 B4 C1 11 72 04 03 00 24 01 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 6A 34 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 F9 2E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 04 00 00 00 B1 04 02 00 D4 AD 70 04 02 00 48 71 72 04 02 00 8C 3C 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 75 12 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 90 00 [23:53:02]wFMCommunicate OK [23:53:02]wFMCommunicate request_size=4 [23:53:02]MH_SAM_APDU [23:53:02]CAPDU: 80 17 00 00 [23:53:02]Write to MH i2c: E2 08 00 D9 66 80 17 00 00 00 00 00 00 BF [23:53:02]Write i2c OK [23:53:02]MH_I2C_Read... [23:53:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:53:02]Read from MH i2c: E2 [23:53:02]MH_I2C_Read... [23:53:02]Read from MH i2c: E2 FD 00 [23:53:02]MH_I2C_Read... [23:53:02]Read from MH i2c: E2 FD 00 D9 66 00 0B 00 F6 03 01 00 01 F7 03 02 00 89 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 7A [23:53:02]RAPDU: 0B 00 F6 03 01 00 01 F7 03 02 00 89 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:53:03]wFMCommunicate OK [23:53:03]wFMCommunicate request_size=4 [23:53:03]MH_SAM_APDU [23:53:03]CAPDU: 80 17 00 00 [23:53:03]Write to MH i2c: E2 08 00 DA 66 80 17 00 00 00 00 00 00 C0 [23:53:03]Write i2c OK [23:53:03]MH_I2C_Read... [23:53:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:53:03]Read from MH i2c: E2 [23:53:03]MH_I2C_Read... [23:53:03]Read from MH i2c: E2 FD 00 [23:53:03]MH_I2C_Read... [23:53:03]Read from MH i2c: E2 FD 00 DA 66 00 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 62 [23:53:03]RAPDU: 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:53:03]wFMCommunicate OK [23:53:03]wFMCommunicate request_size=4 [23:53:03]MH_SAM_APDU [23:53:03]CAPDU: 80 17 00 00 [23:53:03]Write to MH i2c: E2 08 00 DB 66 80 17 00 00 00 00 00 00 C1 [23:53:03]Write i2c OK [23:53:03]MH_I2C_Read... [23:53:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:53:03]Read from MH i2c: E2 [23:53:03]MH_I2C_Read... [23:53:03]Read from MH i2c: E2 FD 00 [23:53:03]MH_I2C_Read... [23:53:03]Read from MH i2c: E2 FD 00 DB 66 00 03 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 90 00 4A [23:53:03]RAPDU: 03 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 90 00 [23:53:03]wFMCommunicate OK [23:53:03]wFMCommunicate request_size=4 [23:53:03]MH_SAM_APDU [23:53:03]CAPDU: 80 17 00 00 [23:53:03]Write to MH i2c: E2 08 00 DC 66 80 17 00 00 00 00 00 00 C2 [23:53:03]Write i2c OK [23:53:03]MH_I2C_Read... [23:53:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 210! [23:53:04]Read from MH i2c: E2 [23:53:04]MH_I2C_Read... [23:53:04]Read from MH i2c: E2 D5 00 [23:53:04]MH_I2C_Read... [23:53:04]Read from MH i2c: E2 D5 00 DC 66 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 A3 [23:53:04]RAPDU: EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:53:04]wFMCommunicate OK [23:53:04]SAM_PROTO_GetShiftData done [23:53:04]requested_item shift.sale.total_cash is exist - process it [23:53:04]requested_item shift.sale_refund.total is exist - process it [23:53:04]requested_item shift.sale_refund.total_cash is exist - process it [23:53:04]requested_item shift.buy.total is exist - process it [23:53:04]requested_item shift.buy.total_cash is exist - process it [23:53:04]produce_requested_data done [23:53:04]produce_requested_data return {"fm.sale.total":8065739.31,"fm.sale_refund.total":72451.00,"fm.buy.total":0.00,"shift.sale.total":13606.00,"shift.sale.total_cash":11637.00,"shift.sale_refund.total":445.00,"shift.sale_refund.total_cash":290.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [23:53:04]process_action_free get_value [23:53:04]json_value_free [23:53:04]json_value_free done [23:53:04]process_json_proto returns [23:53:04]Send response to host [23:53:04]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8065739.31,"fm.sale_refund.total":72451.00,"fm.buy.total":0.00,"shift.sale.total":13606.00,"shift.sale.total_cash":11637.00,"shift.sale_refund.total":445.00,"shift.sale_refund.total_cash":290.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [23:53:04]free response buf [23:53:04]execute_script done [23:53:04]execute_script returns [23:53:04]free content buf [23:53:04]Sock 7.Close socket [23:53:04]Sock 7.Thread stoped [23:53:04]accept exits with 9 [23:53:04]New connection [23:53:04]New thread 3066453348 created [23:53:04]Thread 3066596708 joined [23:53:04]Waiting for new connection... [23:53:04] Sock 9.Parse request [23:53:04]Sock 9.Check first char [23:53:04]Sock 9.First char is OK [23:53:04]request: POST /json_proto HTTP/1.0 [23:53:04]Method: POST [23:53:04]URL: /json_proto [23:53:04]Method is POST - this is cgi request [23:53:04]url: /json_proto [23:53:04]query_string will be loaded in cgi processing [23:53:04]execute_cgi json_proto POST (null) [23:53:04]execute_cgi path=json_proto method=POST [23:53:04]POST find Content-Length [23:53:04]Host: 172.17.32.68:8080 [23:53:04]Content-Length: 270 [23:53:04]Content-Type: application/json [23:53:04] [23:53:04]POST finish read [23:53:04]Found Content-Length = 270 [23:53:04]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u041C\u0430\u043A\u0441\u0430\u0442\u0431\u0435\u043A \u0443 \u0414. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:53:04]execute_script... [23:53:04]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u041C\u0430\u043A\u0441\u0430\u0442\u0431\u0435\u043A \u0443 \u0414. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:53:04]POST & json_proto [23:53:04]process_json_proto [23:53:04]json parsed OK: [23:53:04]protocol is kg_v1.0 [23:53:04]action value=x_report [23:53:04]process_action x_report [23:53:04]cmd_x_report [23:53:04]MH_GetDate [23:53:04]Write to MH i2c: F0 00 00 DD 66 32 [23:53:04]Write i2c OK [23:53:04]MH_I2C_Read... [23:53:04]Read from MH i2c: F0 [23:53:04]MH_I2C_Read... [23:53:04]Read from MH i2c: F0 09 00 [23:53:04]MH_I2C_Read... [23:53:04]Read from MH i2c: F0 09 00 DD 66 00 F2 EA F0 65 0A 64 6E 65 AD [23:53:04]GetLastDocTimeStamp 1710287567 [23:53:04]current date 1710287602 [23:53:04]FM_GetShiftState [23:53:04]SAM_PROTO_GetShiftState [23:53:04]wFMCommunicate request_size=4 [23:53:04]MH_SAM_APDU [23:53:04]CAPDU: 80 13 01 00 [23:53:04]Write to MH i2c: E2 08 00 DE 66 80 13 01 00 00 00 00 00 C1 [23:53:04]Write i2c OK [23:53:04]MH_I2C_Read... [23:53:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:53:04]Read from MH i2c: E2 [23:53:04]MH_I2C_Read... [23:53:04]Read from MH i2c: E2 0E 00 [23:53:04]MH_I2C_Read... [23:53:04]Read from MH i2c: E2 0E 00 DE 66 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 F0 [23:53:04]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [23:53:04]wFMCommunicate OK [23:53:04]SAM_PROTO_GetShiftState done [23:53:04]FM_GetShiftState done [23:53:04]KKMCreateXReportDocument [23:53:04]Load OK [23:53:04]Malloc new data [23:53:04]MH_GetDate [23:53:04]Write to MH i2c: F0 00 00 DF 66 34 [23:53:04]Write i2c OK [23:53:04]MH_I2C_Read... [23:53:04]Read from MH i2c: F0 [23:53:04]MH_I2C_Read... [23:53:04]Read from MH i2c: F0 09 00 [23:53:04]MH_I2C_Read... [23:53:04]Read from MH i2c: F0 09 00 DF 66 00 F2 EA F0 65 0A 64 6E 65 AF [23:53:04]Malloc new data [23:53:04]Malloc new data [23:53:04]wFMCommunicate request_size=4 [23:53:04]MH_SAM_APDU [23:53:04]CAPDU: 80 11 00 00 [23:53:04]Write to MH i2c: E2 08 00 E0 66 80 11 00 00 00 00 00 00 C0 [23:53:04]Write i2c OK [23:53:04]MH_I2C_Read... [23:53:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:53:04]Read from MH i2c: E2 [23:53:04]MH_I2C_Read... [23:53:04]Read from MH i2c: E2 17 00 [23:53:04]MH_I2C_Read... [23:53:04]Read from MH i2c: E2 17 00 E0 66 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 12 [23:53:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [23:53:04]wFMCommunicate OK [23:53:04]SAM_PROTO_GetFieldsCounters [23:53:04]wFMCommunicate request_size=4 [23:53:04]MH_SAM_APDU [23:53:04]CAPDU: 80 13 00 00 [23:53:04]Write to MH i2c: E2 08 00 E1 66 80 13 00 00 00 00 00 00 C3 [23:53:04]Write i2c OK [23:53:04]MH_I2C_Read... [23:53:04]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:53:04]Read from MH i2c: E2 [23:53:04]MH_I2C_Read... [23:53:04]Read from MH i2c: E2 62 00 [23:53:04]MH_I2C_Read... [23:53:04]Read from MH i2c: E2 62 00 E1 66 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 32 B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 58 00 00 00 5E 04 04 00 58 00 00 00 57 04 04 00 59 00 00 00 19 04 04 00 00 00 00 00 90 00 0C [23:53: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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 32 B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 58 00 00 00 5E 04 04 00 58 00 00 00 57 04 04 00 59 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:53:04]wFMCommunicate OK [23:53:04]SAM_PROTO_GetFieldsCounters done [23:53:04]Malloc new data [23:53:04]Malloc new data [23:53:04]Malloc new data [23:53:04]KKMCreateXReportDocument OK [23:53:04]KKMSetXReportData OK [23:53:04]KKMPrepareXReportFMData [23:53:04]SAM_PROTO_GetShiftData [23:53:04]wFMCommunicate request_size=4 [23:53:04]MH_SAM_APDU [23:53:04]CAPDU: 80 13 02 00 [23:53:04]Write to MH i2c: E2 08 00 E2 66 80 13 02 00 00 00 00 00 C6 [23:53:04]Write i2c OK [23:53:04]MH_I2C_Read... [23:53:05]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:53:05]Read from MH i2c: E2 [23:53:05]MH_I2C_Read... [23:53:05]Read from MH i2c: E2 FD 00 [23:53:05]MH_I2C_Read... [23:53:05]Read from MH i2c: E2 FD 00 E2 66 00 B8 04 AA 04 B4 04 6E 04 04 00 58 00 00 00 69 04 9B 00 6F 04 04 00 54 00 00 00 B1 04 03 00 D8 C2 14 70 04 03 00 B4 C1 11 72 04 03 00 24 01 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 6A 34 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 F9 2E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 04 00 00 00 B1 04 02 00 D4 AD 70 04 02 00 48 71 72 04 02 00 8C 3C 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 75 12 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 90 00 14 [23:53:05]RAPDU: B8 04 AA 04 B4 04 6E 04 04 00 58 00 00 00 69 04 9B 00 6F 04 04 00 54 00 00 00 B1 04 03 00 D8 C2 14 70 04 03 00 B4 C1 11 72 04 03 00 24 01 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 6A 34 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 F9 2E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 04 00 00 00 B1 04 02 00 D4 AD 70 04 02 00 48 71 72 04 02 00 8C 3C 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 75 12 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 90 00 [23:53:05]wFMCommunicate OK [23:53:05]wFMCommunicate request_size=4 [23:53:05]MH_SAM_APDU [23:53:05]CAPDU: 80 17 00 00 [23:53:05]Write to MH i2c: E2 08 00 E3 66 80 17 00 00 00 00 00 00 C9 [23:53:05]Write i2c OK [23:53:05]MH_I2C_Read... [23:53:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:53:05]Read from MH i2c: E2 [23:53:05]MH_I2C_Read... [23:53:05]Read from MH i2c: E2 FD 00 [23:53:05]MH_I2C_Read... [23:53:05]Read from MH i2c: E2 FD 00 E3 66 00 0B 00 F6 03 01 00 01 F7 03 02 00 89 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 84 [23:53:05]RAPDU: 0B 00 F6 03 01 00 01 F7 03 02 00 89 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:53:05]wFMCommunicate OK [23:53:05]wFMCommunicate request_size=4 [23:53:05]MH_SAM_APDU [23:53:05]CAPDU: 80 17 00 00 [23:53:05]Write to MH i2c: E2 08 00 E4 66 80 17 00 00 00 00 00 00 CA [23:53:05]Write i2c OK [23:53:05]MH_I2C_Read... [23:53:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:53:06]Read from MH i2c: E2 [23:53:06]MH_I2C_Read... [23:53:06]Read from MH i2c: E2 FD 00 [23:53:06]MH_I2C_Read... [23:53:06]Read from MH i2c: E2 FD 00 E4 66 00 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 6C [23:53:06]RAPDU: 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:53:06]wFMCommunicate OK [23:53:06]wFMCommunicate request_size=4 [23:53:06]MH_SAM_APDU [23:53:06]CAPDU: 80 17 00 00 [23:53:06]Write to MH i2c: E2 08 00 E5 66 80 17 00 00 00 00 00 00 CB [23:53:06]Write i2c OK [23:53:06]MH_I2C_Read... [23:53:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:53:06]Read from MH i2c: E2 [23:53:06]MH_I2C_Read... [23:53:06]Read from MH i2c: E2 FD 00 [23:53:06]MH_I2C_Read... [23:53:06]Read from MH i2c: E2 FD 00 E5 66 00 03 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 90 00 54 [23:53:06]RAPDU: 03 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 90 00 [23:53:06]wFMCommunicate OK [23:53:06]wFMCommunicate request_size=4 [23:53:06]MH_SAM_APDU [23:53:06]CAPDU: 80 17 00 00 [23:53:06]Write to MH i2c: E2 08 00 E6 66 80 17 00 00 00 00 00 00 CC [23:53:06]Write i2c OK [23:53:06]MH_I2C_Read... [23:53:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 210! [23:53:07]Read from MH i2c: E2 [23:53:07]MH_I2C_Read... [23:53:07]Read from MH i2c: E2 D5 00 [23:53:07]MH_I2C_Read... [23:53:07]Read from MH i2c: E2 D5 00 E6 66 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 AD [23:53:07]RAPDU: EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:53:07]wFMCommunicate OK [23:53:07]SAM_PROTO_GetShiftData done [23:53:07]1194 (1204) - счетчики итогов смены [23:53:07] 1134 (4) - 88 - количество чеков со всеми признаками расчетов [23:53:07] 1129 (155) - счетчики операций «приход» [23:53:07] 1135 (4) - 84 - количество чеков по признаку расчетов [23:53:07] 1201 (3) - 13606.00 - общая итоговая сумма в чеках [23:53:07] 1136 (3) - 11637.00 - итоговая сумма в чеках наличными [23:53:07] 1138 (3) - 1969.00 - итоговая сумма в чеках безналичными [23:53:07] 1024 (122) - суммы налогов [23:53:07] 1006 (9) - суммы НДС [23:53:07] 1010 (1) - 0% - код ставки НДС [23:53:07] 1011 (0) - 0.00 - сумма НДС по ставке [23:53:07] 1006 (12) - суммы НДС [23:53:07] 1010 (1) - 12% - код ставки НДС [23:53:07] 1011 (3) - 1444.90 - сумма НДС по ставке [23:53:07] 1007 (9) - суммы НСП [23:53:07] 1014 (1) - 0% - код ставки НСП [23:53:07] 1015 (0) - 0.00 - сумма НСП по ставке [23:53:07] 1007 (11) - суммы НСП [23:53:07] 1014 (1) - 1% - код ставки НСП [23:53:07] 1015 (2) - 120.25 - сумма НСП по ставке [23:53:07] 1007 (9) - суммы НСП [23:53:07] 1014 (1) - 2% - код ставки НСП [23:53:07] 1015 (0) - 0.00 - сумма НСП по ставке [23:53:07] 1007 (9) - суммы НСП [23:53:07] 1014 (1) - 3% - код ставки НСП [23:53:07] 1015 (0) - 0.00 - сумма НСП по ставке [23:53:07] 1007 (9) - суммы НСП [23:53:07] 1014 (1) - 5% - код ставки НСП [23:53:07] 1015 (0) - 0.00 - сумма НСП по ставке [23:53:07] 1007 (9) - суммы НСП [23:53:07] 1014 (1) - 0,50% - код ставки НСП [23:53:07] 1015 (0) - 0.00 - сумма НСП по ставке [23:53:07] 1007 (9) - суммы НСП [23:53:07] 1014 (1) - 1,50% - код ставки НСП [23:53:07] 1015 (0) - 0.00 - сумма НСП по ставке [23:53:07] 1130 (151) - счетчики операций «возврат прихода» [23:53:07] 1135 (4) - 4 - количество чеков по признаку расчетов [23:53:07] 1201 (2) - 445.00 - общая итоговая сумма в чеках [23:53:07] 1136 (2) - 290.00 - итоговая сумма в чеках наличными [23:53:07] 1138 (2) - 155.00 - итоговая сумма в чеках безналичными [23:53:07] 1024 (121) - суммы налогов [23:53:07] 1006 (9) - суммы НДС [23:53:07] 1010 (1) - 0% - код ставки НДС [23:53:07] 1011 (0) - 0.00 - сумма НДС по ставке [23:53:07] 1006 (11) - суммы НДС [23:53:07] 1010 (1) - 12% - код ставки НДС [23:53:07] 1011 (2) - 47.25 - сумма НДС по ставке [23:53:07] 1007 (9) - суммы НСП [23:53:07] 1014 (1) - 0% - код ставки НСП [23:53:07] 1015 (0) - 0.00 - сумма НСП по ставке [23:53:07] 1007 (11) - суммы НСП [23:53:07] 1014 (1) - 1% - код ставки НСП [23:53:07] 1015 (2) - 3.93 - сумма НСП по ставке [23:53:07] 1007 (9) - суммы НСП [23:53:07] 1014 (1) - 2% - код ставки НСП [23:53:07] 1015 (0) - 0.00 - сумма НСП по ставке [23:53:07] 1007 (9) - суммы НСП [23:53:07] 1014 (1) - 3% - код ставки НСП [23:53:07] OFD Sender: No OFD packet to send [23:53:07] 1015 (0) - 0.00 - сумма НСП по ставке [23:53:07] 1007 (9) - суммы НСП [23:53:07] 1014 (1) - 5% - код ставки НСП [23:53:07] 1015 (0) - 0.00 - сумма НСП по ставке [23:53:07] 1007 (9) - суммы НСП [23:53:07] 1014 (1) - 0,50% - код ставки НСП [23:53:07] 1015 (0) - 0.00 - сумма НСП по ставке [23:53:07] 1007 (9) - суммы НСП [23:53:07] 1014 (1) - 1,50% - код ставки НСП [23:53:07] 1015 (0) - 0.00 - сумма НСП по ставке [23:53:07] 1131 (141) - счетчики операций «расход» [23:53:07] 1135 (4) - 0 - количество чеков по признаку расчетов [23:53:07] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:53:07] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:53:07] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:53:07] 1024 (117) - суммы налогов [23:53:07] 1006 (9) - суммы НДС [23:53:07] 1010 (1) - 0% - код ставки НДС [23:53:07] 1011 (0) - 0.00 - сумма НДС по ставке [23:53:07] 1006 (9) - суммы НДС [23:53:07] 1010 (1) - 12% - код ставки НДС [23:53:07] 1011 (0) - 0.00 - сумма НДС по ставке [23:53:07] 1007 (9) - суммы НСП [23:53:07] 1014 (1) - 0% - код ставки НСП [23:53:07] 1015 (0) - 0.00 - сумма НСП по ставке [23:53:07] 1007 (9) - суммы НСП [23:53:07] 1014 (1) - 1% - код ставки НСП [23:53:07] 1015 (0) - 0.00 - сумма НСП по ставке [23:53:07] 1007 (9) - суммы НСП [23:53:07] 1014 (1) - 2% - код ставки НСП [23:53:07] 1015 (0) - 0.00 - сумма НСП по ставке [23:53:07] 1007 (9) - суммы НСП [23:53:07] 1014 (1) - 3% - код ставки НСП [23:53:07] 1015 (0) - 0.00 - сумма НСП по ставке [23:53:07] 1007 (9) - суммы НСП [23:53:07] 1014 (1) - 5% - код ставки НСП [23:53:07] 1015 (0) - 0.00 - сумма НСП по ставке [23:53:07] 1007 (9) - суммы НСП [23:53:07] 1014 (1) - 0,50% - код ставки НСП [23:53:07] 1015 (0) - 0.00 - сумма НСП по ставке [23:53:07] 1007 (9) - суммы НСП [23:53:07] 1014 (1) - 1,50% - код ставки НСП [23:53:07] 1015 (0) - 0.00 - сумма НСП по ставке [23:53:07] 1132 (141) - счетчики операций «возврат расхода» [23:53:07] 1135 (4) - 0 - количество чеков по признаку расчетов [23:53:07] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:53:07] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:53:07] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:53:07] 1024 (117) - суммы налогов [23:53:07] 1006 (9) - суммы НДС [23:53:07] 1010 (1) - 0% - код ставки НДС [23:53:07] 1011 (0) - 0.00 - сумма НДС по ставке [23:53:07] 1006 (9) - суммы НДС [23:53:07] 1010 (1) - 12% - код ставки НДС [23:53:07] 1011 (0) - 0.00 - сумма НДС по ставке [23:53:07] 1007 (9) - суммы НСП [23:53:07] 1014 (1) - 0% - код ставки НСП [23:53:07] 1015 (0) - 0.00 - сумма НСП по ставке [23:53:07] 1007 (9) - суммы НСП [23:53:07] 1014 (1) - 1% - код ставки НСП [23:53:07] 1015 (0) - 0.00 - сумма НСП по ставке [23:53:07] 1007 (9) - суммы НСП [23:53:07] 1014 (1) - 2% - код ставки НСП [23:53:07] 1015 (0) - 0.00 - сумма НСП по ставке [23:53:07] 1007 (9) - суммы НСП [23:53:07] 1014 (1) - 3% - код ставки НСП [23:53:07] 1015 (0) - 0.00 - сумма НСП по ставке [23:53:07] 1007 (9) - суммы НСП [23:53:07] 1014 (1) - 5% - код ставки НСП [23:53:07] 1015 (0) - 0.00 - сумма НСП по ставке [23:53:07] 1007 (9) - суммы НСП [23:53:07] 1014 (1) - 0,50% - код ставки НСП [23:53:07] 1015 (0) - 0.00 - сумма НСП по ставке [23:53:07] 1007 (9) - суммы НСП [23:53:07] 1014 (1) - 1,50% - код ставки НСП [23:53:07] 1015 (0) - 0.00 - сумма НСП по ставке [23:53:07] 1133 (588) - - счетчики коррекции - не используются [23:53:07]SetTLVBufToDocument [23:53:07]Processing tag 1194 (04AA) [23:53:07]Load OK [23:53:07]SetTLVBufToDocument [23:53:07]Processing tag 1134 (046E) [23:53:07]Malloc new data [23:53:07]Processing tag 1129 (0469) [23:53:07]Load OK [23:53:07]SetTLVBufToDocument [23:53:07]Processing tag 1135 (046F) [23:53:07]Malloc new data [23:53:07]Processing tag 1201 (04B1) [23:53:07]Malloc new data [23:53:07]Processing tag 1136 (0470) [23:53:07]Malloc new data [23:53:07]Processing tag 1138 (0472) [23:53:07]Malloc new data [23:53:07]Processing tag 1024 (0400) [23:53:07]Load OK [23:53:07]SetTLVBufToDocument [23:53:07]Processing tag 1006 (03EE) [23:53:07]Load OK [23:53:07]SetTLVBufToDocument [23:53:07]Processing tag 1010 (03F2) [23:53:07]Malloc new data [23:53:07]Processing tag 1011 (03F3) [23:53:07]Malloc new data [23:53:07]SetTLVBufToDocument err=0 [23:53:07]Processing tag 1006 (03EE) [23:53:07]Load OK [23:53:07]SetTLVBufToDocument [23:53:07]Processing tag 1010 (03F2) [23:53:07]Malloc new data [23:53:07]Processing tag 1011 (03F3) [23:53:07]Malloc new data [23:53:07]SetTLVBufToDocument err=0 [23:53:07]Processing tag 1007 (03EF) [23:53:07]Load OK [23:53:07]SetTLVBufToDocument [23:53:07]Processing tag 1014 (03F6) [23:53:07]Malloc new data [23:53:07]Processing tag 1015 (03F7) [23:53:07]Malloc new data [23:53:07]SetTLVBufToDocument err=0 [23:53:07]Processing tag 1007 (03EF) [23:53:07]Load OK [23:53:07]SetTLVBufToDocument [23:53:07]Processing tag 1014 (03F6) [23:53:07]Malloc new data [23:53:07]Processing tag 1015 (03F7) [23:53:07]Malloc new data [23:53:07]SetTLVBufToDocument err=0 [23:53:07]Processing tag 1007 (03EF) [23:53:07]Load OK [23:53:07]SetTLVBufToDocument [23:53:07]Processing tag 1014 (03F6) [23:53:07]Malloc new data [23:53:07]Processing tag 1015 (03F7) [23:53:07]Malloc new data [23:53:07]SetTLVBufToDocument err=0 [23:53:07]Processing tag 1007 (03EF) [23:53:07]Load OK [23:53:07]SetTLVBufToDocument [23:53:07]Processing tag 1014 (03F6) [23:53:07]Malloc new data [23:53:07]Processing tag 1015 (03F7) [23:53:07]Malloc new data [23:53:07]SetTLVBufToDocument err=0 [23:53:07]Processing tag 1007 (03EF) [23:53:07]Load OK [23:53:07]SetTLVBufToDocument [23:53:07]Processing tag 1014 (03F6) [23:53:07]Malloc new data [23:53:07]Processing tag 1015 (03F7) [23:53:07]Malloc new data [23:53:07]SetTLVBufToDocument err=0 [23:53:07]Processing tag 1007 (03EF) [23:53:07]Load OK [23:53:07]SetTLVBufToDocument [23:53:08]Processing tag 1014 (03F6) [23:53:08]Malloc new data [23:53:08]Processing tag 1015 (03F7) [23:53:08]Malloc new data [23:53:08]SetTLVBufToDocument err=0 [23:53:08]Processing tag 1007 (03EF) [23:53:08]Load OK [23:53:08]SetTLVBufToDocument [23:53:08]Processing tag 1014 (03F6) [23:53:08]Malloc new data [23:53:08]Processing tag 1015 (03F7) [23:53:08]Malloc new data [23:53:08]SetTLVBufToDocument err=0 [23:53:08]SetTLVBufToDocument err=0 [23:53:08]SetTLVBufToDocument err=0 [23:53:08]Processing tag 1130 (046A) [23:53:08]Load OK [23:53:08]SetTLVBufToDocument [23:53:08]Processing tag 1135 (046F) [23:53:08]Malloc new data [23:53:08]Processing tag 1201 (04B1) [23:53:08]Malloc new data [23:53:08]Processing tag 1136 (0470) [23:53:08]Malloc new data [23:53:08]Processing tag 1138 (0472) [23:53:08]Malloc new data [23:53:08]Processing tag 1024 (0400) [23:53:08]Load OK [23:53:08]SetTLVBufToDocument [23:53:08]Processing tag 1006 (03EE) [23:53:08]Load OK [23:53:08]SetTLVBufToDocument [23:53:08]Processing tag 1010 (03F2) [23:53:08]Malloc new data [23:53:08]Processing tag 1011 (03F3) [23:53:08]Malloc new data [23:53:08]SetTLVBufToDocument err=0 [23:53:08]Processing tag 1006 (03EE) [23:53:08]Load OK [23:53:08]SetTLVBufToDocument [23:53:08]Processing tag 1010 (03F2) [23:53:08]Malloc new data [23:53:08]Processing tag 1011 (03F3) [23:53:08]Malloc new data [23:53:08]SetTLVBufToDocument err=0 [23:53:08]Processing tag 1007 (03EF) [23:53:08]Load OK [23:53:08]SetTLVBufToDocument [23:53:08]Processing tag 1014 (03F6) [23:53:08]Malloc new data [23:53:08]Processing tag 1015 (03F7) [23:53:08]Malloc new data [23:53:08]SetTLVBufToDocument err=0 [23:53:08]Processing tag 1007 (03EF) [23:53:08]Load OK [23:53:08]SetTLVBufToDocument [23:53:08]Processing tag 1014 (03F6) [23:53:08]Malloc new data [23:53:08]Processing tag 1015 (03F7) [23:53:08]Malloc new data [23:53:08]SetTLVBufToDocument err=0 [23:53:08]Processing tag 1007 (03EF) [23:53:08]Load OK [23:53:08]SetTLVBufToDocument [23:53:08]Processing tag 1014 (03F6) [23:53:08]Malloc new data [23:53:08]Processing tag 1015 (03F7) [23:53:08]Malloc new data [23:53:08]SetTLVBufToDocument err=0 [23:53:08]Processing tag 1007 (03EF) [23:53:08]Load OK [23:53:08]SetTLVBufToDocument [23:53:08]Processing tag 1014 (03F6) [23:53:08]Malloc new data [23:53:08]Processing tag 1015 (03F7) [23:53:08]Malloc new data [23:53:08]SetTLVBufToDocument err=0 [23:53:08]Processing tag 1007 (03EF) [23:53:08]Load OK [23:53:08]SetTLVBufToDocument [23:53:08]Processing tag 1014 (03F6) [23:53:08]Malloc new data [23:53:08]Processing tag 1015 (03F7) [23:53:08]Malloc new data [23:53:08]SetTLVBufToDocument err=0 [23:53:08]Processing tag 1007 (03EF) [23:53:08]Load OK [23:53:08]SetTLVBufToDocument [23:53:08]Processing tag 1014 (03F6) [23:53:08]Malloc new data [23:53:08]Processing tag 1015 (03F7) [23:53:08]Malloc new data [23:53:08]SetTLVBufToDocument err=0 [23:53:08]Processing tag 1007 (03EF) [23:53:08]Load OK [23:53:08]SetTLVBufToDocument [23:53:08]Processing tag 1014 (03F6) [23:53:08]Malloc new data [23:53:08]Processing tag 1015 (03F7) [23:53:08]Malloc new data [23:53:08]SetTLVBufToDocument err=0 [23:53:08]SetTLVBufToDocument err=0 [23:53:08]SetTLVBufToDocument err=0 [23:53:08]Processing tag 1131 (046B) [23:53:08]Load OK [23:53:08]SetTLVBufToDocument [23:53:08]Processing tag 1135 (046F) [23:53:08]Malloc new data [23:53:08]Processing tag 1201 (04B1) [23:53:08]Malloc new data [23:53:08]Processing tag 1136 (0470) [23:53:08]Malloc new data [23:53:08]Processing tag 1138 (0472) [23:53:08]Malloc new data [23:53:08]Processing tag 1024 (0400) [23:53:08]Load OK [23:53:08]SetTLVBufToDocument [23:53:08]Processing tag 1006 (03EE) [23:53:08]Load OK [23:53:08]SetTLVBufToDocument [23:53:08]Processing tag 1010 (03F2) [23:53:08]Malloc new data [23:53:08]Processing tag 1011 (03F3) [23:53:08]Malloc new data [23:53:08]SetTLVBufToDocument err=0 [23:53:08]Processing tag 1006 (03EE) [23:53:08]Load OK [23:53:08]SetTLVBufToDocument [23:53:08]Processing tag 1010 (03F2) [23:53:08]Malloc new data [23:53:08]Processing tag 1011 (03F3) [23:53:08]Malloc new data [23:53:08]SetTLVBufToDocument err=0 [23:53:08]Processing tag 1007 (03EF) [23:53:08]Load OK [23:53:08]SetTLVBufToDocument [23:53:08]Processing tag 1014 (03F6) [23:53:08]Malloc new data [23:53:08]Processing tag 1015 (03F7) [23:53:08]Malloc new data [23:53:08]SetTLVBufToDocument err=0 [23:53:08]Processing tag 1007 (03EF) [23:53:08]Load OK [23:53:08]SetTLVBufToDocument [23:53:08]Processing tag 1014 (03F6) [23:53:08]Malloc new data [23:53:08]Processing tag 1015 (03F7) [23:53:08]Malloc new data [23:53:08]SetTLVBufToDocument err=0 [23:53:08]Processing tag 1007 (03EF) [23:53:08]Load OK [23:53:08]SetTLVBufToDocument [23:53:08]Processing tag 1014 (03F6) [23:53:08]Malloc new data [23:53:08]Processing tag 1015 (03F7) [23:53:08]Malloc new data [23:53:08]SetTLVBufToDocument err=0 [23:53:08]Processing tag 1007 (03EF) [23:53:08]Load OK [23:53:08]SetTLVBufToDocument [23:53:08]Processing tag 1014 (03F6) [23:53:08]Malloc new data [23:53:08]Processing tag 1015 (03F7) [23:53:08]Malloc new data [23:53:08]SetTLVBufToDocument err=0 [23:53:08]Processing tag 1007 (03EF) [23:53:08]Load OK [23:53:08]SetTLVBufToDocument [23:53:08]Processing tag 1014 (03F6) [23:53:08]Malloc new data [23:53:08]Processing tag 1015 (03F7) [23:53:08]Malloc new data [23:53:08]SetTLVBufToDocument err=0 [23:53:08]Processing tag 1007 (03EF) [23:53:08]Load OK [23:53:08]SetTLVBufToDocument [23:53:08]Processing tag 1014 (03F6) [23:53:08]Malloc new data [23:53:08]Processing tag 1015 (03F7) [23:53:08]Malloc new data [23:53:08]SetTLVBufToDocument err=0 [23:53:08]Processing tag 1007 (03EF) [23:53:08]Load OK [23:53:08]SetTLVBufToDocument [23:53:08]Processing tag 1014 (03F6) [23:53:08]Malloc new data [23:53:08]Processing tag 1015 (03F7) [23:53:08]Malloc new data [23:53:08]SetTLVBufToDocument err=0 [23:53:08]SetTLVBufToDocument err=0 [23:53:08]SetTLVBufToDocument err=0 [23:53:08]Processing tag 1132 (046C) [23:53:08]Load OK [23:53:08]SetTLVBufToDocument [23:53:08]Processing tag 1135 (046F) [23:53:08]Malloc new data [23:53:08]Processing tag 1201 (04B1) [23:53:08]Malloc new data [23:53:08]Processing tag 1136 (0470) [23:53:08]Malloc new data [23:53:08]Processing tag 1138 (0472) [23:53:08]Malloc new data [23:53:08]Processing tag 1024 (0400) [23:53:08]Load OK [23:53:08]SetTLVBufToDocument [23:53:08]Processing tag 1006 (03EE) [23:53:08]Load OK [23:53:08]SetTLVBufToDocument [23:53:08]Processing tag 1010 (03F2) [23:53:08]Malloc new data [23:53:08]Processing tag 1011 (03F3) [23:53:08]Malloc new data [23:53:08]SetTLVBufToDocument err=0 [23:53:08]Processing tag 1006 (03EE) [23:53:08]Load OK [23:53:08]SetTLVBufToDocument [23:53:08]Processing tag 1010 (03F2) [23:53:08]Malloc new data [23:53:08]Processing tag 1011 (03F3) [23:53:08]Malloc new data [23:53:08]SetTLVBufToDocument err=0 [23:53:08]Processing tag 1007 (03EF) [23:53:08]Load OK [23:53:08]SetTLVBufToDocument [23:53:08]Processing tag 1014 (03F6) [23:53:08]Malloc new data [23:53:08]Processing tag 1015 (03F7) [23:53:08]Malloc new data [23:53:08]SetTLVBufToDocument err=0 [23:53:08]Processing tag 1007 (03EF) [23:53:08]Load OK [23:53:08]SetTLVBufToDocument [23:53:08]Processing tag 1014 (03F6) [23:53:08]Malloc new data [23:53:08]Processing tag 1015 (03F7) [23:53:08]Malloc new data [23:53:08]SetTLVBufToDocument err=0 [23:53:08]Processing tag 1007 (03EF) [23:53:08]Load OK [23:53:08]SetTLVBufToDocument [23:53:08]Processing tag 1014 (03F6) [23:53:08]Malloc new data [23:53:08]Processing tag 1015 (03F7) [23:53:08]Malloc new data [23:53:08]SetTLVBufToDocument err=0 [23:53:08]Processing tag 1007 (03EF) [23:53:08]Load OK [23:53:08]SetTLVBufToDocument [23:53:08]Processing tag 1014 (03F6) [23:53:08]Malloc new data [23:53:08]Processing tag 1015 (03F7) [23:53:08]Malloc new data [23:53:08]SetTLVBufToDocument err=0 [23:53:08]Processing tag 1007 (03EF) [23:53:08]Load OK [23:53:08]SetTLVBufToDocument [23:53:08]Processing tag 1014 (03F6) [23:53:08]Malloc new data [23:53:08]Processing tag 1015 (03F7) [23:53:08]Malloc new data [23:53:08]SetTLVBufToDocument err=0 [23:53:08]Processing tag 1007 (03EF) [23:53:08]Load OK [23:53:08]SetTLVBufToDocument [23:53:08]Processing tag 1014 (03F6) [23:53:08]Malloc new data [23:53:08]Processing tag 1015 (03F7) [23:53:08]Malloc new data [23:53:08]SetTLVBufToDocument err=0 [23:53:08]Processing tag 1007 (03EF) [23:53:08]Load OK [23:53:08]SetTLVBufToDocument [23:53:08]Processing tag 1014 (03F6) [23:53:08]Malloc new data [23:53:08]Processing tag 1015 (03F7) [23:53:08]Malloc new data [23:53:08]SetTLVBufToDocument err=0 [23:53:08]SetTLVBufToDocument err=0 [23:53:08]SetTLVBufToDocument err=0 [23:53:08]Processing tag 1133 (046D) [23:53:08]Malloc new data [23:53:08]SetTLVBufToDocument err=0 [23:53:08]SetTLVBufToDocument err=0 [23:53:08]Malloc new data [23:53:08]SAM_PROTO_GetFMData [23:53:08]wFMCommunicate request_size=4 [23:53:08]MH_SAM_APDU [23:53:08]CAPDU: 80 13 03 00 [23:53:08]Write to MH i2c: E2 08 00 E7 66 80 13 03 00 00 00 00 00 CC [23:53:08]Write i2c OK [23:53:08]MH_I2C_Read... [23:53:08]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:53:08]Read from MH i2c: E2 [23:53:08]MH_I2C_Read... [23:53:08]Read from MH i2c: E2 FD 00 [23:53:08]MH_I2C_Read... [23:53:08]Read from MH i2c: E2 FD 00 E7 66 00 C1 04 85 04 BD 04 6E 04 04 00 BD B6 00 00 69 04 A0 00 6F 04 04 00 94 B5 00 00 B1 04 04 00 6B 57 13 30 70 04 04 00 7C AB 23 28 72 04 04 00 EF AB EF 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 4F F2 1A 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 A3 D5 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 29 01 00 00 B1 04 03 00 2C 8D 6E 70 04 03 00 C4 49 6A 72 04 03 00 68 43 04 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 80 BD 0B EF 03 09 00 F6 03 90 00 9B [23:53:09]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 BD B6 00 00 69 04 A0 00 6F 04 04 00 94 B5 00 00 B1 04 04 00 6B 57 13 30 70 04 04 00 7C AB 23 28 72 04 04 00 EF AB EF 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 4F F2 1A 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 A3 D5 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 29 01 00 00 B1 04 03 00 2C 8D 6E 70 04 03 00 C4 49 6A 72 04 03 00 68 43 04 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 80 BD 0B EF 03 09 00 F6 03 90 00 [23:53:09]wFMCommunicate OK [23:53:09]wFMCommunicate request_size=4 [23:53:09]MH_SAM_APDU [23:53:09]CAPDU: 80 17 00 00 [23:53:09]Write to MH i2c: E2 08 00 E8 66 80 17 00 00 00 00 00 00 CE [23:53:09]Write i2c OK [23:53:09]MH_I2C_Read... [23:53:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:53:09]Read from MH i2c: E2 [23:53:09]MH_I2C_Read... [23:53:09]Read from MH i2c: E2 FD 00 [23:53:09]MH_I2C_Read... [23:53:09]Read from MH i2c: E2 FD 00 E8 66 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 47 [23:53:09]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:53:09]wFMCommunicate OK [23:53:09]wFMCommunicate request_size=4 [23:53:09]MH_SAM_APDU [23:53:09]CAPDU: 80 17 00 00 [23:53:09]Write to MH i2c: E2 08 00 E9 66 80 17 00 00 00 00 00 00 CF [23:53:09]Write i2c OK [23:53:09]MH_I2C_Read... [23:53:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:53:09]Read from MH i2c: E2 [23:53:09]MH_I2C_Read... [23:53:10]Read from MH i2c: E2 FD 00 [23:53:10]MH_I2C_Read... [23:53:10]Read from MH i2c: E2 FD 00 E9 66 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 6F [23:53:10]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:53:10]wFMCommunicate OK [23:53:10]wFMCommunicate request_size=4 [23:53:10]MH_SAM_APDU [23:53:10]CAPDU: 80 17 00 00 [23:53:10]Write to MH i2c: E2 08 00 EA 66 80 17 00 00 00 00 00 00 D0 [23:53:10]Write i2c OK [23:53:10]MH_I2C_Read... [23:53:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:53:10]Read from MH i2c: E2 [23:53:10]MH_I2C_Read... [23:53:10]Read from MH i2c: E2 FD 00 [23:53:10]MH_I2C_Read... [23:53:10]Read from MH i2c: E2 FD 00 EA 66 00 03 01 00 04 F7 03 00 00 EF 03 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 90 00 55 [23:53:10]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:53:10]wFMCommunicate OK [23:53:10]wFMCommunicate request_size=4 [23:53:10]MH_SAM_APDU [23:53:10]CAPDU: 80 17 00 00 [23:53:10]Write to MH i2c: E2 08 00 EB 66 80 17 00 00 00 00 00 00 D1 [23:53:10]Write i2c OK [23:53:10]MH_I2C_Read... [23:53:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [23:53:11]Read from MH i2c: E2 [23:53:11]MH_I2C_Read... [23:53:11]Read from MH i2c: E2 DE 00 [23:53:11]MH_I2C_Read... [23:53:11]Read from MH i2c: E2 DE 00 EB 66 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 B0 [23:53:11]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:53:11]wFMCommunicate OK [23:53:11]SAM_PROTO_GetFMData done [23:53:11]FM_GetFMData:85 04 BD 04 6E 04 04 00 BD B6 00 00 69 04 A0 00 6F 04 04 00 94 B5 00 00 B1 04 04 00 6B 57 13 30 70 04 04 00 7C AB 23 28 72 04 04 00 EF AB EF 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 4F F2 1A 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 A3 D5 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 29 01 00 00 B1 04 03 00 2C 8D 6E 70 04 03 00 C4 49 6A 72 04 03 00 68 43 04 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 80 BD 0B EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [23:53:11]oper:6F 04 04 00 94 B5 00 00 B1 04 04 00 6B 57 13 30 70 04 04 00 7C AB 23 28 72 04 04 00 EF AB EF 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 4F F2 1A 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 A3 D5 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [23:53:11]total:6B 57 13 30 [23:53:11]Malloc new data [23:53:11]oper:6F 04 04 00 29 01 00 00 B1 04 03 00 2C 8D 6E 70 04 03 00 C4 49 6A 72 04 03 00 68 43 04 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 80 BD 0B EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [23:53:12]total:2C 8D 6E [23:53:12]Malloc new data [23:53:12]oper:6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [23:53:12]total: [23:53:12]Malloc new data [23:53:12]oper:6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [23:53:12]total: [23:53:12]Malloc new data [23:53:12]KKMPrepareXReportFMData err=0 [23:53:12]Х отчет ИНН: 02508201610067 Кассир: Максатбек у Д. 12.03.2024 23:53 Смена: 266 РНМ: 0000000000092018 ЗНМ: 0300000097 СНО: Общий режим Всего чеков: 88 ИТОГИ ПРИХОД Чеков: 84 Общий итог: 13606.00 Итого наличными: 11637.00 Итого безнал.: 1969.00 НДС 0% : 0.00 НДС 12% : 1444.90 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 120.25 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 4 Общий итог: 445.00 Итого наличными: 290.00 Итого безнал.: 155.00 НДС 0% : 0.00 НДС 12% : 47.25 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 3.93 ИТОГИ РАСХОД Чеков: 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 Нал. в кассе: 11347.00 НС Приход: 8065739.31 НС Возвр.Прихода: 72451.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФМ: 0000000000871816 [23:53:12]StoreToDocumentArchive [23:53:12]MH_GetDate [23:53:12]Write to MH i2c: F0 00 00 EC 66 41 [23:53:12]Write i2c OK [23:53:12]MH_I2C_Read... [23:53:12]Read from MH i2c: F0 [23:53:12]MH_I2C_Read... [23:53:12]Read from MH i2c: F0 09 00 [23:53:12]MH_I2C_Read... [23:53:12]Read from MH i2c: F0 09 00 EC 66 00 FA EA F0 65 0A 64 6E 65 C4 [23:53:12]shift 266 fd 1710287610 [23:53:12]Create dir for shift 0266 [23:53:12]save to /storage/0266/doc_1710287610 [23:53:12]save last doc name /storage/0266/doc_1710287610 to /storage/kkm_last_doc_name [23:53:12]save OK [23:53:12]Clear old archive folders... [23:53:12]NVStorageSaveData kkm_last_timestamp [23:53:12]File name is /storage/kkm_last_timestamp [23:53:12]Write 4 bytes [23:53:12]NVStorageSaveData done [23:53:12]ExternCall_PrintAddStr [23:53:12]wPrintStart [23:53:12]Write to MH i2c: 01 00 00 ED 66 53 [23:53:12]Write i2c OK [23:53:12]MH_I2C_Read... [23:53:12]Read from MH i2c: 01 [23:53:12]MH_I2C_Read... [23:53:12]Read from MH i2c: 01 07 00 [23:53:12]MH_I2C_Read... [23:53:12]Read from MH i2c: 01 07 00 ED 66 00 00 00 00 00 FF 0F 68 [23:53:12]RasterBufferAndPrint [23:53:12]line Х отчет [23:53:12]line ИНН: 02508201610067 [23:53:12]line Кассир: Максатбек у Д. [23:53:12]line 12.03.2024 23:53 [23:53:12]line Смена: 266 [23:53:12]line РНМ: 0000000000092018 [23:53:12]line ЗНМ: 0300000097 [23:53:12]line СНО: Общий режим [23:53:12]line Всего чеков: 88 [23:53:12]line ИТОГИ ПРИХОД [23:53:12]line Чеков: 84 [23:53:12]line Общий итог: 13606.00 [23:53:12]line Итого наличными: 11637.00 [23:53:12]line Итого безнал.: 1969.00 [23:53:12]line НДС 0% : 0.00 [23:53:12]line НДС 12% : 1444.90 [23:53:12]line НСП 0% : 0.00 [23:53:12]line НСП 1,50% : 0.00 [23:53:12]line НСП 0,50% : 0.00 [23:53:12]line НСП 5% : 0.00 [23:53:12]line НСП 3% : 0.00 [23:53:12]line НСП 2% : 0.00 [23:53:12]line НСП 1% : 120.25 [23:53:12]line ИТОГИ ВОЗВРАТ ПРИХОДА [23:53:12]line Чеков: 4 [23:53:12]line Общий итог: 445.00 [23:53:12]line Итого наличными: 290.00 [23:53:12]line Итого безнал.: 155.00 [23:53:12]line НДС 0% : 0.00 [23:53:12]line НДС 12% : 47.25 [23:53:12]line НСП 0% : 0.00 [23:53:12]line НСП 1,50% : 0.00 [23:53:12]line НСП 0,50% : 0.00 [23:53:12]line НСП 5% : 0.00 [23:53:12]line НСП 3% : 0.00 [23:53:12]line НСП 2% : 0.00 [23:53:12]line НСП 1% : 3.93 [23:53:12]line ИТОГИ РАСХОД [23:53:12]line Чеков: 0 [23:53:12]line Общий итог: 0.00 [23:53:12]line Итого наличными: 0.00 [23:53:12]line Итого безнал.: 0.00 [23:53:12]line НДС 0% : 0.00 [23:53:12]line НДС 12% : 0.00 [23:53:12]line НСП 0% : 0.00 [23:53:12]line НСП 1,50% : 0.00 [23:53:12]line НСП 0,50% : 0.00 [23:53:12]line НСП 5% : 0.00 [23:53:12]line НСП 3% : 0.00 [23:53:12]line НСП 2% : 0.00 [23:53:12]line НСП 1% : 0.00 [23:53:12]line ИТОГИ ВОЗВРАТ РАСХОДА [23:53:12]line Чеков: 0 [23:53:12]line Общий итог: 0.00 [23:53:12]line Итого наличными: 0.00 [23:53:12]line Итого безнал.: 0.00 [23:53:12]line НДС 0% : 0.00 [23:53:12]line НДС 12% : 0.00 [23:53:12]line НСП 0% : 0.00 [23:53:12]line НСП 1,50% : 0.00 [23:53:12]line НСП 0,50% : 0.00 [23:53:12]line НСП 5% : 0.00 [23:53:12]line НСП 3% : 0.00 [23:53:12]line НСП 2% : 0.00 [23:53:12]line НСП 1% : 0.00 [23:53:12]line Сумма внесений: 0.00 [23:53:12]line Сумма выплат: 0.00 [23:53:12]line Нал. в кассе: 11347.00 [23:53:12]line НС Приход: 8065739.31 [23:53:12]line НС Возвр.Прихода: 72451.00 [23:53:12]line НС Расход: 0.00 [23:53:12]line НС Возвр.Расхода: 0.00 [23:53:12]line ФМ: 0000000000871816 [23:53:12]written 0, free lines is 4095 [23:53:12]OFD Sender: No OFD packet to send [23:53:13]Write to MH i2c: 01 00 00 38 67 9F [23:53:13]Write i2c OK [23:53:13]MH_I2C_Read... [23:53:13]Read from MH i2c: 01 [23:53:13]MH_I2C_Read... [23:53:13]Read from MH i2c: 01 07 00 [23:53:13]MH_I2C_Read... [23:53:13]Read from MH i2c: 01 07 00 38 67 00 00 00 00 00 9E 0A 4E [23:53:13]RasterBufferAndPrint [23:53:13]line [23:53:13]line [23:53:13]line [23:53:13]line [23:53:13]line [23:53:13]written 0, free lines is 2748 [23:53:13]MH_Cut [23:53:13]Write to MH i2c: D1 01 00 3F 67 01 78 [23:53:13]Write i2c OK [23:53:13]MH_I2C_Read... [23:53:13]Read from MH i2c: D1 [23:53:13]MH_I2C_Read... [23:53:13]Read from MH i2c: D1 01 00 [23:53:13]MH_I2C_Read... [23:53:13]Read from MH i2c: D1 01 00 3F 67 00 77 [23:53:13]Write to MH i2c: 01 00 00 40 67 A7 [23:53:13]Write i2c OK [23:53:13]MH_I2C_Read... [23:53:14]*** Cut start [23:53:14]*** Purtial cut [23:53:14]*** Stage 1: CUTSNS_PIN = 1 [23:53:14]Read from MH i2c: 01 [23:53:14]MH_I2C_Read... [23:53:14]*** Stop cut motor [23:53:14]*** Cut end [23:53:14]Read from MH i2c: 01 07 00 [23:53:14]MH_I2C_Read... [23:53:14]Read from MH i2c: 01 07 00 40 67 00 00 00 00 00 FF 0F BC [23:53:14]process_action x_report done [23:53:14]requested_data is exist [23:53:14]produce_requested_data [23:53:14]requested_item fd.num is exist - process it [23:53:14]SAM_PROTO_GetFieldsCounters [23:53:14]wFMCommunicate request_size=4 [23:53:14]MH_SAM_APDU [23:53:14]CAPDU: 80 13 00 00 [23:53:14]Write to MH i2c: E2 08 00 41 67 80 13 00 00 00 00 00 00 24 [23:53:14]Write i2c OK [23:53:14]MH_I2C_Read... [23:53:14]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:53:14]Read from MH i2c: E2 [23:53:14]MH_I2C_Read... [23:53:14]Read from MH i2c: E2 62 00 [23:53:14]MH_I2C_Read... [23:53:14]Read from MH i2c: E2 62 00 41 67 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 32 B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 58 00 00 00 5E 04 04 00 58 00 00 00 57 04 04 00 59 00 00 00 19 04 04 00 00 00 00 00 90 00 6D [23:53: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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 32 B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 58 00 00 00 5E 04 04 00 58 00 00 00 57 04 04 00 59 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:53:14]wFMCommunicate OK [23:53:14]SAM_PROTO_GetFieldsCounters done [23:53:14]requested_item shift.num is exist - process it [23:53:14]requested_item shift.opened is exist - process it [23:53:14]req_shift_opened [23:53:14]FM_GetShiftState [23:53:14]SAM_PROTO_GetShiftState [23:53:14]wFMCommunicate request_size=4 [23:53:14]MH_SAM_APDU [23:53:14]CAPDU: 80 13 01 00 [23:53:14]Write to MH i2c: E2 08 00 42 67 80 13 01 00 00 00 00 00 26 [23:53:14]Write i2c OK [23:53:14]MH_I2C_Read... [23:53:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:53:14]Read from MH i2c: E2 [23:53:14]MH_I2C_Read... [23:53:14]Read from MH i2c: E2 0E 00 [23:53:14]MH_I2C_Read... [23:53:14]Read from MH i2c: E2 0E 00 42 67 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 55 [23:53:14]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [23:53:14]wFMCommunicate OK [23:53:14]SAM_PROTO_GetShiftState done [23:53:14]FM_GetShiftState done [23:53:14]req_shift_opened done [23:53:14]requested_item shift.open_date is exist - process it [23:53:14]req_shift_open_date [23:53:14]req_shift_open_date done [23:53:14]produce_requested_data done [23:53:14]produce_requested_data return {"fd.num":47410,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [23:53:14]process_action_free x_report [23:53:14]json_value_free [23:53:14]json_value_free done [23:53:14]process_json_proto returns [23:53:14]Send response to host [23:53:14]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":47410,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [23:53:14]free response buf [23:53:14]execute_script done [23:53:14]execute_script returns [23:53:14]free content buf [23:53:14]Sock 9.Close socket [23:53:14]Sock 9.Thread stoped [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:35]accept exits with 7 [23:54:35]New connection [23:54:35]New thread 3066596708 created [23:54:35]Thread 3066453348 joined [23:54:35]Waiting for new connection... [23:54:35] Sock 7.Parse request [23:54:35]Sock 7.Check first char [23:54:35]Sock 7.First char is OK [23:54:35]request: POST /json_proto HTTP/1.0 [23:54:35]Method: POST [23:54:35]URL: /json_proto [23:54:35]Method is POST - this is cgi request [23:54:35]url: /json_proto [23:54:35]query_string will be loaded in cgi processing [23:54:35]execute_cgi json_proto POST (null) [23:54:35]execute_cgi path=json_proto method=POST [23:54:35]POST find Content-Length [23:54:35]Host: 172.17.32.68:8080 [23:54:35]Content-Length: 215 [23:54:35]Content-Type: application/json [23:54:35] [23:54:35]POST finish read [23:54:35]Found Content-Length = 215 [23:54:35]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:54:35]execute_script... [23:54:35]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:54:35]POST & json_proto [23:54:35]process_json_proto [23:54:35]json parsed OK: [23:54:35]protocol is kg_v1.0 [23:54:35]action value=get_value [23:54:35]process_action get_value [23:54:35]cmd_get_value [23:54:35]process_action get_value done [23:54:35]requested_data is exist [23:54:35]produce_requested_data [23:54:35]requested_item kkm.sn is exist - process it [23:54:35]requested_item kkm.ver is exist - process it [23:54:35]requested_item fm.sn is exist - process it [23:54:35]wFMCommunicate request_size=4 [23:54:35]MH_SAM_APDU [23:54:35]CAPDU: 80 11 00 00 [23:54:35]Write to MH i2c: E2 08 00 43 67 80 11 00 00 00 00 00 00 24 [23:54:35]Write i2c OK [23:54:35]MH_I2C_Read... [23:54:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:54:35]Read from MH i2c: E2 [23:54:35]MH_I2C_Read... [23:54:35]Read from MH i2c: E2 17 00 [23:54:35]MH_I2C_Read... [23:54:35]Read from MH i2c: E2 17 00 43 67 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 76 [23:54:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [23:54:35]wFMCommunicate OK [23:54:35]requested_item fd.num is exist - process it [23:54:35]SAM_PROTO_GetFieldsCounters [23:54:35]wFMCommunicate request_size=4 [23:54:35]MH_SAM_APDU [23:54:35]CAPDU: 80 13 00 00 [23:54:35]Write to MH i2c: E2 08 00 44 67 80 13 00 00 00 00 00 00 27 [23:54:35]Write i2c OK [23:54:35]MH_I2C_Read... [23:54:35]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:54:35]Read from MH i2c: E2 [23:54:35]MH_I2C_Read... [23:54:35]Read from MH i2c: E2 62 00 [23:54:35]MH_I2C_Read... [23:54:35]Read from MH i2c: E2 62 00 44 67 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 32 B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 58 00 00 00 5E 04 04 00 58 00 00 00 57 04 04 00 59 00 00 00 19 04 04 00 00 00 00 00 90 00 70 [23:54: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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 32 B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 58 00 00 00 5E 04 04 00 58 00 00 00 57 04 04 00 59 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:54:35]wFMCommunicate OK [23:54:35]SAM_PROTO_GetFieldsCounters done [23:54:35]requested_item shift.num is exist - process it [23:54:35]requested_item shift.opened is exist - process it [23:54:35]req_shift_opened [23:54:35]FM_GetShiftState [23:54:35]SAM_PROTO_GetShiftState [23:54:35]wFMCommunicate request_size=4 [23:54:35]MH_SAM_APDU [23:54:35]CAPDU: 80 13 01 00 [23:54:35]Write to MH i2c: E2 08 00 45 67 80 13 01 00 00 00 00 00 29 [23:54:35]Write i2c OK [23:54:35]MH_I2C_Read... [23:54:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:54:35]Read from MH i2c: E2 [23:54:35]MH_I2C_Read... [23:54:35]Read from MH i2c: E2 0E 00 [23:54:35]MH_I2C_Read... [23:54:35]Read from MH i2c: E2 0E 00 45 67 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 58 [23:54:35]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [23:54:35]wFMCommunicate OK [23:54:35]SAM_PROTO_GetShiftState done [23:54:35]FM_GetShiftState done [23:54:35]req_shift_opened done [23:54:35]requested_item shift.open_date is exist - process it [23:54:35]req_shift_open_date [23:54:35]req_shift_open_date done [23:54:35]produce_requested_data done [23:54:35]produce_requested_data return {"kkm.sn":"0300000097","kkm.ver":"001","fm.sn":"0000000000871816","fd.num":47410,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [23:54:35]process_action_free get_value [23:54:35]json_value_free [23:54:35]json_value_free done [23:54:35]process_json_proto returns [23:54:35]Send response to host [23:54:35]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000097","kkm.ver":"001","fm.sn":"0000000000871816","fd.num":47410,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [23:54:35]free response buf [23:54:35]execute_script done [23:54:35]execute_script returns [23:54:35]free content buf [23:54:35]Sock 7.Close socket [23:54:35]Sock 7.Thread stoped [23:54:35]accept exits with 9 [23:54:35]New connection [23:54:35]New thread 3066453348 created [23:54:35]Thread 3066596708 joined [23:54:35]Waiting for new connection... [23:54:35] Sock 9.Parse request [23:54:35]Sock 9.Check first char [23:54:35]Sock 9.First char is OK [23:54:35]request: POST /json_proto HTTP/1.0 [23:54:35]Method: POST [23:54:35]URL: /json_proto [23:54:35]Method is POST - this is cgi request [23:54:35]url: /json_proto [23:54:35]query_string will be loaded in cgi processing [23:54:35]execute_cgi json_proto POST (null) [23:54:35]execute_cgi path=json_proto method=POST [23:54:35]POST find Content-Length [23:54:35]Host: 172.17.32.68:8080 [23:54:35]Content-Length: 331 [23:54:35]Content-Type: application/json [23:54:35] [23:54:35]POST finish read [23:54:35]Found Content-Length = 331 [23:54:35]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:54:35]execute_script... [23:54:35]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:54:35]POST & json_proto [23:54:35]process_json_proto [23:54:35]json parsed OK: [23:54:35]protocol is kg_v1.0 [23:54:35]action value=get_value [23:54:35]process_action get_value [23:54:35]cmd_get_value [23:54:35]process_action get_value done [23:54:35]requested_data is exist [23:54:35]produce_requested_data [23:54:35]requested_item fm.sale.total is exist - process it [23:54:35]SAM_PROTO_GetFMData [23:54:35]wFMCommunicate request_size=4 [23:54:35]MH_SAM_APDU [23:54:35]CAPDU: 80 13 03 00 [23:54:35]Write to MH i2c: E2 08 00 46 67 80 13 03 00 00 00 00 00 2C [23:54:35]Write i2c OK [23:54:35]MH_I2C_Read... [23:54:36]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:54:36]Read from MH i2c: E2 [23:54:36]MH_I2C_Read... [23:54:36]Read from MH i2c: E2 FD 00 [23:54:36]MH_I2C_Read... [23:54:36]Read from MH i2c: E2 FD 00 46 67 00 C1 04 85 04 BD 04 6E 04 04 00 BD B6 00 00 69 04 A0 00 6F 04 04 00 94 B5 00 00 B1 04 04 00 6B 57 13 30 70 04 04 00 7C AB 23 28 72 04 04 00 EF AB EF 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 4F F2 1A 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 A3 D5 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 29 01 00 00 B1 04 03 00 2C 8D 6E 70 04 03 00 C4 49 6A 72 04 03 00 68 43 04 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 80 BD 0B EF 03 09 00 F6 03 90 00 FB [23:54:36]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 BD B6 00 00 69 04 A0 00 6F 04 04 00 94 B5 00 00 B1 04 04 00 6B 57 13 30 70 04 04 00 7C AB 23 28 72 04 04 00 EF AB EF 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 4F F2 1A 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 A3 D5 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 29 01 00 00 B1 04 03 00 2C 8D 6E 70 04 03 00 C4 49 6A 72 04 03 00 68 43 04 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 80 BD 0B EF 03 09 00 F6 03 90 00 [23:54:36]wFMCommunicate OK [23:54:36]wFMCommunicate request_size=4 [23:54:36]MH_SAM_APDU [23:54:36]CAPDU: 80 17 00 00 [23:54:36]Write to MH i2c: E2 08 00 47 67 80 17 00 00 00 00 00 00 2E [23:54:36]Write i2c OK [23:54:36]MH_I2C_Read... [23:54:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:54:36]Read from MH i2c: E2 [23:54:36]MH_I2C_Read... [23:54:36]Read from MH i2c: E2 FD 00 [23:54:36]MH_I2C_Read... [23:54:36]Read from MH i2c: E2 FD 00 47 67 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 A7 [23:54:36]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:54:36]wFMCommunicate OK [23:54:36]wFMCommunicate request_size=4 [23:54:36]MH_SAM_APDU [23:54:36]CAPDU: 80 17 00 00 [23:54:36]Write to MH i2c: E2 08 00 48 67 80 17 00 00 00 00 00 00 2F [23:54:36]Write i2c OK [23:54:36]MH_I2C_Read... [23:54:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:54:36]Read from MH i2c: E2 [23:54:36]MH_I2C_Read... [23:54:36]Read from MH i2c: E2 FD 00 [23:54:36]MH_I2C_Read... [23:54:36]Read from MH i2c: E2 FD 00 48 67 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 CF [23:54:36]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:54:36]wFMCommunicate OK [23:54:36]wFMCommunicate request_size=4 [23:54:36]MH_SAM_APDU [23:54:36]CAPDU: 80 17 00 00 [23:54:36]Write to MH i2c: E2 08 00 49 67 80 17 00 00 00 00 00 00 30 [23:54:36]Write i2c OK [23:54:36]MH_I2C_Read... [23:54:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:54:36]Read from MH i2c: E2 [23:54:36]MH_I2C_Read... [23:54:36]Read from MH i2c: E2 FD 00 [23:54:36]MH_I2C_Read... [23:54:36]Read from MH i2c: E2 FD 00 49 67 00 03 01 00 04 F7 03 00 00 EF 03 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 90 00 B5 [23:54:36]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:54:36]wFMCommunicate OK [23:54:36]wFMCommunicate request_size=4 [23:54:36]MH_SAM_APDU [23:54:36]CAPDU: 80 17 00 00 [23:54:36]Write to MH i2c: E2 08 00 4A 67 80 17 00 00 00 00 00 00 31 [23:54:36]Write i2c OK [23:54:36]MH_I2C_Read... [23:54:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [23:54:37]Read from MH i2c: E2 [23:54:37]MH_I2C_Read... [23:54:37]Read from MH i2c: E2 DE 00 [23:54:37]MH_I2C_Read... [23:54:37]Read from MH i2c: E2 DE 00 4A 67 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 10 [23:54:37]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:54:37]wFMCommunicate OK [23:54:37]SAM_PROTO_GetFMData done [23:54:37]requested_item fm.sale_refund.total is exist - process it [23:54:37]requested_item fm.buy.total is exist - process it [23:54:37]requested_item shift.sale.total is exist - process it [23:54:37]SAM_PROTO_GetShiftData [23:54:37]wFMCommunicate request_size=4 [23:54:37]MH_SAM_APDU [23:54:37]CAPDU: 80 13 02 00 [23:54:37]Write to MH i2c: E2 08 00 4B 67 80 13 02 00 00 00 00 00 30 [23:54:37]Write i2c OK [23:54:37]MH_I2C_Read... [23:54:37]OFD Sender: No OFD packet to send [23:54:37]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:54:37]Read from MH i2c: E2 [23:54:37]MH_I2C_Read... [23:54:37]Read from MH i2c: E2 FD 00 [23:54:37]MH_I2C_Read... [23:54:37]Read from MH i2c: E2 FD 00 4B 67 00 B8 04 AA 04 B4 04 6E 04 04 00 58 00 00 00 69 04 9B 00 6F 04 04 00 54 00 00 00 B1 04 03 00 D8 C2 14 70 04 03 00 B4 C1 11 72 04 03 00 24 01 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 6A 34 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 F9 2E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 04 00 00 00 B1 04 02 00 D4 AD 70 04 02 00 48 71 72 04 02 00 8C 3C 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 75 12 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 90 00 7E [23:54:37]RAPDU: B8 04 AA 04 B4 04 6E 04 04 00 58 00 00 00 69 04 9B 00 6F 04 04 00 54 00 00 00 B1 04 03 00 D8 C2 14 70 04 03 00 B4 C1 11 72 04 03 00 24 01 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 6A 34 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 F9 2E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 04 00 00 00 B1 04 02 00 D4 AD 70 04 02 00 48 71 72 04 02 00 8C 3C 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 75 12 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 90 00 [23:54:37]wFMCommunicate OK [23:54:37]wFMCommunicate request_size=4 [23:54:37]MH_SAM_APDU [23:54:37]CAPDU: 80 17 00 00 [23:54:37]Write to MH i2c: E2 08 00 4C 67 80 17 00 00 00 00 00 00 33 [23:54:37]Write i2c OK [23:54:37]MH_I2C_Read... [23:54:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:54:37]Read from MH i2c: E2 [23:54:37]MH_I2C_Read... [23:54:37]Read from MH i2c: E2 FD 00 [23:54:37]MH_I2C_Read... [23:54:37]Read from MH i2c: E2 FD 00 4C 67 00 0B 00 F6 03 01 00 01 F7 03 02 00 89 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 EE [23:54:37]RAPDU: 0B 00 F6 03 01 00 01 F7 03 02 00 89 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:54:37]wFMCommunicate OK [23:54:37]wFMCommunicate request_size=4 [23:54:37]MH_SAM_APDU [23:54:37]CAPDU: 80 17 00 00 [23:54:37]Write to MH i2c: E2 08 00 4D 67 80 17 00 00 00 00 00 00 34 [23:54:37]Write i2c OK [23:54:37]MH_I2C_Read... [23:54:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:54:38]Read from MH i2c: E2 [23:54:38]MH_I2C_Read... [23:54:38]Read from MH i2c: E2 FD 00 [23:54:38]MH_I2C_Read... [23:54:38]Read from MH i2c: E2 FD 00 4D 67 00 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 D6 [23:54:38]RAPDU: 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:54:38]wFMCommunicate OK [23:54:38]wFMCommunicate request_size=4 [23:54:38]MH_SAM_APDU [23:54:38]CAPDU: 80 17 00 00 [23:54:38]Write to MH i2c: E2 08 00 4E 67 80 17 00 00 00 00 00 00 35 [23:54:38]Write i2c OK [23:54:38]MH_I2C_Read... [23:54:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:54:38]Read from MH i2c: E2 [23:54:38]MH_I2C_Read... [23:54:38]Read from MH i2c: E2 FD 00 [23:54:38]MH_I2C_Read... [23:54:38]Read from MH i2c: E2 FD 00 4E 67 00 03 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 90 00 BE [23:54:38]RAPDU: 03 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 90 00 [23:54:38]wFMCommunicate OK [23:54:38]wFMCommunicate request_size=4 [23:54:38]MH_SAM_APDU [23:54:38]CAPDU: 80 17 00 00 [23:54:38]Write to MH i2c: E2 08 00 4F 67 80 17 00 00 00 00 00 00 36 [23:54:38]Write i2c OK [23:54:38]MH_I2C_Read... [23:54:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 210! [23:54:38]Read from MH i2c: E2 [23:54:38]MH_I2C_Read... [23:54:38]Read from MH i2c: E2 D5 00 [23:54:38]MH_I2C_Read... [23:54:38]Read from MH i2c: E2 D5 00 4F 67 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 17 [23:54:38]RAPDU: EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:54:38]wFMCommunicate OK [23:54:38]SAM_PROTO_GetShiftData done [23:54:38]requested_item shift.sale.total_cash is exist - process it [23:54:38]requested_item shift.sale_refund.total is exist - process it [23:54:38]requested_item shift.sale_refund.total_cash is exist - process it [23:54:38]requested_item shift.buy.total is exist - process it [23:54:38]requested_item shift.buy.total_cash is exist - process it [23:54:38]produce_requested_data done [23:54:38]produce_requested_data return {"fm.sale.total":8065739.31,"fm.sale_refund.total":72451.00,"fm.buy.total":0.00,"shift.sale.total":13606.00,"shift.sale.total_cash":11637.00,"shift.sale_refund.total":445.00,"shift.sale_refund.total_cash":290.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [23:54:38]process_action_free get_value [23:54:38]json_value_free [23:54:38]json_value_free done [23:54:38]process_json_proto returns [23:54:38]Send response to host [23:54:38]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8065739.31,"fm.sale_refund.total":72451.00,"fm.buy.total":0.00,"shift.sale.total":13606.00,"shift.sale.total_cash":11637.00,"shift.sale_refund.total":445.00,"shift.sale_refund.total_cash":290.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [23:54:38]free response buf [23:54:38]execute_script done [23:54:38]execute_script returns [23:54:38]free content buf [23:54:38]Sock 9.Close socket [23:54:38]Sock 9.Thread stoped [23:54:38]accept exits with 7 [23:54:38]New connection [23:54:38]New thread 3066596708 created [23:54:38]Thread 3066453348 joined [23:54:38]Waiting for new connection... [23:54:38] Sock 7.Parse request [23:54:38]Sock 7.Check first char [23:54:38]Sock 7.First char is OK [23:54:38]request: POST /json_proto HTTP/1.0 [23:54:38]Method: POST [23:54:38]URL: /json_proto [23:54:39]Method is POST - this is cgi request [23:54:39]url: /json_proto [23:54:39]query_string will be loaded in cgi processing [23:54:39]execute_cgi json_proto POST (null) [23:54:39]execute_cgi path=json_proto method=POST [23:54:39]POST find Content-Length [23:54:39]Host: 172.17.32.68:8080 [23:54:39]Content-Length: 331 [23:54:39]Content-Type: application/json [23:54:39] [23:54:39]POST finish read [23:54:39]Found Content-Length = 331 [23:54:39]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:54:39]execute_script... [23:54:39]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:54:39]POST & json_proto [23:54:39]process_json_proto [23:54:39]json parsed OK: [23:54:39]protocol is kg_v1.0 [23:54:39]action value=get_value [23:54:39]process_action get_value [23:54:39]cmd_get_value [23:54:39]process_action get_value done [23:54:39]requested_data is exist [23:54:39]produce_requested_data [23:54:39]requested_item fm.sale.total is exist - process it [23:54:39]SAM_PROTO_GetFMData [23:54:39]wFMCommunicate request_size=4 [23:54:39]MH_SAM_APDU [23:54:39]CAPDU: 80 13 03 00 [23:54:39]Write to MH i2c: E2 08 00 50 67 80 13 03 00 00 00 00 00 36 [23:54:39]Write i2c OK [23:54:39]MH_I2C_Read... [23:54:39]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:54:39]Read from MH i2c: E2 [23:54:39]MH_I2C_Read... [23:54:39]Read from MH i2c: E2 FD 00 [23:54:39]MH_I2C_Read... [23:54:39]Read from MH i2c: E2 FD 00 50 67 00 C1 04 85 04 BD 04 6E 04 04 00 BD B6 00 00 69 04 A0 00 6F 04 04 00 94 B5 00 00 B1 04 04 00 6B 57 13 30 70 04 04 00 7C AB 23 28 72 04 04 00 EF AB EF 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 4F F2 1A 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 A3 D5 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 29 01 00 00 B1 04 03 00 2C 8D 6E 70 04 03 00 C4 49 6A 72 04 03 00 68 43 04 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 80 BD 0B EF 03 09 00 F6 03 90 00 05 [23:54:39]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 BD B6 00 00 69 04 A0 00 6F 04 04 00 94 B5 00 00 B1 04 04 00 6B 57 13 30 70 04 04 00 7C AB 23 28 72 04 04 00 EF AB EF 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 4F F2 1A 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 A3 D5 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 29 01 00 00 B1 04 03 00 2C 8D 6E 70 04 03 00 C4 49 6A 72 04 03 00 68 43 04 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 80 BD 0B EF 03 09 00 F6 03 90 00 [23:54:39]wFMCommunicate OK [23:54:39]wFMCommunicate request_size=4 [23:54:39]MH_SAM_APDU [23:54:39]CAPDU: 80 17 00 00 [23:54:39]Write to MH i2c: E2 08 00 51 67 80 17 00 00 00 00 00 00 38 [23:54:39]Write i2c OK [23:54:39]MH_I2C_Read... [23:54:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:54:39]Read from MH i2c: E2 [23:54:39]MH_I2C_Read... [23:54:39]Read from MH i2c: E2 FD 00 [23:54:39]MH_I2C_Read... [23:54:39]Read from MH i2c: E2 FD 00 51 67 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 B1 [23:54:39]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:54:39]wFMCommunicate OK [23:54:39]wFMCommunicate request_size=4 [23:54:39]MH_SAM_APDU [23:54:39]CAPDU: 80 17 00 00 [23:54:39]Write to MH i2c: E2 08 00 52 67 80 17 00 00 00 00 00 00 39 [23:54:39]Write i2c OK [23:54:39]MH_I2C_Read... [23:54:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:54:40]Read from MH i2c: E2 [23:54:40]MH_I2C_Read... [23:54:40]Read from MH i2c: E2 FD 00 [23:54:40]MH_I2C_Read... [23:54:40]Read from MH i2c: E2 FD 00 52 67 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 D9 [23:54:40]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:54:40]wFMCommunicate OK [23:54:40]wFMCommunicate request_size=4 [23:54:40]MH_SAM_APDU [23:54:40]CAPDU: 80 17 00 00 [23:54:40]Write to MH i2c: E2 08 00 53 67 80 17 00 00 00 00 00 00 3A [23:54:40]Write i2c OK [23:54:40]MH_I2C_Read... [23:54:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:54:40]Read from MH i2c: E2 [23:54:40]MH_I2C_Read... [23:54:40]Read from MH i2c: E2 FD 00 [23:54:40]MH_I2C_Read... [23:54:40]Read from MH i2c: E2 FD 00 53 67 00 03 01 00 04 F7 03 00 00 EF 03 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 90 00 BF [23:54:40]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:54:40]wFMCommunicate OK [23:54:40]wFMCommunicate request_size=4 [23:54:40]MH_SAM_APDU [23:54:40]CAPDU: 80 17 00 00 [23:54:40]Write to MH i2c: E2 08 00 54 67 80 17 00 00 00 00 00 00 3B [23:54:40]Write i2c OK [23:54:40]MH_I2C_Read... [23:54:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [23:54:40]Read from MH i2c: E2 [23:54:40]MH_I2C_Read... [23:54:40]Read from MH i2c: E2 DE 00 [23:54:40]MH_I2C_Read... [23:54:40]Read from MH i2c: E2 DE 00 54 67 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 1A [23:54:40]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:54:40]wFMCommunicate OK [23:54:40]SAM_PROTO_GetFMData done [23:54:40]requested_item fm.sale_refund.total is exist - process it [23:54:40]requested_item fm.buy.total is exist - process it [23:54:40]requested_item shift.sale.total is exist - process it [23:54:40]SAM_PROTO_GetShiftData [23:54:40]wFMCommunicate request_size=4 [23:54:40]MH_SAM_APDU [23:54:40]CAPDU: 80 13 02 00 [23:54:40]Write to MH i2c: E2 08 00 55 67 80 13 02 00 00 00 00 00 3A [23:54:40]Write i2c OK [23:54:40]MH_I2C_Read... [23:54:41]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:54:41]Read from MH i2c: E2 [23:54:41]MH_I2C_Read... [23:54:41]Read from MH i2c: E2 FD 00 [23:54:41]MH_I2C_Read... [23:54:41]Read from MH i2c: E2 FD 00 55 67 00 B8 04 AA 04 B4 04 6E 04 04 00 58 00 00 00 69 04 9B 00 6F 04 04 00 54 00 00 00 B1 04 03 00 D8 C2 14 70 04 03 00 B4 C1 11 72 04 03 00 24 01 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 6A 34 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 F9 2E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 04 00 00 00 B1 04 02 00 D4 AD 70 04 02 00 48 71 72 04 02 00 8C 3C 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 75 12 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 90 00 88 [23:54:41]RAPDU: B8 04 AA 04 B4 04 6E 04 04 00 58 00 00 00 69 04 9B 00 6F 04 04 00 54 00 00 00 B1 04 03 00 D8 C2 14 70 04 03 00 B4 C1 11 72 04 03 00 24 01 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 6A 34 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 F9 2E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 04 00 00 00 B1 04 02 00 D4 AD 70 04 02 00 48 71 72 04 02 00 8C 3C 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 75 12 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 90 00 [23:54:41]wFMCommunicate OK [23:54:41]wFMCommunicate request_size=4 [23:54:41]MH_SAM_APDU [23:54:41]CAPDU: 80 17 00 00 [23:54:41]Write to MH i2c: E2 08 00 56 67 80 17 00 00 00 00 00 00 3D [23:54:41]Write i2c OK [23:54:41]MH_I2C_Read... [23:54:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:54:41]Read from MH i2c: E2 [23:54:41]MH_I2C_Read... [23:54:41]Read from MH i2c: E2 FD 00 [23:54:41]MH_I2C_Read... [23:54:41]Read from MH i2c: E2 FD 00 56 67 00 0B 00 F6 03 01 00 01 F7 03 02 00 89 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 F8 [23:54:41]RAPDU: 0B 00 F6 03 01 00 01 F7 03 02 00 89 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:54:41]wFMCommunicate OK [23:54:41]wFMCommunicate request_size=4 [23:54:41]MH_SAM_APDU [23:54:41]CAPDU: 80 17 00 00 [23:54:41]Write to MH i2c: E2 08 00 57 67 80 17 00 00 00 00 00 00 3E [23:54:41]Write i2c OK [23:54:41]MH_I2C_Read... [23:54:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:54:42]Read from MH i2c: E2 [23:54:42]MH_I2C_Read... [23:54:42]Read from MH i2c: E2 FD 00 [23:54:42]MH_I2C_Read... [23:54:42]Read from MH i2c: E2 FD 00 57 67 00 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 E0 [23:54:42]RAPDU: 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:54:42]wFMCommunicate OK [23:54:42]wFMCommunicate request_size=4 [23:54:42]MH_SAM_APDU [23:54:42]CAPDU: 80 17 00 00 [23:54:42]Write to MH i2c: E2 08 00 58 67 80 17 00 00 00 00 00 00 3F [23:54:42]Write i2c OK [23:54:42]MH_I2C_Read... [23:54:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:54:42]Read from MH i2c: E2 [23:54:42]MH_I2C_Read... [23:54:42]Read from MH i2c: E2 FD 00 [23:54:42]MH_I2C_Read... [23:54:42]Read from MH i2c: E2 FD 00 58 67 00 03 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 90 00 C8 [23:54:42]RAPDU: 03 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 OFD Sender: No OFD packet to send [23:54:42]00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:54:42]wFMCommunicate OK [23:54:42]wFMCommunicate request_size=4 [23:54:42]MH_SAM_APDU [23:54:42]CAPDU: 80 17 00 00 [23:54:42]Write to MH i2c: E2 08 00 59 67 80 17 00 00 00 00 00 00 40 [23:54:42]Write i2c OK [23:54:42]MH_I2C_Read... [23:54:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 210! [23:54:43]Read from MH i2c: E2 [23:54:43]MH_I2C_Read... [23:54:43]Read from MH i2c: E2 D5 00 [23:54:43]MH_I2C_Read... [23:54:43]Read from MH i2c: E2 D5 00 59 67 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 21 [23:54:43]RAPDU: EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:54:43]wFMCommunicate OK [23:54:43]SAM_PROTO_GetShiftData done [23:54:43]requested_item shift.sale.total_cash is exist - process it [23:54:43]requested_item shift.sale_refund.total is exist - process it [23:54:43]requested_item shift.sale_refund.total_cash is exist - process it [23:54:43]requested_item shift.buy.total is exist - process it [23:54:43]requested_item shift.buy.total_cash is exist - process it [23:54:43]produce_requested_data done [23:54:43]produce_requested_data return {"fm.sale.total":8065739.31,"fm.sale_refund.total":72451.00,"fm.buy.total":0.00,"shift.sale.total":13606.00,"shift.sale.total_cash":11637.00,"shift.sale_refund.total":445.00,"shift.sale_refund.total_cash":290.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [23:54:43]process_action_free get_value [23:54:43]json_value_free [23:54:43]json_value_free done [23:54:43]process_json_proto returns [23:54:43]Send response to host [23:54:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8065739.31,"fm.sale_refund.total":72451.00,"fm.buy.total":0.00,"shift.sale.total":13606.00,"shift.sale.total_cash":11637.00,"shift.sale_refund.total":445.00,"shift.sale_refund.total_cash":290.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [23:54:43]free response buf [23:54:43]execute_script done [23:54:43]execute_script returns [23:54:43]free content buf [23:54:43]Sock 7.Close socket [23:54:43]Sock 7.Thread stoped [23:54:43]accept exits with 9 [23:54:43]New connection [23:54:43]New thread 3066453348 created [23:54:43]Thread 3066596708 joined [23:54:43]Waiting for new connection... [23:54:43] Sock 9.Parse request [23:54:43]Sock 9.Check first char [23:54:43]Sock 9.First char is OK [23:54:43]request: POST /json_proto HTTP/1.0 [23:54:43]Method: POST [23:54:43]URL: /json_proto [23:54:43]Method is POST - this is cgi request [23:54:43]url: /json_proto [23:54:43]query_string will be loaded in cgi processing [23:54:43]execute_cgi json_proto POST (null) [23:54:43]execute_cgi path=json_proto method=POST [23:54:43]POST find Content-Length [23:54:43]Host: 172.17.32.68:8080 [23:54:43]Content-Length: 270 [23:54:43]Content-Type: application/json [23:54:43] [23:54:43]POST finish read [23:54:43]Found Content-Length = 270 [23:54:43]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u041C\u0430\u043A\u0441\u0430\u0442\u0431\u0435\u043A \u0443 \u0414. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:54:43]execute_script... [23:54:43]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u041C\u0430\u043A\u0441\u0430\u0442\u0431\u0435\u043A \u0443 \u0414. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:54:43]POST & json_proto [23:54:43]process_json_proto [23:54:43]json parsed OK: [23:54:43]protocol is kg_v1.0 [23:54:43]action value=x_report [23:54:43]process_action x_report [23:54:43]cmd_x_report [23:54:43]MH_GetDate [23:54:43]Write to MH i2c: F0 00 00 5A 67 B0 [23:54:43]Write i2c OK [23:54:43]MH_I2C_Read... [23:54:43]Read from MH i2c: F0 [23:54:43]MH_I2C_Read... [23:54:43]Read from MH i2c: F0 09 00 [23:54:43]MH_I2C_Read... [23:54:43]Read from MH i2c: F0 09 00 5A 67 00 55 EB F0 65 0A 64 6E 65 8F [23:54:43]GetLastDocTimeStamp 1710287602 [23:54:43]current date 1710287701 [23:54:43]FM_GetShiftState [23:54:43]SAM_PROTO_GetShiftState [23:54:43]wFMCommunicate request_size=4 [23:54:43]MH_SAM_APDU [23:54:43]CAPDU: 80 13 01 00 [23:54:43]Write to MH i2c: E2 08 00 5B 67 80 13 01 00 00 00 00 00 3F [23:54:43]Write i2c OK [23:54:43]MH_I2C_Read... [23:54:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:54:43]Read from MH i2c: E2 [23:54:43]MH_I2C_Read... [23:54:43]Read from MH i2c: E2 0E 00 [23:54:43]MH_I2C_Read... [23:54:43]Read from MH i2c: E2 0E 00 5B 67 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 6E [23:54:43]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [23:54:43]wFMCommunicate OK [23:54:43]SAM_PROTO_GetShiftState done [23:54:43]FM_GetShiftState done [23:54:43]KKMCreateXReportDocument [23:54:43]Load OK [23:54:43]Malloc new data [23:54:43]MH_GetDate [23:54:43]Write to MH i2c: F0 00 00 5C 67 B2 [23:54:43]Write i2c OK [23:54:43]MH_I2C_Read... [23:54:43]Read from MH i2c: F0 [23:54:43]MH_I2C_Read... [23:54:43]Read from MH i2c: F0 09 00 [23:54:43]MH_I2C_Read... [23:54:43]Read from MH i2c: F0 09 00 5C 67 00 55 EB F0 65 0A 64 6E 65 91 [23:54:43]Malloc new data [23:54:43]Malloc new data [23:54:43]wFMCommunicate request_size=4 [23:54:43]MH_SAM_APDU [23:54:43]CAPDU: 80 11 00 00 [23:54:43]Write to MH i2c: E2 08 00 5D 67 80 11 00 00 00 00 00 00 3E [23:54:43]Write i2c OK [23:54:43]MH_I2C_Read... [23:54:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:54:43]Read from MH i2c: E2 [23:54:43]MH_I2C_Read... [23:54:43]Read from MH i2c: E2 17 00 [23:54:43]MH_I2C_Read... [23:54:43]Read from MH i2c: E2 17 00 5D 67 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 90 [23:54:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [23:54:43]wFMCommunicate OK [23:54:43]SAM_PROTO_GetFieldsCounters [23:54:43]wFMCommunicate request_size=4 [23:54:43]MH_SAM_APDU [23:54:43]CAPDU: 80 13 00 00 [23:54:43]Write to MH i2c: E2 08 00 5E 67 80 13 00 00 00 00 00 00 41 [23:54:43]Write i2c OK [23:54:43]MH_I2C_Read... [23:54:43]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:54:43]Read from MH i2c: E2 [23:54:43]MH_I2C_Read... [23:54:43]Read from MH i2c: E2 62 00 [23:54:43]MH_I2C_Read... [23:54:43]Read from MH i2c: E2 62 00 5E 67 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 32 B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 58 00 00 00 5E 04 04 00 58 00 00 00 57 04 04 00 59 00 00 00 19 04 04 00 00 00 00 00 90 00 8A [23:54: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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 32 B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 58 00 00 00 5E 04 04 00 58 00 00 00 57 04 04 00 59 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:54:43]wFMCommunicate OK [23:54:43]SAM_PROTO_GetFieldsCounters done [23:54:43]Malloc new data [23:54:43]Malloc new data [23:54:43]Malloc new data [23:54:43]KKMCreateXReportDocument OK [23:54:43]KKMSetXReportData OK [23:54:43]KKMPrepareXReportFMData [23:54:43]SAM_PROTO_GetShiftData [23:54:43]wFMCommunicate request_size=4 [23:54:43]MH_SAM_APDU [23:54:43]CAPDU: 80 13 02 00 [23:54:43]Write to MH i2c: E2 08 00 5F 67 80 13 02 00 00 00 00 00 44 [23:54:43]Write i2c OK [23:54:43]MH_I2C_Read... [23:54:44]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:54:44]Read from MH i2c: E2 [23:54:44]MH_I2C_Read... [23:54:44]Read from MH i2c: E2 FD 00 [23:54:44]MH_I2C_Read... [23:54:44]Read from MH i2c: E2 FD 00 5F 67 00 B8 04 AA 04 B4 04 6E 04 04 00 58 00 00 00 69 04 9B 00 6F 04 04 00 54 00 00 00 B1 04 03 00 D8 C2 14 70 04 03 00 B4 C1 11 72 04 03 00 24 01 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 6A 34 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 F9 2E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 04 00 00 00 B1 04 02 00 D4 AD 70 04 02 00 48 71 72 04 02 00 8C 3C 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 75 12 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 90 00 92 [23:54:44]RAPDU: B8 04 AA 04 B4 04 6E 04 04 00 58 00 00 00 69 04 9B 00 6F 04 04 00 54 00 00 00 B1 04 03 00 D8 C2 14 70 04 03 00 B4 C1 11 72 04 03 00 24 01 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 6A 34 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 F9 2E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 04 00 00 00 B1 04 02 00 D4 AD 70 04 02 00 48 71 72 04 02 00 8C 3C 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 75 12 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 90 00 [23:54:44]wFMCommunicate OK [23:54:44]wFMCommunicate request_size=4 [23:54:44]MH_SAM_APDU [23:54:44]CAPDU: 80 17 00 00 [23:54:44]Write to MH i2c: E2 08 00 60 67 80 17 00 00 00 00 00 00 47 [23:54:44]Write i2c OK [23:54:44]MH_I2C_Read... [23:54:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:54:44]Read from MH i2c: E2 [23:54:44]MH_I2C_Read... [23:54:44]Read from MH i2c: E2 FD 00 [23:54:44]MH_I2C_Read... [23:54:44]Read from MH i2c: E2 FD 00 60 67 00 0B 00 F6 03 01 00 01 F7 03 02 00 89 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 02 [23:54:44]RAPDU: 0B 00 F6 03 01 00 01 F7 03 02 00 89 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:54:44]wFMCommunicate OK [23:54:44]wFMCommunicate request_size=4 [23:54:44]MH_SAM_APDU [23:54:44]CAPDU: 80 17 00 00 [23:54:44]Write to MH i2c: E2 08 00 61 67 80 17 00 00 00 00 00 00 48 [23:54:44]Write i2c OK [23:54:44]MH_I2C_Read... [23:54:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:54:45]Read from MH i2c: E2 [23:54:45]MH_I2C_Read... [23:54:45]Read from MH i2c: E2 FD 00 [23:54:45]MH_I2C_Read... [23:54:45]Read from MH i2c: E2 FD 00 61 67 00 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 EA [23:54:45]RAPDU: 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:54:45]wFMCommunicate OK [23:54:45]wFMCommunicate request_size=4 [23:54:45]MH_SAM_APDU [23:54:45]CAPDU: 80 17 00 00 [23:54:45]Write to MH i2c: E2 08 00 62 67 80 17 00 00 00 00 00 00 49 [23:54:45]Write i2c OK [23:54:45]MH_I2C_Read... [23:54:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:54:45]Read from MH i2c: E2 [23:54:45]MH_I2C_Read... [23:54:45]Read from MH i2c: E2 FD 00 [23:54:45]MH_I2C_Read... [23:54:45]Read from MH i2c: E2 FD 00 62 67 00 03 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 90 00 D2 [23:54:45]RAPDU: 03 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 90 00 [23:54:45]wFMCommunicate OK [23:54:45]wFMCommunicate request_size=4 [23:54:45]MH_SAM_APDU [23:54:45]CAPDU: 80 17 00 00 [23:54:45]Write to MH i2c: E2 08 00 63 67 80 17 00 00 00 00 00 00 4A [23:54:45]Write i2c OK [23:54:45]MH_I2C_Read... [23:54:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 210! [23:54:46]Read from MH i2c: E2 [23:54:46]MH_I2C_Read... [23:54:46]Read from MH i2c: E2 D5 00 [23:54:46]MH_I2C_Read... [23:54:46]Read from MH i2c: E2 D5 00 63 67 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 2B [23:54:46]RAPDU: EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:54:46]wFMCommunicate OK [23:54:46]SAM_PROTO_GetShiftData done [23:54:46]1194 (1204) - счетчики итогов смены [23:54:46] 1134 (4) - 88 - количество чеков со всеми признаками расчетов [23:54:46] 1129 (155) - счетчики операций «приход» [23:54:46] 1135 (4) - 84 - количество чеков по признаку расчетов [23:54:46] 1201 (3) - 13606.00 - общая итоговая сумма в чеках [23:54:46] 1136 (3) - 11637.00 - итоговая сумма в чеках наличными [23:54:46] 1138 (3) - 1969.00 - итоговая сумма в чеках безналичными [23:54:46] 1024 (122) - суммы налогов [23:54:46] 1006 (9) - суммы НДС [23:54:46] 1010 (1) - 0% - код ставки НДС [23:54:46] 1011 (0) - 0.00 - сумма НДС по ставке [23:54:46] 1006 (12) - суммы НДС [23:54:46] 1010 (1) - 12% - код ставки НДС [23:54:46] 1011 (3) - 1444.90 - сумма НДС по ставке [23:54:46] 1007 (9) - суммы НСП [23:54:46] 1014 (1) - 0% - код ставки НСП [23:54:46] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:46] 1007 (11) - суммы НСП [23:54:46] 1014 (1) - 1% - код ставки НСП [23:54:46] 1015 (2) - 120.25 - сумма НСП по ставке [23:54:46] 1007 (9) - суммы НСП [23:54:46] 1014 (1) - 2% - код ставки НСП [23:54:46] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:46] 1007 (9) - суммы НСП [23:54:46] 1014 (1) - 3% - код ставки НСП [23:54:46] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:46] 1007 (9) - суммы НСП [23:54:46] 1014 (1) - 5% - код ставки НСП [23:54:46] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:46] 1007 (9) - суммы НСП [23:54:46] 1014 (1) - 0,50% - код ставки НСП [23:54:46] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:46] 1007 (9) - суммы НСП [23:54:46] 1014 (1) - 1,50% - код ставки НСП [23:54:46] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:46] 1130 (151) - счетчики операций «возврат прихода» [23:54:46] 1135 (4) - 4 - количество чеков по признаку расчетов [23:54:46] 1201 (2) - 445.00 - общая итоговая сумма в чеках [23:54:46] 1136 (2) - 290.00 - итоговая сумма в чеках наличными [23:54:46] 1138 (2) - 155.00 - итоговая сумма в чеках безналичными [23:54:46] 1024 (121) - суммы налогов [23:54:46] 1006 (9) - суммы НДС [23:54:46] 1010 (1) - 0% - код ставки НДС [23:54:46] 1011 (0) - 0.00 - сумма НДС по ставке [23:54:46] 1006 (11) - суммы НДС [23:54:46] 1010 (1) - 12% - код ставки НДС [23:54:46] 1011 (2) - 47.25 - сумма НДС по ставке [23:54:46] 1007 (9) - суммы НСП [23:54:46] 1014 (1) - 0% - код ставки НСП [23:54:46] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:46] 1007 (11) - суммы НСП [23:54:46] 1014 (1) - 1% - код ставки НСП [23:54:46] 1015 (2) - 3.93 - сумма НСП по ставке [23:54:46] 1007 (9) - суммы НСП [23:54:46] 1014 (1) - 2% - код ставки НСП [23:54:46] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:46] 1007 (9) - суммы НСП [23:54:46] 1014 (1) - 3% - код ставки НСП [23:54:46] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:46] 1007 (9) - суммы НСП [23:54:46] 1014 (1) - 5% - код ставки НСП [23:54:46] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:46] 1007 (9) - суммы НСП [23:54:46] 1014 (1) - 0,50% - код ставки НСП [23:54:46] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:46] 1007 (9) - суммы НСП [23:54:46] 1014 (1) - 1,50% - код ставки НСП [23:54:46] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:46] 1131 (141) - счетчики операций «расход» [23:54:46] 1135 (4) - 0 - количество чеков по признаку расчетов [23:54:46] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:54:46] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:54:46] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:54:46] 1024 (117) - суммы налогов [23:54:46] 1006 (9) - суммы НДС [23:54:46] 1010 (1) - 0% - код ставки НДС [23:54:46] 1011 (0) - 0.00 - сумма НДС по ставке [23:54:46] 1006 (9) - суммы НДС [23:54:46] 1010 (1) - 12% - код ставки НДС [23:54:46] 1011 (0) - 0.00 - сумма НДС по ставке [23:54:46] 1007 (9) - суммы НСП [23:54:46] 1014 (1) - 0% - код ставки НСП [23:54:46] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:46] 1007 (9) - суммы НСП [23:54:46] 1014 (1) - 1% - код ставки НСП [23:54:46] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:46] 1007 (9) - суммы НСП [23:54:46] 1014 (1) - 2% - код ставки НСП [23:54:46] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:46] 1007 (9) - суммы НСП [23:54:46] 1014 (1) - 3% - код ставки НСП [23:54:46] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:46] 1007 (9) - суммы НСП [23:54:46] 1014 (1) - 5% - код ставки НСП [23:54:46] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:46] 1007 (9) - суммы НСП [23:54:46] 1014 (1) - 0,50% - код ставки НСП [23:54:46] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:46] 1007 (9) - суммы НСП [23:54:46] 1014 (1) - 1,50% - код ставки НСП [23:54:46] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:46] 1132 (141) - счетчики операций «возврат расхода» [23:54:46] 1135 (4) - 0 - количество чеков по признаку расчетов [23:54:46] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:54:46] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:54:46] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:54:46] 1024 (117) - суммы налогов [23:54:46] 1006 (9) - суммы НДС [23:54:46] 1010 (1) - 0% - код ставки НДС [23:54:46] 1011 (0) - 0.00 - сумма НДС по ставке [23:54:46] 1006 (9) - суммы НДС [23:54:46] 1010 (1) - 12% - код ставки НДС [23:54:46] 1011 (0) - 0.00 - сумма НДС по ставке [23:54:46] 1007 (9) - суммы НСП [23:54:46] 1014 (1) - 0% - код ставки НСП [23:54:46] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:46] 1007 (9) - суммы НСП [23:54:46] 1014 (1) - 1% - код ставки НСП [23:54:46] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:46] 1007 (9) - суммы НСП [23:54:46] 1014 (1) - 2% - код ставки НСП [23:54:46] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:46] 1007 (9) - суммы НСП [23:54:46] 1014 (1) - 3% - код ставки НСП [23:54:46] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:46] 1007 (9) - суммы НСП [23:54:46] 1014 (1) - 5% - код ставки НСП [23:54:46] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:46] 1007 (9) - суммы НСП [23:54:46] 1014 (1) - 0,50% - код ставки НСП [23:54:46] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:46] 1007 (9) - суммы НСП [23:54:46] 1014 (1) - 1,50% - код ставки НСП [23:54:46] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:46] 1133 (588) - - счетчики коррекции - не используются [23:54:46]SetTLVBufToDocument [23:54:46]Processing tag 1194 (04AA) [23:54:46]Load OK [23:54:46]SetTLVBufToDocument [23:54:46]Processing tag 1134 (046E) [23:54:46]Malloc new data [23:54:46]Processing tag 1129 (0469) [23:54:46]Load OK [23:54:46]SetTLVBufToDocument [23:54:46]Processing tag 1135 (046F) [23:54:46]Malloc new data [23:54:46]Processing tag 1201 (04B1) [23:54:46]Malloc new data [23:54:46]Processing tag 1136 (0470) [23:54:46]Malloc new data [23:54:46]Processing tag 1138 (0472) [23:54:46]Malloc new data [23:54:46]Processing tag 1024 (0400) [23:54:46]Load OK [23:54:46]SetTLVBufToDocument [23:54:46]Processing tag 1006 (03EE) [23:54:46]Load OK [23:54:46]SetTLVBufToDocument [23:54:46]Processing tag 1010 (03F2) [23:54:46]Malloc new data [23:54:46]Processing tag 1011 (03F3) [23:54:46]Malloc new data [23:54:46]SetTLVBufToDocument err=0 [23:54:46]Processing tag 1006 (03EE) [23:54:46]Load OK [23:54:46]SetTLVBufToDocument [23:54:46]Processing tag 1010 (03F2) [23:54:46]Malloc new data [23:54:46]Processing tag 1011 (03F3) [23:54:46]Malloc new data [23:54:46]SetTLVBufToDocument err=0 [23:54:46]Processing tag 1007 (03EF) [23:54:46]Load OK [23:54:46]SetTLVBufToDocument [23:54:46]Processing tag 1014 (03F6) [23:54:46]Malloc new data [23:54:46]Processing tag 1015 (03F7) [23:54:46]Malloc new data [23:54:46]SetTLVBufToDocument err=0 [23:54:46]Processing tag 1007 (03EF) [23:54:46]Load OK [23:54:46]SetTLVBufToDocument [23:54:46]Processing tag 1014 (03F6) [23:54:46]Malloc new data [23:54:46]Processing tag 1015 (03F7) [23:54:46]Malloc new data [23:54:46]SetTLVBufToDocument err=0 [23:54:46]Processing tag 1007 (03EF) [23:54:46]Load OK [23:54:46]SetTLVBufToDocument [23:54:46]Processing tag 1014 (03F6) [23:54:46]Malloc new data [23:54:46]Processing tag 1015 (03F7) [23:54:46]Malloc new data [23:54:46]SetTLVBufToDocument err=0 [23:54:46]Processing tag 1007 (03EF) [23:54:46]Load OK [23:54:46]SetTLVBufToDocument [23:54:46]Processing tag 1014 (03F6) [23:54:46]Malloc new data [23:54:46]Processing tag 1015 (03F7) [23:54:46]Malloc new data [23:54:46]SetTLVBufToDocument err=0 [23:54:46]Processing tag 1007 (03EF) [23:54:46]Load OK [23:54:46]SetTLVBufToDocument [23:54:46]Processing tag 1014 (03F6) [23:54:46]Malloc new data [23:54:46]Processing tag 1015 (03F7) [23:54:46]Malloc new data [23:54:46]SetTLVBufToDocument err=0 [23:54:46]Processing tag 1007 (03EF) [23:54:46]Load OK [23:54:46]SetTLVBufToDocument [23:54:46]Processing tag 1014 (03F6) [23:54:46]Malloc new data [23:54:46]Processing tag 1015 (03F7) [23:54:46]Malloc new data [23:54:46]SetTLVBufToDocument err=0 [23:54:46]Processing tag 1007 (03EF) [23:54:46]Load OK [23:54:46]SetTLVBufToDocument [23:54:46]Processing tag 1014 (03F6) [23:54:46]Malloc new data [23:54:46]Processing tag 1015 (03F7) [23:54:46]Malloc new data [23:54:46]SetTLVBufToDocument err=0 [23:54:46]SetTLVBufToDocument err=0 [23:54:46]SetTLVBufToDocument err=0 [23:54:46]Processing tag 1130 (046A) [23:54:46]Load OK [23:54:46]SetTLVBufToDocument [23:54:46]Processing tag 1135 (046F) [23:54:46]Malloc new data [23:54:46]Processing tag 1201 (04B1) [23:54:46]Malloc new data [23:54:46]Processing tag 1136 (0470) [23:54:46]Malloc new data [23:54:46]Processing tag 1138 (0472) [23:54:46]Malloc new data [23:54:46]Processing tag 1024 (0400) [23:54:46]Load OK [23:54:46]SetTLVBufToDocument [23:54:46]Processing tag 1006 (03EE) [23:54:46]Load OK [23:54:46]SetTLVBufToDocument [23:54:46]Processing tag 1010 (03F2) [23:54:46]Malloc new data [23:54:46]Processing tag 1011 (03F3) [23:54:46]Malloc new data [23:54:46]SetTLVBufToDocument err=0 [23:54:46]Processing tag 1006 (03EE) [23:54:46]Load OK [23:54:46]SetTLVBufToDocument [23:54:46]Processing tag 1010 (03F2) [23:54:46]Malloc new data [23:54:46]Processing tag 1011 (03F3) [23:54:46]Malloc new data [23:54:46]SetTLVBufToDocument err=0 [23:54:46]Processing tag 1007 (03EF) [23:54:46]Load OK [23:54:46]SetTLVBufToDocument [23:54:46]Processing tag 1014 (03F6) [23:54:46]Malloc new data [23:54:46]Processing tag 1015 (03F7) [23:54:46]Malloc new data [23:54:46]SetTLVBufToDocument err=0 [23:54:46]Processing tag 1007 (03EF) [23:54:46]Load OK [23:54:46]SetTLVBufToDocument [23:54:46]Processing tag 1014 (03F6) [23:54:46]Malloc new data [23:54:46]Processing tag 1015 (03F7) [23:54:46]Malloc new data [23:54:46]SetTLVBufToDocument err=0 [23:54:46]Processing tag 1007 (03EF) [23:54:46]Load OK [23:54:46]SetTLVBufToDocument [23:54:46]Processing tag 1014 (03F6) [23:54:46]Malloc new data [23:54:46]Processing tag 1015 (03F7) [23:54:46]Malloc new data [23:54:46]SetTLVBufToDocument err=0 [23:54:46]Processing tag 1007 (03EF) [23:54:46]Load OK [23:54:46]SetTLVBufToDocument [23:54:46]Processing tag 1014 (03F6) [23:54:46]Malloc new data [23:54:46]Processing tag 1015 (03F7) [23:54:46]Malloc new data [23:54:46]SetTLVBufToDocument err=0 [23:54:46]Processing tag 1007 (03EF) [23:54:46]Load OK [23:54:46]SetTLVBufToDocument [23:54:46]Processing tag 1014 (03F6) [23:54:46]Malloc new data [23:54:46]Processing tag 1015 (03F7) [23:54:46]Malloc new data [23:54:46]SetTLVBufToDocument err=0 [23:54:46]Processing tag 1007 (03EF) [23:54:46]Load OK [23:54:46]SetTLVBufToDocument [23:54:46]Processing tag 1014 (03F6) [23:54:46]Malloc new data [23:54:46]Processing tag 1015 (03F7) [23:54:46]Malloc new data [23:54:46]SetTLVBufToDocument err=0 [23:54:46]Processing tag 1007 (03EF) [23:54:46]Load OK [23:54:46]SetTLVBufToDocument [23:54:46]Processing tag 1014 (03F6) [23:54:46]Malloc new data [23:54:46]Processing tag 1015 (03F7) [23:54:46]Malloc new data [23:54:46]SetTLVBufToDocument err=0 [23:54:46]SetTLVBufToDocument err=0 [23:54:46]SetTLVBufToDocument err=0 [23:54:46]Processing tag 1131 (046B) [23:54:46]Load OK [23:54:46]SetTLVBufToDocument [23:54:46]Processing tag 1135 (046F) [23:54:46]Malloc new data [23:54:46]Processing tag 1201 (04B1) [23:54:46]Malloc new data [23:54:46]Processing tag 1136 (0470) [23:54:46]Malloc new data [23:54:46]Processing tag 1138 (0472) [23:54:46]Malloc new data [23:54:46]Processing tag 1024 (0400) [23:54:46]Load OK [23:54:46]SetTLVBufToDocument [23:54:46]Processing tag 1006 (03EE) [23:54:46]Load OK [23:54:46]SetTLVBufToDocument [23:54:46]Processing tag 1010 (03F2) [23:54:46]Malloc new data [23:54:46]Processing tag 1011 (03F3) [23:54:46]Malloc new data [23:54:46]SetTLVBufToDocument err=0 [23:54:46]Processing tag 1006 (03EE) [23:54:46]Load OK [23:54:46]SetTLVBufToDocument [23:54:46]Processing tag 1010 (03F2) [23:54:46]Malloc new data [23:54:46]Processing tag 1011 (03F3) [23:54:46]Malloc new data [23:54:47]SetTLVBufToDocument err=0 [23:54:47]Processing tag 1007 (03EF) [23:54:47]Load OK [23:54:47]SetTLVBufToDocument [23:54:47]Processing tag 1014 (03F6) [23:54:47]Malloc new data [23:54:47]Processing tag 1015 (03F7) [23:54:47]Malloc new data [23:54:47]SetTLVBufToDocument err=0 [23:54:47]Processing tag 1007 (03EF) [23:54:47]Load OK [23:54:47]SetTLVBufToDocument [23:54:47]Processing tag 1014 (03F6) [23:54:47]Malloc new data [23:54:47]Processing tag 1015 (03F7) [23:54:47]Malloc new data [23:54:47]SetTLVBufToDocument err=0 [23:54:47]Processing tag 1007 (03EF) [23:54:47]Load OK [23:54:47]SetTLVBufToDocument [23:54:47]Processing tag 1014 (03F6) [23:54:47]Malloc new data [23:54:47]Processing tag 1015 (03F7) [23:54:47]Malloc new data [23:54:47]SetTLVBufToDocument err=0 [23:54:47]Processing tag 1007 (03EF) [23:54:47]Load OK [23:54:47]SetTLVBufToDocument [23:54:47]Processing tag 1014 (03F6) [23:54:47]Malloc new data [23:54:47]Processing tag 1015 (03F7) [23:54:47]Malloc new data [23:54:47]SetTLVBufToDocument err=0 [23:54:47]Processing tag 1007 (03EF) [23:54:47]Load OK [23:54:47]SetTLVBufToDocument [23:54:47]Processing tag 1014 (03F6) [23:54:47]Malloc new data [23:54:47]Processing tag 1015 (03F7) [23:54:47]Malloc new data [23:54:47]SetTLVBufToDocument err=0 [23:54:47]Processing tag 1007 (03EF) [23:54:47]Load OK [23:54:47]SetTLVBufToDocument [23:54:47]Processing tag 1014 (03F6) [23:54:47]Malloc new data [23:54:47]Processing tag 1015 (03F7) [23:54:47]Malloc new data [23:54:47]SetTLVBufToDocument err=0 [23:54:47]Processing tag 1007 (03EF) [23:54:47]Load OK [23:54:47]SetTLVBufToDocument [23:54:47]Processing tag 1014 (03F6) [23:54:47]Malloc new data [23:54:47]Processing tag 1015 (03F7) [23:54:47]Malloc new data [23:54:47]SetTLVBufToDocument err=0 [23:54:47]SetTLVBufToDocument err=0 [23:54:47]SetTLVBufToDocument err=0 [23:54:47]Processing tag 1132 (046C) [23:54:47]Load OK [23:54:47]SetTLVBufToDocument [23:54:47]Processing tag 1135 (046F) [23:54:47]Malloc new data [23:54:47]Processing tag 1201 (04B1) [23:54:47]Malloc new data [23:54:47]Processing tag 1136 (0470) [23:54:47]Malloc new data [23:54:47]Processing tag 1138 (0472) [23:54:47]Malloc new data [23:54:47]Processing tag 1024 (0400) [23:54:47]Load OK [23:54:47]SetTLVBufToDocument [23:54:47]Processing tag 1006 (03EE) [23:54:47]Load OK [23:54:47]SetTLVBufToDocument [23:54:47]Processing tag 1010 (03F2) [23:54:47]Malloc new data [23:54:47]Processing tag 1011 (03F3) [23:54:47]Malloc new data [23:54:47]SetTLVBufToDocument err=0 [23:54:47]Processing tag 1006 (03EE) [23:54:47]Load OK [23:54:47]SetTLVBufToDocument [23:54:47]Processing tag 1010 (03F2) [23:54:47]Malloc new data [23:54:47]Processing tag 1011 (03F3) [23:54:47]Malloc new data [23:54:47]SetTLVBufToDocument err=0 [23:54:47]Processing tag 1007 (03EF) [23:54:47]Load OK [23:54:47]SetTLVBufToDocument [23:54:47]Processing tag 1014 (03F6) [23:54:47]Malloc new data [23:54:47]Processing tag 1015 (03F7) [23:54:47]Malloc new data [23:54:47]SetTLVBufToDocument err=0 [23:54:47]Processing tag 1007 (03EF) [23:54:47]Load OK [23:54:47]SetTLVBufToDocument [23:54:47]Processing tag 1014 (03F6) [23:54:47]Malloc new data [23:54:47]Processing tag 1015 (03F7) [23:54:47]Malloc new data [23:54:47]SetTLVBufToDocument err=0 [23:54:47]Processing tag 1007 (03EF) [23:54:47]Load OK [23:54:47]SetTLVBufToDocument [23:54:47]Processing tag 1014 (03F6) [23:54:47]Malloc new data [23:54:47]Processing tag 1015 (03F7) [23:54:47]Malloc new data [23:54:47]SetTLVBufToDocument err=0 [23:54:47]Processing tag 1007 (03EF) [23:54:47]Load OK [23:54:47]SetTLVBufToDocument [23:54:47]Processing tag 1014 (03F6) [23:54:47]Malloc new data [23:54:47]Processing tag 1015 (03F7) [23:54:47]Malloc new data [23:54:47]SetTLVBufToDocument err=0 [23:54:47]Processing tag 1007 (03EF) [23:54:47]Load OK [23:54:47]SetTLVBufToDocument [23:54:47]Processing tag 1014 (03F6) [23:54:47]Malloc new data [23:54:47]Processing tag 1015 (03F7) [23:54:47]Malloc new data [23:54:47]SetTLVBufToDocument err=0 [23:54:47]Processing tag 1007 (03EF) [23:54:47]Load OK [23:54:47]SetTLVBufToDocument [23:54:47]Processing tag 1014 (03F6) [23:54:47]Malloc new data [23:54:47]Processing tag 1015 (03F7) [23:54:47]Malloc new data [23:54:47]SetTLVBufToDocument err=0 [23:54:47]Processing tag 1007 (03EF) [23:54:47]Load OK [23:54:47]SetTLVBufToDocument [23:54:47]Processing tag 1014 (03F6) [23:54:47]Malloc new data [23:54:47]Processing tag 1015 (03F7) [23:54:47]Malloc new data [23:54:47]SetTLVBufToDocument err=0 [23:54:47]SetTLVBufToDocument err=0 [23:54:47]SetTLVBufToDocument err=0 [23:54:47]Processing tag 1133 (046D) [23:54:47]Malloc new data [23:54:47]SetTLVBufToDocument err=0 [23:54:47]SetTLVBufToDocument err=0 [23:54:47]Malloc new data [23:54:47]SAM_PROTO_GetFMData [23:54:47]wFMCommunicate request_size=4 [23:54:47]MH_SAM_APDU [23:54:47]CAPDU: 80 13 03 00 [23:54:47]Write to MH i2c: E2 08 00 64 67 80 13 03 00 00 00 00 00 4A [23:54:47]Write i2c OK [23:54:47]MH_I2C_Read... [23:54:47]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:54:47]Read from MH i2c: E2 [23:54:47]MH_I2C_Read... [23:54:47]Read from MH i2c: E2 FD 00 [23:54:47]MH_I2C_Read... [23:54:47]Read from MH i2c: E2 FD 00 64 67 00 C1 04 85 04 BD 04 6E 04 04 00 BD B6 00 00 69 04 A0 00 6F 04 04 00 94 B5 00 00 B1 04 04 00 6B 57 13 30 70 04 04 00 7C AB 23 28 72 04 04 00 EF AB EF 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 4F F2 1A 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 A3 D5 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 29 01 00 00 B1 04 03 00 2C 8D 6E 70 04 03 00 C4 49 6A 72 04 03 00 68 43 04 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 80 BD 0B EF 03 09 00 F6 OFD Sender: No OFD packet to send [23:54:48]03 90 00 19 [23:54:48]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 BD B6 00 00 69 04 A0 00 6F 04 04 00 94 B5 00 00 B1 04 04 00 6B 57 13 30 70 04 04 00 7C AB 23 28 72 04 04 00 EF AB EF 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 4F F2 1A 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 A3 D5 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 29 01 00 00 B1 04 03 00 2C 8D 6E 70 04 03 00 C4 49 6A 72 04 03 00 68 43 04 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 80 BD 0B EF 03 09 00 F6 03 90 00 [23:54:48]wFMCommunicate OK [23:54:48]wFMCommunicate request_size=4 [23:54:48]MH_SAM_APDU [23:54:48]CAPDU: 80 17 00 00 [23:54:48]Write to MH i2c: E2 08 00 65 67 80 17 00 00 00 00 00 00 4C [23:54:48]Write i2c OK [23:54:48]MH_I2C_Read... [23:54:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:54:48]Read from MH i2c: E2 [23:54:48]MH_I2C_Read... [23:54:48]Read from MH i2c: E2 FD 00 [23:54:48]MH_I2C_Read... [23:54:48]Read from MH i2c: E2 FD 00 65 67 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 C5 [23:54:48]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:54:48]wFMCommunicate OK [23:54:48]wFMCommunicate request_size=4 [23:54:48]MH_SAM_APDU [23:54:48]CAPDU: 80 17 00 00 [23:54:48]Write to MH i2c: E2 08 00 66 67 80 17 00 00 00 00 00 00 4D [23:54:48]Write i2c OK [23:54:48]MH_I2C_Read... [23:54:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:54:48]Read from MH i2c: E2 [23:54:48]MH_I2C_Read... [23:54:48]Read from MH i2c: E2 FD 00 [23:54:48]MH_I2C_Read... [23:54:48]Read from MH i2c: E2 FD 00 66 67 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 ED [23:54:49]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:54:49]wFMCommunicate OK [23:54:49]wFMCommunicate request_size=4 [23:54:49]MH_SAM_APDU [23:54:49]CAPDU: 80 17 00 00 [23:54:49]Write to MH i2c: E2 08 00 67 67 80 17 00 00 00 00 00 00 4E [23:54:49]Write i2c OK [23:54:49]MH_I2C_Read... [23:54:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:54:49]Read from MH i2c: E2 [23:54:49]MH_I2C_Read... [23:54:49]Read from MH i2c: E2 FD 00 [23:54:49]MH_I2C_Read... [23:54:49]Read from MH i2c: E2 FD 00 67 67 00 03 01 00 04 F7 03 00 00 EF 03 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 90 00 D3 [23:54:49]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:54:49]wFMCommunicate OK [23:54:49]wFMCommunicate request_size=4 [23:54:49]MH_SAM_APDU [23:54:49]CAPDU: 80 17 00 00 [23:54:49]Write to MH i2c: E2 08 00 68 67 80 17 00 00 00 00 00 00 4F [23:54:49]Write i2c OK [23:54:49]MH_I2C_Read... [23:54:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [23:54:50]Read from MH i2c: E2 [23:54:50]MH_I2C_Read... [23:54:50]Read from MH i2c: E2 DE 00 [23:54:50]MH_I2C_Read... [23:54:50]Read from MH i2c: E2 DE 00 68 67 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 2E [23:54:50]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:54:50]wFMCommunicate OK [23:54:50]SAM_PROTO_GetFMData done [23:54:50]FM_GetFMData:85 04 BD 04 6E 04 04 00 BD B6 00 00 69 04 A0 00 6F 04 04 00 94 B5 00 00 B1 04 04 00 6B 57 13 30 70 04 04 00 7C AB 23 28 72 04 04 00 EF AB EF 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 4F F2 1A 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 A3 D5 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 29 01 00 00 B1 04 03 00 2C 8D 6E 70 04 03 00 C4 49 6A 72 04 03 00 68 43 04 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 80 BD 0B EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [23:54:50]oper:6F 04 04 00 94 B5 00 00 B1 04 04 00 6B 57 13 30 70 04 04 00 7C AB 23 28 72 04 04 00 EF AB EF 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 4F F2 1A 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 A3 D5 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [23:54:50]total:6B 57 13 30 [23:54:50]Malloc new data [23:54:50]oper:6F 04 04 00 29 01 00 00 B1 04 03 00 2C 8D 6E 70 04 03 00 C4 49 6A 72 04 03 00 68 43 04 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 80 BD 0B EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [23:54:51]total:2C 8D 6E [23:54:51]Malloc new data [23:54:51]oper:6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [23:54:51]total: [23:54:51]Malloc new data [23:54:51]oper:6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [23:54:51]total: [23:54:51]Malloc new data [23:54:51]KKMPrepareXReportFMData err=0 [23:54:51]Х отчет ИНН: 02508201610067 Кассир: Максатбек у Д. 12.03.2024 23:55 Смена: 266 РНМ: 0000000000092018 ЗНМ: 0300000097 СНО: Общий режим Всего чеков: 88 ИТОГИ ПРИХОД Чеков: 84 Общий итог: 13606.00 Итого наличными: 11637.00 Итого безнал.: 1969.00 НДС 0% : 0.00 НДС 12% : 1444.90 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 120.25 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 4 Общий итог: 445.00 Итого наличными: 290.00 Итого безнал.: 155.00 НДС 0% : 0.00 НДС 12% : 47.25 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 3.93 ИТОГИ РАСХОД Чеков: 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 Нал. в кассе: 11347.00 НС Приход: 8065739.31 НС Возвр.Прихода: 72451.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФМ: 0000000000871816 [23:54:51]StoreToDocumentArchive [23:54:51]MH_GetDate [23:54:51]Write to MH i2c: F0 00 00 69 67 BF [23:54:51]Write i2c OK [23:54:51]MH_I2C_Read... [23:54:51]Read from MH i2c: F0 [23:54:51]MH_I2C_Read... [23:54:51]Read from MH i2c: F0 09 00 [23:54:51]MH_I2C_Read... [23:54:51]Read from MH i2c: F0 09 00 69 67 00 5D EB F0 65 0A 64 6E 65 A6 [23:54:51]shift 266 fd 1710287709 [23:54:51]save to /storage/0266/doc_1710287709 [23:54:51]save last doc name /storage/0266/doc_1710287709 to /storage/kkm_last_doc_name [23:54:51]save OK [23:54:51]Clear old archive folders... [23:54:51]NVStorageSaveData kkm_last_timestamp [23:54:51]File name is /storage/kkm_last_timestamp [23:54:51]Write 4 bytes [23:54:51]NVStorageSaveData done [23:54:51]ExternCall_PrintAddStr [23:54:51]wPrintStart [23:54:51]Write to MH i2c: 01 00 00 6A 67 D1 [23:54:51]Write i2c OK [23:54:51]MH_I2C_Read... [23:54:51]Read from MH i2c: 01 [23:54:51]MH_I2C_Read... [23:54:51]Read from MH i2c: 01 07 00 [23:54:51]MH_I2C_Read... [23:54:51]Read from MH i2c: 01 07 00 6A 67 00 00 00 00 00 FF 0F E6 [23:54:51]RasterBufferAndPrint [23:54:51]line Х отчет [23:54:51]line ИНН: 02508201610067 [23:54:51]line Кассир: Максатбек у Д. [23:54:51]line 12.03.2024 23:55 [23:54:51]line Смена: 266 [23:54:51]line РНМ: 0000000000092018 [23:54:51]line ЗНМ: 0300000097 [23:54:51]line СНО: Общий режим [23:54:51]line Всего чеков: 88 [23:54:51]line ИТОГИ ПРИХОД [23:54:51]line Чеков: 84 [23:54:51]line Общий итог: 13606.00 [23:54:51]line Итого наличными: 11637.00 [23:54:51]line Итого безнал.: 1969.00 [23:54:51]line НДС 0% : 0.00 [23:54:51]line НДС 12% : 1444.90 [23:54:51]line НСП 0% : 0.00 [23:54:51]line НСП 1,50% : 0.00 [23:54:51]line НСП 0,50% : 0.00 [23:54:51]line НСП 5% : 0.00 [23:54:51]line НСП 3% : 0.00 [23:54:51]line НСП 2% : 0.00 [23:54:51]line НСП 1% : 120.25 [23:54:51]line ИТОГИ ВОЗВРАТ ПРИХОДА [23:54:51]line Чеков: 4 [23:54:51]line Общий итог: 445.00 [23:54:51]line Итого наличными: 290.00 [23:54:51]line Итого безнал.: 155.00 [23:54:51]line НДС 0% : 0.00 [23:54:51]line НДС 12% : 47.25 [23:54:51]line НСП 0% : 0.00 [23:54:51]line НСП 1,50% : 0.00 [23:54:51]line НСП 0,50% : 0.00 [23:54:51]line НСП 5% : 0.00 [23:54:51]line НСП 3% : 0.00 [23:54:51]line НСП 2% : 0.00 [23:54:51]line НСП 1% : 3.93 [23:54:51]line ИТОГИ РАСХОД [23:54:51]line Чеков: 0 [23:54:51]line Общий итог: 0.00 [23:54:51]line Итого наличными: 0.00 [23:54:51]line Итого безнал.: 0.00 [23:54:51]line НДС 0% : 0.00 [23:54:51]line НДС 12% : 0.00 [23:54:51]line НСП 0% : 0.00 [23:54:51]line НСП 1,50% : 0.00 [23:54:51]line НСП 0,50% : 0.00 [23:54:51]line НСП 5% : 0.00 [23:54:51]line НСП 3% : 0.00 [23:54:51]line НСП 2% : 0.00 [23:54:51]line НСП 1% : 0.00 [23:54:51]line ИТОГИ ВОЗВРАТ РАСХОДА [23:54:51]line Чеков: 0 [23:54:51]line Общий итог: 0.00 [23:54:51]line Итого наличными: 0.00 [23:54:51]line Итого безнал.: 0.00 [23:54:51]line НДС 0% : 0.00 [23:54:51]line НДС 12% : 0.00 [23:54:51]line НСП 0% : 0.00 [23:54:51]line НСП 1,50% : 0.00 [23:54:51]line НСП 0,50% : 0.00 [23:54:51]line НСП 5% : 0.00 [23:54:51]line НСП 3% : 0.00 [23:54:51]line НСП 2% : 0.00 [23:54:51]line НСП 1% : 0.00 [23:54:51]line Сумма внесений: 0.00 [23:54:51]line Сумма выплат: 0.00 [23:54:51]line Нал. в кассе: 11347.00 [23:54:51]line НС Приход: 8065739.31 [23:54:51]line НС Возвр.Прихода: 72451.00 [23:54:51]line НС Расход: 0.00 [23:54:51]line НС Возвр.Расхода: 0.00 [23:54:51]line ФМ: 0000000000871816 [23:54:51]written 0, free lines is 4095 [23:54:52]Write to MH i2c: 01 00 00 B5 67 1C [23:54:52]Write i2c OK [23:54:52]MH_I2C_Read... [23:54:52]Read from MH i2c: 01 [23:54:52]MH_I2C_Read... [23:54:52]Read from MH i2c: 01 07 00 [23:54:52]MH_I2C_Read... [23:54:52]Read from MH i2c: 01 07 00 B5 67 00 00 00 00 00 A3 0A D0 [23:54:52]RasterBufferAndPrint [23:54:52]line [23:54:52]line [23:54:52]line [23:54:52]line [23:54:52]line [23:54:52]written 0, free lines is 2754 [23:54:52]MH_Cut [23:54:52]Write to MH i2c: D1 01 00 BC 67 01 F5 [23:54:52]Write i2c OK [23:54:52]MH_I2C_Read... [23:54:52]Read from MH i2c: D1 [23:54:52]MH_I2C_Read... [23:54:52]Read from MH i2c: D1 01 00 [23:54:52]MH_I2C_Read... [23:54:52]Read from MH i2c: D1 01 00 BC 67 00 F4 [23:54:52]Write to MH i2c: 01 00 00 BD 67 24 [23:54:52]Write i2c OK [23:54:52]MH_I2C_Read... [23:54:53]OFD Sender: No OFD packet to send [23:54:53]*** Cut start [23:54:53]*** Purtial cut [23:54:53]*** Stage 1: CUTSNS_PIN = 1 [23:54:53]Read from MH i2c: 01 [23:54:53]MH_I2C_Read... [23:54:53]*** Stop cut motor [23:54:53]*** Cut end [23:54:53]Read from MH i2c: 01 07 00 [23:54:53]MH_I2C_Read... [23:54:53]Read from MH i2c: 01 07 00 BD 67 00 00 00 00 00 FF 0F 39 [23:54:53]process_action x_report done [23:54:53]requested_data is exist [23:54:53]produce_requested_data [23:54:53]requested_item fd.num is exist - process it [23:54:53]SAM_PROTO_GetFieldsCounters [23:54:53]wFMCommunicate request_size=4 [23:54:53]MH_SAM_APDU [23:54:53]CAPDU: 80 13 00 00 [23:54:53]Write to MH i2c: E2 08 00 BE 67 80 13 00 00 00 00 00 00 A1 [23:54:53]Write i2c OK [23:54:53]MH_I2C_Read... [23:54:53]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:54:53]Read from MH i2c: E2 [23:54:53]MH_I2C_Read... [23:54:53]Read from MH i2c: E2 62 00 [23:54:53]MH_I2C_Read... [23:54:53]Read from MH i2c: E2 62 00 BE 67 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 32 B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 58 00 00 00 5E 04 04 00 58 00 00 00 57 04 04 00 59 00 00 00 19 04 04 00 00 00 00 00 90 00 EA [23:54: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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 32 B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 58 00 00 00 5E 04 04 00 58 00 00 00 57 04 04 00 59 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:54:53]wFMCommunicate OK [23:54:53]SAM_PROTO_GetFieldsCounters done [23:54:53]requested_item shift.num is exist - process it [23:54:53]requested_item shift.opened is exist - process it [23:54:53]req_shift_opened [23:54:53]FM_GetShiftState [23:54:53]SAM_PROTO_GetShiftState [23:54:53]wFMCommunicate request_size=4 [23:54:53]MH_SAM_APDU [23:54:53]CAPDU: 80 13 01 00 [23:54:53]Write to MH i2c: E2 08 00 BF 67 80 13 01 00 00 00 00 00 A3 [23:54:53]Write i2c OK [23:54:53]MH_I2C_Read... [23:54:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:54:53]Read from MH i2c: E2 [23:54:53]MH_I2C_Read... [23:54:53]Read from MH i2c: E2 0E 00 [23:54:53]MH_I2C_Read... [23:54:53]Read from MH i2c: E2 0E 00 BF 67 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 D2 [23:54:53]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [23:54:53]wFMCommunicate OK [23:54:53]SAM_PROTO_GetShiftState done [23:54:53]FM_GetShiftState done [23:54:53]req_shift_opened done [23:54:53]requested_item shift.open_date is exist - process it [23:54:53]req_shift_open_date [23:54:53]req_shift_open_date done [23:54:53]produce_requested_data done [23:54:53]produce_requested_data return {"fd.num":47410,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [23:54:53]process_action_free x_report [23:54:53]json_value_free [23:54:53]json_value_free done [23:54:53]process_json_proto returns [23:54:53]Send response to host [23:54:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":47410,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [23:54:53]free response buf [23:54:53]execute_script done [23:54:53]execute_script returns [23:54:53]free content buf [23:54:53]Sock 9.Close socket [23:54:53]Sock 9.Thread stoped [23:54:58]OFD Sender: No OFD packet to send [23:55:03]OFD Sender: No OFD packet to send [23:55:08]OFD Sender: No OFD packet to send [23:55:13]OFD Sender: No OFD packet to send [23:55:18]OFD Sender: No OFD packet to send [23:55:23]OFD Sender: No OFD packet to send [23:55:28]OFD Sender: No OFD packet to send [23:55:33]OFD Sender: No OFD packet to send [23:55:38]OFD Sender: No OFD packet to send [23:55:43]OFD Sender: No OFD packet to send [23:55:48]OFD Sender: No OFD packet to send [23:55:53]OFD Sender: No OFD packet to send [23:55:58]OFD Sender: No OFD packet to send [23:56:03]OFD Sender: No OFD packet to send [23:56:08]OFD Sender: No OFD packet to send [23:56:13]OFD Sender: No OFD packet to send [23:56:18]OFD Sender: No OFD packet to send [23:56:23]OFD Sender: No OFD packet to send [23:56:28]OFD Sender: No OFD packet to send [23:56:33]OFD Sender: No OFD packet to send [23:56:38]OFD Sender: No OFD packet to send [23:56:43]OFD Sender: No OFD packet to send [23:56:48]OFD Sender: No OFD packet to send [23:56:53]OFD Sender: No OFD packet to send [23:56:58]OFD Sender: No OFD packet to send [23:57:03]OFD Sender: No OFD packet to send [23:57:08]OFD Sender: No OFD packet to send [23:57:13]OFD Sender: No OFD packet to send [23:57:18]OFD Sender: No OFD packet to send [23:57:23]OFD Sender: No OFD packet to send [23:57:28]OFD Sender: No OFD packet to send [23:57:33]OFD Sender: No OFD packet to send [23:57:38]OFD Sender: No OFD packet to send [23:57:43]OFD Sender: No OFD packet to send [23:57:48]OFD Sender: No OFD packet to send [23:57:53]OFD Sender: No OFD packet to send [23:57:58]OFD Sender: No OFD packet to send [23:58:03]OFD Sender: No OFD packet to send [23:58:08]OFD Sender: No OFD packet to send [23:58:13]OFD Sender: No OFD packet to send [23:58:18]OFD Sender: No OFD packet to send [23:58:23]OFD Sender: No OFD packet to send [23:58:28]OFD Sender: No OFD packet to send [23:58:33]OFD Sender: No OFD packet to send [23:58:38]OFD Sender: No OFD packet to send [23:58:43]OFD Sender: No OFD packet to send [23:58:48]OFD Sender: No OFD packet to send [23:58:53]OFD Sender: No OFD packet to send [23:58:58]OFD Sender: No OFD packet to send [23:59:03]OFD Sender: No OFD packet to send [23:59:08]OFD Sender: No OFD packet to send [23:59:13]OFD Sender: No OFD packet to send [23:59:18]OFD Sender: No OFD packet to send [23:59:23]OFD Sender: No OFD packet to send [23:59:28]OFD Sender: No OFD packet to send [23:59:33]accept exits with 7 [23:59:33]New connection [23:59:33]New thread 3066596708 created [23:59:33]Thread 3066453348 joined [23:59:33]Waiting for new connection... [23:59:33] Sock 7.Parse request [23:59:33]Sock 7.Check first char [23:59:33]Sock 7.First char is OK [23:59:33]request: POST /json_proto HTTP/1.0 [23:59:33]Method: POST [23:59:33]URL: /json_proto [23:59:33]Method is POST - this is cgi request [23:59:33]url: /json_proto [23:59:33]query_string will be loaded in cgi processing [23:59:33]execute_cgi json_proto POST (null) [23:59:33]execute_cgi path=json_proto method=POST [23:59:33]POST find Content-Length [23:59:33]Host: 172.17.32.68:8080 [23:59:33]Content-Length: 215 [23:59:33]Content-Type: application/json [23:59:33] [23:59:33]POST finish read [23:59:33]Found Content-Length = 215 [23:59:33]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:59:33]execute_script... [23:59:33]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:59:33]POST & json_proto [23:59:33]process_json_proto [23:59:33]json parsed OK: [23:59:33]protocol is kg_v1.0 [23:59:33]action value=get_value [23:59:33]process_action get_value [23:59:33]cmd_get_value [23:59:33]process_action get_value done [23:59:33]requested_data is exist [23:59:33]produce_requested_data [23:59:33]requested_item kkm.sn is exist - process it [23:59:33]requested_item kkm.ver is exist - process it [23:59:33]requested_item fm.sn is exist - process it [23:59:33]wFMCommunicate request_size=4 [23:59:33]MH_SAM_APDU [23:59:33]CAPDU: 80 11 00 00 [23:59:33]Write to MH i2c: E2 08 00 C0 67 80 11 00 00 00 00 00 00 A1 [23:59:33]Write i2c OK [23:59:33]MH_I2C_Read... [23:59:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:59:33]Read from MH i2c: E2 [23:59:33]MH_I2C_Read... [23:59:33]Read from MH i2c: E2 17 00 [23:59:33]MH_I2C_Read... [23:59:33]Read from MH i2c: E2 17 00 C0 67 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 F3 [23:59:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [23:59:33]wFMCommunicate OK [23:59:33]requested_item fd.num is exist - process it [23:59:33]SAM_PROTO_GetFieldsCounters [23:59:33]wFMCommunicate request_size=4 [23:59:33]MH_SAM_APDU [23:59:33]CAPDU: 80 13 00 00 [23:59:33]Write to MH i2c: E2 08 00 C1 67 80 13 00 00 00 00 00 00 A4 [23:59:33]Write i2c OK [23:59:33]MH_I2C_Read... [23:59:33]OFD Sender: No OFD packet to send [23:59:33]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:59:33]Read from MH i2c: E2 [23:59:33]MH_I2C_Read... [23:59:33]Read from MH i2c: E2 62 00 [23:59:33]MH_I2C_Read... [23:59:33]Read from MH i2c: E2 62 00 C1 67 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 32 B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 58 00 00 00 5E 04 04 00 58 00 00 00 57 04 04 00 59 00 00 00 19 04 04 00 00 00 00 00 90 00 ED [23:59: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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 32 B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 58 00 00 00 5E 04 04 00 58 00 00 00 57 04 04 00 59 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:59:33]wFMCommunicate OK [23:59:33]SAM_PROTO_GetFieldsCounters done [23:59:33]requested_item shift.num is exist - process it [23:59:33]requested_item shift.opened is exist - process it [23:59:33]req_shift_opened [23:59:33]FM_GetShiftState [23:59:33]SAM_PROTO_GetShiftState [23:59:33]wFMCommunicate request_size=4 [23:59:33]MH_SAM_APDU [23:59:33]CAPDU: 80 13 01 00 [23:59:33]Write to MH i2c: E2 08 00 C2 67 80 13 01 00 00 00 00 00 A6 [23:59:33]Write i2c OK [23:59:33]MH_I2C_Read... [23:59:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:59:33]Read from MH i2c: E2 [23:59:33]MH_I2C_Read... [23:59:33]Read from MH i2c: E2 0E 00 [23:59:33]MH_I2C_Read... [23:59:33]Read from MH i2c: E2 0E 00 C2 67 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 D5 [23:59:33]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [23:59:33]wFMCommunicate OK [23:59:33]SAM_PROTO_GetShiftState done [23:59:33]FM_GetShiftState done [23:59:33]req_shift_opened done [23:59:33]requested_item shift.open_date is exist - process it [23:59:33]req_shift_open_date [23:59:33]req_shift_open_date done [23:59:33]produce_requested_data done [23:59:33]produce_requested_data return {"kkm.sn":"0300000097","kkm.ver":"001","fm.sn":"0000000000871816","fd.num":47410,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [23:59:33]process_action_free get_value [23:59:33]json_value_free [23:59:33]json_value_free done [23:59:33]process_json_proto returns [23:59:33]Send response to host [23:59:33]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000097","kkm.ver":"001","fm.sn":"0000000000871816","fd.num":47410,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [23:59:33]free response buf [23:59:33]execute_script done [23:59:33]execute_script returns [23:59:33]free content buf [23:59:33]Sock 7.Close socket [23:59:33]Sock 7.Thread stoped [23:59:33]accept exits with 9 [23:59:33]New connection [23:59:33]New thread 3066453348 created [23:59:33]Thread 3066596708 joined [23:59:33]Waiting for new connection... [23:59:33] Sock 9.Parse request [23:59:33]Sock 9.Check first char [23:59:33]Sock 9.First char is OK [23:59:33]request: POST /json_proto HTTP/1.0 [23:59:33]Method: POST [23:59:33]URL: /json_proto [23:59:33]Method is POST - this is cgi request [23:59:33]url: /json_proto [23:59:33]query_string will be loaded in cgi processing [23:59:33]execute_cgi json_proto POST (null) [23:59:33]execute_cgi path=json_proto method=POST [23:59:33]POST find Content-Length [23:59:33]Host: 172.17.32.68:8080 [23:59:33]Content-Length: 331 [23:59:33]Content-Type: application/json [23:59:33] [23:59:33]POST finish read [23:59:33]Found Content-Length = 331 [23:59:33]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:59:33]execute_script... [23:59:33]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:59:33]POST & json_proto [23:59:33]process_json_proto [23:59:33]json parsed OK: [23:59:33]protocol is kg_v1.0 [23:59:33]action value=get_value [23:59:33]process_action get_value [23:59:33]cmd_get_value [23:59:33]process_action get_value done [23:59:33]requested_data is exist [23:59:33]produce_requested_data [23:59:33]requested_item fm.sale.total is exist - process it [23:59:33]SAM_PROTO_GetFMData [23:59:33]wFMCommunicate request_size=4 [23:59:33]MH_SAM_APDU [23:59:33]CAPDU: 80 13 03 00 [23:59:33]Write to MH i2c: E2 08 00 C3 67 80 13 03 00 00 00 00 00 A9 [23:59:33]Write i2c OK [23:59:33]MH_I2C_Read... [23:59:34]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:59:34]Read from MH i2c: E2 [23:59:34]MH_I2C_Read... [23:59:34]Read from MH i2c: E2 FD 00 [23:59:34]MH_I2C_Read... [23:59:34]Read from MH i2c: E2 FD 00 C3 67 00 C1 04 85 04 BD 04 6E 04 04 00 BD B6 00 00 69 04 A0 00 6F 04 04 00 94 B5 00 00 B1 04 04 00 6B 57 13 30 70 04 04 00 7C AB 23 28 72 04 04 00 EF AB EF 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 4F F2 1A 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 A3 D5 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 29 01 00 00 B1 04 03 00 2C 8D 6E 70 04 03 00 C4 49 6A 72 04 03 00 68 43 04 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 80 BD 0B EF 03 09 00 F6 03 90 00 78 [23:59:34]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 BD B6 00 00 69 04 A0 00 6F 04 04 00 94 B5 00 00 B1 04 04 00 6B 57 13 30 70 04 04 00 7C AB 23 28 72 04 04 00 EF AB EF 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 4F F2 1A 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 A3 D5 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 29 01 00 00 B1 04 03 00 2C 8D 6E 70 04 03 00 C4 49 6A 72 04 03 00 68 43 04 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 80 BD 0B EF 03 09 00 F6 03 90 00 [23:59:34]wFMCommunicate OK [23:59:34]wFMCommunicate request_size=4 [23:59:34]MH_SAM_APDU [23:59:34]CAPDU: 80 17 00 00 [23:59:34]Write to MH i2c: E2 08 00 C4 67 80 17 00 00 00 00 00 00 AB [23:59:34]Write i2c OK [23:59:34]MH_I2C_Read... [23:59:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:34]Read from MH i2c: E2 [23:59:34]MH_I2C_Read... [23:59:34]Read from MH i2c: E2 FD 00 [23:59:34]MH_I2C_Read... [23:59:34]Read from MH i2c: E2 FD 00 C4 67 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 24 [23:59:34]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:59:34]wFMCommunicate OK [23:59:34]wFMCommunicate request_size=4 [23:59:34]MH_SAM_APDU [23:59:34]CAPDU: 80 17 00 00 [23:59:34]Write to MH i2c: E2 08 00 C5 67 80 17 00 00 00 00 00 00 AC [23:59:34]Write i2c OK [23:59:34]MH_I2C_Read... [23:59:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:34]Read from MH i2c: E2 [23:59:34]MH_I2C_Read... [23:59:34]Read from MH i2c: E2 FD 00 [23:59:34]MH_I2C_Read... [23:59:34]Read from MH i2c: E2 FD 00 C5 67 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 4C [23:59:34]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:59:34]wFMCommunicate OK [23:59:34]wFMCommunicate request_size=4 [23:59:34]MH_SAM_APDU [23:59:34]CAPDU: 80 17 00 00 [23:59:34]Write to MH i2c: E2 08 00 C6 67 80 17 00 00 00 00 00 00 AD [23:59:34]Write i2c OK [23:59:34]MH_I2C_Read... [23:59:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:34]Read from MH i2c: E2 [23:59:34]MH_I2C_Read... [23:59:34]Read from MH i2c: E2 FD 00 [23:59:34]MH_I2C_Read... [23:59:34]Read from MH i2c: E2 FD 00 C6 67 00 03 01 00 04 F7 03 00 00 EF 03 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 90 00 32 [23:59:34]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:59:34]wFMCommunicate OK [23:59:34]wFMCommunicate request_size=4 [23:59:34]MH_SAM_APDU [23:59:34]CAPDU: 80 17 00 00 [23:59:34]Write to MH i2c: E2 08 00 C7 67 80 17 00 00 00 00 00 00 AE [23:59:34]Write i2c OK [23:59:34]MH_I2C_Read... [23:59:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [23:59:35]Read from MH i2c: E2 [23:59:35]MH_I2C_Read... [23:59:35]Read from MH i2c: E2 DE 00 [23:59:35]MH_I2C_Read... [23:59:35]Read from MH i2c: E2 DE 00 C7 67 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 8D [23:59:35]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:59:35]wFMCommunicate OK [23:59:35]SAM_PROTO_GetFMData done [23:59:35]requested_item fm.sale_refund.total is exist - process it [23:59:35]requested_item fm.buy.total is exist - process it [23:59:35]requested_item shift.sale.total is exist - process it [23:59:35]SAM_PROTO_GetShiftData [23:59:35]wFMCommunicate request_size=4 [23:59:35]MH_SAM_APDU [23:59:35]CAPDU: 80 13 02 00 [23:59:35]Write to MH i2c: E2 08 00 C8 67 80 13 02 00 00 00 00 00 AD [23:59:35]Write i2c OK [23:59:35]MH_I2C_Read... [23:59:35]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:59:35]Read from MH i2c: E2 [23:59:35]MH_I2C_Read... [23:59:35]Read from MH i2c: E2 FD 00 [23:59:35]MH_I2C_Read... [23:59:35]Read from MH i2c: E2 FD 00 C8 67 00 B8 04 AA 04 B4 04 6E 04 04 00 58 00 00 00 69 04 9B 00 6F 04 04 00 54 00 00 00 B1 04 03 00 D8 C2 14 70 04 03 00 B4 C1 11 72 04 03 00 24 01 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 6A 34 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 F9 2E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 04 00 00 00 B1 04 02 00 D4 AD 70 04 02 00 48 71 72 04 02 00 8C 3C 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 75 12 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 90 00 FB [23:59:35]RAPDU: B8 04 AA 04 B4 04 6E 04 04 00 58 00 00 00 69 04 9B 00 6F 04 04 00 54 00 00 00 B1 04 03 00 D8 C2 14 70 04 03 00 B4 C1 11 72 04 03 00 24 01 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 6A 34 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 F9 2E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 04 00 00 00 B1 04 02 00 D4 AD 70 04 02 00 48 71 72 04 02 00 8C 3C 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 75 12 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 90 00 [23:59:35]wFMCommunicate OK [23:59:35]wFMCommunicate request_size=4 [23:59:35]MH_SAM_APDU [23:59:35]CAPDU: 80 17 00 00 [23:59:35]Write to MH i2c: E2 08 00 C9 67 80 17 00 00 00 00 00 00 B0 [23:59:35]Write i2c OK [23:59:35]MH_I2C_Read... [23:59:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:35]Read from MH i2c: E2 [23:59:35]MH_I2C_Read... [23:59:35]Read from MH i2c: E2 FD 00 [23:59:35]MH_I2C_Read... [23:59:35]Read from MH i2c: E2 FD 00 C9 67 00 0B 00 F6 03 01 00 01 F7 03 02 00 89 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 6B [23:59:35]RAPDU: 0B 00 F6 03 01 00 01 F7 03 02 00 89 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:59:35]wFMCommunicate OK [23:59:35]wFMCommunicate request_size=4 [23:59:35]MH_SAM_APDU [23:59:35]CAPDU: 80 17 00 00 [23:59:35]Write to MH i2c: E2 08 00 CA 67 80 17 00 00 00 00 00 00 B1 [23:59:36]Write i2c OK [23:59:36]MH_I2C_Read... [23:59:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:36]Read from MH i2c: E2 [23:59:36]MH_I2C_Read... [23:59:36]Read from MH i2c: E2 FD 00 [23:59:36]MH_I2C_Read... [23:59:36]Read from MH i2c: E2 FD 00 CA 67 00 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 53 [23:59:36]RAPDU: 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:59:36]wFMCommunicate OK [23:59:36]wFMCommunicate request_size=4 [23:59:36]MH_SAM_APDU [23:59:36]CAPDU: 80 17 00 00 [23:59:36]Write to MH i2c: E2 08 00 CB 67 80 17 00 00 00 00 00 00 B2 [23:59:36]Write i2c OK [23:59:36]MH_I2C_Read... [23:59:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:36]Read from MH i2c: E2 [23:59:36]MH_I2C_Read... [23:59:36]Read from MH i2c: E2 FD 00 [23:59:36]MH_I2C_Read... [23:59:36]Read from MH i2c: E2 FD 00 CB 67 00 03 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 90 00 3B [23:59:36]RAPDU: 03 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 90 00 [23:59:36]wFMCommunicate OK [23:59:36]wFMCommunicate request_size=4 [23:59:36]MH_SAM_APDU [23:59:36]CAPDU: 80 17 00 00 [23:59:36]Write to MH i2c: E2 08 00 CC 67 80 17 00 00 00 00 00 00 B3 [23:59:36]Write i2c OK [23:59:36]MH_I2C_Read... [23:59:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 210! [23:59:36]Read from MH i2c: E2 [23:59:36]MH_I2C_Read... [23:59:36]Read from MH i2c: E2 D5 00 [23:59:36]MH_I2C_Read... [23:59:36]Read from MH i2c: E2 D5 00 CC 67 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 94 [23:59:36]RAPDU: EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:59:36]wFMCommunicate OK [23:59:36]SAM_PROTO_GetShiftData done [23:59:36]requested_item shift.sale.total_cash is exist - process it [23:59:36]requested_item shift.sale_refund.total is exist - process it [23:59:36]requested_item shift.sale_refund.total_cash is exist - process it [23:59:36]requested_item shift.buy.total is exist - process it [23:59:36]requested_item shift.buy.total_cash is exist - process it [23:59:36]produce_requested_data done [23:59:36]produce_requested_data return {"fm.sale.total":8065739.31,"fm.sale_refund.total":72451.00,"fm.buy.total":0.00,"shift.sale.total":13606.00,"shift.sale.total_cash":11637.00,"shift.sale_refund.total":445.00,"shift.sale_refund.total_cash":290.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [23:59:36]process_action_free get_value [23:59:36]json_value_free [23:59:36]json_value_free done [23:59:36]process_json_proto returns [23:59:36]Send response to host [23:59:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8065739.31,"fm.sale_refund.total":72451.00,"fm.buy.total":0.00,"shift.sale.total":13606.00,"shift.sale.total_cash":11637.00,"shift.sale_refund.total":445.00,"shift.sale_refund.total_cash":290.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [23:59:36]free response buf [23:59:36]execute_script done [23:59:36]execute_script returns [23:59:36]free content buf [23:59:36]Sock 9.Close socket [23:59:36]Sock 9.Thread stoped [23:59:36]accept exits with 7 [23:59:36]New connection [23:59:36]New thread 3066596708 created [23:59:36]Thread 3066453348 joined [23:59:36]Waiting for new connection... [23:59:36] Sock 7.Parse request [23:59:36]Sock 7.Check first char [23:59:36]Sock 7.First char is OK [23:59:36]request: POST /json_proto HTTP/1.0 [23:59:36]Method: POST [23:59:36]URL: /json_proto [23:59:36]Method is POST - this is cgi request [23:59:36]url: /json_proto [23:59:36]query_string will be loaded in cgi processing [23:59:36]execute_cgi json_proto POST (null) [23:59:36]execute_cgi path=json_proto method=POST [23:59:36]POST find Content-Length [23:59:36]Host: 172.17.32.68:8080 [23:59:36]Content-Length: 331 [23:59:36]Content-Type: application/json [23:59:36] [23:59:36]POST finish read [23:59:36]Found Content-Length = 331 [23:59:36]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:59:36]execute_script... [23:59:36]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:59:36]POST & json_proto [23:59:36]process_json_proto [23:59:36]json parsed OK: [23:59:36]protocol is kg_v1.0 [23:59:36]action value=get_value [23:59:36]process_action get_value [23:59:36]cmd_get_value [23:59:36]process_action get_value done [23:59:36]requested_data is exist [23:59:36]produce_requested_data [23:59:36]requested_item fm.sale.total is exist - process it [23:59:36]SAM_PROTO_GetFMData [23:59:36]wFMCommunicate request_size=4 [23:59:36]MH_SAM_APDU [23:59:36]CAPDU: 80 13 03 00 [23:59:36]Write to MH i2c: E2 08 00 CD 67 80 13 03 00 00 00 00 00 B3 [23:59:36]Write i2c OK [23:59:36]MH_I2C_Read... [23:59:37]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:59:37]Read from MH i2c: E2 [23:59:37]MH_I2C_Read... [23:59:37]Read from MH i2c: E2 FD 00 [23:59:37]MH_I2C_Read... [23:59:37]Read from MH i2c: E2 FD 00 CD 67 00 C1 04 85 04 BD 04 6E 04 04 00 BD B6 00 00 69 04 A0 00 6F 04 04 00 94 B5 00 00 B1 04 04 00 6B 57 13 30 70 04 04 00 7C AB 23 28 72 04 04 00 EF AB EF 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 4F F2 1A 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 A3 D5 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 29 01 00 00 B1 04 03 00 2C 8D 6E 70 04 03 00 C4 49 6A 72 04 03 00 68 43 04 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 80 BD 0B EF 03 09 00 F6 03 90 00 82 [23:59:37]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 BD B6 00 00 69 04 A0 00 6F 04 04 00 94 B5 00 00 B1 04 04 00 6B 57 13 30 70 04 04 00 7C AB 23 28 72 04 04 00 EF AB EF 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 4F F2 1A 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 A3 D5 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 29 01 00 00 B1 04 03 00 2C 8D 6E 70 04 03 00 C4 49 6A 72 04 03 00 68 43 04 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 80 BD 0B EF 03 09 00 F6 03 90 00 [23:59:37]wFMCommunicate OK [23:59:37]wFMCommunicate request_size=4 [23:59:37]MH_SAM_APDU [23:59:37]CAPDU: 80 17 00 00 [23:59:37]Write to MH i2c: E2 08 00 CE 67 80 17 00 00 00 00 00 00 B5 [23:59:37]Write i2c OK [23:59:37]MH_I2C_Read... [23:59:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:37]Read from MH i2c: E2 [23:59:37]MH_I2C_Read... [23:59:37]Read from MH i2c: E2 FD 00 [23:59:37]MH_I2C_Read... [23:59:37]Read from MH i2c: E2 FD 00 CE 67 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 2E [23:59:37]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:59:37]wFMCommunicate OK [23:59:37]wFMCommunicate request_size=4 [23:59:37]MH_SAM_APDU [23:59:37]CAPDU: 80 17 00 00 [23:59:37]Write to MH i2c: E2 08 00 CF 67 80 17 00 00 00 00 00 00 B6 [23:59:37]Write i2c OK [23:59:37]MH_I2C_Read... [23:59:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:38]Read from MH i2c: E2 [23:59:38]MH_I2C_Read... [23:59:38]Read from MH i2c: E2 FD 00 [23:59:38]MH_I2C_Read... [23:59:38]Read from MH i2c: E2 FD 00 CF 67 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 56 [23:59:38]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:59:38]wFMCommunicate OK [23:59:38]wFMCommunicate request_size=4 [23:59:38]MH_SAM_APDU [23:59:38]CAPDU: 80 17 00 00 [23:59:38]Write to MH i2c: E2 08 00 D0 67 80 17 00 00 00 00 00 00 B7 [23:59:38]Write i2c OK [23:59:38]MH_I2C_Read... [23:59:38]OFD Sender: No OFD packet to send [23:59:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:38]Read from MH i2c: E2 [23:59:38]MH_I2C_Read... [23:59:38]Read from MH i2c: E2 FD 00 [23:59:38]MH_I2C_Read... [23:59:38]Read from MH i2c: E2 FD 00 D0 67 00 03 01 00 04 F7 03 00 00 EF 03 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 90 00 3C [23:59:38]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:59:38]wFMCommunicate OK [23:59:38]wFMCommunicate request_size=4 [23:59:38]MH_SAM_APDU [23:59:38]CAPDU: 80 17 00 00 [23:59:38]Write to MH i2c: E2 08 00 D1 67 80 17 00 00 00 00 00 00 B8 [23:59:38]Write i2c OK [23:59:38]MH_I2C_Read... [23:59:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [23:59:38]Read from MH i2c: E2 [23:59:38]MH_I2C_Read... [23:59:38]Read from MH i2c: E2 DE 00 [23:59:38]MH_I2C_Read... [23:59:38]Read from MH i2c: E2 DE 00 D1 67 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 97 [23:59:38]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:59:39]wFMCommunicate OK [23:59:39]SAM_PROTO_GetFMData done [23:59:39]requested_item fm.sale_refund.total is exist - process it [23:59:39]requested_item fm.buy.total is exist - process it [23:59:39]requested_item shift.sale.total is exist - process it [23:59:39]SAM_PROTO_GetShiftData [23:59:39]wFMCommunicate request_size=4 [23:59:39]MH_SAM_APDU [23:59:39]CAPDU: 80 13 02 00 [23:59:39]Write to MH i2c: E2 08 00 D2 67 80 13 02 00 00 00 00 00 B7 [23:59:39]Write i2c OK [23:59:39]MH_I2C_Read... [23:59:39]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:59:39]Read from MH i2c: E2 [23:59:39]MH_I2C_Read... [23:59:39]Read from MH i2c: E2 FD 00 [23:59:39]MH_I2C_Read... [23:59:39]Read from MH i2c: E2 FD 00 D2 67 00 B8 04 AA 04 B4 04 6E 04 04 00 58 00 00 00 69 04 9B 00 6F 04 04 00 54 00 00 00 B1 04 03 00 D8 C2 14 70 04 03 00 B4 C1 11 72 04 03 00 24 01 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 6A 34 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 F9 2E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 04 00 00 00 B1 04 02 00 D4 AD 70 04 02 00 48 71 72 04 02 00 8C 3C 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 75 12 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 90 00 05 [23:59:39]RAPDU: B8 04 AA 04 B4 04 6E 04 04 00 58 00 00 00 69 04 9B 00 6F 04 04 00 54 00 00 00 B1 04 03 00 D8 C2 14 70 04 03 00 B4 C1 11 72 04 03 00 24 01 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 6A 34 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 F9 2E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 04 00 00 00 B1 04 02 00 D4 AD 70 04 02 00 48 71 72 04 02 00 8C 3C 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 75 12 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 90 00 [23:59:39]wFMCommunicate OK [23:59:39]wFMCommunicate request_size=4 [23:59:39]MH_SAM_APDU [23:59:39]CAPDU: 80 17 00 00 [23:59:39]Write to MH i2c: E2 08 00 D3 67 80 17 00 00 00 00 00 00 BA [23:59:39]Write i2c OK [23:59:39]MH_I2C_Read... [23:59:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:39]Read from MH i2c: E2 [23:59:39]MH_I2C_Read... [23:59:39]Read from MH i2c: E2 FD 00 [23:59:39]MH_I2C_Read... [23:59:39]Read from MH i2c: E2 FD 00 D3 67 00 0B 00 F6 03 01 00 01 F7 03 02 00 89 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 75 [23:59:39]RAPDU: 0B 00 F6 03 01 00 01 F7 03 02 00 89 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:59:39]wFMCommunicate OK [23:59:39]wFMCommunicate request_size=4 [23:59:39]MH_SAM_APDU [23:59:39]CAPDU: 80 17 00 00 [23:59:39]Write to MH i2c: E2 08 00 D4 67 80 17 00 00 00 00 00 00 BB [23:59:39]Write i2c OK [23:59:39]MH_I2C_Read... [23:59:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:40]Read from MH i2c: E2 [23:59:40]MH_I2C_Read... [23:59:40]Read from MH i2c: E2 FD 00 [23:59:40]MH_I2C_Read... [23:59:40]Read from MH i2c: E2 FD 00 D4 67 00 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 5D [23:59:40]RAPDU: 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:59:40]wFMCommunicate OK [23:59:40]wFMCommunicate request_size=4 [23:59:40]MH_SAM_APDU [23:59:40]CAPDU: 80 17 00 00 [23:59:40]Write to MH i2c: E2 08 00 D5 67 80 17 00 00 00 00 00 00 BC [23:59:40]Write i2c OK [23:59:40]MH_I2C_Read... [23:59:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:40]Read from MH i2c: E2 [23:59:40]MH_I2C_Read... [23:59:40]Read from MH i2c: E2 FD 00 [23:59:40]MH_I2C_Read... [23:59:40]Read from MH i2c: E2 FD 00 D5 67 00 03 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 90 00 45 [23:59:40]RAPDU: 03 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 90 00 [23:59:40]wFMCommunicate OK [23:59:40]wFMCommunicate request_size=4 [23:59:40]MH_SAM_APDU [23:59:40]CAPDU: 80 17 00 00 [23:59:40]Write to MH i2c: E2 08 00 D6 67 80 17 00 00 00 00 00 00 BD [23:59:40]Write i2c OK [23:59:40]MH_I2C_Read... [23:59:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 210! [23:59:40]Read from MH i2c: E2 [23:59:40]MH_I2C_Read... [23:59:40]Read from MH i2c: E2 D5 00 [23:59:40]MH_I2C_Read... [23:59:40]Read from MH i2c: E2 D5 00 D6 67 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9E [23:59:41]RAPDU: EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:59:41]wFMCommunicate OK [23:59:41]SAM_PROTO_GetShiftData done [23:59:41]requested_item shift.sale.total_cash is exist - process it [23:59:41]requested_item shift.sale_refund.total is exist - process it [23:59:41]requested_item shift.sale_refund.total_cash is exist - process it [23:59:41]requested_item shift.buy.total is exist - process it [23:59:41]requested_item shift.buy.total_cash is exist - process it [23:59:41]produce_requested_data done [23:59:41]produce_requested_data return {"fm.sale.total":8065739.31,"fm.sale_refund.total":72451.00,"fm.buy.total":0.00,"shift.sale.total":13606.00,"shift.sale.total_cash":11637.00,"shift.sale_refund.total":445.00,"shift.sale_refund.total_cash":290.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [23:59:41]process_action_free get_value [23:59:41]json_value_free [23:59:41]json_value_free done [23:59:41]process_json_proto returns [23:59:41]Send response to host [23:59:41]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8065739.31,"fm.sale_refund.total":72451.00,"fm.buy.total":0.00,"shift.sale.total":13606.00,"shift.sale.total_cash":11637.00,"shift.sale_refund.total":445.00,"shift.sale_refund.total_cash":290.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [23:59:41]free response buf [23:59:41]execute_script done [23:59:41]execute_script returns [23:59:41]free content buf [23:59:41]Sock 7.Close socket [23:59:41]Sock 7.Thread stoped [23:59:41]accept exits with 9 [23:59:41]New connection [23:59:41]New thread 3066453348 created [23:59:41]Thread 3066596708 joined [23:59:41]Waiting for new connection... [23:59:41] Sock 9.Parse request [23:59:41]Sock 9.Check first char [23:59:41]Sock 9.First char is OK [23:59:41]request: POST /json_proto HTTP/1.0 [23:59:41]Method: POST [23:59:41]URL: /json_proto [23:59:41]Method is POST - this is cgi request [23:59:41]url: /json_proto [23:59:41]query_string will be loaded in cgi processing [23:59:41]execute_cgi json_proto POST (null) [23:59:41]execute_cgi path=json_proto method=POST [23:59:41]POST find Content-Length [23:59:41]Host: 172.17.32.68:8080 [23:59:41]Content-Length: 270 [23:59:41]Content-Type: application/json [23:59:41] [23:59:41]POST finish read [23:59:41]Found Content-Length = 270 [23:59:41]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u041C\u0430\u043A\u0441\u0430\u0442\u0431\u0435\u043A \u0443 \u0414. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:59:41]execute_script... [23:59:41]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u041C\u0430\u043A\u0441\u0430\u0442\u0431\u0435\u043A \u0443 \u0414. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:59:41]POST & json_proto [23:59:41]process_json_proto [23:59:41]json parsed OK: [23:59:41]protocol is kg_v1.0 [23:59:41]action value=x_report [23:59:41]process_action x_report [23:59:41]cmd_x_report [23:59:41]MH_GetDate [23:59:41]Write to MH i2c: F0 00 00 D7 67 2D [23:59:41]Write i2c OK [23:59:41]MH_I2C_Read... [23:59:41]Read from MH i2c: F0 [23:59:41]MH_I2C_Read... [23:59:41]Read from MH i2c: F0 09 00 [23:59:41]MH_I2C_Read... [23:59:41]Read from MH i2c: F0 09 00 D7 67 00 7F EC F0 65 0A 64 6E 65 37 [23:59:41]GetLastDocTimeStamp 1710287701 [23:59:41]current date 1710287999 [23:59:41]FM_GetShiftState [23:59:41]SAM_PROTO_GetShiftState [23:59:41]wFMCommunicate request_size=4 [23:59:41]MH_SAM_APDU [23:59:41]CAPDU: 80 13 01 00 [23:59:41]Write to MH i2c: E2 08 00 D8 67 80 13 01 00 00 00 00 00 BC [23:59:41]Write i2c OK [23:59:41]MH_I2C_Read... [23:59:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:59:41]Read from MH i2c: E2 [23:59:41]MH_I2C_Read... [23:59:41]Read from MH i2c: E2 0E 00 [23:59:41]MH_I2C_Read... [23:59:41]Read from MH i2c: E2 0E 00 D8 67 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 EB [23:59:41]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [23:59:41]wFMCommunicate OK [23:59:41]SAM_PROTO_GetShiftState done [23:59:41]FM_GetShiftState done [23:59:41]KKMCreateXReportDocument [23:59:41]Load OK [23:59:41]Malloc new data [23:59:41]MH_GetDate [23:59:41]Write to MH i2c: F0 00 00 D9 67 2F [23:59:41]Write i2c OK [23:59:41]MH_I2C_Read... [23:59:41]Read from MH i2c: F0 [23:59:41]MH_I2C_Read... [23:59:41]Read from MH i2c: F0 09 00 [23:59:41]MH_I2C_Read... [23:59:41]Read from MH i2c: F0 09 00 D9 67 00 7F EC F0 65 0A 64 6E 65 39 [23:59:41]Malloc new data [23:59:41]Malloc new data [23:59:41]wFMCommunicate request_size=4 [23:59:41]MH_SAM_APDU [23:59:41]CAPDU: 80 11 00 00 [23:59:41]Write to MH i2c: E2 08 00 DA 67 80 11 00 00 00 00 00 00 BB [23:59:41]Write i2c OK [23:59:41]MH_I2C_Read... [23:59:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:59:41]Read from MH i2c: E2 [23:59:41]MH_I2C_Read... [23:59:41]Read from MH i2c: E2 17 00 [23:59:41]MH_I2C_Read... [23:59:41]Read from MH i2c: E2 17 00 DA 67 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 0D [23:59:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [23:59:41]wFMCommunicate OK [23:59:41]SAM_PROTO_GetFieldsCounters [23:59:41]wFMCommunicate request_size=4 [23:59:41]MH_SAM_APDU [23:59:41]CAPDU: 80 13 00 00 [23:59:41]Write to MH i2c: E2 08 00 DB 67 80 13 00 00 00 00 00 00 BE [23:59:41]Write i2c OK [23:59:41]MH_I2C_Read... [23:59:41]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:59:41]Read from MH i2c: E2 [23:59:41]MH_I2C_Read... [23:59:41]Read from MH i2c: E2 62 00 [23:59:41]MH_I2C_Read... [23:59:41]Read from MH i2c: E2 62 00 DB 67 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 32 B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 58 00 00 00 5E 04 04 00 58 00 00 00 57 04 04 00 59 00 00 00 19 04 04 00 00 00 00 00 90 00 07 [23:59: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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 32 B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 58 00 00 00 5E 04 04 00 58 00 00 00 57 04 04 00 59 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:59:41]wFMCommunicate OK [23:59:41]SAM_PROTO_GetFieldsCounters done [23:59:41]Malloc new data [23:59:41]Malloc new data [23:59:41]Malloc new data [23:59:41]KKMCreateXReportDocument OK [23:59:41]KKMSetXReportData OK [23:59:41]KKMPrepareXReportFMData [23:59:41]SAM_PROTO_GetShiftData [23:59:41]wFMCommunicate request_size=4 [23:59:41]MH_SAM_APDU [23:59:41]CAPDU: 80 13 02 00 [23:59:41]Write to MH i2c: E2 08 00 DC 67 80 13 02 00 00 00 00 00 C1 [23:59:41]Write i2c OK [23:59:41]MH_I2C_Read... [23:59:41]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:59:41]Read from MH i2c: E2 [23:59:41]MH_I2C_Read... [23:59:41]Read from MH i2c: E2 FD 00 [23:59:41]MH_I2C_Read... [23:59:41]Read from MH i2c: E2 FD 00 DC 67 00 B8 04 AA 04 B4 04 6E 04 04 00 58 00 00 00 69 04 9B 00 6F 04 04 00 54 00 00 00 B1 04 03 00 D8 C2 14 70 04 03 00 B4 C1 11 72 04 03 00 24 01 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 6A 34 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 F9 2E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 04 00 00 00 B1 04 02 00 D4 AD 70 04 02 00 48 71 72 04 02 00 8C 3C 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 75 12 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 90 00 0F [23:59:42]RAPDU: B8 04 AA 04 B4 04 6E 04 04 00 58 00 00 00 69 04 9B 00 6F 04 04 00 54 00 00 00 B1 04 03 00 D8 C2 14 70 04 03 00 B4 C1 11 72 04 03 00 24 01 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 6A 34 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 F9 2E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 04 00 00 00 B1 04 02 00 D4 AD 70 04 02 00 48 71 72 04 02 00 8C 3C 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 75 12 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 90 00 [23:59:42]wFMCommunicate OK [23:59:42]wFMCommunicate request_size=4 [23:59:42]MH_SAM_APDU [23:59:42]CAPDU: 80 17 00 00 [23:59:42]Write to MH i2c: E2 08 00 DD 67 80 17 00 00 00 00 00 00 C4 [23:59:42]Write i2c OK [23:59:42]MH_I2C_Read... [23:59:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:42]Read from MH i2c: E2 [23:59:42]MH_I2C_Read... [23:59:42]Read from MH i2c: E2 FD 00 [23:59:42]MH_I2C_Read... [23:59:42]Read from MH i2c: E2 FD 00 DD 67 00 0B 00 F6 03 01 00 01 F7 03 02 00 89 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 7F [23:59:42]RAPDU: 0B 00 F6 03 01 00 01 F7 03 02 00 89 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:59:42]wFMCommunicate OK [23:59:42]wFMCommunicate request_size=4 [23:59:42]MH_SAM_APDU [23:59:42]CAPDU: 80 17 00 00 [23:59:42]Write to MH i2c: E2 08 00 DE 67 80 17 00 00 00 00 00 00 C5 [23:59:42]Write i2c OK [23:59:42]MH_I2C_Read... [23:59:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:42]Read from MH i2c: E2 [23:59:42]MH_I2C_Read... [23:59:42]Read from MH i2c: E2 FD 00 [23:59:42]MH_I2C_Read... [23:59:42]Read from MH i2c: E2 FD 00 DE 67 00 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 67 [23:59:43]RAPDU: 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:59:43]wFMCommunicate OK [23:59:43]wFMCommunicate request_size=4 [23:59:43]MH_SAM_APDU [23:59:43]CAPDU: 80 17 00 00 [23:59:43]Write to MH i2c: E2 08 00 DF 67 80 17 00 00 00 00 00 00 C6 [23:59:43]Write i2c OK [23:59:43]MH_I2C_Read... [23:59:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:43]Read from MH i2c: E2 [23:59:43]MH_I2C_Read... [23:59:43]Read from MH i2c: E2 FD 00 [23:59:43]MH_I2C_Read... [23:59:43]Read from MH i2c: E2 FD 00 DF 67 00 03 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 90 00 4F [23:59:43]RAPDU: 03 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 OFD Sender: No OFD packet to send [23:59:43]00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 90 00 [23:59:43]wFMCommunicate OK [23:59:43]wFMCommunicate request_size=4 [23:59:43]MH_SAM_APDU [23:59:43]CAPDU: 80 17 00 00 [23:59:43]Write to MH i2c: E2 08 00 E0 67 80 17 00 00 00 00 00 00 C7 [23:59:43]Write i2c OK [23:59:43]MH_I2C_Read... [23:59:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 210! [23:59:43]Read from MH i2c: E2 [23:59:43]MH_I2C_Read... [23:59:43]Read from MH i2c: E2 D5 00 [23:59:43]MH_I2C_Read... [23:59:43]Read from MH i2c: E2 D5 00 E0 67 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 A8 [23:59:44]RAPDU: EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:59:44]wFMCommunicate OK [23:59:44]SAM_PROTO_GetShiftData done [23:59:44]1194 (1204) - счетчики итогов смены [23:59:44] 1134 (4) - 88 - количество чеков со всеми признаками расчетов [23:59:44] 1129 (155) - счетчики операций «приход» [23:59:44] 1135 (4) - 84 - количество чеков по признаку расчетов [23:59:44] 1201 (3) - 13606.00 - общая итоговая сумма в чеках [23:59:44] 1136 (3) - 11637.00 - итоговая сумма в чеках наличными [23:59:44] 1138 (3) - 1969.00 - итоговая сумма в чеках безналичными [23:59:44] 1024 (122) - суммы налогов [23:59:44] 1006 (9) - суммы НДС [23:59:44] 1010 (1) - 0% - код ставки НДС [23:59:44] 1011 (0) - 0.00 - сумма НДС по ставке [23:59:44] 1006 (12) - суммы НДС [23:59:44] 1010 (1) - 12% - код ставки НДС [23:59:44] 1011 (3) - 1444.90 - сумма НДС по ставке [23:59:44] 1007 (9) - суммы НСП [23:59:44] 1014 (1) - 0% - код ставки НСП [23:59:44] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:44] 1007 (11) - суммы НСП [23:59:44] 1014 (1) - 1% - код ставки НСП [23:59:44] 1015 (2) - 120.25 - сумма НСП по ставке [23:59:44] 1007 (9) - суммы НСП [23:59:44] 1014 (1) - 2% - код ставки НСП [23:59:44] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:44] 1007 (9) - суммы НСП [23:59:44] 1014 (1) - 3% - код ставки НСП [23:59:44] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:44] 1007 (9) - суммы НСП [23:59:44] 1014 (1) - 5% - код ставки НСП [23:59:44] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:44] 1007 (9) - суммы НСП [23:59:44] 1014 (1) - 0,50% - код ставки НСП [23:59:44] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:44] 1007 (9) - суммы НСП [23:59:44] 1014 (1) - 1,50% - код ставки НСП [23:59:44] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:44] 1130 (151) - счетчики операций «возврат прихода» [23:59:44] 1135 (4) - 4 - количество чеков по признаку расчетов [23:59:44] 1201 (2) - 445.00 - общая итоговая сумма в чеках [23:59:44] 1136 (2) - 290.00 - итоговая сумма в чеках наличными [23:59:44] 1138 (2) - 155.00 - итоговая сумма в чеках безналичными [23:59:44] 1024 (121) - суммы налогов [23:59:44] 1006 (9) - суммы НДС [23:59:44] 1010 (1) - 0% - код ставки НДС [23:59:44] 1011 (0) - 0.00 - сумма НДС по ставке [23:59:44] 1006 (11) - суммы НДС [23:59:44] 1010 (1) - 12% - код ставки НДС [23:59:44] 1011 (2) - 47.25 - сумма НДС по ставке [23:59:44] 1007 (9) - суммы НСП [23:59:44] 1014 (1) - 0% - код ставки НСП [23:59:44] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:44] 1007 (11) - суммы НСП [23:59:44] 1014 (1) - 1% - код ставки НСП [23:59:44] 1015 (2) - 3.93 - сумма НСП по ставке [23:59:44] 1007 (9) - суммы НСП [23:59:44] 1014 (1) - 2% - код ставки НСП [23:59:44] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:44] 1007 (9) - суммы НСП [23:59:44] 1014 (1) - 3% - код ставки НСП [23:59:44] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:44] 1007 (9) - суммы НСП [23:59:44] 1014 (1) - 5% - код ставки НСП [23:59:44] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:44] 1007 (9) - суммы НСП [23:59:44] 1014 (1) - 0,50% - код ставки НСП [23:59:44] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:44] 1007 (9) - суммы НСП [23:59:44] 1014 (1) - 1,50% - код ставки НСП [23:59:44] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:44] 1131 (141) - счетчики операций «расход» [23:59:44] 1135 (4) - 0 - количество чеков по признаку расчетов [23:59:44] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:59:44] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:59:44] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:59:44] 1024 (117) - суммы налогов [23:59:44] 1006 (9) - суммы НДС [23:59:44] 1010 (1) - 0% - код ставки НДС [23:59:44] 1011 (0) - 0.00 - сумма НДС по ставке [23:59:44] 1006 (9) - суммы НДС [23:59:44] 1010 (1) - 12% - код ставки НДС [23:59:44] 1011 (0) - 0.00 - сумма НДС по ставке [23:59:44] 1007 (9) - суммы НСП [23:59:44] 1014 (1) - 0% - код ставки НСП [23:59:44] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:44] 1007 (9) - суммы НСП [23:59:44] 1014 (1) - 1% - код ставки НСП [23:59:44] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:44] 1007 (9) - суммы НСП [23:59:44] 1014 (1) - 2% - код ставки НСП [23:59:44] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:44] 1007 (9) - суммы НСП [23:59:44] 1014 (1) - 3% - код ставки НСП [23:59:44] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:44] 1007 (9) - суммы НСП [23:59:44] 1014 (1) - 5% - код ставки НСП [23:59:44] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:44] 1007 (9) - суммы НСП [23:59:44] 1014 (1) - 0,50% - код ставки НСП [23:59:44] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:44] 1007 (9) - суммы НСП [23:59:44] 1014 (1) - 1,50% - код ставки НСП [23:59:44] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:44] 1132 (141) - счетчики операций «возврат расхода» [23:59:44] 1135 (4) - 0 - количество чеков по признаку расчетов [23:59:44] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:59:44] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:59:44] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:59:44] 1024 (117) - суммы налогов [23:59:44] 1006 (9) - суммы НДС [23:59:44] 1010 (1) - 0% - код ставки НДС [23:59:44] 1011 (0) - 0.00 - сумма НДС по ставке [23:59:44] 1006 (9) - суммы НДС [23:59:44] 1010 (1) - 12% - код ставки НДС [23:59:44] 1011 (0) - 0.00 - сумма НДС по ставке [23:59:44] 1007 (9) - суммы НСП [23:59:44] 1014 (1) - 0% - код ставки НСП [23:59:44] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:44] 1007 (9) - суммы НСП [23:59:44] 1014 (1) - 1% - код ставки НСП [23:59:44] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:44] 1007 (9) - суммы НСП [23:59:44] 1014 (1) - 2% - код ставки НСП [23:59:44] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:44] 1007 (9) - суммы НСП [23:59:44] 1014 (1) - 3% - код ставки НСП [23:59:44] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:44] 1007 (9) - суммы НСП [23:59:44] 1014 (1) - 5% - код ставки НСП [23:59:44] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:44] 1007 (9) - суммы НСП [23:59:44] 1014 (1) - 0,50% - код ставки НСП [23:59:44] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:44] 1007 (9) - суммы НСП [23:59:44] 1014 (1) - 1,50% - код ставки НСП [23:59:44] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:44] 1133 (588) - - счетчики коррекции - не используются [23:59:44]SetTLVBufToDocument [23:59:44]Processing tag 1194 (04AA) [23:59:44]Load OK [23:59:44]SetTLVBufToDocument [23:59:44]Processing tag 1134 (046E) [23:59:44]Malloc new data [23:59:44]Processing tag 1129 (0469) [23:59:44]Load OK [23:59:44]SetTLVBufToDocument [23:59:44]Processing tag 1135 (046F) [23:59:44]Malloc new data [23:59:44]Processing tag 1201 (04B1) [23:59:44]Malloc new data [23:59:44]Processing tag 1136 (0470) [23:59:44]Malloc new data [23:59:44]Processing tag 1138 (0472) [23:59:44]Malloc new data [23:59:44]Processing tag 1024 (0400) [23:59:44]Load OK [23:59:44]SetTLVBufToDocument [23:59:44]Processing tag 1006 (03EE) [23:59:44]Load OK [23:59:44]SetTLVBufToDocument [23:59:44]Processing tag 1010 (03F2) [23:59:44]Malloc new data [23:59:44]Processing tag 1011 (03F3) [23:59:44]Malloc new data [23:59:44]SetTLVBufToDocument err=0 [23:59:44]Processing tag 1006 (03EE) [23:59:44]Load OK [23:59:44]SetTLVBufToDocument [23:59:44]Processing tag 1010 (03F2) [23:59:44]Malloc new data [23:59:44]Processing tag 1011 (03F3) [23:59:44]Malloc new data [23:59:44]SetTLVBufToDocument err=0 [23:59:44]Processing tag 1007 (03EF) [23:59:44]Load OK [23:59:44]SetTLVBufToDocument [23:59:44]Processing tag 1014 (03F6) [23:59:44]Malloc new data [23:59:44]Processing tag 1015 (03F7) [23:59:44]Malloc new data [23:59:44]SetTLVBufToDocument err=0 [23:59:44]Processing tag 1007 (03EF) [23:59:44]Load OK [23:59:44]SetTLVBufToDocument [23:59:44]Processing tag 1014 (03F6) [23:59:44]Malloc new data [23:59:44]Processing tag 1015 (03F7) [23:59:44]Malloc new data [23:59:44]SetTLVBufToDocument err=0 [23:59:44]Processing tag 1007 (03EF) [23:59:44]Load OK [23:59:44]SetTLVBufToDocument [23:59:44]Processing tag 1014 (03F6) [23:59:44]Malloc new data [23:59:44]Processing tag 1015 (03F7) [23:59:44]Malloc new data [23:59:44]SetTLVBufToDocument err=0 [23:59:44]Processing tag 1007 (03EF) [23:59:44]Load OK [23:59:44]SetTLVBufToDocument [23:59:44]Processing tag 1014 (03F6) [23:59:44]Malloc new data [23:59:44]Processing tag 1015 (03F7) [23:59:44]Malloc new data [23:59:44]SetTLVBufToDocument err=0 [23:59:44]Processing tag 1007 (03EF) [23:59:44]Load OK [23:59:44]SetTLVBufToDocument [23:59:44]Processing tag 1014 (03F6) [23:59:44]Malloc new data [23:59:44]Processing tag 1015 (03F7) [23:59:44]Malloc new data [23:59:44]SetTLVBufToDocument err=0 [23:59:44]Processing tag 1007 (03EF) [23:59:44]Load OK [23:59:44]SetTLVBufToDocument [23:59:44]Processing tag 1014 (03F6) [23:59:44]Malloc new data [23:59:44]Processing tag 1015 (03F7) [23:59:44]Malloc new data [23:59:44]SetTLVBufToDocument err=0 [23:59:44]Processing tag 1007 (03EF) [23:59:44]Load OK [23:59:44]SetTLVBufToDocument [23:59:44]Processing tag 1014 (03F6) [23:59:44]Malloc new data [23:59:44]Processing tag 1015 (03F7) [23:59:44]Malloc new data [23:59:44]SetTLVBufToDocument err=0 [23:59:44]SetTLVBufToDocument err=0 [23:59:44]SetTLVBufToDocument err=0 [23:59:44]Processing tag 1130 (046A) [23:59:44]Load OK [23:59:44]SetTLVBufToDocument [23:59:44]Processing tag 1135 (046F) [23:59:44]Malloc new data [23:59:44]Processing tag 1201 (04B1) [23:59:44]Malloc new data [23:59:44]Processing tag 1136 (0470) [23:59:44]Malloc new data [23:59:44]Processing tag 1138 (0472) [23:59:44]Malloc new data [23:59:44]Processing tag 1024 (0400) [23:59:44]Load OK [23:59:44]SetTLVBufToDocument [23:59:44]Processing tag 1006 (03EE) [23:59:44]Load OK [23:59:44]SetTLVBufToDocument [23:59:44]Processing tag 1010 (03F2) [23:59:44]Malloc new data [23:59:44]Processing tag 1011 (03F3) [23:59:44]Malloc new data [23:59:44]SetTLVBufToDocument err=0 [23:59:44]Processing tag 1006 (03EE) [23:59:44]Load OK [23:59:44]SetTLVBufToDocument [23:59:44]Processing tag 1010 (03F2) [23:59:44]Malloc new data [23:59:44]Processing tag 1011 (03F3) [23:59:44]Malloc new data [23:59:44]SetTLVBufToDocument err=0 [23:59:44]Processing tag 1007 (03EF) [23:59:44]Load OK [23:59:44]SetTLVBufToDocument [23:59:44]Processing tag 1014 (03F6) [23:59:44]Malloc new data [23:59:44]Processing tag 1015 (03F7) [23:59:44]Malloc new data [23:59:44]SetTLVBufToDocument err=0 [23:59:44]Processing tag 1007 (03EF) [23:59:44]Load OK [23:59:44]SetTLVBufToDocument [23:59:44]Processing tag 1014 (03F6) [23:59:44]Malloc new data [23:59:44]Processing tag 1015 (03F7) [23:59:44]Malloc new data [23:59:44]SetTLVBufToDocument err=0 [23:59:44]Processing tag 1007 (03EF) [23:59:44]Load OK [23:59:44]SetTLVBufToDocument [23:59:44]Processing tag 1014 (03F6) [23:59:44]Malloc new data [23:59:44]Processing tag 1015 (03F7) [23:59:44]Malloc new data [23:59:44]SetTLVBufToDocument err=0 [23:59:44]Processing tag 1007 (03EF) [23:59:44]Load OK [23:59:44]SetTLVBufToDocument [23:59:44]Processing tag 1014 (03F6) [23:59:44]Malloc new data [23:59:44]Processing tag 1015 (03F7) [23:59:44]Malloc new data [23:59:44]SetTLVBufToDocument err=0 [23:59:44]Processing tag 1007 (03EF) [23:59:44]Load OK [23:59:44]SetTLVBufToDocument [23:59:44]Processing tag 1014 (03F6) [23:59:44]Malloc new data [23:59:44]Processing tag 1015 (03F7) [23:59:44]Malloc new data [23:59:44]SetTLVBufToDocument err=0 [23:59:44]Processing tag 1007 (03EF) [23:59:44]Load OK [23:59:44]SetTLVBufToDocument [23:59:44]Processing tag 1014 (03F6) [23:59:44]Malloc new data [23:59:44]Processing tag 1015 (03F7) [23:59:44]Malloc new data [23:59:44]SetTLVBufToDocument err=0 [23:59:44]Processing tag 1007 (03EF) [23:59:44]Load OK [23:59:44]SetTLVBufToDocument [23:59:44]Processing tag 1014 (03F6) [23:59:44]Malloc new data [23:59:44]Processing tag 1015 (03F7) [23:59:44]Malloc new data [23:59:44]SetTLVBufToDocument err=0 [23:59:44]SetTLVBufToDocument err=0 [23:59:44]SetTLVBufToDocument err=0 [23:59:44]Processing tag 1131 (046B) [23:59:44]Load OK [23:59:44]SetTLVBufToDocument [23:59:44]Processing tag 1135 (046F) [23:59:44]Malloc new data [23:59:44]Processing tag 1201 (04B1) [23:59:44]Malloc new data [23:59:44]Processing tag 1136 (0470) [23:59:44]Malloc new data [23:59:44]Processing tag 1138 (0472) [23:59:44]Malloc new data [23:59:44]Processing tag 1024 (0400) [23:59:44]Load OK [23:59:44]SetTLVBufToDocument [23:59:44]Processing tag 1006 (03EE) [23:59:44]Load OK [23:59:44]SetTLVBufToDocument [23:59:44]Processing tag 1010 (03F2) [23:59:44]Malloc new data [23:59:44]Processing tag 1011 (03F3) [23:59:44]Malloc new data [23:59:44]SetTLVBufToDocument err=0 [23:59:44]Processing tag 1006 (03EE) [23:59:44]Load OK [23:59:44]SetTLVBufToDocument [23:59:44]Processing tag 1010 (03F2) [23:59:44]Malloc new data [23:59:44]Processing tag 1011 (03F3) [23:59:44]Malloc new data [23:59:44]SetTLVBufToDocument err=0 [23:59:44]Processing tag 1007 (03EF) [23:59:44]Load OK [23:59:44]SetTLVBufToDocument [23:59:44]Processing tag 1014 (03F6) [23:59:44]Malloc new data [23:59:44]Processing tag 1015 (03F7) [23:59:44]Malloc new data [23:59:44]SetTLVBufToDocument err=0 [23:59:44]Processing tag 1007 (03EF) [23:59:44]Load OK [23:59:44]SetTLVBufToDocument [23:59:44]Processing tag 1014 (03F6) [23:59:44]Malloc new data [23:59:44]Processing tag 1015 (03F7) [23:59:44]Malloc new data [23:59:44]SetTLVBufToDocument err=0 [23:59:44]Processing tag 1007 (03EF) [23:59:44]Load OK [23:59:44]SetTLVBufToDocument [23:59:44]Processing tag 1014 (03F6) [23:59:44]Malloc new data [23:59:44]Processing tag 1015 (03F7) [23:59:44]Malloc new data [23:59:44]SetTLVBufToDocument err=0 [23:59:44]Processing tag 1007 (03EF) [23:59:44]Load OK [23:59:44]SetTLVBufToDocument [23:59:44]Processing tag 1014 (03F6) [23:59:44]Malloc new data [23:59:44]Processing tag 1015 (03F7) [23:59:44]Malloc new data [23:59:44]SetTLVBufToDocument err=0 [23:59:44]Processing tag 1007 (03EF) [23:59:44]Load OK [23:59:44]SetTLVBufToDocument [23:59:44]Processing tag 1014 (03F6) [23:59:44]Malloc new data [23:59:44]Processing tag 1015 (03F7) [23:59:44]Malloc new data [23:59:44]SetTLVBufToDocument err=0 [23:59:44]Processing tag 1007 (03EF) [23:59:44]Load OK [23:59:44]SetTLVBufToDocument [23:59:44]Processing tag 1014 (03F6) [23:59:44]Malloc new data [23:59:44]Processing tag 1015 (03F7) [23:59:44]Malloc new data [23:59:44]SetTLVBufToDocument err=0 [23:59:44]Processing tag 1007 (03EF) [23:59:44]Load OK [23:59:44]SetTLVBufToDocument [23:59:44]Processing tag 1014 (03F6) [23:59:44]Malloc new data [23:59:44]Processing tag 1015 (03F7) [23:59:44]Malloc new data [23:59:44]SetTLVBufToDocument err=0 [23:59:44]SetTLVBufToDocument err=0 [23:59:44]SetTLVBufToDocument err=0 [23:59:44]Processing tag 1132 (046C) [23:59:44]Load OK [23:59:44]SetTLVBufToDocument [23:59:44]Processing tag 1135 (046F) [23:59:44]Malloc new data [23:59:44]Processing tag 1201 (04B1) [23:59:44]Malloc new data [23:59:44]Processing tag 1136 (0470) [23:59:44]Malloc new data [23:59:44]Processing tag 1138 (0472) [23:59:44]Malloc new data [23:59:44]Processing tag 1024 (0400) [23:59:44]Load OK [23:59:44]SetTLVBufToDocument [23:59:44]Processing tag 1006 (03EE) [23:59:45]Load OK [23:59:45]SetTLVBufToDocument [23:59:45]Processing tag 1010 (03F2) [23:59:45]Malloc new data [23:59:45]Processing tag 1011 (03F3) [23:59:45]Malloc new data [23:59:45]SetTLVBufToDocument err=0 [23:59:45]Processing tag 1006 (03EE) [23:59:45]Load OK [23:59:45]SetTLVBufToDocument [23:59:45]Processing tag 1010 (03F2) [23:59:45]Malloc new data [23:59:45]Processing tag 1011 (03F3) [23:59:45]Malloc new data [23:59:45]SetTLVBufToDocument err=0 [23:59:45]Processing tag 1007 (03EF) [23:59:45]Load OK [23:59:45]SetTLVBufToDocument [23:59:45]Processing tag 1014 (03F6) [23:59:45]Malloc new data [23:59:45]Processing tag 1015 (03F7) [23:59:45]Malloc new data [23:59:45]SetTLVBufToDocument err=0 [23:59:45]Processing tag 1007 (03EF) [23:59:45]Load OK [23:59:45]SetTLVBufToDocument [23:59:45]Processing tag 1014 (03F6) [23:59:45]Malloc new data [23:59:45]Processing tag 1015 (03F7) [23:59:45]Malloc new data [23:59:45]SetTLVBufToDocument err=0 [23:59:45]Processing tag 1007 (03EF) [23:59:45]Load OK [23:59:45]SetTLVBufToDocument [23:59:45]Processing tag 1014 (03F6) [23:59:45]Malloc new data [23:59:45]Processing tag 1015 (03F7) [23:59:45]Malloc new data [23:59:45]SetTLVBufToDocument err=0 [23:59:45]Processing tag 1007 (03EF) [23:59:45]Load OK [23:59:45]SetTLVBufToDocument [23:59:45]Processing tag 1014 (03F6) [23:59:45]Malloc new data [23:59:45]Processing tag 1015 (03F7) [23:59:45]Malloc new data [23:59:45]SetTLVBufToDocument err=0 [23:59:45]Processing tag 1007 (03EF) [23:59:45]Load OK [23:59:45]SetTLVBufToDocument [23:59:45]Processing tag 1014 (03F6) [23:59:45]Malloc new data [23:59:45]Processing tag 1015 (03F7) [23:59:45]Malloc new data [23:59:45]SetTLVBufToDocument err=0 [23:59:45]Processing tag 1007 (03EF) [23:59:45]Load OK [23:59:45]SetTLVBufToDocument [23:59:45]Processing tag 1014 (03F6) [23:59:45]Malloc new data [23:59:45]Processing tag 1015 (03F7) [23:59:45]Malloc new data [23:59:45]SetTLVBufToDocument err=0 [23:59:45]Processing tag 1007 (03EF) [23:59:45]Load OK [23:59:45]SetTLVBufToDocument [23:59:45]Processing tag 1014 (03F6) [23:59:45]Malloc new data [23:59:45]Processing tag 1015 (03F7) [23:59:45]Malloc new data [23:59:45]SetTLVBufToDocument err=0 [23:59:45]SetTLVBufToDocument err=0 [23:59:45]SetTLVBufToDocument err=0 [23:59:45]Processing tag 1133 (046D) [23:59:45]Malloc new data [23:59:45]SetTLVBufToDocument err=0 [23:59:45]SetTLVBufToDocument err=0 [23:59:45]Malloc new data [23:59:45]SAM_PROTO_GetFMData [23:59:45]wFMCommunicate request_size=4 [23:59:45]MH_SAM_APDU [23:59:45]CAPDU: 80 13 03 00 [23:59:45]Write to MH i2c: E2 08 00 E1 67 80 13 03 00 00 00 00 00 C7 [23:59:45]Write i2c OK [23:59:45]MH_I2C_Read... [23:59:45]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:59:45]Read from MH i2c: E2 [23:59:45]MH_I2C_Read... [23:59:45]Read from MH i2c: E2 FD 00 [23:59:45]MH_I2C_Read... [23:59:45]Read from MH i2c: E2 FD 00 E1 67 00 C1 04 85 04 BD 04 6E 04 04 00 BD B6 00 00 69 04 A0 00 6F 04 04 00 94 B5 00 00 B1 04 04 00 6B 57 13 30 70 04 04 00 7C AB 23 28 72 04 04 00 EF AB EF 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 4F F2 1A 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 A3 D5 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 29 01 00 00 B1 04 03 00 2C 8D 6E 70 04 03 00 C4 49 6A 72 04 03 00 68 43 04 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 80 BD 0B EF 03 09 00 F6 03 90 00 96 [23:59:45]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 BD B6 00 00 69 04 A0 00 6F 04 04 00 94 B5 00 00 B1 04 04 00 6B 57 13 30 70 04 04 00 7C AB 23 28 72 04 04 00 EF AB EF 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 4F F2 1A 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 A3 D5 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 29 01 00 00 B1 04 03 00 2C 8D 6E 70 04 03 00 C4 49 6A 72 04 03 00 68 43 04 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 80 BD 0B EF 03 09 00 F6 03 90 00 [23:59:46]wFMCommunicate OK [23:59:46]wFMCommunicate request_size=4 [23:59:46]MH_SAM_APDU [23:59:46]CAPDU: 80 17 00 00 [23:59:46]Write to MH i2c: E2 08 00 E2 67 80 17 00 00 00 00 00 00 C9 [23:59:46]Write i2c OK [23:59:46]MH_I2C_Read... [23:59:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:46]Read from MH i2c: E2 [23:59:46]MH_I2C_Read... [23:59:46]Read from MH i2c: E2 FD 00 [23:59:46]MH_I2C_Read... [23:59:46]Read from MH i2c: E2 FD 00 E2 67 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 42 [23:59:46]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:59:46]wFMCommunicate OK [23:59:46]wFMCommunicate request_size=4 [23:59:46]MH_SAM_APDU [23:59:46]CAPDU: 80 17 00 00 [23:59:46]Write to MH i2c: E2 08 00 E3 67 80 17 00 00 00 00 00 00 CA [23:59:46]Write i2c OK [23:59:46]MH_I2C_Read... [23:59:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:46]Read from MH i2c: E2 [23:59:46]MH_I2C_Read... [23:59:46]Read from MH i2c: E2 FD 00 [23:59:46]MH_I2C_Read... [23:59:46]Read from MH i2c: E2 FD 00 E3 67 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 6A [23:59:46]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:59:47]wFMCommunicate OK [23:59:47]wFMCommunicate request_size=4 [23:59:47]MH_SAM_APDU [23:59:47]CAPDU: 80 17 00 00 [23:59:47]Write to MH i2c: E2 08 00 E4 67 80 17 00 00 00 00 00 00 CB [23:59:47]Write i2c OK [23:59:47]MH_I2C_Read... [23:59:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:47]Read from MH i2c: E2 [23:59:47]MH_I2C_Read... [23:59:47]Read from MH i2c: E2 FD 00 [23:59:47]MH_I2C_Read... [23:59:47]Read from MH i2c: E2 FD 00 E4 67 00 03 01 00 04 F7 03 00 00 EF 03 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 90 00 50 [23:59:47]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:59:47]wFMCommunicate OK [23:59:47]wFMCommunicate request_size=4 [23:59:47]MH_SAM_APDU [23:59:47]CAPDU: 80 17 00 00 [23:59:47]Write to MH i2c: E2 08 00 E5 67 80 17 00 00 00 00 00 00 CC [23:59:47]Write i2c OK [23:59:47]MH_I2C_Read... [23:59:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [23:59:47]Read from MH i2c: E2 [23:59:47]MH_I2C_Read... [23:59:47]Read from MH i2c: E2 DE 00 [23:59:47]MH_I2C_Read... [23:59:47]Read from MH i2c: E2 DE 00 E5 67 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 AB [23:59:47]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:59:48]wFMCommunicate OK [23:59:48]SAM_PROTO_GetFMData done [23:59:48]FM_GetFMData:85 04 BD 04 6E 04 04 00 BD B6 00 00 69 04 A0 00 6F 04 04 00 94 B5 00 00 B1 04 04 00 6B 57 13 30 70 04 04 00 7C AB 23 28 72 04 04 00 EF AB EF 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 4F F2 1A 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 A3 D5 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 29 01 00 00 B1 04 03 00 2C 8D 6E 70 04 03 00 C4 49 6A 72 04 03 00 68 43 04 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 80 BD 0B EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [23:59:48]oper:6F 04 04 00 94 B5 00 00 B1 04 04 00 6B 57 13 30 70 04 04 00 7C AB 23 28 72 04 04 00 EF AB EF 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 4F F2 1A 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 A3 D5 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 OFD Sender: No OFD packet to send [23:59:48]00 06 F7 03 00 00 [23:59:48]total:6B 57 13 30 [23:59:48]Malloc new data [23:59:48]oper:6F 04 04 00 29 01 00 00 B1 04 03 00 2C 8D 6E 70 04 03 00 C4 49 6A 72 04 03 00 68 43 04 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 80 BD 0B EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [23:59:48]total:2C 8D 6E [23:59:48]Malloc new data [23:59:48]oper:6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [23:59:49]total: [23:59:49]Malloc new data [23:59:49]oper:6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [23:59:49]total: [23:59:49]Malloc new data [23:59:49]KKMPrepareXReportFMData err=0 [23:59:49]Х отчет ИНН: 02508201610067 Кассир: Максатбек у Д. 12.03.2024 23:59 Смена: 266 РНМ: 0000000000092018 ЗНМ: 0300000097 СНО: Общий режим Всего чеков: 88 ИТОГИ ПРИХОД Чеков: 84 Общий итог: 13606.00 Итого наличными: 11637.00 Итого безнал.: 1969.00 НДС 0% : 0.00 НДС 12% : 1444.90 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 120.25 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 4 Общий итог: 445.00 Итого наличными: 290.00 Итого безнал.: 155.00 НДС 0% : 0.00 НДС 12% : 47.25 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 3.93 ИТОГИ РАСХОД Чеков: 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 Нал. в кассе: 11347.00 НС Приход: 8065739.31 НС Возвр.Прихода: 72451.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФМ: 0000000000871816 [23:59:49]StoreToDocumentArchive [23:59:49]MH_GetDate [23:59:49]Write to MH i2c: F0 00 00 E6 67 3C [23:59:49]Write i2c OK [23:59:49]MH_I2C_Read... [23:59:49]Read from MH i2c: F0 [23:59:49]MH_I2C_Read... [23:59:49]Read from MH i2c: F0 09 00 [23:59:49]MH_I2C_Read... [23:59:49]Read from MH i2c: F0 09 00 E6 67 00 87 EC F0 65 0A 64 6E 65 4E [23:59:49]shift 266 fd 1710288007 [23:59:49]save to /storage/0266/doc_1710288007 [23:59:49]save last doc name /storage/0266/doc_1710288007 to /storage/kkm_last_doc_name [23:59:49]save OK [23:59:49]Clear old archive folders... [23:59:49]NVStorageSaveData kkm_last_timestamp [23:59:49]File name is /storage/kkm_last_timestamp [23:59:49]Write 4 bytes [23:59:49]NVStorageSaveData done [23:59:49]ExternCall_PrintAddStr [23:59:49]wPrintStart [23:59:49]Write to MH i2c: 01 00 00 E7 67 4E [23:59:49]Write i2c OK [23:59:49]MH_I2C_Read... [23:59:49]Read from MH i2c: 01 [23:59:49]MH_I2C_Read... [23:59:49]Read from MH i2c: 01 07 00 [23:59:49]MH_I2C_Read... [23:59:49]Read from MH i2c: 01 07 00 E7 67 00 00 00 00 00 FF 0F 63 [23:59:49]RasterBufferAndPrint [23:59:49]line Х отчет [23:59:49]line ИНН: 02508201610067 [23:59:49]line Кассир: Максатбек у Д. [23:59:49]line 12.03.2024 23:59 [23:59:49]line Смена: 266 [23:59:49]line РНМ: 0000000000092018 [23:59:49]line ЗНМ: 0300000097 [23:59:49]line СНО: Общий режим [23:59:49]line Всего чеков: 88 [23:59:49]line ИТОГИ ПРИХОД [23:59:49]line Чеков: 84 [23:59:49]line Общий итог: 13606.00 [23:59:49]line Итого наличными: 11637.00 [23:59:49]line Итого безнал.: 1969.00 [23:59:49]line НДС 0% : 0.00 [23:59:49]line НДС 12% : 1444.90 [23:59:49]line НСП 0% : 0.00 [23:59:49]line НСП 1,50% : 0.00 [23:59:49]line НСП 0,50% : 0.00 [23:59:49]line НСП 5% : 0.00 [23:59:49]line НСП 3% : 0.00 [23:59:49]line НСП 2% : 0.00 [23:59:49]line НСП 1% : 120.25 [23:59:49]line ИТОГИ ВОЗВРАТ ПРИХОДА [23:59:49]line Чеков: 4 [23:59:49]line Общий итог: 445.00 [23:59:49]line Итого наличными: 290.00 [23:59:49]line Итого безнал.: 155.00 [23:59:49]line НДС 0% : 0.00 [23:59:49]line НДС 12% : 47.25 [23:59:49]line НСП 0% : 0.00 [23:59:49]line НСП 1,50% : 0.00 [23:59:49]line НСП 0,50% : 0.00 [23:59:49]line НСП 5% : 0.00 [23:59:49]line НСП 3% : 0.00 [23:59:49]line НСП 2% : 0.00 [23:59:49]line НСП 1% : 3.93 [23:59:49]line ИТОГИ РАСХОД [23:59:49]line Чеков: 0 [23:59:49]line Общий итог: 0.00 [23:59:49]line Итого наличными: 0.00 [23:59:49]line Итого безнал.: 0.00 [23:59:49]line НДС 0% : 0.00 [23:59:49]line НДС 12% : 0.00 [23:59:49]line НСП 0% : 0.00 [23:59:49]line НСП 1,50% : 0.00 [23:59:49]line НСП 0,50% : 0.00 [23:59:49]line НСП 5% : 0.00 [23:59:49]line НСП 3% : 0.00 [23:59:49]line НСП 2% : 0.00 [23:59:49]line НСП 1% : 0.00 [23:59:49]line ИТОГИ ВОЗВРАТ РАСХОДА [23:59:49]line Чеков: 0 [23:59:49]line Общий итог: 0.00 [23:59:49]line Итого наличными: 0.00 [23:59:49]line Итого безнал.: 0.00 [23:59:49]line НДС 0% : 0.00 [23:59:49]line НДС 12% : 0.00 [23:59:49]line НСП 0% : 0.00 [23:59:49]line НСП 1,50% : 0.00 [23:59:49]line НСП 0,50% : 0.00 [23:59:49]line НСП 5% : 0.00 [23:59:49]line НСП 3% : 0.00 [23:59:49]line НСП 2% : 0.00 [23:59:49]line НСП 1% : 0.00 [23:59:49]line Сумма внесений: 0.00 [23:59:49]line Сумма выплат: 0.00 [23:59:49]line Нал. в кассе: 11347.00 [23:59:49]line НС Приход: 8065739.31 [23:59:49]line НС Возвр.Прихода: 72451.00 [23:59:49]line НС Расход: 0.00 [23:59:49]line НС Возвр.Расхода: 0.00 [23:59:49]line ФМ: 0000000000871816 [23:59:49]written 0, free lines is 4095 [23:59:49]Write to MH i2c: 01 00 00 32 68 9A [23:59:49]Write i2c OK [23:59:49]MH_I2C_Read... [23:59:49]Read from MH i2c: 01 [23:59:49]MH_I2C_Read... [23:59:49]Read from MH i2c: 01 07 00 [23:59:49]MH_I2C_Read... [23:59:49]Read from MH i2c: 01 07 00 32 68 00 00 00 00 00 A8 0A 53 [23:59:49]RasterBufferAndPrint [23:59:49]line [23:59:49]line [23:59:49]line [23:59:49]line [23:59:49]line [23:59:49]written 0, free lines is 2756 [23:59:50]MH_Cut [23:59:50]Write to MH i2c: D1 01 00 39 68 01 73 [23:59:50]Write i2c OK [23:59:50]MH_I2C_Read... [23:59:50]Read from MH i2c: D1 [23:59:50]MH_I2C_Read... [23:59:50]Read from MH i2c: D1 01 00 [23:59:50]MH_I2C_Read... [23:59:50]Read from MH i2c: D1 01 00 39 68 00 72 [23:59:50]Write to MH i2c: 01 00 00 3A 68 A2 [23:59:50]Write i2c OK [23:59:50]MH_I2C_Read... [23:59:51]*** Cut start [23:59:51]*** Purtial cut [23:59:51]*** Stage 1: CUTSNS_PIN = 1 [23:59:51]Read from MH i2c: 01 [23:59:51]MH_I2C_Read... [23:59:51]*** Stop cut motor [23:59:51]*** Cut end [23:59:51]Read from MH i2c: 01 07 00 [23:59:51]MH_I2C_Read... [23:59:51]Read from MH i2c: 01 07 00 3A 68 00 00 00 00 00 FF 0F B7 [23:59:51]process_action x_report done [23:59:51]requested_data is exist [23:59:51]produce_requested_data [23:59:51]requested_item fd.num is exist - process it [23:59:51]SAM_PROTO_GetFieldsCounters [23:59:51]wFMCommunicate request_size=4 [23:59:51]MH_SAM_APDU [23:59:51]CAPDU: 80 13 00 00 [23:59:51]Write to MH i2c: E2 08 00 3B 68 80 13 00 00 00 00 00 00 1F [23:59:51]Write i2c OK [23:59:51]MH_I2C_Read... [23:59:51]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:59:51]Read from MH i2c: E2 [23:59:51]MH_I2C_Read... [23:59:51]Read from MH i2c: E2 62 00 [23:59:51]MH_I2C_Read... [23:59:51]Read from MH i2c: E2 62 00 3B 68 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 32 B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 58 00 00 00 5E 04 04 00 58 00 00 00 57 04 04 00 59 00 00 00 19 04 04 00 00 00 00 00 90 00 68 [23:59: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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 32 B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 58 00 00 00 5E 04 04 00 58 00 00 00 57 04 04 00 59 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:59:51]wFMCommunicate OK [23:59:51]SAM_PROTO_GetFieldsCounters done [23:59:51]requested_item shift.num is exist - process it [23:59:51]requested_item shift.opened is exist - process it [23:59:51]req_shift_opened [23:59:51]FM_GetShiftState [23:59:51]SAM_PROTO_GetShiftState [23:59:51]wFMCommunicate request_size=4 [23:59:51]MH_SAM_APDU [23:59:51]CAPDU: 80 13 01 00 [23:59:51]Write to MH i2c: E2 08 00 3C 68 80 13 01 00 00 00 00 00 21 [23:59:51]Write i2c OK [23:59:51]MH_I2C_Read... [23:59:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:59:51]Read from MH i2c: E2 [23:59:51]MH_I2C_Read... [23:59:51]Read from MH i2c: E2 0E 00 [23:59:51]MH_I2C_Read... [23:59:51]Read from MH i2c: E2 0E 00 3C 68 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 50 [23:59:51]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [23:59:51]wFMCommunicate OK [23:59:51]SAM_PROTO_GetShiftState done [23:59:51]FM_GetShiftState done [23:59:51]req_shift_opened done [23:59:51]requested_item shift.open_date is exist - process it [23:59:51]req_shift_open_date [23:59:51]req_shift_open_date done [23:59:51]produce_requested_data done [23:59:51]produce_requested_data return {"fd.num":47410,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417} [23:59:51]process_action_free x_report [23:59:51]json_value_free [23:59:51]json_value_free done [23:59:51]process_json_proto returns [23:59:51]Send response to host [23:59:51]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":47410,"shift.num":314,"shift.opened":1,"shift.open_date":1710202417}}} [23:59:51]free response buf [23:59:51]execute_script done [23:59:51]execute_script returns [23:59:51]free content buf [23:59:51]Sock 9.Close socket [23:59:51]Sock 9.Thread stoped [23:59:53]OFD Sender: No OFD packet to send [23:59:58]OFD Sender: No OFD packet to send [00:00:03]OFD Sender: No OFD packet to send [00:00:08]OFD Sender: No OFD packet to send [00:00:13]OFD Sender: No OFD packet to send [00:00:18]OFD Sender: No OFD packet to send [00:00:23]OFD Sender: No OFD packet to send [00:00:24]accept exits with 7 [00:00:24]New connection [00:00:24]New thread 3066596708 created [00:00:24]Thread 3066453348 joined [00:00:24]Waiting for new connection... [00:00:24] Sock 7.Parse request [00:00:24]Sock 7.Check first char [00:00:24]Sock 7.First char is OK [00:00:24]request: POST /json_proto HTTP/1.0 [00:00:24]Method: POST [00:00:24]URL: /json_proto [00:00:24]Method is POST - this is cgi request [00:00:24]url: /json_proto [00:00:24]query_string will be loaded in cgi processing [00:00:24]execute_cgi json_proto POST (null) [00:00:24]execute_cgi path=json_proto method=POST [00:00:24]POST find Content-Length [00:00:24]Host: 172.17.32.68:8080 [00:00:24]Content-Length: 215 [00:00:24]Content-Type: application/json [00:00:24] [00:00:24]POST finish read [00:00:24]Found Content-Length = 215 [00:00:24]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:00:24]execute_script... [00:00:24]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:00:24]POST & json_proto [00:00:24]process_json_proto [00:00:24]json parsed OK: [00:00:24]protocol is kg_v1.0 [00:00:24]action value=get_value [00:00:24]process_action get_value [00:00:24]cmd_get_value [00:00:24]process_action get_value done [00:00:24]requested_data is exist [00:00:24]produce_requested_data [00:00:24]requested_item kkm.sn is exist - process it [00:00:24]requested_item kkm.ver is exist - process it [00:00:24]requested_item fm.sn is exist - process it [00:00:24]wFMCommunicate request_size=4 [00:00:24]MH_SAM_APDU [00:00:24]CAPDU: 80 11 00 00 [00:00:24]Write to MH i2c: E2 08 00 3D 68 80 11 00 00 00 00 00 00 1F [00:00:24]Write i2c OK [00:00:24]MH_I2C_Read... [00:00:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:00:24]Read from MH i2c: E2 [00:00:24]MH_I2C_Read... [00:00:24]Read from MH i2c: E2 17 00 [00:00:24]MH_I2C_Read... [00:00:24]Read from MH i2c: E2 17 00 3D 68 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 71 [00:00:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [00:00:24]wFMCommunicate OK [00:00:24]requested_item fd.num is exist - process it [00:00:24]SAM_PROTO_GetFieldsCounters [00:00:24]wFMCommunicate request_size=4 [00:00:24]MH_SAM_APDU [00:00:24]CAPDU: 80 13 00 00 [00:00:24]Write to MH i2c: E2 08 00 3E 68 80 13 00 00 00 00 00 00 22 [00:00:24]Write i2c OK [00:00:24]MH_I2C_Read... [00:00:24]Read from MH i2c: E2 [00:00:24]MH_I2C_Read... [00:00:24]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:00:24]Read from MH i2c: E2 62 00 [00:00:24]MH_I2C_Read... [00:00:24]Read from MH i2c: E2 62 00 3E 68 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 32 B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 58 00 00 00 5E 04 04 00 58 00 00 00 57 04 04 00 59 00 00 00 19 04 04 00 00 00 00 00 90 00 6B [00:00: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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 32 B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 58 00 00 00 5E 04 04 00 58 00 00 00 57 04 04 00 59 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:00:24]wFMCommunicate OK [00:00:24]SAM_PROTO_GetFieldsCounters done [00:00:24]requested_item shift.num is exist - process it [00:00:24]requested_item shift.opened is exist - process it [00:00:24]req_shift_opened [00:00:24]FM_GetShiftState [00:00:24]SAM_PROTO_GetShiftState [00:00:25]MH_I2C_Read... [00:00:25]Read from MH i2c: E2 FD 00 43 68 00 03 01 00 04 F7 03 00 00 EF 03 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 90 00 B0 [00:00:25]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:00:25]wFMCommunicate OK [00:00:25]wFMCommunicate request_size=4 [00:00:25]MH_SAM_APDU [00:00:25]CAPDU: 80 17 00 00 [00:00:25]Write to MH i2c: E2 08 00 44 68 80 17 00 00 00 00 00 00 2C [00:00:25]Write i2c OK [00:00:25]MH_I2C_Read... [00:00:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [00:00:26]Read from MH i2c: E2 [00:00:26]MH_I2C_Read... [00:00:26]Read from MH i2c: E2 DE 00 [00:00:26]MH_I2C_Read... [00:00:26]Read from MH i2c: E2 DE 00 44 68 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 0B [00:00:26]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:00:26]wFMCommunicate OK [00:00:26]SAM_PROTO_GetFMData done [00:00:26]requested_item fm.sale_refund.total is exist - process it [00:00:26]requested_item fm.buy.total is exist - process it [00:00:26]requested_item shift.sale.total is exist - process it [00:00:26]SAM_PROTO_GetShiftData [00:00:26]wFMCommunicate request_size=4 [00:00:26]MH_SAM_APDU [00:00:26]CAPDU: 80 13 02 00 [00:00:26]Write to MH i2c: E2 08 00 45 68 80 13 02 00 00 00 00 00 2B [00:00:26]Write i2c OK [00:00:26]MH_I2C_Read... [00:00:26]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:00:26]Read from MH i2c: E2 [00:00:26]MH_I2C_Read... [00:00:26]Read from MH i2c: E2 FD 00 [00:00:26]MH_I2C_Read... [00:00:26]Read from MH i2c: E2 FD 00 45 68 00 B8 04 AA 04 B4 04 6E 04 04 00 58 00 00 00 69 04 9B 00 6F 04 04 00 54 00 00 00 B1 04 03 00 D8 C2 14 70 04 03 00 B4 C1 11 72 04 03 00 24 01 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 6A 34 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 F9 2E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 04 00 00 00 B1 04 02 00 D4 AD 70 04 02 00 48 71 72 04 02 00 8C 3C 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 75 12 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 90 00 79 [00:00:26]RAPDU: B8 04 AA 04 B4 04 6E 04 04 00 58 00 00 00 69 04 9B 00 6F 04 04 00 54 00 00 00 B1 04 03 00 D8 C2 14 70 04 03 00 B4 C1 11 72 04 03 00 24 01 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 6A 34 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 F9 2E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 04 00 00 00 B1 04 02 00 D4 AD 70 04 02 00 48 71 72 04 02 00 8C 3C 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 75 12 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 90 00 [00:00:26]wFMCommunicate OK [00:00:26]wFMCommunicate request_size=4 [00:00:26]MH_SAM_APDU [00:00:26]CAPDU: 80 17 00 00 [00:00:26]Write to MH i2c: E2 08 00 46 68 80 17 00 00 00 00 00 00 2E [00:00:26]Write i2c OK [00:00:26]MH_I2C_Read... [00:00:27]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:27]Read from MH i2c: E2 [00:00:27]MH_I2C_Read... [00:00:27]Read from MH i2c: E2 FD 00 [00:00:27]MH_I2C_Read... [00:00:27]Read from MH i2c: E2 FD 00 46 68 00 0B 00 F6 03 01 00 01 F7 03 02 00 89 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 E9 [00:00:27]RAPDU: 0B 00 F6 03 01 00 01 F7 03 02 00 89 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:00:27]wFMCommunicate OK [00:00:27]wFMCommunicate request_size=4 [00:00:27]MH_SAM_APDU [00:00:27]CAPDU: 80 17 00 00 [00:00:27]Write to MH i2c: E2 08 00 47 68 80 17 00 00 00 00 00 00 2F [00:00:27]Write i2c OK [00:00:27]MH_I2C_Read... [00:00:27]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:27]Read from MH i2c: E2 [00:00:27]MH_I2C_Read... [00:00:27]Read from MH i2c: E2 FD 00 [00:00:27]MH_I2C_Read... [00:00:27]Read from MH i2c: E2 FD 00 47 68 00 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 D1 [00:00:27]RAPDU: 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:00:27]wFMCommunicate OK [00:00:27]wFMCommunicate request_size=4 [00:00:27]MH_SAM_APDU [00:00:27]CAPDU: 80 17 00 00 [00:00:27]Write to MH i2c: E2 08 00 48 68 80 17 00 00 00 00 00 00 30 [00:00:27]Write i2c OK [00:00:27]MH_I2C_Read... [00:00:27]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:27]Read from MH i2c: E2 [00:00:27]MH_I2C_Read... [00:00:27]Read from MH i2c: E2 FD 00 [00:00:27]MH_I2C_Read... [00:00:27]Read from MH i2c: E2 FD 00 48 68 00 03 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 90 00 B9 [00:00:27]RAPDU: 03 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 90 00 [00:00:27]wFMCommunicate OK [00:00:27]wFMCommunicate request_size=4 [00:00:27]MH_SAM_APDU [00:00:27]CAPDU: 80 17 00 00 [00:00:27]Write to MH i2c: E2 08 00 49 68 80 17 00 00 00 00 00 00 31 [00:00:27]Write i2c OK [00:00:27]MH_I2C_Read... [00:00:27]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 210! [00:00:27]Read from MH i2c: E2 [00:00:27]MH_I2C_Read... [00:00:27]Read from MH i2c: E2 D5 00 [00:00:27]MH_I2C_Read... [00:00:27]Read from MH i2c: E2 D5 00 49 68 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 12 [00:00:28]RAPDU: EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:00:28]wFMCommunicate OK [00:00:28]SAM_PROTO_GetShiftData done [00:00:28]requested_item shift.sale.total_cash is exist - process it [00:00:28]requested_item shift.sale_refund.total is exist - process it [00:00:28]requested_item shift.sale_refund.total_cash is exist - process it [00:00:28]requested_item shift.buy.total is exist - process it [00:00:28]requested_item shift.buy.total_cash is exist - process it [00:00:28]produce_requested_data done [00:00:28]produce_requested_data return {"fm.sale.total":8065739.31,"fm.sale_refund.total":72451.00,"fm.buy.total":0.00,"shift.sale.total":13606.00,"shift.sale.total_cash":11637.00,"shift.sale_refund.total":445.00,"shift.sale_refund.total_cash":290.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:00:28]process_action_free get_value [00:00:28]json_value_free [00:00:28]json_value_free done [00:00:28]process_json_proto returns [00:00:28]Send response to host [00:00:28]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8065739.31,"fm.sale_refund.total":72451.00,"fm.buy.total":0.00,"shift.sale.total":13606.00,"shift.sale.total_cash":11637.00,"shift.sale_refund.total":445.00,"shift.sale_refund.total_cash":290.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:00:28]free response buf [00:00:28]execute_script done [00:00:28]execute_script returns [00:00:28]free content buf [00:00:28]Sock 9.Close socket [00:00:28]Sock 9.Thread stoped [00:00:28]accept exits with 7 [00:00:28]New connection [00:00:28]New thread 3066596708 created [00:00:28]Thread 3066453348 joined [00:00:28]Waiting for new connection... [00:00:28] Sock 7.Parse request [00:00:28]Sock 7.Check first char [00:00:28]Sock 7.First char is OK [00:00:28]request: POST /json_proto HTTP/1.0 [00:00:28]Method: POST [00:00:28]URL: /json_proto [00:00:28]Method is POST - this is cgi request [00:00:28]url: /json_proto [00:00:28]query_string will be loaded in cgi processing [00:00:28]execute_cgi json_proto POST (null) [00:00:28]execute_cgi path=json_proto method=POST [00:00:28]POST find Content-Length [00:00:28]Host: 172.17.32.68:8080 [00:00:28]Content-Length: 331 [00:00:28]Content-Type: application/json [00:00:28] [00:00:28]POST finish read [00:00:28]Found Content-Length = 331 [00:00:28]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:00:28]execute_script... [00:00:28]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:00:28]POST & json_proto [00:00:28]process_json_proto [00:00:28]json parsed OK: [00:00:28]protocol is kg_v1.0 [00:00:28]action value=get_value [00:00:28]process_action get_value [00:00:28]cmd_get_value [00:00:28]process_action get_value done [00:00:28]requested_data is exist [00:00:28]produce_requested_data [00:00:28]requested_item fm.sale.total is exist - process it [00:00:28]SAM_PROTO_GetFMData [00:00:28]wFMCommunicate request_size=4 [00:00:28]MH_SAM_APDU [00:00:28]CAPDU: 80 13 03 00 [00:00:28]Write to MH i2c: E2 08 00 4A 68 80 13 03 00 00 00 00 00 31 [00:00:28]Write i2c OK [00:00:28]MH_I2C_Read... [00:00:28]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:00:28]Read from MH i2c: E2 [00:00:28]MH_I2C_Read... [00:00:28]Read from MH i2c: E2 FD 00 [00:00:28]MH_I2C_Read... [00:00:28]Read from MH i2c: E2 FD 00 4A 68 00 C1 04 85 04 BD 04 6E 04 04 00 BD B6 00 00 69 04 A0 00 6F 04 04 00 94 B5 00 00 B1 04 04 00 6B 57 13 30 70 04 04 00 7C AB 23 28 72 04 04 00 EF AB EF 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 4F F2 1A 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 A3 D5 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 29 01 00 00 B1 04 03 00 2C 8D 6E 70 04 03 00 C4 49 6A 72 04 03 00 68 43 04 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 80 BD 0B EF 03 09 00 F6 03 90 00 00 [00:00:28]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 BD B6 00 00 69 04 A0 00 6F 04 04 00 94 B5 00 00 B1 04 04 00 6B 57 13 30 70 04 04 00 7C AB 23 28 72 04 04 00 EF AB EF 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 4F F2 1A 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 A3 D5 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 29 01 00 00 B1 04 03 00 2C 8D 6E 70 04 03 00 C4 49 6A 72 04 03 00 68 43 04 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 80 BD 0B EF 03 09 00 F6 03 90 00 [00:00:28]wFMCommunicate OK [00:00:28]wFMCommunicate request_size=4 [00:00:28]MH_SAM_APDU [00:00:28]CAPDU: 80 17 00 00 [00:00:28]Write to MH i2c: E2 08 00 4B 68 80 17 00 00 00 00 00 00 33 [00:00:28]Write i2c OK [00:00:28]MH_I2C_Read... [00:00:28]OFD Sender: No OFD packet to send [00:00:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:29]Read from MH i2c: E2 [00:00:29]MH_I2C_Read... [00:00:29]Read from MH i2c: E2 FD 00 [00:00:29]MH_I2C_Read... [00:00:29]Read from MH i2c: E2 FD 00 4B 68 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 AC [00:00:29]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:00:29]wFMCommunicate OK [00:00:29]wFMCommunicate request_size=4 [00:00:29]MH_SAM_APDU [00:00:29]CAPDU: 80 17 00 00 [00:00:29]Write to MH i2c: E2 08 00 4C 68 80 17 00 00 00 00 00 00 34 [00:00:29]Write i2c OK [00:00:29]MH_I2C_Read... [00:00:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:29]Read from MH i2c: E2 [00:00:29]MH_I2C_Read... [00:00:29]Read from MH i2c: E2 FD 00 [00:00:29]MH_I2C_Read... [00:00:29]Read from MH i2c: E2 FD 00 4C 68 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 D4 [00:00:29]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:00:29]wFMCommunicate OK [00:00:29]wFMCommunicate request_size=4 [00:00:29]MH_SAM_APDU [00:00:29]CAPDU: 80 17 00 00 [00:00:29]Write to MH i2c: E2 08 00 4D 68 80 17 00 00 00 00 00 00 35 [00:00:29]Write i2c OK [00:00:29]MH_I2C_Read... [00:00:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:29]Read from MH i2c: E2 [00:00:29]MH_I2C_Read... [00:00:29]Read from MH i2c: E2 FD 00 [00:00:29]MH_I2C_Read... [00:00:29]Read from MH i2c: E2 FD 00 4D 68 00 03 01 00 04 F7 03 00 00 EF 03 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 90 00 BA [00:00:29]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:00:30]wFMCommunicate OK [00:00:30]wFMCommunicate request_size=4 [00:00:30]MH_SAM_APDU [00:00:30]CAPDU: 80 17 00 00 [00:00:30]Write to MH i2c: E2 08 00 4E 68 80 17 00 00 00 00 00 00 36 [00:00:30]Write i2c OK [00:00:30]MH_I2C_Read... [00:00:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [00:00:30]Read from MH i2c: E2 [00:00:30]MH_I2C_Read... [00:00:30]Read from MH i2c: E2 DE 00 [00:00:30]MH_I2C_Read... [00:00:30]Read from MH i2c: E2 DE 00 4E 68 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 15 [00:00:30]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:00:30]wFMCommunicate OK [00:00:30]SAM_PROTO_GetFMData done [00:00:30]requested_item fm.sale_refund.total is exist - process it [00:00:30]requested_item fm.buy.total is exist - process it [00:00:30]requested_item shift.sale.total is exist - process it [00:00:30]SAM_PROTO_GetShiftData [00:00:30]wFMCommunicate request_size=4 [00:00:30]MH_SAM_APDU [00:00:30]CAPDU: 80 13 02 00 [00:00:30]Write to MH i2c: E2 08 00 4F 68 80 13 02 00 00 00 00 00 35 [00:00:30]Write i2c OK [00:00:30]MH_I2C_Read... [00:00:30]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:00:30]Read from MH i2c: E2 [00:00:30]MH_I2C_Read... [00:00:30]Read from MH i2c: E2 FD 00 [00:00:30]MH_I2C_Read... [00:00:30]Read from MH i2c: E2 FD 00 4F 68 00 B8 04 AA 04 B4 04 6E 04 04 00 58 00 00 00 69 04 9B 00 6F 04 04 00 54 00 00 00 B1 04 03 00 D8 C2 14 70 04 03 00 B4 C1 11 72 04 03 00 24 01 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 6A 34 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 F9 2E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 04 00 00 00 B1 04 02 00 D4 AD 70 04 02 00 48 71 72 04 02 00 8C 3C 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 75 12 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 90 00 83 [00:00:31]RAPDU: B8 04 AA 04 B4 04 6E 04 04 00 58 00 00 00 69 04 9B 00 6F 04 04 00 54 00 00 00 B1 04 03 00 D8 C2 14 70 04 03 00 B4 C1 11 72 04 03 00 24 01 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 6A 34 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 F9 2E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 04 00 00 00 B1 04 02 00 D4 AD 70 04 02 00 48 71 72 04 02 00 8C 3C 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 75 12 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 90 00 [00:00:31]wFMCommunicate OK [00:00:31]wFMCommunicate request_size=4 [00:00:31]MH_SAM_APDU [00:00:31]CAPDU: 80 17 00 00 [00:00:31]Write to MH i2c: E2 08 00 50 68 80 17 00 00 00 00 00 00 38 [00:00:31]Write i2c OK [00:00:31]MH_I2C_Read... [00:00:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:31]Read from MH i2c: E2 [00:00:31]MH_I2C_Read... [00:00:31]Read from MH i2c: E2 FD 00 [00:00:31]MH_I2C_Read... [00:00:31]Read from MH i2c: E2 FD 00 50 68 00 0B 00 F6 03 01 00 01 F7 03 02 00 89 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 F3 [00:00:31]RAPDU: 0B 00 F6 03 01 00 01 F7 03 02 00 89 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:00:31]wFMCommunicate OK [00:00:31]wFMCommunicate request_size=4 [00:00:31]MH_SAM_APDU [00:00:31]CAPDU: 80 17 00 00 [00:00:31]Write to MH i2c: E2 08 00 51 68 80 17 00 00 00 00 00 00 39 [00:00:31]Write i2c OK [00:00:31]MH_I2C_Read... [00:00:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:31]Read from MH i2c: E2 [00:00:31]MH_I2C_Read... [00:00:31]Read from MH i2c: E2 FD 00 [00:00:31]MH_I2C_Read... [00:00:31]Read from MH i2c: E2 FD 00 51 68 00 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 DB [00:00:31]RAPDU: 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:00:32]wFMCommunicate OK [00:00:32]wFMCommunicate request_size=4 [00:00:32]MH_SAM_APDU [00:00:32]CAPDU: 80 17 00 00 [00:00:32]Write to MH i2c: E2 08 00 52 68 80 17 00 00 00 00 00 00 3A [00:00:32]Write i2c OK [00:00:32]MH_I2C_Read... [00:00:32]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:32]Read from MH i2c: E2 [00:00:32]MH_I2C_Read... [00:00:32]Read from MH i2c: E2 FD 00 [00:00:32]MH_I2C_Read... [00:00:32]Read from MH i2c: E2 FD 00 52 68 00 03 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 90 00 C3 [00:00:32]RAPDU: 03 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 90 00 [00:00:32]wFMCommunicate OK [00:00:32]wFMCommunicate request_size=4 [00:00:32]MH_SAM_APDU [00:00:32]CAPDU: 80 17 00 00 [00:00:32]Write to MH i2c: E2 08 00 53 68 80 17 00 00 00 00 00 00 3B [00:00:32]Write i2c OK [00:00:32]MH_I2C_Read... [00:00:32]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 210! [00:00:32]Read from MH i2c: E2 [00:00:32]MH_I2C_Read... [00:00:32]Read from MH i2c: E2 D5 00 [00:00:32]MH_I2C_Read... [00:00:32]Read from MH i2c: E2 D5 00 53 68 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 1C [00:00:32]RAPDU: EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:00:32]wFMCommunicate OK [00:00:32]SAM_PROTO_GetShiftData done [00:00:32]requested_item shift.sale.total_cash is exist - process it [00:00:32]requested_item shift.sale_refund.total is exist - process it [00:00:32]requested_item shift.sale_refund.total_cash is exist - process it [00:00:32]requested_item shift.buy.total is exist - process it [00:00:32]requested_item shift.buy.total_cash is exist - process it [00:00:32]produce_requested_data done [00:00:32]produce_requested_data return {"fm.sale.total":8065739.31,"fm.sale_refund.total":72451.00,"fm.buy.total":0.00,"shift.sale.total":13606.00,"shift.sale.total_cash":11637.00,"shift.sale_refund.total":445.00,"shift.sale_refund.total_cash":290.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:00:32]process_action_free get_value [00:00:32]json_value_free [00:00:32]json_value_free done [00:00:32]process_json_proto returns [00:00:32]Send response to host [00:00:32]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8065739.31,"fm.sale_refund.total":72451.00,"fm.buy.total":0.00,"shift.sale.total":13606.00,"shift.sale.total_cash":11637.00,"shift.sale_refund.total":445.00,"shift.sale_refund.total_cash":290.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:00:32]free response buf [00:00:32]execute_script done [00:00:32]execute_script returns [00:00:32]free content buf [00:00:32]Sock 7.Close socket [00:00:32]Sock 7.Thread stoped [00:00:32]accept exits with 9 [00:00:32]New connection [00:00:32]New thread 3066453348 created [00:00:32]Thread 3066596708 joined [00:00:32]Waiting for new connection... [00:00:33] Sock 9.Parse request [00:00:33]Sock 9.Check first char [00:00:33]Sock 9.First char is OK [00:00:33]request: POST /json_proto HTTP/1.0 [00:00:33]Method: POST [00:00:33]URL: /json_proto [00:00:33]Method is POST - this is cgi request [00:00:33]url: /json_proto [00:00:33]query_string will be loaded in cgi processing [00:00:33]execute_cgi json_proto POST (null) [00:00:33]execute_cgi path=json_proto method=POST [00:00:33]POST find Content-Length [00:00:33]Host: 172.17.32.68:8080 [00:00:33]Content-Length: 273 [00:00:33]Content-Type: application/json [00:00:33] [00:00:33]POST finish read [00:00:33]Found Content-Length = 273 [00:00:33]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u041C\u0430\u043A\u0441\u0430\u0442\u0431\u0435\u043A \u0443 \u0414. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:00:33]execute_script... [00:00:33]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u041C\u0430\u043A\u0441\u0430\u0442\u0431\u0435\u043A \u0443 \u0414. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:00:33]POST & json_proto [00:00:33]process_json_proto [00:00:33]json parsed OK: [00:00:33]protocol is kg_v1.0 [00:00:33]action value=close_shift [00:00:33]process_action close_shift [00:00:33]cmd_close_shift [00:00:33]MH_GetDate [00:00:33]Write to MH i2c: F0 00 00 54 68 AB [00:00:33]Write i2c OK [00:00:33]MH_I2C_Read... [00:00:33]Read from MH i2c: F0 [00:00:33]MH_I2C_Read... [00:00:33]Read from MH i2c: F0 09 00 [00:00:33]MH_I2C_Read... [00:00:33]Read from MH i2c: F0 09 00 54 68 00 B3 EC F0 65 0A 64 6E 65 E9 [00:00:33]GetLastDocTimeStamp 1710287999 [00:00:33]current date 1710288051 [00:00:33]FM_GetShiftState [00:00:33]SAM_PROTO_GetShiftState [00:00:33]wFMCommunicate request_size=4 [00:00:33]MH_SAM_APDU [00:00:33]CAPDU: 80 13 01 00 [00:00:33]Write to MH i2c: E2 08 00 55 68 80 13 01 00 00 00 00 00 3A [00:00:33]Write i2c OK [00:00:33]MH_I2C_Read... [00:00:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:00:33]Read from MH i2c: E2 [00:00:33]MH_I2C_Read... [00:00:33]Read from MH i2c: E2 0E 00 [00:00:33]MH_I2C_Read... [00:00:33]Read from MH i2c: E2 0E 00 55 68 00 09 00 01 31 9E EF 65 00 00 00 00 90 00 69 [00:00:33]RAPDU: 09 00 01 31 9E EF 65 00 00 00 00 90 00 [00:00:33]wFMCommunicate OK [00:00:33]SAM_PROTO_GetShiftState done [00:00:33]FM_GetShiftState done [00:00:33]KKMCreateCloseShiftDocument [00:00:33]Load OK [00:00:33]Malloc new data [00:00:33]MH_GetDate [00:00:33]Write to MH i2c: F0 00 00 56 68 AD [00:00:33]Write i2c OK [00:00:33]MH_I2C_Read... [00:00:33]Read from MH i2c: F0 [00:00:33]MH_I2C_Read... [00:00:33]Read from MH i2c: F0 09 00 [00:00:33]MH_I2C_Read... [00:00:33]Read from MH i2c: F0 09 00 56 68 00 B3 EC F0 65 0A 64 6E 65 EB [00:00:33]Malloc new data [00:00:33]Malloc new data [00:00:33]Malloc new data [00:00:33]Malloc new data [00:00:33]KKMCreateCloseShiftDocument OK [00:00:33]KKMSetCloseShiftData OK [00:00:33]ProcessDocumentItem done err = 0, tmpTLVsize=76 [00:00:33]tlvbuf is 004D8690 [00:00:33]KKMLoadAndSignCloseShiftData [00:00:33]SAM_PROTO_ProcessDocument [00:00:33]wFMCommunicate request_size=9 [00:00:33]MH_SAM_APDU [00:00:33]CAPDU: 80 15 01 00 04 05 00 4C 00 [00:00:33]Write to MH i2c: E2 0C 00 57 68 80 15 01 00 04 00 05 00 4C 00 00 00 97 [00:00:33]Write i2c OK [00:00:33]MH_I2C_Read... [00:00:33]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [00:00:33]Read from MH i2c: E2 [00:00:33]MH_I2C_Read... [00:00:33]Read from MH i2c: E2 03 00 [00:00:33]MH_I2C_Read... [00:00:33]Read from MH i2c: E2 03 00 57 68 00 90 00 33 [00:00:33]RAPDU: 90 00 [00:00:33]wFMCommunicate OK [00:00:33]wFMCommunicate request_size=23 [00:00:33]MH_SAM_APDU [00:00:33]CAPDU: 80 15 02 00 12 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 [00:00:33]Write to MH i2c: E2 1A 00 58 68 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 35 [00:00:33]Write i2c OK [00:00:33]MH_I2C_Read... [00:00:33]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:00:33]Read from MH i2c: E2 [00:00:33]MH_I2C_Read... [00:00:33]Read from MH i2c: E2 03 00 [00:00:33]MH_I2C_Read... [00:00:33]Read from MH i2c: E2 03 00 58 68 00 90 00 34 [00:00:33]RAPDU: 90 00 [00:00:33]wFMCommunicate OK [00:00:33]wFMCommunicate request_size=35 [00:00:33]MH_SAM_APDU [00:00:33]CAPDU: 80 15 02 00 1E FD 03 1A 00 D0 9C D0 B0 D0 BA D1 81 D0 B0 D1 82 D0 B1 D0 B5 D0 BA 20 D1 83 20 D0 94 2E 20 [00:00:33]Write to MH i2c: E2 26 00 59 68 80 15 02 00 1E 00 FD 03 1A 00 D0 9C D0 B0 D0 BA D1 81 D0 B0 D1 82 D0 B1 D0 B5 D0 BA 20 D1 83 20 D0 94 2E 20 00 00 08 [00:00:33]Write i2c OK [00:00:33]MH_I2C_Read... [00:00:33]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:00:33]Read from MH i2c: E2 [00:00:33]MH_I2C_Read... [00:00:33]Read from MH i2c: E2 03 00 [00:00:33]MH_I2C_Read... [00:00:33]Read from MH i2c: E2 03 00 59 68 00 90 00 35 [00:00:33]RAPDU: 90 00 [00:00:33]wFMCommunicate OK [00:00:33]wFMCommunicate request_size=13 [00:00:33]MH_SAM_APDU [00:00:33]CAPDU: 80 15 02 00 08 F4 03 04 00 B3 EC F0 65 [00:00:33]Write to MH i2c: E2 10 00 5A 68 80 15 02 00 08 00 F4 03 04 00 B3 EC F0 65 00 00 41 [00:00:33]Write i2c OK [00:00:33]MH_I2C_Read... [00:00:33]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:00:33]Read from MH i2c: E2 [00:00:33]MH_I2C_Read... [00:00:33]Read from MH i2c: E2 03 00 [00:00:33]MH_I2C_Read... [00:00:33]Read from MH i2c: E2 03 00 5A 68 00 90 00 36 [00:00:33]RAPDU: 90 00 [00:00:33]wFMCommunicate OK [00:00:33]wFMCommunicate request_size=25 [00:00:33]MH_SAM_APDU [00:00:33]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 [00:00:33]Write to MH i2c: E2 1C 00 5B 68 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 00 00 A0 [00:00:33]Write i2c OK [00:00:33]MH_I2C_Read... [00:00:33]Read from MH i2c: E2 [00:00:33]MH_I2C_Read... [00:00:33]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:00:33]Read from MH i2c: E2 03 00 [00:00:33]MH_I2C_Read... [00:00:33]Read from MH i2c: E2 03 00 5B 68 00 90 00 37 [00:00:33]RAPDU: 90 00 [00:00:33]wFMCommunicate OK [00:00:33]wFMCommunicate request_size=4 [00:00:33]MH_SAM_APDU [00:00:33]CAPDU: 80 15 03 00 [00:00:33]Write to MH i2c: E2 08 00 5C 68 80 15 03 00 00 00 00 00 45 [00:00:33]Write i2c OK [00:00:33]MH_I2C_Read... [00:00:34]OFD Sender: No OFD packet to send [00:00:34]Read from MH i2c: E2 [00:00:34]MH_I2C_Read... [00:00:34]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 250! [00:00:34]Read from MH i2c: E2 FD 00 [00:00:34]MH_I2C_Read... [00:00:34]Read from MH i2c: E2 FD 00 5C 68 00 FB 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 33 B9 00 00 0E 04 04 00 3A 01 00 00 5E 04 04 00 58 00 00 00 57 04 04 00 5A 00 00 00 AA 04 B4 04 6E 04 04 00 58 00 00 00 69 04 9B 00 6F 04 04 00 54 00 00 00 B1 04 03 00 D8 C2 14 70 04 03 00 B4 C1 11 72 04 03 00 24 01 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 6A 34 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 F9 2E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 04 00 00 00 B1 04 02 00 D4 AD 70 04 90 00 F1 [00:00:34]RAPDU: FB 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 33 B9 00 00 0E 04 04 00 3A 01 00 00 5E 04 04 00 58 00 00 00 57 04 04 00 5A 00 00 00 AA 04 B4 04 6E 04 04 00 58 00 00 00 69 04 9B 00 6F 04 04 00 54 00 00 00 B1 04 03 00 D8 C2 14 70 04 03 00 B4 C1 11 72 04 03 00 24 01 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 6A 34 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 F9 2E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 04 00 00 00 B1 04 02 00 D4 AD 70 04 90 00 [00:00:34]wFMCommunicate OK [00:00:34]SAM_PROTO_ProcessDocument answer len = 1275 [00:00:34]SAM_PROTO_ProcessDocument remain to read = 1027 [00:00:34]wFMCommunicate request_size=4 [00:00:34]MH_SAM_APDU [00:00:34]CAPDU: 80 17 00 00 [00:00:34]Write to MH i2c: E2 08 00 5D 68 80 17 00 00 00 00 00 00 45 [00:00:34]Write i2c OK [00:00:34]MH_I2C_Read... [00:00:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:34]Read from MH i2c: E2 [00:00:34]MH_I2C_Read... [00:00:34]Read from MH i2c: E2 FD 00 [00:00:34]MH_I2C_Read... [00:00:34]Read from MH i2c: E2 FD 00 5D 68 00 02 00 48 71 72 04 02 00 8C 3C 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 75 12 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 89 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 42 [00:00:34]RAPDU: 02 00 48 71 72 04 02 00 8C 3C 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 75 12 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 89 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:00:34]wFMCommunicate OK [00:00:34]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:00:34]SAM_PROTO_ProcessDocument remain to read = 777 [00:00:34]wFMCommunicate request_size=4 [00:00:34]MH_SAM_APDU [00:00:34]CAPDU: 80 17 00 00 [00:00:34]Write to MH i2c: E2 08 00 5E 68 80 17 00 00 00 00 00 00 46 [00:00:34]Write i2c OK [00:00:34]MH_I2C_Read... [00:00:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:35]Read from MH i2c: E2 [00:00:35]MH_I2C_Read... [00:00:35]Read from MH i2c: E2 FD 00 [00:00:35]MH_I2C_Read... [00:00:35]Read from MH i2c: E2 FD 00 5E 68 00 F7 03 00 00 EF 03 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 90 00 A8 [00:00:35]RAPDU: F7 03 00 00 EF 03 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 90 00 [00:00:35]wFMCommunicate OK [00:00:35]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:00:35]SAM_PROTO_ProcessDocument remain to read = 527 [00:00:35]wFMCommunicate request_size=4 [00:00:35]MH_SAM_APDU [00:00:35]CAPDU: 80 17 00 00 [00:00:35]Write to MH i2c: E2 08 00 5F 68 80 17 00 00 00 00 00 00 47 [00:00:35]Write i2c OK [00:00:35]MH_I2C_Read... [00:00:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:35]Read from MH i2c: E2 [00:00:35]MH_I2C_Read... [00:00:35]Read from MH i2c: E2 FD 00 [00:00:35]MH_I2C_Read... [00:00:35]Read from MH i2c: E2 FD 00 5F 68 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 5A [00:00:35]RAPDU: F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:00:36]wFMCommunicate OK [00:00:36]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:00:36]SAM_PROTO_ProcessDocument remain to read = 277 [00:00:36]wFMCommunicate request_size=4 [00:00:36]MH_SAM_APDU [00:00:36]CAPDU: 80 17 00 00 [00:00:36]Write to MH i2c: E2 08 00 60 68 80 17 00 00 00 00 00 00 48 [00:00:36]Write i2c OK [00:00:36]MH_I2C_Read... [00:00:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:36]Read from MH i2c: E2 [00:00:36]MH_I2C_Read... [00:00:36]Read from MH i2c: E2 FD 00 [00:00:36]MH_I2C_Read... [00:00:36]Read from MH i2c: E2 FD 00 60 68 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 87 [00:00:36]RAPDU: 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:00:36]wFMCommunicate OK [00:00:36]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:00:36]SAM_PROTO_ProcessDocument remain to read = 27 [00:00:36]wFMCommunicate request_size=4 [00:00:36]MH_SAM_APDU [00:00:36]CAPDU: 80 17 00 00 [00:00:36]Write to MH i2c: E2 08 00 61 68 80 17 00 00 00 00 00 00 49 [00:00:36]Write i2c OK [00:00:36]MH_I2C_Read... [00:00:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 27! [00:00:36]Read from MH i2c: E2 [00:00:36]MH_I2C_Read... [00:00:36]Read from MH i2c: E2 1E 00 [00:00:36]MH_I2C_Read... [00:00:36]Read from MH i2c: E2 1E 00 61 68 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 35 04 06 00 D6 00 AB 41 97 D5 90 00 B4 [00:00:36]RAPDU: F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 35 04 06 00 D6 00 AB 41 97 D5 90 00 [00:00:36]wFMCommunicate OK [00:00:36]SAM_PROTO_ProcessDocument received (without SW) 27 bytes [00:00:36]SAM_PROTO_ProcessDocument done [00:00:36]1209 (1) - 1.0 - номер версии ФФД [00:00:36]1041 (16) - 0000000000871816 - номер ФМ [00:00:36]1040 (4) - 47411 - номер ФД [00:00:36]1038 (4) - 314 - номер смены [00:00:36]1118 (4) - 88 - количество кассовых чеков за смену [00:00:36]1111 (4) - 90 - общее количество ФД за смену [00:00:36]1194 (1204) - счетчики итогов смены [00:00:36] 1134 (4) - 88 - количество чеков со всеми признаками расчетов [00:00:36] 1129 (155) - счетчики операций «приход» [00:00:36] 1135 (4) - 84 - количество чеков по признаку расчетов [00:00:36] 1201 (3) - 13606.00 - общая итоговая сумма в чеках [00:00:36] 1136 (3) - 11637.00 - итоговая сумма в чеках наличными [00:00:36] 1138 (3) - 1969.00 - итоговая сумма в чеках безналичными [00:00:36] 1024 (122) - суммы налогов [00:00:36] 1006 (9) - суммы НДС [00:00:36] 1010 (1) - 0% - код ставки НДС [00:00:36] 1011 (0) - 0.00 - сумма НДС по ставке [00:00:36] 1006 (12) - суммы НДС [00:00:36] 1010 (1) - 12% - код ставки НДС [00:00:36] 1011 (3) - 1444.90 - сумма НДС по ставке [00:00:36] 1007 (9) - суммы НСП [00:00:36] 1014 (1) - 0% - код ставки НСП [00:00:36] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:36] 1007 (11) - суммы НСП [00:00:36] 1014 (1) - 1% - код ставки НСП [00:00:36] 1015 (2) - 120.25 - сумма НСП по ставке [00:00:36] 1007 (9) - суммы НСП [00:00:36] 1014 (1) - 2% - код ставки НСП [00:00:36] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:36] 1007 (9) - суммы НСП [00:00:36] 1014 (1) - 3% - код ставки НСП [00:00:36] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:36] 1007 (9) - суммы НСП [00:00:36] 1014 (1) - 5% - код ставки НСП [00:00:36] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:36] 1007 (9) - суммы НСП [00:00:36] 1014 (1) - 0,50% - код ставки НСП [00:00:36] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:36] 1007 (9) - суммы НСП [00:00:36] 1014 (1) - 1,50% - код ставки НСП [00:00:36] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:36] 1130 (151) - счетчики операций «возврат прихода» [00:00:36] 1135 (4) - 4 - количество чеков по признаку расчетов [00:00:36] 1201 (2) - 445.00 - общая итоговая сумма в чеках [00:00:36] 1136 (2) - 290.00 - итоговая сумма в чеках наличными [00:00:36] 1138 (2) - 155.00 - итоговая сумма в чеках безналичными [00:00:36] 1024 (121) - суммы налогов [00:00:36] 1006 (9) - суммы НДС [00:00:36] 1010 (1) - 0% - код ставки НДС [00:00:36] 1011 (0) - 0.00 - сумма НДС по ставке [00:00:36] 1006 (11) - суммы НДС [00:00:36] 1010 (1) - 12% - код ставки НДС [00:00:36] 1011 (2) - 47.25 - сумма НДС по ставке [00:00:36] 1007 (9) - суммы НСП [00:00:36] 1014 (1) - 0% - код ставки НСП [00:00:36] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:36] 1007 (11) - суммы НСП [00:00:36] 1014 (1) - 1% - код ставки НСП [00:00:36] 1015 (2) - 3.93 - сумма НСП по ставке [00:00:36] 1007 (9) - суммы НСП [00:00:36] 1014 (1) - 2% - код ставки НСП [00:00:36] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:36] 1007 (9) - суммы НСП [00:00:36] 1014 (1) - 3% - код ставки НСП [00:00:36] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:36] 1007 (9) - суммы НСП [00:00:36] 1014 (1) - 5% - код ставки НСП [00:00:36] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:36] 1007 (9) - суммы НСП [00:00:36] 1014 (1) - 0,50% - код ставки НСП [00:00:36] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:36] 1007 (9) - суммы НСП [00:00:36] 1014 (1) - 1,50% - код ставки НСП [00:00:36] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:36] 1131 (141) - счетчики операций «расход» [00:00:36] 1135 (4) - 0 - количество чеков по признаку расчетов [00:00:36] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:00:36] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:00:36] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:00:36] 1024 (117) - суммы налогов [00:00:36] 1006 (9) - суммы НДС [00:00:36] 1010 (1) - 0% - код ставки НДС [00:00:36] 1011 (0) - 0.00 - сумма НДС по ставке [00:00:36] 1006 (9) - суммы НДС [00:00:36] 1010 (1) - 12% - код ставки НДС [00:00:36] 1011 (0) - 0.00 - сумма НДС по ставке [00:00:36] 1007 (9) - суммы НСП [00:00:37] 1014 (1) - 0% - код ставки НСП [00:00:37] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:37] 1007 (9) - суммы НСП [00:00:37] 1014 (1) - 1% - код ставки НСП [00:00:37] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:37] 1007 (9) - суммы НСП [00:00:37] 1014 (1) - 2% - код ставки НСП [00:00:37] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:37] 1007 (9) - суммы НСП [00:00:37] 1014 (1) - 3% - код ставки НСП [00:00:37] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:37] 1007 (9) - суммы НСП [00:00:37] 1014 (1) - 5% - код ставки НСП [00:00:37] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:37] 1007 (9) - суммы НСП [00:00:37] 1014 (1) - 0,50% - код ставки НСП [00:00:37] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:37] 1007 (9) - суммы НСП [00:00:37] 1014 (1) - 1,50% - код ставки НСП [00:00:37] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:37] 1132 (141) - счетчики операций «возврат расхода» [00:00:37] 1135 (4) - 0 - количество чеков по признаку расчетов [00:00:37] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:00:37] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:00:37] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:00:37] 1024 (117) - суммы налогов [00:00:37] 1006 (9) - суммы НДС [00:00:37] 1010 (1) - 0% - код ставки НДС [00:00:37] 1011 (0) - 0.00 - сумма НДС по ставке [00:00:37] 1006 (9) - суммы НДС [00:00:37] 1010 (1) - 12% - код ставки НДС [00:00:37] 1011 (0) - 0.00 - сумма НДС по ставке [00:00:37] 1007 (9) - суммы НСП [00:00:37] 1014 (1) - 0% - код ставки НСП [00:00:37] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:37] 1007 (9) - суммы НСП [00:00:37] 1014 (1) - 1% - код ставки НСП [00:00:37] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:37] 1007 (9) - суммы НСП [00:00:37] 1014 (1) - 2% - код ставки НСП [00:00:37] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:37] 1007 (9) - суммы НСП [00:00:37] 1014 (1) - 3% - код ставки НСП [00:00:37] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:37] 1007 (9) - суммы НСП [00:00:37] 1014 (1) - 5% - код ставки НСП [00:00:37] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:37] 1007 (9) - суммы НСП [00:00:37] 1014 (1) - 0,50% - код ставки НСП [00:00:37] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:37] 1007 (9) - суммы НСП [00:00:37] 1014 (1) - 1,50% - код ставки НСП [00:00:37] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:37] 1133 (588) - - счетчики коррекции - не используются [00:00:37]1077 (6) - 235298361546709 - ФПД [00:00:37]SetTLVBufToDocument [00:00:37]Processing tag 1209 (04B9) [00:00:37]Malloc new data [00:00:37]Processing tag 1041 (0411) [00:00:37]Processing tag 1040 (0410) [00:00:37]Malloc new data [00:00:37]Processing tag 1038 (040E) [00:00:37]Malloc new data [00:00:37]Processing tag 1118 (045E) [00:00:37]Malloc new data [00:00:37]Processing tag 1111 (0457) [00:00:37]Malloc new data [00:00:37]Processing tag 1194 (04AA) [00:00:37]Load OK [00:00:37]SetTLVBufToDocument [00:00:37]Processing tag 1134 (046E) [00:00:37]Malloc new data [00:00:37]Processing tag 1129 (0469) [00:00:37]Load OK [00:00:37]SetTLVBufToDocument [00:00:37]Processing tag 1135 (046F) [00:00:37]Malloc new data [00:00:37]Processing tag 1201 (04B1) [00:00:37]Malloc new data [00:00:37]Processing tag 1136 (0470) [00:00:37]Malloc new data [00:00:37]Processing tag 1138 (0472) [00:00:37]Malloc new data [00:00:37]Processing tag 1024 (0400) [00:00:37]Load OK [00:00:37]SetTLVBufToDocument [00:00:37]Processing tag 1006 (03EE) [00:00:37]Load OK [00:00:37]SetTLVBufToDocument [00:00:37]Processing tag 1010 (03F2) [00:00:37]Malloc new data [00:00:37]Processing tag 1011 (03F3) [00:00:37]Malloc new data [00:00:37]SetTLVBufToDocument err=0 [00:00:37]Processing tag 1006 (03EE) [00:00:37]Load OK [00:00:37]SetTLVBufToDocument [00:00:37]Processing tag 1010 (03F2) [00:00:37]Malloc new data [00:00:37]Processing tag 1011 (03F3) [00:00:37]Malloc new data [00:00:37]SetTLVBufToDocument err=0 [00:00:37]Processing tag 1007 (03EF) [00:00:37]Load OK [00:00:37]SetTLVBufToDocument [00:00:37]Processing tag 1014 (03F6) [00:00:37]Malloc new data [00:00:37]Processing tag 1015 (03F7) [00:00:37]Malloc new data [00:00:37]SetTLVBufToDocument err=0 [00:00:37]Processing tag 1007 (03EF) [00:00:37]Load OK [00:00:37]SetTLVBufToDocument [00:00:37]Processing tag 1014 (03F6) [00:00:37]Malloc new data [00:00:37]Processing tag 1015 (03F7) [00:00:37]Malloc new data [00:00:37]SetTLVBufToDocument err=0 [00:00:37]Processing tag 1007 (03EF) [00:00:37]Load OK [00:00:37]SetTLVBufToDocument [00:00:37]Processing tag 1014 (03F6) [00:00:37]Malloc new data [00:00:37]Processing tag 1015 (03F7) [00:00:37]Malloc new data [00:00:37]SetTLVBufToDocument err=0 [00:00:37]Processing tag 1007 (03EF) [00:00:37]Load OK [00:00:37]SetTLVBufToDocument [00:00:37]Processing tag 1014 (03F6) [00:00:37]Malloc new data [00:00:37]Processing tag 1015 (03F7) [00:00:37]Malloc new data [00:00:37]SetTLVBufToDocument err=0 [00:00:37]Processing tag 1007 (03EF) [00:00:37]Load OK [00:00:37]SetTLVBufToDocument [00:00:37]Processing tag 1014 (03F6) [00:00:37]Malloc new data [00:00:37]Processing tag 1015 (03F7) [00:00:37]Malloc new data [00:00:37]SetTLVBufToDocument err=0 [00:00:37]Processing tag 1007 (03EF) [00:00:37]Load OK [00:00:37]SetTLVBufToDocument [00:00:37]Processing tag 1014 (03F6) [00:00:37]Malloc new data [00:00:37]Processing tag 1015 (03F7) [00:00:37]Malloc new data [00:00:37]SetTLVBufToDocument err=0 [00:00:37]Processing tag 1007 (03EF) [00:00:37]Load OK [00:00:37]SetTLVBufToDocument [00:00:37]Processing tag 1014 (03F6) [00:00:37]Malloc new data [00:00:37]Processing tag 1015 (03F7) [00:00:37]Malloc new data [00:00:37]SetTLVBufToDocument err=0 [00:00:37]SetTLVBufToDocument err=0 [00:00:37]SetTLVBufToDocument err=0 [00:00:37]Processing tag 1130 (046A) [00:00:37]Load OK [00:00:37]SetTLVBufToDocument [00:00:37]Processing tag 1135 (046F) [00:00:37]Malloc new data [00:00:37]Processing tag 1201 (04B1) [00:00:37]Malloc new data [00:00:37]Processing tag 1136 (0470) [00:00:37]Malloc new data [00:00:37]Processing tag 1138 (0472) [00:00:37]Malloc new data [00:00:37]Processing tag 1024 (0400) [00:00:37]Load OK [00:00:37]SetTLVBufToDocument [00:00:37]Processing tag 1006 (03EE) [00:00:37]Load OK [00:00:37]SetTLVBufToDocument [00:00:37]Processing tag 1010 (03F2) [00:00:37]Malloc new data [00:00:37]Processing tag 1011 (03F3) [00:00:37]Malloc new data [00:00:37]SetTLVBufToDocument err=0 [00:00:37]Processing tag 1006 (03EE) [00:00:37]Load OK [00:00:37]SetTLVBufToDocument [00:00:37]Processing tag 1010 (03F2) [00:00:37]Malloc new data [00:00:37]Processing tag 1011 (03F3) [00:00:37]Malloc new data [00:00:37]SetTLVBufToDocument err=0 [00:00:37]Processing tag 1007 (03EF) [00:00:37]Load OK [00:00:37]SetTLVBufToDocument [00:00:37]Processing tag 1014 (03F6) [00:00:37]Malloc new data [00:00:37]Processing tag 1015 (03F7) [00:00:37]Malloc new data [00:00:37]SetTLVBufToDocument err=0 [00:00:37]Processing tag 1007 (03EF) [00:00:37]Load OK [00:00:37]SetTLVBufToDocument [00:00:37]Processing tag 1014 (03F6) [00:00:37]Malloc new data [00:00:37]Processing tag 1015 (03F7) [00:00:37]Malloc new data [00:00:37]SetTLVBufToDocument err=0 [00:00:37]Processing tag 1007 (03EF) [00:00:37]Load OK [00:00:37]SetTLVBufToDocument [00:00:37]Processing tag 1014 (03F6) [00:00:37]Malloc new data [00:00:37]Processing tag 1015 (03F7) [00:00:37]Malloc new data [00:00:37]SetTLVBufToDocument err=0 [00:00:37]Processing tag 1007 (03EF) [00:00:37]Load OK [00:00:37]SetTLVBufToDocument [00:00:37]Processing tag 1014 (03F6) [00:00:37]Malloc new data [00:00:37]Processing tag 1015 (03F7) [00:00:37]Malloc new data [00:00:37]SetTLVBufToDocument err=0 [00:00:37]Processing tag 1007 (03EF) [00:00:37]Load OK [00:00:37]SetTLVBufToDocument [00:00:37]Processing tag 1014 (03F6) [00:00:37]Malloc new data [00:00:37]Processing tag 1015 (03F7) [00:00:37]Malloc new data [00:00:37]SetTLVBufToDocument err=0 [00:00:37]Processing tag 1007 (03EF) [00:00:37]Load OK [00:00:37]SetTLVBufToDocument [00:00:37]Processing tag 1014 (03F6) [00:00:37]Malloc new data [00:00:37]Processing tag 1015 (03F7) [00:00:37]Malloc new data [00:00:37]SetTLVBufToDocument err=0 [00:00:37]Processing tag 1007 (03EF) [00:00:37]Load OK [00:00:37]SetTLVBufToDocument [00:00:37]Processing tag 1014 (03F6) [00:00:37]Malloc new data [00:00:37]Processing tag 1015 (03F7) [00:00:37]Malloc new data [00:00:37]SetTLVBufToDocument err=0 [00:00:37]SetTLVBufToDocument err=0 [00:00:37]SetTLVBufToDocument err=0 [00:00:37]Processing tag 1131 (046B) [00:00:37]Load OK [00:00:37]SetTLVBufToDocument [00:00:37]Processing tag 1135 (046F) [00:00:37]Malloc new data [00:00:37]Processing tag 1201 (04B1) [00:00:37]Malloc new data [00:00:37]Processing tag 1136 (0470) [00:00:37]Malloc new data [00:00:37]Processing tag 1138 (0472) [00:00:37]Malloc new data [00:00:37]Processing tag 1024 (0400) [00:00:37]Load OK [00:00:37]SetTLVBufToDocument [00:00:37]Processing tag 1006 (03EE) [00:00:37]Load OK [00:00:37]SetTLVBufToDocument [00:00:37]Processing tag 1010 (03F2) [00:00:37]Malloc new data [00:00:37]Processing tag 1011 (03F3) [00:00:37]Malloc new data [00:00:37]SetTLVBufToDocument err=0 [00:00:37]Processing tag 1006 (03EE) [00:00:37]Load OK [00:00:37]SetTLVBufToDocument [00:00:37]Processing tag 1010 (03F2) [00:00:37]Malloc new data [00:00:37]Processing tag 1011 (03F3) [00:00:37]Malloc new data [00:00:37]SetTLVBufToDocument err=0 [00:00:37]Processing tag 1007 (03EF) [00:00:37]Load OK [00:00:37]SetTLVBufToDocument [00:00:37]Processing tag 1014 (03F6) [00:00:37]Malloc new data [00:00:37]Processing tag 1015 (03F7) [00:00:37]Malloc new data [00:00:37]SetTLVBufToDocument err=0 [00:00:37]Processing tag 1007 (03EF) [00:00:37]Load OK [00:00:37]SetTLVBufToDocument [00:00:37]Processing tag 1014 (03F6) [00:00:37]Malloc new data [00:00:37]Processing tag 1015 (03F7) [00:00:37]Malloc new data [00:00:37]SetTLVBufToDocument err=0 [00:00:37]Processing tag 1007 (03EF) [00:00:37]Load OK [00:00:37]SetTLVBufToDocument [00:00:37]Processing tag 1014 (03F6) [00:00:37]Malloc new data [00:00:37]Processing tag 1015 (03F7) [00:00:37]Malloc new data [00:00:37]SetTLVBufToDocument err=0 [00:00:37]Processing tag 1007 (03EF) [00:00:37]Load OK [00:00:37]SetTLVBufToDocument [00:00:37]Processing tag 1014 (03F6) [00:00:37]Malloc new data [00:00:37]Processing tag 1015 (03F7) [00:00:37]Malloc new data [00:00:37]SetTLVBufToDocument err=0 [00:00:37]Processing tag 1007 (03EF) [00:00:37]Load OK [00:00:37]SetTLVBufToDocument [00:00:37]Processing tag 1014 (03F6) [00:00:37]Malloc new data [00:00:37]Processing tag 1015 (03F7) [00:00:37]Malloc new data [00:00:37]SetTLVBufToDocument err=0 [00:00:37]Processing tag 1007 (03EF) [00:00:37]Load OK [00:00:37]SetTLVBufToDocument [00:00:37]Processing tag 1014 (03F6) [00:00:37]Malloc new data [00:00:37]Processing tag 1015 (03F7) [00:00:37]Malloc new data [00:00:37]SetTLVBufToDocument err=0 [00:00:37]Processing tag 1007 (03EF) [00:00:37]Load OK [00:00:37]SetTLVBufToDocument [00:00:37]Processing tag 1014 (03F6) [00:00:37]Malloc new data [00:00:37]Processing tag 1015 (03F7) [00:00:37]Malloc new data [00:00:37]SetTLVBufToDocument err=0 [00:00:37]SetTLVBufToDocument err=0 [00:00:37]SetTLVBufToDocument err=0 [00:00:37]Processing tag 1132 (046C) [00:00:37]Load OK [00:00:37]SetTLVBufToDocument [00:00:37]Processing tag 1135 (046F) [00:00:37]Malloc new data [00:00:37]Processing tag 1201 (04B1) [00:00:37]Malloc new data [00:00:37]Processing tag 1136 (0470) [00:00:37]Malloc new data [00:00:37]Processing tag 1138 (0472) [00:00:37]Malloc new data [00:00:37]Processing tag 1024 (0400) [00:00:37]Load OK [00:00:37]SetTLVBufToDocument [00:00:37]Processing tag 1006 (03EE) [00:00:37]Load OK [00:00:37]SetTLVBufToDocument [00:00:37]Processing tag 1010 (03F2) [00:00:37]Malloc new data [00:00:37]Processing tag 1011 (03F3) [00:00:37]Malloc new data [00:00:37]SetTLVBufToDocument err=0 [00:00:37]Processing tag 1006 (03EE) [00:00:37]Load OK [00:00:37]SetTLVBufToDocument [00:00:37]Processing tag 1010 (03F2) [00:00:37]Malloc new data [00:00:37]Processing tag 1011 (03F3) [00:00:37]Malloc new data [00:00:37]SetTLVBufToDocument err=0 [00:00:37]Processing tag 1007 (03EF) [00:00:37]Load OK [00:00:37]SetTLVBufToDocument [00:00:37]Processing tag 1014 (03F6) [00:00:37]Malloc new data [00:00:37]Processing tag 1015 (03F7) [00:00:37]Malloc new data [00:00:37]SetTLVBufToDocument err=0 [00:00:37]Processing tag 1007 (03EF) [00:00:37]Load OK [00:00:37]SetTLVBufToDocument [00:00:37]Processing tag 1014 (03F6) [00:00:37]Malloc new data [00:00:37]Processing tag 1015 (03F7) [00:00:37]Malloc new data [00:00:37]SetTLVBufToDocument err=0 [00:00:37]Processing tag 1007 (03EF) [00:00:37]Load OK [00:00:37]SetTLVBufToDocument [00:00:37]Processing tag 1014 (03F6) [00:00:37]Malloc new data [00:00:37]Processing tag 1015 (03F7) [00:00:37]Malloc new data [00:00:37]SetTLVBufToDocument err=0 [00:00:37]Processing tag 1007 (03EF) [00:00:37]Load OK [00:00:37]SetTLVBufToDocument [00:00:37]Processing tag 1014 (03F6) [00:00:37]Malloc new data [00:00:37]Processing tag 1015 (03F7) [00:00:37]Malloc new data [00:00:37]SetTLVBufToDocument err=0 [00:00:37]Processing tag 1007 (03EF) [00:00:37]Load OK [00:00:37]SetTLVBufToDocument [00:00:37]Processing tag 1014 (03F6) [00:00:37]Malloc new data [00:00:37]Processing tag 1015 (03F7) [00:00:37]Malloc new data [00:00:37]SetTLVBufToDocument err=0 [00:00:37]Processing tag 1007 (03EF) [00:00:37]Load OK [00:00:37]SetTLVBufToDocument [00:00:37]Processing tag 1014 (03F6) [00:00:37]Malloc new data [00:00:37]Processing tag 1015 (03F7) [00:00:37]Malloc new data [00:00:37]SetTLVBufToDocument err=0 [00:00:37]Processing tag 1007 (03EF) [00:00:37]Load OK [00:00:37]SetTLVBufToDocument [00:00:37]Processing tag 1014 (03F6) [00:00:37]Malloc new data [00:00:37]Processing tag 1015 (03F7) [00:00:37]Malloc new data [00:00:37]SetTLVBufToDocument err=0 [00:00:37]SetTLVBufToDocument err=0 [00:00:37]SetTLVBufToDocument err=0 [00:00:37]Processing tag 1133 (046D) [00:00:37]Malloc new data [00:00:37]SetTLVBufToDocument err=0 [00:00:37]Processing tag 1077 (0435) [00:00:37]Malloc new data [00:00:37]SetTLVBufToDocument err=0 [00:00:37]Malloc new data [00:00:37]SAM_PROTO_GetFMData [00:00:37]wFMCommunicate request_size=4 [00:00:37]MH_SAM_APDU [00:00:37]CAPDU: 80 13 03 00 [00:00:37]Write to MH i2c: E2 08 00 62 68 80 13 03 00 00 00 00 00 49 [00:00:37]Write i2c OK [00:00:37]MH_I2C_Read... [00:00:38]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:00:38]Read from MH i2c: E2 [00:00:38]MH_I2C_Read... [00:00:38]Read from MH i2c: E2 FD 00 [00:00:38]MH_I2C_Read... [00:00:38]Read from MH i2c: E2 FD 00 62 68 00 C1 04 85 04 BD 04 6E 04 04 00 BD B6 00 00 69 04 A0 00 6F 04 04 00 94 B5 00 00 B1 04 04 00 6B 57 13 30 70 04 04 00 7C AB 23 28 72 04 04 00 EF AB EF 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 4F F2 1A 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 A3 D5 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 29 01 00 00 B1 04 03 00 2C 8D 6E 70 04 03 00 C4 49 6A 72 04 03 00 68 43 04 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 80 BD 0B EF 03 09 00 F6 03 90 00 18 [00:00:38]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 BD B6 00 00 69 04 A0 00 6F 04 04 00 94 B5 00 00 B1 04 04 00 6B 57 13 30 70 04 04 00 7C AB 23 28 72 04 04 00 EF AB EF 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 4F F2 1A 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 A3 D5 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 29 01 00 00 B1 04 03 00 2C 8D 6E 70 04 03 00 C4 49 6A 72 04 03 00 68 43 04 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 80 BD 0B EF 03 09 00 F6 03 90 00 [00:00:38]wFMCommunicate OK [00:00:38]wFMCommunicate request_size=4 [00:00:38]MH_SAM_APDU [00:00:38]CAPDU: 80 17 00 00 [00:00:38]Write to MH i2c: E2 08 00 63 68 80 17 00 00 00 00 00 00 4B [00:00:38]Write i2c OK [00:00:38]MH_I2C_Read... [00:00:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:38]Read from MH i2c: E2 [00:00:38]MH_I2C_Read... [00:00:38]Read from MH i2c: E2 FD 00 [00:00:38]MH_I2C_Read... [00:00:38]Read from MH i2c: E2 FD 00 63 68 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 C4 [00:00:38]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:00:39]wFMCommunicate OK [00:00:39]wFMCommunicate request_size=4 [00:00:39]MH_SAM_APDU [00:00:39]CAPDU: 80 17 00 OFD Sender: No OFD packet to send [00:00:39]00 [00:00:39]Write to MH i2c: E2 08 00 64 68 80 17 00 00 00 00 00 00 4C [00:00:39]Write i2c OK [00:00:39]MH_I2C_Read... [00:00:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:39]Read from MH i2c: E2 [00:00:39]MH_I2C_Read... [00:00:39]Read from MH i2c: E2 FD 00 [00:00:39]MH_I2C_Read... [00:00:39]Read from MH i2c: E2 FD 00 64 68 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 EC [00:00:39]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:00:39]wFMCommunicate OK [00:00:39]wFMCommunicate request_size=4 [00:00:39]MH_SAM_APDU [00:00:39]CAPDU: 80 17 00 00 [00:00:39]Write to MH i2c: E2 08 00 65 68 80 17 00 00 00 00 00 00 4D [00:00:39]Write i2c OK [00:00:39]MH_I2C_Read... [00:00:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:39]Read from MH i2c: E2 [00:00:39]MH_I2C_Read... [00:00:39]Read from MH i2c: E2 FD 00 [00:00:40]MH_I2C_Read... [00:00:40]Read from MH i2c: E2 FD 00 65 68 00 03 01 00 04 F7 03 00 00 EF 03 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 90 00 D2 [00:00:40]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:00:40]wFMCommunicate OK [00:00:40]wFMCommunicate request_size=4 [00:00:40]MH_SAM_APDU [00:00:40]CAPDU: 80 17 00 00 [00:00:40]Write to MH i2c: E2 08 00 66 68 80 17 00 00 00 00 00 00 4E [00:00:40]Write i2c OK [00:00:40]MH_I2C_Read... [00:00:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [00:00:40]Read from MH i2c: E2 [00:00:40]MH_I2C_Read... [00:00:40]Read from MH i2c: E2 DE 00 [00:00:40]MH_I2C_Read... [00:00:40]Read from MH i2c: E2 DE 00 66 68 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:00:40]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:00:40]wFMCommunicate OK [00:00:40]SAM_PROTO_GetFMData done [00:00:40]Malloc new data [00:00:40]Malloc new data [00:00:40]Malloc new data [00:00:40]Malloc new data [00:00:40]KKMLoadAndSignCloseShiftData err=0 [00:00:40]Отчет о закрытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Максатбек у Д. 13.03.2024 00:00 Смена: 314 РНМ: 0000000000092018 ЗНМ: 0300000097 СНО: Общий режим Чеков за смену: 88 ФД за смену: 90 Всего чеков: 88 ИТОГИ ПРИХОД Чеков: 84 Общий итог: 13606.00 Итого наличными: 11637.00 Итого безнал.: 1969.00 НДС 0% : 0.00 НДС 12% : 1444.90 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 120.25 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 4 Общий итог: 445.00 Итого наличными: 290.00 Итого безнал.: 155.00 НДС 0% : 0.00 НДС 12% : 47.25 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 3.93 ИТОГИ РАСХОД Чеков: 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 Нал. в кассе: 11347.00 НС Приход: 8065739.31 НС Возвр.Прихода: 72451.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФД: 47411 ФМ: 0000000000871816 ФПД: 235298361546709 [00:00:40]StoreToDocumentArchive [00:00:40]shift 314 fd 47411 [00:00:40]save to /storage/0314/doc_00047411 [00:00:40]save last doc name /storage/0314/doc_00047411 to /storage/kkm_last_doc_name [00:00:40]save OK [00:00:40]Clear old archive folders... [00:00:40]Remove dir /storage/0266 [00:00:40]opendir ok [00:00:40]file . [00:00:40]file .. [00:00:40]file doc_1710287610 [00:00:40]remove file /storage/0266/doc_1710287610 [00:00:40]file doc_1710287709 [00:00:40]remove file /storage/0266/doc_1710287709 [00:00:40]file doc_1710288007 [00:00:40]remove file /storage/0266/doc_1710288007 [00:00:40]remove dir /storage/0266 [00:00:40]NVStorageSaveData kkm_registers [00:00:40]File name is /storage/kkm_registers [00:00:40]Write 24 bytes [00:00:40]NVStorageSaveData done [00:00:40]NVStorageSaveData kkm_registers [00:00:40]File name is /storage/kkm_registers [00:00:40]Write 24 bytes [00:00:40]NVStorageSaveData done [00:00:40]ProcessDocumentItem done err = 0, tmpTLVsize=1389 [00:00:40]tlvbuf is 0055C690 [00:00:40]SAM_PROTO_ClearQueue [00:00:40]wFMCommunicate request_size=4 [00:00:40]MH_SAM_APDU [00:00:40]CAPDU: 80 09 00 00 [00:00:40]Write to MH i2c: E2 08 00 67 68 80 09 00 00 00 00 00 00 41 [00:00:40]Write i2c OK [00:00:40]MH_I2C_Read... [00:00:40]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:00:40]Read from MH i2c: E2 [00:00:40]MH_I2C_Read... [00:00:40]Read from MH i2c: E2 03 00 [00:00:40]MH_I2C_Read... [00:00:41]Read from MH i2c: E2 03 00 67 68 00 90 00 43 [00:00:41]RAPDU: 90 00 [00:00:41]wFMCommunicate OK [00:00:41]SAM_PROTO_ClearQueue done [00:00:41]KKMCreateOFDPacket [00:00:41]OFDProtocolAddRootSTLVToBuf [00:00:41]FM_MakeSignedData [00:00:41]FM_MakeSignedData [00:00:41]SAM_PROTO_SignData [00:00:41]wFMCommunicate request_size=4 [00:00:41]MH_SAM_APDU [00:00:41]CAPDU: 80 0D 01 02 [00:00:41]Write to MH i2c: E2 08 00 68 68 80 0D 01 02 00 00 00 00 49 [00:00:41]Write i2c OK [00:00:41]MH_I2C_Read... [00:00:41]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:00:41]Read from MH i2c: E2 [00:00:41]MH_I2C_Read... [00:00:41]Read from MH i2c: E2 03 00 [00:00:41]MH_I2C_Read... [00:00:41]Read from MH i2c: E2 03 00 68 68 00 90 00 44 [00:00:41]RAPDU: 90 00 [00:00:41]wFMCommunicate OK [00:00:41]wFMCommunicate request_size=255 [00:00:41]MH_SAM_APDU [00:00:41]CAPDU: 80 0D 02 02 FA 05 00 6D 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 1A 00 D0 9C D0 B0 D0 BA D1 81 D0 B0 D1 82 D0 B1 D0 B5 D0 BA 20 D1 83 20 D0 94 2E 20 F4 03 04 00 B3 EC F0 65 0E 04 04 00 3A 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 5E 04 04 00 58 00 00 00 57 04 04 00 5A 00 00 00 AA 04 DA 04 6E 04 04 00 58 00 00 00 69 04 A2 00 6F 04 04 00 54 00 00 00 B1 04 03 00 D8 C2 14 70 04 03 00 B4 C1 11 72 04 03 00 24 01 03 00 04 81 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 6A 34 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 [00:00:41]Write to MH i2c: E2 02 01 69 68 80 0D 02 02 FA 00 05 00 6D 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 1A 00 D0 9C D0 B0 D0 BA D1 81 D0 B0 D1 82 D0 B1 D0 B5 D0 BA 20 D1 83 20 D0 94 2E 20 F4 03 04 00 B3 EC F0 65 0E 04 04 00 3A 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 5E 04 04 00 58 00 00 00 57 04 04 00 5A 00 00 00 AA 04 DA 04 6E 04 04 00 58 00 00 00 69 04 A2 00 6F 04 04 00 54 00 00 00 B1 04 03 00 D8 C2 14 70 04 03 00 B4 C1 11 72 04 03 00 24 01 03 00 04 81 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 6A 34 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 00 00 B8 [00:00:41]Write i2c OK [00:00:41]MH_I2C_Read... [00:00:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:00:41]Read from MH i2c: E2 [00:00:41]MH_I2C_Read... [00:00:41]Read from MH i2c: E2 03 00 [00:00:41]MH_I2C_Read... [00:00:41]Read from MH i2c: E2 03 00 69 68 00 90 00 45 [00:00:41]RAPDU: 90 00 [00:00:41]wFMCommunicate OK [00:00:41]wFMCommunicate request_size=255 [00:00:41]MH_SAM_APDU [00:00:41]CAPDU: 80 0D 02 02 FA 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 F9 2E 6A 04 9E 00 6F 04 04 00 04 00 00 00 B1 04 02 00 D4 AD 70 04 02 00 48 71 72 04 02 00 8C 3C 00 04 80 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 75 12 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 89 01 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 [00:00:41]Write to MH i2c: E2 02 01 6A 68 80 0D 02 02 FA 00 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 F9 2E 6A 04 9E 00 6F 04 04 00 04 00 00 00 B1 04 02 00 D4 AD 70 04 02 00 48 71 72 04 02 00 8C 3C 00 04 80 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 75 12 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 89 01 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 00 00 0D [00:00:42]Write i2c OK [00:00:42]MH_I2C_Read... [00:00:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:00:42]Read from MH i2c: E2 [00:00:42]MH_I2C_Read... [00:00:42]Read from MH i2c: E2 03 00 [00:00:42]MH_I2C_Read... [00:00:42]Read from MH i2c: E2 03 00 6A 68 00 90 00 46 [00:00:42]RAPDU: 90 00 [00:00:42]wFMCommunicate OK [00:00:42]wFMCommunicate request_size=255 [00:00:42]MH_SAM_APDU [00:00:42]CAPDU: 80 0D 02 02 FA 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 [00:00:42]Write to MH i2c: E2 02 01 6B 68 80 0D 02 02 FA 00 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 00 00 05 [00:00:42]Write i2c OK [00:00:42]MH_I2C_Read... [00:00:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:00:43]Read from MH i2c: E2 [00:00:43]MH_I2C_Read... [00:00:43]Read from MH i2c: E2 03 00 [00:00:43]MH_I2C_Read... [00:00:43]Read from MH i2c: E2 03 00 6B 68 00 90 00 47 [00:00:43]RAPDU: 90 00 [00:00:43]wFMCommunicate OK [00:00:43]wFMCommunicate request_size=255 [00:00:43]MH_SAM_APDU [00:00:43]CAPDU: 80 0D 02 02 FA 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 [00:00:43]Write to MH i2c: E2 02 01 6C 68 80 0D 02 02 FA 00 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 00 00 25 [00:00:43]Write i2c OK [00:00:43]MH_I2C_Read... [00:00:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:00:43]Read from MH i2c: E2 [00:00:43]MH_I2C_Read... [00:00:43]Read from MH i2c: E2 03 00 [00:00:43]MH_I2C_Read... [00:00:43]Read from MH i2c: E2 03 00 6C 68 00 90 00 48 [00:00:43]RAPDU: 90 00 [00:00:43]wFMCommunicate OK [00:00:43]wFMCommunicate request_size=255 [00:00:43]MH_SAM_APDU [00:00:43]CAPDU: 80 0D 02 02 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:00:43]Write to MH i2c: E2 02 01 6D 68 80 0D 02 02 FA 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 00 DF [00:00:44]Write i2c OK [00:00:44]MH_I2C_Read... [00:00:44]OFD Sender: No OFD packet to send [00:00:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:00:44]Read from MH i2c: E2 [00:00:44]MH_I2C_Read... [00:00:44]Read from MH i2c: E2 03 00 [00:00:44]MH_I2C_Read... [00:00:44]Read from MH i2c: E2 03 00 6D 68 00 90 00 49 [00:00:44]RAPDU: 90 00 [00:00:44]wFMCommunicate OK [00:00:44]wFMCommunicate request_size=148 [00:00:44]MH_SAM_APDU [00:00:44]CAPDU: 80 0D 02 02 8F 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 33 B9 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 35 04 06 00 D6 00 AB 41 97 D5 [00:00:44]Write to MH i2c: E2 97 00 6E 68 80 0D 02 02 8F 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 33 B9 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 35 04 06 00 D6 00 AB 41 97 D5 00 00 A8 [00:00:44]Write i2c OK [00:00:44]MH_I2C_Read... [00:00:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:00:44]Read from MH i2c: E2 [00:00:44]MH_I2C_Read... [00:00:44]Read from MH i2c: E2 03 00 [00:00:44]MH_I2C_Read... [00:00:44]Read from MH i2c: E2 03 00 6E 68 00 90 00 4A [00:00:44]RAPDU: 90 00 [00:00:44]wFMCommunicate OK [00:00:44]wFMCommunicate request_size=4 [00:00:44]MH_SAM_APDU [00:00:44]CAPDU: 80 0D 03 02 [00:00:44]Write to MH i2c: E2 08 00 6F 68 80 0D 03 02 00 00 00 00 52 [00:00:44]Write i2c OK [00:00:44]MH_I2C_Read... [00:00:44]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:00:44]Read from MH i2c: E2 [00:00:44]MH_I2C_Read... [00:00:44]Read from MH i2c: E2 0B 00 [00:00:44]MH_I2C_Read... [00:00:44]Read from MH i2c: E2 0B 00 6F 68 00 68 7C 2D 25 F9 0D 7C 9F 90 00 AA [00:00:44]RAPDU: 68 7C 2D 25 F9 0D 7C 9F 90 00 [00:00:44]wFMCommunicate OK [00:00:44]SAM_PROTO_SignData done [00:00:44]FM_MakeSignedData done [00:00:44]CreateOFDProtocolMessage [00:00:44]wFMCommunicate request_size=4 [00:00:44]MH_SAM_APDU [00:00:44]CAPDU: 80 11 00 00 [00:00:44]Write to MH i2c: E2 08 00 70 68 80 11 00 00 00 00 00 00 52 [00:00:44]Write i2c OK [00:00:44]MH_I2C_Read... [00:00:45]Read from MH i2c: E2 [00:00:45]MH_I2C_Read... [00:00:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:00:45]Read from MH i2c: E2 17 00 [00:00:45]MH_I2C_Read... [00:00:45]Read from MH i2c: E2 17 00 70 68 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 A4 [00:00:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [00:00:45]wFMCommunicate OK [00:00:45]CreateOFDProtocolMessage done [00:00:45]OFDSenderStorePacket 47411 [00:00:45]StoreOFDPacket docnum=47411 [00:00:45]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 81 05 00 00 4B E1 79 05 F7 12 5A 05 01 00 05 00 6D 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 1A 00 D0 9C D0 B0 D0 BA D1 81 D0 B0 D1 82 D0 B1 D0 B5 D0 BA 20 D1 83 20 D0 94 2E 20 F4 03 04 00 B3 EC F0 65 0E 04 04 00 3A 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 5E 04 04 00 58 00 00 00 57 04 04 00 5A 00 00 00 AA 04 DA 04 6E 04 04 00 58 00 00 00 69 04 A2 00 6F 04 04 00 54 00 00 00 B1 04 03 00 D8 C2 14 70 04 03 00 B4 C1 11 72 04 03 00 24 01 03 00 04 81 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 6A 34 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 F9 2E 6A 04 9E 00 6F 04 04 00 04 00 00 00 B1 04 02 00 D4 AD 70 04 02 00 48 71 72 04 02 00 8C 3C 00 04 80 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 75 12 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 89 01 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 33 B9 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 35 04 06 00 D6 00 AB 41 97 D5 68 7C 2D 25 F9 0D 7C 9F [00:00:45]CheckFolder [00:00:45]dirname=/storage/ofd_packets [00:00:45]CheckFolder done [00:00:45]ProducePacketName [00:00:45]name=ofd_packets/00047411 [00:00:45]NVStorageSaveData ofd_packets/00047411 [00:00:45]File name is /storage/ofd_packets/00047411 [00:00:45]Write 1439 bytes [00:00:45]NVStorageSaveData done [00:00:45]OFDSenderStorePacket done [00:00:45]KKMCreateOFDPacket done [00:00:45]NVStorageSaveData kkm_last_timestamp [00:00:45]File name is /storage/kkm_last_timestamp [00:00:45]Write 4 bytes [00:00:45]NVStorageSaveData done [00:00:45]ExternCall_PrintAddStr [00:00:45]wPrintStart [00:00:45]Write to MH i2c: 01 00 00 71 68 D9 [00:00:45]Write i2c OK [00:00:45]MH_I2C_Read... [00:00:45]Read from MH i2c: 01 [00:00:45]MH_I2C_Read... [00:00:45]Read from MH i2c: 01 07 00 [00:00:45]MH_I2C_Read... [00:00:45]Read from MH i2c: 01 07 00 71 68 00 00 00 00 00 FF 0F EE [00:00:45]RasterBufferAndPrint [00:00:45]line Отчет о закрытии смены [00:00:45]line ФФД: 1.0 [00:00:45]line ИНН: 02508201610067 [00:00:45]line Кассир: Максатбек у Д. [00:00:45]line 13.03.2024 00:00 [00:00:45]line Смена: 314 [00:00:45]line РНМ: 0000000000092018 [00:00:45]line ЗНМ: 0300000097 [00:00:45]line СНО: Общий режим [00:00:45]line Чеков за смену: 88 [00:00:45]line ФД за смену: 90 [00:00:45]line Всего чеков: 88 [00:00:45]line ИТОГИ ПРИХОД [00:00:45]line Чеков: 84 [00:00:45]line Общий итог: 13606.00 [00:00:45]line Итого наличными: 11637.00 [00:00:45]line Итого безнал.: 1969.00 [00:00:45]line НДС 0% : 0.00 [00:00:45]line НДС 12% : 1444.90 [00:00:45]line НСП 0% : 0.00 [00:00:45]line НСП 1,50% : 0.00 [00:00:45]line НСП 0,50% : 0.00 [00:00:45]line НСП 5% : 0.00 [00:00:45]line НСП 3% : 0.00 [00:00:45]line НСП 2% : 0.00 [00:00:45]line НСП 1% : 120.25 [00:00:45]line ИТОГИ ВОЗВРАТ ПРИХОДА [00:00:45]line Чеков: 4 [00:00:45]line Общий итог: 445.00 [00:00:45]line Итого наличными: 290.00 [00:00:45]line Итого безнал.: 155.00 [00:00:45]line НДС 0% : 0.00 [00:00:45]line НДС 12% : 47.25 [00:00:45]line НСП 0% : 0.00 [00:00:45]line НСП 1,50% : 0.00 [00:00:45]line НСП 0,50% : 0.00 [00:00:45]line НСП 5% : 0.00 [00:00:45]line НСП 3% : 0.00 [00:00:45]line НСП 2% : 0.00 [00:00:45]line НСП 1% : 3.93 [00:00:45]line ИТОГИ РАСХОД [00:00:45]line Чеков: 0 [00:00:45]line Общий итог: 0.00 [00:00:45]line Итого наличными: 0.00 [00:00:45]line Итого безнал.: 0.00 [00:00:45]line НДС 0% : 0.00 [00:00:45]line НДС 12% : 0.00 [00:00:45]line НСП 0% : 0.00 [00:00:45]line НСП 1,50% : 0.00 [00:00:45]line НСП 0,50% : 0.00 [00:00:45]line НСП 5% : 0.00 [00:00:45]line НСП 3% : 0.00 [00:00:45]line НСП 2% : 0.00 [00:00:45]line НСП 1% : 0.00 [00:00:45]line ИТОГИ ВОЗВРАТ РАСХОДА [00:00:45]line Чеков: 0 [00:00:45]line Общий итог: 0.00 [00:00:45]line Итого наличными: 0.00 [00:00:45]line Итого безнал.: 0.00 [00:00:45]line НДС 0% : 0.00 [00:00:45]line НДС 12% : 0.00 [00:00:45]line НСП 0% : 0.00 [00:00:45]line НСП 1,50% : 0.00 [00:00:45]line НСП 0,50% : 0.00 [00:00:45]line НСП 5% : 0.00 [00:00:45]OFD Sender: Processing packet 47411 [packets to send 8, broken 7] [00:00:45]line НСП 3% : 0.00 [00:00:45]ProducePacketName [00:00:45]line НСП 2% : 0.00 [00:00:45]name=ofd_packets/00047411 [00:00:45]line НСП 1% : 0.00 [00:00:45]OFD Sender: To server: pG, [00:00:45]line Сумма внесений: 0.00 [00:00:45]CommunicateWithHost lk.salyk.kg:30040 [00:00:45]line Сумма выплат: 0.00 [00:00:45]ConnectInit lk.salyk.kg [00:00:45]line Нал. в кассе: 11347.00 [00:00:45]line НС Приход: 8065739.31 [00:00:45]line НС Возвр.Прихода: 72451.00 [00:00:45]line НС Расход: 0.00 [00:00:45]line НС Возвр.Расхода: 0.00 [00:00:45]line ФД: 47411 [00:00:45]line ФМ: 0000000000871816 [00:00:45]line ФПД: 235298361546709 [00:00:45]written 0, free lines is 4095 [00:00:46]Write to MH i2c: 01 00 00 C1 68 29 [00:00:46]Write i2c OK [00:00:46]MH_I2C_Read... [00:00:46]Read from MH i2c: 01 [00:00:46]MH_I2C_Read... [00:00:46]Read from MH i2c: 01 07 00 [00:00:46]MH_I2C_Read... [00:00:46]Read from MH i2c: 01 07 00 C1 68 00 00 00 00 00 67 0A A1 [00:00:46]RasterBufferAndPrint [00:00:46]line [00:00:46]line [00:00:46]line [00:00:46]line [00:00:46]line [00:00:46]written 0, free lines is 2704 [00:00:46]MH_Cut [00:00:46]Write to MH i2c: D1 01 00 C8 68 01 02 [00:00:46]Write i2c OK [00:00:46]MH_I2C_Read... [00:00:46]Read from MH i2c: D1 [00:00:46]MH_I2C_Read... [00:00:46]Read from MH i2c: D1 01 00 [00:00:46]MH_I2C_Read... [00:00:46]Read from MH i2c: D1 01 00 C8 68 00 01 [00:00:46]Write to MH i2c: 01 00 00 C9 68 31 [00:00:46]Write i2c OK [00:00:46]MH_I2C_Read... [00:00:47]*** Cut start [00:00:47]*** Purtial cut [00:00:47]*** Stage 1: CUTSNS_PIN = 1 [00:00:47]Read from MH i2c: 01 [00:00:47]MH_I2C_Read... [00:00:47]*** Stop cut motor [00:00:47]*** Cut end [00:00:47]Read from MH i2c: 01 07 00 [00:00:47]MH_I2C_Read... [00:00:47]Read from MH i2c: 01 07 00 C9 68 00 00 00 00 00 FF 0F 46 [00:00:47]process_action close_shift done [00:00:47]requested_data is exist [00:00:47]produce_requested_data [00:00:47]requested_item fd.num is exist - process it [00:00:47]SAM_PROTO_GetFieldsCounters [00:00:47]wFMCommunicate request_size=4 [00:00:47]MH_SAM_APDU [00:00:47]CAPDU: 80 13 00 00 [00:00:47]Write to MH i2c: E2 08 00 CA 68 80 13 00 00 00 00 00 00 AE [00:00:47]Write i2c OK [00:00:47]MH_I2C_Read... [00:00:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:00:48]Read from MH i2c: E2 [00:00:48]MH_I2C_Read... [00:00:48]Read from MH i2c: E2 62 00 [00:00:48]MH_I2C_Read... [00:00:48]Read from MH i2c: E2 62 00 CA 68 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 33 B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 58 00 00 00 5E 04 04 00 58 00 00 00 57 04 04 00 5A 00 00 00 19 04 04 00 00 00 00 00 90 00 F9 [00:00:48]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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 33 B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 58 00 00 00 5E 04 04 00 58 00 00 00 57 04 04 00 5A 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:00:48]wFMCommunicate OK [00:00:48]SAM_PROTO_GetFieldsCounters done [00:00:48]requested_item shift.num is exist - process it [00:00:48]requested_item shift.opened is exist - process it [00:00:48]req_shift_opened [00:00:48]FM_GetShiftState [00:00:48]SAM_PROTO_GetShiftState [00:00:48]wFMCommunicate request_size=4 [00:00:48]MH_SAM_APDU [00:00:48]CAPDU: 80 13 01 00 [00:00:48]Write to MH i2c: E2 08 00 CB 68 80 13 01 00 00 00 00 00 B0 [00:00:48]Write i2c OK [00:00:48]MH_I2C_Read... [00:00:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:00:48]Read from MH i2c: E2 [00:00:48]MH_I2C_Read... [00:00:48]Read from MH i2c: E2 0E 00 [00:00:48]MH_I2C_Read... [00:00:48]Read from MH i2c: E2 0E 00 CB 68 00 09 00 00 00 00 00 00 00 00 00 00 90 00 BB [00:00:48]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:00:48]wFMCommunicate OK [00:00:48]SAM_PROTO_GetShiftState done [00:00:48]FM_GetShiftState done [00:00:48]req_shift_opened done [00:00:48]requested_item shift.open_date is exist - process it [00:00:48]req_shift_open_date [00:00:48]FM_GetShiftState [00:00:48]SAM_PROTO_GetShiftState [00:00:48]wFMCommunicate request_size=4 [00:00:48]MH_SAM_APDU [00:00:48]CAPDU: 80 13 01 00 [00:00:48]Write to MH i2c: E2 08 00 CC 68 80 13 01 00 00 00 00 00 B1 [00:00:48]Write i2c OK [00:00:48]MH_I2C_Read... [00:00:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:00:48]Read from MH i2c: E2 [00:00:48]MH_I2C_Read... [00:00:48]Read from MH i2c: E2 0E 00 [00:00:48]MH_I2C_Read... [00:00:48]Read from MH i2c: E2 0E 00 CC 68 00 09 00 00 00 00 00 00 00 00 00 00 90 00 BC [00:00:48]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:00:48]wFMCommunicate OK [00:00:48]SAM_PROTO_GetShiftState done [00:00:48]FM_GetShiftState done [00:00:48]req_shift_open_date done [00:00:48]produce_requested_data done [00:00:48]produce_requested_data return {"fd.num":47411,"shift.num":314,"shift.opened":0,"shift.open_date":0} [00:00:48]process_action_free close_shift [00:00:48]json_value_free [00:00:48]json_value_free done [00:00:48]process_json_proto returns [00:00:48]Send response to host [00:00:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":47411,"shift.num":314,"shift.opened":0,"shift.open_date":0}}} [00:00:48]free response buf [00:00:48]execute_script done [00:00:48]execute_script returns [00:00:48]free content buf [00:00:48]Sock 9.Close socket [00:00:48]Sock 9.Thread stoped [00:00:50]ConnectInit Can't take IP for lk.salyk.kg [00:00:50]CommunicateWithHost connect error [00:00:50]CommunicateWithHost err = -1 [00:00:50]OFD Sender: Server communicate error [00:00:55]OFD Sender: Processing packet 47411 [packets to send 8, broken 7] [00:00:55]ProducePacketName [00:00:55]name=ofd_packets/00047411 [00:00:55]OFD Sender: To server: pG, [00:00:55]CommunicateWithHost lk.salyk.kg:30040 [00:00:55]ConnectInit lk.salyk.kg [00:01:00]ConnectInit Can't take IP for lk.salyk.kg [00:01:00]CommunicateWithHost connect error [00:01:00]CommunicateWithHost err = -1 [00:01:00]OFD Sender: Server communicate error [00:01:05]OFD Sender: Processing packet 47411 [packets to send 8, broken 7] [00:01:05]ProducePacketName [00:01:05]name=ofd_packets/00047411 [00:01:05]OFD Sender: To server: pG, [00:01:05]CommunicateWithHost lk.salyk.kg:30040 [00:01:05]ConnectInit lk.salyk.kg [00:01:10]ConnectInit Can't take IP for lk.salyk.kg [00:01:10]CommunicateWithHost connect error [00:01:10]CommunicateWithHost err = -1 [00:01:10]OFD Sender: Server communicate error [00:01:15]OFD Sender: Processing packet 47411 [packets to send 8, broken 7] [00:01:15]ProducePacketName [00:01:15]name=ofd_packets/00047411 [00:01:15]OFD Sender: To server: pG, [00:01:15]CommunicateWithHost lk.salyk.kg:30040 [00:01:15]ConnectInit lk.salyk.kg [00:01:20]ConnectInit Can't take IP for lk.salyk.kg [00:01:20]CommunicateWithHost connect error [00:01:20]CommunicateWithHost err = -1 [00:01:20]OFD Sender: Server communicate error [00:01:25]OFD Sender: Processing packet 47411 [packets to send 8, broken 7] [00:01:25]ProducePacketName [00:01:25]name=ofd_packets/00047411 [00:01:25]OFD Sender: To server: pG, [00:01:25]CommunicateWithHost lk.salyk.kg:30040 [00:01:25]ConnectInit lk.salyk.kg [00:01:30]ConnectInit Can't take IP for lk.salyk.kg [00:01:30]CommunicateWithHost connect error [00:01:30]CommunicateWithHost err = -1 [00:01:30]OFD Sender: Server communicate error [00:01:35]OFD Sender: Processing packet 47411 [packets to send 8, broken 7] [00:01:35]ProducePacketName [00:01:35]name=ofd_packets/00047411 [00:01:35]OFD Sender: To server: pG, [00:01:35]CommunicateWithHost lk.salyk.kg:30040 [00:01:35]ConnectInit lk.salyk.kg [00:01:40]ConnectInit Can't take IP for lk.salyk.kg [00:01:40]CommunicateWithHost connect error [00:01:40]CommunicateWithHost err = -1 [00:01:40]OFD Sender: Server communicate error [00:01:45]OFD Sender: Processing packet 47411 [packets to send 8, broken 7] [00:01:45]ProducePacketName [00:01:45]name=ofd_packets/00047411 [00:01:45]OFD Sender: To server: pG, [00:01:45]CommunicateWithHost lk.salyk.kg:30040 [00:01:45]ConnectInit lk.salyk.kg [00:01:50]ConnectInit Can't take IP for lk.salyk.kg [00:01:50]CommunicateWithHost connect error [00:01:50]CommunicateWithHost err = -1 [00:01:50]OFD Sender: Server communicate error [00:01:55]OFD Sender: Processing packet 47411 [packets to send 8, broken 7] [00:01:55]ProducePacketName [00:01:55]name=ofd_packets/00047411 [00:01:55]OFD Sender: To server: pG, [00:01:55]CommunicateWithHost lk.salyk.kg:30040 [00:01:55]ConnectInit lk.salyk.kg [00:01:57]Connected sock=9 [00:01: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 31 36 81 05 00 00 4B E1 79 05 F7 12 5A 05 01 00 05 00 6D 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 1A 00 D0 9C D0 B0 D0 BA D1 81 D0 B0 D1 82 D0 B1 D0 B5 D0 BA 20 D1 83 20 D0 94 2E 20 F4 03 04 00 B3 EC F0 65 0E 04 04 00 3A 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 5E 04 04 00 58 00 00 00 57 04 04 00 5A 00 00 00 AA 04 DA 04 6E 04 04 00 58 00 00 00 69 04 A2 00 6F 04 04 00 54 00 00 00 B1 04 03 00 D8 C2 14 70 04 03 00 B4 C1 11 72 04 03 00 24 01 03 00 04 81 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 6A 34 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 F9 2E 6A 04 9E 00 6F 04 04 00 04 00 00 00 B1 04 02 00 D4 AD 70 04 02 00 48 71 72 04 02 00 8C 3C 00 04 80 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 75 12 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 89 01 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 33 B9 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 35 04 06 00 D6 00 AB 41 97 D5 68 7C 2D 25 F9 0D 7C 9F [00:02:04]recv_with_timeout no data received [00:02:04]CommunicateWithHost answer receiving error [00:02:04]CommunicateWithHost err = -3 [00:02:04]OFD Sender: Server communicate error [00:02:09]OFD Sender: Processing packet 47411 [packets to send 8, broken 7] [00:02:09]ProducePacketName [00:02:09]name=ofd_packets/00047411 [00:02:09]OFD Sender: To server: pG, [00:02:09]CommunicateWithHost lk.salyk.kg:30040 [00:02:09]ConnectInit lk.salyk.kg [00:02:09]Connected sock=9 [00:02: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 31 36 81 05 00 00 4B E1 79 05 F7 12 5A 05 01 00 05 00 6D 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 1A 00 D0 9C D0 B0 D0 BA D1 81 D0 B0 D1 82 D0 B1 D0 B5 D0 BA 20 D1 83 20 D0 94 2E 20 F4 03 04 00 B3 EC F0 65 0E 04 04 00 3A 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 5E 04 04 00 58 00 00 00 57 04 04 00 5A 00 00 00 AA 04 DA 04 6E 04 04 00 58 00 00 00 69 04 A2 00 6F 04 04 00 54 00 00 00 B1 04 03 00 D8 C2 14 70 04 03 00 B4 C1 11 72 04 03 00 24 01 03 00 04 81 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 6A 34 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 F9 2E 6A 04 9E 00 6F 04 04 00 04 00 00 00 B1 04 02 00 D4 AD 70 04 02 00 48 71 72 04 02 00 8C 3C 00 04 80 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 75 12 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 89 01 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 33 B9 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 35 04 06 00 D6 00 AB 41 97 D5 68 7C 2D 25 F9 0D 7C 9F [00:02: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 31 36 4F 00 00 00 2B 3B 47 00 42 6D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 33 B9 00 00 F4 03 04 00 A3 97 F0 65 B6 04 01 00 00 12 A4 9F 8E D4 9D DD B4 [00:02:11]CommunicateWithHost err = 0 [00:02:11]CheckOFDResponse [00:02:11]1017 (14) - 77093643461234 [00:02:11]1041 (16) - 0000000000871816 [00:02:11]1040 (4) - 47411 [00:02:11]1012 (4) - 12.03.2024 17:57 [00:02:11]1206 (1) - 0 [00:02:11]OFD Sender: Remove packet 47411 [00:02:11]ProducePacketName [00:02:11]name=ofd_packets/00047411 [00:02:11]NVStorageDeleteData [00:02:11]OFD Sender: No OFD packet to send [00:02:16]OFD Sender: No OFD packet to send [00:02:21]OFD Sender: No OFD packet to send [00:02:26]OFD Sender: No OFD packet to send [00:02:31]OFD Sender: No OFD packet to send [00:02:36]OFD Sender: No OFD packet to send [00:02:41]OFD Sender: No OFD packet to send [00:02:46]ConnectInit Can't connect to host [00:02:46]OFD Sender: No OFD packet to send [00:02:51]OFD Sender: No OFD packet to send [00:02:56]OFD Sender: No OFD packet to send [00:03:01]OFD Sender: No OFD packet to send [00:03:06]OFD Sender: No OFD packet to send [00:03:11]OFD Sender: No OFD packet to send [00:03:16]OFD Sender: No OFD packet to send [00:03:21]OFD Sender: No OFD packet to send [00:03:26]OFD Sender: No OFD packet to send [00:03:31]OFD Sender: No OFD packet to send [00:03:36]OFD Sender: No OFD packet to send [00:03:41]OFD Sender: No OFD packet to send [00:03:46]OFD Sender: No OFD packet to send [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: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:06]OFD Sender: No OFD packet to send [00:07:11]OFD Sender: No OFD packet to send [00:07:16]OFD Sender: No OFD packet to send [00:07:21]OFD Sender: No OFD packet to send [00:07:26]OFD Sender: No OFD packet to send [00:07:31]OFD Sender: No OFD packet to send [00:07:36]OFD Sender: No OFD packet to send [00:07:41]OFD Sender: No OFD packet to send [00:07:46]OFD Sender: No OFD packet to send [00:07:51]OFD Sender: No OFD packet to send [00:07:56]OFD Sender: No OFD packet to send [00:08:01]OFD Sender: No OFD packet to send [00:08:06]OFD Sender: No OFD packet to send [00:08:11]OFD Sender: No OFD packet to send [00:08:16]OFD Sender: No OFD packet to send [00:08:21]OFD Sender: No OFD packet to send [00:08:26]OFD Sender: No OFD packet to send [00:08:31]OFD Sender: No OFD packet to send [00:08:36]OFD Sender: No OFD packet to send [00:08:41]OFD Sender: No OFD packet to send [00:08:46]OFD Sender: No OFD packet to send [00:08:51]OFD Sender: No OFD packet to send [00:08:56]OFD Sender: No OFD packet to send [00:09:01]OFD Sender: No OFD packet to send [00:09:06]OFD Sender: No OFD packet to send [00:09:11]OFD Sender: No OFD packet to send [00:09:16]OFD Sender: No OFD packet to send [00:09:21]OFD Sender: No OFD packet to send [00:09:26]OFD Sender: No OFD packet to send [00:09:31]OFD Sender: No OFD packet to send [00:09:36]OFD Sender: No OFD packet to send [00:09:41]OFD Sender: No OFD packet to send [00:09:46]OFD Sender: No OFD packet to send [00:09:51]OFD Sender: No OFD packet to send [00:09:56]OFD Sender: No OFD packet to send [00:10:01]OFD Sender: No OFD packet to send [00:10:06]OFD Sender: No OFD packet to send [00:10:11]OFD Sender: No OFD packet to send [00:10:16]OFD Sender: No OFD packet to send [00:10:21]OFD Sender: No OFD packet to send [00:10:26]OFD Sender: No OFD packet to send [00:10:31]OFD Sender: No OFD packet to send [00:10:36]OFD Sender: No OFD packet to send [00:10:41]OFD Sender: No OFD packet to send [00:10:46]OFD Sender: No OFD packet to send [00:10:51]OFD Sender: No OFD packet to send [00:10:56]OFD Sender: No OFD packet to send [00:11:01]OFD Sender: No OFD packet to send [00:11:06]OFD Sender: No OFD packet to send [00:11:11]OFD Sender: No OFD packet to send [00:11:16]OFD Sender: No OFD packet to send [00:11:21]OFD Sender: No OFD packet to send [00:11:26]OFD Sender: No OFD packet to send [00:11:31]OFD Sender: No OFD packet to send [00:11:36]OFD Sender: No OFD packet to send [00:11:42]OFD Sender: No OFD packet to send [00:11:47]OFD Sender: No OFD packet to send [00:11:52]OFD Sender: No OFD packet to send [00:11:57]OFD Sender: No OFD packet to send [00:12:02]OFD Sender: No OFD packet to send [00:12:07]OFD Sender: No OFD packet to send [00:12:12]OFD Sender: No OFD packet to send [00:12:17]OFD Sender: No OFD packet to send [00:12:22]OFD Sender: No OFD packet to send [00:12:27]OFD Sender: No OFD packet to send [00:12:32]OFD Sender: No OFD packet to send [00:12:37]OFD Sender: No OFD packet to send [00:12:42]OFD Sender: No OFD packet to send [00:12:47]OFD Sender: No OFD packet to send [00:12:52]OFD Sender: No OFD packet to send [00:12:57]OFD Sender: No OFD packet to send [00:13:01]accept exits with 7 [00:13:01]New connection [00:13:01]New thread 3066596708 created [00:13:01]Thread 3066453348 joined [00:13:01]Waiting for new connection... [00:13:01] Sock 7.Parse request [00:13:01]Sock 7.Check first char [00:13:01]Sock 7.First char is OK [00:13:01]request: POST /json_proto HTTP/1.0 [00:13:01]Method: POST [00:13:01]URL: /json_proto [00:13:01]Method is POST - this is cgi request [00:13:01]url: /json_proto [00:13:01]query_string will be loaded in cgi processing [00:13:01]execute_cgi json_proto POST (null) [00:13:01]execute_cgi path=json_proto method=POST [00:13:01]POST find Content-Length [00:13:01]Host: 172.17.32.68:8080 [00:13:01]Content-Length: 215 [00:13:01]Content-Type: application/json [00:13:01] [00:13:01]POST finish read [00:13:01]Found Content-Length = 215 [00:13:01]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:13:01]execute_script... [00:13:01]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:13:01]POST & json_proto [00:13:01]process_json_proto [00:13:01]json parsed OK: [00:13:01]protocol is kg_v1.0 [00:13:01]action value=get_value [00:13:01]process_action get_value [00:13:01]cmd_get_value [00:13:01]process_action get_value done [00:13:01]requested_data is exist [00:13:01]produce_requested_data [00:13:01]requested_item kkm.sn is exist - process it [00:13:01]requested_item kkm.ver is exist - process it [00:13:01]requested_item fm.sn is exist - process it [00:13:01]wFMCommunicate request_size=4 [00:13:01]MH_SAM_APDU [00:13:01]CAPDU: 80 11 00 00 [00:13:01]Write to MH i2c: E2 08 00 CD 68 80 11 00 00 00 00 00 00 AF [00:13:01]Write i2c OK [00:13:01]MH_I2C_Read... [00:13:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:13:01]Read from MH i2c: E2 [00:13:01]MH_I2C_Read... [00:13:01]Read from MH i2c: E2 17 00 [00:13:01]MH_I2C_Read... [00:13:01]Read from MH i2c: E2 17 00 CD 68 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 01 [00:13:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [00:13:01]wFMCommunicate OK [00:13:01]requested_item fd.num is exist - process it [00:13:01]SAM_PROTO_GetFieldsCounters [00:13:01]wFMCommunicate request_size=4 [00:13:01]MH_SAM_APDU [00:13:01]CAPDU: 80 13 00 00 [00:13:01]Write to MH i2c: E2 08 00 CE 68 80 13 00 00 00 00 00 00 B2 [00:13:01]Write i2c OK [00:13:01]MH_I2C_Read... [00:13:02]OFD Sender: No OFD packet to send [00:13:02]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:13:02]Read from MH i2c: E2 [00:13:02]MH_I2C_Read... [00:13:02]Read from MH i2c: E2 62 00 [00:13:02]MH_I2C_Read... [00:13:02]Read from MH i2c: E2 62 00 CE 68 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 33 B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 58 00 00 00 5E 04 04 00 58 00 00 00 57 04 04 00 5A 00 00 00 19 04 04 00 00 00 00 00 90 00 FD [00:13: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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 33 B9 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 58 00 00 00 5E 04 04 00 58 00 00 00 57 04 04 00 5A 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:13:02]wFMCommunicate OK [00:13:02]SAM_PROTO_GetFieldsCounters done [00:13:02]requested_item shift.num is exist - process it [00:13:02]requested_item shift.opened is exist - process it [00:13:02]req_shift_opened [00:13:02]FM_GetShiftState [00:13:02]SAM_PROTO_GetShiftState [00:13:02]wFMCommunicate request_size=4 [00:13:02]MH_SAM_APDU [00:13:02]CAPDU: 80 13 01 00 [00:13:02]Write to MH i2c: E2 08 00 CF 68 80 13 01 00 00 00 00 00 B4 [00:13:02]Write i2c OK [00:13:02]MH_I2C_Read... [00:13:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:13:02]Read from MH i2c: E2 [00:13:02]MH_I2C_Read... [00:13:02]Read from MH i2c: E2 0E 00 [00:13:02]MH_I2C_Read... [00:13:02]Read from MH i2c: E2 0E 00 CF 68 00 09 00 00 00 00 00 00 00 00 00 00 90 00 BF [00:13:02]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:13:02]wFMCommunicate OK [00:13:02]SAM_PROTO_GetShiftState done [00:13:02]FM_GetShiftState done [00:13:02]req_shift_opened done [00:13:02]requested_item shift.open_date is exist - process it [00:13:02]req_shift_open_date [00:13:02]FM_GetShiftState [00:13:02]SAM_PROTO_GetShiftState [00:13:02]wFMCommunicate request_size=4 [00:13:02]MH_SAM_APDU [00:13:02]CAPDU: 80 13 01 00 [00:13:02]Write to MH i2c: E2 08 00 D0 68 80 13 01 00 00 00 00 00 B5 [00:13:02]Write i2c OK [00:13:02]MH_I2C_Read... [00:13:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:13:02]Read from MH i2c: E2 [00:13:02]MH_I2C_Read... [00:13:02]Read from MH i2c: E2 0E 00 [00:13:02]MH_I2C_Read... [00:13:02]Read from MH i2c: E2 0E 00 D0 68 00 09 00 00 00 00 00 00 00 00 00 00 90 00 C0 [00:13:02]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:13:02]wFMCommunicate OK [00:13:02]SAM_PROTO_GetShiftState done [00:13:02]FM_GetShiftState done [00:13:02]req_shift_open_date done [00:13:02]produce_requested_data done [00:13:02]produce_requested_data return {"kkm.sn":"0300000097","kkm.ver":"001","fm.sn":"0000000000871816","fd.num":47411,"shift.num":314,"shift.opened":0,"shift.open_date":0} [00:13:02]process_action_free get_value [00:13:02]json_value_free [00:13:02]json_value_free done [00:13:02]process_json_proto returns [00:13:02]Send response to host [00:13:02]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000097","kkm.ver":"001","fm.sn":"0000000000871816","fd.num":47411,"shift.num":314,"shift.opened":0,"shift.open_date":0}}} [00:13:02]free response buf [00:13:02]execute_script done [00:13:02]execute_script returns [00:13:02]free content buf [00:13:02]Sock 7.Close socket [00:13:02]Sock 7.Thread stoped [00:13:02]accept exits with 9 [00:13:02]New connection [00:13:02]New thread 3066453348 created [00:13:02]Thread 3066596708 joined [00:13:02]Waiting for new connection... [00:13:02] Sock 9.Parse request [00:13:02]Sock 9.Check first char [00:13:02]Sock 9.First char is OK [00:13:02]request: POST /json_proto HTTP/1.0 [00:13:02]Method: POST [00:13:02]URL: /json_proto [00:13:02]Method is POST - this is cgi request [00:13:02]url: /json_proto [00:13:02]query_string will be loaded in cgi processing [00:13:02]execute_cgi json_proto POST (null) [00:13:02]execute_cgi path=json_proto method=POST [00:13:02]POST find Content-Length [00:13:02]Host: 172.17.32.68:8080 [00:13:02]Content-Length: 331 [00:13:02]Content-Type: application/json [00:13:02] [00:13:02]POST finish read [00:13:02]Found Content-Length = 331 [00:13:02]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:13:02]execute_script... [00:13:02]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:13:02]POST & json_proto [00:13:02]process_json_proto [00:13:02]json parsed OK: [00:13:02]protocol is kg_v1.0 [00:13:02]action value=get_value [00:13:02]process_action get_value [00:13:02]cmd_get_value [00:13:02]process_action get_value done [00:13:02]requested_data is exist [00:13:02]produce_requested_data [00:13:02]requested_item fm.sale.total is exist - process it [00:13:02]SAM_PROTO_GetFMData [00:13:02]wFMCommunicate request_size=4 [00:13:02]MH_SAM_APDU [00:13:02]CAPDU: 80 13 03 00 [00:13:02]Write to MH i2c: E2 08 00 D1 68 80 13 03 00 00 00 00 00 B8 [00:13:02]Write i2c OK [00:13:02]MH_I2C_Read... [00:13:02]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:13:02]Read from MH i2c: E2 [00:13:02]MH_I2C_Read... [00:13:02]Read from MH i2c: E2 FD 00 [00:13:02]MH_I2C_Read... [00:13:02]Read from MH i2c: E2 FD 00 D1 68 00 C1 04 85 04 BD 04 6E 04 04 00 BD B6 00 00 69 04 A0 00 6F 04 04 00 94 B5 00 00 B1 04 04 00 6B 57 13 30 70 04 04 00 7C AB 23 28 72 04 04 00 EF AB EF 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 4F F2 1A 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 A3 D5 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 29 01 00 00 B1 04 03 00 2C 8D 6E 70 04 03 00 C4 49 6A 72 04 03 00 68 43 04 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 80 BD 0B EF 03 09 00 F6 03 90 00 87 [00:13:02]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 BD B6 00 00 69 04 A0 00 6F 04 04 00 94 B5 00 00 B1 04 04 00 6B 57 13 30 70 04 04 00 7C AB 23 28 72 04 04 00 EF AB EF 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 4F F2 1A 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 A3 D5 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 29 01 00 00 B1 04 03 00 2C 8D 6E 70 04 03 00 C4 49 6A 72 04 03 00 68 43 04 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 80 BD 0B EF 03 09 00 F6 03 90 00 [00:13:02]wFMCommunicate OK [00:13:02]wFMCommunicate request_size=4 [00:13:02]MH_SAM_APDU [00:13:02]CAPDU: 80 17 00 00 [00:13:02]Write to MH i2c: E2 08 00 D2 68 80 17 00 00 00 00 00 00 BA [00:13:02]Write i2c OK [00:13:02]MH_I2C_Read... [00:13:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:13:03]Read from MH i2c: E2 [00:13:03]MH_I2C_Read... [00:13:03]Read from MH i2c: E2 FD 00 [00:13:03]MH_I2C_Read... [00:13:03]Read from MH i2c: E2 FD 00 D2 68 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 33 [00:13:03]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:13:03]wFMCommunicate OK [00:13:03]wFMCommunicate request_size=4 [00:13:03]MH_SAM_APDU [00:13:03]CAPDU: 80 17 00 00 [00:13:03]Write to MH i2c: E2 08 00 D3 68 80 17 00 00 00 00 00 00 BB [00:13:03]Write i2c OK [00:13:03]MH_I2C_Read... [00:13:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:13:03]Read from MH i2c: E2 [00:13:03]MH_I2C_Read... [00:13:03]Read from MH i2c: E2 FD 00 [00:13:03]MH_I2C_Read... [00:13:03]Read from MH i2c: E2 FD 00 D3 68 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 5B [00:13:03]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:13:03]wFMCommunicate OK [00:13:03]wFMCommunicate request_size=4 [00:13:03]MH_SAM_APDU [00:13:03]CAPDU: 80 17 00 00 [00:13:03]Write to MH i2c: E2 08 00 D4 68 80 17 00 00 00 00 00 00 BC [00:13:03]Write i2c OK [00:13:03]MH_I2C_Read... [00:13:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:13:03]Read from MH i2c: E2 [00:13:03]MH_I2C_Read... [00:13:03]Read from MH i2c: E2 FD 00 [00:13:03]MH_I2C_Read... [00:13:03]Read from MH i2c: E2 FD 00 D4 68 00 03 01 00 04 F7 03 00 00 EF 03 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 90 00 41 [00:13:03]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:13:03]wFMCommunicate OK [00:13:03]wFMCommunicate request_size=4 [00:13:03]MH_SAM_APDU [00:13:03]CAPDU: 80 17 00 00 [00:13:03]Write to MH i2c: E2 08 00 D5 68 80 17 00 00 00 00 00 00 BD [00:13:03]Write i2c OK [00:13:03]MH_I2C_Read... [00:13:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [00:13:03]Read from MH i2c: E2 [00:13:03]MH_I2C_Read... [00:13:03]Read from MH i2c: E2 DE 00 [00:13:03]MH_I2C_Read... [00:13:03]Read from MH i2c: E2 DE 00 D5 68 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9C [00:13:04]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:13:04]wFMCommunicate OK [00:13:04]SAM_PROTO_GetFMData done [00:13:04]requested_item fm.sale_refund.total is exist - process it [00:13:04]requested_item fm.buy.total is exist - process it [00:13:04]requested_item shift.sale.total is exist - process it [00:13:04]SAM_PROTO_GetShiftData [00:13:04]wFMCommunicate request_size=4 [00:13:04]MH_SAM_APDU [00:13:04]CAPDU: 80 13 02 00 [00:13:04]Write to MH i2c: E2 08 00 D6 68 80 13 02 00 00 00 00 00 BC [00:13:04]Write i2c OK [00:13:04]MH_I2C_Read... [00:13:04]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:13:04]Read from MH i2c: E2 [00:13:04]MH_I2C_Read... [00:13:04]Read from MH i2c: E2 FD 00 [00:13:04]MH_I2C_Read... [00:13:04]Read from MH i2c: E2 FD 00 D6 68 00 B8 04 AA 04 B4 04 6E 04 04 00 58 00 00 00 69 04 9B 00 6F 04 04 00 54 00 00 00 B1 04 03 00 D8 C2 14 70 04 03 00 B4 C1 11 72 04 03 00 24 01 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 6A 34 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 F9 2E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 04 00 00 00 B1 04 02 00 D4 AD 70 04 02 00 48 71 72 04 02 00 8C 3C 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 75 12 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 90 00 0A [00:13:04]RAPDU: B8 04 AA 04 B4 04 6E 04 04 00 58 00 00 00 69 04 9B 00 6F 04 04 00 54 00 00 00 B1 04 03 00 D8 C2 14 70 04 03 00 B4 C1 11 72 04 03 00 24 01 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 6A 34 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 F9 2E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 04 00 00 00 B1 04 02 00 D4 AD 70 04 02 00 48 71 72 04 02 00 8C 3C 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 75 12 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 90 00 [00:13:04]wFMCommunicate OK [00:13:04]wFMCommunicate request_size=4 [00:13:04]MH_SAM_APDU [00:13:04]CAPDU: 80 17 00 00 [00:13:04]Write to MH i2c: E2 08 00 D7 68 80 17 00 00 00 00 00 00 BF [00:13:04]Write i2c OK [00:13:04]MH_I2C_Read... [00:13:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:13:04]Read from MH i2c: E2 [00:13:04]MH_I2C_Read... [00:13:04]Read from MH i2c: E2 FD 00 [00:13:04]MH_I2C_Read... [00:13:04]Read from MH i2c: E2 FD 00 D7 68 00 0B 00 F6 03 01 00 01 F7 03 02 00 89 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 7A [00:13:04]RAPDU: 0B 00 F6 03 01 00 01 F7 03 02 00 89 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:13:04]wFMCommunicate OK [00:13:04]wFMCommunicate request_size=4 [00:13:04]MH_SAM_APDU [00:13:04]CAPDU: 80 17 00 00 [00:13:04]Write to MH i2c: E2 08 00 D8 68 80 17 00 00 00 00 00 00 C0 [00:13:04]Write i2c OK [00:13:04]MH_I2C_Read... [00:13:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:13:05]Read from MH i2c: E2 [00:13:05]MH_I2C_Read... [00:13:05]Read from MH i2c: E2 FD 00 [00:13:05]MH_I2C_Read... [00:13:05]Read from MH i2c: E2 FD 00 D8 68 00 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 62 [00:13:05]RAPDU: 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:13:05]wFMCommunicate OK [00:13:05]wFMCommunicate request_size=4 [00:13:05]MH_SAM_APDU [00:13:05]CAPDU: 80 17 00 00 [00:13:05]Write to MH i2c: E2 08 00 D9 68 80 17 00 00 00 00 00 00 C1 [00:13:05]Write i2c OK [00:13:05]MH_I2C_Read... [00:13:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:13:05]Read from MH i2c: E2 [00:13:05]MH_I2C_Read... [00:13:05]Read from MH i2c: E2 FD 00 [00:13:05]MH_I2C_Read... [00:13:05]Read from MH i2c: E2 FD 00 D9 68 00 03 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 90 00 4A [00:13:05]RAPDU: 03 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 90 00 [00:13:05]wFMCommunicate OK [00:13:05]wFMCommunicate request_size=4 [00:13:05]MH_SAM_APDU [00:13:05]CAPDU: 80 17 00 00 [00:13:05]Write to MH i2c: E2 08 00 DA 68 80 17 00 00 00 00 00 00 C2 [00:13:05]Write i2c OK [00:13:05]MH_I2C_Read... [00:13:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 210! [00:13:05]Read from MH i2c: E2 [00:13:05]MH_I2C_Read... [00:13:05]Read from MH i2c: E2 D5 00 [00:13:05]MH_I2C_Read... [00:13:05]Read from MH i2c: E2 D5 00 DA 68 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 A3 [00:13:05]RAPDU: EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:13:05]wFMCommunicate OK [00:13:05]SAM_PROTO_GetShiftData done [00:13:05]requested_item shift.sale.total_cash is exist - process it [00:13:05]requested_item shift.sale_refund.total is exist - process it [00:13:05]requested_item shift.sale_refund.total_cash is exist - process it [00:13:05]requested_item shift.buy.total is exist - process it [00:13:05]requested_item shift.buy.total_cash is exist - process it [00:13:05]produce_requested_data done [00:13:05]produce_requested_data return {"fm.sale.total":8065739.31,"fm.sale_refund.total":72451.00,"fm.buy.total":0.00,"shift.sale.total":13606.00,"shift.sale.total_cash":11637.00,"shift.sale_refund.total":445.00,"shift.sale_refund.total_cash":290.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:13:05]process_action_free get_value [00:13:05]json_value_free [00:13:05]json_value_free done [00:13:05]process_json_proto returns [00:13:05]Send response to host [00:13:05]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8065739.31,"fm.sale_refund.total":72451.00,"fm.buy.total":0.00,"shift.sale.total":13606.00,"shift.sale.total_cash":11637.00,"shift.sale_refund.total":445.00,"shift.sale_refund.total_cash":290.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:13:05]free response buf [00:13:05]execute_script done [00:13:05]execute_script returns [00:13:05]free content buf [00:13:05]Sock 9.Close socket [00:13:05]Sock 9.Thread stoped [00:13:05]accept exits with 7 [00:13:05]New connection [00:13:05]New thread 3066596708 created [00:13:05]Thread 3066453348 joined [00:13:05]Waiting for new connection... [00:13:05] Sock 7.Parse request [00:13:05]Sock 7.Check first char [00:13:05]Sock 7.First char is OK [00:13:05]request: POST /json_proto HTTP/1.0 [00:13:05]Method: POST [00:13:05]URL: /json_proto [00:13:05]Method is POST - this is cgi request [00:13:05]url: /json_proto [00:13:05]query_string will be loaded in cgi processing [00:13:05]execute_cgi json_proto POST (null) [00:13:05]execute_cgi path=json_proto method=POST [00:13:05]POST find Content-Length [00:13:05]Host: 172.17.32.68:8080 [00:13:05]Content-Length: 265 [00:13:05]Content-Type: application/json [00:13:05] [00:13:05]POST finish read [00:13:05]Found Content-Length = 265 [00:13:05]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u0416\u044D\u044D\u043D\u0431\u0435\u043A\u043E\u0432 \u0414. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:13:05]execute_script... [00:13:05]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u0416\u044D\u044D\u043D\u0431\u0435\u043A\u043E\u0432 \u0414. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:13:05]POST & json_proto [00:13:05]process_json_proto [00:13:05]json parsed OK: [00:13:05]protocol is kg_v1.0 [00:13:05]action value=open_shift [00:13:05]process_action open_shift [00:13:05]cmd_open_shift [00:13:05]MH_GetDate [00:13:05]Write to MH i2c: F0 00 00 DB 68 32 [00:13:05]Write i2c OK [00:13:05]MH_I2C_Read... [00:13:05]Read from MH i2c: F0 [00:13:05]MH_I2C_Read... [00:13:05]Read from MH i2c: F0 09 00 [00:13:05]MH_I2C_Read... [00:13:05]Read from MH i2c: F0 09 00 DB 68 00 A3 EF F0 65 0A 64 6E 65 63 [00:13:05]GetLastDocTimeStamp 1710288051 [00:13:05]current date 1710288803 [00:13:05]FM_GetShiftState [00:13:05]SAM_PROTO_GetShiftState [00:13:05]wFMCommunicate request_size=4 [00:13:05]MH_SAM_APDU [00:13:05]CAPDU: 80 13 01 00 [00:13:05]Write to MH i2c: E2 08 00 DC 68 80 13 01 00 00 00 00 00 C1 [00:13:05]Write i2c OK [00:13:05]MH_I2C_Read... [00:13:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:13:05]Read from MH i2c: E2 [00:13:05]MH_I2C_Read... [00:13:05]Read from MH i2c: E2 0E 00 [00:13:05]MH_I2C_Read... [00:13:05]Read from MH i2c: E2 0E 00 DC 68 00 09 00 00 00 00 00 00 00 00 00 00 90 00 CC [00:13:05]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:13:05]wFMCommunicate OK [00:13:05]SAM_PROTO_GetShiftState done [00:13:05]FM_GetShiftState done [00:13:05]KKMCreateOpenShiftDocument [00:13:05]Load OK [00:13:05]Malloc new data [00:13:05]MH_GetDate [00:13:05]Write to MH i2c: F0 00 00 DD 68 34 [00:13:05]Write i2c OK [00:13:05]MH_I2C_Read... [00:13:05]Read from MH i2c: F0 [00:13:05]MH_I2C_Read... [00:13:05]Read from MH i2c: F0 09 00 [00:13:05]MH_I2C_Read... [00:13:05]Read from MH i2c: F0 09 00 DD 68 00 A4 EF F0 65 0A 64 6E 65 66 [00:13:05]Malloc new data [00:13:05]KKMCreateOpenShiftDocument OK [00:13:05]KKMSetOpenShiftData OK [00:13:05]ProcessDocumentItem done err = 0, tmpTLVsize=199 [00:13:05]tlvbuf is 004C4440 [00:13:05]KKMLoadAndSignOpenShiftData [00:13:05]SAM_PROTO_ProcessDocument [00:13:05]wFMCommunicate request_size=9 [00:13:05]MH_SAM_APDU [00:13:05]CAPDU: 80 15 01 00 04 02 00 C7 00 [00:13:05]Write to MH i2c: E2 0C 00 DE 68 80 15 01 00 04 00 02 00 C7 00 00 00 96 [00:13:05]Write i2c OK [00:13:05]MH_I2C_Read... [00:13:06]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [00:13:06]Read from MH i2c: E2 [00:13:06]MH_I2C_Read... [00:13:06]Read from MH i2c: E2 03 00 [00:13:06]MH_I2C_Read... [00:13:06]Read from MH i2c: E2 03 00 DE 68 00 90 00 BA [00:13:06]RAPDU: 90 00 [00:13:06]wFMCommunicate OK [00:13:06]wFMCommunicate request_size=23 [00:13:06]MH_SAM_APDU [00:13:06]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:13:06]Write to MH i2c: E2 1A 00 DF 68 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 BC [00:13:06]Write i2c OK [00:13:06]MH_I2C_Read... [00:13:06]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:13:06]Read from MH i2c: E2 [00:13:06]MH_I2C_Read... [00:13:06]Read from MH i2c: E2 03 00 [00:13:06]MH_I2C_Read... [00:13:06]Read from MH i2c: E2 03 00 DF 68 00 90 00 BB [00:13:06]RAPDU: 90 00 [00:13:06]wFMCommunicate OK [00:13:06]wFMCommunicate request_size=32 [00:13:06]MH_SAM_APDU [00:13:06]CAPDU: 80 15 02 00 1B FD 03 17 00 D0 96 D1 8D D1 8D D0 BD D0 B1 D0 B5 D0 BA D0 BE D0 B2 20 D0 94 2E 20 [00:13:06]Write to MH i2c: E2 23 00 E0 68 80 15 02 00 1B 00 FD 03 17 00 D0 96 D1 8D D1 8D D0 BD D0 B1 D0 B5 D0 BA D0 BE D0 B2 20 D0 94 2E 20 00 00 36 [00:13:06]Write i2c OK [00:13:06]MH_I2C_Read... [00:13:06]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:13:06]Read from MH i2c: E2 [00:13:06]MH_I2C_Read... [00:13:06]Read from MH i2c: E2 03 00 [00:13:06]MH_I2C_Read... [00:13:06]Read from MH i2c: E2 03 00 E0 68 00 90 00 BC [00:13:06]RAPDU: 90 00 [00:13:06]wFMCommunicate OK [00:13:06]wFMCommunicate request_size=86 [00:13:06]MH_SAM_APDU [00:13:06]CAPDU: 80 15 02 00 51 F1 03 4D 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 91 D0 B8 D1 88 D0 BA D0 B5 D0 BA 2C 20 D0 BF D1 80 2E 20 D0 96 D0 B8 D0 B1 D0 B5 D0 BA 20 D0 96 D0 BE D0 BB D1 83 20 31 36 34 2C 20 34 32 2E 38 38 37 37 38 38 2C 20 37 34 2E 36 33 36 30 31 31 [00:13:06]Write to MH i2c: E2 59 00 E1 68 80 15 02 00 51 00 F1 03 4D 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 91 D0 B8 D1 88 D0 BA D0 B5 D0 BA 2C 20 D0 BF D1 80 2E 20 D0 96 D0 B8 D0 B1 D0 B5 D0 BA 20 D0 96 D0 BE D0 BB D1 83 20 31 36 34 2C 20 34 32 2E 38 38 37 37 38 38 2C 20 37 34 2E 36 33 36 30 31 31 00 00 B8 [00:13:06]Write i2c OK [00:13:06]MH_I2C_Read... [00:13:06]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:13:06]Read from MH i2c: E2 [00:13:06]MH_I2C_Read... [00:13:06]Read from MH i2c: E2 03 00 [00:13:06]MH_I2C_Read... [00:13:06]Read from MH i2c: E2 03 00 E1 68 00 90 00 BD [00:13:06]RAPDU: 90 00 [00:13:06]wFMCommunicate OK [00:13:06]wFMCommunicate request_size=50 [00:13:06]MH_SAM_APDU [00:13:06]CAPDU: 80 15 02 00 2D A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 35 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 [00:13:06]Write to MH i2c: E2 35 00 E2 68 80 15 02 00 2D 00 A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 35 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 00 00 3F [00:13:06]Write i2c OK [00:13:06]MH_I2C_Read... [00:13:06]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:13:06]Read from MH i2c: E2 [00:13:06]MH_I2C_Read... [00:13:06]Read from MH i2c: E2 03 00 [00:13:06]MH_I2C_Read... [00:13:06]Read from MH i2c: E2 03 00 E2 68 00 90 00 BE [00:13:06]RAPDU: 90 00 [00:13:06]wFMCommunicate OK [00:13:06]wFMCommunicate request_size=13 [00:13:06]MH_SAM_APDU [00:13:06]CAPDU: 80 15 02 00 08 F4 03 04 00 A4 EF F0 65 [00:13:06]Write to MH i2c: E2 10 00 E3 68 80 15 02 00 08 00 F4 03 04 00 A4 EF F0 65 00 00 BE [00:13:06]Write i2c OK [00:13:06]MH_I2C_Read... [00:13:06]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:13:06]Read from MH i2c: E2 [00:13:06]MH_I2C_Read... [00:13:06]Read from MH i2c: E2 03 00 [00:13:06]MH_I2C_Read... [00:13:06]Read from MH i2c: E2 03 00 E3 68 00 90 00 BF [00:13:06]RAPDU: 90 00 [00:13:06]wFMCommunicate OK [00:13:06]wFMCommunicate request_size=25 [00:13:06]MH_SAM_APDU [00:13:06]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 [00:13:06]Write to MH i2c: E2 1C 00 E4 68 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 00 00 29 [00:13:06]Write i2c OK [00:13:06]MH_I2C_Read... [00:13:06]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:13:06]Read from MH i2c: E2 [00:13:06]MH_I2C_Read... [00:13:06]Read from MH i2c: E2 03 00 [00:13:06]MH_I2C_Read... [00:13:06]Read from MH i2c: E2 03 00 E4 68 00 90 00 C0 [00:13:06]RAPDU: 90 00 [00:13:06]wFMCommunicate OK [00:13:06]wFMCommunicate request_size=4 [00:13:06]MH_SAM_APDU [00:13:06]CAPDU: 80 15 03 00 [00:13:06]Write to MH i2c: E2 08 00 E5 68 80 15 03 00 00 00 00 00 CE [00:13:06]Write i2c OK [00:13:06]MH_I2C_Read... [00:13:06]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 53! [00:13:06]Read from MH i2c: E2 [00:13:06]MH_I2C_Read... [00:13:06]Read from MH i2c: E2 38 00 [00:13:06]MH_I2C_Read... [00:13:06]Read from MH i2c: E2 38 00 E5 68 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 31 36 10 04 04 00 34 B9 00 00 0E 04 04 00 3B 01 00 00 35 04 06 00 EB 94 95 91 5C 7C 90 00 3F [00:13:06]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 31 36 10 04 04 00 34 B9 00 00 0E 04 04 00 3B 01 00 00 35 04 06 00 EB 94 95 91 5C 7C 90 00 [00:13:06]wFMCommunicate OK [00:13:06]SAM_PROTO_ProcessDocument answer len = 51 [00:13:06]SAM_PROTO_ProcessDocument done [00:13:06]SetTLVBufToDocument [00:13:06]Processing tag 1209 (04B9) [00:13:06]Malloc new data [00:13:06]Processing tag 1041 (0411) [00:13:06]Processing tag 1040 (0410) [00:13:06]Malloc new data [00:13:06]Processing tag 1038 (040E) [00:13:06]Malloc new data [00:13:06]Processing tag 1077 (0435) [00:13:06]Malloc new data [00:13:06]SetTLVBufToDocument err=0 [00:13:06]KKMLoadAndSignOpenShiftData store KKM data [00:13:06]KKMLoadAndSignOpenShiftData err=0 [00:13:06]Отчет об открытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Жээнбеков Д. Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 Место: АЗС № 15 "Партнер Нефть" 13.03.2024 00:13 Смена: 315 РНМ: 0000000000092018 ЗНМ: 0300000097 ФД: 47412 ФМ: 0000000000871816 ФПД: 259023397018748 [00:13:06]StoreToDocumentArchive [00:13:06]shift 315 fd 47412 [00:13:06]Create dir for shift 0315 [00:13:06]save to /storage/0315/doc_00047412 [00:13:06]save last doc name /storage/0315/doc_00047412 to /storage/kkm_last_doc_name [00:13:06]save OK [00:13:06]Clear old archive folders... [00:13:06]Remove dir /storage/0314 [00:13:06]opendir ok [00:13:06]file . [00:13:06]file .. [00:13:06]file doc_00047322 [00:13:06]remove file /storage/0314/doc_00047322 [00:13:06]file doc_00047323 [00:13:06]remove file /storage/0314/doc_00047323 [00:13:06]file doc_00047324 [00:13:06]remove file /storage/0314/doc_00047324 [00:13:06]file doc_00047325 [00:13:06]remove file /storage/0314/doc_00047325 [00:13:06]file doc_00047326 [00:13:06]remove file /storage/0314/doc_00047326 [00:13:06]file doc_00047327 [00:13:06]remove file /storage/0314/doc_00047327 [00:13:06]file doc_00047328 [00:13:06]remove file /storage/0314/doc_00047328 [00:13:06]file doc_00047329 [00:13:06]remove file /storage/0314/doc_00047329 [00:13:06]file doc_00047330 [00:13:06]remove file /storage/0314/doc_00047330 [00:13:06]file doc_00047331 [00:13:06]remove file /storage/0314/doc_00047331 [00:13:06]file doc_00047332 [00:13:06]remove file /storage/0314/doc_00047332 [00:13:06]file doc_00047333 [00:13:06]remove file /storage/0314/doc_00047333 [00:13:06]file doc_00047334 [00:13:06]remove file /storage/0314/doc_00047334 [00:13:06]file doc_00047335 [00:13:06]remove file /storage/0314/doc_00047335 [00:13:06]file doc_00047336 [00:13:06]remove file /storage/0314/doc_00047336 [00:13:06]file doc_00047337 [00:13:06]remove file /storage/0314/doc_00047337 [00:13:06]file doc_00047338 [00:13:06]remove file /storage/0314/doc_00047338 [00:13:06]file doc_00047339 [00:13:06]remove file /storage/0314/doc_00047339 [00:13:06]file doc_00047340 [00:13:06]remove file /storage/0314/doc_00047340 [00:13:06]file doc_00047341 [00:13:06]remove file /storage/0314/doc_00047341 [00:13:06]file doc_00047342 [00:13:06]remove file /storage/0314/doc_00047342 [00:13:06]file doc_00047343 [00:13:06]remove file /storage/0314/doc_00047343 [00:13:06]file doc_00047344 [00:13:06]remove file /storage/0314/doc_00047344 [00:13:06]file doc_00047345 [00:13:06]remove file /storage/0314/doc_00047345 [00:13:06]file doc_00047346 [00:13:06]remove file /storage/0314/doc_00047346 [00:13:06]file doc_00047347 [00:13:06]remove file /storage/0314/doc_00047347 [00:13:06]file doc_00047348 [00:13:06]remove file /storage/0314/doc_00047348 [00:13:06]file doc_00047349 [00:13:06]remove file /storage/0314/doc_00047349 [00:13:06]file doc_00047350 [00:13:06]remove file /storage/0314/doc_00047350 [00:13:06]file doc_00047351 [00:13:06]remove file /storage/0314/doc_00047351 [00:13:06]file doc_00047352 [00:13:07]remove file /storage/0314/doc_00047352 [00:13:07]file doc_00047353 [00:13:07]remove file /storage/0314/doc_00047353 [00:13:07]file doc_00047354 [00:13:07]remove file /storage/0314/doc_00047354 [00:13:07]file doc_00047355 [00:13:07]remove file /storage/0314/doc_00047355 [00:13:07]file doc_00047356 [00:13:07]remove file /storage/0314/doc_00047356 [00:13:07]file doc_00047357 [00:13:07]remove file /storage/0314/doc_00047357 [00:13:07]file doc_00047358 [00:13:07]remove file /storage/0314/doc_00047358 [00:13:07]file doc_00047359 [00:13:07]remove file /storage/0314/doc_00047359 [00:13:07]OFD Sender: No OFD packet to send [00:13:07]file doc_00047360 [00:13:07]remove file /storage/0314/doc_00047360 [00:13:07]file doc_00047361 [00:13:07]remove file /storage/0314/doc_00047361 [00:13:07]file doc_00047362 [00:13:07]remove file /storage/0314/doc_00047362 [00:13:07]file doc_00047363 [00:13:07]remove file /storage/0314/doc_00047363 [00:13:07]file doc_00047364 [00:13:07]remove file /storage/0314/doc_00047364 [00:13:07]file doc_00047365 [00:13:07]remove file /storage/0314/doc_00047365 [00:13:07]file doc_00047366 [00:13:07]remove file /storage/0314/doc_00047366 [00:13:07]file doc_00047367 [00:13:07]remove file /storage/0314/doc_00047367 [00:13:07]file doc_00047368 [00:13:07]remove file /storage/0314/doc_00047368 [00:13:07]file doc_00047369 [00:13:07]remove file /storage/0314/doc_00047369 [00:13:07]file doc_00047370 [00:13:07]remove file /storage/0314/doc_00047370 [00:13:07]file doc_00047371 [00:13:07]remove file /storage/0314/doc_00047371 [00:13:07]file doc_00047372 [00:13:07]remove file /storage/0314/doc_00047372 [00:13:07]file doc_00047373 [00:13:07]remove file /storage/0314/doc_00047373 [00:13:07]file doc_00047374 [00:13:07]remove file /storage/0314/doc_00047374 [00:13:07]file doc_00047375 [00:13:07]remove file /storage/0314/doc_00047375 [00:13:07]file doc_00047376 [00:13:07]remove file /storage/0314/doc_00047376 [00:13:07]file doc_00047377 [00:13:07]remove file /storage/0314/doc_00047377 [00:13:07]file doc_00047378 [00:13:07]remove file /storage/0314/doc_00047378 [00:13:07]file doc_00047379 [00:13:07]remove file /storage/0314/doc_00047379 [00:13:07]file doc_00047380 [00:13:07]remove file /storage/0314/doc_00047380 [00:13:07]file doc_00047381 [00:13:07]remove file /storage/0314/doc_00047381 [00:13:07]file doc_00047382 [00:13:07]remove file /storage/0314/doc_00047382 [00:13:07]file doc_00047383 [00:13:07]remove file /storage/0314/doc_00047383 [00:13:07]file doc_00047384 [00:13:07]remove file /storage/0314/doc_00047384 [00:13:07]file doc_00047385 [00:13:07]remove file /storage/0314/doc_00047385 [00:13:07]file doc_00047386 [00:13:07]remove file /storage/0314/doc_00047386 [00:13:07]file doc_00047387 [00:13:07]remove file /storage/0314/doc_00047387 [00:13:07]file doc_00047388 [00:13:07]remove file /storage/0314/doc_00047388 [00:13:07]file doc_00047389 [00:13:07]remove file /storage/0314/doc_00047389 [00:13:07]file doc_00047390 [00:13:07]remove file /storage/0314/doc_00047390 [00:13:07]file doc_00047391 [00:13:07]remove file /storage/0314/doc_00047391 [00:13:07]file doc_00047392 [00:13:07]remove file /storage/0314/doc_00047392 [00:13:07]file doc_00047393 [00:13:07]remove file /storage/0314/doc_00047393 [00:13:07]file doc_00047394 [00:13:07]remove file /storage/0314/doc_00047394 [00:13:07]file doc_00047395 [00:13:07]remove file /storage/0314/doc_00047395 [00:13:07]file doc_00047396 [00:13:07]remove file /storage/0314/doc_00047396 [00:13:07]file doc_00047397 [00:13:07]remove file /storage/0314/doc_00047397 [00:13:07]file doc_00047398 [00:13:07]remove file /storage/0314/doc_00047398 [00:13:07]file doc_00047399 [00:13:07]remove file /storage/0314/doc_00047399 [00:13:07]file doc_00047400 [00:13:07]remove file /storage/0314/doc_00047400 [00:13:07]file doc_00047401 [00:13:07]remove file /storage/0314/doc_00047401 [00:13:07]file doc_00047402 [00:13:07]remove file /storage/0314/doc_00047402 [00:13:07]file doc_00047403 [00:13:07]remove file /storage/0314/doc_00047403 [00:13:07]file doc_00047404 [00:13:07]remove file /storage/0314/doc_00047404 [00:13:07]file doc_00047405 [00:13:07]remove file /storage/0314/doc_00047405 [00:13:07]file doc_00047406 [00:13:07]remove file /storage/0314/doc_00047406 [00:13:07]file doc_00047407 [00:13:07]remove file /storage/0314/doc_00047407 [00:13:07]file doc_00047408 [00:13:07]remove file /storage/0314/doc_00047408 [00:13:07]file doc_00047409 [00:13:07]remove file /storage/0314/doc_00047409 [00:13:07]file doc_00047410 [00:13:07]remove file /storage/0314/doc_00047410 [00:13:07]file doc_00047411 [00:13:07]remove file /storage/0314/doc_00047411 [00:13:07]remove dir /storage/0314 [00:13:07]ProcessDocumentItem done err = 0, tmpTLVsize=250 [00:13:07]tlvbuf is 004D5CC0 [00:13:07]SAM_PROTO_ClearQueue [00:13:07]wFMCommunicate request_size=4 [00:13:07]MH_SAM_APDU [00:13:07]CAPDU: 80 09 00 00 [00:13:07]Write to MH i2c: E2 08 00 E6 68 80 09 00 00 00 00 00 00 C0 [00:13:07]Write i2c OK [00:13:07]MH_I2C_Read... [00:13:07]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:13:07]Read from MH i2c: E2 [00:13:07]MH_I2C_Read... [00:13:07]Read from MH i2c: E2 03 00 [00:13:07]MH_I2C_Read... [00:13:07]Read from MH i2c: E2 03 00 E6 68 00 90 00 C2 [00:13:07]RAPDU: 90 00 [00:13:07]wFMCommunicate OK [00:13:07]SAM_PROTO_ClearQueue done [00:13:07]KKMCreateOFDPacket [00:13:07]OFDProtocolAddRootSTLVToBuf [00:13:07]FM_MakeSignedData [00:13:07]FM_MakeSignedData [00:13:07]SAM_PROTO_SignData [00:13:07]wFMCommunicate request_size=4 [00:13:07]MH_SAM_APDU [00:13:07]CAPDU: 80 0D 01 02 [00:13:07]Write to MH i2c: E2 08 00 E7 68 80 0D 01 02 00 00 00 00 C8 [00:13:07]Write i2c OK [00:13:07]MH_I2C_Read... [00:13:07]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:13:07]Read from MH i2c: E2 [00:13:07]MH_I2C_Read... [00:13:07]Read from MH i2c: E2 03 00 [00:13:07]MH_I2C_Read... [00:13:07]Read from MH i2c: E2 03 00 E7 68 00 90 00 C3 [00:13:07]RAPDU: 90 00 [00:13:07]wFMCommunicate OK [00:13:07]wFMCommunicate request_size=255 [00:13:07]MH_SAM_APDU [00:13:07]CAPDU: 80 0D 02 02 FA 02 00 FA 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 17 00 D0 96 D1 8D D1 8D D0 BD D0 B1 D0 B5 D0 BA D0 BE D0 B2 20 D0 94 2E 20 F1 03 4D 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 91 D0 B8 D1 88 D0 BA D0 B5 D0 BA 2C 20 D0 BF D1 80 2E 20 D0 96 D0 B8 D0 B1 D0 B5 D0 BA 20 D0 96 D0 BE D0 BB D1 83 20 31 36 34 2C 20 34 32 2E 38 38 37 37 38 38 2C 20 37 34 2E 36 33 36 30 31 31 A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 35 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 A4 EF F0 65 0E 04 04 00 3B 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 34 B9 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 35 04 06 00 EB 94 [00:13:07]Write to MH i2c: E2 02 01 E8 68 80 0D 02 02 FA 00 02 00 FA 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 17 00 D0 96 D1 8D D1 8D D0 BD D0 B1 D0 B5 D0 BA D0 BE D0 B2 20 D0 94 2E 20 F1 03 4D 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 91 D0 B8 D1 88 D0 BA D0 B5 D0 BA 2C 20 D0 BF D1 80 2E 20 D0 96 D0 B8 D0 B1 D0 B5 D0 BA 20 D0 96 D0 BE D0 BB D1 83 20 31 36 34 2C 20 34 32 2E 38 38 37 37 38 38 2C 20 37 34 2E 36 33 36 30 31 31 A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 35 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 A4 EF F0 65 0E 04 04 00 3B 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 34 B9 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 35 04 06 00 EB 94 00 00 5C [00:13:07]Write i2c OK [00:13:07]MH_I2C_Read... [00:13:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:13:07]Read from MH i2c: E2 [00:13:07]MH_I2C_Read... [00:13:07]Read from MH i2c: E2 03 00 [00:13:07]MH_I2C_Read... [00:13:07]Read from MH i2c: E2 03 00 E8 68 00 90 00 C4 [00:13:07]RAPDU: 90 00 [00:13:07]wFMCommunicate OK [00:13:07]wFMCommunicate request_size=9 [00:13:07]MH_SAM_APDU [00:13:07]CAPDU: 80 0D 02 02 04 95 91 5C 7C [00:13:07]Write to MH i2c: E2 0C 00 E9 68 80 0D 02 02 04 00 95 91 5C 7C 00 00 D1 [00:13:07]Write i2c OK [00:13:07]MH_I2C_Read... [00:13:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:13:07]Read from MH i2c: E2 [00:13:07]MH_I2C_Read... [00:13:08]Read from MH i2c: E2 03 00 [00:13:08]MH_I2C_Read... [00:13:08]Read from MH i2c: E2 03 00 E9 68 00 90 00 C5 [00:13:08]RAPDU: 90 00 [00:13:08]wFMCommunicate OK [00:13:08]wFMCommunicate request_size=4 [00:13:08]MH_SAM_APDU [00:13:08]CAPDU: 80 0D 03 02 [00:13:08]Write to MH i2c: E2 08 00 EA 68 80 0D 03 02 00 00 00 00 CD [00:13:08]Write i2c OK [00:13:08]MH_I2C_Read... [00:13:08]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:13:08]Read from MH i2c: E2 [00:13:08]MH_I2C_Read... [00:13:08]Read from MH i2c: E2 0B 00 [00:13:08]MH_I2C_Read... [00:13:08]Read from MH i2c: E2 0B 00 EA 68 00 EE C7 D2 AE 03 88 BA A2 90 00 EA [00:13:08]RAPDU: EE C7 D2 AE 03 88 BA A2 90 00 [00:13:08]wFMCommunicate OK [00:13:08]SAM_PROTO_SignData done [00:13:08]FM_MakeSignedData done [00:13:08]CreateOFDProtocolMessage [00:13:08]wFMCommunicate request_size=4 [00:13:08]MH_SAM_APDU [00:13:08]CAPDU: 80 11 00 00 [00:13:08]Write to MH i2c: E2 08 00 EB 68 80 11 00 00 00 00 00 00 CD [00:13:08]Write i2c OK [00:13:08]MH_I2C_Read... [00:13:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:13:08]Read from MH i2c: E2 [00:13:08]MH_I2C_Read... [00:13:08]Read from MH i2c: E2 17 00 [00:13:08]MH_I2C_Read... [00:13:08]Read from MH i2c: E2 17 00 EB 68 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 1F [00:13:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [00:13:08]wFMCommunicate OK [00:13:08]CreateOFDProtocolMessage done [00:13:08]OFDSenderStorePacket 47412 [00:13:08]StoreOFDPacket docnum=47412 [00:13:08]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0E 01 00 00 5E EC 06 01 82 E1 5A 02 01 00 02 00 FA 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 17 00 D0 96 D1 8D D1 8D D0 BD D0 B1 D0 B5 D0 BA D0 BE D0 B2 20 D0 94 2E 20 F1 03 4D 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 91 D0 B8 D1 88 D0 BA D0 B5 D0 BA 2C 20 D0 BF D1 80 2E 20 D0 96 D0 B8 D0 B1 D0 B5 D0 BA 20 D0 96 D0 BE D0 BB D1 83 20 31 36 34 2C 20 34 32 2E 38 38 37 37 38 38 2C 20 37 34 2E 36 33 36 30 31 31 A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 35 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 A4 EF F0 65 0E 04 04 00 3B 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 34 B9 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 35 04 06 00 EB 94 95 91 5C 7C EE C7 D2 AE 03 88 BA A2 [00:13:08]CheckFolder [00:13:08]dirname=/storage/ofd_packets [00:13:08]CheckFolder done [00:13:08]ProducePacketName [00:13:08]name=ofd_packets/00047412 [00:13:08]NVStorageSaveData ofd_packets/00047412 [00:13:08]File name is /storage/ofd_packets/00047412 [00:13:08]Write 300 bytes [00:13:08]NVStorageSaveData done [00:13:08]OFDSenderStorePacket done [00:13:08]KKMCreateOFDPacket done [00:13:08]NVStorageSaveData kkm_last_timestamp [00:13:08]File name is /storage/kkm_last_timestamp [00:13:08]Write 4 bytes [00:13:08]NVStorageSaveData done [00:13:08]ExternCall_PrintAddStr [00:13:08]wPrintStart [00:13:08]Write to MH i2c: 01 00 00 EC 68 54 [00:13:08]Write i2c OK [00:13:08]MH_I2C_Read... [00:13:08]Read from MH i2c: 01 [00:13:08]MH_I2C_Read... [00:13:08]Read from MH i2c: 01 07 00 [00:13:08]MH_I2C_Read... [00:13:08]Read from MH i2c: 01 07 00 EC 68 00 00 00 00 00 FF 0F 69 [00:13:08]RasterBufferAndPrint [00:13:08]line Отчет об открытии смены [00:13:08]line ФФД: 1.0 [00:13:08]line ИНН: 02508201610067 [00:13:08]line Кассир: Жээнбеков Д. [00:13:08]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [00:13:08]line Место: АЗС № 15 "Партнер Нефть" [00:13:08]line 13.03.2024 00:13 [00:13:08]line Смена: 315 [00:13:08]line РНМ: 0000000000092018 [00:13:08]line ЗНМ: 0300000097 [00:13:08]line ФД: 47412 [00:13:08]line ФМ: 0000000000871816 [00:13:08]line ФПД: 259023397018748 [00:13:08]written 0, free lines is 4095 [00:13:08]OFD Sender: Processing packet 47412 [packets to send 8, broken 7] [00:13:08]ProducePacketName [00:13:08]name=ofd_packets/00047412 [00:13:08]OFD Sender: To server: pG, [00:13:08]CommunicateWithHost lk.salyk.kg:30040 [00:13:08]ConnectInit lk.salyk.kg [00:13:08]Connected sock=10 [00:13: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 31 36 0E 01 00 00 5E EC 06 01 82 E1 5A 02 01 00 02 00 FA 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 17 00 D0 96 D1 8D D1 8D D0 BD D0 B1 D0 B5 D0 BA D0 BE D0 B2 20 D0 94 2E 20 F1 03 4D 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 91 D0 B8 D1 88 D0 BA D0 B5 D0 BA 2C 20 D0 BF D1 80 2E 20 D0 96 D0 B8 D0 B1 D0 B5 D0 BA 20 D0 96 D0 BE D0 BB D1 83 20 31 36 34 2C 20 34 32 2E 38 38 37 37 38 38 2C 20 37 34 2E 36 33 36 30 31 31 A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 35 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 A4 EF F0 65 0E 04 04 00 3B 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 34 B9 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 35 04 06 00 EB 94 95 91 5C 7C EE C7 D2 AE 03 88 BA A2 [00:13:08]Write to MH i2c: 01 00 00 FE 68 66 [00:13:08]Write i2c OK [00:13:08]MH_I2C_Read... [00:13:08]Read from MH i2c: 01 [00:13:08]MH_I2C_Read... [00:13:08]Read from MH i2c: 01 07 00 [00:13:08]MH_I2C_Read... [00:13:08]Read from MH i2c: 01 07 00 FE 68 00 00 00 00 00 FA 0E 75 [00:13:08]RasterBufferAndPrint [00:13:08]line [00:13:08]line [00:13:08]line [00:13:08]line [00:13:08]line [00:13:08]written 0, free lines is 3847 [00:13:08]MH_Cut [00:13:08]Write to MH i2c: D1 01 00 05 69 01 40 [00:13:08]Write i2c OK [00:13:08]MH_I2C_Read... [00:13:08]Read from MH i2c: D1 [00:13:08]MH_I2C_Read... [00:13:08]Read from MH i2c: D1 01 00 [00:13:08]MH_I2C_Read... [00:13:08]Read from MH i2c: D1 01 00 05 69 00 3F [00:13:08]Write to MH i2c: 01 00 00 06 69 6F [00:13:08]Write i2c OK [00:13:08]MH_I2C_Read... [00:13: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 31 36 4F 00 00 00 40 6C 47 00 4A 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 31 36 10 04 04 00 34 B9 00 00 F4 03 04 00 34 9A F0 65 B6 04 01 00 00 ED 37 ED 4F 35 A2 DB B3 [00:13:08]CommunicateWithHost err = 0 [00:13:08]CheckOFDResponse [00:13:08]1017 (14) - 77093643461234 [00:13:08]1041 (16) - 0000000000871816 [00:13:08]1040 (4) - 47412 [00:13:08]1012 (4) - 12.03.2024 18:08 [00:13:08]1206 (1) - 0 [00:13:08]OFD Sender: Remove packet 47412 [00:13:08]ProducePacketName [00:13:08]name=ofd_packets/00047412 [00:13:08]NVStorageDeleteData [00:13:08]*** Cut start [00:13:08]*** Purtial cut [00:13:08]*** Stage 1: CUTSNS_PIN = 1 [00:13:09]OFD Sender: No OFD packet to send [00:13:09]Read from MH i2c: 01 [00:13:09]MH_I2C_Read... [00:13:09]*** Stop cut motor [00:13:09]*** Cut end [00:13:09]Read from MH i2c: 01 07 00 [00:13:09]MH_I2C_Read... [00:13:09]Read from MH i2c: 01 07 00 06 69 00 00 00 00 00 FF 0F 84 [00:13:09]process_action open_shift done [00:13:09]requested_data is exist [00:13:09]produce_requested_data [00:13:09]requested_item fd.num is exist - process it [00:13:09]SAM_PROTO_GetFieldsCounters [00:13:09]wFMCommunicate request_size=4 [00:13:09]MH_SAM_APDU [00:13:09]CAPDU: 80 13 00 00 [00:13:09]Write to MH i2c: E2 08 00 07 69 80 13 00 00 00 00 00 00 EC [00:13:09]Write i2c OK [00:13:09]MH_I2C_Read... [00:13:09]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:13:09]Read from MH i2c: E2 [00:13:09]MH_I2C_Read... [00:13:09]Read from MH i2c: E2 62 00 [00:13:09]MH_I2C_Read... [00:13:09]Read from MH i2c: E2 62 00 07 69 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 34 B9 00 00 0E 04 04 00 3B 01 00 00 12 04 04 00 00 00 00 00 5E 04 04 00 00 00 00 00 57 04 04 00 01 00 00 00 19 04 04 00 00 00 00 00 90 00 30 [00:13:09]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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 34 B9 00 00 0E 04 04 00 3B 01 00 00 12 04 04 00 00 00 00 00 5E 04 04 00 00 00 00 00 57 04 04 00 01 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:13:09]wFMCommunicate OK [00:13:09]SAM_PROTO_GetFieldsCounters done [00:13:09]requested_item shift.num is exist - process it [00:13:09]requested_item shift.opened is exist - process it [00:13:09]req_shift_opened [00:13:09]FM_GetShiftState [00:13:09]SAM_PROTO_GetShiftState [00:13:09]wFMCommunicate request_size=4 [00:13:09]MH_SAM_APDU [00:13:09]CAPDU: 80 13 01 00 [00:13:09]Write to MH i2c: E2 08 00 08 69 80 13 01 00 00 00 00 00 EE [00:13:09]Write i2c OK [00:13:09]MH_I2C_Read... [00:13:09]Read from MH i2c: E2 [00:13:09]MH_I2C_Read... [00:13:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:13:09]Read from MH i2c: E2 0E 00 [00:13:09]MH_I2C_Read... [00:13:09]Read from MH i2c: E2 0E 00 08 69 00 09 00 01 A4 EF F0 65 00 00 00 00 90 00 E2 [00:13:09]RAPDU: 09 00 01 A4 EF F0 65 00 00 00 00 90 00 [00:13:09]wFMCommunicate OK [00:13:09]SAM_PROTO_GetShiftState done [00:13:09]FM_GetShiftState done [00:13:09]req_shift_opened done [00:13:09]requested_item shift.open_date is exist - process it [00:13:09]req_shift_open_date [00:13:09]req_shift_open_date done [00:13:09]produce_requested_data done [00:13:09]produce_requested_data return {"fd.num":47412,"shift.num":315,"shift.opened":1,"shift.open_date":1710288804} [00:13:09]process_action_free open_shift [00:13:09]json_value_free [00:13:09]json_value_free done [00:13:09]process_json_proto returns [00:13:09]Send response to host [00:13:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":47412,"shift.num":315,"shift.opened":1,"shift.open_date":1710288804}}} [00:13:09]free response buf [00:13:09]execute_script done [00:13:09]execute_script returns [00:13:09]free content buf [00:13:09]Sock 7.Close socket [00:13:09]Sock 7.Thread stoped [00:13:09]accept exits with 9 [00:13:09]New connection [00:13:09]New thread 3066453348 created [00:13:09]Thread 3066596708 joined [00:13:09]Waiting for new connection... [00:13:09] Sock 9.Parse request [00:13:09]Sock 9.Check first char [00:13:09]Sock 9.First char is OK [00:13:09]request: POST /json_proto HTTP/1.0 [00:13:09]Method: POST [00:13:09]URL: /json_proto [00:13:09]Method is POST - this is cgi request [00:13:09]url: /json_proto [00:13:09]query_string will be loaded in cgi processing [00:13:09]execute_cgi json_proto POST (null) [00:13:09]execute_cgi path=json_proto method=POST [00:13:09]POST find Content-Length [00:13:09]Host: 172.17.32.68:8080 [00:13:09]Content-Length: 331 [00:13:09]Content-Type: application/json [00:13:09] [00:13:09]POST finish read [00:13:09]Found Content-Length = 331 [00:13:09]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:13:09]execute_script... [00:13:09]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:13:09]POST & json_proto [00:13:09]process_json_proto [00:13:09]json parsed OK: [00:13:09]protocol is kg_v1.0 [00:13:09]action value=get_value [00:13:09]process_action get_value [00:13:09]cmd_get_value [00:13:09]process_action get_value done [00:13:09]requested_data is exist [00:13:09]produce_requested_data [00:13:09]requested_item fm.sale.total is exist - process it [00:13:09]SAM_PROTO_GetFMData [00:13:09]wFMCommunicate request_size=4 [00:13:09]MH_SAM_APDU [00:13:09]CAPDU: 80 13 03 00 [00:13:09]Write to MH i2c: E2 08 00 09 69 80 13 03 00 00 00 00 00 F1 [00:13:09]Write i2c OK [00:13:09]MH_I2C_Read... [00:13:09]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:13:09]Read from MH i2c: E2 [00:13:09]MH_I2C_Read... [00:13:09]Read from MH i2c: E2 FD 00 [00:13:10]MH_I2C_Read... [00:13:10]Read from MH i2c: E2 FD 00 09 69 00 C1 04 85 04 BD 04 6E 04 04 00 BD B6 00 00 69 04 A0 00 6F 04 04 00 94 B5 00 00 B1 04 04 00 6B 57 13 30 70 04 04 00 7C AB 23 28 72 04 04 00 EF AB EF 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 4F F2 1A 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 A3 D5 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 29 01 00 00 B1 04 03 00 2C 8D 6E 70 04 03 00 C4 49 6A 72 04 03 00 68 43 04 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 80 BD 0B EF 03 09 00 F6 03 90 00 C0 [00:13:10]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 BD B6 00 00 69 04 A0 00 6F 04 04 00 94 B5 00 00 B1 04 04 00 6B 57 13 30 70 04 04 00 7C AB 23 28 72 04 04 00 EF AB EF 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 4F F2 1A 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 A3 D5 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 29 01 00 00 B1 04 03 00 2C 8D 6E 70 04 03 00 C4 49 6A 72 04 03 00 68 43 04 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 80 BD 0B EF 03 09 00 F6 03 90 00 [00:13:10]wFMCommunicate OK [00:13:10]wFMCommunicate request_size=4 [00:13:10]MH_SAM_APDU [00:13:10]CAPDU: 80 17 00 00 [00:13:10]Write to MH i2c: E2 08 00 0A 69 80 17 00 00 00 00 00 00 F3 [00:13:10]Write i2c OK [00:13:10]MH_I2C_Read... [00:13:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:13:10]Read from MH i2c: E2 [00:13:10]MH_I2C_Read... [00:13:10]Read from MH i2c: E2 FD 00 [00:13:10]MH_I2C_Read... [00:13:10]Read from MH i2c: E2 FD 00 0A 69 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 6C [00:13:10]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:13:10]wFMCommunicate OK [00:13:10]wFMCommunicate request_size=4 [00:13:10]MH_SAM_APDU [00:13:10]CAPDU: 80 17 00 00 [00:13:10]Write to MH i2c: E2 08 00 0B 69 80 17 00 00 00 00 00 00 F4 [00:13:10]Write i2c OK [00:13:10]MH_I2C_Read... [00:13:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:13:10]Read from MH i2c: E2 [00:13:10]MH_I2C_Read... [00:13:10]Read from MH i2c: E2 FD 00 [00:13:10]MH_I2C_Read... [00:13:10]Read from MH i2c: E2 FD 00 0B 69 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 94 [00:13:10]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:13:11]wFMCommunicate OK [00:13:11]wFMCommunicate request_size=4 [00:13:11]MH_SAM_APDU [00:13:11]CAPDU: 80 17 00 00 [00:13:11]Write to MH i2c: E2 08 00 0C 69 80 17 00 00 00 00 00 00 F5 [00:13:11]Write i2c OK [00:13:11]MH_I2C_Read... [00:13:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:13:11]Read from MH i2c: E2 [00:13:11]MH_I2C_Read... [00:13:11]Read from MH i2c: E2 FD 00 [00:13:11]MH_I2C_Read... [00:13:11]Read from MH i2c: E2 FD 00 0C 69 00 03 01 00 04 F7 03 00 00 EF 03 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 90 00 7A [00:13:11]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:13:11]wFMCommunicate OK [00:13:11]wFMCommunicate request_size=4 [00:13:11]MH_SAM_APDU [00:13:11]CAPDU: 80 17 00 00 [00:13:11]Write to MH i2c: E2 08 00 0D 69 80 17 00 00 00 00 00 00 F6 [00:13:11]Write i2c OK [00:13:11]MH_I2C_Read... [00:13:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [00:13:11]Read from MH i2c: E2 [00:13:11]MH_I2C_Read... [00:13:11]Read from MH i2c: E2 DE 00 [00:13:11]MH_I2C_Read... [00:13:11]Read from MH i2c: E2 DE 00 0D 69 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 D5 [00:13:11]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:13:11]wFMCommunicate OK [00:13:11]SAM_PROTO_GetFMData done [00:13:11]requested_item fm.sale_refund.total is exist - process it [00:13:11]requested_item fm.buy.total is exist - process it [00:13:11]requested_item shift.sale.total is exist - process it [00:13:11]SAM_PROTO_GetShiftData [00:13:11]wFMCommunicate request_size=4 [00:13:11]MH_SAM_APDU [00:13:11]CAPDU: 80 13 02 00 [00:13:11]Write to MH i2c: E2 08 00 0E 69 80 13 02 00 00 00 00 00 F5 [00:13:11]Write i2c OK [00:13:11]MH_I2C_Read... [00:13:12]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:13:12]Read from MH i2c: E2 [00:13:12]MH_I2C_Read... [00:13:12]Read from MH i2c: E2 FD 00 [00:13:12]MH_I2C_Read... [00:13:12]Read from MH i2c: E2 FD 00 0E 69 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 68 [00:13:12]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:13:12]wFMCommunicate OK [00:13:12]wFMCommunicate request_size=4 [00:13:12]MH_SAM_APDU [00:13:12]CAPDU: 80 17 00 00 [00:13:12]Write to MH i2c: E2 08 00 0F 69 80 17 00 00 00 00 00 00 F8 [00:13:12]Write i2c OK [00:13:12]MH_I2C_Read... [00:13:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:13:12]Read from MH i2c: E2 [00:13:12]MH_I2C_Read... [00:13:12]Read from MH i2c: E2 FD 00 [00:13:12]MH_I2C_Read... [00:13:12]Read from MH i2c: E2 FD 00 0F 69 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 00 [00:13:12]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:13:13]wFMCommunicate OK [00:13:13]wFMCommunicate request_size=4 [00:13:13]MH_SAM_APDU [00:13:13]CAPDU: 80 17 00 00 [00:13:13]Write to MH i2c: E2 08 00 10 69 80 17 00 00 00 00 00 00 F9 [00:13:13]Write i2c OK [00:13:13]MH_I2C_Read... [00:13:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:13:13]Read from MH i2c: E2 [00:13:13]MH_I2C_Read... [00:13:13]Read from MH i2c: E2 FD 00 [00:13:13]MH_I2C_Read... [00:13:13]Read from MH i2c: E2 FD 00 10 69 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 CB [00:13:13]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 90 00 [00:13:13]wFMCommunicate OK [00:13:13]wFMCommunicate request_size=4 [00:13:13]MH_SAM_APDU [00:13:13]CAPDU: 80 17 00 00 [00:13:13]Write to MH i2c: E2 08 00 11 69 80 17 00 00 00 00 00 00 FA [00:13:13]Write i2c OK [00:13:13]MH_I2C_Read... [00:13:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:13:13]Read from MH i2c: E2 [00:13:13]MH_I2C_Read... [00:13:13]Read from MH i2c: E2 FD 00 [00:13:13]MH_I2C_Read... [00:13:13]Read from MH i2c: E2 FD 00 11 69 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 6C [00:13:13]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:13:14]wFMCommunicate OK [00:13:14]wFMCommunicate request_size=4 [00:13:14]MH_SAM_APDU [00:13:14]CAPDU: 80 17 00 00 [00:13:14]Write to MH i2c: E2 08 00 12 69 80 17 00 00 00 00 00 00 FB [00:13:14]Write i2c OK [00:13:14]MH_I2C_Read... [00:13:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 186! [00:13:14]OFD Sender: No OFD packet to send [00:13:14]Read from MH i2c: E2 [00:13:14]MH_I2C_Read... [00:13:14]Read from MH i2c: E2 BD 00 [00:13:14]MH_I2C_Read... [00:13:14]Read from MH i2c: E2 BD 00 12 69 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 E1 [00:13:14]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:13:14]wFMCommunicate OK [00:13:14]SAM_PROTO_GetShiftData done [00:13:14]requested_item shift.sale.total_cash is exist - process it [00:13:14]requested_item shift.sale_refund.total is exist - process it [00:13:14]requested_item shift.sale_refund.total_cash is exist - process it [00:13:14]requested_item shift.buy.total is exist - process it [00:13:14]requested_item shift.buy.total_cash is exist - process it [00:13:14]produce_requested_data done [00:13:14]produce_requested_data return {"fm.sale.total":8065739.31,"fm.sale_refund.total":72451.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:13:14]process_action_free get_value [00:13:14]json_value_free [00:13:14]json_value_free done [00:13:14]process_json_proto returns [00:13:14]Send response to host [00:13:14]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8065739.31,"fm.sale_refund.total":72451.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:13:14]free response buf [00:13:14]execute_script done [00:13:14]execute_script returns [00:13:14]free content buf [00:13:14]Sock 9.Close socket [00:13:14]Sock 9.Thread stoped [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:52]recv_with_timeout no data received [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:39]OFD Sender: No OFD packet to send [00:23:44]OFD Sender: No OFD packet to send [00:23:49]OFD Sender: No OFD packet to send [00:23:54]OFD Sender: No OFD packet to send [00:23:59]OFD Sender: No OFD packet to send [00:24:04]OFD Sender: No OFD packet to send [00:24:09]OFD Sender: No OFD packet to send [00:24:14]OFD Sender: No OFD packet to send [00:24:19]recv_with_timeout no data received [00:24:19]OFD Sender: No OFD packet to send [00:24:24]OFD Sender: No OFD packet to send [00:24:29]OFD Sender: No OFD packet to send [00:24:34]OFD Sender: No OFD packet to send [00:24:39]OFD Sender: No OFD packet to send [00:24:44]OFD Sender: No OFD packet to send [00:24:49]OFD Sender: No OFD packet to send [00:24:54]OFD Sender: No OFD packet to send [00:24:59]OFD Sender: No OFD packet to send [00:25:04]OFD Sender: No OFD packet to send [00:25:09]OFD Sender: No OFD packet to send [00:25:14]OFD Sender: No OFD packet to send [00:25:19]OFD Sender: No OFD packet to send [00:25:24]OFD Sender: No OFD packet to send [00:25:29]OFD Sender: No OFD packet to send [00:25:31]recv_with_timeout no data received [00:25:34]OFD Sender: No OFD packet to send [00:25:39]OFD Sender: No OFD packet to send [00:25:44]OFD Sender: No OFD packet to send [00:25:49]OFD Sender: No OFD packet to send [00:25:54]OFD Sender: No OFD packet to send [00:25:59]OFD Sender: No OFD packet to send [00:26:04]OFD Sender: No OFD packet to send [00:26:09]OFD Sender: No OFD packet to send [00:26:14]OFD Sender: No OFD packet to send [00:26:19]OFD Sender: No OFD packet to send [00:26:22]recv_with_timeout no data received [00:26:24]OFD Sender: No OFD packet to send [00:26:29]OFD Sender: No OFD packet to send [00:26:34]OFD Sender: No OFD packet to send [00:26:39]OFD Sender: No OFD packet to send [00:26:44]OFD Sender: No OFD packet to send [00:26:48]accept exits with 7 [00:26:48]New connection [00:26:48]New thread 3066596708 created [00:26:48]Thread 3066453348 joined [00:26:48]Waiting for new connection... [00:26:48] Sock 7.Parse request [00:26:48]Sock 7.Check first char [00:26:48]Sock 7.First char is OK [00:26:48]request: POST /json_proto HTTP/1.0 [00:26:48]Method: POST [00:26:48]URL: /json_proto [00:26:48]Method is POST - this is cgi request [00:26:48]url: /json_proto [00:26:48]query_string will be loaded in cgi processing [00:26:48]execute_cgi json_proto POST (null) [00:26:48]execute_cgi path=json_proto method=POST [00:26:48]POST find Content-Length [00:26:48]Host: 172.17.32.68:8080 [00:26:48]Content-Length: 822 [00:26:48]Content-Type: application/json [00:26:48] [00:26:48]POST finish read [00:26:48]Found Content-Length = 822 [00:26:48]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242322", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 3.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0414\u0435\u043C\u0438\u0440 \u041A\u0418 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 150.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:26:48]execute_script... [00:26: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)242322", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 3.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0414\u0435\u043C\u0438\u0440 \u041A\u0418 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 150.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:26:48]POST & json_proto [00:26:48]process_json_proto [00:26:48]json parsed OK: [00:26:48]protocol is kg_v1.0 [00:26:48]action value=close_receipt [00:26:48]process_action close_receipt [00:26:48]cmd_close_receipt [00:26:48]MH_GetDate [00:26:48]Write to MH i2c: F0 00 00 13 69 6B [00:26:48]Write i2c OK [00:26:48]MH_I2C_Read... [00:26:48]Read from MH i2c: F0 [00:26:48]MH_I2C_Read... [00:26:48]Read from MH i2c: F0 09 00 [00:26:48]MH_I2C_Read... [00:26:48]Read from MH i2c: F0 09 00 13 69 00 DA F2 F0 65 0A 64 6E 65 D6 [00:26:48]GetLastDocTimeStamp 1710288804 [00:26:48]current date 1710289626 [00:26:48]FM_GetShiftState [00:26:48]SAM_PROTO_GetShiftState [00:26:48]wFMCommunicate request_size=4 [00:26:48]MH_SAM_APDU [00:26:48]CAPDU: 80 13 01 00 [00:26:48]Write to MH i2c: E2 08 00 14 69 80 13 01 00 00 00 00 00 FA [00:26:48]Write i2c OK [00:26:48]MH_I2C_Read... [00:26:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:26:48]Read from MH i2c: E2 [00:26:48]MH_I2C_Read... [00:26:48]Read from MH i2c: E2 0E 00 [00:26:48]MH_I2C_Read... [00:26:48]Read from MH i2c: E2 0E 00 14 69 00 09 00 01 A4 EF F0 65 00 00 00 00 90 00 EE [00:26:48]RAPDU: 09 00 01 A4 EF F0 65 00 00 00 00 90 00 [00:26:48]wFMCommunicate OK [00:26:48]SAM_PROTO_GetShiftState done [00:26:48]FM_GetShiftState done [00:26:48]opened in 1710288804 [00:26:48]opened+sec_in_day 1710375204 [00:26:48]quantity*price = 15000 [00:26:48]sum+1 = 15001 [00:26:48]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 150.00 НСП 1% : 1.33 НДС 12% : 15.93 Наличными: 0.00 Безнал.: 150.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 1 13.03.2024 00:27 Смена: 315 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 Платежная система: Демир КИ Банк ФМ: 0000000000871816 ФД: 47413 ФПД: 41559390891235 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T002706&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47413&fm=41559390891235&tin=02508201610067®Number=0000000000092018&sum=15000 0 [00:26:49]StoreToDocumentArchive [00:26:49]shift 315 fd 47413 [00:26:49]save to /storage/0315/doc_00047413 [00:26:49]save last doc name /storage/0315/doc_00047413 to /storage/kkm_last_doc_name [00:26:49]save OK [00:26:49]Clear old archive folders... [00:26:49]ProcessDocumentItem done err = 0, tmpTLVsize=269 [00:26:49]tlvbuf is 0042A2F0 [00:26:49]SAM_PROTO_ClearQueue [00:26:49]wFMCommunicate request_size=4 [00:26:49]MH_SAM_APDU [00:26:49]CAPDU: 80 09 00 00 [00:26:49]Write to MH i2c: E2 08 00 21 69 80 09 00 00 00 00 00 00 FC [00:26:49]Write i2c OK [00:26:49]MH_I2C_Read... [00:26:49]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:26:49]Read from MH i2c: E2 [00:26:49]MH_I2C_Read... [00:26:49]Read from MH i2c: E2 03 00 [00:26:49]MH_I2C_Read... [00:26:49]Read from MH i2c: E2 03 00 21 69 00 90 00 FE [00:26:49]RAPDU: 90 00 [00:26:49]wFMCommunicate OK [00:26:49]SAM_PROTO_ClearQueue done [00:26:49]KKMCreateOFDPacket [00:26:49]OFDProtocolAddRootSTLVToBuf [00:26:49]FM_MakeSignedData [00:26:49]FM_MakeSignedData [00:26:49]SAM_PROTO_SignData [00:26:49]wFMCommunicate request_size=4 [00:26:49]MH_SAM_APDU [00:26:49]CAPDU: 80 0D 01 02 [00:26:49]Write to MH i2c: E2 08 00 22 69 80 0D 01 02 00 00 00 00 04 [00:26:49]Write i2c OK [00:26:49]MH_I2C_Read... [00:26:49]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:26:49]Read from MH i2c: E2 [00:26:49]MH_I2C_Read... [00:26:49]Read from MH i2c: E2 03 00 [00:26:49]MH_I2C_Read... [00:26:49]Read from MH i2c: E2 03 00 22 69 00 90 00 FF [00:26:49]RAPDU: 90 00 [00:26:49]wFMCommunicate OK [00:26:49]wFMCommunicate request_size=255 [00:26:49]MH_SAM_APDU [00:26:49]CAPDU: 80 0D 02 02 FA 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 98 3A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 DA F2 F0 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 [00:26:49]Write to MH i2c: E2 02 01 23 69 80 0D 02 02 FA 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 98 3A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 DA F2 F0 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 00 00 74 [00:26:49]Write i2c OK [00:26:49]MH_I2C_Read... [00:26:49]OFD Sender: No OFD packet to send [00:26:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:26:49]Read from MH i2c: E2 [00:26:49]MH_I2C_Read... [00:26:49]Read from MH i2c: E2 03 00 [00:26:49]MH_I2C_Read... [00:26:49]Read from MH i2c: E2 03 00 23 69 00 90 00 00 [00:26:49]RAPDU: 90 00 [00:26:49]wFMCommunicate OK [00:26:49]wFMCommunicate request_size=28 [00:26:49]MH_SAM_APDU [00:26:49]CAPDU: 80 0D 02 02 17 37 31 38 31 36 10 04 04 00 35 B9 00 00 35 04 06 00 25 CC 4C BB 2C E3 [00:26:49]Write to MH i2c: E2 1F 00 24 69 80 0D 02 02 17 00 37 31 38 31 36 10 04 04 00 35 B9 00 00 35 04 06 00 25 CC 4C BB 2C E3 00 00 88 [00:26:49]Write i2c OK [00:26:49]MH_I2C_Read... [00:26:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:26:50]Read from MH i2c: E2 [00:26:50]MH_I2C_Read... [00:26:50]Read from MH i2c: E2 03 00 [00:26:50]MH_I2C_Read... [00:26:50]Read from MH i2c: E2 03 00 24 69 00 90 00 01 [00:26:50]RAPDU: 90 00 [00:26:50]wFMCommunicate OK [00:26:50]wFMCommunicate request_size=4 [00:26:50]MH_SAM_APDU [00:26:50]CAPDU: 80 0D 03 02 [00:26:50]Write to MH i2c: E2 08 00 25 69 80 0D 03 02 00 00 00 00 09 [00:26:50]Write i2c OK [00:26:50]MH_I2C_Read... [00:26:50]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:26:50]Read from MH i2c: E2 [00:26:50]MH_I2C_Read... [00:26:50]Read from MH i2c: E2 0B 00 [00:26:50]MH_I2C_Read... [00:26:50]Read from MH i2c: E2 0B 00 25 69 00 8B 31 C2 23 3E C5 1C 39 90 00 03 [00:26:50]RAPDU: 8B 31 C2 23 3E C5 1C 39 90 00 [00:26:50]wFMCommunicate OK [00:26:50]SAM_PROTO_SignData done [00:26:50]FM_MakeSignedData done [00:26:50]CreateOFDProtocolMessage [00:26:50]wFMCommunicate request_size=4 [00:26:50]MH_SAM_APDU [00:26:50]CAPDU: 80 11 00 00 [00:26:50]Write to MH i2c: E2 08 00 26 69 80 11 00 00 00 00 00 00 09 [00:26:50]Write i2c OK [00:26:50]MH_I2C_Read... [00:26:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:26:50]Read from MH i2c: E2 [00:26:50]MH_I2C_Read... [00:26:50]Read from MH i2c: E2 17 00 [00:26:50]MH_I2C_Read... [00:26:50]Read from MH i2c: E2 17 00 26 69 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 5B [00:26:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [00:26:50]wFMCommunicate OK [00:26:50]CreateOFDProtocolMessage done [00:26:50]OFDSenderStorePacket 47413 [00:26:50]StoreOFDPacket docnum=47413 [00:26:50]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 21 01 00 00 2F 74 19 01 EA 67 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 98 3A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 DA F2 F0 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 35 B9 00 00 35 04 06 00 25 CC 4C BB 2C E3 8B 31 C2 23 3E C5 1C 39 [00:26:50]CheckFolder [00:26:50]dirname=/storage/ofd_packets [00:26:50]CheckFolder done [00:26:50]ProducePacketName [00:26:50]name=ofd_packets/00047413 [00:26:50]NVStorageSaveData ofd_packets/00047413 [00:26:50]File name is /storage/ofd_packets/00047413 [00:26:50]Write 319 bytes [00:26:50]NVStorageSaveData done [00:26:50]OFDSenderStorePacket done [00:26:50]KKMCreateOFDPacket done [00:26:50]NVStorageSaveData kkm_last_timestamp [00:26:50]File name is /storage/kkm_last_timestamp [00:26:50]Write 4 bytes [00:26:50]NVStorageSaveData done [00:26:50]ExternCall_PrintAddStr [00:26:50]wPrintStart [00:26:50]Write to MH i2c: 01 00 00 27 69 90 [00:26:50]Write i2c OK [00:26:50]MH_I2C_Read... [00:26:50]Read from MH i2c: 01 [00:26:50]MH_I2C_Read... [00:26:50]Read from MH i2c: 01 07 00 [00:26:50]MH_I2C_Read... [00:26:50]Read from MH i2c: 01 07 00 27 69 00 00 00 00 00 FF 0F A5 [00:26:50]RasterBufferAndPrint [00:26:50]line Счет N : (3)242322 [00:26:50]line ИНН: 02508201610067 [00:26:50]line Контрольно-Кассовый Чек [00:26:50]line ПРОДАЖА [00:26:50]line Товар: 4700000160358 [00:26:50]line Вода Легенда 1л [00:26:50]line 3.000 * 50.00 [00:26:50]line = 150.00 [00:26:50]line НДС 12% НСП 1% [00:26:50]line > о реализуемом товаре [00:26:50]line ИТОГО: 150.00 [00:26:50]line НСП 1% : 1.33 [00:26:50]line НДС 12% : 15.93 [00:26:50]line Наличными: 0.00 [00:26:50]line Безнал.: 150.00 [00:26:50]line Место: АЗС № 15 "Партнер Нефть" [00:26:50]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [00:26:50]line СНО: Общий режим [00:26:50]line Чек 1 13.03.2024 00:27 [00:26:50]line Смена: 315 ФФД: 1.0 [00:26:50]line ЗНМ: 0300000097 [00:26:50]line РНМ: 0000000000092018 [00:26:50]line Версия ККМ: 001 [00:26:50]line Платежная система: Демир КИ Банк [00:26:50]line ФМ: 0000000000871816 [00:26:50]line ФД: 47413 [00:26:50]line ФПД: 41559390891235 [00:26:50]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T002706&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47413&fm=41559390891235&tin=02508201610067®Number=0000000000092018&sum=15000 [00:26:50]line 0 [00:26:50]OFD Sender: Processing packet 47413 [packets to send 8, broken 7] [00:26:50]ProducePacketName [00:26:50]name=ofd_packets/00047413 [00:26:50]OFD Sender: To server: pG, [00:26:50]CommunicateWithHost lk.salyk.kg:30040 [00:26:50]ConnectInit lk.salyk.kg [00:26:50]written 0, free lines is 4095 [00:26:50]Write to MH i2c: 01 00 00 51 69 BA [00:26:50]Write i2c OK [00:26:50]MH_I2C_Read... [00:26:50]Read from MH i2c: 01 [00:26:50]MH_I2C_Read... [00:26:50]Read from MH i2c: 01 07 00 [00:26:50]MH_I2C_Read... [00:26:50]Read from MH i2c: 01 07 00 51 69 00 00 00 00 00 D5 0C A2 [00:26:50]RasterBufferAndPrint [00:26:50]line [00:26:50]line [00:26:50]line [00:26:50]line [00:26:50]line [00:26:50]written 0, free lines is 3290 [00:26:50]MH_Cut [00:26:50]Write to MH i2c: D1 01 00 58 69 01 93 [00:26:50]Write i2c OK [00:26:50]MH_I2C_Read... [00:26:50]Read from MH i2c: D1 [00:26:50]MH_I2C_Read... [00:26:50]Read from MH i2c: D1 01 00 [00:26:50]MH_I2C_Read... [00:26:50]Read from MH i2c: D1 01 00 58 69 00 92 [00:26:50]Write to MH i2c: 01 00 00 59 69 C2 [00:26:50]Write i2c OK [00:26:50]MH_I2C_Read... [00:26:51]*** Cut start [00:26:51]*** Purtial cut [00:26:51]*** Stage 1: CUTSNS_PIN = 1 [00:26:52]Read from MH i2c: 01 [00:26:52]MH_I2C_Read... [00:26:52]*** Stop cut motor [00:26:52]*** Cut end [00:26:52]Read from MH i2c: 01 07 00 [00:26:52]MH_I2C_Read... [00:26:52]Read from MH i2c: 01 07 00 59 69 00 00 00 00 00 FF 0F D7 [00:26:52]process_action close_receipt done [00:26:52]requested_data is exist [00:26:52]produce_requested_data [00:26:52]requested_item fm.sn is exist - process it [00:26:52]wFMCommunicate request_size=4 [00:26:52]MH_SAM_APDU [00:26:52]CAPDU: 80 11 00 00 [00:26:52]Write to MH i2c: E2 08 00 5A 69 80 11 00 00 00 00 00 00 3D [00:26:52]Write i2c OK [00:26:52]MH_I2C_Read... [00:26:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:26:52]Read from MH i2c: E2 [00:26:52]MH_I2C_Read... [00:26:52]Read from MH i2c: E2 17 00 [00:26:52]MH_I2C_Read... [00:26:52]Read from MH i2c: E2 17 00 5A 69 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 8F [00:26:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [00:26:52]wFMCommunicate OK [00:26:52]requested_item fd.num is exist - process it [00:26:52]SAM_PROTO_GetFieldsCounters [00:26:52]wFMCommunicate request_size=4 [00:26:52]MH_SAM_APDU [00:26:52]CAPDU: 80 13 00 00 [00:26:52]Write to MH i2c: E2 08 00 5B 69 80 13 00 00 00 00 00 00 40 [00:26:52]Write i2c OK [00:26:52]MH_I2C_Read... [00:26:52]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:26:52]Read from MH i2c: E2 [00:26:52]MH_I2C_Read... [00:26:52]Read from MH i2c: E2 62 00 [00:26:52]MH_I2C_Read... [00:26:52]Read from MH i2c: E2 62 00 5B 69 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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 35 B9 00 00 0E 04 04 00 3B 01 00 00 12 04 04 00 01 00 00 00 5E 04 04 00 01 00 00 00 57 04 04 00 02 00 00 00 19 04 04 00 00 00 00 00 90 00 88 [00:26: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 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 35 B9 00 00 0E 04 04 00 3B 01 00 00 12 04 04 00 01 00 00 00 5E 04 04 00 01 00 00 00 57 04 04 00 02 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:26:52]wFMCommunicate OK [00:26:52]SAM_PROTO_GetFieldsCounters done [00:26:52]requested_item shift.num is exist - process it [00:26:52]requested_item shift.opened is exist - process it [00:26:52]req_shift_opened [00:26:52]FM_GetShiftState [00:26:52]SAM_PROTO_GetShiftState [00:26:52]wFMCommunicate request_size=4 [00:26:52]MH_SAM_APDU [00:26:52]CAPDU: 80 13 01 00 [00:26:52]Write to MH i2c: E2 08 00 5C 69 80 13 01 00 00 00 00 00 42 [00:26:52]Write i2c OK [00:26:52]MH_I2C_Read... [00:26:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:26:52]Read from MH i2c: E2 [00:26:52]MH_I2C_Read... [00:26:52]Read from MH i2c: E2 0E 00 [00:26:52]MH_I2C_Read... [00:26:52]Read from MH i2c: E2 0E 00 5C 69 00 09 00 01 A4 EF F0 65 00 00 00 00 90 00 36 [00:26:52]RAPDU: 09 00 01 A4 EF F0 65 00 00 00 00 90 00 [00:26:52]wFMCommunicate OK [00:26:52]SAM_PROTO_GetShiftState done [00:26:52]FM_GetShiftState done [00:26:52]req_shift_opened done [00:26:52]requested_item shift.open_date is exist - process it [00:26:52]req_shift_open_date [00:26:52]req_shift_open_date done [00:26:52]produce_requested_data done [00:26:52]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47413,"shift.num":315,"shift.opened":1,"shift.open_date":1710288804} [00:26:52]process_action_free close_receipt [00:26:52]json_value_free [00:26:52]json_value_free done [00:26:52]process_json_proto returns [00:26:52]Send response to host [00:26:52]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47413,"shift.num":315,"shift.opened":1,"shift.open_date":1710288804}}} [00:26:52]free response buf [00:26:52]execute_script done [00:26:52]execute_script returns [00:26:52]free content buf [00:26:52]Sock 7.Close socket [00:26:52]Sock 7.Thread stoped [00:26:53]Connected sock=11 [00:26: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 31 36 21 01 00 00 2F 74 19 01 EA 67 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 98 3A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 DA F2 F0 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 35 B9 00 00 35 04 06 00 25 CC 4C BB 2C E3 8B 31 C2 23 3E C5 1C 39 [00:26: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 31 36 4F 00 00 00 B2 7F 47 00 5B CD A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 35 B9 00 00 F4 03 04 00 6D 9D F0 65 B6 04 01 00 00 05 93 21 32 3A 03 EB 43 [00:26:53]CommunicateWithHost err = 0 [00:26:53]CheckOFDResponse [00:26:53]1017 (14) - 77093643461234 [00:26:53]1041 (16) - 0000000000871816 [00:26:53]1040 (4) - 47413 [00:26:53]1012 (4) - 12.03.2024 18:22 [00:26:53]1206 (1) - 0 [00:26:53]OFD Sender: Remove packet 47413 [00:26:53]ProducePacketName [00:26:53]name=ofd_packets/00047413 [00:26:53]NVStorageDeleteData [00:26:53]OFD Sender: No OFD packet to send [00:26:58]OFD Sender: No OFD packet to send [00:27:03]OFD Sender: No OFD packet to send [00:27:08]OFD Sender: No OFD packet to send [00:27:13]OFD Sender: No OFD packet to send [00:27:18]OFD Sender: No OFD packet to send [00:27:23]OFD Sender: No OFD packet to send [00:27:28]OFD Sender: No OFD packet to send [00:27:33]OFD Sender: No OFD packet to send [00:27:38]OFD Sender: No OFD packet to send [00:27:43]OFD Sender: No OFD packet to send [00:27:48]OFD Sender: No OFD packet to send [00:27:53]OFD Sender: No OFD packet to send [00:27:58]OFD Sender: No OFD packet to send [00:28:03]OFD Sender: No OFD packet to send [00:28:08]OFD Sender: No OFD packet to send [00:28:13]OFD Sender: No OFD packet to send [00:28:18]OFD Sender: No OFD packet to send [00:28:23]OFD Sender: No OFD packet to send [00:28:28]OFD Sender: No OFD packet to send [00:28:33]OFD Sender: No OFD packet to send [00:28:38]OFD Sender: No OFD packet to send [00:28:43]OFD Sender: No OFD packet to send [00:28:48]OFD Sender: No OFD packet to send [00:28:53]OFD Sender: No OFD packet to send [00:28:58]OFD Sender: No OFD packet to send [00:29:03]OFD Sender: No OFD packet to send [00:29:08]OFD Sender: No OFD packet to send [00:29:13]OFD Sender: No OFD packet to send [00:29:18]OFD Sender: No OFD packet to send [00:29:23]OFD Sender: No OFD packet to send [00:29:28]OFD Sender: No OFD packet to send [00:29:33]OFD Sender: No OFD packet to send [00:29:38]OFD Sender: No OFD packet to send [00:29:43]OFD Sender: No OFD packet to send [00:29:48]OFD Sender: No OFD packet to send [00:29:53]OFD Sender: No OFD packet to send [00:29:59]OFD Sender: No OFD packet to send [00:30:04]OFD Sender: No OFD packet to send [00:30:09]OFD Sender: No OFD packet to send [00:30:14]OFD Sender: No OFD packet to send [00:30:19]OFD Sender: No OFD packet to send [00:30:24]OFD Sender: No OFD packet to send [00:30:29]OFD Sender: No OFD packet to send [00:30:34]OFD Sender: No OFD packet to send [00:30:39]OFD Sender: No OFD packet to send [00:30:44]OFD Sender: No OFD packet to send [00:30:49]OFD Sender: No OFD packet to send [00:30:54]OFD Sender: No OFD packet to send [00:30:59]OFD Sender: No OFD packet to send [00:31:04]OFD Sender: No OFD packet to send [00:31:04]recv_with_timeout no data received [00:31:09]OFD Sender: No OFD packet to send [00:31:14]OFD Sender: No OFD packet to send [00:31:19]OFD Sender: No OFD packet to send [00:31:24]OFD Sender: No OFD packet to send [00:31:29]OFD Sender: No OFD packet to send [00:31:34]OFD Sender: No OFD packet to send [00:31:39]OFD Sender: No OFD packet to send [00:31:44]OFD Sender: No OFD packet to send [00:31:49]OFD Sender: No OFD packet to send [00:31:54]OFD Sender: No OFD packet to send [00:31:59]OFD Sender: No OFD packet to send [00:32:04]OFD Sender: No OFD packet to send [00:32:09]OFD Sender: No OFD packet to send [00:32:14]OFD Sender: No OFD packet to send [00:32:19]OFD Sender: No OFD packet to send [00:32:24]OFD Sender: No OFD packet to send [00:32:29]OFD Sender: No OFD packet to send [00:32:34]OFD Sender: No OFD packet to send [00:32:39]OFD Sender: No OFD packet to send [00:32:44]OFD Sender: No OFD packet to send [00:32:49]OFD Sender: No OFD packet to send [00:32:54]OFD Sender: No OFD packet to send [00:32:59]OFD Sender: No OFD packet to send [00:33:04]OFD Sender: No OFD packet to send [00:33:09]OFD Sender: No OFD packet to send [00:33:14]OFD Sender: No OFD packet to send [00:33:19]OFD Sender: No OFD packet to send [00:33:24]OFD Sender: No OFD packet to send [00:33:29]OFD Sender: No OFD packet to send [00:33:34]OFD Sender: No OFD packet to send [00:33:39]OFD Sender: No OFD packet to send [00:33:44]OFD Sender: No OFD packet to send [00:33:49]OFD Sender: No OFD packet to send [00:33:54]OFD Sender: No OFD packet to send [00:33:59]OFD Sender: No OFD packet to send [00:34:04]OFD Sender: No OFD packet to send [00:34:09]OFD Sender: No OFD packet to send [00:34:14]OFD Sender: No OFD packet to send [00:34:19]OFD Sender: No OFD packet to send [00:34:24]OFD Sender: No OFD packet to send [00:34:29]OFD Sender: No OFD packet to send [00:34:34]OFD Sender: No OFD packet to send [00:34:39]OFD Sender: No OFD packet to send [00:34:44]OFD Sender: No OFD packet to send [00:34:49]OFD Sender: No OFD packet to send [00:34:54]OFD Sender: No OFD packet to send [00:34:59]OFD Sender: No OFD packet to send [00:35:04]OFD Sender: No OFD packet to send [00:35:09]OFD Sender: No OFD packet to send [00:35:14]OFD Sender: No OFD packet to send [00:35:19]OFD Sender: No OFD packet to send [00:35:24]OFD Sender: No OFD packet to send [00:35:29]OFD Sender: No OFD packet to send [00:35:34]OFD Sender: No OFD packet to send [00:35:39]OFD Sender: No OFD packet to send [00:35:44]OFD Sender: No OFD packet to send [00:35:49]OFD Sender: No OFD packet to send [00:35:54]OFD Sender: No OFD packet to send [00:35:59]OFD Sender: No OFD packet to send [00:36:04]OFD Sender: No OFD packet to send [00:36:09]OFD Sender: No OFD packet to send [00:36:14]OFD Sender: No OFD packet to send [00:36:19]OFD Sender: No OFD packet to send [00:36:24]OFD Sender: No OFD packet to send [00:36:29]OFD Sender: No OFD packet to send [00:36:34]OFD Sender: No OFD packet to send [00:36:39]OFD Sender: No OFD packet to send [00:36:44]OFD Sender: No OFD packet to send [00:36:49]OFD Sender: No OFD packet to send [00:36:54]OFD Sender: No OFD packet to send [00:36:59]OFD Sender: No OFD packet to send [00:37:04]OFD Sender: No OFD packet to send [00:37:09]OFD Sender: No OFD packet to send [00:37:14]OFD Sender: No OFD packet to send [00:37:19]OFD Sender: No OFD packet to send [00:37:24]OFD Sender: No OFD packet to send [00:37:29]OFD Sender: No OFD packet to send [00:37:34]OFD Sender: No OFD packet to send [00:37:39]OFD Sender: No OFD packet to send [00:37:44]OFD Sender: No OFD packet to send [00:37:49]OFD Sender: No OFD packet to send [00:37:54]OFD Sender: No OFD packet to send [00:37:59]OFD Sender: No OFD packet to send [00:38:04]OFD Sender: No OFD packet to send [00:38:09]OFD Sender: No OFD packet to send [00:38:14]OFD Sender: No OFD packet to send [00:38:19]OFD Sender: No OFD packet to send [00:38:24]OFD Sender: No OFD packet to send [00:38:29]OFD Sender: No OFD packet to send [00:38:34]OFD Sender: No OFD packet to send [00:38:39]OFD Sender: No OFD packet to send [00:38:44]OFD Sender: No OFD packet to send [00:38:49]OFD Sender: No OFD packet to send [00:38:54]OFD Sender: No OFD packet to send [00:38:59]OFD Sender: No OFD packet to send [00:39:04]OFD Sender: No OFD packet to send [00:39:09]OFD Sender: No OFD packet to send [00:39:14]OFD Sender: No OFD packet to send [00:39:19]OFD Sender: No OFD packet to send [00:39:24]OFD Sender: No OFD packet to send [00:39:29]OFD Sender: No OFD packet to send [00:39:34]OFD Sender: No OFD packet to send [00:39:39]OFD Sender: No OFD packet to send [00:39:44]OFD Sender: No OFD packet to send [00:39:49]OFD Sender: No OFD packet to send [00:39:54]OFD Sender: No OFD packet to send [00:39:59]OFD Sender: No OFD packet to send [00:40:04]OFD Sender: No OFD packet to send [00:40:09]OFD Sender: No OFD packet to send [00:40:14]OFD Sender: No OFD packet to send [00:40:19]OFD Sender: No OFD packet to send [00:40:24]OFD Sender: No OFD packet to send [00:40:29]OFD Sender: No OFD packet to send [00:40:34]OFD Sender: No OFD packet to send [00:40:39]OFD Sender: No OFD packet to send [00:40:44]OFD Sender: No OFD packet to send [00:40:49]OFD Sender: No OFD packet to send [00:40:54]OFD Sender: No OFD packet to send [00:40:59]OFD Sender: No OFD packet to send [00:41:04]OFD Sender: No OFD packet to send [00:41:09]OFD Sender: No OFD packet to send [00:41:14]OFD Sender: No OFD packet to send [00:41:19]OFD Sender: No OFD packet to send [00:41:24]OFD Sender: No OFD packet to send [00:41:29]OFD Sender: No OFD packet to send [00:41:34]OFD Sender: No OFD packet to send [00:41:39]OFD Sender: No OFD packet to send [00:41:44]OFD Sender: No OFD packet to send [00:41:49]OFD Sender: No OFD packet to send [00:41:54]OFD Sender: No OFD packet to send [00:41:59]OFD Sender: No OFD packet to send [00:42:04]OFD Sender: No OFD packet to send [00:42:09]OFD Sender: No OFD packet to send [00:42:14]OFD Sender: No OFD packet to send [00:42:19]OFD Sender: No OFD packet to send [00:42:24]OFD Sender: No OFD packet to send [00:42:29]OFD Sender: No OFD packet to send [00:42:34]OFD Sender: No OFD packet to send [00:42:39]OFD Sender: No OFD packet to send [00:42:44]OFD Sender: No OFD packet to send [00:42:49]OFD Sender: No OFD packet to send [00:42:54]OFD Sender: No OFD packet to send [00:42:59]OFD Sender: No OFD packet to send [00:43:04]OFD Sender: No OFD packet to send [00:43:09]OFD Sender: No OFD packet to send [00:43:14]OFD Sender: No OFD packet to send [00:43:19]OFD Sender: No OFD packet to send [00:43:24]OFD Sender: No OFD packet to send [00:43:29]OFD Sender: No OFD packet to send [00:43:34]OFD Sender: No OFD packet to send [00:43:39]OFD Sender: No OFD packet to send [00:43:44]OFD Sender: No OFD packet to send [00:43:49]OFD Sender: No OFD packet to send [00:43:54]OFD Sender: No OFD packet to send [00:43:59]OFD Sender: No OFD packet to send [00:44:04]OFD Sender: No OFD packet to send [00:44:09]OFD Sender: No OFD packet to send [00:44:14]OFD Sender: No OFD packet to send [00:44:19]OFD Sender: No OFD packet to send [00:44:24]OFD Sender: No OFD packet to send [00:44:29]OFD Sender: No OFD packet to send [00:44:34]OFD Sender: No OFD packet to send [00:44:39]OFD Sender: No OFD packet to send [00:44:44]OFD Sender: No OFD packet to send [00:44:49]OFD Sender: No OFD packet to send [00:44:54]OFD Sender: No OFD packet to send [00:44:59]OFD Sender: No OFD packet to send [00:45:04]OFD Sender: No OFD packet to send [00:45:09]OFD Sender: No OFD packet to send [00:45:14]OFD Sender: No OFD packet to send [00:45:19]OFD Sender: No OFD packet to send [00:45:24]OFD Sender: No OFD packet to send [00:45:29]OFD Sender: No OFD packet to send [00:45:34]OFD Sender: No OFD packet to send [00:45:39]OFD Sender: No OFD packet to send [00:45:44]OFD Sender: No OFD packet to send [00:45:49]OFD Sender: No OFD packet to send [00:45:54]OFD Sender: No OFD packet to send [00:45:59]OFD Sender: No OFD packet to send [00:46:04]OFD Sender: No OFD packet to send [00:46:09]OFD Sender: No OFD packet to send [00:46:14]OFD Sender: No OFD packet to send [00:46:15]recv_with_timeout no data received [00:46:19]OFD Sender: No OFD packet to send [00:46:24]OFD Sender: No OFD packet to send [00:46:29]OFD Sender: No OFD packet to send [00:46:34]OFD Sender: No OFD packet to send [00:46:39]OFD Sender: No OFD packet to send [00:46:44]OFD Sender: No OFD packet to send [00:46:49]OFD Sender: No OFD packet to send [00:46:54]OFD Sender: No OFD packet to send [00:46:59]OFD Sender: No OFD packet to send [00:47:04]OFD Sender: No OFD packet to send [00:47:09]OFD Sender: No OFD packet to send [00:47:14]OFD Sender: No OFD packet to send [00:47:19]OFD Sender: No OFD packet to send [00:47:24]OFD Sender: No OFD packet to send [00:47:29]OFD Sender: No OFD packet to send [00:47:34]OFD Sender: No OFD packet to send [00:47:39]OFD Sender: No OFD packet to send [00:47:44]OFD Sender: No OFD packet to send [00:47:49]OFD Sender: No OFD packet to send [00:47:54]OFD Sender: No OFD packet to send [00:47:59]OFD Sender: No OFD packet to send [00:48:04]OFD Sender: No OFD packet to send [00:48:09]OFD Sender: No OFD packet to send [00:48:14]OFD Sender: No OFD packet to send [00:48:19]OFD Sender: No OFD packet to send [00:48:24]OFD Sender: No OFD packet to send [00:48:29]OFD Sender: No OFD packet to send [00:48:34]OFD Sender: No OFD packet to send [00:48:39]OFD Sender: No OFD packet to send [00:48:44]OFD Sender: No OFD packet to send [00:48:49]OFD Sender: No OFD packet to send [00:48:54]OFD Sender: No OFD packet to send [00:48:59]OFD Sender: No OFD packet to send [00:49:04]OFD Sender: No OFD packet to send [00:49:09]OFD Sender: No OFD packet to send [00:49:14]OFD Sender: No OFD packet to send [00:49:19]OFD Sender: No OFD packet to send [00:49:24]OFD Sender: No OFD packet to send [00:49:29]OFD Sender: No OFD packet to send [00:49:34]OFD Sender: No OFD packet to send [00:49:39]OFD Sender: No OFD packet to send [00:49:44]OFD Sender: No OFD packet to send [00:49:49]OFD Sender: No OFD packet to send [00:49:54]OFD Sender: No OFD packet to send [00:49:59]OFD Sender: No OFD packet to send [00:50:04]OFD Sender: No OFD packet to send [00:50:09]OFD Sender: No OFD packet to send [00:50:14]OFD Sender: No OFD packet to send [00:50:19]OFD Sender: No OFD packet to send [00:50:24]OFD Sender: No OFD packet to send [00:50:29]OFD Sender: No OFD packet to send [00:50:34]OFD Sender: No OFD packet to send [00:50:39]OFD Sender: No OFD packet to send [00:50:44]OFD Sender: No OFD packet to send [00:50:49]OFD Sender: No OFD packet to send [00:50:54]OFD Sender: No OFD packet to send [00:50:59]OFD Sender: No OFD packet to send [00:51:04]OFD Sender: No OFD packet to send [00:51:09]OFD Sender: No OFD packet to send [00:51:14]OFD Sender: No OFD packet to send [00:51:19]OFD Sender: No OFD packet to send [00:51:25]OFD Sender: No OFD packet to send [00:51:30]OFD Sender: No OFD packet to send [00:51:35]OFD Sender: No OFD packet to send [00:51:40]OFD Sender: No OFD packet to send [00:51:45]OFD Sender: No OFD packet to send [00:51:50]OFD Sender: No OFD packet to send [00:51:55]OFD Sender: No OFD packet to send [00:52:00]OFD Sender: No OFD packet to send [00:52:05]OFD Sender: No OFD packet to send [00:52:10]OFD Sender: No OFD packet to send [00:52:15]OFD Sender: No OFD packet to send [00:52:20]OFD Sender: No OFD packet to send [00:52:25]OFD Sender: No OFD packet to send [00:52:30]OFD Sender: No OFD packet to send [00:52:35]OFD Sender: No OFD packet to send [00:52:40]OFD Sender: No OFD packet to send [00:52:45]OFD Sender: No OFD packet to send [00:52:50]OFD Sender: No OFD packet to send [00:52:55]OFD Sender: No OFD packet to send [00:53:00]OFD Sender: No OFD packet to send [00:53:05]OFD Sender: No OFD packet to send [00:53:10]OFD Sender: No OFD packet to send [00:53:15]OFD Sender: No OFD packet to send [00:53:20]OFD Sender: No OFD packet to send [00:53:23]recv_with_timeout no data received [00:53:25]OFD Sender: No OFD packet to send [00:53:30]OFD Sender: No OFD packet to send [00:53:35]OFD Sender: No OFD packet to send [00:53:40]OFD Sender: No OFD packet to send [00:53:45]OFD Sender: No OFD packet to send [00:53:50]OFD Sender: No OFD packet to send [00:53:55]OFD Sender: No OFD packet to send [00:54:00]OFD Sender: No OFD packet to send [00:54:05]OFD Sender: No OFD packet to send [00:54:10]OFD Sender: No OFD packet to send [00:54:15]OFD Sender: No OFD packet to send [00:54:20]OFD Sender: No OFD packet to send [00:54:25]OFD Sender: No OFD packet to send [00:54:30]OFD Sender: No OFD packet to send [00:54:35]OFD Sender: No OFD packet to send [00:54:40]OFD Sender: No OFD packet to send [00:54:45]OFD Sender: No OFD packet to send [00:54:50]OFD Sender: No OFD packet to send [00:54:55]OFD Sender: No OFD packet to send [00:55:00]OFD Sender: No OFD packet to send [00:55:05]OFD Sender: No OFD packet to send [00:55:10]OFD Sender: No OFD packet to send [00:55:15]OFD Sender: No OFD packet to send [00:55:20]OFD Sender: No OFD packet to send [00:55:25]OFD Sender: No OFD packet to send [00:55:30]OFD Sender: No OFD packet to send [00:55:35]OFD Sender: No OFD packet to send [00:55:40]OFD Sender: No OFD packet to send [00:55:45]OFD Sender: No OFD packet to send [00:55:50]OFD Sender: No OFD packet to send [00:55:55]OFD Sender: No OFD packet to send [00:56:00]OFD Sender: No OFD packet to send [00:56:05]OFD Sender: No OFD packet to send [00:56:10]OFD Sender: No OFD packet to send [00:56:15]OFD Sender: No OFD packet to send [00:56:20]OFD Sender: No OFD packet to send [00:56:25]OFD Sender: No OFD packet to send [00:56:26]recv_with_timeout no data received [00:56:30]OFD Sender: No OFD packet to send [00:56:35]OFD Sender: No OFD packet to send [00:56:40]OFD Sender: No OFD packet to send [00:56:45]OFD Sender: No OFD packet to send [00:56:50]OFD Sender: No OFD packet to send [00:56:55]OFD Sender: No OFD packet to send [00:57:00]OFD Sender: No OFD packet to send [00:57:05]OFD Sender: No OFD packet to send [00:57:10]OFD Sender: No OFD packet to send [00:57:15]OFD Sender: No OFD packet to send [00:57:18]recv_with_timeout no data received [00:57:20]OFD Sender: No OFD packet to send [00:57:25]OFD Sender: No OFD packet to send [00:57:30]OFD Sender: No OFD packet to send [00:57:35]OFD Sender: No OFD packet to send [00:57:40]OFD Sender: No OFD packet to send [00:57:45]OFD Sender: No OFD packet to send [00:57:50]OFD Sender: No OFD packet to send [00:57:55]OFD Sender: No OFD packet to send [00:57:59]recv_with_timeout no data received [00:58:00]OFD Sender: No OFD packet to send [00:58:05]OFD Sender: No OFD packet to send [00:58:10]OFD Sender: No OFD packet to send [00:58:15]OFD Sender: No OFD packet to send [00:58:20]OFD Sender: No OFD packet to send [00:58:25]OFD Sender: No OFD packet to send [00:58:30]OFD Sender: No OFD packet to send [00:58:35]OFD Sender: No OFD packet to send [00:58:40]OFD Sender: No OFD packet to send [00:58:45]OFD Sender: No OFD packet to send [00:58:50]OFD Sender: No OFD packet to send [00:58:55]OFD Sender: No OFD packet to send [00:59:00]OFD Sender: No OFD packet to send [00:59:05]OFD Sender: No OFD packet to send [00:59:10]OFD Sender: No OFD packet to send [00:59:15]OFD Sender: No OFD packet to send [00:59:20]OFD Sender: No OFD packet to send [00:59:25]OFD Sender: No OFD packet to send [00:59:30]OFD Sender: No OFD packet to send [00:59:35]OFD Sender: No OFD packet to send [00:59:40]OFD Sender: No OFD packet to send [00:59:45]OFD Sender: No OFD packet to send [00:59:50]OFD Sender: No OFD packet to send [00:59:55]OFD Sender: No OFD packet to send [01:00:00]OFD Sender: No OFD packet to send [01:00:05]OFD Sender: No OFD packet to send [01:00:10]OFD Sender: No OFD packet to send [01:00:15]OFD Sender: No OFD packet to send [01:00:20]OFD Sender: No OFD packet to send [01:00:25]OFD Sender: No OFD packet to send [01:00:30]OFD Sender: No OFD packet to send [01:00:35]OFD Sender: No OFD packet to send [01:00:40]OFD Sender: No OFD packet to send [01:00:45]OFD Sender: No OFD packet to send [01:00:50]OFD Sender: No OFD packet to send [01:00:55]OFD Sender: No OFD packet to send [01:01:00]OFD Sender: No OFD packet to send [01:01:05]OFD Sender: No OFD packet to send [01:01:10]OFD Sender: No OFD packet to send [01:01:15]OFD Sender: No OFD packet to send [01:01:20]OFD Sender: No OFD packet to send [01:01:25]OFD Sender: No OFD packet to send [01:01:30]OFD Sender: No OFD packet to send [01:01:35]OFD Sender: No OFD packet to send [01:01:40]OFD Sender: No OFD packet to send [01:01:45]OFD Sender: No OFD packet to send [01:01:50]OFD Sender: No OFD packet to send [01:01:55]OFD Sender: No OFD packet to send [01:02:00]OFD Sender: No OFD packet to send [01:02:05]OFD Sender: No OFD packet to send [01:02:10]OFD Sender: No OFD packet to send [01:02:15]OFD Sender: No OFD packet to send [01:02:20]OFD Sender: No OFD packet to send [01:02:25]OFD Sender: No OFD packet to send [01:02:30]OFD Sender: No OFD packet to send [01:02:35]OFD Sender: No OFD packet to send [01:02:40]OFD Sender: No OFD packet to send [01:02:45]OFD Sender: No OFD packet to send [01:02:50]OFD Sender: No OFD packet to send [01:02:55]OFD Sender: No OFD packet to send [01:03:00]OFD Sender: No OFD packet to send [01:03:05]OFD Sender: No OFD packet to send [01:03:10]OFD Sender: No OFD packet to send [01:03:15]OFD Sender: No OFD packet to send [01:03:20]OFD Sender: No OFD packet to send [01:03:25]OFD Sender: No OFD packet to send [01:03:30]OFD Sender: No OFD packet to send [01:03:35]OFD Sender: No OFD packet to send [01:03:40]OFD Sender: No OFD packet to send [01:03:45]OFD Sender: No OFD packet to send [01:03:50]OFD Sender: No OFD packet to send [01:03:55]OFD Sender: No OFD packet to send [01:04:00]OFD Sender: No OFD packet to send [01:04:05]OFD Sender: No OFD packet to send [01:04:10]OFD Sender: No OFD packet to send [01:04:15]OFD Sender: No OFD packet to send [01:04:20]OFD Sender: No OFD packet to send [01:04:25]OFD Sender: No OFD packet to send [01:04:30]OFD Sender: No OFD packet to send [01:04:35]OFD Sender: No OFD packet to send [01:04:40]OFD Sender: No OFD packet to send [01:04:45]OFD Sender: No OFD packet to send [01:04:50]OFD Sender: No OFD packet to send [01:04:55]OFD Sender: No OFD packet to send [01:05:00]OFD Sender: No OFD packet to send [01:05:05]OFD Sender: No OFD packet to send [01:05:10]OFD Sender: No OFD packet to send [01:05:15]OFD Sender: No OFD packet to send [01:05:20]OFD Sender: No OFD packet to send [01:05:25]OFD Sender: No OFD packet to send [01:05:30]OFD Sender: No OFD packet to send [01:05:35]OFD Sender: No OFD packet to send [01:05:40]OFD Sender: No OFD packet to send [01:05:45]OFD Sender: No OFD packet to send [01:05:50]OFD Sender: No OFD packet to send [01:05:55]OFD Sender: No OFD packet to send [01:06:00]OFD Sender: No OFD packet to send [01:06:05]OFD Sender: No OFD packet to send [01:06:10]OFD Sender: No OFD packet to send [01:06:15]OFD Sender: No OFD packet to send [01:06:20]OFD Sender: No OFD packet to send [01:06:25]OFD Sender: No OFD packet to send [01:06:30]OFD Sender: No OFD packet to send [01:06:35]OFD Sender: No OFD packet to send [01:06:40]OFD Sender: No OFD packet to send [01:06:45]OFD Sender: No OFD packet to send [01:06:50]OFD Sender: No OFD packet to send [01:06:55]OFD Sender: No OFD packet to send [01:07:00]OFD Sender: No OFD packet to send [01:07:05]OFD Sender: No OFD packet to send [01:07:10]OFD Sender: No OFD packet to send [01:07:15]OFD Sender: No OFD packet to send [01:07:20]OFD Sender: No OFD packet to send [01:07:25]OFD Sender: No OFD packet to send [01:07:30]OFD Sender: No OFD packet to send [01:07:35]OFD Sender: No OFD packet to send [01:07:40]OFD Sender: No OFD packet to send [01:07:45]OFD Sender: No OFD packet to send [01:07:50]OFD Sender: No OFD packet to send [01:07:55]OFD Sender: No OFD packet to send [01:08:00]OFD Sender: No OFD packet to send [01:08:05]OFD Sender: No OFD packet to send [01:08:10]OFD Sender: No OFD packet to send [01:08:15]OFD Sender: No OFD packet to send [01:08:20]OFD Sender: No OFD packet to send [01:08:25]OFD Sender: No OFD packet to send [01:08:30]OFD Sender: No OFD packet to send [01:08:35]OFD Sender: No OFD packet to send [01:08:40]OFD Sender: No OFD packet to send [01:08:45]OFD Sender: No OFD packet to send [01:08:50]OFD Sender: No OFD packet to send [01:08:55]OFD Sender: No OFD packet to send [01:09:00]OFD Sender: No OFD packet to send [01:09:05]OFD Sender: No OFD packet to send [01:09:10]OFD Sender: No OFD packet to send [01:09:15]OFD Sender: No OFD packet to send [01:09:20]OFD Sender: No OFD packet to send [01:09:25]OFD Sender: No OFD packet to send [01:09:30]OFD Sender: No OFD packet to send [01:09:35]OFD Sender: No OFD packet to send [01:09:40]OFD Sender: No OFD packet to send [01:09:45]OFD Sender: No OFD packet to send [01:09:50]OFD Sender: No OFD packet to send [01:09:55]OFD Sender: No OFD packet to send [01:10:00]OFD Sender: No OFD packet to send [01:10:05]OFD Sender: No OFD packet to send [01:10:10]OFD Sender: No OFD packet to send [01:10:15]OFD Sender: No OFD packet to send [01:10:20]OFD Sender: No OFD packet to send [01:10:25]OFD Sender: No OFD packet to send [01:10:30]OFD Sender: No OFD packet to send [01:10:35]OFD Sender: No OFD packet to send [01:10:40]OFD Sender: No OFD packet to send [01:10:45]OFD Sender: No OFD packet to send [01:10:50]OFD Sender: No OFD packet to send [01:10:55]OFD Sender: No OFD packet to send [01:11:00]OFD Sender: No OFD packet to send [01:11:05]OFD Sender: No OFD packet to send [01:11:10]OFD Sender: No OFD packet to send [01:11:15]OFD Sender: No OFD packet to send [01:11:20]OFD Sender: No OFD packet to send [01:11:25]OFD Sender: No OFD packet to send [01:11:30]OFD Sender: No OFD packet to send [01:11:35]OFD Sender: No OFD packet to send [01:11:40]OFD Sender: No OFD packet to send [01:11:45]OFD Sender: No OFD packet to send [01:11:50]OFD Sender: No OFD packet to send [01:11:55]OFD Sender: No OFD packet to send [01:12:00]OFD Sender: No OFD packet to send [01:12:05]OFD Sender: No OFD packet to send [01:12:10]OFD Sender: No OFD packet to send [01:12:15]OFD Sender: No OFD packet to send [01:12:20]OFD Sender: No OFD packet to send [01:12:25]OFD Sender: No OFD packet to send [01:12:30]OFD Sender: No OFD packet to send [01:12:35]OFD Sender: No OFD packet to send [01:12:40]OFD Sender: No OFD packet to send [01:12:45]OFD Sender: No OFD packet to send [01:12:51]OFD Sender: No OFD packet to send [01:12:56]OFD Sender: No OFD packet to send [01:13:01]OFD Sender: No OFD packet to send [01:13:06]OFD Sender: No OFD packet to send [01:13:11]OFD Sender: No OFD packet to send [01:13:16]OFD Sender: No OFD packet to send [01:13:21]OFD Sender: No OFD packet to send [01:13:26]OFD Sender: No OFD packet to send [01:13:31]OFD Sender: No OFD packet to send [01:13:36]OFD Sender: No OFD packet to send [01:13:41]OFD Sender: No OFD packet to send [01:13:46]OFD Sender: No OFD packet to send [01:13:51]OFD Sender: No OFD packet to send [01:13:56]OFD Sender: No OFD packet to send [01:14:01]OFD Sender: No OFD packet to send [01:14:06]OFD Sender: No OFD packet to send [01:14:11]OFD Sender: No OFD packet to send [01:14:16]OFD Sender: No OFD packet to send [01:14:21]OFD Sender: No OFD packet to send [01:14:26]OFD Sender: No OFD packet to send [01:14:31]OFD Sender: No OFD packet to send [01:14:36]OFD Sender: No OFD packet to send [01:14:41]OFD Sender: No OFD packet to send [01:14:46]OFD Sender: No OFD packet to send [01:14:51]OFD Sender: No OFD packet to send [01:14:56]OFD Sender: No OFD packet to send [01:15:01]OFD Sender: No OFD packet to send [01:15:06]OFD Sender: No OFD packet to send [01:15:11]OFD Sender: No OFD packet to send [01:15:16]OFD Sender: No OFD packet to send [01:15:21]OFD Sender: No OFD packet to send [01:15:26]OFD Sender: No OFD packet to send [01:15:31]OFD Sender: No OFD packet to send [01:15:36]OFD Sender: No OFD packet to send [01:15:41]OFD Sender: No OFD packet to send [01:15:46]OFD Sender: No OFD packet to send [01:15:51]OFD Sender: No OFD packet to send [01:15:56]OFD Sender: No OFD packet to send [01:16:01]OFD Sender: No OFD packet to send [01:16:06]OFD Sender: No OFD packet to send [01:16:11]OFD Sender: No OFD packet to send [01:16:16]OFD Sender: No OFD packet to send [01:16:21]OFD Sender: No OFD packet to send [01:16:26]OFD Sender: No OFD packet to send [01:16:31]OFD Sender: No OFD packet to send [01:16:36]OFD Sender: No OFD packet to send [01:16:41]OFD Sender: No OFD packet to send [01:16:46]OFD Sender: No OFD packet to send [01:16:51]OFD Sender: No OFD packet to send [01:16:56]OFD Sender: No OFD packet to send [01:17:01]OFD Sender: No OFD packet to send [01:17:06]OFD Sender: No OFD packet to send [01:17:11]OFD Sender: No OFD packet to send [01:17:16]OFD Sender: No OFD packet to send [01:17:21]OFD Sender: No OFD packet to send [01:17:26]OFD Sender: No OFD packet to send [01:17:31]OFD Sender: No OFD packet to send [01:17:36]OFD Sender: No OFD packet to send [01:17:41]OFD Sender: No OFD packet to send [01:17:46]OFD Sender: No OFD packet to send [01:17:51]OFD Sender: No OFD packet to send [01:17:56]OFD Sender: No OFD packet to send [01:18:01]OFD Sender: No OFD packet to send [01:18:06]OFD Sender: No OFD packet to send [01:18:11]OFD Sender: No OFD packet to send [01:18:16]OFD Sender: No OFD packet to send [01:18:21]OFD Sender: No OFD packet to send [01:18:26]OFD Sender: No OFD packet to send [01:18:31]OFD Sender: No OFD packet to send [01:18:36]OFD Sender: No OFD packet to send [01:18:41]OFD Sender: No OFD packet to send [01:18:46]OFD Sender: No OFD packet to send [01:18:51]OFD Sender: No OFD packet to send [01:18:56]OFD Sender: No OFD packet to send [01:19:01]OFD Sender: No OFD packet to send [01:19:06]OFD Sender: No OFD packet to send [01:19:11]OFD Sender: No OFD packet to send [01:19:16]OFD Sender: No OFD packet to send [01:19:21]OFD Sender: No OFD packet to send [01:19:26]OFD Sender: No OFD packet to send [01:19:31]OFD Sender: No OFD packet to send [01:19:36]OFD Sender: No OFD packet to send [01:19:41]OFD Sender: No OFD packet to send [01:19:46]OFD Sender: No OFD packet to send [01:19:51]OFD Sender: No OFD packet to send [01:19:56]OFD Sender: No OFD packet to send [01:20:01]OFD Sender: No OFD packet to send [01:20:06]OFD Sender: No OFD packet to send [01:20:11]OFD Sender: No OFD packet to send [01:20:16]OFD Sender: No OFD packet to send [01:20:21]OFD Sender: No OFD packet to send [01:20:26]OFD Sender: No OFD packet to send [01:20:31]OFD Sender: No OFD packet to send [01:20:36]OFD Sender: No OFD packet to send [01:20:41]OFD Sender: No OFD packet to send [01:20:46]OFD Sender: No OFD packet to send [01:20:51]OFD Sender: No OFD packet to send [01:20:56]OFD Sender: No OFD packet to send [01:21:01]OFD Sender: No OFD packet to send [01:21:06]OFD Sender: No OFD packet to send [01:21:11]OFD Sender: No OFD packet to send [01:21:16]OFD Sender: No OFD packet to send [01:21:21]OFD Sender: No OFD packet to send [01:21:26]OFD Sender: No OFD packet to send [01:21:31]OFD Sender: No OFD packet to send [01:21:36]OFD Sender: No OFD packet to send [01:21:41]OFD Sender: No OFD packet to send [01:21:46]OFD Sender: No OFD packet to send [01:21:51]OFD Sender: No OFD packet to send [01:21:56]OFD Sender: No OFD packet to send [01:22:01]OFD Sender: No OFD packet to send [01:22:06]OFD Sender: No OFD packet to send [01:22:11]OFD Sender: No OFD packet to send [01:22:16]OFD Sender: No OFD packet to send [01:22:21]OFD Sender: No OFD packet to send [01:22:26]OFD Sender: No OFD packet to send [01:22:31]OFD Sender: No OFD packet to send [01:22:36]OFD Sender: No OFD packet to send [01:22:41]OFD Sender: No OFD packet to send [01:22:46]OFD Sender: No OFD packet to send [01:22:51]OFD Sender: No OFD packet to send [01:22:56]OFD Sender: No OFD packet to send [01:23:01]OFD Sender: No OFD packet to send [01:23:06]OFD Sender: No OFD packet to send [01:23:11]OFD Sender: No OFD packet to send [01:23:16]OFD Sender: No OFD packet to send [01:23:21]OFD Sender: No OFD packet to send [01:23:26]OFD Sender: No OFD packet to send [01:23:31]OFD Sender: No OFD packet to send [01:23:36]OFD Sender: No OFD packet to send [01:23:41]OFD Sender: No OFD packet to send [01:23:46]OFD Sender: No OFD packet to send [01:23:51]OFD Sender: No OFD packet to send [01:23:56]OFD Sender: No OFD packet to send [01:24:01]OFD Sender: No OFD packet to send [01:24:06]OFD Sender: No OFD packet to send [01:24:11]OFD Sender: No OFD packet to send [01:24:16]OFD Sender: No OFD packet to send [01:24:21]OFD Sender: No OFD packet to send [01:24:26]OFD Sender: No OFD packet to send [01:24:31]OFD Sender: No OFD packet to send [01:24:36]OFD Sender: No OFD packet to send [01:24:41]OFD Sender: No OFD packet to send [01:24:46]OFD Sender: No OFD packet to send [01:24:51]OFD Sender: No OFD packet to send [01:24:56]OFD Sender: No OFD packet to send [01:25:01]recv_with_timeout no data received [01:25:01]OFD Sender: No OFD packet to send [01:25:06]OFD Sender: No OFD packet to send [01:25:11]OFD Sender: No OFD packet to send [01:25:16]OFD Sender: No OFD packet to send [01:25:21]OFD Sender: No OFD packet to send [01:25:26]OFD Sender: No OFD packet to send [01:25:31]OFD Sender: No OFD packet to send [01:25:36]OFD Sender: No OFD packet to send [01:25:41]OFD Sender: No OFD packet to send [01:25:46]OFD Sender: No OFD packet to send [01:25:51]OFD Sender: No OFD packet to send [01:25:56]OFD Sender: No OFD packet to send [01:26:01]OFD Sender: No OFD packet to send [01:26:06]OFD Sender: No OFD packet to send [01:26:11]OFD Sender: No OFD packet to send [01:26:16]OFD Sender: No OFD packet to send [01:26:21]OFD Sender: No OFD packet to send [01:26:26]OFD Sender: No OFD packet to send [01:26:31]OFD Sender: No OFD packet to send [01:26:36]OFD Sender: No OFD packet to send [01:26:41]OFD Sender: No OFD packet to send [01:26:46]OFD Sender: No OFD packet to send [01:26:51]OFD Sender: No OFD packet to send [01:26:56]OFD Sender: No OFD packet to send [01:27:01]OFD Sender: No OFD packet to send [01:27:06]OFD Sender: No OFD packet to send [01:27:11]OFD Sender: No OFD packet to send [01:27:16]OFD Sender: No OFD packet to send [01:27:21]OFD Sender: No OFD packet to send [01:27:26]OFD Sender: No OFD packet to send [01:27:31]OFD Sender: No OFD packet to send [01:27:36]OFD Sender: No OFD packet to send [01:27:41]OFD Sender: No OFD packet to send [01:27:46]OFD Sender: No OFD packet to send [01:27:51]OFD Sender: No OFD packet to send [01:27:56]OFD Sender: No OFD packet to send [01:28:01]OFD Sender: No OFD packet to send [01:28:06]OFD Sender: No OFD packet to send [01:28:11]OFD Sender: No OFD packet to send [01:28:16]OFD Sender: No OFD packet to send [01:28:21]OFD Sender: No OFD packet to send [01:28:26]OFD Sender: No OFD packet to send [01:28:31]OFD Sender: No OFD packet to send [01:28:36]OFD Sender: No OFD packet to send [01:28:41]OFD Sender: No OFD packet to send [01:28:46]OFD Sender: No OFD packet to send [01:28:51]OFD Sender: No OFD packet to send [01:28:56]OFD Sender: No OFD packet to send [01:29:01]OFD Sender: No OFD packet to send [01:29:06]OFD Sender: No OFD packet to send [01:29:11]OFD Sender: No OFD packet to send [01:29:16]OFD Sender: No OFD packet to send [01:29:21]OFD Sender: No OFD packet to send [01:29:26]OFD Sender: No OFD packet to send [01:29:31]OFD Sender: No OFD packet to send [01:29:36]OFD Sender: No OFD packet to send [01:29:41]OFD Sender: No OFD packet to send [01:29:46]OFD Sender: No OFD packet to send [01:29:51]OFD Sender: No OFD packet to send [01:29:56]OFD Sender: No OFD packet to send [01:30:01]OFD Sender: No OFD packet to send [01:30:06]OFD Sender: No OFD packet to send [01:30:11]OFD Sender: No OFD packet to send [01:30:16]OFD Sender: No OFD packet to send [01:30:21]OFD Sender: No OFD packet to send [01:30:26]OFD Sender: No OFD packet to send [01:30:31]OFD Sender: No OFD packet to send [01:30:36]OFD Sender: No OFD packet to send [01:30:41]OFD Sender: No OFD packet to send [01:30:46]OFD Sender: No OFD packet to send [01:30:51]OFD Sender: No OFD packet to send [01:30:56]OFD Sender: No OFD packet to send [01:31:01]OFD Sender: No OFD packet to send [01:31:06]OFD Sender: No OFD packet to send [01:31:11]OFD Sender: No OFD packet to send [01:31:16]OFD Sender: No OFD packet to send [01:31:21]OFD Sender: No OFD packet to send [01:31:26]OFD Sender: No OFD packet to send [01:31:31]OFD Sender: No OFD packet to send [01:31:36]OFD Sender: No OFD packet to send [01:31:41]OFD Sender: No OFD packet to send [01:31:46]OFD Sender: No OFD packet to send [01:31:51]OFD Sender: No OFD packet to send [01:31:56]OFD Sender: No OFD packet to send [01:32:01]OFD Sender: No OFD packet to send [01:32:06]OFD Sender: No OFD packet to send [01:32:11]OFD Sender: No OFD packet to send [01:32:16]OFD Sender: No OFD packet to send [01:32:21]OFD Sender: No OFD packet to send [01:32:26]OFD Sender: No OFD packet to send [01:32:31]OFD Sender: No OFD packet to send [01:32:36]OFD Sender: No OFD packet to send [01:32:41]OFD Sender: No OFD packet to send [01:32:46]OFD Sender: No OFD packet to send [01:32:51]OFD Sender: No OFD packet to send [01:32:56]OFD Sender: No OFD packet to send [01:33:01]OFD Sender: No OFD packet to send [01:33:06]OFD Sender: No OFD packet to send [01:33:11]OFD Sender: No OFD packet to send [01:33:16]OFD Sender: No OFD packet to send [01:33:21]OFD Sender: No OFD packet to send [01:33:26]OFD Sender: No OFD packet to send [01:33:31]OFD Sender: No OFD packet to send [01:33:36]OFD Sender: No OFD packet to send [01:33:41]OFD Sender: No OFD packet to send [01:33:46]OFD Sender: No OFD packet to send [01:33:51]OFD Sender: No OFD packet to send [01:33:56]OFD Sender: No OFD packet to send [01:34:01]OFD Sender: No OFD packet to send [01:34:07]OFD Sender: No OFD packet to send [01:34:12]OFD Sender: No OFD packet to send [01:34:17]OFD Sender: No OFD packet to send [01:34:22]OFD Sender: No OFD packet to send [01:34:27]OFD Sender: No OFD packet to send [01:34:32]OFD Sender: No OFD packet to send [01:34:37]OFD Sender: No OFD packet to send [01:34:42]OFD Sender: No OFD packet to send [01:34:47]OFD Sender: No OFD packet to send [01:34:52]OFD Sender: No OFD packet to send [01:34:57]OFD Sender: No OFD packet to send [01:35:02]OFD Sender: No OFD packet to send [01:35:07]OFD Sender: No OFD packet to send [01:35:12]OFD Sender: No OFD packet to send [01:35:17]OFD Sender: No OFD packet to send [01:35:22]OFD Sender: No OFD packet to send [01:35:27]OFD Sender: No OFD packet to send [01:35:32]OFD Sender: No OFD packet to send [01:35:37]OFD Sender: No OFD packet to send [01:35:42]OFD Sender: No OFD packet to send [01:35:47]OFD Sender: No OFD packet to send [01:35:52]OFD Sender: No OFD packet to send [01:35:57]OFD Sender: No OFD packet to send [01:36:02]OFD Sender: No OFD packet to send [01:36:07]OFD Sender: No OFD packet to send [01:36:12]OFD Sender: No OFD packet to send [01:36:17]OFD Sender: No OFD packet to send [01:36:22]OFD Sender: No OFD packet to send [01:36:37]OFD Sender: No OFD packet to send [01:36:42]OFD Sender: No OFD packet to send [01:36:47]OFD Sender: No OFD packet to send [01:36:52]OFD Sender: No OFD packet to send [01:36:53]recv_with_timeout no data received [01:36:57]OFD Sender: No OFD packet to send [01:37:02]OFD Sender: No OFD packet to send [01:37:07]OFD Sender: No OFD packet to send [01:37:12]OFD Sender: No OFD packet to send [01:37:17]OFD Sender: No OFD packet to send [01:37:22]OFD Sender: No OFD packet to send [01:37:27]OFD Sender: No OFD packet to send [01:37:32]OFD Sender: No OFD packet to send [01:37:37]OFD Sender: No OFD packet to send [01:37:42]OFD Sender: No OFD packet to send [01:37:47]OFD Sender: No OFD packet to send [01:37:52]OFD Sender: No OFD packet to send [01:37:57]OFD Sender: No OFD packet to send [01:38:02]OFD Sender: No OFD packet to send [01:38:07]OFD Sender: No OFD packet to send [01:38:12]OFD Sender: No OFD packet to send [01:38:17]OFD Sender: No OFD packet to send [01:38:22]OFD Sender: No OFD packet to send [01:38:27]OFD Sender: No OFD packet to send [01:38:32]OFD Sender: No OFD packet to send [01:38:37]OFD Sender: No OFD packet to send [01:38:42]OFD Sender: No OFD packet to send [01:38:47]OFD Sender: No OFD packet to send [01:38:52]OFD Sender: No OFD packet to send [01:38:57]OFD Sender: No OFD packet to send [01:39:02]OFD Sender: No OFD packet to send [01:39:07]OFD Sender: No OFD packet to send [01:39:12]OFD Sender: No OFD packet to send [01:39:17]OFD Sender: No OFD packet to send [01:39:22]OFD Sender: No OFD packet to send [01:39:27]OFD Sender: No OFD packet to send [01:39:32]OFD Sender: No OFD packet to send [01:39:37]OFD Sender: No OFD packet to send [01:39:42]OFD Sender: No OFD packet to send [01:39:47]OFD Sender: No OFD packet to send [01:39:52]OFD Sender: No OFD packet to send [01:39:57]OFD Sender: No OFD packet to send [01:40:02]OFD Sender: No OFD packet to send [01:40:07]OFD Sender: No OFD packet to send [01:40:12]OFD Sender: No OFD packet to send [01:40:17]OFD Sender: No OFD packet to send [01:40:22]OFD Sender: No OFD packet to send [01:40:27]OFD Sender: No OFD packet to send [01:40:32]OFD Sender: No OFD packet to send [01:40:37]OFD Sender: No OFD packet to send [01:40:42]OFD Sender: No OFD packet to send [01:40:47]OFD Sender: No OFD packet to send [01:40:52]OFD Sender: No OFD packet to send [01:40:57]OFD Sender: No OFD packet to send [01:41:02]OFD Sender: No OFD packet to send [01:41:07]OFD Sender: No OFD packet to send [01:41:12]OFD Sender: No OFD packet to send [01:41:17]OFD Sender: No OFD packet to send [01:41:22]OFD Sender: No OFD packet to send [01:41:27]OFD Sender: No OFD packet to send [01:41:32]OFD Sender: No OFD packet to send [01:41:37]OFD Sender: No OFD packet to send [01:41:42]OFD Sender: No OFD packet to send [01:41:47]OFD Sender: No OFD packet to send [01:41:52]OFD Sender: No OFD packet to send [01:41:57]OFD Sender: No OFD packet to send [01:42:02]OFD Sender: No OFD packet to send [01:42:07]OFD Sender: No OFD packet to send [01:42:12]OFD Sender: No OFD packet to send [01:42:17]OFD Sender: No OFD packet to send [01:42:22]OFD Sender: No OFD packet to send [01:42:27]OFD Sender: No OFD packet to send [01:42:32]OFD Sender: No OFD packet to send [01:42:37]OFD Sender: No OFD packet to send [01:42:42]OFD Sender: No OFD packet to send [01:42:47]OFD Sender: No OFD packet to send [01:42:52]OFD Sender: No OFD packet to send [01:42:57]OFD Sender: No OFD packet to send [01:43:02]OFD Sender: No OFD packet to send [01:43:07]OFD Sender: No OFD packet to send [01:43:12]OFD Sender: No OFD packet to send [01:43:17]OFD Sender: No OFD packet to send [01:43:22]OFD Sender: No OFD packet to send [01:43:27]OFD Sender: No OFD packet to send [01:43:32]OFD Sender: No OFD packet to send [01:43:37]OFD Sender: No OFD packet to send [01:43:42]OFD Sender: No OFD packet to send [01:43:47]OFD Sender: No OFD packet to send [01:43:52]OFD Sender: No OFD packet to send [01:43:57]OFD Sender: No OFD packet to send [01:44:02]OFD Sender: No OFD packet to send [01:44:07]OFD Sender: No OFD packet to send [01:44:12]OFD Sender: No OFD packet to send [01:44:17]OFD Sender: No OFD packet to send [01:44:18]recv_with_timeout no data received [01:44:22]OFD Sender: No OFD packet to send [01:44:27]OFD Sender: No OFD packet to send [01:44:32]OFD Sender: No OFD packet to send [01:44:37]OFD Sender: No OFD packet to send [01:44:42]OFD Sender: No OFD packet to send [01:44:47]OFD Sender: No OFD packet to send [01:44:52]OFD Sender: No OFD packet to send [01:44:57]OFD Sender: No OFD packet to send [01:45:02]OFD Sender: No OFD packet to send [01:45:07]OFD Sender: No OFD packet to send [01:45:12]OFD Sender: No OFD packet to send [01:45:17]OFD Sender: No OFD packet to send [01:45:22]OFD Sender: No OFD packet to send [01:45:27]OFD Sender: No OFD packet to send [01:45:32]OFD Sender: No OFD packet to send [01:45:37]OFD Sender: No OFD packet to send [01:45:42]OFD Sender: No OFD packet to send [01:45:44]recv_with_timeout no data received [01:45:47]OFD Sender: No OFD packet to send [01:45:52]OFD Sender: No OFD packet to send [01:45:57]OFD Sender: No OFD packet to send [01:46:02]OFD Sender: No OFD packet to send [01:46:07]OFD Sender: No OFD packet to send [01:46:12]OFD Sender: No OFD packet to send [01:46:17]OFD Sender: No OFD packet to send [01:46:22]OFD Sender: No OFD packet to send [01:46:27]OFD Sender: No OFD packet to send [01:46:32]OFD Sender: No OFD packet to send [01:46:37]OFD Sender: No OFD packet to send [01:46:42]OFD Sender: No OFD packet to send [01:46:47]OFD Sender: No OFD packet to send [01:46:52]OFD Sender: No OFD packet to send [01:46:57]OFD Sender: No OFD packet to send [01:47:02]OFD Sender: No OFD packet to send [01:47:07]OFD Sender: No OFD packet to send [01:47:12]OFD Sender: No OFD packet to send [01:47:17]OFD Sender: No OFD packet to send [01:47:22]OFD Sender: No OFD packet to send [01:47:27]OFD Sender: No OFD packet to send [01:47:32]OFD Sender: No OFD packet to send [01:47:37]OFD Sender: No OFD packet to send [01:47:42]OFD Sender: No OFD packet to send [01:47:47]OFD Sender: No OFD packet to send [01:47:52]OFD Sender: No OFD packet to send [01:47:57]OFD Sender: No OFD packet to send [01:48:02]OFD Sender: No OFD packet to send [01:48:07]OFD Sender: No OFD packet to send [01:48:12]OFD Sender: No OFD packet to send [01:48:17]OFD Sender: No OFD packet to send [01:48:22]OFD Sender: No OFD packet to send [01:48:27]OFD Sender: No OFD packet to send [01:48:32]OFD Sender: No OFD packet to send [01:48:37]OFD Sender: No OFD packet to send [01:48:42]OFD Sender: No OFD packet to send [01:48:47]OFD Sender: No OFD packet to send [01:48:52]OFD Sender: No OFD packet to send [01:48:57]OFD Sender: No OFD packet to send [01:49:02]OFD Sender: No OFD packet to send [01:49:07]OFD Sender: No OFD packet to send [01:49:12]OFD Sender: No OFD packet to send [01:49:17]OFD Sender: No OFD packet to send [01:49:22]OFD Sender: No OFD packet to send [01:49:27]OFD Sender: No OFD packet to send [01:49:32]OFD Sender: No OFD packet to send [01:49:37]OFD Sender: No OFD packet to send [01:49:42]OFD Sender: No OFD packet to send [01:49:47]OFD Sender: No OFD packet to send [01:49:52]OFD Sender: No OFD packet to send [01:49:57]OFD Sender: No OFD packet to send [01:50:02]OFD Sender: No OFD packet to send [01:50:07]OFD Sender: No OFD packet to send [01:50:12]OFD Sender: No OFD packet to send [01:50:17]OFD Sender: No OFD packet to send [01:50:22]OFD Sender: No OFD packet to send [01:50:27]OFD Sender: No OFD packet to send [01:50:32]OFD Sender: No OFD packet to send [01:50:37]OFD Sender: No OFD packet to send [01:50:42]OFD Sender: No OFD packet to send [01:50:47]OFD Sender: No OFD packet to send [01:50:52]OFD Sender: No OFD packet to send [01:50:57]OFD Sender: No OFD packet to send [01:51:02]OFD Sender: No OFD packet to send [01:51:07]OFD Sender: No OFD packet to send [01:51:12]OFD Sender: No OFD packet to send [01:51:17]OFD Sender: No OFD packet to send [01:51:22]OFD Sender: No OFD packet to send [01:51:27]OFD Sender: No OFD packet to send [01:51:32]OFD Sender: No OFD packet to send [01:51:37]OFD Sender: No OFD packet to send [01:51:42]OFD Sender: No OFD packet to send [01:51:47]OFD Sender: No OFD packet to send [01:51:52]OFD Sender: No OFD packet to send [01:51:57]OFD Sender: No OFD packet to send [01:52:02]OFD Sender: No OFD packet to send [01:52:07]OFD Sender: No OFD packet to send [01:52:12]OFD Sender: No OFD packet to send [01:52:17]OFD Sender: No OFD packet to send [01:52:22]OFD Sender: No OFD packet to send [01:52:27]OFD Sender: No OFD packet to send [01:52:32]OFD Sender: No OFD packet to send [01:52:37]OFD Sender: No OFD packet to send [01:52:42]OFD Sender: No OFD packet to send [01:52:47]OFD Sender: No OFD packet to send [01:52:52]OFD Sender: No OFD packet to send [01:52:57]OFD Sender: No OFD packet to send [01:53:02]OFD Sender: No OFD packet to send [01:53:07]OFD Sender: No OFD packet to send [01:53:12]OFD Sender: No OFD packet to send [01:53:17]OFD Sender: No OFD packet to send [01:53:22]OFD Sender: No OFD packet to send [01:53:27]OFD Sender: No OFD packet to send [01:53:32]OFD Sender: No OFD packet to send [01:53:37]OFD Sender: No OFD packet to send [01:53:42]OFD Sender: No OFD packet to send [01:53:47]OFD Sender: No OFD packet to send [01:53:52]OFD Sender: No OFD packet to send [01:53:57]OFD Sender: No OFD packet to send [01:54:02]OFD Sender: No OFD packet to send [01:54:07]OFD Sender: No OFD packet to send [01:54:12]OFD Sender: No OFD packet to send [01:54:17]OFD Sender: No OFD packet to send [01:54:22]OFD Sender: No OFD packet to send [01:54:27]OFD Sender: No OFD packet to send [01:54:32]OFD Sender: No OFD packet to send [01:54:37]OFD Sender: No OFD packet to send [01:54:42]OFD Sender: No OFD packet to send [01:54:47]OFD Sender: No OFD packet to send [01:54:52]OFD Sender: No OFD packet to send [01:54:57]OFD Sender: No OFD packet to send [01:55:02]OFD Sender: No OFD packet to send [01:55:07]OFD Sender: No OFD packet to send [01:55:12]OFD Sender: No OFD packet to send [01:55:17]OFD Sender: No OFD packet to send [01:55:22]OFD Sender: No OFD packet to send [01:55:27]OFD Sender: No OFD packet to send [01:55:33]OFD Sender: No OFD packet to send [01:55:38]OFD Sender: No OFD packet to send [01:55:43]OFD Sender: No OFD packet to send [01:55:48]OFD Sender: No OFD packet to send [01:55:53]OFD Sender: No OFD packet to send [01:55:58]OFD Sender: No OFD packet to send [01:56:03]OFD Sender: No OFD packet to send [01:56:08]OFD Sender: No OFD packet to send [01:56:13]OFD Sender: No OFD packet to send [01:56:18]OFD Sender: No OFD packet to send [01:56:23]OFD Sender: No OFD packet to send [01:56:28]OFD Sender: No OFD packet to send [01:56:33]OFD Sender: No OFD packet to send [01:56:38]OFD Sender: No OFD packet to send [01:56:43]OFD Sender: No OFD packet to send [01:56:48]OFD Sender: No OFD packet to send [01:56:53]OFD Sender: No OFD packet to send [01:56:58]OFD Sender: No OFD packet to send [01:57:03]OFD Sender: No OFD packet to send [01:57:08]OFD Sender: No OFD packet to send [01:57:13]OFD Sender: No OFD packet to send [01:57:18]OFD Sender: No OFD packet to send [01:57:23]OFD Sender: No OFD packet to send [01:57:28]OFD Sender: No OFD packet to send [01:57:33]OFD Sender: No OFD packet to send [01:57:38]OFD Sender: No OFD packet to send [01:57:43]OFD Sender: No OFD packet to send [01:57:48]OFD Sender: No OFD packet to send [01:57:53]OFD Sender: No OFD packet to send [01:57:58]OFD Sender: No OFD packet to send [01:58:03]OFD Sender: No OFD packet to send [01:58:08]OFD Sender: No OFD packet to send [01:58:13]OFD Sender: No OFD packet to send [01:58:17]recv_with_timeout no data received [01:58:18]OFD Sender: No OFD packet to send [01:58:23]OFD Sender: No OFD packet to send [01:58:28]OFD Sender: No OFD packet to send [01:58:33]OFD Sender: No OFD packet to send [01:58:38]OFD Sender: No OFD packet to send [01:58:43]OFD Sender: No OFD packet to send [01:58:48]OFD Sender: No OFD packet to send [01:58:53]OFD Sender: No OFD packet to send [01:58:58]OFD Sender: No OFD packet to send [01:59:03]OFD Sender: No OFD packet to send [01:59:08]OFD Sender: No OFD packet to send [01:59:13]OFD Sender: No OFD packet to send [01:59:18]OFD Sender: No OFD packet to send [01:59:23]OFD Sender: No OFD packet to send [01:59:28]OFD Sender: No OFD packet to send [01:59:33]OFD Sender: No OFD packet to send [01:59:38]OFD Sender: No OFD packet to send [01:59:43]OFD Sender: No OFD packet to send [01:59:48]OFD Sender: No OFD packet to send [01:59:53]OFD Sender: No OFD packet to send [01:59:58]OFD Sender: No OFD packet to send [02:00:03]OFD Sender: No OFD packet to send [02:00:08]OFD Sender: No OFD packet to send [02:00:13]OFD Sender: No OFD packet to send [02:00:18]OFD Sender: No OFD packet to send [02:00:23]OFD Sender: No OFD packet to send [02:00:28]OFD Sender: No OFD packet to send [02:00:33]OFD Sender: No OFD packet to send [02:00:38]OFD Sender: No OFD packet to send [02:00:43]OFD Sender: No OFD packet to send [02:00:48]OFD Sender: No OFD packet to send [02:00:53]OFD Sender: No OFD packet to send [02:00:58]OFD Sender: No OFD packet to send [02:01:03]OFD Sender: No OFD packet to send [02:01:08]OFD Sender: No OFD packet to send [02:01:13]OFD Sender: No OFD packet to send [02:01:18]OFD Sender: No OFD packet to send [02:01:23]OFD Sender: No OFD packet to send [02:01:28]OFD Sender: No OFD packet to send [02:01:33]OFD Sender: No OFD packet to send [02:01:38]OFD Sender: No OFD packet to send [02:01:43]OFD Sender: No OFD packet to send [02:01:48]OFD Sender: No OFD packet to send [02:01:53]OFD Sender: No OFD packet to send [02:01:58]OFD Sender: No OFD packet to send [02:02:03]OFD Sender: No OFD packet to send [02:02:06]recv_with_timeout no data received [02:02:08]OFD Sender: No OFD packet to send [02:02:13]OFD Sender: No OFD packet to send [02:02:18]OFD Sender: No OFD packet to send [02:02:23]OFD Sender: No OFD packet to send [02:02:28]OFD Sender: No OFD packet to send [02:02:33]OFD Sender: No OFD packet to send [02:02:38]OFD Sender: No OFD packet to send [02:02:43]OFD Sender: No OFD packet to send [02:02:48]OFD Sender: No OFD packet to send [02:02:53]OFD Sender: No OFD packet to send [02:02:58]OFD Sender: No OFD packet to send [02:03:03]OFD Sender: No OFD packet to send [02:03:08]OFD Sender: No OFD packet to send [02:03:13]OFD Sender: No OFD packet to send [02:03:18]OFD Sender: No OFD packet to send [02:03:23]OFD Sender: No OFD packet to send [02:03:28]OFD Sender: No OFD packet to send [02:03:33]OFD Sender: No OFD packet to send [02:03:38]OFD Sender: No OFD packet to send [02:03:43]OFD Sender: No OFD packet to send [02:03:48]OFD Sender: No OFD packet to send [02:03:53]OFD Sender: No OFD packet to send [02:03:58]OFD Sender: No OFD packet to send [02:04:03]OFD Sender: No OFD packet to send [02:04:08]OFD Sender: No OFD packet to send [02:04:13]OFD Sender: No OFD packet to send [02:04:18]OFD Sender: No OFD packet to send [02:04:23]OFD Sender: No OFD packet to send [02:04:28]OFD Sender: No OFD packet to send [02:04:33]OFD Sender: No OFD packet to send [02:04:38]OFD Sender: No OFD packet to send [02:04:43]OFD Sender: No OFD packet to send [02:04:45]recv_with_timeout no data received [02:04:48]OFD Sender: No OFD packet to send [02:04:53]OFD Sender: No OFD packet to send [02:04:58]OFD Sender: No OFD packet to send [02:05:03]OFD Sender: No OFD packet to send [02:05:08]OFD Sender: No OFD packet to send [02:05:13]OFD Sender: No OFD packet to send [02:05:18]OFD Sender: No OFD packet to send [02:05:23]OFD Sender: No OFD packet to send [02:05:28]OFD Sender: No OFD packet to send [02:05:33]OFD Sender: No OFD packet to send [02:05:38]OFD Sender: No OFD packet to send [02:05:43]OFD Sender: No OFD packet to send [02:05:48]OFD Sender: No OFD packet to send [02:05:53]OFD Sender: No OFD packet to send [02:05:58]OFD Sender: No OFD packet to send [02:06:03]OFD Sender: No OFD packet to send [02:06:08]OFD Sender: No OFD packet to send [02:06:13]OFD Sender: No OFD packet to send [02:06:18]OFD Sender: No OFD packet to send [02:06:23]OFD Sender: No OFD packet to send [02:06:28]OFD Sender: No OFD packet to send [02:06:33]OFD Sender: No OFD packet to send [02:06:38]OFD Sender: No OFD packet to send [02:06:43]OFD Sender: No OFD packet to send [02:06:48]OFD Sender: No OFD packet to send [02:06:53]OFD Sender: No OFD packet to send [02:06:58]OFD Sender: No OFD packet to send [02:07:03]OFD Sender: No OFD packet to send [02:07:08]OFD Sender: No OFD packet to send [02:07:13]OFD Sender: No OFD packet to send [02:07:18]OFD Sender: No OFD packet to send [02:07:23]OFD Sender: No OFD packet to send [02:07:24]recv_with_timeout no data received [02:07:28]OFD Sender: No OFD packet to send [02:07:33]OFD Sender: No OFD packet to send [02:07:38]OFD Sender: No OFD packet to send [02:07:39]recv_with_timeout no data received [02:07:43]OFD Sender: No OFD packet to send [02:07:48]OFD Sender: No OFD packet to send [02:07:53]OFD Sender: No OFD packet to send [02:07:58]OFD Sender: No OFD packet to send [02:08:03]OFD Sender: No OFD packet to send [02:08:08]OFD Sender: No OFD packet to send [02:08:13]OFD Sender: No OFD packet to send [02:08:18]OFD Sender: No OFD packet to send [02:08:23]OFD Sender: No OFD packet to send [02:08:25]recv_with_timeout no data received [02:08:28]OFD Sender: No OFD packet to send [02:08:33]OFD Sender: No OFD packet to send [02:08:38]OFD Sender: No OFD packet to send [02:08:43]OFD Sender: No OFD packet to send [02:08:48]OFD Sender: No OFD packet to send [02:08:53]OFD Sender: No OFD packet to send [02:08:58]OFD Sender: No OFD packet to send [02:09:03]OFD Sender: No OFD packet to send [02:09:08]OFD Sender: No OFD packet to send [02:09:13]OFD Sender: No OFD packet to send [02:09:18]OFD Sender: No OFD packet to send [02:09:23]OFD Sender: No OFD packet to send [02:09:28]OFD Sender: No OFD packet to send [02:09:33]OFD Sender: No OFD packet to send [02:09:38]OFD Sender: No OFD packet to send [02:09:43]OFD Sender: No OFD packet to send [02:09:48]OFD Sender: No OFD packet to send [02:09:53]OFD Sender: No OFD packet to send [02:09:58]OFD Sender: No OFD packet to send [02:10:03]OFD Sender: No OFD packet to send [02:10:08]OFD Sender: No OFD packet to send [02:10:11]recv_with_timeout no data received [02:10:13]OFD Sender: No OFD packet to send [02:10:18]OFD Sender: No OFD packet to send [02:10:23]OFD Sender: No OFD packet to send [02:10:28]OFD Sender: No OFD packet to send [02:10:33]OFD Sender: No OFD packet to send [02:10:38]OFD Sender: No OFD packet to send [02:10:43]recv_with_timeout no data received [02:10:43]OFD Sender: No OFD packet to send [02:10:48]OFD Sender: No OFD packet to send [02:10:53]OFD Sender: No OFD packet to send [02:10:58]OFD Sender: No OFD packet to send [02:11:03]OFD Sender: No OFD packet to send [02:11:08]OFD Sender: No OFD packet to send [02:11:13]OFD Sender: No OFD packet to send [02:11:18]OFD Sender: No OFD packet to send [02:11:23]OFD Sender: No OFD packet to send [02:11:28]OFD Sender: No OFD packet to send [02:11:33]OFD Sender: No OFD packet to send [02:11:38]OFD Sender: No OFD packet to send [02:11:43]OFD Sender: No OFD packet to send [02:11:48]OFD Sender: No OFD packet to send [02:11:53]OFD Sender: No OFD packet to send [02:11:58]OFD Sender: No OFD packet to send [02:12:03]OFD Sender: No OFD packet to send [02:12:08]OFD Sender: No OFD packet to send [02:12:13]OFD Sender: No OFD packet to send [02:12:18]OFD Sender: No OFD packet to send [02:12:23]OFD Sender: No OFD packet to send [02:12:28]OFD Sender: No OFD packet to send [02:12:33]OFD Sender: No OFD packet to send [02:12:38]OFD Sender: No OFD packet to send [02:12:43]OFD Sender: No OFD packet to send [02:12:48]OFD Sender: No OFD packet to send [02:12:53]OFD Sender: No OFD packet to send [02:12:58]OFD Sender: No OFD packet to send [02:13:03]OFD Sender: No OFD packet to send [02:13:08]OFD Sender: No OFD packet to send [02:13:10]recv_with_timeout no data received [02:13:13]OFD Sender: No OFD packet to send [02:13:18]OFD Sender: No OFD packet to send [02:13:23]OFD Sender: No OFD packet to send [02:13:28]OFD Sender: No OFD packet to send [02:13:33]OFD Sender: No OFD packet to send [02:13:38]OFD Sender: No OFD packet to send [02:13:43]OFD Sender: No OFD packet to send [02:13:48]OFD Sender: No OFD packet to send [02:13:53]OFD Sender: No OFD packet to send [02:13:58]OFD Sender: No OFD packet to send [02:14:03]OFD Sender: No OFD packet to send [02:14:08]OFD Sender: No OFD packet to send [02:14:13]OFD Sender: No OFD packet to send [02:14:18]OFD Sender: No OFD packet to send [02:14:23]OFD Sender: No OFD packet to send [02:14:28]OFD Sender: No OFD packet to send [02:14:33]OFD Sender: No OFD packet to send [02:14:38]OFD Sender: No OFD packet to send [02:14:43]OFD Sender: No OFD packet to send [02:14:48]OFD Sender: No OFD packet to send [02:14:53]OFD Sender: No OFD packet to send [02:14:58]OFD Sender: No OFD packet to send [02:15:03]OFD Sender: No OFD packet to send [02:15:08]OFD Sender: No OFD packet to send [02:15:13]OFD Sender: No OFD packet to send [02:15:18]OFD Sender: No OFD packet to send [02:15:23]OFD Sender: No OFD packet to send [02:15:28]OFD Sender: No OFD packet to send [02:15:33]OFD Sender: No OFD packet to send [02:15:38]OFD Sender: No OFD packet to send [02:15:43]OFD Sender: No OFD packet to send [02:15:48]OFD Sender: No OFD packet to send [02:15:53]OFD Sender: No OFD packet to send [02:15:58]OFD Sender: No OFD packet to send [02:16:03]OFD Sender: No OFD packet to send [02:16:08]OFD Sender: No OFD packet to send [02:16:13]OFD Sender: No OFD packet to send [02:16:18]OFD Sender: No OFD packet to send [02:16:23]OFD Sender: No OFD packet to send [02:16:28]OFD Sender: No OFD packet to send [02:16:33]OFD Sender: No OFD packet to send [02:16:38]OFD Sender: No OFD packet to send [02:16:43]OFD Sender: No OFD packet to send [02:16:48]OFD Sender: No OFD packet to send [02:16:53]OFD Sender: No OFD packet to send [02:16:58]OFD Sender: No OFD packet to send [02:17:03]OFD Sender: No OFD packet to send [02:17:09]OFD Sender: No OFD packet to send [02:17:14]OFD Sender: No OFD packet to send [02:17:19]OFD Sender: No OFD packet to send [02:17:24]OFD Sender: No OFD packet to send [02:17:29]OFD Sender: No OFD packet to send [02:17:34]OFD Sender: No OFD packet to send [02:17:39]OFD Sender: No OFD packet to send [02:17:44]OFD Sender: No OFD packet to send [02:17:49]OFD Sender: No OFD packet to send [02:17:54]OFD Sender: No OFD packet to send [02:17:59]OFD Sender: No OFD packet to send [02:18:04]OFD Sender: No OFD packet to send [02:18:09]OFD Sender: No OFD packet to send [02:18:14]OFD Sender: No OFD packet to send [02:18:19]OFD Sender: No OFD packet to send [02:18:24]OFD Sender: No OFD packet to send [02:18:29]OFD Sender: No OFD packet to send [02:18:34]OFD Sender: No OFD packet to send [02:18:39]OFD Sender: No OFD packet to send [02:18:44]OFD Sender: No OFD packet to send [02:18:49]OFD Sender: No OFD packet to send [02:18:54]OFD Sender: No OFD packet to send [02:18:59]OFD Sender: No OFD packet to send [02:19:04]OFD Sender: No OFD packet to send [02:19:09]OFD Sender: No OFD packet to send [02:19:14]OFD Sender: No OFD packet to send [02:19:19]OFD Sender: No OFD packet to send [02:19:24]OFD Sender: No OFD packet to send [02:19:29]OFD Sender: No OFD packet to send [02:19:34]OFD Sender: No OFD packet to send [02:19:39]OFD Sender: No OFD packet to send [02:19:44]OFD Sender: No OFD packet to send [02:19:49]OFD Sender: No OFD packet to send [02:19:54]OFD Sender: No OFD packet to send [02:19:59]OFD Sender: No OFD packet to send [02:20:04]OFD Sender: No OFD packet to send [02:20:09]OFD Sender: No OFD packet to send [02:20:14]OFD Sender: No OFD packet to send [02:20:19]OFD Sender: No OFD packet to send [02:20:24]OFD Sender: No OFD packet to send [02:20:29]OFD Sender: No OFD packet to send [02:20:34]OFD Sender: No OFD packet to send [02:20:39]OFD Sender: No OFD packet to send [02:20:44]OFD Sender: No OFD packet to send [02:20:49]OFD Sender: No OFD packet to send [02:20:54]OFD Sender: No OFD packet to send [02:20:59]OFD Sender: No OFD packet to send [02:21:04]OFD Sender: No OFD packet to send [02:21:09]OFD Sender: No OFD packet to send [02:21:14]OFD Sender: No OFD packet to send [02:21:19]OFD Sender: No OFD packet to send [02:21:24]OFD Sender: No OFD packet to send [02:21:29]OFD Sender: No OFD packet to send [02:21:34]OFD Sender: No OFD packet to send [02:21:39]OFD Sender: No OFD packet to send [02:21:44]OFD Sender: No OFD packet to send [02:21:49]OFD Sender: No OFD packet to send [02:21:54]OFD Sender: No OFD packet to send [02:21:59]OFD Sender: No OFD packet to send [02:22:04]OFD Sender: No OFD packet to send [02:22:09]OFD Sender: No OFD packet to send [02:22:14]OFD Sender: No OFD packet to send [02:22:19]OFD Sender: No OFD packet to send [02:22:24]OFD Sender: No OFD packet to send [02:22:29]OFD Sender: No OFD packet to send [02:22:34]OFD Sender: No OFD packet to send [02:22:39]OFD Sender: No OFD packet to send [02:22:44]OFD Sender: No OFD packet to send [02:22:49]OFD Sender: No OFD packet to send [02:22:54]OFD Sender: No OFD packet to send [02:22:59]OFD Sender: No OFD packet to send [02:23:04]OFD Sender: No OFD packet to send [02:23:09]OFD Sender: No OFD packet to send [02:23:14]OFD Sender: No OFD packet to send [02:23:19]OFD Sender: No OFD packet to send [02:23:24]OFD Sender: No OFD packet to send [02:23:29]OFD Sender: No OFD packet to send [02:23:34]OFD Sender: No OFD packet to send [02:23:39]OFD Sender: No OFD packet to send [02:23:44]OFD Sender: No OFD packet to send [02:23:49]OFD Sender: No OFD packet to send [02:23:54]OFD Sender: No OFD packet to send [02:23:59]OFD Sender: No OFD packet to send [02:24:04]OFD Sender: No OFD packet to send [02:24:09]OFD Sender: No OFD packet to send [02:24:14]OFD Sender: No OFD packet to send [02:24:19]OFD Sender: No OFD packet to send [02:24:24]OFD Sender: No OFD packet to send [02:24:29]OFD Sender: No OFD packet to send [02:24:34]OFD Sender: No OFD packet to send [02:24:39]OFD Sender: No OFD packet to send [02:24:44]OFD Sender: No OFD packet to send [02:24:49]OFD Sender: No OFD packet to send [02:24:54]OFD Sender: No OFD packet to send [02:24:59]OFD Sender: No OFD packet to send [02:25:04]OFD Sender: No OFD packet to send [02:25:09]OFD Sender: No OFD packet to send [02:25:14]OFD Sender: No OFD packet to send [02:25:19]OFD Sender: No OFD packet to send [02:25:24]OFD Sender: No OFD packet to send [02:25:29]OFD Sender: No OFD packet to send [02:25:34]OFD Sender: No OFD packet to send [02:25:39]OFD Sender: No OFD packet to send [02:25:44]OFD Sender: No OFD packet to send [02:25:49]OFD Sender: No OFD packet to send [02:25:54]OFD Sender: No OFD packet to send [02:25:59]OFD Sender: No OFD packet to send [02:26:04]OFD Sender: No OFD packet to send [02:26:09]OFD Sender: No OFD packet to send [02:26:14]OFD Sender: No OFD packet to send [02:26:19]OFD Sender: No OFD packet to send [02:26:24]OFD Sender: No OFD packet to send [02:26:29]OFD Sender: No OFD packet to send [02:26:34]OFD Sender: No OFD packet to send [02:26:39]OFD Sender: No OFD packet to send [02:26:44]OFD Sender: No OFD packet to send [02:26:49]OFD Sender: No OFD packet to send [02:26:54]OFD Sender: No OFD packet to send [02:26:59]OFD Sender: No OFD packet to send [02:27:04]OFD Sender: No OFD packet to send [02:27:09]OFD Sender: No OFD packet to send [02:27:14]OFD Sender: No OFD packet to send [02:27:19]OFD Sender: No OFD packet to send [02:27:24]OFD Sender: No OFD packet to send [02:27:29]OFD Sender: No OFD packet to send [02:27:34]OFD Sender: No OFD packet to send [02:27:39]OFD Sender: No OFD packet to send [02:27:44]OFD Sender: No OFD packet to send [02:27:49]OFD Sender: No OFD packet to send [02:27:54]OFD Sender: No OFD packet to send [02:27:59]OFD Sender: No OFD packet to send [02:28:04]OFD Sender: No OFD packet to send [02:28:09]OFD Sender: No OFD packet to send [02:28:14]OFD Sender: No OFD packet to send [02:28:19]OFD Sender: No OFD packet to send [02:28:24]OFD Sender: No OFD packet to send [02:28:29]OFD Sender: No OFD packet to send [02:28:34]OFD Sender: No OFD packet to send [02:28:39]OFD Sender: No OFD packet to send [02:28:44]OFD Sender: No OFD packet to send [02:28:49]OFD Sender: No OFD packet to send [02:28:54]OFD Sender: No OFD packet to send [02:28:59]OFD Sender: No OFD packet to send [02:29:04]OFD Sender: No OFD packet to send [02:29:09]OFD Sender: No OFD packet to send [02:29:14]OFD Sender: No OFD packet to send [02:29:19]OFD Sender: No OFD packet to send [02:29:24]OFD Sender: No OFD packet to send [02:29:29]OFD Sender: No OFD packet to send [02:29:34]OFD Sender: No OFD packet to send [02:29:39]OFD Sender: No OFD packet to send [02:29:44]OFD Sender: No OFD packet to send [02:29:49]OFD Sender: No OFD packet to send [02:29:54]OFD Sender: No OFD packet to send [02:29:59]OFD Sender: No OFD packet to send [02:30:04]OFD Sender: No OFD packet to send [02:30:09]OFD Sender: No OFD packet to send [02:30:14]OFD Sender: No OFD packet to send [02:30:19]OFD Sender: No OFD packet to send [02:30:24]OFD Sender: No OFD packet to send [02:30:29]OFD Sender: No OFD packet to send [02:30:34]OFD Sender: No OFD packet to send [02:30:39]OFD Sender: No OFD packet to send [02:30:44]OFD Sender: No OFD packet to send [02:30:49]OFD Sender: No OFD packet to send [02:30:54]OFD Sender: No OFD packet to send [02:30:59]OFD Sender: No OFD packet to send [02:31:04]OFD Sender: No OFD packet to send [02:31:09]OFD Sender: No OFD packet to send [02:31:14]OFD Sender: No OFD packet to send [02:31:19]OFD Sender: No OFD packet to send [02:31:24]OFD Sender: No OFD packet to send [02:31:29]OFD Sender: No OFD packet to send [02:31:34]OFD Sender: No OFD packet to send [02:31:39]OFD Sender: No OFD packet to send [02:31:44]OFD Sender: No OFD packet to send [02:31:49]OFD Sender: No OFD packet to send [02:31:54]OFD Sender: No OFD packet to send [02:31:59]OFD Sender: No OFD packet to send [02:32:04]OFD Sender: No OFD packet to send [02:32:09]OFD Sender: No OFD packet to send [02:32:14]OFD Sender: No OFD packet to send [02:32:19]OFD Sender: No OFD packet to send [02:32:24]OFD Sender: No OFD packet to send [02:32:29]OFD Sender: No OFD packet to send [02:32:34]OFD Sender: No OFD packet to send [02:32:39]OFD Sender: No OFD packet to send [02:32:44]OFD Sender: No OFD packet to send [02:32:49]OFD Sender: No OFD packet to send [02:32:54]OFD Sender: No OFD packet to send [02:32:59]OFD Sender: No OFD packet to send [02:33:04]OFD Sender: No OFD packet to send [02:33:09]OFD Sender: No OFD packet to send [02:33:14]OFD Sender: No OFD packet to send [02:33:19]OFD Sender: No OFD packet to send [02:33:24]OFD Sender: No OFD packet to send [02:33:29]OFD Sender: No OFD packet to send [02:33:34]OFD Sender: No OFD packet to send [02:33:39]OFD Sender: No OFD packet to send [02:33:44]OFD Sender: No OFD packet to send [02:33:49]OFD Sender: No OFD packet to send [02:33:54]OFD Sender: No OFD packet to send [02:33:59]OFD Sender: No OFD packet to send [02:34:04]OFD Sender: No OFD packet to send [02:34:09]OFD Sender: No OFD packet to send [02:34:14]OFD Sender: No OFD packet to send [02:34:19]OFD Sender: No OFD packet to send [02:34:24]OFD Sender: No OFD packet to send [02:34:29]OFD Sender: No OFD packet to send [02:34:34]OFD Sender: No OFD packet to send [02:34:39]OFD Sender: No OFD packet to send [02:34:44]OFD Sender: No OFD packet to send [02:34:49]OFD Sender: No OFD packet to send [02:34:54]OFD Sender: No OFD packet to send [02:34:59]OFD Sender: No OFD packet to send [02:35:04]OFD Sender: No OFD packet to send [02:35:09]OFD Sender: No OFD packet to send [02:35:14]OFD Sender: No OFD packet to send [02:35:19]OFD Sender: No OFD packet to send [02:35:24]OFD Sender: No OFD packet to send [02:35:29]OFD Sender: No OFD packet to send [02:35:34]OFD Sender: No OFD packet to send [02:35:39]OFD Sender: No OFD packet to send [02:35:44]OFD Sender: No OFD packet to send [02:35:49]OFD Sender: No OFD packet to send [02:35:54]OFD Sender: No OFD packet to send [02:35:59]OFD Sender: No OFD packet to send [02:36:04]OFD Sender: No OFD packet to send [02:36:09]OFD Sender: No OFD packet to send [02:36:14]OFD Sender: No OFD packet to send [02:36:19]OFD Sender: No OFD packet to send [02:36:24]OFD Sender: No OFD packet to send [02:36:29]OFD Sender: No OFD packet to send [02:36:34]OFD Sender: No OFD packet to send [02:36:39]OFD Sender: No OFD packet to send [02:36:44]OFD Sender: No OFD packet to send [02:36:49]OFD Sender: No OFD packet to send [02:36:54]OFD Sender: No OFD packet to send [02:36:59]OFD Sender: No OFD packet to send [02:37:04]OFD Sender: No OFD packet to send [02:37:09]OFD Sender: No OFD packet to send [02:37:14]OFD Sender: No OFD packet to send [02:37:19]OFD Sender: No OFD packet to send [02:37:24]OFD Sender: No OFD packet to send [02:37:29]OFD Sender: No OFD packet to send [02:37:34]OFD Sender: No OFD packet to send [02:37:39]OFD Sender: No OFD packet to send [02:37:44]OFD Sender: No OFD packet to send [02:37:49]OFD Sender: No OFD packet to send [02:37:54]OFD Sender: No OFD packet to send [02:37:59]OFD Sender: No OFD packet to send [02:38:04]OFD Sender: No OFD packet to send [02:38:09]OFD Sender: No OFD packet to send [02:38:14]OFD Sender: No OFD packet to send [02:38:19]OFD Sender: No OFD packet to send [02:38:24]OFD Sender: No OFD packet to send [02:38:29]OFD Sender: No OFD packet to send [02:38:35]OFD Sender: No OFD packet to send [02:38:40]OFD Sender: No OFD packet to send [02:38:45]OFD Sender: No OFD packet to send [02:38:50]OFD Sender: No OFD packet to send [02:38:55]OFD Sender: No OFD packet to send [02:39:00]OFD Sender: No OFD packet to send [02:39:05]OFD Sender: No OFD packet to send [02:39:10]OFD Sender: No OFD packet to send [02:39:15]OFD Sender: No OFD packet to send [02:39:20]OFD Sender: No OFD packet to send [02:39:25]OFD Sender: No OFD packet to send [02:39:30]OFD Sender: No OFD packet to send [02:39:35]OFD Sender: No OFD packet to send [02:39:40]OFD Sender: No OFD packet to send [02:39:45]OFD Sender: No OFD packet to send [02:39:50]OFD Sender: No OFD packet to send [02:39:55]OFD Sender: No OFD packet to send [02:40:00]OFD Sender: No OFD packet to send [02:40:05]OFD Sender: No OFD packet to send [02:40:10]OFD Sender: No OFD packet to send [02:40:15]OFD Sender: No OFD packet to send [02:40:20]OFD Sender: No OFD packet to send [02:40:25]OFD Sender: No OFD packet to send [02:40:30]OFD Sender: No OFD packet to send [02:40:35]OFD Sender: No OFD packet to send [02:40:40]OFD Sender: No OFD packet to send [02:40:45]OFD Sender: No OFD packet to send [02:40:50]OFD Sender: No OFD packet to send [02:40:55]OFD Sender: No OFD packet to send [02:41:00]OFD Sender: No OFD packet to send [02:41:05]OFD Sender: No OFD packet to send [02:41:10]OFD Sender: No OFD packet to send [02:41:15]OFD Sender: No OFD packet to send [02:41:20]OFD Sender: No OFD packet to send [02:41:25]OFD Sender: No OFD packet to send [02:41:30]OFD Sender: No OFD packet to send [02:41:35]OFD Sender: No OFD packet to send [02:41:40]OFD Sender: No OFD packet to send [02:41:45]OFD Sender: No OFD packet to send [02:41:50]OFD Sender: No OFD packet to send [02:41:55]OFD Sender: No OFD packet to send [02:42:00]OFD Sender: No OFD packet to send [02:42:05]OFD Sender: No OFD packet to send [02:42:10]OFD Sender: No OFD packet to send [02:42:15]OFD Sender: No OFD packet to send [02:42:20]OFD Sender: No OFD packet to send [02:42:25]OFD Sender: No OFD packet to send [02:42:30]OFD Sender: No OFD packet to send [02:42:35]OFD Sender: No OFD packet to send [02:42:40]OFD Sender: No OFD packet to send [02:42:45]OFD Sender: No OFD packet to send [02:42:50]OFD Sender: No OFD packet to send [02:42:55]OFD Sender: No OFD packet to send [02:43:00]OFD Sender: No OFD packet to send [02:43:05]OFD Sender: No OFD packet to send [02:43:10]OFD Sender: No OFD packet to send [02:43:15]OFD Sender: No OFD packet to send [02:43:20]OFD Sender: No OFD packet to send [02:43:25]OFD Sender: No OFD packet to send [02:43:30]OFD Sender: No OFD packet to send [02:43:35]OFD Sender: No OFD packet to send [02:43:40]OFD Sender: No OFD packet to send [02:43:45]OFD Sender: No OFD packet to send [02:43:50]OFD Sender: No OFD packet to send [02:43:55]OFD Sender: No OFD packet to send [02:44:00]OFD Sender: No OFD packet to send [02:44:05]OFD Sender: No OFD packet to send [02:44:10]OFD Sender: No OFD packet to send [02:44:15]OFD Sender: No OFD packet to send [02:44:20]OFD Sender: No OFD packet to send [02:44:25]OFD Sender: No OFD packet to send [02:44:30]OFD Sender: No OFD packet to send [02:44:35]OFD Sender: No OFD packet to send [02:44:40]OFD Sender: No OFD packet to send [02:44:45]OFD Sender: No OFD packet to send [02:44:50]OFD Sender: No OFD packet to send [02:44:55]OFD Sender: No OFD packet to send [02:45:00]OFD Sender: No OFD packet to send [02:45:05]OFD Sender: No OFD packet to send [02:45:10]OFD Sender: No OFD packet to send [02:45:15]OFD Sender: No OFD packet to send [02:45:20]OFD Sender: No OFD packet to send [02:45:25]OFD Sender: No OFD packet to send [02:45:30]OFD Sender: No OFD packet to send [02:45:35]OFD Sender: No OFD packet to send [02:45:40]OFD Sender: No OFD packet to send [02:45:45]OFD Sender: No OFD packet to send [02:45:50]OFD Sender: No OFD packet to send [02:45:55]OFD Sender: No OFD packet to send [02:46:00]OFD Sender: No OFD packet to send [02:46:05]OFD Sender: No OFD packet to send [02:46:10]OFD Sender: No OFD packet to send [02:46:15]OFD Sender: No OFD packet to send [02:46:20]OFD Sender: No OFD packet to send [02:46:25]OFD Sender: No OFD packet to send [02:46:30]OFD Sender: No OFD packet to send [02:46:35]OFD Sender: No OFD packet to send [02:46:40]OFD Sender: No OFD packet to send [02:46:45]OFD Sender: No OFD packet to send [02:46:50]OFD Sender: No OFD packet to send [02:46:55]OFD Sender: No OFD packet to send [02:47:00]OFD Sender: No OFD packet to send [02:47:05]OFD Sender: No OFD packet to send [02:47:10]OFD Sender: No OFD packet to send [02:47:15]OFD Sender: No OFD packet to send [02:47:20]OFD Sender: No OFD packet to send [02:47:25]OFD Sender: No OFD packet to send [02:47:30]OFD Sender: No OFD packet to send [02:47:35]OFD Sender: No OFD packet to send [02:47:40]OFD Sender: No OFD packet to send [02:47:45]OFD Sender: No OFD packet to send [02:47:50]OFD Sender: No OFD packet to send [02:47:55]OFD Sender: No OFD packet to send [02:48:00]OFD Sender: No OFD packet to send [02:48:05]OFD Sender: No OFD packet to send [02:48:10]OFD Sender: No OFD packet to send [02:48:15]OFD Sender: No OFD packet to send [02:48:20]OFD Sender: No OFD packet to send [02:48:25]OFD Sender: No OFD packet to send [02:48:30]OFD Sender: No OFD packet to send [02:48:35]OFD Sender: No OFD packet to send [02:48:40]OFD Sender: No OFD packet to send [02:48:45]OFD Sender: No OFD packet to send [02:48:50]OFD Sender: No OFD packet to send [02:48:55]OFD Sender: No OFD packet to send [02:49:00]OFD Sender: No OFD packet to send [02:49:05]OFD Sender: No OFD packet to send [02:49:10]OFD Sender: No OFD packet to send [02:49:15]OFD Sender: No OFD packet to send [02:49:20]OFD Sender: No OFD packet to send [02:49:25]OFD Sender: No OFD packet to send [02:49:30]OFD Sender: No OFD packet to send [02:49:35]OFD Sender: No OFD packet to send [02:49:40]OFD Sender: No OFD packet to send [02:49:45]OFD Sender: No OFD packet to send [02:49:50]OFD Sender: No OFD packet to send [02:49:55]OFD Sender: No OFD packet to send [02:50:00]OFD Sender: No OFD packet to send [02:50:05]OFD Sender: No OFD packet to send [02:50:10]OFD Sender: No OFD packet to send [02:50:15]OFD Sender: No OFD packet to send [02:50:20]OFD Sender: No OFD packet to send [02:50:25]OFD Sender: No OFD packet to send [02:50:30]OFD Sender: No OFD packet to send [02:50:35]OFD Sender: No OFD packet to send [02:50:40]OFD Sender: No OFD packet to send [02:50:45]OFD Sender: No OFD packet to send [02:50:50]OFD Sender: No OFD packet to send [02:50:55]OFD Sender: No OFD packet to send [02:51:00]OFD Sender: No OFD packet to send [02:51:05]OFD Sender: No OFD packet to send [02:51:10]OFD Sender: No OFD packet to send [02:51:15]OFD Sender: No OFD packet to send [02:51:20]OFD Sender: No OFD packet to send [02:51:25]OFD Sender: No OFD packet to send [02:51:30]OFD Sender: No OFD packet to send [02:51:35]OFD Sender: No OFD packet to send [02:51:40]OFD Sender: No OFD packet to send [02:51:45]OFD Sender: No OFD packet to send [02:51:50]OFD Sender: No OFD packet to send [02:51:55]OFD Sender: No OFD packet to send [02:52:00]OFD Sender: No OFD packet to send [02:52:05]OFD Sender: No OFD packet to send [02:52:10]OFD Sender: No OFD packet to send [02:52:15]OFD Sender: No OFD packet to send [02:52:20]OFD Sender: No OFD packet to send [02:52:25]OFD Sender: No OFD packet to send [02:52:30]OFD Sender: No OFD packet to send [02:52:35]OFD Sender: No OFD packet to send [02:52:40]OFD Sender: No OFD packet to send [02:52:45]OFD Sender: No OFD packet to send [02:52:50]OFD Sender: No OFD packet to send [02:52:55]OFD Sender: No OFD packet to send [02:53:00]OFD Sender: No OFD packet to send [02:53:05]OFD Sender: No OFD packet to send [02:53:10]OFD Sender: No OFD packet to send [02:53:15]OFD Sender: No OFD packet to send [02:53:20]OFD Sender: No OFD packet to send [02:53:25]OFD Sender: No OFD packet to send [02:53:30]OFD Sender: No OFD packet to send [02:53:35]OFD Sender: No OFD packet to send [02:53:40]OFD Sender: No OFD packet to send [02:53:45]OFD Sender: No OFD packet to send [02:53:50]OFD Sender: No OFD packet to send [02:53:55]OFD Sender: No OFD packet to send [02:54:00]OFD Sender: No OFD packet to send [02:54:05]OFD Sender: No OFD packet to send [02:54:10]OFD Sender: No OFD packet to send [02:54:15]OFD Sender: No OFD packet to send [02:54:20]OFD Sender: No OFD packet to send [02:54:25]OFD Sender: No OFD packet to send [02:54:30]OFD Sender: No OFD packet to send [02:54:35]OFD Sender: No OFD packet to send [02:54:40]OFD Sender: No OFD packet to send [02:54:45]OFD Sender: No OFD packet to send [02:54:50]OFD Sender: No OFD packet to send [02:54:55]OFD Sender: No OFD packet to send [02:55:00]OFD Sender: No OFD packet to send [02:55:05]OFD Sender: No OFD packet to send [02:55:10]OFD Sender: No OFD packet to send [02:55:15]OFD Sender: No OFD packet to send [02:55:20]OFD Sender: No OFD packet to send [02:55:25]OFD Sender: No OFD packet to send [02:55:30]OFD Sender: No OFD packet to send [02:55:35]OFD Sender: No OFD packet to send [02:55:40]OFD Sender: No OFD packet to send [02:55:45]OFD Sender: No OFD packet to send [02:55:50]OFD Sender: No OFD packet to send [02:55:55]OFD Sender: No OFD packet to send [02:56:00]OFD Sender: No OFD packet to send [02:56:05]OFD Sender: No OFD packet to send [02:56:10]OFD Sender: No OFD packet to send [02:56:15]OFD Sender: No OFD packet to send [02:56:20]OFD Sender: No OFD packet to send [02:56:25]OFD Sender: No OFD packet to send [02:56:30]OFD Sender: No OFD packet to send [02:56:35]OFD Sender: No OFD packet to send [02:56:40]OFD Sender: No OFD packet to send [02:56:45]OFD Sender: No OFD packet to send [02:56:50]OFD Sender: No OFD packet to send [02:56:55]OFD Sender: No OFD packet to send [02:57:00]OFD Sender: No OFD packet to send [02:57:05]OFD Sender: No OFD packet to send [02:57:10]OFD Sender: No OFD packet to send [02:57:15]OFD Sender: No OFD packet to send [02:57:20]OFD Sender: No OFD packet to send [02:57:25]OFD Sender: No OFD packet to send [02:57:30]OFD Sender: No OFD packet to send [02:57:35]OFD Sender: No OFD packet to send [02:57:40]OFD Sender: No OFD packet to send [02:57:45]OFD Sender: No OFD packet to send [02:57:50]OFD Sender: No OFD packet to send [02:57:55]OFD Sender: No OFD packet to send [02:58:00]OFD Sender: No OFD packet to send [02:58:05]OFD Sender: No OFD packet to send [02:58:10]OFD Sender: No OFD packet to send [02:58:15]OFD Sender: No OFD packet to send [02:58:20]OFD Sender: No OFD packet to send [02:58:25]OFD Sender: No OFD packet to send [02:58:30]OFD Sender: No OFD packet to send [02:58:35]OFD Sender: No OFD packet to send [02:58:40]OFD Sender: No OFD packet to send [02:58:45]OFD Sender: No OFD packet to send [02:58:50]OFD Sender: No OFD packet to send [02:58:55]OFD Sender: No OFD packet to send [02:59:00]OFD Sender: No OFD packet to send [02:59:05]OFD Sender: No OFD packet to send [02:59:10]OFD Sender: No OFD packet to send [02:59:15]OFD Sender: No OFD packet to send [02:59:20]OFD Sender: No OFD packet to send [02:59:25]OFD Sender: No OFD packet to send [02:59:30]OFD Sender: No OFD packet to send [02:59:35]OFD Sender: No OFD packet to send [02:59:40]OFD Sender: No OFD packet to send [02:59:45]OFD Sender: No OFD packet to send [02:59:50]OFD Sender: No OFD packet to send [02:59:56]OFD Sender: No OFD packet to send [03:00:01]OFD Sender: No OFD packet to send [03:00:06]OFD Sender: No OFD packet to send [03:00:11]OFD Sender: No OFD packet to send [03:00:16]OFD Sender: No OFD packet to send [03:00:21]OFD Sender: No OFD packet to send [03:00:26]OFD Sender: No OFD packet to send [03:00:31]OFD Sender: No OFD packet to send [03:00:36]OFD Sender: No OFD packet to send [03:00:41]OFD Sender: No OFD packet to send [03:00:46]OFD Sender: No OFD packet to send [03:00:51]OFD Sender: No OFD packet to send [03:00:56]OFD Sender: No OFD packet to send [03:01:01]OFD Sender: No OFD packet to send [03:01:06]OFD Sender: No OFD packet to send [03:01:11]OFD Sender: No OFD packet to send [03:01:16]OFD Sender: No OFD packet to send [03:01:21]OFD Sender: No OFD packet to send [03:01:26]OFD Sender: No OFD packet to send [03:01:31]OFD Sender: No OFD packet to send [03:01:36]OFD Sender: No OFD packet to send [03:01:41]OFD Sender: No OFD packet to send [03:01:46]OFD Sender: No OFD packet to send [03:01:51]OFD Sender: No OFD packet to send [03:01:56]OFD Sender: No OFD packet to send [03:02:01]OFD Sender: No OFD packet to send [03:02:06]OFD Sender: No OFD packet to send [03:02:11]OFD Sender: No OFD packet to send [03:02:16]OFD Sender: No OFD packet to send [03:02:21]OFD Sender: No OFD packet to send [03:02:26]OFD Sender: No OFD packet to send [03:02:31]OFD Sender: No OFD packet to send [03:02:36]OFD Sender: No OFD packet to send [03:02:41]OFD Sender: No OFD packet to send [03:02:46]OFD Sender: No OFD packet to send [03:02:51]OFD Sender: No OFD packet to send [03:02:56]OFD Sender: No OFD packet to send [03:03:01]OFD Sender: No OFD packet to send [03:03:06]OFD Sender: No OFD packet to send [03:03:11]OFD Sender: No OFD packet to send [03:03:16]OFD Sender: No OFD packet to send [03:03:21]OFD Sender: No OFD packet to send [03:03:26]OFD Sender: No OFD packet to send [03:03:31]OFD Sender: No OFD packet to send [03:03:36]OFD Sender: No OFD packet to send [03:03:41]OFD Sender: No OFD packet to send [03:03:46]OFD Sender: No OFD packet to send [03:03:51]OFD Sender: No OFD packet to send [03:03:56]OFD Sender: No OFD packet to send [03:04:01]OFD Sender: No OFD packet to send [03:04:06]OFD Sender: No OFD packet to send