[03:03:26]OFD Sender: No OFD packet to send [03:03:31]OFD Sender: No OFD packet to send [03:03:36]OFD Sender: No OFD packet to send [03:03:41]OFD Sender: No OFD packet to send [03:03:46]OFD Sender: No OFD packet to send [03:03:51]OFD Sender: No OFD packet to send [03:03:56]OFD Sender: No OFD packet to send [03:04:01]OFD Sender: No OFD packet to send [03:04:06]OFD Sender: No OFD packet to send [03:04:11]OFD Sender: No OFD packet to send [03:04:16]OFD Sender: No OFD packet to send [03:04:21]OFD Sender: No OFD packet to send [03:04:26]OFD Sender: No OFD packet to send [03:04:31]OFD Sender: No OFD packet to send [03:04:36]OFD Sender: No OFD packet to send [03:04:41]OFD Sender: No OFD packet to send [03:04:46]OFD Sender: No OFD packet to send [03:04:51]OFD Sender: No OFD packet to send [03:04:56]OFD Sender: No OFD packet to send [03:05:01]OFD Sender: No OFD packet to send [03:05:06]OFD Sender: No OFD packet to send [03:05:11]OFD Sender: No OFD packet to send [03:05:16]OFD Sender: No OFD packet to send [03:05:21]OFD Sender: No OFD packet to send [03:05:26]OFD Sender: No OFD packet to send [03:05:31]OFD Sender: No OFD packet to send [03:05:36]OFD Sender: No OFD packet to send [03:05:41]OFD Sender: No OFD packet to send [03:05:46]OFD Sender: No OFD packet to send [03:05:51]OFD Sender: No OFD packet to send [03:05:56]OFD Sender: No OFD packet to send [03:06:01]OFD Sender: No OFD packet to send [03:06:06]OFD Sender: No OFD packet to send [03:06:11]OFD Sender: No OFD packet to send [03:06:16]OFD Sender: No OFD packet to send [03:06:21]OFD Sender: No OFD packet to send [03:06:26]OFD Sender: No OFD packet to send [03:06:31]OFD Sender: No OFD packet to send [03:06:36]OFD Sender: No OFD packet to send [03:06:41]OFD Sender: No OFD packet to send [03:06:46]OFD Sender: No OFD packet to send [03:06:51]OFD Sender: No OFD packet to send [03:06:56]OFD Sender: No OFD packet to send [03:07:01]OFD Sender: No OFD packet to send [03:07:06]OFD Sender: No OFD packet to send [03:07:11]OFD Sender: No OFD packet to send [03:07:16]OFD Sender: No OFD packet to send [03:07:21]OFD Sender: No OFD packet to send [03:07:26]OFD Sender: No OFD packet to send [03:07:31]OFD Sender: No OFD packet to send [03:07:36]OFD Sender: No OFD packet to send [03:07:41]OFD Sender: No OFD packet to send [03:07:46]OFD Sender: No OFD packet to send [03:07:51]OFD Sender: No OFD packet to send [03:07:56]OFD Sender: No OFD packet to send [03:08:01]OFD Sender: No OFD packet to send [03:08:06]OFD Sender: No OFD packet to send [03:08:11]OFD Sender: No OFD packet to send [03:08:16]OFD Sender: No OFD packet to send [03:08:21]OFD Sender: No OFD packet to send [03:08:26]OFD Sender: No OFD packet to send [03:08:31]OFD Sender: No OFD packet to send [03:08:36]OFD Sender: No OFD packet to send [03:08:41]OFD Sender: No OFD packet to send [03:08:46]OFD Sender: No OFD packet to send [03:08:51]OFD Sender: No OFD packet to send [03:08:56]OFD Sender: No OFD packet to send [03:09:01]OFD Sender: No OFD packet to send [03:09:06]OFD Sender: No OFD packet to send [03:09:11]OFD Sender: No OFD packet to send [03:09:16]OFD Sender: No OFD packet to send [03:09:21]OFD Sender: No OFD packet to send [03:09:26]OFD Sender: No OFD packet to send [03:09:31]OFD Sender: No OFD packet to send [03:09:36]OFD Sender: No OFD packet to send [03:09:41]OFD Sender: No OFD packet to send [03:09:46]OFD Sender: No OFD packet to send [03:09:51]OFD Sender: No OFD packet to send [03:09:56]OFD Sender: No OFD packet to send [03:10:01]OFD Sender: No OFD packet to send [03:10:06]OFD Sender: No OFD packet to send [03:10:11]OFD Sender: No OFD packet to send [03:10:16]OFD Sender: No OFD packet to send [03:10:21]OFD Sender: No OFD packet to send [03:10:26]OFD Sender: No OFD packet to send [03:10:31]OFD Sender: No OFD packet to send [03:10:36]OFD Sender: No OFD packet to send [03:10:41]OFD Sender: No OFD packet to send [03:10:46]OFD Sender: No OFD packet to send [03:10:51]OFD Sender: No OFD packet to send [03:10:56]OFD Sender: No OFD packet to send [03:11:01]OFD Sender: No OFD packet to send [03:11:06]OFD Sender: No OFD packet to send [03:11:11]OFD Sender: No OFD packet to send [03:11:16]OFD Sender: No OFD packet to send [03:11:21]OFD Sender: No OFD packet to send [03:11:26]OFD Sender: No OFD packet to send [03:11:31]OFD Sender: No OFD packet to send [03:11:36]OFD Sender: No OFD packet to send [03:11:41]OFD Sender: No OFD packet to send [03:11:46]OFD Sender: No OFD packet to send [03:11:51]OFD Sender: No OFD packet to send [03:11:56]OFD Sender: No OFD packet to send [03:12:01]OFD Sender: No OFD packet to send [03:12:06]OFD Sender: No OFD packet to send [03:12:11]OFD Sender: No OFD packet to send [03:12:16]OFD Sender: No OFD packet to send [03:12:21]OFD Sender: No OFD packet to send [03:12:26]OFD Sender: No OFD packet to send [03:12:31]OFD Sender: No OFD packet to send [03:12:36]OFD Sender: No OFD packet to send [03:12:41]OFD Sender: No OFD packet to send [03:12:46]OFD Sender: No OFD packet to send [03:12:51]OFD Sender: No OFD packet to send [03:12:56]OFD Sender: No OFD packet to send [03:13:01]OFD Sender: No OFD packet to send [03:13:06]OFD Sender: No OFD packet to send [03:13:11]OFD Sender: No OFD packet to send [03:13:16]OFD Sender: No OFD packet to send [03:13:21]OFD Sender: No OFD packet to send [03:13:26]OFD Sender: No OFD packet to send [03:13:31]OFD Sender: No OFD packet to send [03:13:36]OFD Sender: No OFD packet to send [03:13:41]OFD Sender: No OFD packet to send [03:13:46]OFD Sender: No OFD packet to send [03:13:51]OFD Sender: No OFD packet to send [03:13:56]OFD Sender: No OFD packet to send [03:14:01]OFD Sender: No OFD packet to send [03:14:06]OFD Sender: No OFD packet to send [03:14:11]OFD Sender: No OFD packet to send [03:14:16]OFD Sender: No OFD packet to send [03:14:21]OFD Sender: No OFD packet to send [03:14:26]OFD Sender: No OFD packet to send [03:14:31]OFD Sender: No OFD packet to send [03:14:36]OFD Sender: No OFD packet to send [03:14:41]OFD Sender: No OFD packet to send [03:14:46]OFD Sender: No OFD packet to send [03:14:51]OFD Sender: No OFD packet to send [03:14:56]OFD Sender: No OFD packet to send [03:15:01]OFD Sender: No OFD packet to send [03:15:06]OFD Sender: No OFD packet to send [03:15:11]OFD Sender: No OFD packet to send [03:15:16]OFD Sender: No OFD packet to send [03:15:21]OFD Sender: No OFD packet to send [03:15:26]OFD Sender: No OFD packet to send [03:15:31]OFD Sender: No OFD packet to send [03:15:36]OFD Sender: No OFD packet to send [03:15:41]OFD Sender: No OFD packet to send [03:15:46]OFD Sender: No OFD packet to send [03:15:51]OFD Sender: No OFD packet to send [03:15:56]OFD Sender: No OFD packet to send [03:16:01]OFD Sender: No OFD packet to send [03:16:06]OFD Sender: No OFD packet to send [03:16:11]OFD Sender: No OFD packet to send [03:16:16]OFD Sender: No OFD packet to send [03:16:21]OFD Sender: No OFD packet to send [03:16:26]OFD Sender: No OFD packet to send [03:16:31]OFD Sender: No OFD packet to send [03:16:36]OFD Sender: No OFD packet to send [03:16:41]OFD Sender: No OFD packet to send [03:16:47]OFD Sender: No OFD packet to send [03:16:52]OFD Sender: No OFD packet to send [03:16:57]OFD Sender: No OFD packet to send [03:17:02]OFD Sender: No OFD packet to send [03:17:07]OFD Sender: No OFD packet to send [03:17:12]OFD Sender: No OFD packet to send [03:17:17]OFD Sender: No OFD packet to send [03:17:22]OFD Sender: No OFD packet to send [03:17:27]OFD Sender: No OFD packet to send [03:17:32]OFD Sender: No OFD packet to send [03:17:37]OFD Sender: No OFD packet to send [03:17:42]OFD Sender: No OFD packet to send [03:17:47]OFD Sender: No OFD packet to send [03:17:52]OFD Sender: No OFD packet to send [03:17:57]OFD Sender: No OFD packet to send [03:18:02]OFD Sender: No OFD packet to send [03:18:07]OFD Sender: No OFD packet to send [03:18:12]OFD Sender: No OFD packet to send [03:18:17]OFD Sender: No OFD packet to send [03:18:22]OFD Sender: No OFD packet to send [03:18:27]OFD Sender: No OFD packet to send [03:18:32]OFD Sender: No OFD packet to send [03:18:37]OFD Sender: No OFD packet to send [03:18:42]OFD Sender: No OFD packet to send [03:18:47]OFD Sender: No OFD packet to send [03:18:52]OFD Sender: No OFD packet to send [03:18:57]OFD Sender: No OFD packet to send [03:19:02]OFD Sender: No OFD packet to send [03:19:07]OFD Sender: No OFD packet to send [03:19:12]OFD Sender: No OFD packet to send [03:19:17]OFD Sender: No OFD packet to send [03:19:22]OFD Sender: No OFD packet to send [03:19:27]OFD Sender: No OFD packet to send [03:19:32]OFD Sender: No OFD packet to send [03:19:37]OFD Sender: No OFD packet to send [03:19:42]OFD Sender: No OFD packet to send [03:19:47]OFD Sender: No OFD packet to send [03:19:52]OFD Sender: No OFD packet to send [03:19:57]OFD Sender: No OFD packet to send [03:20:02]OFD Sender: No OFD packet to send [03:20:07]OFD Sender: No OFD packet to send [03:20:12]OFD Sender: No OFD packet to send [03:20:17]OFD Sender: No OFD packet to send [03:20:22]OFD Sender: No OFD packet to send [03:20:27]OFD Sender: No OFD packet to send [03:20:32]OFD Sender: No OFD packet to send [03:20:37]OFD Sender: No OFD packet to send [03:20:42]OFD Sender: No OFD packet to send [03:20:47]OFD Sender: No OFD packet to send [03:20:52]OFD Sender: No OFD packet to send [03:20:57]OFD Sender: No OFD packet to send [03:21:02]OFD Sender: No OFD packet to send [03:21:07]OFD Sender: No OFD packet to send [03:21:12]OFD Sender: No OFD packet to send [03:21:17]OFD Sender: No OFD packet to send [03:21:22]OFD Sender: No OFD packet to send [03:21:27]OFD Sender: No OFD packet to send [03:21:32]OFD Sender: No OFD packet to send [03:21:37]OFD Sender: No OFD packet to send [03:21:42]OFD Sender: No OFD packet to send [03:21:47]OFD Sender: No OFD packet to send [03:21:52]OFD Sender: No OFD packet to send [03:21:57]OFD Sender: No OFD packet to send [03:22:02]OFD Sender: No OFD packet to send [03:22:07]OFD Sender: No OFD packet to send [03:22:12]OFD Sender: No OFD packet to send [03:22:17]OFD Sender: No OFD packet to send [03:22:22]OFD Sender: No OFD packet to send [03:22:27]OFD Sender: No OFD packet to send [03:22:32]OFD Sender: No OFD packet to send [03:22:37]OFD Sender: No OFD packet to send [03:22:42]OFD Sender: No OFD packet to send [03:22:47]OFD Sender: No OFD packet to send [03:22:52]OFD Sender: No OFD packet to send [03:22:57]OFD Sender: No OFD packet to send [03:23:02]OFD Sender: No OFD packet to send [03:23:07]OFD Sender: No OFD packet to send [03:23:12]OFD Sender: No OFD packet to send [03:23:17]OFD Sender: No OFD packet to send [03:23:22]OFD Sender: No OFD packet to send [03:23:27]OFD Sender: No OFD packet to send [03:23:32]OFD Sender: No OFD packet to send [03:23:37]OFD Sender: No OFD packet to send [03:23:42]OFD Sender: No OFD packet to send [03:23:47]OFD Sender: No OFD packet to send [03:23:52]OFD Sender: No OFD packet to send [03:23:57]OFD Sender: No OFD packet to send [03:24:02]OFD Sender: No OFD packet to send [03:24:07]OFD Sender: No OFD packet to send [03:24:12]OFD Sender: No OFD packet to send [03:24:17]OFD Sender: No OFD packet to send [03:24:22]OFD Sender: No OFD packet to send [03:24:27]OFD Sender: No OFD packet to send [03:24:32]OFD Sender: No OFD packet to send [03:24:37]OFD Sender: No OFD packet to send [03:24:42]OFD Sender: No OFD packet to send [03:24:47]OFD Sender: No OFD packet to send [03:24:52]OFD Sender: No OFD packet to send [03:24:57]OFD Sender: No OFD packet to send [03:25:02]OFD Sender: No OFD packet to send [03:25:07]OFD Sender: No OFD packet to send [03:25:12]OFD Sender: No OFD packet to send [03:25:17]OFD Sender: No OFD packet to send [03:25:22]OFD Sender: No OFD packet to send [03:25:27]OFD Sender: No OFD packet to send [03:25:32]OFD Sender: No OFD packet to send [03:25:37]OFD Sender: No OFD packet to send [03:25:42]OFD Sender: No OFD packet to send [03:25:47]OFD Sender: No OFD packet to send [03:25:52]OFD Sender: No OFD packet to send [03:25:57]OFD Sender: No OFD packet to send [03:26:02]OFD Sender: No OFD packet to send [03:26:07]OFD Sender: No OFD packet to send [03:26:12]OFD Sender: No OFD packet to send [03:26:17]OFD Sender: No OFD packet to send [03:26:22]OFD Sender: No OFD packet to send [03:26:27]OFD Sender: No OFD packet to send [03:26:32]OFD Sender: No OFD packet to send [03:26:37]OFD Sender: No OFD packet to send [03:26:42]OFD Sender: No OFD packet to send [03:26:47]OFD Sender: No OFD packet to send [03:26:52]OFD Sender: No OFD packet to send [03:26:57]OFD Sender: No OFD packet to send [03:27:02]OFD Sender: No OFD packet to send [03:27:07]OFD Sender: No OFD packet to send [03:27:12]OFD Sender: No OFD packet to send [03:27:17]OFD Sender: No OFD packet to send [03:27:22]OFD Sender: No OFD packet to send [03:27:27]OFD Sender: No OFD packet to send [03:27:32]OFD Sender: No OFD packet to send [03:27:37]OFD Sender: No OFD packet to send [03:27:42]OFD Sender: No OFD packet to send [03:27:47]OFD Sender: No OFD packet to send [03:27:52]OFD Sender: No OFD packet to send [03:27:57]OFD Sender: No OFD packet to send [03:28:02]OFD Sender: No OFD packet to send [03:28:07]OFD Sender: No OFD packet to send [03:28:12]OFD Sender: No OFD packet to send [03:28:17]OFD Sender: No OFD packet to send [03:28:22]OFD Sender: No OFD packet to send [03:28:27]OFD Sender: No OFD packet to send [03:28:32]OFD Sender: No OFD packet to send [03:28:37]OFD Sender: No OFD packet to send [03:28:42]OFD Sender: No OFD packet to send [03:28:47]OFD Sender: No OFD packet to send [03:28:52]OFD Sender: No OFD packet to send [03:28:57]OFD Sender: No OFD packet to send [03:29:02]OFD Sender: No OFD packet to send [03:29:07]OFD Sender: No OFD packet to send [03:29:12]OFD Sender: No OFD packet to send [03:29:17]OFD Sender: No OFD packet to send [03:29:22]OFD Sender: No OFD packet to send [03:29:27]OFD Sender: No OFD packet to send [03:29:32]OFD Sender: No OFD packet to send [03:29:37]OFD Sender: No OFD packet to send [03:29:42]OFD Sender: No OFD packet to send [03:29:47]OFD Sender: No OFD packet to send [03:29:52]OFD Sender: No OFD packet to send [03:29:57]OFD Sender: No OFD packet to send [03:30:02]OFD Sender: No OFD packet to send [03:30:07]OFD Sender: No OFD packet to send [03:30:12]OFD Sender: No OFD packet to send [03:30:17]OFD Sender: No OFD packet to send [03:30:22]OFD Sender: No OFD packet to send [03:30:27]OFD Sender: No OFD packet to send [03:30:32]OFD Sender: No OFD packet to send [03:30:37]OFD Sender: No OFD packet to send [03:30:42]OFD Sender: No OFD packet to send [03:30:47]OFD Sender: No OFD packet to send [03:30:52]OFD Sender: No OFD packet to send [03:30:57]OFD Sender: No OFD packet to send [03:31:02]OFD Sender: No OFD packet to send [03:31:07]OFD Sender: No OFD packet to send [03:31:12]OFD Sender: No OFD packet to send [03:31:17]OFD Sender: No OFD packet to send [03:31:22]OFD Sender: No OFD packet to send [03:31:27]OFD Sender: No OFD packet to send [03:31:32]OFD Sender: No OFD packet to send [03:31:37]OFD Sender: No OFD packet to send [03:31:42]OFD Sender: No OFD packet to send [03:31:47]OFD Sender: No OFD packet to send [03:31:52]OFD Sender: No OFD packet to send [03:31:57]OFD Sender: No OFD packet to send [03:32:02]OFD Sender: No OFD packet to send [03:32:07]OFD Sender: No OFD packet to send [03:32:12]OFD Sender: No OFD packet to send [03:32:17]OFD Sender: No OFD packet to send [03:32:22]OFD Sender: No OFD packet to send [03:32:27]OFD Sender: No OFD packet to send [03:32:32]OFD Sender: No OFD packet to send [03:32:37]OFD Sender: No OFD packet to send [03:32:42]OFD Sender: No OFD packet to send [03:32:47]OFD Sender: No OFD packet to send [03:32:52]OFD Sender: No OFD packet to send [03:32:57]OFD Sender: No OFD packet to send [03:33:02]OFD Sender: No OFD packet to send [03:33:07]OFD Sender: No OFD packet to send [03:33:12]OFD Sender: No OFD packet to send [03:33:17]OFD Sender: No OFD packet to send [03:33:22]OFD Sender: No OFD packet to send [03:33:27]OFD Sender: No OFD packet to send [03:33:32]OFD Sender: No OFD packet to send [03:33:37]OFD Sender: No OFD packet to send [03:33:42]OFD Sender: No OFD packet to send [03:33:47]OFD Sender: No OFD packet to send [03:33:52]OFD Sender: No OFD packet to send [03:33:57]OFD Sender: No OFD packet to send [03:34:02]OFD Sender: No OFD packet to send [03:34:07]OFD Sender: No OFD packet to send [03:34:12]OFD Sender: No OFD packet to send [03:34:17]OFD Sender: No OFD packet to send [03:34:22]OFD Sender: No OFD packet to send [03:34:27]OFD Sender: No OFD packet to send [03:34:32]OFD Sender: No OFD packet to send [03:34:37]OFD Sender: No OFD packet to send [03:34:42]OFD Sender: No OFD packet to send [03:34:47]OFD Sender: No OFD packet to send [03:34:52]OFD Sender: No OFD packet to send [03:34:57]OFD Sender: No OFD packet to send [03:35:02]OFD Sender: No OFD packet to send [03:35:07]OFD Sender: No OFD packet to send [03:35:12]OFD Sender: No OFD packet to send [03:35:17]OFD Sender: No OFD packet to send [03:35:22]OFD Sender: No OFD packet to send [03:35:27]OFD Sender: No OFD packet to send [03:35:32]OFD Sender: No OFD packet to send [03:35:37]OFD Sender: No OFD packet to send [03:35:42]OFD Sender: No OFD packet to send [03:35:47]OFD Sender: No OFD packet to send [03:35:52]OFD Sender: No OFD packet to send [03:35:57]OFD Sender: No OFD packet to send [03:36:02]OFD Sender: No OFD packet to send [03:36:07]OFD Sender: No OFD packet to send [03:36:12]OFD Sender: No OFD packet to send [03:36:17]OFD Sender: No OFD packet to send [03:36:22]OFD Sender: No OFD packet to send [03:36:27]OFD Sender: No OFD packet to send [03:36:32]OFD Sender: No OFD packet to send [03:36:37]OFD Sender: No OFD packet to send [03:36:42]OFD Sender: No OFD packet to send [03:36:47]OFD Sender: No OFD packet to send [03:36:52]OFD Sender: No OFD packet to send [03:36:57]OFD Sender: No OFD packet to send [03:37:02]OFD Sender: No OFD packet to send [03:37:07]OFD Sender: No OFD packet to send [03:37:12]OFD Sender: No OFD packet to send [03:37:17]OFD Sender: No OFD packet to send [03:37:22]OFD Sender: No OFD packet to send [03:37:27]OFD Sender: No OFD packet to send [03:37:32]OFD Sender: No OFD packet to send [03:37:37]OFD Sender: No OFD packet to send [03:37:42]OFD Sender: No OFD packet to send [03:37:47]OFD Sender: No OFD packet to send [03:37:52]OFD Sender: No OFD packet to send [03:37:58]OFD Sender: No OFD packet to send [03:38:03]OFD Sender: No OFD packet to send [03:38:08]OFD Sender: No OFD packet to send [03:38:13]OFD Sender: No OFD packet to send [03:38:18]OFD Sender: No OFD packet to send [03:38:23]OFD Sender: No OFD packet to send [03:38:28]OFD Sender: No OFD packet to send [03:38:33]OFD Sender: No OFD packet to send [03:38:38]OFD Sender: No OFD packet to send [03:38:43]OFD Sender: No OFD packet to send [03:38:48]OFD Sender: No OFD packet to send [03:38:53]OFD Sender: No OFD packet to send [03:38:58]OFD Sender: No OFD packet to send [03:39:03]OFD Sender: No OFD packet to send [03:39:08]OFD Sender: No OFD packet to send [03:39:13]OFD Sender: No OFD packet to send [03:39:18]OFD Sender: No OFD packet to send [03:39:23]OFD Sender: No OFD packet to send [03:39:28]OFD Sender: No OFD packet to send [03:39:33]OFD Sender: No OFD packet to send [03:39:38]OFD Sender: No OFD packet to send [03:39:43]OFD Sender: No OFD packet to send [03:39:48]OFD Sender: No OFD packet to send [03:39:53]OFD Sender: No OFD packet to send [03:39:58]OFD Sender: No OFD packet to send [03:40:03]OFD Sender: No OFD packet to send [03:40:08]OFD Sender: No OFD packet to send [03:40:13]OFD Sender: No OFD packet to send [03:40:18]OFD Sender: No OFD packet to send [03:40:23]OFD Sender: No OFD packet to send [03:40:28]OFD Sender: No OFD packet to send [03:40:33]OFD Sender: No OFD packet to send [03:40:38]OFD Sender: No OFD packet to send [03:40:43]OFD Sender: No OFD packet to send [03:40:48]OFD Sender: No OFD packet to send [03:40:53]OFD Sender: No OFD packet to send [03:40:58]OFD Sender: No OFD packet to send [03:41:03]OFD Sender: No OFD packet to send [03:41:08]OFD Sender: No OFD packet to send [03:41:13]OFD Sender: No OFD packet to send [03:41:18]OFD Sender: No OFD packet to send [03:41:23]OFD Sender: No OFD packet to send [03:41:28]OFD Sender: No OFD packet to send [03:41:33]OFD Sender: No OFD packet to send [03:41:38]OFD Sender: No OFD packet to send [03:41:43]OFD Sender: No OFD packet to send [03:41:48]OFD Sender: No OFD packet to send [03:41:53]OFD Sender: No OFD packet to send [03:41:58]OFD Sender: No OFD packet to send [03:42:03]OFD Sender: No OFD packet to send [03:42:08]OFD Sender: No OFD packet to send [03:42:13]OFD Sender: No OFD packet to send [03:42:18]OFD Sender: No OFD packet to send [03:42:23]OFD Sender: No OFD packet to send [03:42:28]OFD Sender: No OFD packet to send [03:42:33]OFD Sender: No OFD packet to send [03:42:38]OFD Sender: No OFD packet to send [03:42:43]OFD Sender: No OFD packet to send [03:42:48]OFD Sender: No OFD packet to send [03:42:53]OFD Sender: No OFD packet to send [03:42:58]OFD Sender: No OFD packet to send [03:43:03]OFD Sender: No OFD packet to send [03:43:08]OFD Sender: No OFD packet to send [03:43:13]OFD Sender: No OFD packet to send [03:43:18]OFD Sender: No OFD packet to send [03:43:23]OFD Sender: No OFD packet to send [03:43:28]OFD Sender: No OFD packet to send [03:43:33]OFD Sender: No OFD packet to send [03:43:38]OFD Sender: No OFD packet to send [03:43:43]OFD Sender: No OFD packet to send [03:43:48]OFD Sender: No OFD packet to send [03:43:53]OFD Sender: No OFD packet to send [03:43:58]OFD Sender: No OFD packet to send [03:44:03]OFD Sender: No OFD packet to send [03:44:08]OFD Sender: No OFD packet to send [03:44:13]OFD Sender: No OFD packet to send [03:44:18]OFD Sender: No OFD packet to send [03:44:23]OFD Sender: No OFD packet to send [03:44:28]OFD Sender: No OFD packet to send [03:44:33]OFD Sender: No OFD packet to send [03:44:38]OFD Sender: No OFD packet to send [03:44:43]OFD Sender: No OFD packet to send [03:44:48]OFD Sender: No OFD packet to send [03:44:53]OFD Sender: No OFD packet to send [03:44:58]OFD Sender: No OFD packet to send [03:45:03]OFD Sender: No OFD packet to send [03:45:08]OFD Sender: No OFD packet to send [03:45:13]OFD Sender: No OFD packet to send [03:45:18]OFD Sender: No OFD packet to send [03:45:23]OFD Sender: No OFD packet to send [03:45:28]OFD Sender: No OFD packet to send [03:45:33]OFD Sender: No OFD packet to send [03:45:38]OFD Sender: No OFD packet to send [03:45:43]OFD Sender: No OFD packet to send [03:45:48]OFD Sender: No OFD packet to send [03:45:53]OFD Sender: No OFD packet to send [03:45:58]OFD Sender: No OFD packet to send [03:46:03]OFD Sender: No OFD packet to send [03:46:08]OFD Sender: No OFD packet to send [03:46:13]OFD Sender: No OFD packet to send [03:46:18]OFD Sender: No OFD packet to send [03:46:23]OFD Sender: No OFD packet to send [03:46:28]OFD Sender: No OFD packet to send [03:46:33]OFD Sender: No OFD packet to send [03:46:38]OFD Sender: No OFD packet to send [03:46:43]OFD Sender: No OFD packet to send [03:46:48]OFD Sender: No OFD packet to send [03:46:53]OFD Sender: No OFD packet to send [03:46:58]OFD Sender: No OFD packet to send [03:47:03]OFD Sender: No OFD packet to send [03:47:08]OFD Sender: No OFD packet to send [03:47:13]OFD Sender: No OFD packet to send [03:47:18]OFD Sender: No OFD packet to send [03:47:23]OFD Sender: No OFD packet to send [03:47:28]OFD Sender: No OFD packet to send [03:47:33]OFD Sender: No OFD packet to send [03:47:38]OFD Sender: No OFD packet to send [03:47:43]OFD Sender: No OFD packet to send [03:47:48]OFD Sender: No OFD packet to send [03:47:53]OFD Sender: No OFD packet to send [03:47:58]OFD Sender: No OFD packet to send [03:48:03]OFD Sender: No OFD packet to send [03:48:08]OFD Sender: No OFD packet to send [03:48:13]OFD Sender: No OFD packet to send [03:48:18]OFD Sender: No OFD packet to send [03:48:23]OFD Sender: No OFD packet to send [03:48:28]OFD Sender: No OFD packet to send [03:48:33]OFD Sender: No OFD packet to send [03:48:38]OFD Sender: No OFD packet to send [03:48:43]OFD Sender: No OFD packet to send [03:48:48]OFD Sender: No OFD packet to send [03:48:53]OFD Sender: No OFD packet to send [03:48:58]OFD Sender: No OFD packet to send [03:49:03]OFD Sender: No OFD packet to send [03:49:08]OFD Sender: No OFD packet to send [03:49:13]OFD Sender: No OFD packet to send [03:49:18]OFD Sender: No OFD packet to send [03:49:23]OFD Sender: No OFD packet to send [03:49:28]OFD Sender: No OFD packet to send [03:49:33]OFD Sender: No OFD packet to send [03:49:38]OFD Sender: No OFD packet to send [03:49:43]OFD Sender: No OFD packet to send [03:49:48]OFD Sender: No OFD packet to send [03:49:53]OFD Sender: No OFD packet to send [03:49:58]OFD Sender: No OFD packet to send [03:50:03]OFD Sender: No OFD packet to send [03:50:08]OFD Sender: No OFD packet to send [03:50:13]OFD Sender: No OFD packet to send [03:50:18]OFD Sender: No OFD packet to send [03:50:23]OFD Sender: No OFD packet to send [03:50:28]OFD Sender: No OFD packet to send [03:50:33]OFD Sender: No OFD packet to send [03:50:38]OFD Sender: No OFD packet to send [03:50:43]OFD Sender: No OFD packet to send [03:50:48]OFD Sender: No OFD packet to send [03:50:53]OFD Sender: No OFD packet to send [03:50:58]OFD Sender: No OFD packet to send [03:51:03]OFD Sender: No OFD packet to send [03:51:08]OFD Sender: No OFD packet to send [03:51:13]OFD Sender: No OFD packet to send [03:51:18]OFD Sender: No OFD packet to send [03:51:23]OFD Sender: No OFD packet to send [03:51:28]OFD Sender: No OFD packet to send [03:51:33]OFD Sender: No OFD packet to send [03:51:38]OFD Sender: No OFD packet to send [03:51:43]OFD Sender: No OFD packet to send [03:51:48]OFD Sender: No OFD packet to send [03:51:53]OFD Sender: No OFD packet to send [03:51:58]OFD Sender: No OFD packet to send [03:52:03]OFD Sender: No OFD packet to send [03:52:08]OFD Sender: No OFD packet to send [03:52:13]OFD Sender: No OFD packet to send [03:52:18]OFD Sender: No OFD packet to send [03:52:23]OFD Sender: No OFD packet to send [03:52:28]OFD Sender: No OFD packet to send [03:52:33]OFD Sender: No OFD packet to send [03:52:38]OFD Sender: No OFD packet to send [03:52:43]OFD Sender: No OFD packet to send [03:52:48]OFD Sender: No OFD packet to send [03:52:53]OFD Sender: No OFD packet to send [03:52:58]OFD Sender: No OFD packet to send [03:53:03]OFD Sender: No OFD packet to send [03:53:08]OFD Sender: No OFD packet to send [03:53:13]OFD Sender: No OFD packet to send [03:53:18]OFD Sender: No OFD packet to send [03:53:23]OFD Sender: No OFD packet to send [03:53:28]OFD Sender: No OFD packet to send [03:53:33]OFD Sender: No OFD packet to send [03:53:38]OFD Sender: No OFD packet to send [03:53:43]OFD Sender: No OFD packet to send [03:53:48]OFD Sender: No OFD packet to send [03:53:53]OFD Sender: No OFD packet to send [03:53:58]OFD Sender: No OFD packet to send [03:54:03]OFD Sender: No OFD packet to send [03:54:08]OFD Sender: No OFD packet to send [03:54:13]OFD Sender: No OFD packet to send [03:54:18]OFD Sender: No OFD packet to send [03:54:23]OFD Sender: No OFD packet to send [03:54:28]OFD Sender: No OFD packet to send [03:54:33]OFD Sender: No OFD packet to send [03:54:38]OFD Sender: No OFD packet to send [03:54:43]OFD Sender: No OFD packet to send [03:54:48]OFD Sender: No OFD packet to send [03:54:53]OFD Sender: No OFD packet to send [03:54:58]OFD Sender: No OFD packet to send [03:55:03]OFD Sender: No OFD packet to send [03:55:08]OFD Sender: No OFD packet to send [03:55:13]OFD Sender: No OFD packet to send [03:55:18]OFD Sender: No OFD packet to send [03:55:23]OFD Sender: No OFD packet to send [03:55:28]OFD Sender: No OFD packet to send [03:55:33]OFD Sender: No OFD packet to send [03:55:38]OFD Sender: No OFD packet to send [03:55:43]OFD Sender: No OFD packet to send [03:55:48]OFD Sender: No OFD packet to send [03:55:53]OFD Sender: No OFD packet to send [03:55:58]OFD Sender: No OFD packet to send [03:56:03]OFD Sender: No OFD packet to send [03:56:08]OFD Sender: No OFD packet to send [03:56:13]OFD Sender: No OFD packet to send [03:56:18]OFD Sender: No OFD packet to send [03:56:23]OFD Sender: No OFD packet to send [03:56:28]OFD Sender: No OFD packet to send [03:56:33]OFD Sender: No OFD packet to send [03:56:38]OFD Sender: No OFD packet to send [03:56:43]OFD Sender: No OFD packet to send [03:56:48]OFD Sender: No OFD packet to send [03:56:53]OFD Sender: No OFD packet to send [03:56:58]OFD Sender: No OFD packet to send [03:57:03]OFD Sender: No OFD packet to send [03:57:08]OFD Sender: No OFD packet to send [03:57:13]OFD Sender: No OFD packet to send [03:57:18]OFD Sender: No OFD packet to send [03:57:23]OFD Sender: No OFD packet to send [03:57:28]OFD Sender: No OFD packet to send [03:57:33]OFD Sender: No OFD packet to send [03:57:38]OFD Sender: No OFD packet to send [03:57:43]OFD Sender: No OFD packet to send [03:57:48]OFD Sender: No OFD packet to send [03:57:53]OFD Sender: No OFD packet to send [03:57:58]OFD Sender: No OFD packet to send [03:58:03]OFD Sender: No OFD packet to send [03:58:08]OFD Sender: No OFD packet to send [03:58:13]OFD Sender: No OFD packet to send [03:58:18]OFD Sender: No OFD packet to send [03:58:23]OFD Sender: No OFD packet to send [03:58:28]OFD Sender: No OFD packet to send [03:58:33]OFD Sender: No OFD packet to send [03:58:38]OFD Sender: No OFD packet to send [03:58:43]OFD Sender: No OFD packet to send [03:58:48]OFD Sender: No OFD packet to send [03:58:53]OFD Sender: No OFD packet to send [03:58:58]OFD Sender: No OFD packet to send [03:59:03]OFD Sender: No OFD packet to send [03:59:08]OFD Sender: No OFD packet to send [03:59:13]OFD Sender: No OFD packet to send [03:59:19]OFD Sender: No OFD packet to send [03:59:24]OFD Sender: No OFD packet to send [03:59:29]OFD Sender: No OFD packet to send [03:59:34]OFD Sender: No OFD packet to send [03:59:39]OFD Sender: No OFD packet to send [03:59:44]OFD Sender: No OFD packet to send [03:59:49]OFD Sender: No OFD packet to send [03:59:54]OFD Sender: No OFD packet to send [03:59:59]OFD Sender: No OFD packet to send [04:00:04]OFD Sender: No OFD packet to send [04:00:09]OFD Sender: No OFD packet to send [04:00:14]OFD Sender: No OFD packet to send [04:00:19]OFD Sender: No OFD packet to send [04:00:24]OFD Sender: No OFD packet to send [04:00:29]OFD Sender: No OFD packet to send [04:00:34]OFD Sender: No OFD packet to send [04:00:39]OFD Sender: No OFD packet to send [04:00:44]OFD Sender: No OFD packet to send [04:00:49]OFD Sender: No OFD packet to send [04:00:54]OFD Sender: No OFD packet to send [04:00:59]OFD Sender: No OFD packet to send [04:01:04]OFD Sender: No OFD packet to send [04:01:09]OFD Sender: No OFD packet to send [04:01:14]OFD Sender: No OFD packet to send [04:01:19]OFD Sender: No OFD packet to send [04:01:24]OFD Sender: No OFD packet to send [04:01:29]OFD Sender: No OFD packet to send [04:01:34]OFD Sender: No OFD packet to send [04:01:39]OFD Sender: No OFD packet to send [04:01:44]OFD Sender: No OFD packet to send [04:01:49]OFD Sender: No OFD packet to send [04:01:54]OFD Sender: No OFD packet to send [04:01:59]OFD Sender: No OFD packet to send [04:02:04]OFD Sender: No OFD packet to send [04:02:09]OFD Sender: No OFD packet to send [04:02:14]OFD Sender: No OFD packet to send [04:02:19]OFD Sender: No OFD packet to send [04:02:24]OFD Sender: No OFD packet to send [04:02:29]OFD Sender: No OFD packet to send [04:02:34]OFD Sender: No OFD packet to send [04:02:39]OFD Sender: No OFD packet to send [04:02:44]OFD Sender: No OFD packet to send [04:02:49]OFD Sender: No OFD packet to send [04:02:54]OFD Sender: No OFD packet to send [04:02:59]OFD Sender: No OFD packet to send [04:03:04]OFD Sender: No OFD packet to send [04:03:09]OFD Sender: No OFD packet to send [04:03:14]OFD Sender: No OFD packet to send [04:03:19]OFD Sender: No OFD packet to send [04:03:24]OFD Sender: No OFD packet to send [04:03:29]OFD Sender: No OFD packet to send [04:03:34]OFD Sender: No OFD packet to send [04:03:39]OFD Sender: No OFD packet to send [04:03:44]OFD Sender: No OFD packet to send [04:03:49]OFD Sender: No OFD packet to send [04:03:54]OFD Sender: No OFD packet to send [04:03:59]OFD Sender: No OFD packet to send [04:04:04]OFD Sender: No OFD packet to send [04:04:09]OFD Sender: No OFD packet to send [04:04:14]OFD Sender: No OFD packet to send [04:04:19]OFD Sender: No OFD packet to send [04:04:24]OFD Sender: No OFD packet to send [04:04:29]OFD Sender: No OFD packet to send [04:04:34]OFD Sender: No OFD packet to send [04:04:39]OFD Sender: No OFD packet to send [04:04:44]OFD Sender: No OFD packet to send [04:04:49]OFD Sender: No OFD packet to send [04:04:54]OFD Sender: No OFD packet to send [04:04:59]OFD Sender: No OFD packet to send [04:05:04]OFD Sender: No OFD packet to send [04:05:09]OFD Sender: No OFD packet to send [04:05:14]OFD Sender: No OFD packet to send [04:05:19]OFD Sender: No OFD packet to send [04:05:24]OFD Sender: No OFD packet to send [04:05:29]OFD Sender: No OFD packet to send [04:05:34]OFD Sender: No OFD packet to send [04:05:39]OFD Sender: No OFD packet to send [04:05:44]OFD Sender: No OFD packet to send [04:05:49]OFD Sender: No OFD packet to send [04:05:54]OFD Sender: No OFD packet to send [04:05:59]OFD Sender: No OFD packet to send [04:06:04]OFD Sender: No OFD packet to send [04:06:09]OFD Sender: No OFD packet to send [04:06:14]OFD Sender: No OFD packet to send [04:06:19]OFD Sender: No OFD packet to send [04:06:24]OFD Sender: No OFD packet to send [04:06:29]OFD Sender: No OFD packet to send [04:06:34]OFD Sender: No OFD packet to send [04:06:39]OFD Sender: No OFD packet to send [04:06:44]OFD Sender: No OFD packet to send [04:06:49]OFD Sender: No OFD packet to send [04:06:54]OFD Sender: No OFD packet to send [04:06:59]OFD Sender: No OFD packet to send [04:07:04]OFD Sender: No OFD packet to send [04:07:09]OFD Sender: No OFD packet to send [04:07:14]OFD Sender: No OFD packet to send [04:07:19]OFD Sender: No OFD packet to send [04:07:24]OFD Sender: No OFD packet to send [04:07:29]OFD Sender: No OFD packet to send [04:07:34]OFD Sender: No OFD packet to send [04:07:39]OFD Sender: No OFD packet to send [04:07:44]OFD Sender: No OFD packet to send [04:07:49]OFD Sender: No OFD packet to send [04:07:54]OFD Sender: No OFD packet to send [04:07:59]OFD Sender: No OFD packet to send [04:08:04]OFD Sender: No OFD packet to send [04:08:09]OFD Sender: No OFD packet to send [04:08:14]OFD Sender: No OFD packet to send [04:08:19]OFD Sender: No OFD packet to send [04:08:24]OFD Sender: No OFD packet to send [04:08:29]OFD Sender: No OFD packet to send [04:08:34]OFD Sender: No OFD packet to send [04:08:39]OFD Sender: No OFD packet to send [04:08:44]OFD Sender: No OFD packet to send [04:08:49]OFD Sender: No OFD packet to send [04:08:54]OFD Sender: No OFD packet to send [04:08:59]OFD Sender: No OFD packet to send [04:09:04]OFD Sender: No OFD packet to send [04:09:09]OFD Sender: No OFD packet to send [04:09:14]OFD Sender: No OFD packet to send [04:09:19]OFD Sender: No OFD packet to send [04:09:24]OFD Sender: No OFD packet to send [04:09:29]OFD Sender: No OFD packet to send [04:09:34]OFD Sender: No OFD packet to send [04:09:39]OFD Sender: No OFD packet to send [04:09:44]OFD Sender: No OFD packet to send [04:09:49]OFD Sender: No OFD packet to send [04:09:54]OFD Sender: No OFD packet to send [04:09:59]OFD Sender: No OFD packet to send [04:10:04]OFD Sender: No OFD packet to send [04:10:09]OFD Sender: No OFD packet to send [04:10:14]OFD Sender: No OFD packet to send [04:10:19]OFD Sender: No OFD packet to send [04:10:24]OFD Sender: No OFD packet to send [04:10:29]OFD Sender: No OFD packet to send [04:10:34]OFD Sender: No OFD packet to send [04:10:39]OFD Sender: No OFD packet to send [04:10:44]OFD Sender: No OFD packet to send [04:10:49]OFD Sender: No OFD packet to send [04:10:54]OFD Sender: No OFD packet to send [04:10:59]OFD Sender: No OFD packet to send [04:11:04]OFD Sender: No OFD packet to send [04:11:09]OFD Sender: No OFD packet to send [04:11:14]OFD Sender: No OFD packet to send [04:11:19]OFD Sender: No OFD packet to send [04:11:24]OFD Sender: No OFD packet to send [04:11:29]OFD Sender: No OFD packet to send [04:11:34]OFD Sender: No OFD packet to send [04:11:39]OFD Sender: No OFD packet to send [04:11:44]OFD Sender: No OFD packet to send [04:11:49]OFD Sender: No OFD packet to send [04:11:54]OFD Sender: No OFD packet to send [04:11:59]OFD Sender: No OFD packet to send [04:12:04]OFD Sender: No OFD packet to send [04:12:09]OFD Sender: No OFD packet to send [04:12:14]OFD Sender: No OFD packet to send [04:12:19]OFD Sender: No OFD packet to send [04:12:24]OFD Sender: No OFD packet to send [04:12:29]OFD Sender: No OFD packet to send [04:12:34]OFD Sender: No OFD packet to send [04:12:39]OFD Sender: No OFD packet to send [04:12:44]OFD Sender: No OFD packet to send [04:12:49]OFD Sender: No OFD packet to send [04:12:54]OFD Sender: No OFD packet to send [04:12:59]OFD Sender: No OFD packet to send [04:13:04]OFD Sender: No OFD packet to send [04:13:09]OFD Sender: No OFD packet to send [04:13:14]OFD Sender: No OFD packet to send [04:13:19]OFD Sender: No OFD packet to send [04:13:24]OFD Sender: No OFD packet to send [04:13:29]OFD Sender: No OFD packet to send [04:13:34]OFD Sender: No OFD packet to send [04:13:39]OFD Sender: No OFD packet to send [04:13:44]OFD Sender: No OFD packet to send [04:13:49]OFD Sender: No OFD packet to send [04:13:54]OFD Sender: No OFD packet to send [04:13:59]OFD Sender: No OFD packet to send [04:14:04]OFD Sender: No OFD packet to send [04:14:09]OFD Sender: No OFD packet to send [04:14:14]OFD Sender: No OFD packet to send [04:14:19]OFD Sender: No OFD packet to send [04:14:24]OFD Sender: No OFD packet to send [04:14:29]OFD Sender: No OFD packet to send [04:14:34]OFD Sender: No OFD packet to send [04:14:39]OFD Sender: No OFD packet to send [04:14:44]OFD Sender: No OFD packet to send [04:14:49]OFD Sender: No OFD packet to send [04:14:54]OFD Sender: No OFD packet to send [04:14:59]OFD Sender: No OFD packet to send [04:15:04]OFD Sender: No OFD packet to send [04:15:09]OFD Sender: No OFD packet to send [04:15:14]OFD Sender: No OFD packet to send [04:15:19]OFD Sender: No OFD packet to send [04:15:24]OFD Sender: No OFD packet to send [04:15:29]OFD Sender: No OFD packet to send [04:15:34]OFD Sender: No OFD packet to send [04:15:36]accept exits with 9 [04:15:36]New connection [04:15:36]New thread 3066699108 created [04:15:36]Thread 3066842468 joined [04:15:36]Waiting for new connection... [04:15:36] Sock 9.Parse request [04:15:36]Sock 9.Check first char [04:15:36]Sock 9.First char is OK [04:15:36]request: POST /json_proto HTTP/1.0 [04:15:36]Method: POST [04:15:36]URL: /json_proto [04:15:36]Method is POST - this is cgi request [04:15:36]url: /json_proto [04:15:36]query_string will be loaded in cgi processing [04:15:36]execute_cgi json_proto POST (null) [04:15:36]execute_cgi path=json_proto method=POST [04:15:36]POST find Content-Length [04:15:36]Host: 172.17.35.196:8080 [04:15:36]Content-Length: 630 [04:15:36]Content-Type: application/json [04:15:36] [04:15:36]POST finish read [04:15:36]Found Content-Length = 630 [04:15:36]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169087", "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" ] } } [04:15:36]execute_script... [04:15: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)169087", "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" ] } } [04:15:36]POST & json_proto [04:15:36]process_json_proto [04:15:36]json parsed OK: [04:15:36]protocol is kg_v1.0 [04:15:36]action value=close_receipt [04:15:36]process_action close_receipt [04:15:36]cmd_close_receipt [04:15:36]MH_GetDate [04:15:36]Write to MH i2c: F0 00 00 AB 89 23 [04:15:36]Write i2c OK [04:15:36]MH_I2C_Read... [04:15:36]Read from MH i2c: F0 [04:15:36]MH_I2C_Read... [04:15:36]Read from MH i2c: F0 09 00 [04:15:36]MH_I2C_Read... [04:15:36]Read from MH i2c: F0 09 00 AB 89 00 8B 5C 8F 66 AD 14 F4 65 22 [04:15:36]GetLastDocTimeStamp 1720657145 [04:15:36]current date 1720671371 [04:15:36]FM_GetShiftState [04:15:36]SAM_PROTO_GetShiftState [04:15:36]wFMCommunicate request_size=4 [04:15:36]MH_SAM_APDU [04:15:36]CAPDU: 80 13 01 00 [04:15:36]Write to MH i2c: E2 08 00 AC 89 80 13 01 00 00 00 00 00 B2 [04:15:36]Write i2c OK [04:15:36]MH_I2C_Read... [04:15:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [04:15:36]Read from MH i2c: E2 [04:15:36]MH_I2C_Read... [04:15:36]Read from MH i2c: E2 0E 00 [04:15:36]MH_I2C_Read... [04:15:36]Read from MH i2c: E2 0E 00 AC 89 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 E3 [04:15:36]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [04:15:36]wFMCommunicate OK [04:15:36]SAM_PROTO_GetShiftState done [04:15:36]FM_GetShiftState done [04:15:36]opened in 1720656398 [04:15:36]opened+sec_in_day 1720742798 [04:15:36]quantity*price = 5000 [04:15:36]sum+1 = 5001 [04:15:36]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 50.00 НСП 1% : 0.44 НДС 12% : 5.31 Наличными: 50.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 2 11.07.2024 04:16 Смена: 432 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33247 ФПД: 15903409560503 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T041611&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33247&fm=15903409560503&tin=02508201610067®Number=0000000000093033&sum=5000 0 [04:15:37]StoreToDocumentArchive [04:15:37]shift 432 fd 33247 [04:15:37]save to /storage/0432/doc_00033247 [04:15:37]save last doc name /storage/0432/doc_00033247 to /storage/kkm_last_doc_name [04:15:37]save OK [04:15:37]Clear old archive folders... [04:15:37]ProcessDocumentItem done err = 0, tmpTLVsize=269 [04:15:37]tlvbuf is 003211E0 [04:15:37]SAM_PROTO_ClearQueue [04:15:37]wFMCommunicate request_size=4 [04:15:37]MH_SAM_APDU [04:15:37]CAPDU: 80 09 00 00 [04:15:37]Write to MH i2c: E2 08 00 B9 89 80 09 00 00 00 00 00 00 B4 [04:15:37]Write i2c OK [04:15:37]MH_I2C_Read... [04:15:37]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [04:15:37]Read from MH i2c: E2 [04:15:37]MH_I2C_Read... [04:15:37]Read from MH i2c: E2 03 00 [04:15:37]MH_I2C_Read... [04:15:37]Read from MH i2c: E2 03 00 B9 89 00 90 00 B6 [04:15:37]RAPDU: 90 00 [04:15:37]wFMCommunicate OK [04:15:37]SAM_PROTO_ClearQueue done [04:15:37]KKMCreateOFDPacket [04:15:37]OFDProtocolAddRootSTLVToBuf [04:15:37]FM_MakeSignedData [04:15:37]FM_MakeSignedData [04:15:37]SAM_PROTO_SignData [04:15:37]wFMCommunicate request_size=4 [04:15:37]MH_SAM_APDU [04:15:37]CAPDU: 80 0D 01 02 [04:15:37]Write to MH i2c: E2 08 00 BA 89 80 0D 01 02 00 00 00 00 BC [04:15:37]Write i2c OK [04:15:37]MH_I2C_Read... [04:15:37]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [04:15:37]Read from MH i2c: E2 [04:15:37]MH_I2C_Read... [04:15:37]Read from MH i2c: E2 03 00 [04:15:37]MH_I2C_Read... [04:15:37]Read from MH i2c: E2 03 00 BA 89 00 90 00 B7 [04:15:37]RAPDU: 90 00 [04:15:37]wFMCommunicate OK [04:15:37]wFMCommunicate request_size=255 [04:15:37]MH_SAM_APDU [04:15:37]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 02 00 00 00 F4 03 04 00 8B 5C 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 [04:15:37]Write to MH i2c: E2 02 01 BB 89 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 02 00 00 00 F4 03 04 00 8B 5C 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 00 00 5B [04:15:37]Write i2c OK [04:15:37]MH_I2C_Read... [04:15:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [04:15:37]Read from MH i2c: E2 [04:15:37]MH_I2C_Read... [04:15:37]Read from MH i2c: E2 03 00 [04:15:37]MH_I2C_Read... [04:15:37]Read from MH i2c: E2 03 00 BB 89 00 90 00 B8 [04:15:37]RAPDU: 90 00 [04:15:37]wFMCommunicate OK [04:15:37]wFMCommunicate request_size=28 [04:15:37]MH_SAM_APDU [04:15:37]CAPDU: 80 0D 02 02 17 37 35 31 30 34 10 04 04 00 DF 81 00 00 35 04 06 00 0E 76 CD 13 DB B7 [04:15:37]Write to MH i2c: E2 1F 00 BC 89 80 0D 02 02 17 00 37 35 31 30 34 10 04 04 00 DF 81 00 00 35 04 06 00 0E 76 CD 13 DB B7 00 00 9B [04:15:38]Write i2c OK [04:15:38]MH_I2C_Read... [04:15:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [04:15:38]Read from MH i2c: E2 [04:15:38]MH_I2C_Read... [04:15:38]Read from MH i2c: E2 03 00 [04:15:38]MH_I2C_Read... [04:15:38]Read from MH i2c: E2 03 00 BC 89 00 90 00 B9 [04:15:38]RAPDU: 90 00 [04:15:38]wFMCommunicate OK [04:15:38]wFMCommunicate request_size=4 [04:15:38]MH_SAM_APDU [04:15:38]CAPDU: 80 0D 03 02 [04:15:38]Write to MH i2c: E2 08 00 BD 89 80 0D 03 02 00 00 00 00 C1 [04:15:38]Write i2c OK [04:15:38]MH_I2C_Read... [04:15:38]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [04:15:38]Read from MH i2c: E2 [04:15:38]MH_I2C_Read... [04:15:38]Read from MH i2c: E2 0B 00 [04:15:38]MH_I2C_Read... [04:15:38]Read from MH i2c: E2 0B 00 BD 89 00 04 1B 2E 90 8C 8C 41 DF 90 00 D7 [04:15:38]RAPDU: 04 1B 2E 90 8C 8C 41 DF 90 00 [04:15:38]wFMCommunicate OK [04:15:38]SAM_PROTO_SignData done [04:15:38]FM_MakeSignedData done [04:15:38]CreateOFDProtocolMessage [04:15:38]wFMCommunicate request_size=4 [04:15:38]MH_SAM_APDU [04:15:38]CAPDU: 80 11 00 00 [04:15:38]Write to MH i2c: E2 08 00 BE 89 80 11 00 00 00 00 00 00 C1 [04:15:38]Write i2c OK [04:15:38]MH_I2C_Read... [04:15:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [04:15:38]Read from MH i2c: E2 [04:15:38]MH_I2C_Read... [04:15:38]Read from MH i2c: E2 17 00 [04:15:38]MH_I2C_Read... [04:15:38]Read from MH i2c: E2 17 00 BE 89 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 0D [04:15:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [04:15:38]wFMCommunicate OK [04:15:38]CreateOFDProtocolMessage done [04:15:38]OFDSenderStorePacket 33247 [04:15:38]StoreOFDPacket docnum=33247 [04:15:38]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 21 01 00 00 B3 FB 19 01 E4 57 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 02 00 00 00 F4 03 04 00 8B 5C 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 DF 81 00 00 35 04 06 00 0E 76 CD 13 DB B7 04 1B 2E 90 8C 8C 41 DF [04:15:38]CheckFolder [04:15:38]dirname=/storage/ofd_packets [04:15:38]CheckFolder done [04:15:38]ProducePacketName [04:15:38]name=ofd_packets/00033247 [04:15:38]NVStorageSaveData ofd_packets/00033247 [04:15:38]File name is /storage/ofd_packets/00033247 [04:15:38]Write 319 bytes [04:15:38]NVStorageSaveData done [04:15:38]OFDSenderStorePacket done [04:15:38]KKMCreateOFDPacket done [04:15:38]NVStorageSaveData kkm_last_timestamp [04:15:38]File name is /storage/kkm_last_timestamp [04:15:38]Write 4 bytes [04:15:38]NVStorageSaveData done [04:15:38]ExternCall_PrintAddStr [04:15:38]wPrintStart [04:15:38]Write to MH i2c: 01 00 00 BF 89 48 [04:15:38]Write i2c OK [04:15:38]MH_I2C_Read... [04:15:38]Read from MH i2c: 01 [04:15:38]MH_I2C_Read... [04:15:38]Read from MH i2c: 01 07 00 [04:15:38]MH_I2C_Read... [04:15:38]Read from MH i2c: 01 07 00 BF 89 00 00 00 00 00 FF 0F 5D [04:15:38]RasterBufferAndPrint [04:15:38]line Счет N : (3)169087 [04:15:38]line ИНН: 02508201610067 [04:15:38]line Контрольно-Кассовый Чек [04:15:38]line ПРОДАЖА [04:15:38]line Товар: 4700000160358 [04:15:38]line Вода Легенда 1л [04:15:38]line 1.000 * 50.00 [04:15:38]line = 50.00 [04:15:38]line НДС 12% НСП 1% [04:15:38]line > о реализуемом товаре [04:15:38]line ИТОГО: 50.00 [04:15:38]line НСП 1% : 0.44 [04:15:38]line НДС 12% : 5.31 [04:15:38]line Наличными: 50.00 [04:15:38]line Безнал.: 0.00 [04:15:38]line Место: АЗС № 77 "Партнер Нефть" [04:15:38]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [04:15:38]line СНО: Общий режим [04:15:38]line Чек 2 11.07.2024 04:16 [04:15:38]line Смена: 432 ФФД: 1.0 [04:15:38]line ЗНМ: 0300000122 [04:15:38]line РНМ: 0000000000093033 [04:15:38]line Версия ККМ: 001 [04:15:38]line ФМ: 0000000000875104 [04:15:38]line ФД: 33247 [04:15:38]line ФПД: 15903409560503 [04:15:38]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T041611&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33247&fm=15903409560503&tin=02508201610067®Number=0000000000093033&sum=5000 [04:15:38]line 0 [04:15:38]written 0, free lines is 4095 [04:15:38]OFD Sender: Processing packet 33247 [packets to send 6, broken 5] [04:15:38]ProducePacketName [04:15:38]name=ofd_packets/00033247 [04:15:38]OFD Sender: To server: pG, [04:15:38]CommunicateWithHost lk.salyk.kg:30040 [04:15:38]ConnectInit lk.salyk.kg [04:15:38]Connected sock=10 [04:15:38]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 21 01 00 00 B3 FB 19 01 E4 57 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 02 00 00 00 F4 03 04 00 8B 5C 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 DF 81 00 00 35 04 06 00 0E 76 CD 13 DB B7 04 1B 2E 90 8C 8C 41 DF [04:15:38]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 F9 27 47 00 E7 38 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 DF 81 00 00 F4 03 04 00 3C 07 8F 66 B6 04 01 00 00 73 C2 00 55 36 95 7A CE [04:15:38]CommunicateWithHost err = 0 [04:15:38]CheckOFDResponse [04:15:38]1017 (14) - 77093643461234 [04:15:38]1041 (16) - 0000000000875104 [04:15:38]1040 (4) - 33247 [04:15:38]1012 (4) - 10.07.2024 22:12 [04:15:38]1206 (1) - 0 [04:15:38]OFD Sender: Remove packet 33247 [04:15:38]ProducePacketName [04:15:38]name=ofd_packets/00033247 [04:15:38]NVStorageDeleteData [04:15:38]Write to MH i2c: 01 00 00 E7 89 70 [04:15:38]Write i2c OK [04:15:38]MH_I2C_Read... [04:15:38]Read from MH i2c: 01 [04:15:38]MH_I2C_Read... [04:15:38]Read from MH i2c: 01 07 00 [04:15:38]MH_I2C_Read... [04:15:38]Read from MH i2c: 01 07 00 E7 89 00 00 00 00 00 F7 0C 7A [04:15:38]RasterBufferAndPrint [04:15:38]line [04:15:38]line [04:15:38]line [04:15:38]line [04:15:38]line [04:15:38]written 0, free lines is 3325 [04:15:38]MH_Cut [04:15:38]Write to MH i2c: D1 01 00 EE 89 01 49 [04:15:38]Write i2c OK [04:15:38]MH_I2C_Read... [04:15:38]Read from MH i2c: D1 [04:15:38]MH_I2C_Read... [04:15:38]Read from MH i2c: D1 01 00 [04:15:38]MH_I2C_Read... [04:15:38]Read from MH i2c: D1 01 00 EE 89 00 48 [04:15:38]Write to MH i2c: 01 00 00 EF 89 78 [04:15:38]Write i2c OK [04:15:38]MH_I2C_Read... [04:15:39]OFD Sender: No OFD packet to send [04:15:39]*** Cut start [04:15:39]*** Partial cut [04:15:39]*** CUTSNS_PIN = 1 [04:15:39]*** CUTSNS_PIN = 0 [04:15:39]*** Brake cut motor [04:15:39]Read from MH i2c: 01 [04:15:39]MH_I2C_Read... [04:15:39]*** Stop cut motor [04:15:39]*** Cut end [04:15:39]Read from MH i2c: 01 07 00 [04:15:39]MH_I2C_Read... [04:15:39]Read from MH i2c: 01 07 00 EF 89 00 00 00 00 00 FF 0F 8D [04:15:39]process_action close_receipt done [04:15:39]requested_data is exist [04:15:39]produce_requested_data [04:15:39]requested_item fm.sn is exist - process it [04:15:39]wFMCommunicate request_size=4 [04:15:39]MH_SAM_APDU [04:15:39]CAPDU: 80 11 00 00 [04:15:39]Write to MH i2c: E2 08 00 F0 89 80 11 00 00 00 00 00 00 F3 [04:15:39]Write i2c OK [04:15:39]MH_I2C_Read... [04:15:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [04:15:40]Read from MH i2c: E2 [04:15:40]MH_I2C_Read... [04:15:40]Read from MH i2c: E2 17 00 [04:15:40]MH_I2C_Read... [04:15:40]Read from MH i2c: E2 17 00 F0 89 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 3F [04:15:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [04:15:40]wFMCommunicate OK [04:15:40]requested_item fd.num is exist - process it [04:15:40]SAM_PROTO_GetFieldsCounters [04:15:40]wFMCommunicate request_size=4 [04:15:40]MH_SAM_APDU [04:15:40]CAPDU: 80 13 00 00 [04:15:40]Write to MH i2c: E2 08 00 F1 89 80 13 00 00 00 00 00 00 F6 [04:15:40]Write i2c OK [04:15:40]MH_I2C_Read... [04:15:40]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [04:15:40]Read from MH i2c: E2 [04:15:40]MH_I2C_Read... [04:15:40]Read from MH i2c: E2 62 00 [04:15:40]MH_I2C_Read... [04:15:40]Read from MH i2c: E2 62 00 F1 89 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 DF 81 00 00 0E 04 04 00 B0 01 00 00 12 04 04 00 02 00 00 00 5E 04 04 00 02 00 00 00 57 04 04 00 03 00 00 00 19 04 04 00 00 00 00 00 90 00 20 [04:15: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 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 DF 81 00 00 0E 04 04 00 B0 01 00 00 12 04 04 00 02 00 00 00 5E 04 04 00 02 00 00 00 57 04 04 00 03 00 00 00 19 04 04 00 00 00 00 00 90 00 [04:15:40]wFMCommunicate OK [04:15:40]SAM_PROTO_GetFieldsCounters done [04:15:40]requested_item shift.num is exist - process it [04:15:40]requested_item shift.opened is exist - process it [04:15:40]req_shift_opened [04:15:40]FM_GetShiftState [04:15:40]SAM_PROTO_GetShiftState [04:15:40]wFMCommunicate request_size=4 [04:15:40]MH_SAM_APDU [04:15:40]CAPDU: 80 13 01 00 [04:15:40]Write to MH i2c: E2 08 00 F2 89 80 13 01 00 00 00 00 00 F8 [04:15:40]Write i2c OK [04:15:40]MH_I2C_Read... [04:15:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [04:15:40]Read from MH i2c: E2 [04:15:40]MH_I2C_Read... [04:15:40]Read from MH i2c: E2 0E 00 [04:15:40]MH_I2C_Read... [04:15:40]Read from MH i2c: E2 0E 00 F2 89 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 29 [04:15:40]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [04:15:40]wFMCommunicate OK [04:15:40]SAM_PROTO_GetShiftState done [04:15:40]FM_GetShiftState done [04:15:40]req_shift_opened done [04:15:40]requested_item shift.open_date is exist - process it [04:15:40]req_shift_open_date [04:15:40]req_shift_open_date done [04:15:40]produce_requested_data done [04:15:40]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33247,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398} [04:15:40]process_action_free close_receipt [04:15:40]json_value_free [04:15:40]json_value_free done [04:15:40]process_json_proto returns [04:15:40]Send response to host [04:15:40]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33247,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398}}} [04:15:40]free response buf [04:15:40]execute_script done [04:15:40]execute_script returns [04:15:40]free content buf [04:15:40]Sock 9.Close socket [04:15:40]Sock 9.Thread stoped [04:15:44]OFD Sender: No OFD packet to send [04:15:49]OFD Sender: No OFD packet to send [04:15:54]OFD Sender: No OFD packet to send [04:15:59]OFD Sender: No OFD packet to send [04:16:04]OFD Sender: No OFD packet to send [04:16:09]OFD Sender: No OFD packet to send [04:16:14]OFD Sender: No OFD packet to send [04:16:19]OFD Sender: No OFD packet to send [04:16:24]OFD Sender: No OFD packet to send [04:16:29]OFD Sender: No OFD packet to send [04:16:34]OFD Sender: No OFD packet to send [04:16:39]OFD Sender: No OFD packet to send [04:16:44]OFD Sender: No OFD packet to send [04:16:49]OFD Sender: No OFD packet to send [04:16:54]OFD Sender: No OFD packet to send [04:16:59]OFD Sender: No OFD packet to send [04:17:04]OFD Sender: No OFD packet to send [04:17:09]OFD Sender: No OFD packet to send [04:17:14]OFD Sender: No OFD packet to send [04:17:19]OFD Sender: No OFD packet to send [04:17:24]OFD Sender: No OFD packet to send [04:17:29]OFD Sender: No OFD packet to send [04:17:34]OFD Sender: No OFD packet to send [04:17:39]OFD Sender: No OFD packet to send [04:17:44]OFD Sender: No OFD packet to send [04:17:49]OFD Sender: No OFD packet to send [04:17:54]OFD Sender: No OFD packet to send [04:17:59]OFD Sender: No OFD packet to send [04:18:04]OFD Sender: No OFD packet to send [04:18:09]OFD Sender: No OFD packet to send [04:18:14]OFD Sender: No OFD packet to send [04:18:19]OFD Sender: No OFD packet to send [04:18:24]OFD Sender: No OFD packet to send [04:18:29]OFD Sender: No OFD packet to send [04:18:34]OFD Sender: No OFD packet to send [04:18:39]OFD Sender: No OFD packet to send [04:18:44]OFD Sender: No OFD packet to send [04:18:49]OFD Sender: No OFD packet to send [04:18:54]OFD Sender: No OFD packet to send [04:18:59]OFD Sender: No OFD packet to send [04:19:04]OFD Sender: No OFD packet to send [04:19:09]OFD Sender: No OFD packet to send [04:19:14]OFD Sender: No OFD packet to send [04:19:19]OFD Sender: No OFD packet to send [04:19:24]OFD Sender: No OFD packet to send [04:19:29]OFD Sender: No OFD packet to send [04:19:34]OFD Sender: No OFD packet to send [04:19:39]OFD Sender: No OFD packet to send [04:19:44]OFD Sender: No OFD packet to send [04:19:49]OFD Sender: No OFD packet to send [04:19:54]OFD Sender: No OFD packet to send [04:19:59]OFD Sender: No OFD packet to send [04:20:04]OFD Sender: No OFD packet to send [04:20:09]OFD Sender: No OFD packet to send [04:20:14]OFD Sender: No OFD packet to send [04:20:19]OFD Sender: No OFD packet to send [04:20:24]OFD Sender: No OFD packet to send [04:20:29]OFD Sender: No OFD packet to send [04:20:34]OFD Sender: No OFD packet to send [04:20:39]OFD Sender: No OFD packet to send [04:20:44]OFD Sender: No OFD packet to send [04:20:49]OFD Sender: No OFD packet to send [04:20:54]OFD Sender: No OFD packet to send [04:20:59]OFD Sender: No OFD packet to send [04:21:04]OFD Sender: No OFD packet to send [04:21:09]OFD Sender: No OFD packet to send [04:21:14]OFD Sender: No OFD packet to send [04:21:19]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:12]accept exits with 8 [04:22:12]New connection [04:22:12]New thread 3066842468 created [04:22:12]Thread 3066699108 joined [04:22:12]Waiting for new connection... [04:22:12] Sock 8.Parse request [04:22:12]Sock 8.Check first char [04:22:12]Sock 8.First char is OK [04:22:12]request: POST /json_proto HTTP/1.0 [04:22:12]Method: POST [04:22:12]URL: /json_proto [04:22:12]Method is POST - this is cgi request [04:22:12]url: /json_proto [04:22:12]query_string will be loaded in cgi processing [04:22:12]execute_cgi json_proto POST (null) [04:22:12]execute_cgi path=json_proto method=POST [04:22:12]POST find Content-Length [04:22:12]Host: 172.17.35.196:8080 [04:22:12]Content-Length: 745 [04:22:12]Content-Type: application/json [04:22:12] [04:22:12]POST finish read [04:22:12]Found Content-Length = 745 [04:22:12]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169088", "tax_sys" : 0, "items" : [ { "code": "4870202521186", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B\u043E\u0434\u043D\u044B\u0439 MAXI \u0447\u0435\u0440\u043D\u044B\u0439 \u0441\u043E \u0432\u043A\u0443\u0441\u043E\u043C \u043A\u043B\u0443\u0431\u043D", "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" ] } } [04:22:12]execute_script... [04:22:12]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169088", "tax_sys" : 0, "items" : [ { "code": "4870202521186", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B\u043E\u0434\u043D\u044B\u0439 MAXI \u0447\u0435\u0440\u043D\u044B\u0439 \u0441\u043E \u0432\u043A\u0443\u0441\u043E\u043C \u043A\u043B\u0443\u0431\u043D", "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" ] } } [04:22:12]POST & json_proto [04:22:12]process_json_proto [04:22:12]json parsed OK: [04:22:12]protocol is kg_v1.0 [04:22:12]action value=close_receipt [04:22:12]process_action close_receipt [04:22:12]cmd_close_receipt [04:22:12]MH_GetDate [04:22:12]Write to MH i2c: F0 00 00 F3 89 6B [04:22:12]Write i2c OK [04:22:12]MH_I2C_Read... [04:22:12]Read from MH i2c: F0 [04:22:12]MH_I2C_Read... [04:22:12]Read from MH i2c: F0 09 00 [04:22:12]MH_I2C_Read... [04:22:12]Read from MH i2c: F0 09 00 F3 89 00 17 5E 8F 66 AD 14 F4 65 F8 [04:22:12]GetLastDocTimeStamp 1720671371 [04:22:12]current date 1720671767 [04:22:12]FM_GetShiftState [04:22:12]SAM_PROTO_GetShiftState [04:22:12]wFMCommunicate request_size=4 [04:22:12]MH_SAM_APDU [04:22:12]CAPDU: 80 13 01 00 [04:22:12]Write to MH i2c: E2 08 00 F4 89 80 13 01 00 00 00 00 00 FA [04:22:12]Write i2c OK [04:22:12]MH_I2C_Read... [04:22:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [04:22:12]Read from MH i2c: E2 [04:22:12]MH_I2C_Read... [04:22:12]Read from MH i2c: E2 0E 00 [04:22:12]MH_I2C_Read... [04:22:12]Read from MH i2c: E2 0E 00 F4 89 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 2B [04:22:12]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [04:22:12]wFMCommunicate OK [04:22:12]SAM_PROTO_GetShiftState done [04:22:12]FM_GetShiftState done [04:22:12]opened in 1720656398 [04:22:12]opened+sec_in_day 1720742798 [04:22:12]quantity*price = 7000 [04:22:12]sum+1 = 7001 [04:22:12]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 70.00 НСП 1% : 0.62 НДС 12% : 7.43 Наличными: 70.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 3 11.07.2024 04:22 Смена: 432 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33248 ФПД: 258652829507813 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T042247&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33248&fm=258652829507813&tin=02508201610067®Number=0000000000093033&sum=7000 0 [04:22:13]StoreToDocumentArchive [04:22:13]shift 432 fd 33248 [04:22:13]save to /storage/0432/doc_00033248 [04:22:13]save last doc name /storage/0432/doc_00033248 to /storage/kkm_last_doc_name [04:22:13]save OK [04:22:13]Clear old archive folders... [04:22:13]ProcessDocumentItem done err = 0, tmpTLVsize=312 [04:22:13]tlvbuf is 00230240 [04:22:13]SAM_PROTO_ClearQueue [04:22:13]wFMCommunicate request_size=4 [04:22:13]MH_SAM_APDU [04:22:13]CAPDU: 80 09 00 00 [04:22:13]Write to MH i2c: E2 08 00 01 8A 80 09 00 00 00 00 00 00 FD [04:22:13]Write i2c OK [04:22:13]MH_I2C_Read... [04:22:13]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [04:22:13]Read from MH i2c: E2 [04:22:13]MH_I2C_Read... [04:22:13]Read from MH i2c: E2 03 00 [04:22:13]MH_I2C_Read... [04:22:13]Read from MH i2c: E2 03 00 01 8A 00 90 00 FF [04:22:13]RAPDU: 90 00 [04:22:13]wFMCommunicate OK [04:22:13]SAM_PROTO_ClearQueue done [04:22:13]KKMCreateOFDPacket [04:22:13]OFDProtocolAddRootSTLVToBuf [04:22:13]FM_MakeSignedData [04:22:13]FM_MakeSignedData [04:22:13]SAM_PROTO_SignData [04:22:13]wFMCommunicate request_size=4 [04:22:13]MH_SAM_APDU [04:22:13]CAPDU: 80 0D 01 02 [04:22:13]Write to MH i2c: E2 08 00 02 8A 80 0D 01 02 00 00 00 00 05 [04:22:13]Write i2c OK [04:22:13]MH_I2C_Read... [04:22:13]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [04:22:13]Read from MH i2c: E2 [04:22:13]MH_I2C_Read... [04:22:13]Read from MH i2c: E2 03 00 [04:22:13]MH_I2C_Read... [04:22:13]Read from MH i2c: E2 03 00 02 8A 00 90 00 00 [04:22:13]RAPDU: 90 00 [04:22:13]wFMCommunicate OK [04:22:13]wFMCommunicate request_size=255 [04:22:13]MH_SAM_APDU [04:22:13]CAPDU: 80 0D 02 02 FA 03 00 38 01 1E 04 01 00 01 23 04 8A 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 31 38 36 06 04 46 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 D1 81 D0 BE 20 D0 B2 D0 BA D1 83 D1 81 D0 BE D0 BC 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 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 03 00 00 00 F4 03 04 00 17 5E 8F 66 0E 04 04 00 B0 [04:22:13]Write to MH i2c: E2 02 01 03 8A 80 0D 02 02 FA 00 03 00 38 01 1E 04 01 00 01 23 04 8A 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 31 38 36 06 04 46 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 D1 81 D0 BE 20 D0 B2 D0 BA D1 83 D1 81 D0 BE D0 BC 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 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 03 00 00 00 F4 03 04 00 17 5E 8F 66 0E 04 04 00 B0 00 00 82 [04:22:13]Write i2c OK [04:22:13]MH_I2C_Read... [04:22:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [04:22:14]Read from MH i2c: E2 [04:22:14]MH_I2C_Read... [04:22:14]Read from MH i2c: E2 03 00 [04:22:14]MH_I2C_Read... [04:22:14]Read from MH i2c: E2 03 00 03 8A 00 90 00 01 [04:22:14]RAPDU: 90 00 [04:22:14]wFMCommunicate OK [04:22:14]wFMCommunicate request_size=71 [04:22:14]MH_SAM_APDU [04:22:14]CAPDU: 80 0D 02 02 42 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 E0 81 00 00 35 04 06 00 EB 3E 4E 05 E0 E5 [04:22:14]Write to MH i2c: E2 4A 00 04 8A 80 0D 02 02 42 00 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 E0 81 00 00 35 04 06 00 EB 3E 4E 05 E0 E5 00 00 B6 [04:22:14]Write i2c OK [04:22:14]MH_I2C_Read... [04:22:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [04:22:14]Read from MH i2c: E2 [04:22:14]MH_I2C_Read... [04:22:14]Read from MH i2c: E2 03 00 [04:22:14]MH_I2C_Read... [04:22:14]Read from MH i2c: E2 03 00 04 8A 00 90 00 02 [04:22:14]RAPDU: 90 00 [04:22:14]wFMCommunicate OK [04:22:14]wFMCommunicate request_size=4 [04:22:14]MH_SAM_APDU [04:22:14]CAPDU: 80 0D 03 02 [04:22:14]Write to MH i2c: E2 08 00 05 8A 80 0D 03 02 00 00 00 00 0A [04:22:14]Write i2c OK [04:22:14]MH_I2C_Read... [04:22:14]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [04:22:14]Read from MH i2c: E2 [04:22:14]MH_I2C_Read... [04:22:14]Read from MH i2c: E2 0B 00 [04:22:14]MH_I2C_Read... [04:22:14]Read from MH i2c: E2 0B 00 05 8A 00 7D CB 9A 9A DB 52 03 AD 90 00 64 [04:22:14]RAPDU: 7D CB 9A 9A DB 52 03 AD 90 00 [04:22:14]wFMCommunicate OK [04:22:14]SAM_PROTO_SignData done [04:22:14]FM_MakeSignedData done [04:22:14]CreateOFDProtocolMessage [04:22:14]wFMCommunicate request_size=4 [04:22:14]MH_SAM_APDU [04:22:14]CAPDU: 80 11 00 00 [04:22:14]Write to MH i2c: E2 08 00 06 8A 80 11 00 00 00 00 00 00 0A [04:22:14]Write i2c OK [04:22:14]MH_I2C_Read... [04:22:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [04:22:14]Read from MH i2c: E2 [04:22:14]MH_I2C_Read... [04:22:14]Read from MH i2c: E2 17 00 [04:22:14]MH_I2C_Read... [04:22:14]Read from MH i2c: E2 17 00 06 8A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 56 [04:22:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [04:22:14]wFMCommunicate OK [04:22:14]CreateOFDProtocolMessage done [04:22:14]OFDSenderStorePacket 33248 [04:22:14]StoreOFDPacket docnum=33248 [04:22:14]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4C 01 00 00 10 AA 44 01 CB FE 5A 03 01 00 03 00 38 01 1E 04 01 00 01 23 04 8A 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 31 38 36 06 04 46 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 D1 81 D0 BE 20 D0 B2 D0 BA D1 83 D1 81 D0 BE D0 BC 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 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 03 00 00 00 F4 03 04 00 17 5E 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 E0 81 00 00 35 04 06 00 EB 3E 4E 05 E0 E5 7D CB 9A 9A DB 52 03 AD [04:22:14]CheckFolder [04:22:14]dirname=/storage/ofd_packets [04:22:14]CheckFolder done [04:22:14]ProducePacketName [04:22:14]name=ofd_packets/00033248 [04:22:14]NVStorageSaveData ofd_packets/00033248 [04:22:14]File name is /storage/ofd_packets/00033248 [04:22:14]Write 362 bytes [04:22:14]NVStorageSaveData done [04:22:14]OFDSenderStorePacket done [04:22:14]KKMCreateOFDPacket done [04:22:14]NVStorageSaveData kkm_last_timestamp [04:22:14]File name is /storage/kkm_last_timestamp [04:22:14]Write 4 bytes [04:22:14]NVStorageSaveData done [04:22:14]ExternCall_PrintAddStr [04:22:14]wPrintStart [04:22:14]Write to MH i2c: 01 00 00 07 8A 91 [04:22:14]Write i2c OK [04:22:14]MH_I2C_Read... [04:22:14]Read from MH i2c: 01 [04:22:14]MH_I2C_Read... [04:22:14]Read from MH i2c: 01 07 00 [04:22:14]MH_I2C_Read... [04:22:14]Read from MH i2c: 01 07 00 07 8A 00 00 00 00 00 FF 0F A6 [04:22:14]RasterBufferAndPrint [04:22:14]line Счет N : (3)169088 [04:22:14]line ИНН: 02508201610067 [04:22:14]line Контрольно-Кассовый Чек [04:22:14]line ПРОДАЖА [04:22:14]line Товар: 4870202521186 [04:22:14]line Чай холодный MAXI черный со вкусом клубн [04:22:14]line 1.000 * 70.00 [04:22:14]line = 70.00 [04:22:14]line НДС 12% НСП 1% [04:22:14]line > о реализуемом товаре [04:22:14]line ИТОГО: 70.00 [04:22:14]line НСП 1% : 0.62 [04:22:14]line НДС 12% : 7.43 [04:22:14]line Наличными: 70.00 [04:22:14]line Безнал.: 0.00 [04:22:14]line Место: АЗС № 77 "Партнер Нефть" [04:22:14]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [04:22:14]line СНО: Общий режим [04:22:14]line Чек 3 11.07.2024 04:22 [04:22:14]line Смена: 432 ФФД: 1.0 [04:22:14]line ЗНМ: 0300000122 [04:22:14]line РНМ: 0000000000093033 [04:22:14]line Версия ККМ: 001 [04:22:14]line ФМ: 0000000000875104 [04:22:14]line ФД: 33248 [04:22:14]line ФПД: 258652829507813 [04:22:14]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T042247&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33248&fm=258652829507813&tin=02508201610067®Number=0000000000093033&sum=7000 [04:22:14]line 0 [04:22:14]OFD Sender: Processing packet 33248 [packets to send 6, broken 5] [04:22:14]ProducePacketName [04:22:14]name=ofd_packets/00033248 [04:22:14]OFD Sender: To server: pG, [04:22:14]CommunicateWithHost lk.salyk.kg:30040 [04:22:14]ConnectInit lk.salyk.kg [04:22:14]written 0, free lines is 4095 [04:22:14]Connected sock=10 [04:22:14]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4C 01 00 00 10 AA 44 01 CB FE 5A 03 01 00 03 00 38 01 1E 04 01 00 01 23 04 8A 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 31 38 36 06 04 46 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 D1 81 D0 BE 20 D0 B2 D0 BA D1 83 D1 81 D0 BE D0 BC 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 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 03 00 00 00 F4 03 04 00 17 5E 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 E0 81 00 00 35 04 06 00 EB 3E 4E 05 E0 E5 7D CB 9A 9A DB 52 03 AD [04:22:14]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 40 54 47 00 C6 BC A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 E0 81 00 00 F4 03 04 00 C8 08 8F 66 B6 04 01 00 00 BA 26 02 D8 7B 37 9F E5 [04:22:14]CommunicateWithHost err = 0 [04:22:14]CheckOFDResponse [04:22:14]1017 (14) - 77093643461234 [04:22:14]1041 (16) - 0000000000875104 [04:22:14]1040 (4) - 33248 [04:22:14]1012 (4) - 10.07.2024 22:18 [04:22:14]1206 (1) - 0 [04:22:14]OFD Sender: Remove packet 33248 [04:22:14]ProducePacketName [04:22:14]name=ofd_packets/00033248 [04:22:14]NVStorageDeleteData [04:22:14]Write to MH i2c: 01 00 00 30 8A BA [04:22:14]Write i2c OK [04:22:14]MH_I2C_Read... [04:22:14]Read from MH i2c: 01 [04:22:14]MH_I2C_Read... [04:22:14]Read from MH i2c: 01 07 00 [04:22:14]MH_I2C_Read... [04:22:14]Read from MH i2c: 01 07 00 30 8A 00 00 00 00 00 D9 0C A6 [04:22:14]RasterBufferAndPrint [04:22:14]line [04:22:14]line [04:22:14]line [04:22:14]line [04:22:14]line [04:22:15]written 0, free lines is 3296 [04:22:15]MH_Cut [04:22:15]Write to MH i2c: D1 01 00 37 8A 01 93 [04:22:15]Write i2c OK [04:22:15]MH_I2C_Read... [04:22:15]Read from MH i2c: D1 [04:22:15]MH_I2C_Read... [04:22:15]Read from MH i2c: D1 01 00 [04:22:15]MH_I2C_Read... [04:22:15]Read from MH i2c: D1 01 00 37 8A 00 92 [04:22:15]Write to MH i2c: 01 00 00 38 8A C2 [04:22:15]Write i2c OK [04:22:15]MH_I2C_Read... [04:22:15]OFD Sender: No OFD packet to send [04:22:15]*** Cut start [04:22:15]*** Partial cut [04:22:15]*** CUTSNS_PIN = 1 [04:22:15]*** CUTSNS_PIN = 0 [04:22:16]*** Brake cut motor [04:22:16]Read from MH i2c: 01 [04:22:16]MH_I2C_Read... [04:22:16]*** Stop cut motor [04:22:16]*** Cut end [04:22:16]Read from MH i2c: 01 07 00 [04:22:16]MH_I2C_Read... [04:22:16]Read from MH i2c: 01 07 00 38 8A 00 00 00 00 00 FF 0F D7 [04:22:16]process_action close_receipt done [04:22:16]requested_data is exist [04:22:16]produce_requested_data [04:22:16]requested_item fm.sn is exist - process it [04:22:16]wFMCommunicate request_size=4 [04:22:16]MH_SAM_APDU [04:22:16]CAPDU: 80 11 00 00 [04:22:16]Write to MH i2c: E2 08 00 39 8A 80 11 00 00 00 00 00 00 3D [04:22:16]Write i2c OK [04:22:16]MH_I2C_Read... [04:22:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [04:22:16]Read from MH i2c: E2 [04:22:16]MH_I2C_Read... [04:22:16]Read from MH i2c: E2 17 00 [04:22:16]MH_I2C_Read... [04:22:16]Read from MH i2c: E2 17 00 39 8A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 89 [04:22:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [04:22:16]wFMCommunicate OK [04:22:16]requested_item fd.num is exist - process it [04:22:16]SAM_PROTO_GetFieldsCounters [04:22:16]wFMCommunicate request_size=4 [04:22:16]MH_SAM_APDU [04:22:16]CAPDU: 80 13 00 00 [04:22:16]Write to MH i2c: E2 08 00 3A 8A 80 13 00 00 00 00 00 00 40 [04:22:16]Write i2c OK [04:22:16]MH_I2C_Read... [04:22:16]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [04:22:16]Read from MH i2c: E2 [04:22:16]MH_I2C_Read... [04:22:16]Read from MH i2c: E2 62 00 [04:22:16]MH_I2C_Read... [04:22:16]Read from MH i2c: E2 62 00 3A 8A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 E0 81 00 00 0E 04 04 00 B0 01 00 00 12 04 04 00 03 00 00 00 5E 04 04 00 03 00 00 00 57 04 04 00 04 00 00 00 19 04 04 00 00 00 00 00 90 00 6E [04:22: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 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 E0 81 00 00 0E 04 04 00 B0 01 00 00 12 04 04 00 03 00 00 00 5E 04 04 00 03 00 00 00 57 04 04 00 04 00 00 00 19 04 04 00 00 00 00 00 90 00 [04:22:16]wFMCommunicate OK [04:22:16]SAM_PROTO_GetFieldsCounters done [04:22:16]requested_item shift.num is exist - process it [04:22:16]requested_item shift.opened is exist - process it [04:22:16]req_shift_opened [04:22:16]FM_GetShiftState [04:22:16]SAM_PROTO_GetShiftState [04:22:16]wFMCommunicate request_size=4 [04:22:16]MH_SAM_APDU [04:22:16]CAPDU: 80 13 01 00 [04:22:16]Write to MH i2c: E2 08 00 3B 8A 80 13 01 00 00 00 00 00 42 [04:22:16]Write i2c OK [04:22:16]MH_I2C_Read... [04:22:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [04:22:16]Read from MH i2c: E2 [04:22:16]MH_I2C_Read... [04:22:16]Read from MH i2c: E2 0E 00 [04:22:16]MH_I2C_Read... [04:22:16]Read from MH i2c: E2 0E 00 3B 8A 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 73 [04:22:16]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [04:22:16]wFMCommunicate OK [04:22:16]SAM_PROTO_GetShiftState done [04:22:16]FM_GetShiftState done [04:22:16]req_shift_opened done [04:22:16]requested_item shift.open_date is exist - process it [04:22:16]req_shift_open_date [04:22:16]req_shift_open_date done [04:22:16]produce_requested_data done [04:22:16]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33248,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398} [04:22:16]process_action_free close_receipt [04:22:16]json_value_free [04:22:16]json_value_free done [04:22:16]process_json_proto returns [04:22:16]Send response to host [04:22:16]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33248,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398}}} [04:22:16]free response buf [04:22:16]execute_script done [04:22:16]execute_script returns [04:22:16]free content buf [04:22:16]Sock 8.Close socket [04:22:16]Sock 8.Thread stoped [04:22:20]OFD Sender: No OFD packet to send [04:22:25]OFD Sender: No OFD packet to send [04:22:30]OFD Sender: No OFD packet to send [04:22:35]OFD Sender: No OFD packet to send [04:22:40]OFD Sender: No OFD packet to send [04:22:45]OFD Sender: No OFD packet to send [04:22:50]OFD Sender: No OFD packet to send [04:22:55]OFD Sender: No OFD packet to send [04:23:00]OFD Sender: No OFD packet to send [04:23:05]OFD Sender: No OFD packet to send [04:23:10]OFD Sender: No OFD packet to send [04:23:15]OFD Sender: No OFD packet to send [04:23:20]OFD Sender: No OFD packet to send [04:23:25]OFD Sender: No OFD packet to send [04:23:30]OFD Sender: No OFD packet to send [04:23:35]OFD Sender: No OFD packet to send [04:23:40]OFD Sender: No OFD packet to send [04:23:42]accept exits with 9 [04:23:42]New connection [04:23:42]New thread 3066699108 created [04:23:42]Thread 3066842468 joined [04:23:42]Waiting for new connection... [04:23:42] Sock 9.Parse request [04:23:42]Sock 9.Check first char [04:23:42]Sock 9.First char is OK [04:23:42]request: POST /json_proto HTTP/1.0 [04:23:42]Method: POST [04:23:42]URL: /json_proto [04:23:42]Method is POST - this is cgi request [04:23:42]url: /json_proto [04:23:42]query_string will be loaded in cgi processing [04:23:42]execute_cgi json_proto POST (null) [04:23:42]execute_cgi path=json_proto method=POST [04:23:42]POST find Content-Length [04:23:42]Host: 172.17.35.196:8080 [04:23:42]Content-Length: 716 [04:23:42]Content-Type: application/json [04:23:42] [04:23:42]POST finish read [04:23:42]Found Content-Length = 716 [04:23:42]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169089", "tax_sys" : 0, "items" : [ { "code": "4700000281947", "name": "\u0412\u043E\u0434\u043A\u0430 \u0411\u0435\u043B\u0435\u043D\u044C\u043A\u0430\u044F 0,46\u043B \u0420\u0443\u0441.\u041C\u0435\u0434\u0432\u0435\u0434\u044C", "price" : 330.00, "quantity" : 1.000, "sum" : 330.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 330.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [04:23:42]execute_script... [04:23: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)169089", "tax_sys" : 0, "items" : [ { "code": "4700000281947", "name": "\u0412\u043E\u0434\u043A\u0430 \u0411\u0435\u043B\u0435\u043D\u044C\u043A\u0430\u044F 0,46\u043B \u0420\u0443\u0441.\u041C\u0435\u0434\u0432\u0435\u0434\u044C", "price" : 330.00, "quantity" : 1.000, "sum" : 330.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 330.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [04:23:42]POST & json_proto [04:23:42]process_json_proto [04:23:42]json parsed OK: [04:23:42]protocol is kg_v1.0 [04:23:42]action value=close_receipt [04:23:42]process_action close_receipt [04:23:42]cmd_close_receipt [04:23:42]MH_GetDate [04:23:42]Write to MH i2c: F0 00 00 3C 8A B5 [04:23:42]Write i2c OK [04:23:42]MH_I2C_Read... [04:23:42]Read from MH i2c: F0 [04:23:42]MH_I2C_Read... [04:23:42]Read from MH i2c: F0 09 00 [04:23:42]MH_I2C_Read... [04:23:42]Read from MH i2c: F0 09 00 3C 8A 00 71 5E 8F 66 AD 14 F4 65 9C [04:23:42]GetLastDocTimeStamp 1720671767 [04:23:42]current date 1720671857 [04:23:42]FM_GetShiftState [04:23:42]SAM_PROTO_GetShiftState [04:23:42]wFMCommunicate request_size=4 [04:23:42]MH_SAM_APDU [04:23:42]CAPDU: 80 13 01 00 [04:23:42]Write to MH i2c: E2 08 00 3D 8A 80 13 01 00 00 00 00 00 44 [04:23:42]Write i2c OK [04:23:42]MH_I2C_Read... [04:23:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [04:23:42]Read from MH i2c: E2 [04:23:42]MH_I2C_Read... [04:23:42]Read from MH i2c: E2 0E 00 [04:23:42]MH_I2C_Read... [04:23:42]Read from MH i2c: E2 0E 00 3D 8A 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 75 [04:23:42]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [04:23:42]wFMCommunicate OK [04:23:42]SAM_PROTO_GetShiftState done [04:23:42]FM_GetShiftState done [04:23:42]opened in 1720656398 [04:23:42]opened+sec_in_day 1720742798 [04:23:42]quantity*price = 33000 [04:23:42]sum+1 = 33001 [04:23:42]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 330.00 НСП 1% : 2.92 НДС 12% : 35.04 Наличными: 330.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 4 11.07.2024 04:24 Смена: 432 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33249 ФПД: 150276276840115 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T042417&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33249&fm=150276276840115&tin=02508201610067®Number=0000000000093033&sum=33000 0 [04:23:43]StoreToDocumentArchive [04:23:43]shift 432 fd 33249 [04:23:43]save to /storage/0432/doc_00033249 [04:23:43]save last doc name /storage/0432/doc_00033249 to /storage/kkm_last_doc_name [04:23:43]save OK [04:23:43]Clear old archive folders... [04:23:43]ProcessDocumentItem done err = 0, tmpTLVsize=300 [04:23:43]tlvbuf is 00300F60 [04:23:43]SAM_PROTO_ClearQueue [04:23:43]wFMCommunicate request_size=4 [04:23:43]MH_SAM_APDU [04:23:43]CAPDU: 80 09 00 00 [04:23:43]Write to MH i2c: E2 08 00 4A 8A 80 09 00 00 00 00 00 00 46 [04:23:43]Write i2c OK [04:23:43]MH_I2C_Read... [04:23:43]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [04:23:43]Read from MH i2c: E2 [04:23:43]MH_I2C_Read... [04:23:43]Read from MH i2c: E2 03 00 [04:23:43]MH_I2C_Read... [04:23:43]Read from MH i2c: E2 03 00 4A 8A 00 90 00 48 [04:23:43]RAPDU: 90 00 [04:23:43]wFMCommunicate OK [04:23:43]SAM_PROTO_ClearQueue done [04:23:43]KKMCreateOFDPacket [04:23:43]OFDProtocolAddRootSTLVToBuf [04:23:43]FM_MakeSignedData [04:23:43]FM_MakeSignedData [04:23:43]SAM_PROTO_SignData [04:23:43]wFMCommunicate request_size=4 [04:23:43]MH_SAM_APDU [04:23:43]CAPDU: 80 0D 01 02 [04:23:43]Write to MH i2c: E2 08 00 4B 8A 80 0D 01 02 00 00 00 00 4E [04:23:43]Write i2c OK [04:23:43]MH_I2C_Read... [04:23:43]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [04:23:43]Read from MH i2c: E2 [04:23:43]MH_I2C_Read... [04:23:43]Read from MH i2c: E2 03 00 [04:23:43]MH_I2C_Read... [04:23:43]Read from MH i2c: E2 03 00 4B 8A 00 90 00 49 [04:23:43]RAPDU: 90 00 [04:23:43]wFMCommunicate OK [04:23:43]wFMCommunicate request_size=255 [04:23:43]MH_SAM_APDU [04:23:43]CAPDU: 80 0D 02 02 FA 03 00 2C 01 1E 04 01 00 01 23 04 7E 00 8A 04 0D 00 34 37 30 30 30 30 30 32 38 31 39 34 37 06 04 3A 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 91 D0 B5 D0 BB D0 B5 D0 BD D1 8C D0 BA D0 B0 D1 8F 20 30 2C 34 36 D0 BB 20 D0 A0 D1 83 D1 81 2E D0 9C D0 B5 D0 B4 D0 B2 D0 B5 D0 B4 D1 8C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 80 00 00 00 00 13 04 06 00 E8 80 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 80 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 24 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B0 0D 00 00 00 00 07 04 06 00 E8 80 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 71 5E 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 [04:23:43]Write to MH i2c: E2 02 01 4C 8A 80 0D 02 02 FA 00 03 00 2C 01 1E 04 01 00 01 23 04 7E 00 8A 04 0D 00 34 37 30 30 30 30 30 32 38 31 39 34 37 06 04 3A 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 91 D0 B5 D0 BB D0 B5 D0 BD D1 8C D0 BA D0 B0 D1 8F 20 30 2C 34 36 D0 BB 20 D0 A0 D1 83 D1 81 2E D0 9C D0 B5 D0 B4 D0 B2 D0 B5 D0 B4 D1 8C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 80 00 00 00 00 13 04 06 00 E8 80 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 80 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 24 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B0 0D 00 00 00 00 07 04 06 00 E8 80 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 71 5E 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 00 00 63 [04:23:43]Write i2c OK [04:23:43]MH_I2C_Read... [04:23:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [04:23:43]Read from MH i2c: E2 [04:23:43]MH_I2C_Read... [04:23:43]Read from MH i2c: E2 03 00 [04:23:43]MH_I2C_Read... [04:23:43]Read from MH i2c: E2 03 00 4C 8A 00 90 00 4A [04:23:43]RAPDU: 90 00 [04:23:43]wFMCommunicate OK [04:23:43]wFMCommunicate request_size=59 [04:23:43]MH_SAM_APDU [04:23:43]CAPDU: 80 0D 02 02 36 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 E1 81 00 00 35 04 06 00 88 AC EC 19 66 B3 [04:23:43]Write to MH i2c: E2 3E 00 4D 8A 80 0D 02 02 36 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 E1 81 00 00 35 04 06 00 88 AC EC 19 66 B3 00 00 18 [04:23:43]Write i2c OK [04:23:43]MH_I2C_Read... [04:23:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [04:23:43]Read from MH i2c: E2 [04:23:43]MH_I2C_Read... [04:23:43]Read from MH i2c: E2 03 00 [04:23:43]MH_I2C_Read... [04:23:43]Read from MH i2c: E2 03 00 4D 8A 00 90 00 4B [04:23:43]RAPDU: 90 00 [04:23:43]wFMCommunicate OK [04:23:43]wFMCommunicate request_size=4 [04:23:43]MH_SAM_APDU [04:23:43]CAPDU: 80 0D 03 02 [04:23:43]Write to MH i2c: E2 08 00 4E 8A 80 0D 03 02 00 00 00 00 53 [04:23:43]Write i2c OK [04:23:43]MH_I2C_Read... [04:23:44]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [04:23:44]Read from MH i2c: E2 [04:23:44]MH_I2C_Read... [04:23:44]Read from MH i2c: E2 0B 00 [04:23:44]MH_I2C_Read... [04:23:44]Read from MH i2c: E2 0B 00 4E 8A 00 DD 18 2B 56 0B 8C 20 68 90 00 E9 [04:23:44]RAPDU: DD 18 2B 56 0B 8C 20 68 90 00 [04:23:44]wFMCommunicate OK [04:23:44]SAM_PROTO_SignData done [04:23:44]FM_MakeSignedData done [04:23:44]CreateOFDProtocolMessage [04:23:44]wFMCommunicate request_size=4 [04:23:44]MH_SAM_APDU [04:23:44]CAPDU: 80 11 00 00 [04:23:44]Write to MH i2c: E2 08 00 4F 8A 80 11 00 00 00 00 00 00 53 [04:23:44]Write i2c OK [04:23:44]MH_I2C_Read... [04:23:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [04:23:44]Read from MH i2c: E2 [04:23:44]MH_I2C_Read... [04:23:44]Read from MH i2c: E2 17 00 [04:23:44]MH_I2C_Read... [04:23:44]Read from MH i2c: E2 17 00 4F 8A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 9F [04:23:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [04:23:44]wFMCommunicate OK [04:23:44]CreateOFDProtocolMessage done [04:23:44]OFDSenderStorePacket 33249 [04:23:44]StoreOFDPacket docnum=33249 [04:23:44]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 40 01 00 00 B3 71 38 01 1B EB 5A 03 01 00 03 00 2C 01 1E 04 01 00 01 23 04 7E 00 8A 04 0D 00 34 37 30 30 30 30 30 32 38 31 39 34 37 06 04 3A 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 91 D0 B5 D0 BB D0 B5 D0 BD D1 8C D0 BA D0 B0 D1 8F 20 30 2C 34 36 D0 BB 20 D0 A0 D1 83 D1 81 2E D0 9C D0 B5 D0 B4 D0 B2 D0 B5 D0 B4 D1 8C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 80 00 00 00 00 13 04 06 00 E8 80 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 80 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 24 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B0 0D 00 00 00 00 07 04 06 00 E8 80 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 71 5E 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 E1 81 00 00 35 04 06 00 88 AC EC 19 66 B3 DD 18 2B 56 0B 8C 20 68 [04:23:44]CheckFolder [04:23:44]dirname=/storage/ofd_packets [04:23:44]CheckFolder done [04:23:44]ProducePacketName [04:23:44]name=ofd_packets/00033249 [04:23:44]NVStorageSaveData ofd_packets/00033249 [04:23:44]File name is /storage/ofd_packets/00033249 [04:23:44]Write 350 bytes [04:23:44]NVStorageSaveData done [04:23:44]OFDSenderStorePacket done [04:23:44]KKMCreateOFDPacket done [04:23:44]NVStorageSaveData kkm_last_timestamp [04:23:44]File name is /storage/kkm_last_timestamp [04:23:44]Write 4 bytes [04:23:44]NVStorageSaveData done [04:23:44]ExternCall_PrintAddStr [04:23:44]wPrintStart [04:23:44]Write to MH i2c: 01 00 00 50 8A DA [04:23:44]Write i2c OK [04:23:44]MH_I2C_Read... [04:23:44]Read from MH i2c: 01 [04:23:44]MH_I2C_Read... [04:23:44]Read from MH i2c: 01 07 00 [04:23:44]MH_I2C_Read... [04:23:44]Read from MH i2c: 01 07 00 50 8A 00 00 00 00 00 FF 0F EF [04:23:44]RasterBufferAndPrint [04:23:44]line Счет N : (3)169089 [04:23:44]line ИНН: 02508201610067 [04:23:44]line Контрольно-Кассовый Чек [04:23:44]line ПРОДАЖА [04:23:44]line Товар: 4700000281947 [04:23:44]line Водка Беленькая 0,46л Рус.Медведь [04:23:44]line 1.000 * 330.00 [04:23:44]line = 330.00 [04:23:44]line НДС 12% НСП 1% [04:23:44]line > о реализуемом товаре [04:23:44]line ИТОГО: 330.00 [04:23:44]line НСП 1% : 2.92 [04:23:44]line НДС 12% : 35.04 [04:23:44]line Наличными: 330.00 [04:23:44]line Безнал.: 0.00 [04:23:44]line Место: АЗС № 77 "Партнер Нефть" [04:23:44]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [04:23:44]line СНО: Общий режим [04:23:44]line Чек 4 11.07.2024 04:24 [04:23:44]line Смена: 432 ФФД: 1.0 [04:23:44]line ЗНМ: 0300000122 [04:23:44]line РНМ: 0000000000093033 [04:23:44]line Версия ККМ: 001 [04:23:44]line ФМ: 0000000000875104 [04:23:44]line ФД: 33249 [04:23:44]line ФПД: 150276276840115 [04:23:44]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T042417&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33249&fm=150276276840115&tin=02508201610067®Number=0000000000093033&sum=33000 [04:23:44]line 0 [04:23:44]OFD Sender: Processing packet 33249 [packets to send 6, broken 5] [04:23:44]ProducePacketName [04:23:44]name=ofd_packets/00033249 [04:23:44]OFD Sender: To server: pG, [04:23:44]CommunicateWithHost lk.salyk.kg:30040 [04:23:44]ConnectInit lk.salyk.kg [04:23:44]written 0, free lines is 4095 [04:23:44]Connected sock=10 [04:23:44]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 40 01 00 00 B3 71 38 01 1B EB 5A 03 01 00 03 00 2C 01 1E 04 01 00 01 23 04 7E 00 8A 04 0D 00 34 37 30 30 30 30 30 32 38 31 39 34 37 06 04 3A 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 91 D0 B5 D0 BB D0 B5 D0 BD D1 8C D0 BA D0 B0 D1 8F 20 30 2C 34 36 D0 BB 20 D0 A0 D1 83 D1 81 2E D0 9C D0 B5 D0 B4 D0 B2 D0 B5 D0 B4 D1 8C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 80 00 00 00 00 13 04 06 00 E8 80 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 80 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 24 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B0 0D 00 00 00 00 07 04 06 00 E8 80 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 71 5E 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 E1 81 00 00 35 04 06 00 88 AC EC 19 66 B3 DD 18 2B 56 0B 8C 20 68 [04:23:44]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 E8 C9 47 00 71 D3 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 E1 81 00 00 F4 03 04 00 22 09 8F 66 B6 04 01 00 00 CB D6 55 56 05 A1 45 06 [04:23:44]CommunicateWithHost err = 0 [04:23:44]CheckOFDResponse [04:23:44]1017 (14) - 77093643461234 [04:23:44]1041 (16) - 0000000000875104 [04:23:44]1040 (4) - 33249 [04:23:44]1012 (4) - 10.07.2024 22:20 [04:23:44]1206 (1) - 0 [04:23:44]OFD Sender: Remove packet 33249 [04:23:44]ProducePacketName [04:23:44]name=ofd_packets/00033249 [04:23:44]NVStorageDeleteData [04:23:44]Write to MH i2c: 01 00 00 79 8A 03 [04:23:44]Write i2c OK [04:23:44]MH_I2C_Read... [04:23:44]Read from MH i2c: 01 [04:23:44]MH_I2C_Read... [04:23:44]Read from MH i2c: 01 07 00 [04:23:44]MH_I2C_Read... [04:23:44]Read from MH i2c: 01 07 00 79 8A 00 00 00 00 00 D9 0C EF [04:23:44]RasterBufferAndPrint [04:23:44]line [04:23:44]line [04:23:44]line [04:23:44]line [04:23:44]line [04:23:44]written 0, free lines is 3296 [04:23:44]MH_Cut [04:23:44]Write to MH i2c: D1 01 00 80 8A 01 DC [04:23:44]Write i2c OK [04:23:44]MH_I2C_Read... [04:23:44]Read from MH i2c: D1 [04:23:44]MH_I2C_Read... [04:23:44]Read from MH i2c: D1 01 00 [04:23:44]MH_I2C_Read... [04:23:44]Read from MH i2c: D1 01 00 80 8A 00 DB [04:23:44]Write to MH i2c: 01 00 00 81 8A 0B [04:23:44]Write i2c OK [04:23:44]MH_I2C_Read... [04:23:45]OFD Sender: No OFD packet to send [04:23:45]*** Cut start [04:23:45]*** Partial cut [04:23:45]*** CUTSNS_PIN = 1 [04:23:45]*** CUTSNS_PIN = 0 [04:23:45]*** Brake cut motor [04:23:46]Read from MH i2c: 01 [04:23:46]MH_I2C_Read... [04:23:46]*** Stop cut motor [04:23:46]*** Cut end [04:23:46]Read from MH i2c: 01 07 00 [04:23:46]MH_I2C_Read... [04:23:46]Read from MH i2c: 01 07 00 81 8A 00 00 00 00 00 FF 0F 20 [04:23:46]process_action close_receipt done [04:23:46]requested_data is exist [04:23:46]produce_requested_data [04:23:46]requested_item fm.sn is exist - process it [04:23:46]wFMCommunicate request_size=4 [04:23:46]MH_SAM_APDU [04:23:46]CAPDU: 80 11 00 00 [04:23:46]Write to MH i2c: E2 08 00 82 8A 80 11 00 00 00 00 00 00 86 [04:23:46]Write i2c OK [04:23:46]MH_I2C_Read... [04:23:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [04:23:46]Read from MH i2c: E2 [04:23:46]MH_I2C_Read... [04:23:46]Read from MH i2c: E2 17 00 [04:23:46]MH_I2C_Read... [04:23:46]Read from MH i2c: E2 17 00 82 8A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 D2 [04:23:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [04:23:46]wFMCommunicate OK [04:23:46]requested_item fd.num is exist - process it [04:23:46]SAM_PROTO_GetFieldsCounters [04:23:46]wFMCommunicate request_size=4 [04:23:46]MH_SAM_APDU [04:23:46]CAPDU: 80 13 00 00 [04:23:46]Write to MH i2c: E2 08 00 83 8A 80 13 00 00 00 00 00 00 89 [04:23:46]Write i2c OK [04:23:46]MH_I2C_Read... [04:23:46]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [04:23:46]Read from MH i2c: E2 [04:23:46]MH_I2C_Read... [04:23:46]Read from MH i2c: E2 62 00 [04:23:46]MH_I2C_Read... [04:23:46]Read from MH i2c: E2 62 00 83 8A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 E1 81 00 00 0E 04 04 00 B0 01 00 00 12 04 04 00 04 00 00 00 5E 04 04 00 04 00 00 00 57 04 04 00 05 00 00 00 19 04 04 00 00 00 00 00 90 00 BB [04:23: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 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 E1 81 00 00 0E 04 04 00 B0 01 00 00 12 04 04 00 04 00 00 00 5E 04 04 00 04 00 00 00 57 04 04 00 05 00 00 00 19 04 04 00 00 00 00 00 90 00 [04:23:46]wFMCommunicate OK [04:23:46]SAM_PROTO_GetFieldsCounters done [04:23:46]requested_item shift.num is exist - process it [04:23:46]requested_item shift.opened is exist - process it [04:23:46]req_shift_opened [04:23:46]FM_GetShiftState [04:23:46]SAM_PROTO_GetShiftState [04:23:46]wFMCommunicate request_size=4 [04:23:46]MH_SAM_APDU [04:23:46]CAPDU: 80 13 01 00 [04:23:46]Write to MH i2c: E2 08 00 84 8A 80 13 01 00 00 00 00 00 8B [04:23:46]Write i2c OK [04:23:46]MH_I2C_Read... [04:23:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [04:23:46]Read from MH i2c: E2 [04:23:46]MH_I2C_Read... [04:23:46]Read from MH i2c: E2 0E 00 [04:23:46]MH_I2C_Read... [04:23:46]Read from MH i2c: E2 0E 00 84 8A 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 BC [04:23:46]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [04:23:46]wFMCommunicate OK [04:23:46]SAM_PROTO_GetShiftState done [04:23:46]FM_GetShiftState done [04:23:46]req_shift_opened done [04:23:46]requested_item shift.open_date is exist - process it [04:23:46]req_shift_open_date [04:23:46]req_shift_open_date done [04:23:46]produce_requested_data done [04:23:46]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33249,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398} [04:23:46]process_action_free close_receipt [04:23:46]json_value_free [04:23:46]json_value_free done [04:23:46]process_json_proto returns [04:23:46]Send response to host [04:23:46]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33249,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398}}} [04:23:46]free response buf [04:23:46]execute_script done [04:23:46]execute_script returns [04:23:46]free content buf [04:23:46]Sock 9.Close socket [04:23:46]Sock 9.Thread stoped [04:23:50]OFD Sender: No OFD packet to send [04:23:55]OFD Sender: No OFD packet to send [04:24:00]OFD Sender: No OFD packet to send [04:24:05]OFD Sender: No OFD packet to send [04:24:10]OFD Sender: No OFD packet to send [04:24:15]OFD Sender: No OFD packet to send [04:24:20]OFD Sender: No OFD packet to send [04:24:25]OFD Sender: No OFD packet to send [04:24:30]OFD Sender: No OFD packet to send [04:24:35]OFD Sender: No OFD packet to send [04:24:40]OFD Sender: No OFD packet to send [04:24:45]OFD Sender: No OFD packet to send [04:24:50]OFD Sender: No OFD packet to send [04:24:55]OFD Sender: No OFD packet to send [04:25:00]OFD Sender: No OFD packet to send [04:25:05]OFD Sender: No OFD packet to send [04:25:10]OFD Sender: No OFD packet to send [04:25:15]OFD Sender: No OFD packet to send [04:25:20]OFD Sender: No OFD packet to send [04:25:25]OFD Sender: No OFD packet to send [04:25:30]OFD Sender: No OFD packet to send [04:25:35]OFD Sender: No OFD packet to send [04:25:40]OFD Sender: No OFD packet to send [04:25:45]OFD Sender: No OFD packet to send [04:25:50]OFD Sender: No OFD packet to send [04:25:55]OFD Sender: No OFD packet to send [04:26:00]OFD Sender: No OFD packet to send [04:26:05]accept exits with 8 [04:26:05]New connection [04:26:05]New thread 3066842468 created [04:26:05]Thread 3066699108 joined [04:26:05]Waiting for new connection... [04:26:05] Sock 8.Parse request [04:26:05]Sock 8.Check first char [04:26:05]Sock 8.First char is OK [04:26:05]request: POST /json_proto HTTP/1.0 [04:26:05]Method: POST [04:26:05]URL: /json_proto [04:26:05]Method is POST - this is cgi request [04:26:05]url: /json_proto [04:26:05]query_string will be loaded in cgi processing [04:26:05]execute_cgi json_proto POST (null) [04:26:05]execute_cgi path=json_proto method=POST [04:26:05]POST find Content-Length [04:26:05]Host: 172.17.35.196:8080 [04:26:05]Content-Length: 670 [04:26:05]Content-Type: application/json [04:26:05] [04:26:05]POST finish read [04:26:05]Found Content-Length = 670 [04:26:05]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169090", "tax_sys" : 0, "items" : [ { "code": "4603290004862", "name": "\u041F\u0435\u0447.\u0441\u0430\u0445.FORSITE \u0421\u044D\u043D\u0434.\u0448\u043E\u043A-\u043E\u0440.\u0432\u043A", "price" : 93.00, "quantity" : 1.000, "sum" : 93.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 93.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [04:26:05]execute_script... [04:26: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)169090", "tax_sys" : 0, "items" : [ { "code": "4603290004862", "name": "\u041F\u0435\u0447.\u0441\u0430\u0445.FORSITE \u0421\u044D\u043D\u0434.\u0448\u043E\u043A-\u043E\u0440.\u0432\u043A", "price" : 93.00, "quantity" : 1.000, "sum" : 93.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 93.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [04:26:05]POST & json_proto [04:26:05]process_json_proto [04:26:05]json parsed OK: [04:26:05]protocol is kg_v1.0 [04:26:05]action value=close_receipt [04:26:05]process_action close_receipt [04:26:05]cmd_close_receipt [04:26:05]MH_GetDate [04:26:05]Write to MH i2c: F0 00 00 85 8A FE [04:26:05]Write i2c OK [04:26:05]MH_I2C_Read... [04:26:05]Read from MH i2c: F0 [04:26:05]MH_I2C_Read... [04:26:05]Read from MH i2c: F0 09 00 [04:26:05]MH_I2C_Read... [04:26:05]Read from MH i2c: F0 09 00 85 8A 00 00 5F 8F 66 AD 14 F4 65 75 [04:26:05]GetLastDocTimeStamp 1720671857 [04:26:05]current date 1720672000 [04:26:05]FM_GetShiftState [04:26:05]SAM_PROTO_GetShiftState [04:26:05]wFMCommunicate request_size=4 [04:26:05]MH_SAM_APDU [04:26:05]CAPDU: 80 13 01 00 [04:26:05]Write to MH i2c: E2 08 00 86 8A 80 13 01 00 00 00 00 00 8D [04:26:05]OFD Sender: No OFD packet to send [04:26:05]Write i2c OK [04:26:05]MH_I2C_Read... [04:26:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [04:26:05]Read from MH i2c: E2 [04:26:05]MH_I2C_Read... [04:26:05]Read from MH i2c: E2 0E 00 [04:26:05]MH_I2C_Read... [04:26:05]Read from MH i2c: E2 0E 00 86 8A 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 BE [04:26:05]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [04:26:05]wFMCommunicate OK [04:26:05]SAM_PROTO_GetShiftState done [04:26:05]FM_GetShiftState done [04:26:05]opened in 1720656398 [04:26:05]opened+sec_in_day 1720742798 [04:26:05]quantity*price = 9300 [04:26:05]sum+1 = 9301 [04:26:05]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 93.00 НСП 1% : 0.82 НДС 12% : 9.88 Наличными: 93.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 5 11.07.2024 04:26 Смена: 432 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33250 ФПД: 117248651951550 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T042640&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33250&fm=117248651951550&tin=02508201610067®Number=0000000000093033&sum=9300 0 [04:26:06]StoreToDocumentArchive [04:26:06]shift 432 fd 33250 [04:26:06]save to /storage/0432/doc_00033250 [04:26:06]save last doc name /storage/0432/doc_00033250 to /storage/kkm_last_doc_name [04:26:06]save OK [04:26:06]Clear old archive folders... [04:26:06]ProcessDocumentItem done err = 0, tmpTLVsize=289 [04:26:06]tlvbuf is 00195850 [04:26:06]SAM_PROTO_ClearQueue [04:26:06]wFMCommunicate request_size=4 [04:26:06]MH_SAM_APDU [04:26:06]CAPDU: 80 09 00 00 [04:26:06]Write to MH i2c: E2 08 00 93 8A 80 09 00 00 00 00 00 00 8F [04:26:06]Write i2c OK [04:26:06]MH_I2C_Read... [04:26:06]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [04:26:06]Read from MH i2c: E2 [04:26:06]MH_I2C_Read... [04:26:06]Read from MH i2c: E2 03 00 [04:26:06]MH_I2C_Read... [04:26:06]Read from MH i2c: E2 03 00 93 8A 00 90 00 91 [04:26:06]RAPDU: 90 00 [04:26:06]wFMCommunicate OK [04:26:06]SAM_PROTO_ClearQueue done [04:26:06]KKMCreateOFDPacket [04:26:06]OFDProtocolAddRootSTLVToBuf [04:26:06]FM_MakeSignedData [04:26:06]FM_MakeSignedData [04:26:06]SAM_PROTO_SignData [04:26:06]wFMCommunicate request_size=4 [04:26:06]MH_SAM_APDU [04:26:06]CAPDU: 80 0D 01 02 [04:26:06]Write to MH i2c: E2 08 00 94 8A 80 0D 01 02 00 00 00 00 97 [04:26:06]Write i2c OK [04:26:06]MH_I2C_Read... [04:26:06]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [04:26:06]Read from MH i2c: E2 [04:26:06]MH_I2C_Read... [04:26:06]Read from MH i2c: E2 03 00 [04:26:06]MH_I2C_Read... [04:26:06]Read from MH i2c: E2 03 00 94 8A 00 90 00 92 [04:26:06]RAPDU: 90 00 [04:26:06]wFMCommunicate OK [04:26:06]wFMCommunicate request_size=255 [04:26:06]MH_SAM_APDU [04:26:06]CAPDU: 80 0D 02 02 FA 03 00 21 01 1E 04 01 00 01 23 04 73 00 8A 04 0D 00 34 36 30 33 32 39 30 30 30 34 38 36 32 06 04 2F 00 D0 9F D0 B5 D1 87 2E D1 81 D0 B0 D1 85 2E 46 4F 52 53 49 54 45 20 D0 A1 D1 8D D0 BD D0 B4 2E D1 88 D0 BE D0 BA 2D D0 BE D1 80 2E D0 B2 D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 54 24 00 00 00 00 13 04 06 00 54 24 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 54 24 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 52 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DC 03 00 00 00 00 07 04 06 00 54 24 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 00 5F 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 [04:26:06]Write to MH i2c: E2 02 01 95 8A 80 0D 02 02 FA 00 03 00 21 01 1E 04 01 00 01 23 04 73 00 8A 04 0D 00 34 36 30 33 32 39 30 30 30 34 38 36 32 06 04 2F 00 D0 9F D0 B5 D1 87 2E D1 81 D0 B0 D1 85 2E 46 4F 52 53 49 54 45 20 D0 A1 D1 8D D0 BD D0 B4 2E D1 88 D0 BE D0 BA 2D D0 BE D1 80 2E D0 B2 D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 54 24 00 00 00 00 13 04 06 00 54 24 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 54 24 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 52 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DC 03 00 00 00 00 07 04 06 00 54 24 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 00 5F 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 00 00 74 [04:26:06]Write i2c OK [04:26:06]MH_I2C_Read... [04:26:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [04:26:06]Read from MH i2c: E2 [04:26:06]MH_I2C_Read... [04:26:06]Read from MH i2c: E2 03 00 [04:26:06]MH_I2C_Read... [04:26:06]Read from MH i2c: E2 03 00 95 8A 00 90 00 93 [04:26:06]RAPDU: 90 00 [04:26:06]wFMCommunicate OK [04:26:06]wFMCommunicate request_size=48 [04:26:06]MH_SAM_APDU [04:26:06]CAPDU: 80 0D 02 02 2B 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 E2 81 00 00 35 04 06 00 6A A3 14 3F FD BE [04:26:06]Write to MH i2c: E2 33 00 96 8A 80 0D 02 02 2B 00 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 E2 81 00 00 35 04 06 00 6A A3 14 3F FD BE 00 00 05 [04:26:06]Write i2c OK [04:26:06]MH_I2C_Read... [04:26:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [04:26:06]Read from MH i2c: E2 [04:26:06]MH_I2C_Read... [04:26:06]Read from MH i2c: E2 03 00 [04:26:06]MH_I2C_Read... [04:26:06]Read from MH i2c: E2 03 00 96 8A 00 90 00 94 [04:26:06]RAPDU: 90 00 [04:26:06]wFMCommunicate OK [04:26:06]wFMCommunicate request_size=4 [04:26:06]MH_SAM_APDU [04:26:06]CAPDU: 80 0D 03 02 [04:26:06]Write to MH i2c: E2 08 00 97 8A 80 0D 03 02 00 00 00 00 9C [04:26:06]Write i2c OK [04:26:06]MH_I2C_Read... [04:26:07]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [04:26:07]Read from MH i2c: E2 [04:26:07]MH_I2C_Read... [04:26:07]Read from MH i2c: E2 0B 00 [04:26:07]MH_I2C_Read... [04:26:07]Read from MH i2c: E2 0B 00 97 8A 00 32 8B 45 25 76 75 49 A8 90 00 A0 [04:26:07]RAPDU: 32 8B 45 25 76 75 49 A8 90 00 [04:26:07]wFMCommunicate OK [04:26:07]SAM_PROTO_SignData done [04:26:07]FM_MakeSignedData done [04:26:07]CreateOFDProtocolMessage [04:26:07]wFMCommunicate request_size=4 [04:26:07]MH_SAM_APDU [04:26:07]CAPDU: 80 11 00 00 [04:26:07]Write to MH i2c: E2 08 00 98 8A 80 11 00 00 00 00 00 00 9C [04:26:07]Write i2c OK [04:26:07]MH_I2C_Read... [04:26:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [04:26:07]Read from MH i2c: E2 [04:26:07]MH_I2C_Read... [04:26:07]Read from MH i2c: E2 17 00 [04:26:07]MH_I2C_Read... [04:26:07]Read from MH i2c: E2 17 00 98 8A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 E8 [04:26:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [04:26:07]wFMCommunicate OK [04:26:07]CreateOFDProtocolMessage done [04:26:07]OFDSenderStorePacket 33250 [04:26:07]StoreOFDPacket docnum=33250 [04:26:07]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 35 01 00 00 51 E3 2D 01 51 EA 5A 03 01 00 03 00 21 01 1E 04 01 00 01 23 04 73 00 8A 04 0D 00 34 36 30 33 32 39 30 30 30 34 38 36 32 06 04 2F 00 D0 9F D0 B5 D1 87 2E D1 81 D0 B0 D1 85 2E 46 4F 52 53 49 54 45 20 D0 A1 D1 8D D0 BD D0 B4 2E D1 88 D0 BE D0 BA 2D D0 BE D1 80 2E D0 B2 D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 54 24 00 00 00 00 13 04 06 00 54 24 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 54 24 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 52 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DC 03 00 00 00 00 07 04 06 00 54 24 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 00 5F 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 E2 81 00 00 35 04 06 00 6A A3 14 3F FD BE 32 8B 45 25 76 75 49 A8 [04:26:07]CheckFolder [04:26:07]dirname=/storage/ofd_packets [04:26:07]CheckFolder done [04:26:07]ProducePacketName [04:26:07]name=ofd_packets/00033250 [04:26:07]NVStorageSaveData ofd_packets/00033250 [04:26:07]File name is /storage/ofd_packets/00033250 [04:26:07]Write 339 bytes [04:26:07]NVStorageSaveData done [04:26:07]OFDSenderStorePacket done [04:26:07]KKMCreateOFDPacket done [04:26:07]NVStorageSaveData kkm_last_timestamp [04:26:07]File name is /storage/kkm_last_timestamp [04:26:07]Write 4 bytes [04:26:07]NVStorageSaveData done [04:26:07]ExternCall_PrintAddStr [04:26:07]wPrintStart [04:26:07]Write to MH i2c: 01 00 00 99 8A 23 [04:26:07]Write i2c OK [04:26:07]MH_I2C_Read... [04:26:07]Read from MH i2c: 01 [04:26:07]MH_I2C_Read... [04:26:07]Read from MH i2c: 01 07 00 [04:26:07]MH_I2C_Read... [04:26:07]Read from MH i2c: 01 07 00 99 8A 00 00 00 00 00 FF 0F 38 [04:26:07]RasterBufferAndPrint [04:26:07]line Счет N : (3)169090 [04:26:07]line ИНН: 02508201610067 [04:26:07]line Контрольно-Кассовый Чек [04:26:07]line ПРОДАЖА [04:26:07]line Товар: 4603290004862 [04:26:07]line Печ.сах.FORSITE Сэнд.шок-ор.вк [04:26:07]line 1.000 * 93.00 [04:26:07]line = 93.00 [04:26:07]line НДС 12% НСП 1% [04:26:07]line > о реализуемом товаре [04:26:07]line ИТОГО: 93.00 [04:26:07]line НСП 1% : 0.82 [04:26:07]line НДС 12% : 9.88 [04:26:07]line Наличными: 93.00 [04:26:07]line Безнал.: 0.00 [04:26:07]line Место: АЗС № 77 "Партнер Нефть" [04:26:07]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [04:26:07]line СНО: Общий режим [04:26:07]line Чек 5 11.07.2024 04:26 [04:26:07]line Смена: 432 ФФД: 1.0 [04:26:07]line ЗНМ: 0300000122 [04:26:07]line РНМ: 0000000000093033 [04:26:07]line Версия ККМ: 001 [04:26:07]line ФМ: 0000000000875104 [04:26:07]line ФД: 33250 [04:26:07]line ФПД: 117248651951550 [04:26:07]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T042640&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33250&fm=117248651951550&tin=02508201610067®Number=0000000000093033&sum=9300 [04:26:07]line 0 [04:26:07]OFD Sender: Processing packet 33250 [packets to send 6, broken 5] [04:26:07]ProducePacketName [04:26:07]name=ofd_packets/00033250 [04:26:07]OFD Sender: To server: pG, [04:26:07]CommunicateWithHost lk.salyk.kg:30040 [04:26:07]ConnectInit lk.salyk.kg [04:26:07]written 0, free lines is 4095 [04:26:07]Connected sock=10 [04:26:07]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 35 01 00 00 51 E3 2D 01 51 EA 5A 03 01 00 03 00 21 01 1E 04 01 00 01 23 04 73 00 8A 04 0D 00 34 36 30 33 32 39 30 30 30 34 38 36 32 06 04 2F 00 D0 9F D0 B5 D1 87 2E D1 81 D0 B0 D1 85 2E 46 4F 52 53 49 54 45 20 D0 A1 D1 8D D0 BD D0 B4 2E D1 88 D0 BE D0 BA 2D D0 BE D1 80 2E D0 B2 D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 54 24 00 00 00 00 13 04 06 00 54 24 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 54 24 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 52 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DC 03 00 00 00 00 07 04 06 00 54 24 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 00 5F 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 E2 81 00 00 35 04 06 00 6A A3 14 3F FD BE 32 8B 45 25 76 75 49 A8 [04:26:07]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 9F 60 47 00 5C 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 35 31 30 34 10 04 04 00 E2 81 00 00 F4 03 04 00 B1 09 8F 66 B6 04 01 00 00 47 25 C0 A3 40 4C 85 D0 [04:26:07]CommunicateWithHost err = 0 [04:26:07]CheckOFDResponse [04:26:07]1017 (14) - 77093643461234 [04:26:07]1041 (16) - 0000000000875104 [04:26:07]1040 (4) - 33250 [04:26:07]1012 (4) - 10.07.2024 22:22 [04:26:07]1206 (1) - 0 [04:26:07]OFD Sender: Remove packet 33250 [04:26:07]ProducePacketName [04:26:07]name=ofd_packets/00033250 [04:26:07]NVStorageDeleteData [04:26:07]Write to MH i2c: 01 00 00 C2 8A 4C [04:26:07]Write i2c OK [04:26:07]MH_I2C_Read... [04:26:07]Read from MH i2c: 01 [04:26:07]MH_I2C_Read... [04:26:07]Read from MH i2c: 01 07 00 [04:26:07]MH_I2C_Read... [04:26:07]Read from MH i2c: 01 07 00 C2 8A 00 00 00 00 00 D1 0C 30 [04:26:07]RasterBufferAndPrint [04:26:07]line [04:26:07]line [04:26:07]line [04:26:07]line [04:26:07]line [04:26:07]written 0, free lines is 3287 [04:26:07]MH_Cut [04:26:07]Write to MH i2c: D1 01 00 C9 8A 01 25 [04:26:07]Write i2c OK [04:26:07]MH_I2C_Read... [04:26:07]Read from MH i2c: D1 [04:26:07]MH_I2C_Read... [04:26:07]Read from MH i2c: D1 01 00 [04:26:07]MH_I2C_Read... [04:26:07]Read from MH i2c: D1 01 00 C9 8A 00 24 [04:26:07]Write to MH i2c: 01 00 00 CA 8A 54 [04:26:07]Write i2c OK [04:26:07]MH_I2C_Read... [04:26:08]OFD Sender: No OFD packet to send [04:26:08]*** Cut start [04:26:08]*** Partial cut [04:26:08]*** CUTSNS_PIN = 1 [04:26:08]*** CUTSNS_PIN = 0 [04:26:08]*** Brake cut motor [04:26:09]Read from MH i2c: 01 [04:26:09]MH_I2C_Read... [04:26:09]*** Stop cut motor [04:26:09]*** Cut end [04:26:09]Read from MH i2c: 01 07 00 [04:26:09]MH_I2C_Read... [04:26:09]Read from MH i2c: 01 07 00 CA 8A 00 00 00 00 00 FF 0F 69 [04:26:09]process_action close_receipt done [04:26:09]requested_data is exist [04:26:09]produce_requested_data [04:26:09]requested_item fm.sn is exist - process it [04:26:09]wFMCommunicate request_size=4 [04:26:09]MH_SAM_APDU [04:26:09]CAPDU: 80 11 00 00 [04:26:09]Write to MH i2c: E2 08 00 CB 8A 80 11 00 00 00 00 00 00 CF [04:26:09]Write i2c OK [04:26:09]MH_I2C_Read... [04:26:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [04:26:09]Read from MH i2c: E2 [04:26:09]MH_I2C_Read... [04:26:09]Read from MH i2c: E2 17 00 [04:26:09]MH_I2C_Read... [04:26:09]Read from MH i2c: E2 17 00 CB 8A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 1B [04:26:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [04:26:09]wFMCommunicate OK [04:26:09]requested_item fd.num is exist - process it [04:26:09]SAM_PROTO_GetFieldsCounters [04:26:09]wFMCommunicate request_size=4 [04:26:09]MH_SAM_APDU [04:26:09]CAPDU: 80 13 00 00 [04:26:09]Write to MH i2c: E2 08 00 CC 8A 80 13 00 00 00 00 00 00 D2 [04:26:09]Write i2c OK [04:26:09]MH_I2C_Read... [04:26:09]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [04:26:09]Read from MH i2c: E2 [04:26:09]MH_I2C_Read... [04:26:09]Read from MH i2c: E2 62 00 [04:26:09]MH_I2C_Read... [04:26:09]Read from MH i2c: E2 62 00 CC 8A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 E2 81 00 00 0E 04 04 00 B0 01 00 00 12 04 04 00 05 00 00 00 5E 04 04 00 05 00 00 00 57 04 04 00 06 00 00 00 19 04 04 00 00 00 00 00 90 00 08 [04:26: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 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 E2 81 00 00 0E 04 04 00 B0 01 00 00 12 04 04 00 05 00 00 00 5E 04 04 00 05 00 00 00 57 04 04 00 06 00 00 00 19 04 04 00 00 00 00 00 90 00 [04:26:09]wFMCommunicate OK [04:26:09]SAM_PROTO_GetFieldsCounters done [04:26:09]requested_item shift.num is exist - process it [04:26:09]requested_item shift.opened is exist - process it [04:26:09]req_shift_opened [04:26:09]FM_GetShiftState [04:26:09]SAM_PROTO_GetShiftState [04:26:09]wFMCommunicate request_size=4 [04:26:09]MH_SAM_APDU [04:26:09]CAPDU: 80 13 01 00 [04:26:09]Write to MH i2c: E2 08 00 CD 8A 80 13 01 00 00 00 00 00 D4 [04:26:09]Write i2c OK [04:26:09]MH_I2C_Read... [04:26:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [04:26:09]Read from MH i2c: E2 [04:26:09]MH_I2C_Read... [04:26:09]Read from MH i2c: E2 0E 00 [04:26:09]MH_I2C_Read... [04:26:09]Read from MH i2c: E2 0E 00 CD 8A 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 05 [04:26:09]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [04:26:09]wFMCommunicate OK [04:26:09]SAM_PROTO_GetShiftState done [04:26:09]FM_GetShiftState done [04:26:09]req_shift_opened done [04:26:09]requested_item shift.open_date is exist - process it [04:26:09]req_shift_open_date [04:26:09]req_shift_open_date done [04:26:09]produce_requested_data done [04:26:09]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33250,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398} [04:26:09]process_action_free close_receipt [04:26:09]json_value_free [04:26:09]json_value_free done [04:26:09]process_json_proto returns [04:26:09]Send response to host [04:26:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33250,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398}}} [04:26:09]free response buf [04:26:09]execute_script done [04:26:09]execute_script returns [04:26:09]free content buf [04:26:09]Sock 8.Close socket [04:26:09]Sock 8.Thread stoped [04:26:13]OFD Sender: No OFD packet to send [04:26:18]OFD Sender: No OFD packet to send [04:26:23]OFD Sender: No OFD packet to send [04:26:28]OFD Sender: No OFD packet to send [04:26:33]OFD Sender: No OFD packet to send [04:26:38]OFD Sender: No OFD packet to send [04:26:43]OFD Sender: No OFD packet to send [04:26:48]OFD Sender: No OFD packet to send [04:26:53]OFD Sender: No OFD packet to send [04:26:58]OFD Sender: No OFD packet to send [04:27:03]OFD Sender: No OFD packet to send [04:27:08]OFD Sender: No OFD packet to send [04:27:13]OFD Sender: No OFD packet to send [04:27:18]OFD Sender: No OFD packet to send [04:27:23]OFD Sender: No OFD packet to send [04:27:28]OFD Sender: No OFD packet to send [04:27:33]OFD Sender: No OFD packet to send [04:27:38]OFD Sender: No OFD packet to send [04:27:43]OFD Sender: No OFD packet to send [04:27:48]OFD Sender: No OFD packet to send [04:27:53]OFD Sender: No OFD packet to send [04:27:58]OFD Sender: No OFD packet to send [04:28:03]OFD Sender: No OFD packet to send [04:28:08]OFD Sender: No OFD packet to send [04:28:13]OFD Sender: No OFD packet to send [04:28:18]OFD Sender: No OFD packet to send [04:28:23]OFD Sender: No OFD packet to send [04:28:28]OFD Sender: No OFD packet to send [04:28:33]OFD Sender: No OFD packet to send [04:28:38]OFD Sender: No OFD packet to send [04:28:43]OFD Sender: No OFD packet to send [04:28:48]OFD Sender: No OFD packet to send [04:28:53]OFD Sender: No OFD packet to send [04:28:58]OFD Sender: No OFD packet to send [04:29:03]OFD Sender: No OFD packet to send [04:29:08]OFD Sender: No OFD packet to send [04:29:13]OFD Sender: No OFD packet to send [04:29:18]OFD Sender: No OFD packet to send [04:29:23]OFD Sender: No OFD packet to send [04:29:28]OFD Sender: No OFD packet to send [04:29:33]OFD Sender: No OFD packet to send [04:29:38]OFD Sender: No OFD packet to send [04:29:43]OFD Sender: No OFD packet to send [04:29:48]OFD Sender: No OFD packet to send [04:29:53]OFD Sender: No OFD packet to send [04:29:58]OFD Sender: No OFD packet to send [04:30:03]OFD Sender: No OFD packet to send [04:30:08]OFD Sender: No OFD packet to send [04:30:13]OFD Sender: No OFD packet to send [04:30:18]OFD Sender: No OFD packet to send [04:30:23]OFD Sender: No OFD packet to send [04:30:28]OFD Sender: No OFD packet to send [04:30:33]OFD Sender: No OFD packet to send [04:30:38]OFD Sender: No OFD packet to send [04:30:43]OFD Sender: No OFD packet to send [04:30:48]OFD Sender: No OFD packet to send [04:30:53]OFD Sender: No OFD packet to send [04:30:58]OFD Sender: No OFD packet to send [04:31:03]OFD Sender: No OFD packet to send [04:31:08]OFD Sender: No OFD packet to send [04:31:13]OFD Sender: No OFD packet to send [04:31:18]OFD Sender: No OFD packet to send [04:31:23]OFD Sender: No OFD packet to send [04:31:28]OFD Sender: No OFD packet to send [04:31:33]OFD Sender: No OFD packet to send [04:31:38]OFD Sender: No OFD packet to send [04:31:43]OFD Sender: No OFD packet to send [04:31:48]OFD Sender: No OFD packet to send [04:31:53]OFD Sender: No OFD packet to send [04:31:58]OFD Sender: No OFD packet to send [04:32:03]OFD Sender: No OFD packet to send [04:32:08]OFD Sender: No OFD packet to send [04:32:13]OFD Sender: No OFD packet to send [04:32:18]OFD Sender: No OFD packet to send [04:32:23]OFD Sender: No OFD packet to send [04:32:28]OFD Sender: No OFD packet to send [04:32:33]OFD Sender: No OFD packet to send [04:32:38]OFD Sender: No OFD packet to send [04:32:43]OFD Sender: No OFD packet to send [04:32:48]OFD Sender: No OFD packet to send [04:32:53]OFD Sender: No OFD packet to send [04:32:58]OFD Sender: No OFD packet to send [04:33:03]OFD Sender: No OFD packet to send [04:33:08]OFD Sender: No OFD packet to send [04:33:13]OFD Sender: No OFD packet to send [04:33:18]OFD Sender: No OFD packet to send [04:33:23]OFD Sender: No OFD packet to send [04:33:28]OFD Sender: No OFD packet to send [04:33:33]OFD Sender: No OFD packet to send [04:33:38]OFD Sender: No OFD packet to send [04:33:43]OFD Sender: No OFD packet to send [04:33:48]OFD Sender: No OFD packet to send [04:33:53]OFD Sender: No OFD packet to send [04:33:58]OFD Sender: No OFD packet to send [04:34:03]OFD Sender: No OFD packet to send [04:34:08]OFD Sender: No OFD packet to send [04:34:13]OFD Sender: No OFD packet to send [04:34:18]OFD Sender: No OFD packet to send [04:34:23]OFD Sender: No OFD packet to send [04:34:28]OFD Sender: No OFD packet to send [04:34:33]OFD Sender: No OFD packet to send [04:34:38]OFD Sender: No OFD packet to send [04:34:43]OFD Sender: No OFD packet to send [04:34:48]OFD Sender: No OFD packet to send [04:34:53]OFD Sender: No OFD packet to send [04:34:58]OFD Sender: No OFD packet to send [04:35:03]OFD Sender: No OFD packet to send [04:35:08]OFD Sender: No OFD packet to send [04:35:13]OFD Sender: No OFD packet to send [04:35:18]OFD Sender: No OFD packet to send [04:35:23]OFD Sender: No OFD packet to send [04:35:28]OFD Sender: No OFD packet to send [04:35:33]OFD Sender: No OFD packet to send [04:35:38]OFD Sender: No OFD packet to send [04:35:43]OFD Sender: No OFD packet to send [04:35:48]OFD Sender: No OFD packet to send [04:35:53]OFD Sender: No OFD packet to send [04:35:58]OFD Sender: No OFD packet to send [04:36:03]OFD Sender: No OFD packet to send [04:36:08]OFD Sender: No OFD packet to send [04:36:13]OFD Sender: No OFD packet to send [04:36:18]OFD Sender: No OFD packet to send [04:36:23]OFD Sender: No OFD packet to send [04:36:28]OFD Sender: No OFD packet to send [04:36:33]OFD Sender: No OFD packet to send [04:36:38]OFD Sender: No OFD packet to send [04:36:43]OFD Sender: No OFD packet to send [04:36:48]OFD Sender: No OFD packet to send [04:36:53]OFD Sender: No OFD packet to send [04:36:58]OFD Sender: No OFD packet to send [04:37:03]OFD Sender: No OFD packet to send [04:37:08]OFD Sender: No OFD packet to send [04:37:13]OFD Sender: No OFD packet to send [04:37:18]OFD Sender: No OFD packet to send [04:37:23]OFD Sender: No OFD packet to send [04:37:28]OFD Sender: No OFD packet to send [04:37:33]OFD Sender: No OFD packet to send [04:37:38]OFD Sender: No OFD packet to send [04:37:43]OFD Sender: No OFD packet to send [04:37:48]OFD Sender: No OFD packet to send [04:37:53]OFD Sender: No OFD packet to send [04:37:58]OFD Sender: No OFD packet to send [04:38:03]OFD Sender: No OFD packet to send [04:38:08]OFD Sender: No OFD packet to send [04:38:13]OFD Sender: No OFD packet to send [04:38:18]OFD Sender: No OFD packet to send [04:38:23]OFD Sender: No OFD packet to send [04:38:28]OFD Sender: No OFD packet to send [04:38:33]OFD Sender: No OFD packet to send [04:38:38]OFD Sender: No OFD packet to send [04:38:43]OFD Sender: No OFD packet to send [04:38:48]OFD Sender: No OFD packet to send [04:38:53]OFD Sender: No OFD packet to send [04:38:58]OFD Sender: No OFD packet to send [04:39:03]OFD Sender: No OFD packet to send [04:39:08]OFD Sender: No OFD packet to send [04:39:13]OFD Sender: No OFD packet to send [04:39:18]OFD Sender: No OFD packet to send [04:39:23]OFD Sender: No OFD packet to send [04:39:28]OFD Sender: No OFD packet to send [04:39:33]OFD Sender: No OFD packet to send [04:39:38]OFD Sender: No OFD packet to send [04:39:43]OFD Sender: No OFD packet to send [04:39:48]OFD Sender: No OFD packet to send [04:39:53]OFD Sender: No OFD packet to send [04:39:58]OFD Sender: No OFD packet to send [04:40:03]OFD Sender: No OFD packet to send [04:40:08]OFD Sender: No OFD packet to send [04:40:13]OFD Sender: No OFD packet to send [04:40:18]OFD Sender: No OFD packet to send [04:40:23]OFD Sender: No OFD packet to send [04:40:28]OFD Sender: No OFD packet to send [04:40:33]OFD Sender: No OFD packet to send [04:40:38]OFD Sender: No OFD packet to send [04:40:43]OFD Sender: No OFD packet to send [04:40:48]OFD Sender: No OFD packet to send [04:40:53]OFD Sender: No OFD packet to send [04:40:58]OFD Sender: No OFD packet to send [04:41:03]OFD Sender: No OFD packet to send [04:41:08]OFD Sender: No OFD packet to send [04:41:13]OFD Sender: No OFD packet to send [04:41:18]OFD Sender: No OFD packet to send [04:41:23]OFD Sender: No OFD packet to send [04:41:28]OFD Sender: No OFD packet to send [04:41:33]OFD Sender: No OFD packet to send [04:41:38]OFD Sender: No OFD packet to send [04:41:43]OFD Sender: No OFD packet to send [04:41:48]OFD Sender: No OFD packet to send [04:41:53]OFD Sender: No OFD packet to send [04:41:58]OFD Sender: No OFD packet to send [04:42:03]OFD Sender: No OFD packet to send [04:42:08]OFD Sender: No OFD packet to send [04:42:13]OFD Sender: No OFD packet to send [04:42:18]OFD Sender: No OFD packet to send [04:42:23]OFD Sender: No OFD packet to send [04:42:28]OFD Sender: No OFD packet to send [04:42:33]OFD Sender: No OFD packet to send [04:42:38]OFD Sender: No OFD packet to send [04:42:43]OFD Sender: No OFD packet to send [04:42:48]OFD Sender: No OFD packet to send [04:42:53]OFD Sender: No OFD packet to send [04:42:58]OFD Sender: No OFD packet to send [04:43:03]OFD Sender: No OFD packet to send [04:43:08]OFD Sender: No OFD packet to send [04:43:14]OFD Sender: No OFD packet to send [04:43:19]OFD Sender: No OFD packet to send [04:43:24]OFD Sender: No OFD packet to send [04:43:29]OFD Sender: No OFD packet to send [04:43:34]OFD Sender: No OFD packet to send [04:43:39]OFD Sender: No OFD packet to send [04:43:44]OFD Sender: No OFD packet to send [04:43:49]OFD Sender: No OFD packet to send [04:43:54]OFD Sender: No OFD packet to send [04:43:59]OFD Sender: No OFD packet to send [04:44:04]OFD Sender: No OFD packet to send [04:44:09]OFD Sender: No OFD packet to send [04:44:14]OFD Sender: No OFD packet to send [04:44:19]OFD Sender: No OFD packet to send [04:44:24]OFD Sender: No OFD packet to send [04:44:29]OFD Sender: No OFD packet to send [04:44:34]OFD Sender: No OFD packet to send [04:44:39]OFD Sender: No OFD packet to send [04:44:44]OFD Sender: No OFD packet to send [04:44:49]OFD Sender: No OFD packet to send [04:44:54]OFD Sender: No OFD packet to send [04:44:59]OFD Sender: No OFD packet to send [04:45:04]OFD Sender: No OFD packet to send [04:45:09]OFD Sender: No OFD packet to send [04:45:14]OFD Sender: No OFD packet to send [04:45:19]OFD Sender: No OFD packet to send [04:45:24]OFD Sender: No OFD packet to send [04:45:29]OFD Sender: No OFD packet to send [04:45:34]OFD Sender: No OFD packet to send [04:45:39]OFD Sender: No OFD packet to send [04:45:44]OFD Sender: No OFD packet to send [04:45:49]OFD Sender: No OFD packet to send [04:45:54]OFD Sender: No OFD packet to send [04:45:59]OFD Sender: No OFD packet to send [04:46:04]OFD Sender: No OFD packet to send [04:46:09]OFD Sender: No OFD packet to send [04:46:14]OFD Sender: No OFD packet to send [04:46:19]OFD Sender: No OFD packet to send [04:46:24]OFD Sender: No OFD packet to send [04:46:29]OFD Sender: No OFD packet to send [04:46:34]OFD Sender: No OFD packet to send [04:46:39]OFD Sender: No OFD packet to send [04:46:44]OFD Sender: No OFD packet to send [04:46:49]OFD Sender: No OFD packet to send [04:46:54]OFD Sender: No OFD packet to send [04:46:59]OFD Sender: No OFD packet to send [04:47:04]OFD Sender: No OFD packet to send [04:47:09]OFD Sender: No OFD packet to send [04:47:14]OFD Sender: No OFD packet to send [04:47:19]OFD Sender: No OFD packet to send [04:47:24]OFD Sender: No OFD packet to send [04:47:29]OFD Sender: No OFD packet to send [04:47:34]OFD Sender: No OFD packet to send [04:47:39]OFD Sender: No OFD packet to send [04:47:44]OFD Sender: No OFD packet to send [04:47:49]OFD Sender: No OFD packet to send [04:47:54]OFD Sender: No OFD packet to send [04:47:59]OFD Sender: No OFD packet to send [04:48:04]OFD Sender: No OFD packet to send [04:48:09]OFD Sender: No OFD packet to send [04:48:14]OFD Sender: No OFD packet to send [04:48:19]OFD Sender: No OFD packet to send [04:48:24]OFD Sender: No OFD packet to send [04:48:29]OFD Sender: No OFD packet to send [04:48:34]OFD Sender: No OFD packet to send [04:48:39]OFD Sender: No OFD packet to send [04:48:44]OFD Sender: No OFD packet to send [04:48:49]OFD Sender: No OFD packet to send [04:48:54]OFD Sender: No OFD packet to send [04:48:59]OFD Sender: No OFD packet to send [04:49:04]OFD Sender: No OFD packet to send [04:49:09]OFD Sender: No OFD packet to send [04:49:14]OFD Sender: No OFD packet to send [04:49:19]OFD Sender: No OFD packet to send [04:49:24]OFD Sender: No OFD packet to send [04:49:29]OFD Sender: No OFD packet to send [04:49:34]OFD Sender: No OFD packet to send [04:49:39]OFD Sender: No OFD packet to send [04:49:44]OFD Sender: No OFD packet to send [04:49:49]OFD Sender: No OFD packet to send [04:49:54]OFD Sender: No OFD packet to send [04:49:59]OFD Sender: No OFD packet to send [04:50:04]OFD Sender: No OFD packet to send [04:50:09]OFD Sender: No OFD packet to send [04:50:14]OFD Sender: No OFD packet to send [04:50:19]OFD Sender: No OFD packet to send [04:50:24]OFD Sender: No OFD packet to send [04:50:29]OFD Sender: No OFD packet to send [04:50:34]OFD Sender: No OFD packet to send [04:50:39]OFD Sender: No OFD packet to send [04:50:44]OFD Sender: No OFD packet to send [04:50:49]OFD Sender: No OFD packet to send [04:50:54]OFD Sender: No OFD packet to send [04:50:59]OFD Sender: No OFD packet to send [04:51:04]OFD Sender: No OFD packet to send [04:51:09]OFD Sender: No OFD packet to send [04:51:14]OFD Sender: No OFD packet to send [04:51:19]OFD Sender: No OFD packet to send [04:51:24]OFD Sender: No OFD packet to send [04:51:29]OFD Sender: No OFD packet to send [04:51:34]OFD Sender: No OFD packet to send [04:51:39]OFD Sender: No OFD packet to send [04:51:44]OFD Sender: No OFD packet to send [04:51:49]OFD Sender: No OFD packet to send [04:51:54]OFD Sender: No OFD packet to send [04:51:59]OFD Sender: No OFD packet to send [04:52:04]OFD Sender: No OFD packet to send [04:52:09]OFD Sender: No OFD packet to send [04:52:14]OFD Sender: No OFD packet to send [04:52:19]OFD Sender: No OFD packet to send [04:52:24]OFD Sender: No OFD packet to send [04:52:29]OFD Sender: No OFD packet to send [04:52:34]OFD Sender: No OFD packet to send [04:52:39]OFD Sender: No OFD packet to send [04:52:44]OFD Sender: No OFD packet to send [04:52:49]OFD Sender: No OFD packet to send [04:52:54]OFD Sender: No OFD packet to send [04:52:59]OFD Sender: No OFD packet to send [04:53:04]OFD Sender: No OFD packet to send [04:53:09]OFD Sender: No OFD packet to send [04:53:14]OFD Sender: No OFD packet to send [04:53:19]OFD Sender: No OFD packet to send [04:53:24]OFD Sender: No OFD packet to send [04:53:29]OFD Sender: No OFD packet to send [04:53:34]OFD Sender: No OFD packet to send [04:53:39]OFD Sender: No OFD packet to send [04:53:44]OFD Sender: No OFD packet to send [04:53:49]OFD Sender: No OFD packet to send [04:53:54]OFD Sender: No OFD packet to send [04:53:59]OFD Sender: No OFD packet to send [04:54:04]OFD Sender: No OFD packet to send [04:54:09]OFD Sender: No OFD packet to send [04:54:14]OFD Sender: No OFD packet to send [04:54:19]OFD Sender: No OFD packet to send [04:54:24]OFD Sender: No OFD packet to send [04:54:29]OFD Sender: No OFD packet to send [04:54:34]OFD Sender: No OFD packet to send [04:54:39]OFD Sender: No OFD packet to send [04:54:44]OFD Sender: No OFD packet to send [04:54:49]OFD Sender: No OFD packet to send [04:54:54]OFD Sender: No OFD packet to send [04:54:59]OFD Sender: No OFD packet to send [04:55:04]OFD Sender: No OFD packet to send [04:55:09]OFD Sender: No OFD packet to send [04:55:14]OFD Sender: No OFD packet to send [04:55:19]OFD Sender: No OFD packet to send [04:55:24]OFD Sender: No OFD packet to send [04:55:29]OFD Sender: No OFD packet to send [04:55:34]OFD Sender: No OFD packet to send [04:55:39]OFD Sender: No OFD packet to send [04:55:44]OFD Sender: No OFD packet to send [04:55:49]OFD Sender: No OFD packet to send [04:55:54]OFD Sender: No OFD packet to send [04:55:59]OFD Sender: No OFD packet to send [04:56:04]OFD Sender: No OFD packet to send [04:56:09]OFD Sender: No OFD packet to send [04:56:14]OFD Sender: No OFD packet to send [04:56:19]OFD Sender: No OFD packet to send [04:56:24]OFD Sender: No OFD packet to send [04:56:29]OFD Sender: No OFD packet to send [04:56:34]OFD Sender: No OFD packet to send [04:56:39]OFD Sender: No OFD packet to send [04:56:44]OFD Sender: No OFD packet to send [04:56:49]OFD Sender: No OFD packet to send [04:56:54]OFD Sender: No OFD packet to send [04:56:59]OFD Sender: No OFD packet to send [04:57:04]OFD Sender: No OFD packet to send [04:57:09]OFD Sender: No OFD packet to send [04:57:14]OFD Sender: No OFD packet to send [04:57:19]OFD Sender: No OFD packet to send [04:57:24]OFD Sender: No OFD packet to send [04:57:29]OFD Sender: No OFD packet to send [04:57:34]OFD Sender: No OFD packet to send [04:57:39]OFD Sender: No OFD packet to send [04:57:44]OFD Sender: No OFD packet to send [04:57:49]OFD Sender: No OFD packet to send [04:57:54]OFD Sender: No OFD packet to send [04:57:59]OFD Sender: No OFD packet to send [04:58:04]OFD Sender: No OFD packet to send [04:58:09]OFD Sender: No OFD packet to send [04:58:14]OFD Sender: No OFD packet to send [04:58:19]OFD Sender: No OFD packet to send [04:58:24]OFD Sender: No OFD packet to send [04:58:29]OFD Sender: No OFD packet to send [04:58:34]OFD Sender: No OFD packet to send [04:58:39]OFD Sender: No OFD packet to send [04:58:44]OFD Sender: No OFD packet to send [04:58:49]OFD Sender: No OFD packet to send [04:58:54]OFD Sender: No OFD packet to send [04:58:59]OFD Sender: No OFD packet to send [04:59:04]OFD Sender: No OFD packet to send [04:59:09]OFD Sender: No OFD packet to send [04:59:14]OFD Sender: No OFD packet to send [04:59:19]OFD Sender: No OFD packet to send [04:59:24]OFD Sender: No OFD packet to send [04:59:29]OFD Sender: No OFD packet to send [04:59:34]OFD Sender: No OFD packet to send [04:59:39]OFD Sender: No OFD packet to send [04:59:44]OFD Sender: No OFD packet to send [04:59:49]OFD Sender: No OFD packet to send [04:59:54]OFD Sender: No OFD packet to send [04:59:59]OFD Sender: No OFD packet to send [05:00:04]OFD Sender: No OFD packet to send [05:00:09]OFD Sender: No OFD packet to send [05:00:14]OFD Sender: No OFD packet to send [05:00:19]OFD Sender: No OFD packet to send [05:00:24]OFD Sender: No OFD packet to send [05:00:29]OFD Sender: No OFD packet to send [05:00:34]OFD Sender: No OFD packet to send [05:00:39]OFD Sender: No OFD packet to send [05:00:44]OFD Sender: No OFD packet to send [05:00:49]OFD Sender: No OFD packet to send [05:00:54]OFD Sender: No OFD packet to send [05:00:59]OFD Sender: No OFD packet to send [05:01:04]OFD Sender: No OFD packet to send [05:01:09]OFD Sender: No OFD packet to send [05:01:14]OFD Sender: No OFD packet to send [05:01:19]OFD Sender: No OFD packet to send [05:01:24]OFD Sender: No OFD packet to send [05:01:29]OFD Sender: No OFD packet to send [05:01:34]OFD Sender: No OFD packet to send [05:01:39]OFD Sender: No OFD packet to send [05:01:44]OFD Sender: No OFD packet to send [05:01:49]OFD Sender: No OFD packet to send [05:01:54]OFD Sender: No OFD packet to send [05:01:59]OFD Sender: No OFD packet to send [05:02:04]OFD Sender: No OFD packet to send [05:02:09]OFD Sender: No OFD packet to send [05:02:14]OFD Sender: No OFD packet to send [05:02:19]OFD Sender: No OFD packet to send [05:02:24]OFD Sender: No OFD packet to send [05:02:29]OFD Sender: No OFD packet to send [05:02:34]OFD Sender: No OFD packet to send [05:02:39]OFD Sender: No OFD packet to send [05:02:44]OFD Sender: No OFD packet to send [05:02:49]OFD Sender: No OFD packet to send [05:02:54]OFD Sender: No OFD packet to send [05:02:59]OFD Sender: No OFD packet to send [05:03:04]OFD Sender: No OFD packet to send [05:03:09]OFD Sender: No OFD packet to send [05:03:14]OFD Sender: No OFD packet to send [05:03:19]OFD Sender: No OFD packet to send [05:03:24]OFD Sender: No OFD packet to send [05:03:29]OFD Sender: No OFD packet to send [05:03:34]OFD Sender: No OFD packet to send [05:03:39]OFD Sender: No OFD packet to send [05:03:44]OFD Sender: No OFD packet to send [05:03:49]OFD Sender: No OFD packet to send [05:03:54]OFD Sender: No OFD packet to send [05:03:59]OFD Sender: No OFD packet to send [05:04:04]OFD Sender: No OFD packet to send [05:04:09]OFD Sender: No OFD packet to send [05:04:14]OFD Sender: No OFD packet to send [05:04:19]OFD Sender: No OFD packet to send [05:04:24]OFD Sender: No OFD packet to send [05:04:29]OFD Sender: No OFD packet to send [05:04:34]OFD Sender: No OFD packet to send [05:04:39]OFD Sender: No OFD packet to send [05:04:44]OFD Sender: No OFD packet to send [05:04:50]OFD Sender: No OFD packet to send [05:04:55]OFD Sender: No OFD packet to send [05:05:00]OFD Sender: No OFD packet to send [05:05:05]OFD Sender: No OFD packet to send [05:05:10]OFD Sender: No OFD packet to send [05:05:15]OFD Sender: No OFD packet to send [05:05:20]OFD Sender: No OFD packet to send [05:05:25]OFD Sender: No OFD packet to send [05:05:30]OFD Sender: No OFD packet to send [05:05:35]OFD Sender: No OFD packet to send [05:05:40]OFD Sender: No OFD packet to send [05:05:45]OFD Sender: No OFD packet to send [05:05:50]OFD Sender: No OFD packet to send [05:05:55]OFD Sender: No OFD packet to send [05:06:00]OFD Sender: No OFD packet to send [05:06:05]OFD Sender: No OFD packet to send [05:06:10]OFD Sender: No OFD packet to send [05:06:15]OFD Sender: No OFD packet to send [05:06:20]OFD Sender: No OFD packet to send [05:06:25]OFD Sender: No OFD packet to send [05:06:30]OFD Sender: No OFD packet to send [05:06:35]OFD Sender: No OFD packet to send [05:06:40]OFD Sender: No OFD packet to send [05:06:45]OFD Sender: No OFD packet to send [05:06:50]OFD Sender: No OFD packet to send [05:06:55]OFD Sender: No OFD packet to send [05:07:00]OFD Sender: No OFD packet to send [05:07:05]OFD Sender: No OFD packet to send [05:07:10]OFD Sender: No OFD packet to send [05:07:15]OFD Sender: No OFD packet to send [05:07:20]OFD Sender: No OFD packet to send [05:07:25]OFD Sender: No OFD packet to send [05:07:30]OFD Sender: No OFD packet to send [05:07:35]OFD Sender: No OFD packet to send [05:07:40]OFD Sender: No OFD packet to send [05:07:45]OFD Sender: No OFD packet to send [05:07:50]OFD Sender: No OFD packet to send [05:07:55]OFD Sender: No OFD packet to send [05:08:00]OFD Sender: No OFD packet to send [05:08:05]OFD Sender: No OFD packet to send [05:08:10]OFD Sender: No OFD packet to send [05:08:15]OFD Sender: No OFD packet to send [05:08:20]OFD Sender: No OFD packet to send [05:08:25]OFD Sender: No OFD packet to send [05:08:30]OFD Sender: No OFD packet to send [05:08:35]OFD Sender: No OFD packet to send [05:08:40]OFD Sender: No OFD packet to send [05:08:45]OFD Sender: No OFD packet to send [05:08:50]OFD Sender: No OFD packet to send [05:08:55]OFD Sender: No OFD packet to send [05:09:00]OFD Sender: No OFD packet to send [05:09:05]OFD Sender: No OFD packet to send [05:09:10]OFD Sender: No OFD packet to send [05:09:15]OFD Sender: No OFD packet to send [05:09:20]OFD Sender: No OFD packet to send [05:09:25]OFD Sender: No OFD packet to send [05:09:30]OFD Sender: No OFD packet to send [05:09:35]OFD Sender: No OFD packet to send [05:09:40]OFD Sender: No OFD packet to send [05:09:45]OFD Sender: No OFD packet to send [05:09:50]OFD Sender: No OFD packet to send [05:09:55]OFD Sender: No OFD packet to send [05:10:00]OFD Sender: No OFD packet to send [05:10:05]OFD Sender: No OFD packet to send [05:10:10]OFD Sender: No OFD packet to send [05:10:15]OFD Sender: No OFD packet to send [05:10:20]OFD Sender: No OFD packet to send [05:10:25]OFD Sender: No OFD packet to send [05:10:30]OFD Sender: No OFD packet to send [05:10:35]OFD Sender: No OFD packet to send [05:10:40]OFD Sender: No OFD packet to send [05:10:45]OFD Sender: No OFD packet to send [05:10:50]OFD Sender: No OFD packet to send [05:10:55]OFD Sender: No OFD packet to send [05:11:00]OFD Sender: No OFD packet to send [05:11:05]OFD Sender: No OFD packet to send [05:11:10]OFD Sender: No OFD packet to send [05:11:15]OFD Sender: No OFD packet to send [05:11:20]OFD Sender: No OFD packet to send [05:11:25]OFD Sender: No OFD packet to send [05:11:30]OFD Sender: No OFD packet to send [05:11:35]OFD Sender: No OFD packet to send [05:11:40]OFD Sender: No OFD packet to send [05:11:45]OFD Sender: No OFD packet to send [05:11:50]OFD Sender: No OFD packet to send [05:11:55]OFD Sender: No OFD packet to send [05:12:00]OFD Sender: No OFD packet to send [05:12:05]OFD Sender: No OFD packet to send [05:12:10]OFD Sender: No OFD packet to send [05:12:15]OFD Sender: No OFD packet to send [05:12:20]OFD Sender: No OFD packet to send [05:12:25]OFD Sender: No OFD packet to send [05:12:30]OFD Sender: No OFD packet to send [05:12:35]OFD Sender: No OFD packet to send [05:12:40]OFD Sender: No OFD packet to send [05:12:45]OFD Sender: No OFD packet to send [05:12:50]OFD Sender: No OFD packet to send [05:12:55]OFD Sender: No OFD packet to send [05:13:00]OFD Sender: No OFD packet to send [05:13:05]OFD Sender: No OFD packet to send [05:13:10]OFD Sender: No OFD packet to send [05:13:15]OFD Sender: No OFD packet to send [05:13:20]OFD Sender: No OFD packet to send [05:13:25]OFD Sender: No OFD packet to send [05:13:30]OFD Sender: No OFD packet to send [05:13:35]OFD Sender: No OFD packet to send [05:13:40]OFD Sender: No OFD packet to send [05:13:45]OFD Sender: No OFD packet to send [05:13:50]OFD Sender: No OFD packet to send [05:13:55]OFD Sender: No OFD packet to send [05:14:00]OFD Sender: No OFD packet to send [05:14:05]OFD Sender: No OFD packet to send [05:14:10]OFD Sender: No OFD packet to send [05:14:15]OFD Sender: No OFD packet to send [05:14:20]OFD Sender: No OFD packet to send [05:14:25]OFD Sender: No OFD packet to send [05:14:30]OFD Sender: No OFD packet to send [05:14:35]OFD Sender: No OFD packet to send [05:14:40]OFD Sender: No OFD packet to send [05:14:45]OFD Sender: No OFD packet to send [05:14:50]OFD Sender: No OFD packet to send [05:14:55]OFD Sender: No OFD packet to send [05:15:00]OFD Sender: No OFD packet to send [05:15:05]OFD Sender: No OFD packet to send [05:15:10]OFD Sender: No OFD packet to send [05:15:15]OFD Sender: No OFD packet to send [05:15:20]OFD Sender: No OFD packet to send [05:15:25]OFD Sender: No OFD packet to send [05:15:30]OFD Sender: No OFD packet to send [05:15:35]OFD Sender: No OFD packet to send [05:15:40]OFD Sender: No OFD packet to send [05:15:45]OFD Sender: No OFD packet to send [05:15:50]OFD Sender: No OFD packet to send [05:15:55]OFD Sender: No OFD packet to send [05:16:00]OFD Sender: No OFD packet to send [05:16:05]OFD Sender: No OFD packet to send [05:16:10]OFD Sender: No OFD packet to send [05:16:15]OFD Sender: No OFD packet to send [05:16:20]OFD Sender: No OFD packet to send [05:16:25]OFD Sender: No OFD packet to send [05:16:30]OFD Sender: No OFD packet to send [05:16:35]OFD Sender: No OFD packet to send [05:16:40]OFD Sender: No OFD packet to send [05:16:45]OFD Sender: No OFD packet to send [05:16:50]OFD Sender: No OFD packet to send [05:16:55]OFD Sender: No OFD packet to send [05:17:00]OFD Sender: No OFD packet to send [05:17:05]OFD Sender: No OFD packet to send [05:17:10]OFD Sender: No OFD packet to send [05:17:15]OFD Sender: No OFD packet to send [05:17:20]OFD Sender: No OFD packet to send [05:17:25]OFD Sender: No OFD packet to send [05:17:30]OFD Sender: No OFD packet to send [05:17:35]OFD Sender: No OFD packet to send [05:17:40]OFD Sender: No OFD packet to send [05:17:45]OFD Sender: No OFD packet to send [05:17:50]OFD Sender: No OFD packet to send [05:17:55]OFD Sender: No OFD packet to send [05:18:00]OFD Sender: No OFD packet to send [05:18:05]OFD Sender: No OFD packet to send [05:18:10]OFD Sender: No OFD packet to send [05:18:15]OFD Sender: No OFD packet to send [05:18:20]OFD Sender: No OFD packet to send [05:18:25]OFD Sender: No OFD packet to send [05:18:30]OFD Sender: No OFD packet to send [05:18:35]OFD Sender: No OFD packet to send [05:18:40]OFD Sender: No OFD packet to send [05:18:45]OFD Sender: No OFD packet to send [05:18:50]OFD Sender: No OFD packet to send [05:18:55]OFD Sender: No OFD packet to send [05:19:00]OFD Sender: No OFD packet to send [05:19:05]OFD Sender: No OFD packet to send [05:19:10]OFD Sender: No OFD packet to send [05:19:15]OFD Sender: No OFD packet to send [05:19:20]OFD Sender: No OFD packet to send [05:19:25]OFD Sender: No OFD packet to send [05:19:30]OFD Sender: No OFD packet to send [05:19:35]OFD Sender: No OFD packet to send [05:19:40]OFD Sender: No OFD packet to send [05:19:45]OFD Sender: No OFD packet to send [05:19:50]OFD Sender: No OFD packet to send [05:19:55]OFD Sender: No OFD packet to send [05:20:00]OFD Sender: No OFD packet to send [05:20:05]OFD Sender: No OFD packet to send [05:20:10]OFD Sender: No OFD packet to send [05:20:15]OFD Sender: No OFD packet to send [05:20:20]OFD Sender: No OFD packet to send [05:20:25]OFD Sender: No OFD packet to send [05:20:30]OFD Sender: No OFD packet to send [05:20:35]OFD Sender: No OFD packet to send [05:20:40]OFD Sender: No OFD packet to send [05:20:45]OFD Sender: No OFD packet to send [05:20:50]OFD Sender: No OFD packet to send [05:20:55]OFD Sender: No OFD packet to send [05:21:00]OFD Sender: No OFD packet to send [05:21:05]OFD Sender: No OFD packet to send [05:21:10]OFD Sender: No OFD packet to send [05:21:15]OFD Sender: No OFD packet to send [05:21:20]OFD Sender: No OFD packet to send [05:21:25]OFD Sender: No OFD packet to send [05:21:30]OFD Sender: No OFD packet to send [05:21:35]OFD Sender: No OFD packet to send [05:21:40]OFD Sender: No OFD packet to send [05:21:45]OFD Sender: No OFD packet to send [05:21:50]OFD Sender: No OFD packet to send [05:21:55]OFD Sender: No OFD packet to send [05:22:00]OFD Sender: No OFD packet to send [05:22:05]OFD Sender: No OFD packet to send [05:22:10]OFD Sender: No OFD packet to send [05:22:15]OFD Sender: No OFD packet to send [05:22:20]OFD Sender: No OFD packet to send [05:22:25]OFD Sender: No OFD packet to send [05:22:30]OFD Sender: No OFD packet to send [05:22:35]OFD Sender: No OFD packet to send [05:22:40]OFD Sender: No OFD packet to send [05:22:45]OFD Sender: No OFD packet to send [05:22:50]OFD Sender: No OFD packet to send [05:22:55]OFD Sender: No OFD packet to send [05:23:00]OFD Sender: No OFD packet to send [05:23:05]OFD Sender: No OFD packet to send [05:23:10]OFD Sender: No OFD packet to send [05:23:15]OFD Sender: No OFD packet to send [05:23:20]OFD Sender: No OFD packet to send [05:23:25]OFD Sender: No OFD packet to send [05:23:30]OFD Sender: No OFD packet to send [05:23:35]OFD Sender: No OFD packet to send [05:23:40]OFD Sender: No OFD packet to send [05:23:45]OFD Sender: No OFD packet to send [05:23:50]OFD Sender: No OFD packet to send [05:23:55]OFD Sender: No OFD packet to send [05:24:00]OFD Sender: No OFD packet to send [05:24:05]OFD Sender: No OFD packet to send [05:24:10]OFD Sender: No OFD packet to send [05:24:15]OFD Sender: No OFD packet to send [05:24:20]OFD Sender: No OFD packet to send [05:24:25]OFD Sender: No OFD packet to send [05:24:30]OFD Sender: No OFD packet to send [05:24:35]OFD Sender: No OFD packet to send [05:24:40]OFD Sender: No OFD packet to send [05:24:45]OFD Sender: No OFD packet to send [05:24:50]OFD Sender: No OFD packet to send [05:24:55]OFD Sender: No OFD packet to send [05:25:00]OFD Sender: No OFD packet to send [05:25:05]OFD Sender: No OFD packet to send [05:25:10]OFD Sender: No OFD packet to send [05:25:15]OFD Sender: No OFD packet to send [05:25:20]OFD Sender: No OFD packet to send [05:25:25]OFD Sender: No OFD packet to send [05:25:30]OFD Sender: No OFD packet to send [05:25:35]OFD Sender: No OFD packet to send [05:25:40]OFD Sender: No OFD packet to send [05:25:45]OFD Sender: No OFD packet to send [05:25:50]OFD Sender: No OFD packet to send [05:25:55]OFD Sender: No OFD packet to send [05:26:00]OFD Sender: No OFD packet to send [05:26:05]OFD Sender: No OFD packet to send [05:26:11]OFD Sender: No OFD packet to send [05:26:16]OFD Sender: No OFD packet to send [05:26:21]OFD Sender: No OFD packet to send [05:26:26]OFD Sender: No OFD packet to send [05:26:31]OFD Sender: No OFD packet to send [05:26:36]OFD Sender: No OFD packet to send [05:26:41]OFD Sender: No OFD packet to send [05:26:46]OFD Sender: No OFD packet to send [05:26:51]OFD Sender: No OFD packet to send [05:26:56]OFD Sender: No OFD packet to send [05:27:01]OFD Sender: No OFD packet to send [05:27:06]OFD Sender: No OFD packet to send [05:27:11]OFD Sender: No OFD packet to send [05:27:16]OFD Sender: No OFD packet to send [05:27:21]OFD Sender: No OFD packet to send [05:27:26]OFD Sender: No OFD packet to send [05:27:31]OFD Sender: No OFD packet to send [05:27:36]OFD Sender: No OFD packet to send [05:27:41]OFD Sender: No OFD packet to send [05:27:46]OFD Sender: No OFD packet to send [05:27:51]OFD Sender: No OFD packet to send [05:27:56]OFD Sender: No OFD packet to send [05:28:01]OFD Sender: No OFD packet to send [05:28:06]OFD Sender: No OFD packet to send [05:28:11]OFD Sender: No OFD packet to send [05:28:16]OFD Sender: No OFD packet to send [05:28:21]OFD Sender: No OFD packet to send [05:28:26]OFD Sender: No OFD packet to send [05:28:31]OFD Sender: No OFD packet to send [05:28:36]OFD Sender: No OFD packet to send [05:28:41]OFD Sender: No OFD packet to send [05:28:46]OFD Sender: No OFD packet to send [05:28:51]OFD Sender: No OFD packet to send [05:28:56]OFD Sender: No OFD packet to send [05:29:01]OFD Sender: No OFD packet to send [05:29:06]OFD Sender: No OFD packet to send [05:29:11]OFD Sender: No OFD packet to send [05:29:16]OFD Sender: No OFD packet to send [05:29:21]OFD Sender: No OFD packet to send [05:29:26]OFD Sender: No OFD packet to send [05:29:31]OFD Sender: No OFD packet to send [05:29:36]OFD Sender: No OFD packet to send [05:29:41]OFD Sender: No OFD packet to send [05:29:46]OFD Sender: No OFD packet to send [05:29:51]OFD Sender: No OFD packet to send [05:29:56]OFD Sender: No OFD packet to send [05:30:01]OFD Sender: No OFD packet to send [05:30:06]OFD Sender: No OFD packet to send [05:30:11]OFD Sender: No OFD packet to send [05:30:16]OFD Sender: No OFD packet to send [05:30:21]OFD Sender: No OFD packet to send [05:30:26]OFD Sender: No OFD packet to send [05:30:31]OFD Sender: No OFD packet to send [05:30:36]OFD Sender: No OFD packet to send [05:30:41]OFD Sender: No OFD packet to send [05:30:46]OFD Sender: No OFD packet to send [05:30:51]OFD Sender: No OFD packet to send [05:30:56]OFD Sender: No OFD packet to send [05:31:01]OFD Sender: No OFD packet to send [05:31:06]OFD Sender: No OFD packet to send [05:31:11]OFD Sender: No OFD packet to send [05:31:16]OFD Sender: No OFD packet to send [05:31:21]OFD Sender: No OFD packet to send [05:31:26]OFD Sender: No OFD packet to send [05:31:31]OFD Sender: No OFD packet to send [05:31:36]OFD Sender: No OFD packet to send [05:31:41]OFD Sender: No OFD packet to send [05:31:46]OFD Sender: No OFD packet to send [05:31:51]OFD Sender: No OFD packet to send [05:31:56]OFD Sender: No OFD packet to send [05:32:01]OFD Sender: No OFD packet to send [05:32:06]OFD Sender: No OFD packet to send [05:32:11]OFD Sender: No OFD packet to send [05:32:16]OFD Sender: No OFD packet to send [05:32:21]OFD Sender: No OFD packet to send [05:32:26]OFD Sender: No OFD packet to send [05:32:31]OFD Sender: No OFD packet to send [05:32:36]OFD Sender: No OFD packet to send [05:32:41]OFD Sender: No OFD packet to send [05:32:46]OFD Sender: No OFD packet to send [05:32:51]OFD Sender: No OFD packet to send [05:32:56]OFD Sender: No OFD packet to send [05:33:01]OFD Sender: No OFD packet to send [05:33:06]OFD Sender: No OFD packet to send [05:33:11]OFD Sender: No OFD packet to send [05:33:16]OFD Sender: No OFD packet to send [05:33:21]OFD Sender: No OFD packet to send [05:33:26]OFD Sender: No OFD packet to send [05:33:31]OFD Sender: No OFD packet to send [05:33:36]OFD Sender: No OFD packet to send [05:33:41]OFD Sender: No OFD packet to send [05:33:46]OFD Sender: No OFD packet to send [05:33:51]OFD Sender: No OFD packet to send [05:33:56]OFD Sender: No OFD packet to send [05:34:01]OFD Sender: No OFD packet to send [05:34:06]OFD Sender: No OFD packet to send [05:34:11]OFD Sender: No OFD packet to send [05:34:16]OFD Sender: No OFD packet to send [05:34:21]OFD Sender: No OFD packet to send [05:34:26]OFD Sender: No OFD packet to send [05:34:31]OFD Sender: No OFD packet to send [05:34:36]OFD Sender: No OFD packet to send [05:34:41]OFD Sender: No OFD packet to send [05:34:46]OFD Sender: No OFD packet to send [05:34:51]OFD Sender: No OFD packet to send [05:34:56]OFD Sender: No OFD packet to send [05:35:01]OFD Sender: No OFD packet to send [05:35:06]OFD Sender: No OFD packet to send [05:35:11]OFD Sender: No OFD packet to send [05:35:16]OFD Sender: No OFD packet to send [05:35:21]OFD Sender: No OFD packet to send [05:35:26]OFD Sender: No OFD packet to send [05:35:31]OFD Sender: No OFD packet to send [05:35:36]OFD Sender: No OFD packet to send [05:35:41]OFD Sender: No OFD packet to send [05:35:46]OFD Sender: No OFD packet to send [05:35:51]OFD Sender: No OFD packet to send [05:35:56]OFD Sender: No OFD packet to send [05:36:01]OFD Sender: No OFD packet to send [05:36:06]OFD Sender: No OFD packet to send [05:36:11]OFD Sender: No OFD packet to send [05:36:16]OFD Sender: No OFD packet to send [05:36:21]OFD Sender: No OFD packet to send [05:36:26]OFD Sender: No OFD packet to send [05:36:31]OFD Sender: No OFD packet to send [05:36:36]OFD Sender: No OFD packet to send [05:36:41]OFD Sender: No OFD packet to send [05:36:46]OFD Sender: No OFD packet to send [05:36:51]OFD Sender: No OFD packet to send [05:36:56]OFD Sender: No OFD packet to send [05:37:01]OFD Sender: No OFD packet to send [05:37:06]OFD Sender: No OFD packet to send [05:37:11]OFD Sender: No OFD packet to send [05:37:16]OFD Sender: No OFD packet to send [05:37:21]OFD Sender: No OFD packet to send [05:37:26]OFD Sender: No OFD packet to send [05:37:31]OFD Sender: No OFD packet to send [05:37:36]OFD Sender: No OFD packet to send [05:37:41]OFD Sender: No OFD packet to send [05:37:46]OFD Sender: No OFD packet to send [05:37:51]OFD Sender: No OFD packet to send [05:37:56]OFD Sender: No OFD packet to send [05:38:01]OFD Sender: No OFD packet to send [05:38:06]OFD Sender: No OFD packet to send [05:38:11]OFD Sender: No OFD packet to send [05:38:16]OFD Sender: No OFD packet to send [05:38:21]OFD Sender: No OFD packet to send [05:38:26]OFD Sender: No OFD packet to send [05:38:31]OFD Sender: No OFD packet to send [05:38:36]OFD Sender: No OFD packet to send [05:38:41]OFD Sender: No OFD packet to send [05:38:46]OFD Sender: No OFD packet to send [05:38:51]OFD Sender: No OFD packet to send [05:38:56]OFD Sender: No OFD packet to send [05:39:01]OFD Sender: No OFD packet to send [05:39:06]OFD Sender: No OFD packet to send [05:39:11]OFD Sender: No OFD packet to send [05:39:16]OFD Sender: No OFD packet to send [05:39:21]OFD Sender: No OFD packet to send [05:39:26]OFD Sender: No OFD packet to send [05:39:31]OFD Sender: No OFD packet to send [05:39:36]OFD Sender: No OFD packet to send [05:39:41]OFD Sender: No OFD packet to send [05:39:46]OFD Sender: No OFD packet to send [05:39:51]OFD Sender: No OFD packet to send [05:39:56]OFD Sender: No OFD packet to send [05:40:01]OFD Sender: No OFD packet to send [05:40:06]OFD Sender: No OFD packet to send [05:40:11]OFD Sender: No OFD packet to send [05:40:16]OFD Sender: No OFD packet to send [05:40:21]OFD Sender: No OFD packet to send [05:40:26]OFD Sender: No OFD packet to send [05:40:31]OFD Sender: No OFD packet to send [05:40:36]OFD Sender: No OFD packet to send [05:40:41]OFD Sender: No OFD packet to send [05:40:46]OFD Sender: No OFD packet to send [05:40:51]OFD Sender: No OFD packet to send [05:40:56]OFD Sender: No OFD packet to send [05:41:01]OFD Sender: No OFD packet to send [05:41:06]OFD Sender: No OFD packet to send [05:41:11]OFD Sender: No OFD packet to send [05:41:16]OFD Sender: No OFD packet to send [05:41:21]OFD Sender: No OFD packet to send [05:41:26]OFD Sender: No OFD packet to send [05:41:31]OFD Sender: No OFD packet to send [05:41:36]OFD Sender: No OFD packet to send [05:41:41]OFD Sender: No OFD packet to send [05:41:46]OFD Sender: No OFD packet to send [05:41:51]OFD Sender: No OFD packet to send [05:41:56]OFD Sender: No OFD packet to send [05:42:01]OFD Sender: No OFD packet to send [05:42:06]OFD Sender: No OFD packet to send [05:42:11]OFD Sender: No OFD packet to send [05:42:16]OFD Sender: No OFD packet to send [05:42:21]OFD Sender: No OFD packet to send [05:42:26]OFD Sender: No OFD packet to send [05:42:31]OFD Sender: No OFD packet to send [05:42:36]OFD Sender: No OFD packet to send [05:42:41]OFD Sender: No OFD packet to send [05:42:46]OFD Sender: No OFD packet to send [05:42:51]OFD Sender: No OFD packet to send [05:42:56]OFD Sender: No OFD packet to send [05:43:01]OFD Sender: No OFD packet to send [05:43:06]OFD Sender: No OFD packet to send [05:43:11]OFD Sender: No OFD packet to send [05:43:16]OFD Sender: No OFD packet to send [05:43:21]OFD Sender: No OFD packet to send [05:43:26]OFD Sender: No OFD packet to send [05:43:31]OFD Sender: No OFD packet to send [05:43:36]OFD Sender: No OFD packet to send [05:43:41]OFD Sender: No OFD packet to send [05:43:46]OFD Sender: No OFD packet to send [05:43:51]OFD Sender: No OFD packet to send [05:43:56]OFD Sender: No OFD packet to send [05:44:01]OFD Sender: No OFD packet to send [05:44:06]OFD Sender: No OFD packet to send [05:44:11]OFD Sender: No OFD packet to send [05:44:16]OFD Sender: No OFD packet to send [05:44:21]OFD Sender: No OFD packet to send [05:44:26]OFD Sender: No OFD packet to send [05:44:31]OFD Sender: No OFD packet to send [05:44:36]OFD Sender: No OFD packet to send [05:44:41]OFD Sender: No OFD packet to send [05:44:46]OFD Sender: No OFD packet to send [05:44:51]OFD Sender: No OFD packet to send [05:44:56]OFD Sender: No OFD packet to send [05:45:01]OFD Sender: No OFD packet to send [05:45:06]OFD Sender: No OFD packet to send [05:45:11]OFD Sender: No OFD packet to send [05:45:16]OFD Sender: No OFD packet to send [05:45:21]OFD Sender: No OFD packet to send [05:45:26]OFD Sender: No OFD packet to send [05:45:31]OFD Sender: No OFD packet to send [05:45:36]OFD Sender: No OFD packet to send [05:45:41]OFD Sender: No OFD packet to send [05:45:46]OFD Sender: No OFD packet to send [05:45:51]OFD Sender: No OFD packet to send [05:45:56]OFD Sender: No OFD packet to send [05:46:01]OFD Sender: No OFD packet to send [05:46:06]OFD Sender: No OFD packet to send [05:46:11]OFD Sender: No OFD packet to send [05:46:16]OFD Sender: No OFD packet to send [05:46:21]OFD Sender: No OFD packet to send [05:46:26]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:42]OFD Sender: No OFD packet to send [05:47:47]OFD Sender: No OFD packet to send [05:47:52]OFD Sender: No OFD packet to send [05:47:57]OFD Sender: No OFD packet to send [05:48:02]OFD Sender: No OFD packet to send [05:48:07]OFD Sender: No OFD packet to send [05:48:12]OFD Sender: No OFD packet to send [05:48:17]OFD Sender: No OFD packet to send [05:48:22]OFD Sender: No OFD packet to send [05:48:27]OFD Sender: No OFD packet to send [05:48:32]OFD Sender: No OFD packet to send [05:48:37]OFD Sender: No OFD packet to send [05:48:42]OFD Sender: No OFD packet to send [05:48:47]OFD Sender: No OFD packet to send [05:48:52]OFD Sender: No OFD packet to send [05:48:57]OFD Sender: No OFD packet to send [05:49:02]OFD Sender: No OFD packet to send [05:49:07]OFD Sender: No OFD packet to send [05:49:12]OFD Sender: No OFD packet to send [05:49:17]OFD Sender: No OFD packet to send [05:49:22]OFD Sender: No OFD packet to send [05:49:27]OFD Sender: No OFD packet to send [05:49:32]OFD Sender: No OFD packet to send [05:49:37]OFD Sender: No OFD packet to send [05:49:42]OFD Sender: No OFD packet to send [05:49:47]OFD Sender: No OFD packet to send [05:49:52]OFD Sender: No OFD packet to send [05:49:57]OFD Sender: No OFD packet to send [05:50:02]OFD Sender: No OFD packet to send [05:50:07]OFD Sender: No OFD packet to send [05:50:12]OFD Sender: No OFD packet to send [05:50:17]OFD Sender: No OFD packet to send [05:50:22]OFD Sender: No OFD packet to send [05:50:27]OFD Sender: No OFD packet to send [05:50:32]OFD Sender: No OFD packet to send [05:50:37]OFD Sender: No OFD packet to send [05:50:42]OFD Sender: No OFD packet to send [05:50:47]OFD Sender: No OFD packet to send [05:50:52]OFD Sender: No OFD packet to send [05:50:57]OFD Sender: No OFD packet to send [05:51:02]OFD Sender: No OFD packet to send [05:51:07]OFD Sender: No OFD packet to send [05:51:12]OFD Sender: No OFD packet to send [05:51:17]OFD Sender: No OFD packet to send [05:51:22]OFD Sender: No OFD packet to send [05:51:27]OFD Sender: No OFD packet to send [05:51:32]OFD Sender: No OFD packet to send [05:51:37]OFD Sender: No OFD packet to send [05:51:42]OFD Sender: No OFD packet to send [05:51:47]OFD Sender: No OFD packet to send [05:51:52]OFD Sender: No OFD packet to send [05:51:57]OFD Sender: No OFD packet to send [05:52:02]OFD Sender: No OFD packet to send [05:52:07]OFD Sender: No OFD packet to send [05:52:12]OFD Sender: No OFD packet to send [05:52:17]OFD Sender: No OFD packet to send [05:52:22]OFD Sender: No OFD packet to send [05:52:27]OFD Sender: No OFD packet to send [05:52:32]OFD Sender: No OFD packet to send [05:52:37]OFD Sender: No OFD packet to send [05:52:42]OFD Sender: No OFD packet to send [05:52:47]OFD Sender: No OFD packet to send [05:52:52]OFD Sender: No OFD packet to send [05:52:57]OFD Sender: No OFD packet to send [05:53:02]OFD Sender: No OFD packet to send [05:53:07]OFD Sender: No OFD packet to send [05:53:12]OFD Sender: No OFD packet to send [05:53:17]OFD Sender: No OFD packet to send [05:53:22]OFD Sender: No OFD packet to send [05:53:27]OFD Sender: No OFD packet to send [05:53:32]OFD Sender: No OFD packet to send [05:53:37]OFD Sender: No OFD packet to send [05:53:42]OFD Sender: No OFD packet to send [05:53:47]OFD Sender: No OFD packet to send [05:53:52]OFD Sender: No OFD packet to send [05:53:57]OFD Sender: No OFD packet to send [05:54:02]OFD Sender: No OFD packet to send [05:54:07]OFD Sender: No OFD packet to send [05:54:12]OFD Sender: No OFD packet to send [05:54:17]OFD Sender: No OFD packet to send [05:54:22]OFD Sender: No OFD packet to send [05:54:27]OFD Sender: No OFD packet to send [05:54:32]OFD Sender: No OFD packet to send [05:54:37]OFD Sender: No OFD packet to send [05:54:42]OFD Sender: No OFD packet to send [05:54:47]OFD Sender: No OFD packet to send [05:54:52]OFD Sender: No OFD packet to send [05:54:57]OFD Sender: No OFD packet to send [05:55:02]OFD Sender: No OFD packet to send [05:55:07]OFD Sender: No OFD packet to send [05:55:12]OFD Sender: No OFD packet to send [05:55:17]OFD Sender: No OFD packet to send [05:55:22]OFD Sender: No OFD packet to send [05:55:27]OFD Sender: No OFD packet to send [05:55:32]OFD Sender: No OFD packet to send [05:55:37]OFD Sender: No OFD packet to send [05:55:42]OFD Sender: No OFD packet to send [05:55:47]OFD Sender: No OFD packet to send [05:55:52]OFD Sender: No OFD packet to send [05:55:57]OFD Sender: No OFD packet to send [05:56:02]OFD Sender: No OFD packet to send [05:56:07]OFD Sender: No OFD packet to send [05:56:12]OFD Sender: No OFD packet to send [05:56:17]OFD Sender: No OFD packet to send [05:56:22]OFD Sender: No OFD packet to send [05:56:27]OFD Sender: No OFD packet to send [05:56:32]OFD Sender: No OFD packet to send [05:56:37]OFD Sender: No OFD packet to send [05:56:42]OFD Sender: No OFD packet to send [05:56:47]OFD Sender: No OFD packet to send [05:56:52]OFD Sender: No OFD packet to send [05:56:57]OFD Sender: No OFD packet to send [05:57:02]OFD Sender: No OFD packet to send [05:57:07]OFD Sender: No OFD packet to send [05:57:12]OFD Sender: No OFD packet to send [05:57:17]OFD Sender: No OFD packet to send [05:57:22]OFD Sender: No OFD packet to send [05:57:27]OFD Sender: No OFD packet to send [05:57:32]OFD Sender: No OFD packet to send [05:57:37]OFD Sender: No OFD packet to send [05:57:42]OFD Sender: No OFD packet to send [05:57:47]OFD Sender: No OFD packet to send [05:57:52]OFD Sender: No OFD packet to send [05:57:57]OFD Sender: No OFD packet to send [05:58:02]OFD Sender: No OFD packet to send [05:58:07]OFD Sender: No OFD packet to send [05:58:12]OFD Sender: No OFD packet to send [05:58:17]OFD Sender: No OFD packet to send [05:58:22]OFD Sender: No OFD packet to send [05:58:27]OFD Sender: No OFD packet to send [05:58:32]OFD Sender: No OFD packet to send [05:58:37]OFD Sender: No OFD packet to send [05:58:42]OFD Sender: No OFD packet to send [05:58:47]OFD Sender: No OFD packet to send [05:58:52]OFD Sender: No OFD packet to send [05:58:57]OFD Sender: No OFD packet to send [05:59:02]OFD Sender: No OFD packet to send [05:59:07]OFD Sender: No OFD packet to send [05:59:12]OFD Sender: No OFD packet to send [05:59:17]OFD Sender: No OFD packet to send [05:59:22]OFD Sender: No OFD packet to send [05:59:27]OFD Sender: No OFD packet to send [05:59:32]OFD Sender: No OFD packet to send [05:59:37]OFD Sender: No OFD packet to send [05:59:42]OFD Sender: No OFD packet to send [05:59:47]OFD Sender: No OFD packet to send [05:59:52]OFD Sender: No OFD packet to send [05:59:57]OFD Sender: No OFD packet to send [06:00:02]OFD Sender: No OFD packet to send [06:00:07]OFD Sender: No OFD packet to send [06:00:12]OFD Sender: No OFD packet to send [06:00:17]OFD Sender: No OFD packet to send [06:00:22]OFD Sender: No OFD packet to send [06:00:27]OFD Sender: No OFD packet to send [06:00:32]OFD Sender: No OFD packet to send [06:00:37]OFD Sender: No OFD packet to send [06:00:42]OFD Sender: No OFD packet to send [06:00:47]OFD Sender: No OFD packet to send [06:00:52]OFD Sender: No OFD packet to send [06:00:57]OFD Sender: No OFD packet to send [06:01:02]OFD Sender: No OFD packet to send [06:01:07]OFD Sender: No OFD packet to send [06:01:12]OFD Sender: No OFD packet to send [06:01:17]OFD Sender: No OFD packet to send [06:01:22]OFD Sender: No OFD packet to send [06:01:27]OFD Sender: No OFD packet to send [06:01:32]OFD Sender: No OFD packet to send [06:01:37]OFD Sender: No OFD packet to send [06:01:42]OFD Sender: No OFD packet to send [06:01:47]OFD Sender: No OFD packet to send [06:01:52]OFD Sender: No OFD packet to send [06:01:57]OFD Sender: No OFD packet to send [06:02:02]OFD Sender: No OFD packet to send [06:02:07]OFD Sender: No OFD packet to send [06:02:12]OFD Sender: No OFD packet to send [06:02:17]OFD Sender: No OFD packet to send [06:02:22]OFD Sender: No OFD packet to send [06:02:27]OFD Sender: No OFD packet to send [06:02:32]OFD Sender: No OFD packet to send [06:02:37]OFD Sender: No OFD packet to send [06:02:42]OFD Sender: No OFD packet to send [06:02:47]OFD Sender: No OFD packet to send [06:02:52]OFD Sender: No OFD packet to send [06:02:57]OFD Sender: No OFD packet to send [06:03:02]OFD Sender: No OFD packet to send [06:03:07]OFD Sender: No OFD packet to send [06:03:12]OFD Sender: No OFD packet to send [06:03:17]OFD Sender: No OFD packet to send [06:03:22]OFD Sender: No OFD packet to send [06:03:27]OFD Sender: No OFD packet to send [06:03:32]OFD Sender: No OFD packet to send [06:03:37]OFD Sender: No OFD packet to send [06:03:42]OFD Sender: No OFD packet to send [06:03:47]OFD Sender: No OFD packet to send [06:03:52]OFD Sender: No OFD packet to send [06:03:57]OFD Sender: No OFD packet to send [06:04:02]OFD Sender: No OFD packet to send [06:04:07]OFD Sender: No OFD packet to send [06:04:12]OFD Sender: No OFD packet to send [06:04:17]OFD Sender: No OFD packet to send [06:04:22]OFD Sender: No OFD packet to send [06:04:27]OFD Sender: No OFD packet to send [06:04:32]OFD Sender: No OFD packet to send [06:04:37]OFD Sender: No OFD packet to send [06:04:42]OFD Sender: No OFD packet to send [06:04:47]OFD Sender: No OFD packet to send [06:04:52]OFD Sender: No OFD packet to send [06:04:57]OFD Sender: No OFD packet to send [06:05:02]OFD Sender: No OFD packet to send [06:05:07]OFD Sender: No OFD packet to send [06:05:12]OFD Sender: No OFD packet to send [06:05:17]OFD Sender: No OFD packet to send [06:05:22]OFD Sender: No OFD packet to send [06:05:27]OFD Sender: No OFD packet to send [06:05:32]OFD Sender: No OFD packet to send [06:05:37]OFD Sender: No OFD packet to send [06:05:42]OFD Sender: No OFD packet to send [06:05:47]OFD Sender: No OFD packet to send [06:05:52]OFD Sender: No OFD packet to send [06:05:57]OFD Sender: No OFD packet to send [06:06:02]OFD Sender: No OFD packet to send [06:06:07]OFD Sender: No OFD packet to send [06:06:12]OFD Sender: No OFD packet to send [06:06:17]OFD Sender: No OFD packet to send [06:06:22]OFD Sender: No OFD packet to send [06:06:27]OFD Sender: No OFD packet to send [06:06:32]OFD Sender: No OFD packet to send [06:06:37]OFD Sender: No OFD packet to send [06:06:42]OFD Sender: No OFD packet to send [06:06:47]OFD Sender: No OFD packet to send [06:06:52]OFD Sender: No OFD packet to send [06:06:57]OFD Sender: No OFD packet to send [06:07:02]OFD Sender: No OFD packet to send [06:07:07]OFD Sender: No OFD packet to send [06:07:12]OFD Sender: No OFD packet to send [06:07:17]OFD Sender: No OFD packet to send [06:07:22]OFD Sender: No OFD packet to send [06:07:27]OFD Sender: No OFD packet to send [06:07:32]OFD Sender: No OFD packet to send [06:07:37]OFD Sender: No OFD packet to send [06:07:42]OFD Sender: No OFD packet to send [06:07:47]OFD Sender: No OFD packet to send [06:07:52]OFD Sender: No OFD packet to send [06:07:57]OFD Sender: No OFD packet to send [06:08:02]OFD Sender: No OFD packet to send [06:08:07]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:08]OFD Sender: No OFD packet to send [06:09:13]OFD Sender: No OFD packet to send [06:09:18]OFD Sender: No OFD packet to send [06:09:23]OFD Sender: No OFD packet to send [06:09:28]OFD Sender: No OFD packet to send [06:09:33]OFD Sender: No OFD packet to send [06:09:38]OFD Sender: No OFD packet to send [06:09:43]OFD Sender: No OFD packet to send [06:09:48]OFD Sender: No OFD packet to send [06:09:53]OFD Sender: No OFD packet to send [06:09:58]OFD Sender: No OFD packet to send [06:10:03]OFD Sender: No OFD packet to send [06:10:08]OFD Sender: No OFD packet to send [06:10:13]OFD Sender: No OFD packet to send [06:10:18]OFD Sender: No OFD packet to send [06:10:23]OFD Sender: No OFD packet to send [06:10:28]OFD Sender: No OFD packet to send [06:10:33]OFD Sender: No OFD packet to send [06:10:38]OFD Sender: No OFD packet to send [06:10:43]OFD Sender: No OFD packet to send [06:10:48]OFD Sender: No OFD packet to send [06:10:53]OFD Sender: No OFD packet to send [06:10:58]OFD Sender: No OFD packet to send [06:11:03]OFD Sender: No OFD packet to send [06:11:08]OFD Sender: No OFD packet to send [06:11:13]OFD Sender: No OFD packet to send [06:11:18]OFD Sender: No OFD packet to send [06:11:23]OFD Sender: No OFD packet to send [06:11:28]OFD Sender: No OFD packet to send [06:11:33]OFD Sender: No OFD packet to send [06:11:38]OFD Sender: No OFD packet to send [06:11:43]OFD Sender: No OFD packet to send [06:11:48]OFD Sender: No OFD packet to send [06:11:53]OFD Sender: No OFD packet to send [06:11:58]OFD Sender: No OFD packet to send [06:12:03]OFD Sender: No OFD packet to send [06:12:08]OFD Sender: No OFD packet to send [06:12:13]OFD Sender: No OFD packet to send [06:12:18]OFD Sender: No OFD packet to send [06:12:23]OFD Sender: No OFD packet to send [06:12:28]OFD Sender: No OFD packet to send [06:12:33]OFD Sender: No OFD packet to send [06:12:38]OFD Sender: No OFD packet to send [06:12:43]OFD Sender: No OFD packet to send [06:12:48]OFD Sender: No OFD packet to send [06:12:53]OFD Sender: No OFD packet to send [06:12:58]OFD Sender: No OFD packet to send [06:13:03]OFD Sender: No OFD packet to send [06:13:08]OFD Sender: No OFD packet to send [06:13:13]OFD Sender: No OFD packet to send [06:13:18]OFD Sender: No OFD packet to send [06:13:23]OFD Sender: No OFD packet to send [06:13:28]OFD Sender: No OFD packet to send [06:13:33]OFD Sender: No OFD packet to send [06:13:38]OFD Sender: No OFD packet to send [06:13:43]OFD Sender: No OFD packet to send [06:13:48]OFD Sender: No OFD packet to send [06:13:53]OFD Sender: No OFD packet to send [06:13:58]OFD Sender: No OFD packet to send [06:14:03]OFD Sender: No OFD packet to send [06:14:08]OFD Sender: No OFD packet to send [06:14:13]OFD Sender: No OFD packet to send [06:14:18]OFD Sender: No OFD packet to send [06:14:23]OFD Sender: No OFD packet to send [06:14:28]OFD Sender: No OFD packet to send [06:14:33]OFD Sender: No OFD packet to send [06:14:38]OFD Sender: No OFD packet to send [06:14:43]OFD Sender: No OFD packet to send [06:14:48]OFD Sender: No OFD packet to send [06:14:53]OFD Sender: No OFD packet to send [06:14:58]OFD Sender: No OFD packet to send [06:15:03]OFD Sender: No OFD packet to send [06:15:08]OFD Sender: No OFD packet to send [06:15:13]OFD Sender: No OFD packet to send [06:15:18]OFD Sender: No OFD packet to send [06:15:23]OFD Sender: No OFD packet to send [06:15:28]OFD Sender: No OFD packet to send [06:15:33]OFD Sender: No OFD packet to send [06:15:38]OFD Sender: No OFD packet to send [06:15:43]OFD Sender: No OFD packet to send [06:15:48]OFD Sender: No OFD packet to send [06:15:53]OFD Sender: No OFD packet to send [06:15:58]OFD Sender: No OFD packet to send [06:16:03]OFD Sender: No OFD packet to send [06:16:08]OFD Sender: No OFD packet to send [06:16:13]OFD Sender: No OFD packet to send [06:16:18]OFD Sender: No OFD packet to send [06:16:23]OFD Sender: No OFD packet to send [06:16:28]OFD Sender: No OFD packet to send [06:16:33]OFD Sender: No OFD packet to send [06:16:38]OFD Sender: No OFD packet to send [06:16:43]OFD Sender: No OFD packet to send [06:16:48]OFD Sender: No OFD packet to send [06:16:53]OFD Sender: No OFD packet to send [06:16:58]OFD Sender: No OFD packet to send [06:17:03]OFD Sender: No OFD packet to send [06:17:08]OFD Sender: No OFD packet to send [06:17:13]OFD Sender: No OFD packet to send [06:17:18]OFD Sender: No OFD packet to send [06:17:23]OFD Sender: No OFD packet to send [06:17:28]OFD Sender: No OFD packet to send [06:17:33]OFD Sender: No OFD packet to send [06:17:38]OFD Sender: No OFD packet to send [06:17:43]OFD Sender: No OFD packet to send [06:17:48]OFD Sender: No OFD packet to send [06:17:53]OFD Sender: No OFD packet to send [06:17:58]OFD Sender: No OFD packet to send [06:18:03]OFD Sender: No OFD packet to send [06:18:08]OFD Sender: No OFD packet to send [06:18:13]OFD Sender: No OFD packet to send [06:18:18]OFD Sender: No OFD packet to send [06:18:23]OFD Sender: No OFD packet to send [06:18:28]OFD Sender: No OFD packet to send [06:18:33]OFD Sender: No OFD packet to send [06:18:38]OFD Sender: No OFD packet to send [06:18:43]OFD Sender: No OFD packet to send [06:18:48]OFD Sender: No OFD packet to send [06:18:53]OFD Sender: No OFD packet to send [06:18:58]OFD Sender: No OFD packet to send [06:19:03]OFD Sender: No OFD packet to send [06:19:08]OFD Sender: No OFD packet to send [06:19:13]OFD Sender: No OFD packet to send [06:19:18]OFD Sender: No OFD packet to send [06:19:23]OFD Sender: No OFD packet to send [06:19:28]OFD Sender: No OFD packet to send [06:19:33]OFD Sender: No OFD packet to send [06:19:38]OFD Sender: No OFD packet to send [06:19:43]OFD Sender: No OFD packet to send [06:19:48]OFD Sender: No OFD packet to send [06:19:53]OFD Sender: No OFD packet to send [06:19:58]OFD Sender: No OFD packet to send [06:20:03]OFD Sender: No OFD packet to send [06:20:08]OFD Sender: No OFD packet to send [06:20:13]OFD Sender: No OFD packet to send [06:20:18]OFD Sender: No OFD packet to send [06:20:23]OFD Sender: No OFD packet to send [06:20:28]OFD Sender: No OFD packet to send [06:20:33]OFD Sender: No OFD packet to send [06:20:38]OFD Sender: No OFD packet to send [06:20:43]OFD Sender: No OFD packet to send [06:20:48]OFD Sender: No OFD packet to send [06:20:53]OFD Sender: No OFD packet to send [06:20:58]OFD Sender: No OFD packet to send [06:21:03]OFD Sender: No OFD packet to send [06:21:08]OFD Sender: No OFD packet to send [06:21:13]OFD Sender: No OFD packet to send [06:21:18]OFD Sender: No OFD packet to send [06:21:23]OFD Sender: No OFD packet to send [06:21:28]OFD Sender: No OFD packet to send [06:21:33]OFD Sender: No OFD packet to send [06:21:38]OFD Sender: No OFD packet to send [06:21:43]OFD Sender: No OFD packet to send [06:21:48]OFD Sender: No OFD packet to send [06:21:53]OFD Sender: No OFD packet to send [06:21:58]OFD Sender: No OFD packet to send [06:22:03]OFD Sender: No OFD packet to send [06:22:08]OFD Sender: No OFD packet to send [06:22:13]OFD Sender: No OFD packet to send [06:22:18]OFD Sender: No OFD packet to send [06:22:23]OFD Sender: No OFD packet to send [06:22:28]OFD Sender: No OFD packet to send [06:22:33]OFD Sender: No OFD packet to send [06:22:38]OFD Sender: No OFD packet to send [06:22:43]OFD Sender: No OFD packet to send [06:22:48]OFD Sender: No OFD packet to send [06:22:53]OFD Sender: No OFD packet to send [06:22:58]OFD Sender: No OFD packet to send [06:23:03]OFD Sender: No OFD packet to send [06:23:08]OFD Sender: No OFD packet to send [06:23:13]OFD Sender: No OFD packet to send [06:23:18]OFD Sender: No OFD packet to send [06:23:23]OFD Sender: No OFD packet to send [06:23:28]OFD Sender: No OFD packet to send [06:23:33]OFD Sender: No OFD packet to send [06:23:38]OFD Sender: No OFD packet to send [06:23:43]OFD Sender: No OFD packet to send [06:23:48]OFD Sender: No OFD packet to send [06:23:53]OFD Sender: No OFD packet to send [06:23:58]OFD Sender: No OFD packet to send [06:24:03]OFD Sender: No OFD packet to send [06:24:08]OFD Sender: No OFD packet to send [06:24:13]OFD Sender: No OFD packet to send [06:24:18]OFD Sender: No OFD packet to send [06:24:23]OFD Sender: No OFD packet to send [06:24:28]OFD Sender: No OFD packet to send [06:24:33]OFD Sender: No OFD packet to send [06:24:38]OFD Sender: No OFD packet to send [06:24:43]OFD Sender: No OFD packet to send [06:24:48]OFD Sender: No OFD packet to send [06:24:53]OFD Sender: No OFD packet to send [06:24:58]OFD Sender: No OFD packet to send [06:25:03]OFD Sender: No OFD packet to send [06:25:08]OFD Sender: No OFD packet to send [06:25:13]OFD Sender: No OFD packet to send [06:25:18]OFD Sender: No OFD packet to send [06:25:23]OFD Sender: No OFD packet to send [06:25:28]OFD Sender: No OFD packet to send [06:25:33]OFD Sender: No OFD packet to send [06:25:38]OFD Sender: No OFD packet to send [06:25:43]OFD Sender: No OFD packet to send [06:25:48]OFD Sender: No OFD packet to send [06:25:53]OFD Sender: No OFD packet to send [06:25:58]OFD Sender: No OFD packet to send [06:26:03]OFD Sender: No OFD packet to send [06:26:08]OFD Sender: No OFD packet to send [06:26:13]OFD Sender: No OFD packet to send [06:26:18]OFD Sender: No OFD packet to send [06:26:23]OFD Sender: No OFD packet to send [06:26:28]OFD Sender: No OFD packet to send [06:26:33]OFD Sender: No OFD packet to send [06:26:38]OFD Sender: No OFD packet to send [06:26:43]OFD Sender: No OFD packet to send [06:26:48]OFD Sender: No OFD packet to send [06:26:53]OFD Sender: No OFD packet to send [06:26:58]OFD Sender: No OFD packet to send [06:27:03]OFD Sender: No OFD packet to send [06:27:08]OFD Sender: No OFD packet to send [06:27:13]OFD Sender: No OFD packet to send [06:27:18]OFD Sender: No OFD packet to send [06:27:23]OFD Sender: No OFD packet to send [06:27:28]OFD Sender: No OFD packet to send [06:27:33]OFD Sender: No OFD packet to send [06:27:38]OFD Sender: No OFD packet to send [06:27:43]OFD Sender: No OFD packet to send [06:27:48]OFD Sender: No OFD packet to send [06:27:53]OFD Sender: No OFD packet to send [06:27:58]OFD Sender: No OFD packet to send [06:28:03]OFD Sender: No OFD packet to send [06:28:08]OFD Sender: No OFD packet to send [06:28:13]OFD Sender: No OFD packet to send [06:28:18]OFD Sender: No OFD packet to send [06:28:23]OFD Sender: No OFD packet to send [06:28:28]OFD Sender: No OFD packet to send [06:28:33]OFD Sender: No OFD packet to send [06:28:38]OFD Sender: No OFD packet to send [06:28:43]OFD Sender: No OFD packet to send [06:28:48]OFD Sender: No OFD packet to send [06:28:53]OFD Sender: No OFD packet to send [06:28:58]OFD Sender: No OFD packet to send [06:29:03]OFD Sender: No OFD packet to send [06:29:08]OFD Sender: No OFD packet to send [06:29:13]OFD Sender: No OFD packet to send [06:29:18]OFD Sender: No OFD packet to send [06:29:23]OFD Sender: No OFD packet to send [06:29:28]OFD Sender: No OFD packet to send [06:29:33]OFD Sender: No OFD packet to send [06:29:38]OFD Sender: No OFD packet to send [06:29:43]OFD Sender: No OFD packet to send [06:29:48]OFD Sender: No OFD packet to send [06:29:53]OFD Sender: No OFD packet to send [06:29:58]OFD Sender: No OFD packet to send [06:30:03]OFD Sender: No OFD packet to send [06:30:08]OFD Sender: No OFD packet to send [06:30:13]OFD Sender: No OFD packet to send [06:30:18]OFD Sender: No OFD packet to send [06:30:23]OFD Sender: No OFD packet to send [06:30:28]OFD Sender: No OFD packet to send [06:30:34]OFD Sender: No OFD packet to send [06:30:39]OFD Sender: No OFD packet to send [06:30:44]OFD Sender: No OFD packet to send [06:30:49]OFD Sender: No OFD packet to send [06:30:54]OFD Sender: No OFD packet to send [06:30:59]OFD Sender: No OFD packet to send [06:31:04]OFD Sender: No OFD packet to send [06:31:09]OFD Sender: No OFD packet to send [06:31:14]OFD Sender: No OFD packet to send [06:31:19]OFD Sender: No OFD packet to send [06:31:24]OFD Sender: No OFD packet to send [06:31:29]OFD Sender: No OFD packet to send [06:31:34]OFD Sender: No OFD packet to send [06:31:39]OFD Sender: No OFD packet to send [06:31:44]OFD Sender: No OFD packet to send [06:31:49]OFD Sender: No OFD packet to send [06:31:54]OFD Sender: No OFD packet to send [06:31:59]OFD Sender: No OFD packet to send [06:32:04]OFD Sender: No OFD packet to send [06:32:09]OFD Sender: No OFD packet to send [06:32:14]OFD Sender: No OFD packet to send [06:32:19]OFD Sender: No OFD packet to send [06:32:24]OFD Sender: No OFD packet to send [06:32:29]OFD Sender: No OFD packet to send [06:32:34]OFD Sender: No OFD packet to send [06:32:39]OFD Sender: No OFD packet to send [06:32:44]OFD Sender: No OFD packet to send [06:32:49]OFD Sender: No OFD packet to send [06:32:54]OFD Sender: No OFD packet to send [06:32:59]OFD Sender: No OFD packet to send [06:33:04]OFD Sender: No OFD packet to send [06:33:09]OFD Sender: No OFD packet to send [06:33:14]OFD Sender: No OFD packet to send [06:33:19]OFD Sender: No OFD packet to send [06:33:24]OFD Sender: No OFD packet to send [06:33:29]OFD Sender: No OFD packet to send [06:33:34]OFD Sender: No OFD packet to send [06:33:39]OFD Sender: No OFD packet to send [06:33:44]OFD Sender: No OFD packet to send [06:33:49]OFD Sender: No OFD packet to send [06:33:54]OFD Sender: No OFD packet to send [06:33:59]OFD Sender: No OFD packet to send [06:34:04]OFD Sender: No OFD packet to send [06:34:09]OFD Sender: No OFD packet to send [06:34:14]OFD Sender: No OFD packet to send [06:34:19]OFD Sender: No OFD packet to send [06:34:24]OFD Sender: No OFD packet to send [06:34:29]OFD Sender: No OFD packet to send [06:34:34]OFD Sender: No OFD packet to send [06:34:39]OFD Sender: No OFD packet to send [06:34:44]OFD Sender: No OFD packet to send [06:34:49]OFD Sender: No OFD packet to send [06:34:54]OFD Sender: No OFD packet to send [06:34:59]OFD Sender: No OFD packet to send [06:35:04]OFD Sender: No OFD packet to send [06:35:09]OFD Sender: No OFD packet to send [06:35:14]OFD Sender: No OFD packet to send [06:35:19]OFD Sender: No OFD packet to send [06:35:24]OFD Sender: No OFD packet to send [06:35:29]OFD Sender: No OFD packet to send [06:35:34]OFD Sender: No OFD packet to send [06:35:39]OFD Sender: No OFD packet to send [06:35:44]OFD Sender: No OFD packet to send [06:35:49]OFD Sender: No OFD packet to send [06:35:54]OFD Sender: No OFD packet to send [06:35:59]OFD Sender: No OFD packet to send [06:36:04]OFD Sender: No OFD packet to send [06:36:09]OFD Sender: No OFD packet to send [06:36:14]OFD Sender: No OFD packet to send [06:36:19]OFD Sender: No OFD packet to send [06:36:24]OFD Sender: No OFD packet to send [06:36:29]OFD Sender: No OFD packet to send [06:36:34]OFD Sender: No OFD packet to send [06:36:39]OFD Sender: No OFD packet to send [06:36:44]OFD Sender: No OFD packet to send [06:36:49]OFD Sender: No OFD packet to send [06:36:54]OFD Sender: No OFD packet to send [06:36:59]OFD Sender: No OFD packet to send [06:37:04]OFD Sender: No OFD packet to send [06:37:09]OFD Sender: No OFD packet to send [06:37:14]OFD Sender: No OFD packet to send [06:37:19]OFD Sender: No OFD packet to send [06:37:24]OFD Sender: No OFD packet to send [06:37:29]OFD Sender: No OFD packet to send [06:37:34]OFD Sender: No OFD packet to send [06:37:39]OFD Sender: No OFD packet to send [06:37:44]OFD Sender: No OFD packet to send [06:37:49]OFD Sender: No OFD packet to send [06:37:54]OFD Sender: No OFD packet to send [06:37:59]OFD Sender: No OFD packet to send [06:38:04]OFD Sender: No OFD packet to send [06:38:09]OFD Sender: No OFD packet to send [06:38:14]OFD Sender: No OFD packet to send [06:38:19]OFD Sender: No OFD packet to send [06:38:24]OFD Sender: No OFD packet to send [06:38:29]OFD Sender: No OFD packet to send [06:38:34]OFD Sender: No OFD packet to send [06:38:39]OFD Sender: No OFD packet to send [06:38:44]OFD Sender: No OFD packet to send [06:38:49]OFD Sender: No OFD packet to send [06:38:54]OFD Sender: No OFD packet to send [06:38:59]OFD Sender: No OFD packet to send [06:39:04]OFD Sender: No OFD packet to send [06:39:09]OFD Sender: No OFD packet to send [06:39:14]OFD Sender: No OFD packet to send [06:39:19]OFD Sender: No OFD packet to send [06:39:24]OFD Sender: No OFD packet to send [06:39:29]OFD Sender: No OFD packet to send [06:39:34]OFD Sender: No OFD packet to send [06:39:39]OFD Sender: No OFD packet to send [06:39:44]OFD Sender: No OFD packet to send [06:39:49]OFD Sender: No OFD packet to send [06:39:54]OFD Sender: No OFD packet to send [06:39:59]OFD Sender: No OFD packet to send [06:40:04]OFD Sender: No OFD packet to send [06:40:09]OFD Sender: No OFD packet to send [06:40:14]OFD Sender: No OFD packet to send [06:40:19]OFD Sender: No OFD packet to send [06:40:24]OFD Sender: No OFD packet to send [06:40:29]OFD Sender: No OFD packet to send [06:40:34]OFD Sender: No OFD packet to send [06:40:39]OFD Sender: No OFD packet to send [06:40:44]OFD Sender: No OFD packet to send [06:40:49]OFD Sender: No OFD packet to send [06:40:54]OFD Sender: No OFD packet to send [06:40:59]OFD Sender: No OFD packet to send [06:41:04]OFD Sender: No OFD packet to send [06:41:09]OFD Sender: No OFD packet to send [06:41:14]OFD Sender: No OFD packet to send [06:41:19]OFD Sender: No OFD packet to send [06:41:24]OFD Sender: No OFD packet to send [06:41:29]OFD Sender: No OFD packet to send [06:41:34]OFD Sender: No OFD packet to send [06:41:39]OFD Sender: No OFD packet to send [06:41:44]OFD Sender: No OFD packet to send [06:41:49]OFD Sender: No OFD packet to send [06:41:54]OFD Sender: No OFD packet to send [06:41:59]OFD Sender: No OFD packet to send [06:42:04]OFD Sender: No OFD packet to send [06:42:09]OFD Sender: No OFD packet to send [06:42:14]OFD Sender: No OFD packet to send [06:42:19]OFD Sender: No OFD packet to send [06:42:24]OFD Sender: No OFD packet to send [06:42:29]OFD Sender: No OFD packet to send [06:42:34]OFD Sender: No OFD packet to send [06:42:39]OFD Sender: No OFD packet to send [06:42:44]OFD Sender: No OFD packet to send [06:42:49]OFD Sender: No OFD packet to send [06:42:54]OFD Sender: No OFD packet to send [06:42:59]OFD Sender: No OFD packet to send [06:43:04]OFD Sender: No OFD packet to send [06:43:09]OFD Sender: No OFD packet to send [06:43:14]OFD Sender: No OFD packet to send [06:43:19]OFD Sender: No OFD packet to send [06:43:24]OFD Sender: No OFD packet to send [06:43:29]OFD Sender: No OFD packet to send [06:43:34]OFD Sender: No OFD packet to send [06:43:39]OFD Sender: No OFD packet to send [06:43:44]OFD Sender: No OFD packet to send [06:43:49]OFD Sender: No OFD packet to send [06:43:54]OFD Sender: No OFD packet to send [06:43:59]OFD Sender: No OFD packet to send [06:44:04]OFD Sender: No OFD packet to send [06:44:09]OFD Sender: No OFD packet to send [06:44:14]OFD Sender: No OFD packet to send [06:44:19]OFD Sender: No OFD packet to send [06:44:24]OFD Sender: No OFD packet to send [06:44:29]OFD Sender: No OFD packet to send [06:44:34]OFD Sender: No OFD packet to send [06:44:39]OFD Sender: No OFD packet to send [06:44:44]OFD Sender: No OFD packet to send [06:44:49]OFD Sender: No OFD packet to send [06:44:54]OFD Sender: No OFD packet to send [06:44:59]OFD Sender: No OFD packet to send [06:45:04]OFD Sender: No OFD packet to send [06:45:09]OFD Sender: No OFD packet to send [06:45:14]OFD Sender: No OFD packet to send [06:45:19]OFD Sender: No OFD packet to send [06:45:24]OFD Sender: No OFD packet to send [06:45:29]OFD Sender: No OFD packet to send [06:45:34]OFD Sender: No OFD packet to send [06:45:39]OFD Sender: No OFD packet to send [06:45:44]OFD Sender: No OFD packet to send [06:45:49]OFD Sender: No OFD packet to send [06:45:54]OFD Sender: No OFD packet to send [06:45:59]OFD Sender: No OFD packet to send [06:46:04]OFD Sender: No OFD packet to send [06:46:09]OFD Sender: No OFD packet to send [06:46:14]OFD Sender: No OFD packet to send [06:46:19]OFD Sender: No OFD packet to send [06:46:24]OFD Sender: No OFD packet to send [06:46:29]OFD Sender: No OFD packet to send [06:46:34]OFD Sender: No OFD packet to send [06:46:39]OFD Sender: No OFD packet to send [06:46:44]OFD Sender: No OFD packet to send [06:46:49]OFD Sender: No OFD packet to send [06:46:54]OFD Sender: No OFD packet to send [06:46:59]OFD Sender: No OFD packet to send [06:47:04]OFD Sender: No OFD packet to send [06:47:09]OFD Sender: No OFD packet to send [06:47:14]OFD Sender: No OFD packet to send [06:47:19]OFD Sender: No OFD packet to send [06:47:24]OFD Sender: No OFD packet to send [06:47:29]OFD Sender: No OFD packet to send [06:47:34]OFD Sender: No OFD packet to send [06:47:39]OFD Sender: No OFD packet to send [06:47:44]OFD Sender: No OFD packet to send [06:47:49]OFD Sender: No OFD packet to send [06:47:54]OFD Sender: No OFD packet to send [06:47:59]OFD Sender: No OFD packet to send [06:48:04]OFD Sender: No OFD packet to send [06:48:09]OFD Sender: No OFD packet to send [06:48:14]OFD Sender: No OFD packet to send [06:48:19]OFD Sender: No OFD packet to send [06:48:24]OFD Sender: No OFD packet to send [06:48:29]OFD Sender: No OFD packet to send [06:48:34]OFD Sender: No OFD packet to send [06:48:39]OFD Sender: No OFD packet to send [06:48:44]OFD Sender: No OFD packet to send [06:48:49]OFD Sender: No OFD packet to send [06:48: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:05]OFD Sender: No OFD packet to send [06:52:10]OFD Sender: No OFD packet to send [06:52:15]OFD Sender: No OFD packet to send [06:52:20]OFD Sender: No OFD packet to send [06:52:25]OFD Sender: No OFD packet to send [06:52:30]OFD Sender: No OFD packet to send [06:52:35]OFD Sender: No OFD packet to send [06:52:40]OFD Sender: No OFD packet to send [06:52:45]OFD Sender: No OFD packet to send [06:52:50]OFD Sender: No OFD packet to send [06:52:55]OFD Sender: No OFD packet to send [06:53:00]OFD Sender: No OFD packet to send [06:53:05]OFD Sender: No OFD packet to send [06:53:10]OFD Sender: No OFD packet to send [06:53:15]OFD Sender: No OFD packet to send [06:53:20]OFD Sender: No OFD packet to send [06:53:25]OFD Sender: No OFD packet to send [06:53:30]OFD Sender: No OFD packet to send [06:53:35]OFD Sender: No OFD packet to send [06:53:40]OFD Sender: No OFD packet to send [06:53:45]OFD Sender: No OFD packet to send [06:53:50]OFD Sender: No OFD packet to send [06:53:55]OFD Sender: No OFD packet to send [06:54:00]OFD Sender: No OFD packet to send [06:54:05]OFD Sender: No OFD packet to send [06:54:10]OFD Sender: No OFD packet to send [06:54:15]OFD Sender: No OFD packet to send [06:54:20]OFD Sender: No OFD packet to send [06:54:25]OFD Sender: No OFD packet to send [06:54:30]OFD Sender: No OFD packet to send [06:54:35]OFD Sender: No OFD packet to send [06:54:40]OFD Sender: No OFD packet to send [06:54:45]OFD Sender: No OFD packet to send [06:54:50]OFD Sender: No OFD packet to send [06:54:55]OFD Sender: No OFD packet to send [06:55:00]OFD Sender: No OFD packet to send [06:55:05]OFD Sender: No OFD packet to send [06:55:10]OFD Sender: No OFD packet to send [06:55:15]OFD Sender: No OFD packet to send [06:55:20]OFD Sender: No OFD packet to send [06:55:25]OFD Sender: No OFD packet to send [06:55:30]OFD Sender: No OFD packet to send [06:55:35]OFD Sender: No OFD packet to send [06:55:40]OFD Sender: No OFD packet to send [06:55:45]OFD Sender: No OFD packet to send [06:55:50]OFD Sender: No OFD packet to send [06:55:55]OFD Sender: No OFD packet to send [06:56:00]OFD Sender: No OFD packet to send [06:56:05]OFD Sender: No OFD packet to send [06:56:10]OFD Sender: No OFD packet to send [06:56:15]OFD Sender: No OFD packet to send [06:56:20]OFD Sender: No OFD packet to send [06:56:25]OFD Sender: No OFD packet to send [06:56:30]OFD Sender: No OFD packet to send [06:56:35]OFD Sender: No OFD packet to send [06:56:40]OFD Sender: No OFD packet to send [06:56:45]OFD Sender: No OFD packet to send [06:56:50]OFD Sender: No OFD packet to send [06:56:55]OFD Sender: No OFD packet to send [06:57:00]OFD Sender: No OFD packet to send [06:57:05]OFD Sender: No OFD packet to send [06:57:10]OFD Sender: No OFD packet to send [06:57:15]OFD Sender: No OFD packet to send [06:57:20]OFD Sender: No OFD packet to send [06:57:25]OFD Sender: No OFD packet to send [06:57:30]OFD Sender: No OFD packet to send [06:57:35]OFD Sender: No OFD packet to send [06:57:40]OFD Sender: No OFD packet to send [06:57:45]OFD Sender: No OFD packet to send [06:57:50]OFD Sender: No OFD packet to send [06:57:55]OFD Sender: No OFD packet to send [06:58:00]OFD Sender: No OFD packet to send [06:58:05]OFD Sender: No OFD packet to send [06:58:10]OFD Sender: No OFD packet to send [06:58:15]OFD Sender: No OFD packet to send [06:58:20]OFD Sender: No OFD packet to send [06:58:25]OFD Sender: No OFD packet to send [06:58:30]OFD Sender: No OFD packet to send [06:58:35]OFD Sender: No OFD packet to send [06:58:40]OFD Sender: No OFD packet to send [06:58:45]OFD Sender: No OFD packet to send [06:58:50]OFD Sender: No OFD packet to send [06:58:55]OFD Sender: No OFD packet to send [06: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:41]OFD Sender: No OFD packet to send [07:13:46]OFD Sender: No OFD packet to send [07:13:51]OFD Sender: No OFD packet to send [07:13:56]OFD Sender: No OFD packet to send [07:14:01]OFD Sender: No OFD packet to send [07:14:06]OFD Sender: No OFD packet to send [07:14:11]OFD Sender: No OFD packet to send [07:14:16]OFD Sender: No OFD packet to send [07:14:21]OFD Sender: No OFD packet to send [07:14:26]OFD Sender: No OFD packet to send [07:14:31]OFD Sender: No OFD packet to send [07:14:36]OFD Sender: No OFD packet to send [07:14:41]OFD Sender: No OFD packet to send [07:14:46]OFD Sender: No OFD packet to send [07:14:51]OFD Sender: No OFD packet to send [07:14:56]OFD Sender: No OFD packet to send [07:15:01]OFD Sender: No OFD packet to send [07:15:06]OFD Sender: No OFD packet to send [07:15:11]OFD Sender: No OFD packet to send [07:15:16]OFD Sender: No OFD packet to send [07:15:21]OFD Sender: No OFD packet to send [07:15:26]OFD Sender: No OFD packet to send [07:15:31]OFD Sender: No OFD packet to send [07:15:36]OFD Sender: No OFD packet to send [07:15:41]OFD Sender: No OFD packet to send [07:15:46]OFD Sender: No OFD packet to send [07:15:51]OFD Sender: No OFD packet to send [07:15:56]OFD Sender: No OFD packet to send [07:16:01]OFD Sender: No OFD packet to send [07:16:06]OFD Sender: No OFD packet to send [07:16:11]OFD Sender: No OFD packet to send [07:16:16]OFD Sender: No OFD packet to send [07:16:21]OFD Sender: No OFD packet to send [07:16:26]OFD Sender: No OFD packet to send [07:16:31]OFD Sender: No OFD packet to send [07:16:36]OFD Sender: No OFD packet to send [07:16:41]OFD Sender: No OFD packet to send [07:16:46]OFD Sender: No OFD packet to send [07:16:51]OFD Sender: No OFD packet to send [07:16:56]OFD Sender: No OFD packet to send [07:17:01]OFD Sender: No OFD packet to send [07:17:06]OFD Sender: No OFD packet to send [07:17:11]OFD Sender: No OFD packet to send [07:17:16]OFD Sender: No OFD packet to send [07:17:21]OFD Sender: No OFD packet to send [07:17:26]OFD Sender: No OFD packet to send [07:17:31]OFD Sender: No OFD packet to send [07:17:36]OFD Sender: No OFD packet to send [07:17:41]OFD Sender: No OFD packet to send [07:17:46]OFD Sender: No OFD packet to send [07:17:51]OFD Sender: No OFD packet to send [07:17:56]OFD Sender: No OFD packet to send [07:18:01]OFD Sender: No OFD packet to send [07:18:06]OFD Sender: No OFD packet to send [07:18:11]OFD Sender: No OFD packet to send [07:18:16]OFD Sender: No OFD packet to send [07:18:21]OFD Sender: No OFD packet to send [07:18:26]OFD Sender: No OFD packet to send [07:18:31]OFD Sender: No OFD packet to send [07:18:36]OFD Sender: No OFD packet to send [07:18:41]OFD Sender: No OFD packet to send [07:18:46]OFD Sender: No OFD packet to send [07:18:51]OFD Sender: No OFD packet to send [07:18:56]OFD Sender: No OFD packet to send [07:19:01]OFD Sender: No OFD packet to send [07:19:06]OFD Sender: No OFD packet to send [07:19:11]OFD Sender: No OFD packet to send [07:19:16]OFD Sender: No OFD packet to send [07:19:21]OFD Sender: No OFD packet to send [07:19:26]OFD Sender: No OFD packet to send [07:19:31]OFD Sender: No OFD packet to send [07:19:36]OFD Sender: No OFD packet to send [07:19:41]OFD Sender: No OFD packet to send [07:19:46]OFD Sender: No OFD packet to send [07:19:51]OFD Sender: No OFD packet to send [07:19:56]OFD Sender: No OFD packet to send [07:20:01]OFD Sender: No OFD packet to send [07:20:06]OFD Sender: No OFD packet to send [07:20:11]OFD Sender: No OFD packet to send [07:20:16]OFD Sender: No OFD packet to send [07:20:21]OFD Sender: No OFD packet to send [07:20:26]OFD Sender: No OFD packet to send [07:20:31]OFD Sender: No OFD packet to send [07:20:36]OFD Sender: No OFD packet to send [07:20:41]OFD Sender: No OFD packet to send [07:20:46]OFD Sender: No OFD packet to send [07:20:51]OFD Sender: No OFD packet to send [07:20:56]OFD Sender: No OFD packet to send [07:21:01]OFD Sender: No OFD packet to send [07:21:06]OFD Sender: No OFD packet to send [07:21:11]OFD Sender: No OFD packet to send [07:21:16]OFD Sender: No OFD packet to send [07:21:21]OFD Sender: No OFD packet to send [07:21:26]OFD Sender: No OFD packet to send [07:21:31]OFD Sender: No OFD packet to send [07:21:36]OFD Sender: No OFD packet to send [07:21:41]OFD Sender: No OFD packet to send [07:21:46]OFD Sender: No OFD packet to send [07:21:51]OFD Sender: No OFD packet to send [07:21:56]OFD Sender: No OFD packet to send [07:22:01]OFD Sender: No OFD packet to send [07:22:06]OFD Sender: No OFD packet to send [07:22:11]OFD Sender: No OFD packet to send [07:22:16]OFD Sender: No OFD packet to send [07:22:21]OFD Sender: No OFD packet to send [07:22:26]OFD Sender: No OFD packet to send [07:22:31]OFD Sender: No OFD packet to send [07:22:36]OFD Sender: No OFD packet to send [07:22:41]OFD Sender: No OFD packet to send [07:22:46]OFD Sender: No OFD packet to send [07:22:51]OFD Sender: No OFD packet to send [07:22:56]OFD Sender: No OFD packet to send [07:23:01]OFD Sender: No OFD packet to send [07:23:06]OFD Sender: No OFD packet to send [07:23:11]OFD Sender: No OFD packet to send [07:23:16]OFD Sender: No OFD packet to send [07:23:21]OFD Sender: No OFD packet to send [07:23:26]OFD Sender: No OFD packet to send [07:23:31]OFD Sender: No OFD packet to send [07:23:36]OFD Sender: No OFD packet to send [07:23:41]OFD Sender: No OFD packet to send [07:23:46]OFD Sender: No OFD packet to send [07:23:51]OFD Sender: No OFD packet to send [07:23:56]OFD Sender: No OFD packet to send [07:24:01]OFD Sender: No OFD packet to send [07:24:06]OFD Sender: No OFD packet to send [07:24:11]OFD Sender: No OFD packet to send [07:24:16]OFD Sender: No OFD packet to send [07:24:21]OFD Sender: No OFD packet to send [07:24:26]OFD Sender: No OFD packet to send [07:24:31]OFD Sender: No OFD packet to send [07:24:36]OFD Sender: No OFD packet to send [07:24:41]OFD Sender: No OFD packet to send [07:24:46]OFD Sender: No OFD packet to send [07:24:51]OFD Sender: No OFD packet to send [07:24:56]OFD Sender: No OFD packet to send [07:25:01]OFD Sender: No OFD packet to send [07:25:06]OFD Sender: No OFD packet to send [07:25:11]OFD Sender: No OFD packet to send [07:25:16]OFD Sender: No OFD packet to send [07:25:21]OFD Sender: No OFD packet to send [07:25:26]OFD Sender: No OFD packet to send [07:25:31]OFD Sender: No OFD packet to send [07:25:36]OFD Sender: No OFD packet to send [07:25:41]OFD Sender: No OFD packet to send [07:25:46]OFD Sender: No OFD packet to send [07:25:51]OFD Sender: No OFD packet to send [07:25:56]OFD Sender: No OFD packet to send [07:26:01]OFD Sender: No OFD packet to send [07:26:06]OFD Sender: No OFD packet to send [07:26:11]OFD Sender: No OFD packet to send [07:26:16]OFD Sender: No OFD packet to send [07:26:21]OFD Sender: No OFD packet to send [07:26:26]OFD Sender: No OFD packet to send [07:26:31]OFD Sender: No OFD packet to send [07:26:36]OFD Sender: No OFD packet to send [07:26:41]OFD Sender: No OFD packet to send [07:26:46]OFD Sender: No OFD packet to send [07:26:51]OFD Sender: No OFD packet to send [07:26:56]OFD Sender: No OFD packet to send [07:27:01]OFD Sender: No OFD packet to send [07:27:06]OFD Sender: No OFD packet to send [07:27:11]OFD Sender: No OFD packet to send [07:27:16]OFD Sender: No OFD packet to send [07:27:21]OFD Sender: No OFD packet to send [07:27:26]OFD Sender: No OFD packet to send [07:27:31]OFD Sender: No OFD packet to send [07:27:36]OFD Sender: No OFD packet to send [07:27:41]OFD Sender: No OFD packet to send [07:27:46]OFD Sender: No OFD packet to send [07:27:51]OFD Sender: No OFD packet to send [07:27:56]OFD Sender: No OFD packet to send [07:28:01]OFD Sender: No OFD packet to send [07:28:06]OFD Sender: No OFD packet to send [07:28:11]OFD Sender: No OFD packet to send [07:28:16]OFD Sender: No OFD packet to send [07:28:21]OFD Sender: No OFD packet to send [07:28:26]OFD Sender: No OFD packet to send [07:28: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:31]OFD Sender: No OFD packet to send [07:30:36]OFD Sender: No OFD packet to send [07:30:41]OFD Sender: No OFD packet to send [07:30:46]OFD Sender: No OFD packet to send [07:30:51]OFD Sender: No OFD packet to send [07:30:56]OFD Sender: No OFD packet to send [07:31:01]OFD Sender: No OFD packet to send [07:31:06]OFD Sender: No OFD packet to send [07:31:11]OFD Sender: No OFD packet to send [07:31:16]OFD Sender: No OFD packet to send [07:31:21]OFD Sender: No OFD packet to send [07:31:26]OFD Sender: No OFD packet to send [07:31:31]OFD Sender: No OFD packet to send [07:31:36]OFD Sender: No OFD packet to send [07:31:41]OFD Sender: No OFD packet to send [07:31:46]OFD Sender: No OFD packet to send [07:31:51]OFD Sender: No OFD packet to send [07:31:56]OFD Sender: No OFD packet to send [07:32:01]OFD Sender: No OFD packet to send [07:32:06]OFD Sender: No OFD packet to send [07:32:11]OFD Sender: No OFD packet to send [07:32:16]OFD Sender: No OFD packet to send [07:32:21]OFD Sender: No OFD packet to send [07:32:26]OFD Sender: No OFD packet to send [07:32:31]OFD Sender: No OFD packet to send [07:32:36]OFD Sender: No OFD packet to send [07:32:41]OFD Sender: No OFD packet to send [07:32:46]OFD Sender: No OFD packet to send [07:32:51]OFD Sender: No OFD packet to send [07:32:56]OFD Sender: No OFD packet to send [07:33:01]OFD Sender: No OFD packet to send [07:33:06]OFD Sender: No OFD packet to send [07:33:11]OFD Sender: No OFD packet to send [07:33:16]OFD Sender: No OFD packet to send [07:33:21]OFD Sender: No OFD packet to send [07:33:26]OFD Sender: No OFD packet to send [07:33:31]OFD Sender: No OFD packet to send [07:33:36]OFD Sender: No OFD packet to send [07:33:41]OFD Sender: No OFD packet to send [07:33:46]OFD Sender: No OFD packet to send [07:33:51]OFD Sender: No OFD packet to send [07:33:56]OFD Sender: No OFD packet to send [07:34:01]OFD Sender: No OFD packet to send [07:34:06]OFD Sender: No OFD packet to send [07:34:11]OFD Sender: No OFD packet to send [07:34:16]OFD Sender: No OFD packet to send [07:34:21]OFD Sender: No OFD packet to send [07:34:26]OFD Sender: No OFD packet to send [07:34:31]OFD Sender: No OFD packet to send [07:34:36]OFD Sender: No OFD packet to send [07:34:41]OFD Sender: No OFD packet to send [07:34:46]OFD Sender: No OFD packet to send [07:34:51]OFD Sender: No OFD packet to send [07:34:56]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:12]OFD Sender: No OFD packet to send [07:43:17]OFD Sender: No OFD packet to send [07:43:22]OFD Sender: No OFD packet to send [07:43:27]OFD Sender: No OFD packet to send [07:43:32]OFD Sender: No OFD packet to send [07:43:37]OFD Sender: No OFD packet to send [07:43:42]OFD Sender: No OFD packet to send [07:43:47]OFD Sender: No OFD packet to send [07:43:52]OFD Sender: No OFD packet to send [07:43:57]OFD Sender: No OFD packet to send [07:44:02]OFD Sender: No OFD packet to send [07:44:07]OFD Sender: No OFD packet to send [07:44:12]OFD Sender: No OFD packet to send [07:44:17]OFD Sender: No OFD packet to send [07:44:22]OFD Sender: No OFD packet to send [07:44:27]OFD Sender: No OFD packet to send [07:44:32]OFD Sender: No OFD packet to send [07:44:37]OFD Sender: No OFD packet to send [07:44:42]OFD Sender: No OFD packet to send [07:44:47]OFD Sender: No OFD packet to send [07:44:52]OFD Sender: No OFD packet to send [07:44:57]OFD Sender: No OFD packet to send [07:45:02]OFD Sender: No OFD packet to send [07:45:07]OFD Sender: No OFD packet to send [07:45:12]OFD Sender: No OFD packet to send [07:45:17]OFD Sender: No OFD packet to send [07:45:22]OFD Sender: No OFD packet to send [07:45:27]OFD Sender: No OFD packet to send [07:45:32]OFD Sender: No OFD packet to send [07:45:37]OFD Sender: No OFD packet to send [07:45:42]OFD Sender: No OFD packet to send [07:45:47]OFD Sender: No OFD packet to send [07:45:52]OFD Sender: No OFD packet to send [07:45:57]OFD Sender: No OFD packet to send [07:46:02]OFD Sender: No OFD packet to send [07:46:07]OFD Sender: No OFD packet to send [07:46:12]OFD Sender: No OFD packet to send [07:46:17]OFD Sender: No OFD packet to send [07:46:22]OFD Sender: No OFD packet to send [07:46:27]OFD Sender: No OFD packet to send [07:46:32]OFD Sender: No OFD packet to send [07:46:37]OFD Sender: No OFD packet to send [07:46:42]OFD Sender: No OFD packet to send [07:46:47]OFD Sender: No OFD packet to send [07:46:52]OFD Sender: No OFD packet to send [07:46:57]OFD Sender: No OFD packet to send [07:47:02]OFD Sender: No OFD packet to send [07:47:07]OFD Sender: No OFD packet to send [07:47:12]OFD Sender: No OFD packet to send [07:47:17]OFD Sender: No OFD packet to send [07:47:22]OFD Sender: No OFD packet to send [07:47:27]OFD Sender: No OFD packet to send [07:47:32]OFD Sender: No OFD packet to send [07:47:37]OFD Sender: No OFD packet to send [07:47:42]OFD Sender: No OFD packet to send [07:47:47]OFD Sender: No OFD packet to send [07:47:52]OFD Sender: No OFD packet to send [07:47:57]OFD Sender: No OFD packet to send [07:48:02]OFD Sender: No OFD packet to send [07:48:07]OFD Sender: No OFD packet to send [07:48:12]OFD Sender: No OFD packet to send [07:48:17]OFD Sender: No OFD packet to send [07:48:22]OFD Sender: No OFD packet to send [07:48:27]OFD Sender: No OFD packet to send [07:48:32]OFD Sender: No OFD packet to send [07:48:37]OFD Sender: No OFD packet to send [07:48:42]OFD Sender: No OFD packet to send [07:48:47]OFD Sender: No OFD packet to send [07:48:52]OFD Sender: No OFD packet to send [07:48:57]OFD Sender: No OFD packet to send [07:49:02]OFD Sender: No OFD packet to send [07:49:07]OFD Sender: No OFD packet to send [07:49:12]OFD Sender: No OFD packet to send [07:49:17]OFD Sender: No OFD packet to send [07:49:22]OFD Sender: No OFD packet to send [07:49:27]OFD Sender: No OFD packet to send [07:49:32]OFD Sender: No OFD packet to send [07:49:37]OFD Sender: No OFD packet to send [07:49:42]OFD Sender: No OFD packet to send [07:49:47]OFD Sender: No OFD packet to send [07:49:52]OFD Sender: No OFD packet to send [07:49:57]OFD Sender: No OFD packet to send [07:50:02]OFD Sender: No OFD packet to send [07:50:07]OFD Sender: No OFD packet to send [07:50:12]OFD Sender: No OFD packet to send [07:50:17]OFD Sender: No OFD packet to send [07:50:22]OFD Sender: No OFD packet to send [07:50:27]OFD Sender: No OFD packet to send [07:50:32]OFD Sender: No OFD packet to send [07:50:37]OFD Sender: No OFD packet to send [07:50:42]OFD Sender: No OFD packet to send [07:50:47]OFD Sender: No OFD packet to send [07:50:52]OFD Sender: No OFD packet to send [07:50:57]OFD Sender: No OFD packet to send [07:51:02]OFD Sender: No OFD packet to send [07:51:07]OFD Sender: No OFD packet to send [07:51:12]OFD Sender: No OFD packet to send [07:51:17]OFD Sender: No OFD packet to send [07:51:22]OFD Sender: No OFD packet to send [07:51:27]OFD Sender: No OFD packet to send [07:51:32]OFD Sender: No OFD packet to send [07:51:37]OFD Sender: No OFD packet to send [07:51:42]OFD Sender: No OFD packet to send [07:51:47]OFD Sender: No OFD packet to send [07:51:52]OFD Sender: No OFD packet to send [07:51:57]OFD Sender: No OFD packet to send [07:52:02]OFD Sender: No OFD packet to send [07:52:07]OFD Sender: No OFD packet to send [07:52:12]OFD Sender: No OFD packet to send [07:52:17]OFD Sender: No OFD packet to send [07:52:22]OFD Sender: No OFD packet to send [07:52:27]OFD Sender: No OFD packet to send [07:52:32]OFD Sender: No OFD packet to send [07:52:37]OFD Sender: No OFD packet to send [07:52:42]OFD Sender: No OFD packet to send [07:52:47]OFD Sender: No OFD packet to send [07:52:52]OFD Sender: No OFD packet to send [07:52:57]OFD Sender: No OFD packet to send [07:53:02]OFD Sender: No OFD packet to send [07:53:07]OFD Sender: No OFD packet to send [07:53:12]OFD Sender: No OFD packet to send [07:53:17]OFD Sender: No OFD packet to send [07:53:22]OFD Sender: No OFD packet to send [07:53:27]OFD Sender: No OFD packet to send [07:53:32]OFD Sender: No OFD packet to send [07:53:37]OFD Sender: No OFD packet to send [07:53:42]OFD Sender: No OFD packet to send [07:53:47]OFD Sender: No OFD packet to send [07:53:52]OFD Sender: No OFD packet to send [07:53:57]OFD Sender: No OFD packet to send [07:54:02]OFD Sender: No OFD packet to send [07:54:07]OFD Sender: No OFD packet to send [07:54:12]OFD Sender: No OFD packet to send [07:54:17]OFD Sender: No OFD packet to send [07:54:22]OFD Sender: No OFD packet to send [07:54:27]OFD Sender: No OFD packet to send [07:54:32]OFD Sender: No OFD packet to send [07:54:37]OFD Sender: No OFD packet to send [07:54:42]OFD Sender: No OFD packet to send [07:54:47]OFD Sender: No OFD packet to send [07:54:52]OFD Sender: No OFD packet to send [07:54:57]OFD Sender: No OFD packet to send [07:55:02]OFD Sender: No OFD packet to send [07:55:07]OFD Sender: No OFD packet to send [07:55:12]OFD Sender: No OFD packet to send [07:55:17]OFD Sender: No OFD packet to send [07:55:22]OFD Sender: No OFD packet to send [07:55:27]OFD Sender: No OFD packet to send [07:55:32]OFD Sender: No OFD packet to send [07:55:37]OFD Sender: No OFD packet to send [07:55:42]OFD Sender: No OFD packet to send [07:55:47]OFD Sender: No OFD packet to send [07:55:52]OFD Sender: No OFD packet to send [07:55:57]OFD Sender: No OFD packet to send [07:56:02]OFD Sender: No OFD packet to send [07:56:07]OFD Sender: No OFD packet to send [07:56:12]OFD Sender: No OFD packet to send [07:56:17]OFD Sender: No OFD packet to send [07:56:22]OFD Sender: No OFD packet to send [07:56:28]OFD Sender: No OFD packet to send [07:56:33]OFD Sender: No OFD packet to send [07:56:38]OFD Sender: No OFD packet to send [07:56:43]OFD Sender: No OFD packet to send [07:56:48]OFD Sender: No OFD packet to send [07:56:53]OFD Sender: No OFD packet to send [07:56:58]OFD Sender: No OFD packet to send [07:57:03]OFD Sender: No OFD packet to send [07:57:08]OFD Sender: No OFD packet to send [07:57:13]OFD Sender: No OFD packet to send [07:57:18]OFD Sender: No OFD packet to send [07:57:23]OFD Sender: No OFD packet to send [07:57:28]OFD Sender: No OFD packet to send [07:57:33]OFD Sender: No OFD packet to send [07:57:38]OFD Sender: No OFD packet to send [07:57:43]OFD Sender: No OFD packet to send [07:57:48]OFD Sender: No OFD packet to send [07:57:53]OFD Sender: No OFD packet to send [07:57:58]OFD Sender: No OFD packet to send [07:58:03]OFD Sender: No OFD packet to send [07:58:08]OFD Sender: No OFD packet to send [07:58:13]OFD Sender: No OFD packet to send [07:58:18]OFD Sender: No OFD packet to send [07:58:23]OFD Sender: No OFD packet to send [07:58:28]OFD Sender: No OFD packet to send [07:58:33]OFD Sender: No OFD packet to send [07:58:38]OFD Sender: No OFD packet to send [07:58:43]OFD Sender: No OFD packet to send [07:58:48]OFD Sender: No OFD packet to send [07:58:53]OFD Sender: No OFD packet to send [07:58:58]OFD Sender: No OFD packet to send [07:59:03]OFD Sender: No OFD packet to send [07:59:08]OFD Sender: No OFD packet to send [07:59:13]OFD Sender: No OFD packet to send [07:59:18]OFD Sender: No OFD packet to send [07:59:23]OFD Sender: No OFD packet to send [07:59:28]OFD Sender: No OFD packet to send [07:59:33]OFD Sender: No OFD packet to send [07:59:38]OFD Sender: No OFD packet to send [07:59:43]OFD Sender: No OFD packet to send [07:59:48]OFD Sender: No OFD packet to send [07:59:53]OFD Sender: No OFD packet to send [07:59:58]OFD Sender: No OFD packet to send [08:00:03]OFD Sender: No OFD packet to send [08:00:08]OFD Sender: No OFD packet to send [08:00:13]OFD Sender: No OFD packet to send [08:00:18]OFD Sender: No OFD packet to send [08:00:23]OFD Sender: No OFD packet to send [08:00:28]OFD Sender: No OFD packet to send [08:00:33]OFD Sender: No OFD packet to send [08:00:38]OFD Sender: No OFD packet to send [08:00:43]OFD Sender: No OFD packet to send [08:00:48]OFD Sender: No OFD packet to send [08:00:53]OFD Sender: No OFD packet to send [08:00:58]OFD Sender: No OFD packet to send [08:01:03]OFD Sender: No OFD packet to send [08:01:08]OFD Sender: No OFD packet to send [08:01:13]OFD Sender: No OFD packet to send [08:01:18]OFD Sender: No OFD packet to send [08:01:23]OFD Sender: No OFD packet to send [08:01:28]OFD Sender: No OFD packet to send [08:01:33]OFD Sender: No OFD packet to send [08:01:38]OFD Sender: No OFD packet to send [08:01:43]OFD Sender: No OFD packet to send [08:01:48]OFD Sender: No OFD packet to send [08:01:53]OFD Sender: No OFD packet to send [08:01:58]OFD Sender: No OFD packet to send [08:02:03]OFD Sender: No OFD packet to send [08:02:08]OFD Sender: No OFD packet to send [08:02:13]OFD Sender: No OFD packet to send [08:02:18]OFD Sender: No OFD packet to send [08:02:23]OFD Sender: No OFD packet to send [08:02:28]OFD Sender: No OFD packet to send [08:02:33]OFD Sender: No OFD packet to send [08:02:38]OFD Sender: No OFD packet to send [08:02:43]OFD Sender: No OFD packet to send [08:02:48]OFD Sender: No OFD packet to send [08:02:53]OFD Sender: No OFD packet to send [08:02:58]OFD Sender: No OFD packet to send [08:03:03]OFD Sender: No OFD packet to send [08:03:08]OFD Sender: No OFD packet to send [08:03:13]OFD Sender: No OFD packet to send [08:03:18]OFD Sender: No OFD packet to send [08:03:23]OFD Sender: No OFD packet to send [08:03:28]OFD Sender: No OFD packet to send [08:03:33]OFD Sender: No OFD packet to send [08:03:38]OFD Sender: No OFD packet to send [08:03:43]OFD Sender: No OFD packet to send [08:03:48]OFD Sender: No OFD packet to send [08:03:53]OFD Sender: No OFD packet to send [08:03:58]OFD Sender: No OFD packet to send [08:04:03]OFD Sender: No OFD packet to send [08:04:08]OFD Sender: No OFD packet to send [08:04:13]OFD Sender: No OFD packet to send [08:04:18]OFD Sender: No OFD packet to send [08:04:23]OFD Sender: No OFD packet to send [08:04:28]OFD Sender: No OFD packet to send [08:04:33]OFD Sender: No OFD packet to send [08:04:38]OFD Sender: No OFD packet to send [08:04:43]OFD Sender: No OFD packet to send [08:04:48]OFD Sender: No OFD packet to send [08:04:53]OFD Sender: No OFD packet to send [08:04:58]OFD Sender: No OFD packet to send [08:05:03]OFD Sender: No OFD packet to send [08:05:08]OFD Sender: No OFD packet to send [08:05:13]OFD Sender: No OFD packet to send [08:05:18]OFD Sender: No OFD packet to send [08:05:23]OFD Sender: No OFD packet to send [08:05:28]OFD Sender: No OFD packet to send [08:05:33]OFD Sender: No OFD packet to send [08:05:38]OFD Sender: No OFD packet to send [08:05:43]OFD Sender: No OFD packet to send [08:05:48]OFD Sender: No OFD packet to send [08:05:53]OFD Sender: No OFD packet to send [08:05:58]OFD Sender: No OFD packet to send [08:06:03]OFD Sender: No OFD packet to send [08:06:08]OFD Sender: No OFD packet to send [08:06:13]OFD Sender: No OFD packet to send [08:06:18]OFD Sender: No OFD packet to send [08:06:23]OFD Sender: No OFD packet to send [08:06:28]OFD Sender: No OFD packet to send [08:06:33]OFD Sender: No OFD packet to send [08:06:38]OFD Sender: No OFD packet to send [08:06:43]OFD Sender: No OFD packet to send [08:06:48]OFD Sender: No OFD packet to send [08:06:53]OFD Sender: No OFD packet to send [08:06:58]OFD Sender: No OFD packet to send [08:07:03]OFD Sender: No OFD packet to send [08:07:08]OFD Sender: No OFD packet to send [08:07:13]OFD Sender: No OFD packet to send [08:07:18]OFD Sender: No OFD packet to send [08:07:23]OFD Sender: No OFD packet to send [08:07:28]OFD Sender: No OFD packet to send [08:07:33]OFD Sender: No OFD packet to send [08:07:38]OFD Sender: No OFD packet to send [08:07:43]OFD Sender: No OFD packet to send [08:07:48]OFD Sender: No OFD packet to send [08:07:53]OFD Sender: No OFD packet to send [08:07:58]OFD Sender: No OFD packet to send [08:08:03]OFD Sender: No OFD packet to send [08:08:08]OFD Sender: No OFD packet to send [08:08:13]OFD Sender: No OFD packet to send [08:08:18]OFD Sender: No OFD packet to send [08:08:23]OFD Sender: No OFD packet to send [08:08:28]OFD Sender: No OFD packet to send [08:08:33]OFD Sender: No OFD packet to send [08:08:38]OFD Sender: No OFD packet to send [08:08:43]OFD Sender: No OFD packet to send [08:08:48]OFD Sender: No OFD packet to send [08:08:53]OFD Sender: No OFD packet to send [08:08:58]OFD Sender: No OFD packet to send [08:09:03]OFD Sender: No OFD packet to send [08:09:08]OFD Sender: No OFD packet to send [08:09:13]OFD Sender: No OFD packet to send [08:09:18]OFD Sender: No OFD packet to send [08:09:23]OFD Sender: No OFD packet to send [08:09:28]OFD Sender: No OFD packet to send [08:09:33]OFD Sender: No OFD packet to send [08:09:38]OFD Sender: No OFD packet to send [08:09:43]OFD Sender: No OFD packet to send [08:09:48]OFD Sender: No OFD packet to send [08:09:53]OFD Sender: No OFD packet to send [08:09:58]OFD Sender: No OFD packet to send [08:10:03]OFD Sender: No OFD packet to send [08:10:08]OFD Sender: No OFD packet to send [08:10:13]OFD Sender: No OFD packet to send [08:10:18]OFD Sender: No OFD packet to send [08:10:23]OFD Sender: No OFD packet to send [08:10:28]OFD Sender: No OFD packet to send [08:10:33]OFD Sender: No OFD packet to send [08:10:38]OFD Sender: No OFD packet to send [08:10:43]OFD Sender: No OFD packet to send [08:10:48]OFD Sender: No OFD packet to send [08:10:53]OFD Sender: No OFD packet to send [08:10:58]OFD Sender: No OFD packet to send [08:11:03]OFD Sender: No OFD packet to send [08:11:08]OFD Sender: No OFD packet to send [08:11:13]OFD Sender: No OFD packet to send [08:11:18]OFD Sender: No OFD packet to send [08:11:23]OFD Sender: No OFD packet to send [08:11:28]OFD Sender: No OFD packet to send [08:11:33]OFD Sender: No OFD packet to send [08:11:38]OFD Sender: No OFD packet to send [08:11:43]OFD Sender: No OFD packet to send [08:11:48]OFD Sender: No OFD packet to send [08:11:53]OFD Sender: No OFD packet to send [08:11:58]OFD Sender: No OFD packet to send [08:12:03]OFD Sender: No OFD packet to send [08:12:08]OFD Sender: No OFD packet to send [08:12:13]OFD Sender: No OFD packet to send [08:12:18]OFD Sender: No OFD packet to send [08:12:23]OFD Sender: No OFD packet to send [08:12:28]OFD Sender: No OFD packet to send [08:12:33]OFD Sender: No OFD packet to send [08:12:38]OFD Sender: No OFD packet to send [08:12:43]OFD Sender: No OFD packet to send [08:12:48]OFD Sender: No OFD packet to send [08:12:53]OFD Sender: No OFD packet to send [08:12:58]OFD Sender: No OFD packet to send [08:13:03]OFD Sender: No OFD packet to send [08:13:08]OFD Sender: No OFD packet to send [08:13:13]OFD Sender: No OFD packet to send [08:13:18]OFD Sender: No OFD packet to send [08:13:23]OFD Sender: No OFD packet to send [08:13:28]OFD Sender: No OFD packet to send [08:13:33]OFD Sender: No OFD packet to send [08:13:38]OFD Sender: No OFD packet to send [08:13:43]OFD Sender: No OFD packet to send [08:13:48]OFD Sender: No OFD packet to send [08:13:53]OFD Sender: No OFD packet to send [08:13:58]OFD Sender: No OFD packet to send [08:14:03]OFD Sender: No OFD packet to send [08:14:08]OFD Sender: No OFD packet to send [08:14:13]OFD Sender: No OFD packet to send [08:14:18]OFD Sender: No OFD packet to send [08:14:23]OFD Sender: No OFD packet to send [08:14:28]OFD Sender: No OFD packet to send [08:14:33]OFD Sender: No OFD packet to send [08:14:38]OFD Sender: No OFD packet to send [08:14:43]OFD Sender: No OFD packet to send [08:14:48]OFD Sender: No OFD packet to send [08:14:53]OFD Sender: No OFD packet to send [08:14:58]OFD Sender: No OFD packet to send [08:15:03]OFD Sender: No OFD packet to send [08:15:08]OFD Sender: No OFD packet to send [08:15:13]OFD Sender: No OFD packet to send [08:15:18]OFD Sender: No OFD packet to send [08:15:23]OFD Sender: No OFD packet to send [08:15:28]OFD Sender: No OFD packet to send [08:15:33]OFD Sender: No OFD packet to send [08:15:38]OFD Sender: No OFD packet to send [08:15:43]OFD Sender: No OFD packet to send [08:15:48]OFD Sender: No OFD packet to send [08:15:53]OFD Sender: No OFD packet to send [08:15:58]OFD Sender: No OFD packet to send [08:16:03]OFD Sender: No OFD packet to send [08:16:08]OFD Sender: No OFD packet to send [08:16:13]OFD Sender: No OFD packet to send [08:16:18]OFD Sender: No OFD packet to send [08:16:23]OFD Sender: No OFD packet to send [08:16:28]OFD Sender: No OFD packet to send [08:16:33]OFD Sender: No OFD packet to send [08:16:38]OFD Sender: No OFD packet to send [08:16:43]OFD Sender: No OFD packet to send [08:16:48]OFD Sender: No OFD packet to send [08:16:53]OFD Sender: No OFD packet to send [08:16:58]OFD Sender: No OFD packet to send [08:17:03]OFD Sender: No OFD packet to send [08:17:08]OFD Sender: No OFD packet to send [08:17:13]OFD Sender: No OFD packet to send [08:17:18]OFD Sender: No OFD packet to send [08:17:23]OFD Sender: No OFD packet to send [08:17:28]OFD Sender: No OFD packet to send [08:17:33]OFD Sender: No OFD packet to send [08:17: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:47]accept exits with 9 [08:21:47]New connection [08:21:47]New thread 3066699108 created [08:21:47]Thread 3066842468 joined [08:21:47]Waiting for new connection... [08:21:47] Sock 9.Parse request [08:21:47]Sock 9.Check first char [08:21:47]Sock 9.First char is OK [08:21:47]request: POST /json_proto HTTP/1.0 [08:21:47]Method: POST [08:21:47]URL: /json_proto [08:21:47]Method is POST - this is cgi request [08:21:47]url: /json_proto [08:21:47]query_string will be loaded in cgi processing [08:21:47]execute_cgi json_proto POST (null) [08:21:47]execute_cgi path=json_proto method=POST [08:21:47]POST find Content-Length [08:21:47]Host: 172.17.35.196:8080 [08:21:47]Content-Length: 621 [08:21:47]Content-Type: application/json [08:21:47] [08:21:47]POST finish read [08:21:47]Found Content-Length = 621 [08:21:47]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169091", "tax_sys" : 0, "items" : [ { "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:21:47]execute_script... [08:21:47]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169091", "tax_sys" : 0, "items" : [ { "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:21:47]POST & json_proto [08:21:47]process_json_proto [08:21:47]json parsed OK: [08:21:47]protocol is kg_v1.0 [08:21:47]action value=close_receipt [08:21:47]process_action close_receipt [08:21:47]cmd_close_receipt [08:21:47]MH_GetDate [08:21:47]Write to MH i2c: F0 00 00 CE 8A 47 [08:21:47]Write i2c OK [08:21:47]MH_I2C_Read... [08:21:47]Read from MH i2c: F0 [08:21:47]MH_I2C_Read... [08:21:47]Read from MH i2c: F0 09 00 [08:21:47]MH_I2C_Read... [08:21:47]Read from MH i2c: F0 09 00 CE 8A 00 3F 96 8F 66 AD 14 F4 65 34 [08:21:47]GetLastDocTimeStamp 1720672000 [08:21:47]current date 1720686143 [08:21:47]FM_GetShiftState [08:21:47]SAM_PROTO_GetShiftState [08:21:47]wFMCommunicate request_size=4 [08:21:47]MH_SAM_APDU [08:21:47]CAPDU: 80 13 01 00 [08:21:47]Write to MH i2c: E2 08 00 CF 8A 80 13 01 00 00 00 00 00 D6 [08:21:47]Write i2c OK [08:21:47]MH_I2C_Read... [08:21:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:21:47]Read from MH i2c: E2 [08:21:47]MH_I2C_Read... [08:21:47]Read from MH i2c: E2 0E 00 [08:21:47]MH_I2C_Read... [08:21:47]Read from MH i2c: E2 0E 00 CF 8A 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 07 [08:21:47]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [08:21:47]wFMCommunicate OK [08:21:47]SAM_PROTO_GetShiftState done [08:21:47]FM_GetShiftState done [08:21:47]opened in 1720656398 [08:21:47]opened+sec_in_day 1720742798 [08:21:47]quantity*price = 14000 [08:21:47]sum+1 = 14001 [08:21:47]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 140.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 6 11.07.2024 08:22 Смена: 432 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33251 ФПД: 90223309117633 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T082223&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33251&fm=90223309117633&tin=02508201610067®Number=0000000000093033&sum=14000 0 [08:21:48]StoreToDocumentArchive [08:21:48]shift 432 fd 33251 [08:21:48]save to /storage/0432/doc_00033251 [08:21:48]save last doc name /storage/0432/doc_00033251 to /storage/kkm_last_doc_name [08:21:48]save OK [08:21:48]Clear old archive folders... [08:21:48]ProcessDocumentItem done err = 0, tmpTLVsize=273 [08:21:48]tlvbuf is 00321920 [08:21:48]SAM_PROTO_ClearQueue [08:21:48]wFMCommunicate request_size=4 [08:21:48]MH_SAM_APDU [08:21:48]CAPDU: 80 09 00 00 [08:21:48]Write to MH i2c: E2 08 00 DC 8A 80 09 00 00 00 00 00 00 D8 [08:21:48]Write i2c OK [08:21:48]MH_I2C_Read... [08:21:48]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:21:48]Read from MH i2c: E2 [08:21:48]MH_I2C_Read... [08:21:48]Read from MH i2c: E2 03 00 [08:21:48]MH_I2C_Read... [08:21:48]Read from MH i2c: E2 03 00 DC 8A 00 90 00 DA [08:21:48]RAPDU: 90 00 [08:21:48]wFMCommunicate OK [08:21:48]SAM_PROTO_ClearQueue done [08:21:48]KKMCreateOFDPacket [08:21:48]OFDProtocolAddRootSTLVToBuf [08:21:48]FM_MakeSignedData [08:21:48]FM_MakeSignedData [08:21:48]SAM_PROTO_SignData [08:21:48]wFMCommunicate request_size=4 [08:21:48]MH_SAM_APDU [08:21:48]CAPDU: 80 0D 01 02 [08:21:48]Write to MH i2c: E2 08 00 DD 8A 80 0D 01 02 00 00 00 00 E0 [08:21:48]Write i2c OK [08:21:48]MH_I2C_Read... [08:21:48]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:21:48]Read from MH i2c: E2 [08:21:48]MH_I2C_Read... [08:21:48]Read from MH i2c: E2 03 00 [08:21:48]MH_I2C_Read... [08:21:48]Read from MH i2c: E2 03 00 DD 8A 00 90 00 DB [08:21:48]RAPDU: 90 00 [08:21:48]wFMCommunicate OK [08:21:48]wFMCommunicate request_size=255 [08:21:48]MH_SAM_APDU [08:21:48]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 3F 96 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 [08:21:48]Write to MH i2c: E2 02 01 DE 8A 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 3F 96 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 00 00 3B [08:21:48]Write i2c OK [08:21:48]MH_I2C_Read... [08:21:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:21:48]Read from MH i2c: E2 [08:21:48]MH_I2C_Read... [08:21:48]Read from MH i2c: E2 03 00 [08:21:48]MH_I2C_Read... [08:21:48]Read from MH i2c: E2 03 00 DE 8A 00 90 00 DC [08:21:48]RAPDU: 90 00 [08:21:48]wFMCommunicate OK [08:21:48]wFMCommunicate request_size=32 [08:21:48]MH_SAM_APDU [08:21:48]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 35 31 30 34 10 04 04 00 E3 81 00 00 35 04 06 00 52 0E C0 4A 58 C1 [08:21:48]Write to MH i2c: E2 23 00 DF 8A 80 0D 02 02 1B 00 30 30 30 38 37 35 31 30 34 10 04 04 00 E3 81 00 00 35 04 06 00 52 0E C0 4A 58 C1 00 00 20 [08:21:48]Write i2c OK [08:21:48]MH_I2C_Read... [08:21:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:21:48]Read from MH i2c: E2 [08:21:48]MH_I2C_Read... [08:21:48]Read from MH i2c: E2 03 00 [08:21:48]MH_I2C_Read... [08:21:48]Read from MH i2c: E2 03 00 DF 8A 00 90 00 DD [08:21:48]RAPDU: 90 00 [08:21:48]wFMCommunicate OK [08:21:48]wFMCommunicate request_size=4 [08:21:48]MH_SAM_APDU [08:21:48]CAPDU: 80 0D 03 02 [08:21:48]Write to MH i2c: E2 08 00 E0 8A 80 0D 03 02 00 00 00 00 E5 [08:21:48]Write i2c OK [08:21:48]MH_I2C_Read... [08:21:48]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:21:48]Read from MH i2c: E2 [08:21:48]MH_I2C_Read... [08:21:48]Read from MH i2c: E2 0B 00 [08:21:48]MH_I2C_Read... [08:21:48]Read from MH i2c: E2 0B 00 E0 8A 00 B9 72 D7 1A 78 BF FB C8 90 00 FC [08:21:48]RAPDU: B9 72 D7 1A 78 BF FB C8 90 00 [08:21:48]wFMCommunicate OK [08:21:48]SAM_PROTO_SignData done [08:21:48]FM_MakeSignedData done [08:21:48]CreateOFDProtocolMessage [08:21:48]wFMCommunicate request_size=4 [08:21:48]MH_SAM_APDU [08:21:48]CAPDU: 80 11 00 00 [08:21:48]Write to MH i2c: E2 08 00 E1 8A 80 11 00 00 00 00 00 00 E5 [08:21:48]Write i2c OK [08:21:48]MH_I2C_Read... [08:21:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:21:48]Read from MH i2c: E2 [08:21:48]MH_I2C_Read... [08:21:48]Read from MH i2c: E2 17 00 [08:21:48]MH_I2C_Read... [08:21:48]Read from MH i2c: E2 17 00 E1 8A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 31 [08:21:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [08:21:48]wFMCommunicate OK [08:21:48]CreateOFDProtocolMessage done [08:21:48]OFDSenderStorePacket 33251 [08:21:48]StoreOFDPacket docnum=33251 [08:21:48]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 25 01 00 00 47 45 1D 01 F7 4E 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 3F 96 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 E3 81 00 00 35 04 06 00 52 0E C0 4A 58 C1 B9 72 D7 1A 78 BF FB C8 [08:21:48]CheckFolder [08:21:48]dirname=/storage/ofd_packets [08:21:48]CheckFolder done [08:21:48]ProducePacketName [08:21:48]name=ofd_packets/00033251 [08:21:48]NVStorageSaveData ofd_packets/00033251 [08:21:48]File name is /storage/ofd_packets/00033251 [08:21:48]Write 323 bytes [08:21:48]NVStorageSaveData done [08:21:48]OFDSenderStorePacket done [08:21:48]KKMCreateOFDPacket done [08:21:48]NVStorageSaveData kkm_last_timestamp [08:21:48]File name is /storage/kkm_last_timestamp [08:21:48]Write 4 bytes [08:21:48]NVStorageSaveData done [08:21:48]ExternCall_PrintAddStr [08:21:48]wPrintStart [08:21:48]Write to MH i2c: 01 00 00 E2 8A 6C [08:21:48]Write i2c OK [08:21:48]MH_I2C_Read... [08:21:48]Read from MH i2c: 01 [08:21:48]MH_I2C_Read... [08:21:48]Read from MH i2c: 01 07 00 [08:21:48]MH_I2C_Read... [08:21:48]Read from MH i2c: 01 07 00 E2 8A 00 00 00 00 00 FF 0F 81 [08:21:48]RasterBufferAndPrint [08:21:48]line Счет N : (3)169091 [08:21:48]line ИНН: 02508201610067 [08:21:48]line Контрольно-Кассовый Чек [08:21:48]line ПРОДАЖА [08:21:48]line Товар: 48747059 [08:21:48]line Сигареты Winston Legend Blue [08:21:48]line 1.000 * 140.00 [08:21:48]line = 140.00 [08:21:48]line НДС 12% НСП 1% [08:21:48]line > о реализуемом товаре [08:21:48]line ИТОГО: 140.00 [08:21:48]line НСП 1% : 1.24 [08:21:48]line НДС 12% : 14.87 [08:21:48]line Наличными: 140.00 [08:21:48]line Безнал.: 0.00 [08:21:48]line Место: АЗС № 77 "Партнер Нефть" [08:21:48]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [08:21:48]line СНО: Общий режим [08:21:48]line Чек 6 11.07.2024 08:22 [08:21:48]line Смена: 432 ФФД: 1.0 [08:21:48]line ЗНМ: 0300000122 [08:21:48]line РНМ: 0000000000093033 [08:21:48]line Версия ККМ: 001 [08:21:48]line ФМ: 0000000000875104 [08:21:48]line ФД: 33251 [08:21:48]line ФПД: 90223309117633 [08:21:48]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T082223&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33251&fm=90223309117633&tin=02508201610067®Number=0000000000093033&sum=14000 [08:21:48]line 0 [08:21:49]written 0, free lines is 4095 [08:21:49]OFD Sender: Processing packet 33251 [packets to send 6, broken 5] [08:21:49]ProducePacketName [08:21:49]name=ofd_packets/00033251 [08:21:49]OFD Sender: To server: pG, [08:21:49]CommunicateWithHost lk.salyk.kg:30040 [08:21:49]ConnectInit lk.salyk.kg [08:21:49]Connected sock=8 [08:21:49]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 25 01 00 00 47 45 1D 01 F7 4E 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 3F 96 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 E3 81 00 00 35 04 06 00 52 0E C0 4A 58 C1 B9 72 D7 1A 78 BF FB C8 [08:21:49]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 1F EC 47 00 6D 12 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 E3 81 00 00 F4 03 04 00 EF 40 8F 66 B6 04 01 00 00 7B 6E 6A AC 45 BC CA 71 [08:21:49]CommunicateWithHost err = 0 [08:21:49]CheckOFDResponse [08:21:49]1017 (14) - 77093643461234 [08:21:49]1041 (16) - 0000000000875104 [08:21:49]1040 (4) - 33251 [08:21:49]1012 (4) - 11.07.2024 02:18 [08:21:49]1206 (1) - 0 [08:21:49]OFD Sender: Remove packet 33251 [08:21:49]ProducePacketName [08:21:49]name=ofd_packets/00033251 [08:21:49]NVStorageDeleteData [08:21:49]Write to MH i2c: 01 00 00 0B 8B 96 [08:21:49]Write i2c OK [08:21:49]MH_I2C_Read... [08:21:49]Read from MH i2c: 01 [08:21:49]MH_I2C_Read... [08:21:49]Read from MH i2c: 01 07 00 [08:21:49]MH_I2C_Read... [08:21:49]Read from MH i2c: 01 07 00 0B 8B 00 00 00 00 00 CF 0C 78 [08:21:49]RasterBufferAndPrint [08:21:49]line [08:21:49]line [08:21:49]line [08:21:49]line [08:21:49]line [08:21:49]written 0, free lines is 3288 [08:21:49]MH_Cut [08:21:49]Write to MH i2c: D1 01 00 12 8B 01 6F [08:21:49]Write i2c OK [08:21:49]MH_I2C_Read... [08:21:49]Read from MH i2c: D1 [08:21:49]MH_I2C_Read... [08:21:49]Read from MH i2c: D1 01 00 [08:21:49]MH_I2C_Read... [08:21:49]Read from MH i2c: D1 01 00 12 8B 00 6E [08:21:49]Write to MH i2c: 01 00 00 13 8B 9E [08:21:49]Write i2c OK [08:21:49]MH_I2C_Read... [08:21:49]OFD Sender: No OFD packet to send [08:21:50]*** Cut start [08:21:50]*** Partial cut [08:21:50]*** CUTSNS_PIN = 1 [08:21:50]*** CUTSNS_PIN = 0 [08:21:50]*** Brake cut motor [08:21:50]Read from MH i2c: 01 [08:21:50]MH_I2C_Read... [08:21:50]*** Stop cut motor [08:21:50]*** Cut end [08:21:50]Read from MH i2c: 01 07 00 [08:21:50]MH_I2C_Read... [08:21:50]Read from MH i2c: 01 07 00 13 8B 00 00 00 00 00 FF 0F B3 [08:21:50]process_action close_receipt done [08:21:50]requested_data is exist [08:21:50]produce_requested_data [08:21:50]requested_item fm.sn is exist - process it [08:21:50]wFMCommunicate request_size=4 [08:21:50]MH_SAM_APDU [08:21:50]CAPDU: 80 11 00 00 [08:21:50]Write to MH i2c: E2 08 00 14 8B 80 11 00 00 00 00 00 00 19 [08:21:50]Write i2c OK [08:21:50]MH_I2C_Read... [08:21:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:21:51]Read from MH i2c: E2 [08:21:51]MH_I2C_Read... [08:21:51]Read from MH i2c: E2 17 00 [08:21:51]MH_I2C_Read... [08:21:51]Read from MH i2c: E2 17 00 14 8B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 65 [08:21:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [08:21:51]wFMCommunicate OK [08:21:51]requested_item fd.num is exist - process it [08:21:51]SAM_PROTO_GetFieldsCounters [08:21:51]wFMCommunicate request_size=4 [08:21:51]MH_SAM_APDU [08:21:51]CAPDU: 80 13 00 00 [08:21:51]Write to MH i2c: E2 08 00 15 8B 80 13 00 00 00 00 00 00 1C [08:21:51]Write i2c OK [08:21:51]MH_I2C_Read... [08:21:51]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:21:51]Read from MH i2c: E2 [08:21:51]MH_I2C_Read... [08:21:51]Read from MH i2c: E2 62 00 [08:21:51]MH_I2C_Read... [08:21:51]Read from MH i2c: E2 62 00 15 8B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 E3 81 00 00 0E 04 04 00 B0 01 00 00 12 04 04 00 06 00 00 00 5E 04 04 00 06 00 00 00 57 04 04 00 07 00 00 00 19 04 04 00 00 00 00 00 90 00 56 [08:21: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 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 E3 81 00 00 0E 04 04 00 B0 01 00 00 12 04 04 00 06 00 00 00 5E 04 04 00 06 00 00 00 57 04 04 00 07 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:21:51]wFMCommunicate OK [08:21:51]SAM_PROTO_GetFieldsCounters done [08:21:51]requested_item shift.num is exist - process it [08:21:51]requested_item shift.opened is exist - process it [08:21:51]req_shift_opened [08:21:51]FM_GetShiftState [08:21:51]SAM_PROTO_GetShiftState [08:21:51]wFMCommunicate request_size=4 [08:21:51]MH_SAM_APDU [08:21:51]CAPDU: 80 13 01 00 [08:21:51]Write to MH i2c: E2 08 00 16 8B 80 13 01 00 00 00 00 00 1E [08:21:51]Write i2c OK [08:21:51]MH_I2C_Read... [08:21:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:21:51]Read from MH i2c: E2 [08:21:51]MH_I2C_Read... [08:21:51]Read from MH i2c: E2 0E 00 [08:21:51]MH_I2C_Read... [08:21:51]Read from MH i2c: E2 0E 00 16 8B 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 4F [08:21:51]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [08:21:51]wFMCommunicate OK [08:21:51]SAM_PROTO_GetShiftState done [08:21:51]FM_GetShiftState done [08:21:51]req_shift_opened done [08:21:51]requested_item shift.open_date is exist - process it [08:21:51]req_shift_open_date [08:21:51]req_shift_open_date done [08:21:51]produce_requested_data done [08:21:51]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33251,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398} [08:21:51]process_action_free close_receipt [08:21:51]json_value_free [08:21:51]json_value_free done [08:21:51]process_json_proto returns [08:21:51]Send response to host [08:21:51]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33251,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398}}} [08:21:51]free response buf [08:21:51]execute_script done [08:21:51]execute_script returns [08:21:51]free content buf [08:21:51]Sock 9.Close socket [08:21:51]Sock 9.Thread stoped [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:10]OFD Sender: No OFD packet to send [08:23:15]OFD Sender: No OFD packet to send [08:23:20]OFD Sender: No OFD packet to send [08:23:25]OFD Sender: No OFD packet to send [08:23:30]OFD Sender: No OFD packet to send [08:23:35]OFD Sender: No OFD packet to send [08:23:40]OFD Sender: No OFD packet to send [08:23:45]OFD Sender: No OFD packet to send [08:23:50]OFD Sender: No OFD packet to send [08:23:55]OFD Sender: No OFD packet to send [08:24:00]OFD Sender: No OFD packet to send [08:24:05]OFD Sender: No OFD packet to send [08:24:10]OFD Sender: No OFD packet to send [08:24:15]OFD Sender: No OFD packet to send [08:24:20]OFD Sender: No OFD packet to send [08:24:25]OFD Sender: No OFD packet to send [08:24:30]OFD Sender: No OFD packet to send [08:24:35]OFD Sender: No OFD packet to send [08:24:40]OFD Sender: No OFD packet to send [08:24:45]OFD Sender: No OFD packet to send [08:24:50]OFD Sender: No OFD packet to send [08:24:55]OFD Sender: No OFD packet to send [08:25:00]OFD Sender: No OFD packet to send [08:25:05]OFD Sender: No OFD packet to send [08:25:10]OFD Sender: No OFD packet to send [08:25:15]OFD Sender: No OFD packet to send [08:25:20]OFD Sender: No OFD packet to send [08:25:25]OFD Sender: No OFD packet to send [08:25:30]OFD Sender: No OFD packet to send [08:25:32]accept exits with 10 [08:25:32]New connection [08:25:32]New thread 3066842468 created [08:25:32]Thread 3066699108 joined [08:25:32]Waiting for new connection... [08:25:32] Sock 10.Parse request [08:25:32]Sock 10.Check first char [08:25:32]Sock 10.First char is OK [08:25:32]request: POST /json_proto HTTP/1.0 [08:25:32]Method: POST [08:25:32]URL: /json_proto [08:25:32]Method is POST - this is cgi request [08:25:32]url: /json_proto [08:25:32]query_string will be loaded in cgi processing [08:25:32]execute_cgi json_proto POST (null) [08:25:32]execute_cgi path=json_proto method=POST [08:25:32]POST find Content-Length [08:25:32]Host: 172.17.35.196:8080 [08:25:32]Content-Length: 644 [08:25:32]Content-Type: application/json [08:25:32] [08:25:32]POST finish read [08:25:32]Found Content-Length = 644 [08:25:32]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169092", "tax_sys" : 0, "items" : [ { "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:25:32]execute_script... [08:25:32]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169092", "tax_sys" : 0, "items" : [ { "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:25:32]POST & json_proto [08:25:32]process_json_proto [08:25:32]json parsed OK: [08:25:32]protocol is kg_v1.0 [08:25:32]action value=close_receipt [08:25:32]process_action close_receipt [08:25:32]cmd_close_receipt [08:25:32]MH_GetDate [08:25:32]Write to MH i2c: F0 00 00 17 8B 91 [08:25:32]Write i2c OK [08:25:32]MH_I2C_Read... [08:25:32]Read from MH i2c: F0 [08:25:32]MH_I2C_Read... [08:25:32]Read from MH i2c: F0 09 00 [08:25:32]MH_I2C_Read... [08:25:32]Read from MH i2c: F0 09 00 17 8B 00 20 97 8F 66 AD 14 F4 65 60 [08:25:32]GetLastDocTimeStamp 1720686143 [08:25:32]current date 1720686368 [08:25:32]FM_GetShiftState [08:25:32]SAM_PROTO_GetShiftState [08:25:32]wFMCommunicate request_size=4 [08:25:32]MH_SAM_APDU [08:25:32]CAPDU: 80 13 01 00 [08:25:32]Write to MH i2c: E2 08 00 18 8B 80 13 01 00 00 00 00 00 20 [08:25:32]Write i2c OK [08:25:32]MH_I2C_Read... [08:25:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:25:32]Read from MH i2c: E2 [08:25:32]MH_I2C_Read... [08:25:32]Read from MH i2c: E2 0E 00 [08:25:32]MH_I2C_Read... [08:25:32]Read from MH i2c: E2 0E 00 18 8B 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 51 [08:25:32]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [08:25:32]wFMCommunicate OK [08:25:32]SAM_PROTO_GetShiftState done [08:25:32]FM_GetShiftState done [08:25:32]opened in 1720656398 [08:25:32]opened+sec_in_day 1720742798 [08:25:32]quantity*price = 11500 [08:25:32]sum+1 = 11501 [08:25:32]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 115.00 НСП 1% : 1.02 НДС 12% : 12.21 Наличными: 115.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 7 11.07.2024 08:26 Смена: 432 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33252 ФПД: 102892633200153 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T082608&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33252&fm=102892633200153&tin=02508201610067®Number=0000000000093033&sum=11500 0 [08:25:33]StoreToDocumentArchive [08:25:33]shift 432 fd 33252 [08:25:33]save to /storage/0432/doc_00033252 [08:25:33]save last doc name /storage/0432/doc_00033252 to /storage/kkm_last_doc_name [08:25:33]save OK [08:25:33]Clear old archive folders... [08:25:33]ProcessDocumentItem done err = 0, tmpTLVsize=280 [08:25:33]tlvbuf is 00300E90 [08:25:33]SAM_PROTO_ClearQueue [08:25:33]wFMCommunicate request_size=4 [08:25:33]MH_SAM_APDU [08:25:33]CAPDU: 80 09 00 00 [08:25:33]Write to MH i2c: E2 08 00 25 8B 80 09 00 00 00 00 00 00 22 [08:25:33]Write i2c OK [08:25:33]MH_I2C_Read... [08:25:33]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:25:33]Read from MH i2c: E2 [08:25:33]MH_I2C_Read... [08:25:33]Read from MH i2c: E2 03 00 [08:25:33]MH_I2C_Read... [08:25:33]Read from MH i2c: E2 03 00 25 8B 00 90 00 24 [08:25:33]RAPDU: 90 00 [08:25:33]wFMCommunicate OK [08:25:33]SAM_PROTO_ClearQueue done [08:25:33]KKMCreateOFDPacket [08:25:33]OFDProtocolAddRootSTLVToBuf [08:25:33]FM_MakeSignedData [08:25:33]FM_MakeSignedData [08:25:33]SAM_PROTO_SignData [08:25:33]wFMCommunicate request_size=4 [08:25:33]MH_SAM_APDU [08:25:33]CAPDU: 80 0D 01 02 [08:25:33]Write to MH i2c: E2 08 00 26 8B 80 0D 01 02 00 00 00 00 2A [08:25:33]Write i2c OK [08:25:33]MH_I2C_Read... [08:25:33]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:25:33]Read from MH i2c: E2 [08:25:33]MH_I2C_Read... [08:25:33]Read from MH i2c: E2 03 00 [08:25:33]MH_I2C_Read... [08:25:33]Read from MH i2c: E2 03 00 26 8B 00 90 00 25 [08:25:33]RAPDU: 90 00 [08:25:33]wFMCommunicate OK [08:25:33]wFMCommunicate request_size=255 [08:25:33]MH_SAM_APDU [08:25:33]CAPDU: 80 0D 02 02 FA 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 20 97 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 [08:25:33]Write to MH i2c: E2 02 01 27 8B 80 0D 02 02 FA 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 20 97 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 00 00 C7 [08:25:33]Write i2c OK [08:25:33]MH_I2C_Read... [08:25:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:25:33]Read from MH i2c: E2 [08:25:33]MH_I2C_Read... [08:25:33]Read from MH i2c: E2 03 00 [08:25:33]MH_I2C_Read... [08:25:33]Read from MH i2c: E2 03 00 27 8B 00 90 00 26 [08:25:33]RAPDU: 90 00 [08:25:33]wFMCommunicate OK [08:25:33]wFMCommunicate request_size=39 [08:25:33]MH_SAM_APDU [08:25:33]CAPDU: 80 0D 02 02 22 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 E4 81 00 00 35 04 06 00 5D 94 8E DA 16 19 [08:25:33]Write to MH i2c: E2 2A 00 28 8B 80 0D 02 02 22 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 E4 81 00 00 35 04 06 00 5D 94 8E DA 16 19 00 00 CE [08:25:33]Write i2c OK [08:25:33]MH_I2C_Read... [08:25:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:25:33]Read from MH i2c: E2 [08:25:33]MH_I2C_Read... [08:25:33]Read from MH i2c: E2 03 00 [08:25:33]MH_I2C_Read... [08:25:33]Read from MH i2c: E2 03 00 28 8B 00 90 00 27 [08:25:33]RAPDU: 90 00 [08:25:33]wFMCommunicate OK [08:25:33]wFMCommunicate request_size=4 [08:25:33]MH_SAM_APDU [08:25:33]CAPDU: 80 0D 03 02 [08:25:33]Write to MH i2c: E2 08 00 29 8B 80 0D 03 02 00 00 00 00 2F [08:25:33]Write i2c OK [08:25:33]MH_I2C_Read... [08:25:33]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:25:33]Read from MH i2c: E2 [08:25:33]MH_I2C_Read... [08:25:33]Read from MH i2c: E2 0B 00 [08:25:33]MH_I2C_Read... [08:25:33]Read from MH i2c: E2 0B 00 29 8B 00 5A 35 F5 19 EB 9F 05 5F 90 00 BB [08:25:33]RAPDU: 5A 35 F5 19 EB 9F 05 5F 90 00 [08:25:33]wFMCommunicate OK [08:25:33]SAM_PROTO_SignData done [08:25:33]FM_MakeSignedData done [08:25:33]CreateOFDProtocolMessage [08:25:33]wFMCommunicate request_size=4 [08:25:33]MH_SAM_APDU [08:25:33]CAPDU: 80 11 00 00 [08:25:33]Write to MH i2c: E2 08 00 2A 8B 80 11 00 00 00 00 00 00 2F [08:25:33]Write i2c OK [08:25:33]MH_I2C_Read... [08:25:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:25:33]Read from MH i2c: E2 [08:25:33]MH_I2C_Read... [08:25:33]Read from MH i2c: E2 17 00 [08:25:33]MH_I2C_Read... [08:25:33]Read from MH i2c: E2 17 00 2A 8B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 7B [08:25:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [08:25:33]wFMCommunicate OK [08:25:33]CreateOFDProtocolMessage done [08:25:33]OFDSenderStorePacket 33252 [08:25:33]StoreOFDPacket docnum=33252 [08:25:33]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 2C 01 00 00 AD D1 24 01 63 62 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 20 97 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 E4 81 00 00 35 04 06 00 5D 94 8E DA 16 19 5A 35 F5 19 EB 9F 05 5F [08:25:33]CheckFolder [08:25:33]dirname=/storage/ofd_packets [08:25:33]CheckFolder done [08:25:33]ProducePacketName [08:25:33]name=ofd_packets/00033252 [08:25:33]NVStorageSaveData ofd_packets/00033252 [08:25:33]File name is /storage/ofd_packets/00033252 [08:25:33]Write 330 bytes [08:25:33]NVStorageSaveData done [08:25:33]OFDSenderStorePacket done [08:25:33]KKMCreateOFDPacket done [08:25:33]NVStorageSaveData kkm_last_timestamp [08:25:33]File name is /storage/kkm_last_timestamp [08:25:33]Write 4 bytes [08:25:33]NVStorageSaveData done [08:25:33]ExternCall_PrintAddStr [08:25:33]wPrintStart [08:25:33]Write to MH i2c: 01 00 00 2B 8B B6 [08:25:33]Write i2c OK [08:25:33]MH_I2C_Read... [08:25:33]Read from MH i2c: 01 [08:25:33]MH_I2C_Read... [08:25:33]Read from MH i2c: 01 07 00 [08:25:33]MH_I2C_Read... [08:25:33]Read from MH i2c: 01 07 00 2B 8B 00 00 00 00 00 FF 0F CB [08:25:33]RasterBufferAndPrint [08:25:33]line Счет N : (3)169092 [08:25:33]line ИНН: 02508201610067 [08:25:33]line Контрольно-Кассовый Чек [08:25:33]line ПРОДАЖА [08:25:33]line Товар: 2000036210013 [08:25:33]line Кофе Капучино (GABB TRADE) [08:25:33]line 1.000 * 115.00 [08:25:33]line = 115.00 [08:25:33]line НДС 12% НСП 1% [08:25:33]line > о реализуемом товаре [08:25:33]line ИТОГО: 115.00 [08:25:33]line НСП 1% : 1.02 [08:25:33]line НДС 12% : 12.21 [08:25:33]line Наличными: 115.00 [08:25:33]line Безнал.: 0.00 [08:25:33]line Место: АЗС № 77 "Партнер Нефть" [08:25:33]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [08:25:33]line СНО: Общий режим [08:25:33]line Чек 7 11.07.2024 08:26 [08:25:33]line Смена: 432 ФФД: 1.0 [08:25:33]line ЗНМ: 0300000122 [08:25:33]line РНМ: 0000000000093033 [08:25:33]line Версия ККМ: 001 [08:25:33]line ФМ: 0000000000875104 [08:25:33]line ФД: 33252 [08:25:33]line ФПД: 102892633200153 [08:25:34]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T082608&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33252&fm=102892633200153&tin=02508201610067®Number=0000000000093033&sum=11500 [08:25:34]line 0 [08:25:34]OFD Sender: Processing packet 33252 [packets to send 6, broken 5] [08:25:34]ProducePacketName [08:25:34]name=ofd_packets/00033252 [08:25:34]OFD Sender: To server: pG, [08:25:34]CommunicateWithHost lk.salyk.kg:30040 [08:25:34]ConnectInit lk.salyk.kg [08:25:34]written 0, free lines is 4095 [08:25:34]Write to MH i2c: 01 00 00 53 8B DE [08:25:34]Write i2c OK [08:25:34]MH_I2C_Read... [08:25:34]Read from MH i2c: 01 [08:25:34]MH_I2C_Read... [08:25:34]Read from MH i2c: 01 07 00 [08:25:34]MH_I2C_Read... [08:25:34]Read from MH i2c: 01 07 00 53 8B 00 00 00 00 00 F7 0C E8 [08:25:34]RasterBufferAndPrint [08:25:34]line [08:25:34]line [08:25:34]line [08:25:34]line [08:25:34]line [08:25:34]written 0, free lines is 3324 [08:25:34]MH_Cut [08:25:34]Write to MH i2c: D1 01 00 5A 8B 01 B7 [08:25:34]Write i2c OK [08:25:34]MH_I2C_Read... [08:25:34]Read from MH i2c: D1 [08:25:34]MH_I2C_Read... [08:25:34]Read from MH i2c: D1 01 00 [08:25:34]MH_I2C_Read... [08:25:34]Read from MH i2c: D1 01 00 5A 8B 00 B6 [08:25:34]Write to MH i2c: 01 00 00 5B 8B E6 [08:25:34]Write i2c OK [08:25:34]MH_I2C_Read... [08:25:35]*** Cut start [08:25:35]*** Partial cut [08:25:35]*** CUTSNS_PIN = 1 [08:25:35]*** CUTSNS_PIN = 0 [08:25:35]*** Brake cut motor [08:25:35]Read from MH i2c: 01 [08:25:35]MH_I2C_Read... [08:25:35]*** Stop cut motor [08:25:35]*** Cut end [08:25:35]Read from MH i2c: 01 07 00 [08:25:35]MH_I2C_Read... [08:25:35]Read from MH i2c: 01 07 00 5B 8B 00 00 00 00 00 FF 0F FB [08:25:35]process_action close_receipt done [08:25:35]requested_data is exist [08:25:35]produce_requested_data [08:25:35]requested_item fm.sn is exist - process it [08:25:35]wFMCommunicate request_size=4 [08:25:35]MH_SAM_APDU [08:25:35]CAPDU: 80 11 00 00 [08:25:35]Write to MH i2c: E2 08 00 5C 8B 80 11 00 00 00 00 00 00 61 [08:25:35]Write i2c OK [08:25:35]MH_I2C_Read... [08:25:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:25:35]Read from MH i2c: E2 [08:25:35]MH_I2C_Read... [08:25:35]Read from MH i2c: E2 17 00 [08:25:35]MH_I2C_Read... [08:25:35]Read from MH i2c: E2 17 00 5C 8B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 AD [08:25:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [08:25:35]wFMCommunicate OK [08:25:35]requested_item fd.num is exist - process it [08:25:35]SAM_PROTO_GetFieldsCounters [08:25:35]wFMCommunicate request_size=4 [08:25:35]MH_SAM_APDU [08:25:35]CAPDU: 80 13 00 00 [08:25:35]Write to MH i2c: E2 08 00 5D 8B 80 13 00 00 00 00 00 00 64 [08:25:35]Write i2c OK [08:25:35]MH_I2C_Read... [08:25:36]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:25:36]Read from MH i2c: E2 [08:25:36]MH_I2C_Read... [08:25:36]Read from MH i2c: E2 62 00 [08:25:36]MH_I2C_Read... [08:25:36]Read from MH i2c: E2 62 00 5D 8B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 E4 81 00 00 0E 04 04 00 B0 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 A2 [08:25:36]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 E4 81 00 00 0E 04 04 00 B0 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 [08:25:36]wFMCommunicate OK [08:25:36]SAM_PROTO_GetFieldsCounters done [08:25:36]requested_item shift.num is exist - process it [08:25:36]requested_item shift.opened is exist - process it [08:25:36]req_shift_opened [08:25:36]FM_GetShiftState [08:25:36]SAM_PROTO_GetShiftState [08:25:36]wFMCommunicate request_size=4 [08:25:36]MH_SAM_APDU [08:25:36]CAPDU: 80 13 01 00 [08:25:36]Write to MH i2c: E2 08 00 5E 8B 80 13 01 00 00 00 00 00 66 [08:25:36]Write i2c OK [08:25:36]MH_I2C_Read... [08:25:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:25:36]Read from MH i2c: E2 [08:25:36]MH_I2C_Read... [08:25:36]Read from MH i2c: E2 0E 00 [08:25:36]MH_I2C_Read... [08:25:36]Read from MH i2c: E2 0E 00 5E 8B 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 97 [08:25:36]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [08:25:36]wFMCommunicate OK [08:25:36]SAM_PROTO_GetShiftState done [08:25:36]FM_GetShiftState done [08:25:36]req_shift_opened done [08:25:36]requested_item shift.open_date is exist - process it [08:25:36]req_shift_open_date [08:25:36]req_shift_open_date done [08:25:36]produce_requested_data done [08:25:36]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33252,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398} [08:25:36]process_action_free close_receipt [08:25:36]json_value_free [08:25:36]json_value_free done [08:25:36]process_json_proto returns [08:25:36]Send response to host [08:25:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33252,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398}}} [08:25:36]free response buf [08:25:36]execute_script done [08:25:36]execute_script returns [08:25:36]free content buf [08:25:36]Sock 10.Close socket [08:25:36]Sock 10.Thread stoped [08:25:39]ConnectInit Can't take IP for lk.salyk.kg [08:25:39]CommunicateWithHost connect error [08:25:39]CommunicateWithHost err = -1 [08:25:39]OFD Sender: Server communicate error [08:25:44]OFD Sender: Processing packet 33252 [packets to send 6, broken 5] [08:25:44]ProducePacketName [08:25:44]name=ofd_packets/00033252 [08:25:44]OFD Sender: To server: pG, [08:25:44]CommunicateWithHost lk.salyk.kg:30040 [08:25:44]ConnectInit lk.salyk.kg [08:25:49]ConnectInit Can't take IP for lk.salyk.kg [08:25:49]CommunicateWithHost connect error [08:25:49]CommunicateWithHost err = -1 [08:25:49]OFD Sender: Server communicate error [08:25:54]OFD Sender: Processing packet 33252 [packets to send 6, broken 5] [08:25:54]ProducePacketName [08:25:54]name=ofd_packets/00033252 [08:25:54]OFD Sender: To server: pG, [08:25:54]CommunicateWithHost lk.salyk.kg:30040 [08:25:54]ConnectInit lk.salyk.kg [08:25:59]ConnectInit Can't take IP for lk.salyk.kg [08:25:59]CommunicateWithHost connect error [08:25:59]CommunicateWithHost err = -1 [08:25:59]OFD Sender: Server communicate error [08:26:04]OFD Sender: Processing packet 33252 [packets to send 6, broken 5] [08:26:04]ProducePacketName [08:26:04]name=ofd_packets/00033252 [08:26:04]OFD Sender: To server: pG, [08:26:04]CommunicateWithHost lk.salyk.kg:30040 [08:26:04]ConnectInit lk.salyk.kg [08:26:09]ConnectInit Can't take IP for lk.salyk.kg [08:26:09]CommunicateWithHost connect error [08:26:09]CommunicateWithHost err = -1 [08:26:09]OFD Sender: Server communicate error [08:26:14]OFD Sender: Processing packet 33252 [packets to send 6, broken 5] [08:26:14]ProducePacketName [08:26:14]name=ofd_packets/00033252 [08:26:14]OFD Sender: To server: pG, [08:26:14]CommunicateWithHost lk.salyk.kg:30040 [08:26:14]ConnectInit lk.salyk.kg [08:26:19]ConnectInit Can't take IP for lk.salyk.kg [08:26:19]CommunicateWithHost connect error [08:26:19]CommunicateWithHost err = -1 [08:26:19]OFD Sender: Server communicate error [08:26:24]OFD Sender: Processing packet 33252 [packets to send 6, broken 5] [08:26:24]ProducePacketName [08:26:24]name=ofd_packets/00033252 [08:26:24]OFD Sender: To server: pG, [08:26:24]CommunicateWithHost lk.salyk.kg:30040 [08:26:24]ConnectInit lk.salyk.kg [08:26:24]Connected sock=10 [08:26:24]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 2C 01 00 00 AD D1 24 01 63 62 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 20 97 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 E4 81 00 00 35 04 06 00 5D 94 8E DA 16 19 5A 35 F5 19 EB 9F 05 5F [08:26:24]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 01 9D 47 00 25 40 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 35 31 30 34 10 04 04 00 E4 81 00 00 F4 03 04 00 02 42 8F 66 B6 04 01 00 00 A2 1B FA EA E6 02 E3 61 [08:26:24]CommunicateWithHost err = 0 [08:26:24]CheckOFDResponse [08:26:24]1017 (14) - 77093643461234 [08:26:24]1041 (16) - 0000000000875104 [08:26:24]1040 (4) - 33252 [08:26:24]1012 (4) - 11.07.2024 02:22 [08:26:24]1206 (1) - 0 [08:26:24]OFD Sender: Remove packet 33252 [08:26:24]ProducePacketName [08:26:24]name=ofd_packets/00033252 [08:26:24]NVStorageDeleteData [08:26:24]OFD Sender: No OFD packet to send [08:26:29]OFD Sender: No OFD packet to send [08:26:34]OFD Sender: No OFD packet to send [08:26:39]OFD Sender: No OFD packet to send [08:26:44]OFD Sender: No OFD packet to send [08:26:49]OFD Sender: No OFD packet to send [08:26:54]OFD Sender: No OFD packet to send [08:26:59]OFD Sender: No OFD packet to send [08:27:04]OFD Sender: No OFD packet to send [08:27:09]OFD Sender: No OFD packet to send [08:27:13]accept exits with 8 [08:27:13]New connection [08:27:13]New thread 3066699108 created [08:27:13]Thread 3066842468 joined [08:27:13]Waiting for new connection... [08:27:13] Sock 8.Parse request [08:27:13]Sock 8.Check first char [08:27:13]Sock 8.First char is OK [08:27:13]request: POST /json_proto HTTP/1.0 [08:27:13]Method: POST [08:27:13]URL: /json_proto [08:27:13]Method is POST - this is cgi request [08:27:13]url: /json_proto [08:27:13]query_string will be loaded in cgi processing [08:27:13]execute_cgi json_proto POST (null) [08:27:13]execute_cgi path=json_proto method=POST [08:27:13]POST find Content-Length [08:27:13]Host: 172.17.35.196:8080 [08:27:13]Content-Length: 215 [08:27:13]Content-Type: application/json [08:27:13] [08:27:13]POST finish read [08:27:13]Found Content-Length = 215 [08:27:13]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:27:13]execute_script... [08:27:13]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:27:13]POST & json_proto [08:27:13]process_json_proto [08:27:13]json parsed OK: [08:27:13]protocol is kg_v1.0 [08:27:13]action value=get_value [08:27:13]process_action get_value [08:27:13]cmd_get_value [08:27:13]process_action get_value done [08:27:13]requested_data is exist [08:27:13]produce_requested_data [08:27:13]requested_item kkm.sn is exist - process it [08:27:13]requested_item kkm.ver is exist - process it [08:27:13]requested_item fm.sn is exist - process it [08:27:13]wFMCommunicate request_size=4 [08:27:13]MH_SAM_APDU [08:27:13]CAPDU: 80 11 00 00 [08:27:13]Write to MH i2c: E2 08 00 5F 8B 80 11 00 00 00 00 00 00 64 [08:27:13]Write i2c OK [08:27:13]MH_I2C_Read... [08:27:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:27:13]Read from MH i2c: E2 [08:27:13]MH_I2C_Read... [08:27:13]Read from MH i2c: E2 17 00 [08:27:13]MH_I2C_Read... [08:27:13]Read from MH i2c: E2 17 00 5F 8B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 B0 [08:27:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [08:27:13]wFMCommunicate OK [08:27:13]requested_item fd.num is exist - process it [08:27:13]SAM_PROTO_GetFieldsCounters [08:27:13]wFMCommunicate request_size=4 [08:27:13]MH_SAM_APDU [08:27:13]CAPDU: 80 13 00 00 [08:27:13]Write to MH i2c: E2 08 00 60 8B 80 13 00 00 00 00 00 00 67 [08:27:13]Write i2c OK [08:27:13]MH_I2C_Read... [08:27:13]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:27:13]Read from MH i2c: E2 [08:27:13]MH_I2C_Read... [08:27:13]Read from MH i2c: E2 62 00 [08:27:13]MH_I2C_Read... [08:27:13]Read from MH i2c: E2 62 00 60 8B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 E4 81 00 00 0E 04 04 00 B0 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 A5 [08:27: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 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 E4 81 00 00 0E 04 04 00 B0 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 [08:27:13]wFMCommunicate OK [08:27:13]SAM_PROTO_GetFieldsCounters done [08:27:13]requested_item shift.num is exist - process it [08:27:13]requested_item shift.opened is exist - process it [08:27:13]req_shift_opened [08:27:13]FM_GetShiftState [08:27:13]SAM_PROTO_GetShiftState [08:27:13]wFMCommunicate request_size=4 [08:27:13]MH_SAM_APDU [08:27:13]CAPDU: 80 13 01 00 [08:27:13]Write to MH i2c: E2 08 00 61 8B 80 13 01 00 00 00 00 00 69 [08:27:13]Write i2c OK [08:27:13]MH_I2C_Read... [08:27:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:27:13]Read from MH i2c: E2 [08:27:13]MH_I2C_Read... [08:27:13]Read from MH i2c: E2 0E 00 [08:27:13]MH_I2C_Read... [08:27:13]Read from MH i2c: E2 0E 00 61 8B 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 9A [08:27:13]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [08:27:13]wFMCommunicate OK [08:27:13]SAM_PROTO_GetShiftState done [08:27:13]FM_GetShiftState done [08:27:13]req_shift_opened done [08:27:13]requested_item shift.open_date is exist - process it [08:27:13]req_shift_open_date [08:27:13]req_shift_open_date done [08:27:13]produce_requested_data done [08:27:13]produce_requested_data return {"kkm.sn":"0300000122","kkm.ver":"001","fm.sn":"0000000000875104","fd.num":33252,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398} [08:27:13]process_action_free get_value [08:27:13]json_value_free [08:27:13]json_value_free done [08:27:13]process_json_proto returns [08:27:13]Send response to host [08:27:13]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000122","kkm.ver":"001","fm.sn":"0000000000875104","fd.num":33252,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398}}} [08:27:13]free response buf [08:27:13]execute_script done [08:27:13]execute_script returns [08:27:13]free content buf [08:27:13]Sock 8.Close socket [08:27:13]Sock 8.Thread stoped [08:27:14]OFD Sender: No OFD packet to send [08:27:16]accept exits with 9 [08:27:16]New connection [08:27:16]New thread 3066842468 created [08:27:16]Thread 3066699108 joined [08:27:16]Waiting for new connection... [08:27:16] Sock 9.Parse request [08:27:16]Sock 9.Check first char [08:27:16]Sock 9.First char is OK [08:27:16]request: POST /json_proto HTTP/1.0 [08:27:16]Method: POST [08:27:16]URL: /json_proto [08:27:16]Method is POST - this is cgi request [08:27:16]url: /json_proto [08:27:16]query_string will be loaded in cgi processing [08:27:16]execute_cgi json_proto POST (null) [08:27:16]execute_cgi path=json_proto method=POST [08:27:16]POST find Content-Length [08:27:16]Host: 172.17.35.196:8080 [08:27:16]Content-Length: 331 [08:27:16]Content-Type: application/json [08:27:16] [08:27:16]POST finish read [08:27:16]Found Content-Length = 331 [08:27:16]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:27:16]execute_script... [08:27:16]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:27:16]POST & json_proto [08:27:16]process_json_proto [08:27:16]json parsed OK: [08:27:16]protocol is kg_v1.0 [08:27:16]action value=get_value [08:27:16]process_action get_value [08:27:16]cmd_get_value [08:27:16]process_action get_value done [08:27:16]requested_data is exist [08:27:16]produce_requested_data [08:27:16]requested_item fm.sale.total is exist - process it [08:27:16]SAM_PROTO_GetFMData [08:27:16]wFMCommunicate request_size=4 [08:27:16]MH_SAM_APDU [08:27:16]CAPDU: 80 13 03 00 [08:27:16]Write to MH i2c: E2 08 00 62 8B 80 13 03 00 00 00 00 00 6C [08:27:17]Write i2c OK [08:27:17]MH_I2C_Read... [08:27:17]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [08:27:17]Read from MH i2c: E2 [08:27:17]MH_I2C_Read... [08:27:17]Read from MH i2c: E2 FD 00 [08:27:17]MH_I2C_Read... [08:27:17]Read from MH i2c: E2 FD 00 62 8B 00 C4 04 85 04 C0 04 6E 04 04 00 84 7E 00 00 69 04 A0 00 6F 04 04 00 A3 7D 00 00 B1 04 04 00 0D 0C 64 3F 70 04 04 00 34 57 CD 34 72 04 04 00 D9 B4 96 0A 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 3A 7C BB 06 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 18 94 8F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 90 00 A4 [08:27:17]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 84 7E 00 00 69 04 A0 00 6F 04 04 00 A3 7D 00 00 B1 04 04 00 0D 0C 64 3F 70 04 04 00 34 57 CD 34 72 04 04 00 D9 B4 96 0A 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 3A 7C BB 06 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 18 94 8F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 90 00 [08:27:17]wFMCommunicate OK [08:27:17]wFMCommunicate request_size=4 [08:27:17]MH_SAM_APDU [08:27:17]CAPDU: 80 17 00 00 [08:27:17]Write to MH i2c: E2 08 00 63 8B 80 17 00 00 00 00 00 00 6E [08:27:17]Write i2c OK [08:27:17]MH_I2C_Read... [08:27:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:27:17]Read from MH i2c: E2 [08:27:17]MH_I2C_Read... [08:27:17]Read from MH i2c: E2 FD 00 [08:27:17]MH_I2C_Read... [08:27:17]Read from MH i2c: E2 FD 00 63 8B 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 2B [08:27:17]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [08:27:17]wFMCommunicate OK [08:27:17]wFMCommunicate request_size=4 [08:27:17]MH_SAM_APDU [08:27:17]CAPDU: 80 17 00 00 [08:27:17]Write to MH i2c: E2 08 00 64 8B 80 17 00 00 00 00 00 00 6F [08:27:17]Write i2c OK [08:27:17]MH_I2C_Read... [08:27:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:27:17]Read from MH i2c: E2 [08:27:17]MH_I2C_Read... [08:27:17]Read from MH i2c: E2 FD 00 [08:27:17]MH_I2C_Read... [08:27:17]Read from MH i2c: E2 FD 00 64 8B 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 84 [08:27:17]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [08:27:17]wFMCommunicate OK [08:27:17]wFMCommunicate request_size=4 [08:27:17]MH_SAM_APDU [08:27:17]CAPDU: 80 17 00 00 [08:27:17]Write to MH i2c: E2 08 00 65 8B 80 17 00 00 00 00 00 00 70 [08:27:17]Write i2c OK [08:27:17]MH_I2C_Read... [08:27:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:27:18]Read from MH i2c: E2 [08:27:18]MH_I2C_Read... [08:27:18]Read from MH i2c: E2 FD 00 [08:27:18]MH_I2C_Read... [08:27:18]Read from MH i2c: E2 FD 00 65 8B 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 E8 [08:27:18]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [08:27:18]wFMCommunicate OK [08:27:18]wFMCommunicate request_size=4 [08:27:18]MH_SAM_APDU [08:27:18]CAPDU: 80 17 00 00 [08:27:18]Write to MH i2c: E2 08 00 66 8B 80 17 00 00 00 00 00 00 71 [08:27:18]Write i2c OK [08:27:18]MH_I2C_Read... [08:27:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [08:27:18]Read from MH i2c: E2 [08:27:18]MH_I2C_Read... [08:27:18]Read from MH i2c: E2 E1 00 [08:27:18]MH_I2C_Read... [08:27:18]Read from MH i2c: E2 E1 00 66 8B 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 5F [08:27:18]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [08:27:18]wFMCommunicate OK [08:27:18]SAM_PROTO_GetFMData done [08:27:18]requested_item fm.sale_refund.total is exist - process it [08:27:18]requested_item fm.buy.total is exist - process it [08:27:18]requested_item shift.sale.total is exist - process it [08:27:18]SAM_PROTO_GetShiftData [08:27:18]wFMCommunicate request_size=4 [08:27:18]MH_SAM_APDU [08:27:18]CAPDU: 80 13 02 00 [08:27:18]Write to MH i2c: E2 08 00 67 8B 80 13 02 00 00 00 00 00 70 [08:27:18]Write i2c OK [08:27:18]MH_I2C_Read... [08:27:18]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [08:27:18]Read from MH i2c: E2 [08:27:18]MH_I2C_Read... [08:27:18]Read from MH i2c: E2 FD 00 [08:27:18]MH_I2C_Read... [08:27:18]Read from MH i2c: E2 FD 00 67 8B 00 AD 04 AA 04 A9 04 6E 04 04 00 07 00 00 00 69 04 9A 00 6F 04 04 00 07 00 00 00 B1 04 03 00 B4 3A 02 70 04 03 00 B8 37 01 72 04 03 00 FC 02 01 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 9B 3C 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 0D 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 90 00 04 [08:27:18]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 07 00 00 00 69 04 9A 00 6F 04 04 00 07 00 00 00 B1 04 03 00 B4 3A 02 70 04 03 00 B8 37 01 72 04 03 00 FC 02 01 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 9B 3C 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 0D 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 90 00 [08:27:18]wFMCommunicate OK [08:27:18]wFMCommunicate request_size=4 [08:27:18]MH_SAM_APDU [08:27:18]CAPDU: 80 17 00 00 [08:27:18]Write to MH i2c: E2 08 00 68 8B 80 17 00 00 00 00 00 00 73 [08:27:18]Write i2c OK [08:27:18]MH_I2C_Read... [08:27:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:27:19]Read from MH i2c: E2 [08:27:19]MH_I2C_Read... [08:27:19]Read from MH i2c: E2 FD 00 [08:27:19]MH_I2C_Read... [08:27:19]Read from MH i2c: E2 FD 00 68 8B 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 85 [08:27:19]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [08:27:19]wFMCommunicate OK [08:27:19]wFMCommunicate request_size=4 [08:27:19]MH_SAM_APDU [08:27:19]CAPDU: 80 17 00 00 [08:27:19]Write to MH i2c: E2 08 00 69 8B 80 17 00 00 00 00 00 00 74 [08:27:19]Write i2c OK [08:27:19]MH_I2C_Read... [08:27:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:27:19]Read from MH i2c: E2 [08:27:19]MH_I2C_Read... [08:27:19]Read from MH i2c: E2 FD 00 [08:27:19]MH_I2C_Read... [08:27:19]Read from MH i2c: E2 FD 00 69 8B 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 38 [08:27:19]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 [08:27:19]wFMCommunicate OK [08:27:19]wFMCommunicate request_size=4 [08:27:19]MH_SAM_APDU [08:27:19]CAPDU: 80 17 00 00 [08:27:19]Write to MH i2c: E2 08 00 6A 8B 80 17 00 00 00 00 00 00 75 [08:27:19]Write i2c OK [08:27:19]MH_I2C_Read... [08:27:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:27:19]Read from MH i2c: E2 [08:27:19]MH_I2C_Read... [08:27:19]Read from MH i2c: E2 FD 00 [08:27:19]MH_I2C_Read... [08:27:19]Read from MH i2c: E2 FD 00 6A 8B 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 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 EA [08:27:19]RAPDU: 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 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 [08:27:19]wFMCommunicate OK [08:27:19]wFMCommunicate request_size=4 [08:27:19]MH_SAM_APDU [08:27:19]CAPDU: 80 17 00 00 [08:27:19]Write to MH i2c: E2 08 00 6B 8B 80 17 00 00 00 00 00 00 76 [08:27:19]Write i2c OK [08:27:19]MH_I2C_Read... [08:27:20]OFD Sender: No OFD packet to send [08:27:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [08:27:20]Read from MH i2c: E2 [08:27:20]MH_I2C_Read... [08:27:20]Read from MH i2c: E2 CA 00 [08:27:20]MH_I2C_Read... [08:27:20]Read from MH i2c: E2 CA 00 6B 8B 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 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 5B [08:27:20]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 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:27:20]wFMCommunicate OK [08:27:20]SAM_PROTO_GetShiftData done [08:27:20]requested_item shift.sale.total_cash is exist - process it [08:27:20]requested_item shift.sale_refund.total is exist - process it [08:27:20]requested_item shift.sale_refund.total_cash is exist - process it [08:27:20]requested_item shift.buy.total is exist - process it [08:27:20]requested_item shift.buy.total_cash is exist - process it [08:27:20]produce_requested_data done [08:27:20]produce_requested_data return {"fm.sale.total":10635212.93,"fm.sale_refund.total":365383.00,"fm.buy.total":0.00,"shift.sale.total":1461.00,"shift.sale.total_cash":798.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:27:20]process_action_free get_value [08:27:20]json_value_free [08:27:20]json_value_free done [08:27:20]process_json_proto returns [08:27:20]Send response to host [08:27:20]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":10635212.93,"fm.sale_refund.total":365383.00,"fm.buy.total":0.00,"shift.sale.total":1461.00,"shift.sale.total_cash":798.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:27:20]free response buf [08:27:20]execute_script done [08:27:20]execute_script returns [08:27:20]free content buf [08:27:20]Sock 9.Close socket [08:27:20]Sock 9.Thread stoped [08:27:25]OFD Sender: No OFD packet to send [08:27:30]OFD Sender: No OFD packet to send [08:27:35]OFD Sender: No OFD packet to send [08:27:40]OFD Sender: No OFD packet to send [08:27:45]OFD Sender: No OFD packet to send [08:27:50]OFD Sender: No OFD packet to send [08:27:55]OFD Sender: No OFD packet to send [08:28:00]OFD Sender: No OFD packet to send [08:28:05]OFD Sender: No OFD packet to send [08:28:10]OFD Sender: No OFD packet to send [08:28:15]OFD Sender: No OFD packet to send [08:28:17]accept exits with 8 [08:28:17]New connection [08:28:17]New thread 3066699108 created [08:28:17]Thread 3066842468 joined [08:28:17]Waiting for new connection... [08:28:17] Sock 8.Parse request [08:28:17]Sock 8.Check first char [08:28:17]Sock 8.First char is OK [08:28:17]request: POST /json_proto HTTP/1.0 [08:28:17]Method: POST [08:28:17]URL: /json_proto [08:28:17]Method is POST - this is cgi request [08:28:17]url: /json_proto [08:28:17]query_string will be loaded in cgi processing [08:28:17]execute_cgi json_proto POST (null) [08:28:17]execute_cgi path=json_proto method=POST [08:28:17]POST find Content-Length [08:28:17]Host: 172.17.35.196:8080 [08:28:17]Content-Length: 621 [08:28:17]Content-Type: application/json [08:28:17] [08:28:17]POST finish read [08:28:17]Found Content-Length = 621 [08:28:17]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169093", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:28:17]execute_script... [08:28: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)169093", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:28:17]POST & json_proto [08:28:17]process_json_proto [08:28:17]json parsed OK: [08:28:17]protocol is kg_v1.0 [08:28:17]action value=close_receipt [08:28:17]process_action close_receipt [08:28:17]cmd_close_receipt [08:28:17]MH_GetDate [08:28:17]Write to MH i2c: F0 00 00 6C 8B E6 [08:28:17]Write i2c OK [08:28:17]MH_I2C_Read... [08:28:17]Read from MH i2c: F0 [08:28:17]MH_I2C_Read... [08:28:17]Read from MH i2c: F0 09 00 [08:28:17]MH_I2C_Read... [08:28:17]Read from MH i2c: F0 09 00 6C 8B 00 C6 97 8F 66 AD 14 F4 65 5B [08:28:17]GetLastDocTimeStamp 1720686368 [08:28:17]current date 1720686534 [08:28:17]FM_GetShiftState [08:28:17]SAM_PROTO_GetShiftState [08:28:17]wFMCommunicate request_size=4 [08:28:17]MH_SAM_APDU [08:28:17]CAPDU: 80 13 01 00 [08:28:17]Write to MH i2c: E2 08 00 6D 8B 80 13 01 00 00 00 00 00 75 [08:28:17]Write i2c OK [08:28:17]MH_I2C_Read... [08:28:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:28:17]Read from MH i2c: E2 [08:28:17]MH_I2C_Read... [08:28:17]Read from MH i2c: E2 0E 00 [08:28:17]MH_I2C_Read... [08:28:17]Read from MH i2c: E2 0E 00 6D 8B 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 A6 [08:28:17]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [08:28:17]wFMCommunicate OK [08:28:17]SAM_PROTO_GetShiftState done [08:28:17]FM_GetShiftState done [08:28:17]opened in 1720656398 [08:28:17]opened+sec_in_day 1720742798 [08:28:17]quantity*price = 14000 [08:28:17]sum+1 = 14001 [08:28:17]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 140.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 8 11.07.2024 08:28 Смена: 432 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33253 ФПД: 29762801960580 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T082854&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33253&fm=29762801960580&tin=02508201610067®Number=0000000000093033&sum=14000 0 [08:28:19]StoreToDocumentArchive [08:28:19]shift 432 fd 33253 [08:28:19]save to /storage/0432/doc_00033253 [08:28:19]save last doc name /storage/0432/doc_00033253 to /storage/kkm_last_doc_name [08:28:19]save OK [08:28:19]Clear old archive folders... [08:28:19]ProcessDocumentItem done err = 0, tmpTLVsize=273 [08:28:19]tlvbuf is 00300D70 [08:28:19]SAM_PROTO_ClearQueue [08:28:19]wFMCommunicate request_size=4 [08:28:19]MH_SAM_APDU [08:28:19]CAPDU: 80 09 00 00 [08:28:19]Write to MH i2c: E2 08 00 7A 8B 80 09 00 00 00 00 00 00 77 [08:28:19]Write i2c OK [08:28:19]MH_I2C_Read... [08:28:19]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:28:19]Read from MH i2c: E2 [08:28:19]MH_I2C_Read... [08:28:19]Read from MH i2c: E2 03 00 [08:28:19]MH_I2C_Read... [08:28:19]Read from MH i2c: E2 03 00 7A 8B 00 90 00 79 [08:28:19]RAPDU: 90 00 [08:28:19]wFMCommunicate OK [08:28:19]SAM_PROTO_ClearQueue done [08:28:19]KKMCreateOFDPacket [08:28:19]OFDProtocolAddRootSTLVToBuf [08:28:19]FM_MakeSignedData [08:28:19]FM_MakeSignedData [08:28:19]SAM_PROTO_SignData [08:28:19]wFMCommunicate request_size=4 [08:28:19]MH_SAM_APDU [08:28:19]CAPDU: 80 0D 01 02 [08:28:19]Write to MH i2c: E2 08 00 7B 8B 80 0D 01 02 00 00 00 00 7F [08:28:19]Write i2c OK [08:28:19]MH_I2C_Read... [08:28:19]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:28:19]Read from MH i2c: E2 [08:28:19]MH_I2C_Read... [08:28:19]Read from MH i2c: E2 03 00 [08:28:19]MH_I2C_Read... [08:28:19]Read from MH i2c: E2 03 00 7B 8B 00 90 00 7A [08:28:19]RAPDU: 90 00 [08:28:19]wFMCommunicate OK [08:28:19]wFMCommunicate request_size=255 [08:28:19]MH_SAM_APDU [08:28:19]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 C6 97 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 [08:28:19]Write to MH i2c: E2 02 01 7C 8B 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 C6 97 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 00 00 78 [08:28:19]Write i2c OK [08:28:19]MH_I2C_Read... [08:28:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:28:19]Read from MH i2c: E2 [08:28:19]MH_I2C_Read... [08:28:19]Read from MH i2c: E2 03 00 [08:28:19]MH_I2C_Read... [08:28:19]Read from MH i2c: E2 03 00 7C 8B 00 90 00 7B [08:28:19]RAPDU: 90 00 [08:28:19]wFMCommunicate OK [08:28:19]wFMCommunicate request_size=32 [08:28:19]MH_SAM_APDU [08:28:19]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 35 31 30 34 10 04 04 00 E5 81 00 00 35 04 06 00 1B 11 B1 3D 06 84 [08:28:19]Write to MH i2c: E2 23 00 7D 8B 80 0D 02 02 1B 00 30 30 30 38 37 35 31 30 34 10 04 04 00 E5 81 00 00 35 04 06 00 1B 11 B1 3D 06 84 00 00 E2 [08:28:19]Write i2c OK [08:28:19]MH_I2C_Read... [08:28:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:28:19]Read from MH i2c: E2 [08:28:19]MH_I2C_Read... [08:28:19]Read from MH i2c: E2 03 00 [08:28:19]MH_I2C_Read... [08:28:19]Read from MH i2c: E2 03 00 7D 8B 00 90 00 7C [08:28:19]RAPDU: 90 00 [08:28:19]wFMCommunicate OK [08:28:19]wFMCommunicate request_size=4 [08:28:19]MH_SAM_APDU [08:28:19]CAPDU: 80 0D 03 02 [08:28:19]Write to MH i2c: E2 08 00 7E 8B 80 0D 03 02 00 00 00 00 84 [08:28:19]Write i2c OK [08:28:19]MH_I2C_Read... [08:28:19]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:28:19]Read from MH i2c: E2 [08:28:19]MH_I2C_Read... [08:28:19]Read from MH i2c: E2 0B 00 [08:28:19]MH_I2C_Read... [08:28:19]Read from MH i2c: E2 0B 00 7E 8B 00 3D 1A 62 48 2E 9B 47 F2 90 00 88 [08:28:19]RAPDU: 3D 1A 62 48 2E 9B 47 F2 90 00 [08:28:19]wFMCommunicate OK [08:28:19]SAM_PROTO_SignData done [08:28:19]FM_MakeSignedData done [08:28:19]CreateOFDProtocolMessage [08:28:19]wFMCommunicate request_size=4 [08:28:19]MH_SAM_APDU [08:28:19]CAPDU: 80 11 00 00 [08:28:19]Write to MH i2c: E2 08 00 7F 8B 80 11 00 00 00 00 00 00 84 [08:28:19]Write i2c OK [08:28:19]MH_I2C_Read... [08:28:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:28:19]Read from MH i2c: E2 [08:28:19]MH_I2C_Read... [08:28:19]Read from MH i2c: E2 17 00 [08:28:19]MH_I2C_Read... [08:28:19]Read from MH i2c: E2 17 00 7F 8B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 D0 [08:28:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [08:28:19]wFMCommunicate OK [08:28:19]CreateOFDProtocolMessage done [08:28:19]OFDSenderStorePacket 33253 [08:28:19]StoreOFDPacket docnum=33253 [08:28:19]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 25 01 00 00 A7 03 1D 01 20 00 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 C6 97 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 E5 81 00 00 35 04 06 00 1B 11 B1 3D 06 84 3D 1A 62 48 2E 9B 47 F2 [08:28:19]CheckFolder [08:28:19]dirname=/storage/ofd_packets [08:28:19]CheckFolder done [08:28:19]ProducePacketName [08:28:19]name=ofd_packets/00033253 [08:28:19]NVStorageSaveData ofd_packets/00033253 [08:28:19]File name is /storage/ofd_packets/00033253 [08:28:19]Write 323 bytes [08:28:19]NVStorageSaveData done [08:28:19]OFDSenderStorePacket done [08:28:19]KKMCreateOFDPacket done [08:28:19]NVStorageSaveData kkm_last_timestamp [08:28:19]File name is /storage/kkm_last_timestamp [08:28:19]Write 4 bytes [08:28:19]NVStorageSaveData done [08:28:19]ExternCall_PrintAddStr [08:28:19]wPrintStart [08:28:19]Write to MH i2c: 01 00 00 80 8B 0B [08:28:19]Write i2c OK [08:28:19]MH_I2C_Read... [08:28:19]Read from MH i2c: 01 [08:28:19]MH_I2C_Read... [08:28:19]Read from MH i2c: 01 07 00 [08:28:19]MH_I2C_Read... [08:28:19]Read from MH i2c: 01 07 00 80 8B 00 00 00 00 00 FF 0F 20 [08:28:19]RasterBufferAndPrint [08:28:19]line Счет N : (3)169093 [08:28:19]line ИНН: 02508201610067 [08:28:19]line Контрольно-Кассовый Чек [08:28:19]line ПРОДАЖА [08:28:19]line Товар: 48743570 [08:28:19]line Сигареты Winston XStyle Blue [08:28:19]line 1.000 * 140.00 [08:28:19]line = 140.00 [08:28:19]line НДС 12% НСП 1% [08:28:19]line > о реализуемом товаре [08:28:19]line ИТОГО: 140.00 [08:28:19]line НСП 1% : 1.24 [08:28:19]line НДС 12% : 14.87 [08:28:19]line Наличными: 140.00 [08:28:19]line Безнал.: 0.00 [08:28:19]line Место: АЗС № 77 "Партнер Нефть" [08:28:19]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [08:28:19]line СНО: Общий режим [08:28:19]line Чек 8 11.07.2024 08:28 [08:28:19]line Смена: 432 ФФД: 1.0 [08:28:19]line ЗНМ: 0300000122 [08:28:19]line РНМ: 0000000000093033 [08:28:19]line Версия ККМ: 001 [08:28:19]line ФМ: 0000000000875104 [08:28:19]line ФД: 33253 [08:28:19]line ФПД: 29762801960580 [08:28:19]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T082854&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33253&fm=29762801960580&tin=02508201610067®Number=0000000000093033&sum=14000 [08:28:19]line 0 [08:28:19]OFD Sender: Processing packet 33253 [packets to send 6, broken 5] [08:28:19]ProducePacketName [08:28:19]name=ofd_packets/00033253 [08:28:19]OFD Sender: To server: pG, [08:28:19]CommunicateWithHost lk.salyk.kg:30040 [08:28:19]ConnectInit lk.salyk.kg [08:28:19]written 0, free lines is 4095 [08:28:20]Connected sock=10 [08:28:20]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 25 01 00 00 A7 03 1D 01 20 00 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 C6 97 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 E5 81 00 00 35 04 06 00 1B 11 B1 3D 06 84 3D 1A 62 48 2E 9B 47 F2 [08:28:20]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 E7 35 47 00 C5 B0 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 E5 81 00 00 F4 03 04 00 76 42 8F 66 B6 04 01 00 00 A8 7D 54 C2 32 E5 EF 56 [08:28:20]CommunicateWithHost err = 0 [08:28:20]CheckOFDResponse [08:28:20]1017 (14) - 77093643461234 [08:28:20]1041 (16) - 0000000000875104 [08:28:20]1040 (4) - 33253 [08:28:20]1012 (4) - 11.07.2024 02:24 [08:28:20]1206 (1) - 0 [08:28:20]OFD Sender: Remove packet 33253 [08:28:20]ProducePacketName [08:28:20]name=ofd_packets/00033253 [08:28:20]NVStorageDeleteData [08:28:20]Write to MH i2c: 01 00 00 A8 8B 33 [08:28:20]Write i2c OK [08:28:20]MH_I2C_Read... [08:28:20]Read from MH i2c: 01 [08:28:20]MH_I2C_Read... [08:28:20]Read from MH i2c: 01 07 00 [08:28:20]MH_I2C_Read... [08:28:20]Read from MH i2c: 01 07 00 A8 8B 00 00 00 00 00 DF 0C 25 [08:28:20]RasterBufferAndPrint [08:28:20]line [08:28:20]line [08:28:20]line [08:28:20]line [08:28:20]line [08:28:20]written 0, free lines is 3303 [08:28:20]MH_Cut [08:28:20]Write to MH i2c: D1 01 00 AF 8B 01 0C [08:28:20]Write i2c OK [08:28:20]MH_I2C_Read... [08:28:20]Read from MH i2c: D1 [08:28:20]MH_I2C_Read... [08:28:20]Read from MH i2c: D1 01 00 [08:28:20]MH_I2C_Read... [08:28:20]Read from MH i2c: D1 01 00 AF 8B 00 0B [08:28:20]Write to MH i2c: 01 00 00 B0 8B 3B [08:28:20]Write i2c OK [08:28:20]MH_I2C_Read... [08:28:20]OFD Sender: No OFD packet to send [08:28:21]*** Cut start [08:28:21]*** Partial cut [08:28:21]*** CUTSNS_PIN = 1 [08:28:21]*** CUTSNS_PIN = 0 [08:28:21]*** Brake cut motor [08:28:21]Read from MH i2c: 01 [08:28:21]MH_I2C_Read... [08:28:21]*** Stop cut motor [08:28:21]*** Cut end [08:28:21]Read from MH i2c: 01 07 00 [08:28:21]MH_I2C_Read... [08:28:21]Read from MH i2c: 01 07 00 B0 8B 00 00 00 00 00 FF 0F 50 [08:28:21]process_action close_receipt done [08:28:21]requested_data is exist [08:28:21]produce_requested_data [08:28:21]requested_item fm.sn is exist - process it [08:28:21]wFMCommunicate request_size=4 [08:28:21]MH_SAM_APDU [08:28:21]CAPDU: 80 11 00 00 [08:28:21]Write to MH i2c: E2 08 00 B1 8B 80 11 00 00 00 00 00 00 B6 [08:28:21]Write i2c OK [08:28:21]MH_I2C_Read... [08:28:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:28:21]Read from MH i2c: E2 [08:28:21]MH_I2C_Read... [08:28:21]Read from MH i2c: E2 17 00 [08:28:21]MH_I2C_Read... [08:28:21]Read from MH i2c: E2 17 00 B1 8B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 02 [08:28:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [08:28:21]wFMCommunicate OK [08:28:21]requested_item fd.num is exist - process it [08:28:21]SAM_PROTO_GetFieldsCounters [08:28:21]wFMCommunicate request_size=4 [08:28:21]MH_SAM_APDU [08:28:21]CAPDU: 80 13 00 00 [08:28:21]Write to MH i2c: E2 08 00 B2 8B 80 13 00 00 00 00 00 00 B9 [08:28:21]Write i2c OK [08:28:21]MH_I2C_Read... [08:28:21]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:28:21]Read from MH i2c: E2 [08:28:21]MH_I2C_Read... [08:28:21]Read from MH i2c: E2 62 00 [08:28:21]MH_I2C_Read... [08:28:21]Read from MH i2c: E2 62 00 B2 8B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 E5 81 00 00 0E 04 04 00 B0 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 FB [08:28:21]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 E5 81 00 00 0E 04 04 00 B0 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 [08:28:22]wFMCommunicate OK [08:28:22]SAM_PROTO_GetFieldsCounters done [08:28:22]requested_item shift.num is exist - process it [08:28:22]requested_item shift.opened is exist - process it [08:28:22]req_shift_opened [08:28:22]FM_GetShiftState [08:28:22]SAM_PROTO_GetShiftState [08:28:22]wFMCommunicate request_size=4 [08:28:22]MH_SAM_APDU [08:28:22]CAPDU: 80 13 01 00 [08:28:22]Write to MH i2c: E2 08 00 B3 8B 80 13 01 00 00 00 00 00 BB [08:28:22]Write i2c OK [08:28:22]MH_I2C_Read... [08:28:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:28:22]Read from MH i2c: E2 [08:28:22]MH_I2C_Read... [08:28:22]Read from MH i2c: E2 0E 00 [08:28:22]MH_I2C_Read... [08:28:22]Read from MH i2c: E2 0E 00 B3 8B 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 EC [08:28:22]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [08:28:22]wFMCommunicate OK [08:28:22]SAM_PROTO_GetShiftState done [08:28:22]FM_GetShiftState done [08:28:22]req_shift_opened done [08:28:22]requested_item shift.open_date is exist - process it [08:28:22]req_shift_open_date [08:28:22]req_shift_open_date done [08:28:22]produce_requested_data done [08:28:22]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33253,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398} [08:28:22]process_action_free close_receipt [08:28:22]json_value_free [08:28:22]json_value_free done [08:28:22]process_json_proto returns [08:28:22]Send response to host [08:28:22]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33253,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398}}} [08:28:22]free response buf [08:28:22]execute_script done [08:28:22]execute_script returns [08:28:22]free content buf [08:28:22]Sock 8.Close socket [08:28:22]Sock 8.Thread stoped [08:28:25]OFD Sender: No OFD packet to send [08:28:30]OFD Sender: No OFD packet to send [08:28:35]OFD Sender: No OFD packet to send [08:28:40]OFD Sender: No OFD packet to send [08:28:45]OFD Sender: No OFD packet to send [08:28:50]OFD Sender: No OFD packet to send [08:28:55]OFD Sender: No OFD packet to send [08:29:00]OFD Sender: No OFD packet to send [08:29:05]OFD Sender: No OFD packet to send [08:29:10]OFD Sender: No OFD packet to send [08:29:15]OFD Sender: No OFD packet to send [08:29:20]OFD Sender: No OFD packet to send [08:29:25]OFD Sender: No OFD packet to send [08:29:30]OFD Sender: No OFD packet to send [08:29:35]OFD Sender: No OFD packet to send [08:29:40]OFD Sender: No OFD packet to send [08:29:45]OFD Sender: No OFD packet to send [08:29:50]OFD Sender: No OFD packet to send [08:29:55]OFD Sender: No OFD packet to send [08:30:00]OFD Sender: No OFD packet to send [08:30:05]OFD Sender: No OFD packet to send [08:30:10]OFD Sender: No OFD packet to send [08:30:15]OFD Sender: No OFD packet to send [08:30:20]OFD Sender: No OFD packet to send [08:30:25]OFD Sender: No OFD packet to send [08:30:30]OFD Sender: No OFD packet to send [08:30:35]OFD Sender: No OFD packet to send [08:30:40]OFD Sender: No OFD packet to send [08:30:45]OFD Sender: No OFD packet to send [08:30:50]OFD Sender: No OFD packet to send [08:30:55]OFD Sender: No OFD packet to send [08:31:00]OFD Sender: No OFD packet to send [08:31:05]OFD Sender: No OFD packet to send [08:31:10]OFD Sender: No OFD packet to send [08:31:15]OFD Sender: No OFD packet to send [08:31:20]OFD Sender: No OFD packet to send [08:31:25]OFD Sender: No OFD packet to send [08:31:30]OFD Sender: No OFD packet to send [08:31:35]OFD Sender: No OFD packet to send [08:31:40]OFD Sender: No OFD packet to send [08:31:45]OFD Sender: No OFD packet to send [08:31:50]OFD Sender: No OFD packet to send [08:31:55]OFD Sender: No OFD packet to send [08:32:00]OFD Sender: No OFD packet to send [08:32:05]OFD Sender: No OFD packet to send [08:32:10]OFD Sender: No OFD packet to send [08:32:15]OFD Sender: No OFD packet to send [08:32:20]OFD Sender: No OFD packet to send [08:32:25]OFD Sender: No OFD packet to send [08:32:30]OFD Sender: No OFD packet to send [08:32:35]OFD Sender: No OFD packet to send [08:32:40]OFD Sender: No OFD packet to send [08:32:45]OFD Sender: No OFD packet to send [08:32:50]OFD Sender: No OFD packet to send [08:32:56]OFD Sender: No OFD packet to send [08:33:01]OFD Sender: No OFD packet to send [08:33:06]OFD Sender: No OFD packet to send [08:33:11]OFD Sender: No OFD packet to send [08:33:16]OFD Sender: No OFD packet to send [08:33:21]OFD Sender: No OFD packet to send [08:33:26]OFD Sender: No OFD packet to send [08:33:31]OFD Sender: No OFD packet to send [08:33:36]OFD Sender: No OFD packet to send [08:33:41]OFD Sender: No OFD packet to send [08:33:46]OFD Sender: No OFD packet to send [08:33:51]OFD Sender: No OFD packet to send [08:33:56]OFD Sender: No OFD packet to send [08:34:01]OFD Sender: No OFD packet to send [08:34:06]OFD Sender: No OFD packet to send [08:34:11]OFD Sender: No OFD packet to send [08:34:16]OFD Sender: No OFD packet to send [08:34:21]OFD Sender: No OFD packet to send [08:34:26]OFD Sender: No OFD packet to send [08:34:31]OFD Sender: No OFD packet to send [08:34:36]OFD Sender: No OFD packet to send [08:34:41]OFD Sender: No OFD packet to send [08:34:46]OFD Sender: No OFD packet to send [08:34:51]OFD Sender: No OFD packet to send [08:34:56]OFD Sender: No OFD packet to send [08:35:01]OFD Sender: No OFD packet to send [08:35:06]OFD Sender: No OFD packet to send [08:35:11]OFD Sender: No OFD packet to send [08:35:16]OFD Sender: No OFD packet to send [08:35:21]OFD Sender: No OFD packet to send [08:35:26]OFD Sender: No OFD packet to send [08:35:31]OFD Sender: No OFD packet to send [08:35:36]OFD Sender: No OFD packet to send [08:35:41]OFD Sender: No OFD packet to send [08:35:46]OFD Sender: No OFD packet to send [08:35:51]OFD Sender: No OFD packet to send [08:35:56]OFD Sender: No OFD packet to send [08:36:01]OFD Sender: No OFD packet to send [08:36:06]OFD Sender: No OFD packet to send [08:36:11]OFD Sender: No OFD packet to send [08:36:16]OFD Sender: No OFD packet to send [08:36:21]OFD Sender: No OFD packet to send [08:36:26]OFD Sender: No OFD packet to send [08:36:31]OFD Sender: No OFD packet to send [08:36:36]OFD Sender: No OFD packet to send [08:36:41]OFD Sender: No OFD packet to send [08:36:46]OFD Sender: No OFD packet to send [08:36:51]OFD Sender: No OFD packet to send [08:36:56]OFD Sender: No OFD packet to send [08:37:01]OFD Sender: No OFD packet to send [08:37:06]OFD Sender: No OFD packet to send [08:37:11]OFD Sender: No OFD packet to send [08:37:16]OFD Sender: No OFD packet to send [08:37:21]OFD Sender: No OFD packet to send [08:37:26]OFD Sender: No OFD packet to send [08:37:31]OFD Sender: No OFD packet to send [08:37:36]OFD Sender: No OFD packet to send [08:37:41]OFD Sender: No OFD packet to send [08:37:46]OFD Sender: No OFD packet to send [08:37:51]OFD Sender: No OFD packet to send [08:37:56]OFD Sender: No OFD packet to send [08:38:01]OFD Sender: No OFD packet to send [08:38:06]OFD Sender: No OFD packet to send [08:38:11]OFD Sender: No OFD packet to send [08:38:16]OFD Sender: No OFD packet to send [08:38:21]OFD Sender: No OFD packet to send [08:38:26]OFD Sender: No OFD packet to send [08:38:31]OFD Sender: No OFD packet to send [08:38:36]OFD Sender: No OFD packet to send [08:38:41]OFD Sender: No OFD packet to send [08:38:46]OFD Sender: No OFD packet to send [08:38:51]OFD Sender: No OFD packet to send [08:38:56]OFD Sender: No OFD packet to send [08:39:01]OFD Sender: No OFD packet to send [08:39:06]OFD Sender: No OFD packet to send [08:39:11]OFD Sender: No OFD packet to send [08:39:16]OFD Sender: No OFD packet to send [08:39:21]OFD Sender: No OFD packet to send [08:39:26]OFD Sender: No OFD packet to send [08:39:31]OFD Sender: No OFD packet to send [08:39:36]OFD Sender: No OFD packet to send [08:39:41]OFD Sender: No OFD packet to send [08:39:46]OFD Sender: No OFD packet to send [08:39:51]OFD Sender: No OFD packet to send [08:39:56]OFD Sender: No OFD packet to send [08:40:01]OFD Sender: No OFD packet to send [08:40:06]OFD Sender: No OFD packet to send [08:40:11]OFD Sender: No OFD packet to send [08:40:16]OFD Sender: No OFD packet to send [08:40:21]OFD Sender: No OFD packet to send [08:40:26]OFD Sender: No OFD packet to send [08:40:31]OFD Sender: No OFD packet to send [08:40:36]OFD Sender: No OFD packet to send [08:40:41]OFD Sender: No OFD packet to send [08:40:46]OFD Sender: No OFD packet to send [08:40:51]OFD Sender: No OFD packet to send [08:40:56]OFD Sender: No OFD packet to send [08:41:01]OFD Sender: No OFD packet to send [08:41:06]OFD Sender: No OFD packet to send [08:41:11]OFD Sender: No OFD packet to send [08:41:16]OFD Sender: No OFD packet to send [08:41:21]OFD Sender: No OFD packet to send [08:41:26]OFD Sender: No OFD packet to send [08:41:31]OFD Sender: No OFD packet to send [08:41:36]OFD Sender: No OFD packet to send [08:41:41]OFD Sender: No OFD packet to send [08:41:46]OFD Sender: No OFD packet to send [08:41:51]OFD Sender: No OFD packet to send [08:41:56]OFD Sender: No OFD packet to send [08:42:01]OFD Sender: No OFD packet to send [08:42:06]OFD Sender: No OFD packet to send [08:42:11]OFD Sender: No OFD packet to send [08:42:16]OFD Sender: No OFD packet to send [08:42:21]OFD Sender: No OFD packet to send [08:42:26]OFD Sender: No OFD packet to send [08:42:31]OFD Sender: No OFD packet to send [08:42:36]OFD Sender: No OFD packet to send [08:42:41]OFD Sender: No OFD packet to send [08:42:46]OFD Sender: No OFD packet to send [08:42:51]OFD Sender: No OFD packet to send [08:42:56]OFD Sender: No OFD packet to send [08:43:01]OFD Sender: No OFD packet to send [08:43:06]OFD Sender: No OFD packet to send [08:43:11]OFD Sender: No OFD packet to send [08:43:16]OFD Sender: No OFD packet to send [08:43:21]OFD Sender: No OFD packet to send [08:43:26]OFD Sender: No OFD packet to send [08:43:31]OFD Sender: No OFD packet to send [08:43:36]OFD Sender: No OFD packet to send [08:43:41]OFD Sender: No OFD packet to send [08:43:46]OFD Sender: No OFD packet to send [08:43:51]OFD Sender: No OFD packet to send [08:43:56]OFD Sender: No OFD packet to send [08:44:01]OFD Sender: No OFD packet to send [08:44:06]OFD Sender: No OFD packet to send [08:44:11]OFD Sender: No OFD packet to send [08:44:16]OFD Sender: No OFD packet to send [08:44:21]OFD Sender: No OFD packet to send [08:44:26]OFD Sender: No OFD packet to send [08:44:31]OFD Sender: No OFD packet to send [08:44:36]OFD Sender: No OFD packet to send [08:44:41]OFD Sender: No OFD packet to send [08:44:46]OFD Sender: No OFD packet to send [08:44:51]OFD Sender: No OFD packet to send [08:44:56]OFD Sender: No OFD packet to send [08:45:01]OFD Sender: No OFD packet to send [08:45:06]OFD Sender: No OFD packet to send [08:45:11]OFD Sender: No OFD packet to send [08:45:16]OFD Sender: No OFD packet to send [08:45:21]OFD Sender: No OFD packet to send [08:45:26]OFD Sender: No OFD packet to send [08:45:31]OFD Sender: No OFD packet to send [08:45:36]OFD Sender: No OFD packet to send [08:45:41]OFD Sender: No OFD packet to send [08:45:46]OFD Sender: No OFD packet to send [08:45:51]OFD Sender: No OFD packet to send [08:45:56]OFD Sender: No OFD packet to send [08:46:01]OFD Sender: No OFD packet to send [08:46:06]OFD Sender: No OFD packet to send [08:46:11]OFD Sender: No OFD packet to send [08:46:16]OFD Sender: No OFD packet to send [08:46:21]OFD Sender: No OFD packet to send [08:46:26]OFD Sender: No OFD packet to send [08:46:31]OFD Sender: No OFD packet to send [08:46:36]OFD Sender: No OFD packet to send [08:46:41]OFD Sender: No OFD packet to send [08:46:46]OFD Sender: No OFD packet to send [08:46:51]OFD Sender: No OFD packet to send [08:46:56]OFD Sender: No OFD packet to send [08:47:01]OFD Sender: No OFD packet to send [08:47:06]OFD Sender: No OFD packet to send [08:47:11]OFD Sender: No OFD packet to send [08:47:16]OFD Sender: No OFD packet to send [08:47:21]OFD Sender: No OFD packet to send [08:47:26]OFD Sender: No OFD packet to send [08:47:31]OFD Sender: No OFD packet to send [08:47:36]OFD Sender: No OFD packet to send [08:47:41]OFD Sender: No OFD packet to send [08:47:46]OFD Sender: No OFD packet to send [08:47:51]OFD Sender: No OFD packet to send [08:47:56]OFD Sender: No OFD packet to send [08:48:01]OFD Sender: No OFD packet to send [08:48:06]OFD Sender: No OFD packet to send [08:48:11]OFD Sender: No OFD packet to send [08:48:16]OFD Sender: No OFD packet to send [08:48:21]OFD Sender: No OFD packet to send [08:48:26]OFD Sender: No OFD packet to send [08:48:31]OFD Sender: No OFD packet to send [08:48:36]OFD Sender: No OFD packet to send [08:48:41]OFD Sender: No OFD packet to send [08:48:46]OFD Sender: No OFD packet to send [08:48:51]OFD Sender: No OFD packet to send [08:48:56]OFD Sender: No OFD packet to send [08:49:01]OFD Sender: No OFD packet to send [08:49:06]OFD Sender: No OFD packet to send [08:49:11]OFD Sender: No OFD packet to send [08:49:16]OFD Sender: No OFD packet to send [08:49:21]OFD Sender: No OFD packet to send [08:49:26]OFD Sender: No OFD packet to send [08:49:31]OFD Sender: No OFD packet to send [08:49:36]OFD Sender: No OFD packet to send [08:49:41]OFD Sender: No OFD packet to send [08:49:46]OFD Sender: No OFD packet to send [08:49:51]OFD Sender: No OFD packet to send [08:49:56]OFD Sender: No OFD packet to send [08:50:01]OFD Sender: No OFD packet to send [08:50:06]OFD Sender: No OFD packet to send [08:50:11]OFD Sender: No OFD packet to send [08:50:16]OFD Sender: No OFD packet to send [08:50:21]OFD Sender: No OFD packet to send [08:50:26]OFD Sender: No OFD packet to send [08:50:31]OFD Sender: No OFD packet to send [08:50:36]OFD Sender: No OFD packet to send [08:50:41]OFD Sender: No OFD packet to send [08:50:46]OFD Sender: No OFD packet to send [08:50:51]OFD Sender: No OFD packet to send [08:50:56]OFD Sender: No OFD packet to send [08:51:01]OFD Sender: No OFD packet to send [08:51:06]OFD Sender: No OFD packet to send [08:51:11]OFD Sender: No OFD packet to send [08:51:16]OFD Sender: No OFD packet to send [08:51:21]OFD Sender: No OFD packet to send [08:51:26]OFD Sender: No OFD packet to send [08:51:31]OFD Sender: No OFD packet to send [08:51:36]OFD Sender: No OFD packet to send [08:51:41]OFD Sender: No OFD packet to send [08:51:46]OFD Sender: No OFD packet to send [08:51:51]OFD Sender: No OFD packet to send [08:51:56]OFD Sender: No OFD packet to send [08:52:01]OFD Sender: No OFD packet to send [08:52:06]OFD Sender: No OFD packet to send [08:52:11]OFD Sender: No OFD packet to send [08:52:16]OFD Sender: No OFD packet to send [08:52:21]OFD Sender: No OFD packet to send [08:52:26]OFD Sender: No OFD packet to send [08:52:31]OFD Sender: No OFD packet to send [08:52:36]OFD Sender: No OFD packet to send [08:52:41]OFD Sender: No OFD packet to send [08:52:46]OFD Sender: No OFD packet to send [08:52:51]OFD Sender: No OFD packet to send [08:52:56]OFD Sender: No OFD packet to send [08:53:01]OFD Sender: No OFD packet to send [08:53:06]OFD Sender: No OFD packet to send [08:53:11]OFD Sender: No OFD packet to send [08:53:16]OFD Sender: No OFD packet to send [08:53:21]OFD Sender: No OFD packet to send [08:53:26]OFD Sender: No OFD packet to send [08:53:31]OFD Sender: No OFD packet to send [08:53:36]OFD Sender: No OFD packet to send [08:53:41]OFD Sender: No OFD packet to send [08:53:46]OFD Sender: No OFD packet to send [08:53:51]OFD Sender: No OFD packet to send [08:53:56]OFD Sender: No OFD packet to send [08:54:01]OFD Sender: No OFD packet to send [08:54:06]OFD Sender: No OFD packet to send [08:54:11]OFD Sender: No OFD packet to send [08:54:16]OFD Sender: No OFD packet to send [08:54:21]OFD Sender: No OFD packet to send [08:54:26]OFD Sender: No OFD packet to send [08:54:32]OFD Sender: No OFD packet to send [08:54:37]OFD Sender: No OFD packet to send [08:54:42]OFD Sender: No OFD packet to send [08:54:47]OFD Sender: No OFD packet to send [08:54:52]OFD Sender: No OFD packet to send [08:54:57]OFD Sender: No OFD packet to send [08:55:02]OFD Sender: No OFD packet to send [08:55:07]OFD Sender: No OFD packet to send [08:55:12]OFD Sender: No OFD packet to send [08:55:17]OFD Sender: No OFD packet to send [08:55:22]OFD Sender: No OFD packet to send [08:55:27]OFD Sender: No OFD packet to send [08:55:32]OFD Sender: No OFD packet to send [08:55:37]OFD Sender: No OFD packet to send [08:55:42]OFD Sender: No OFD packet to send [08:55:47]OFD Sender: No OFD packet to send [08:55:52]OFD Sender: No OFD packet to send [08:55:57]OFD Sender: No OFD packet to send [08:56:02]OFD Sender: No OFD packet to send [08:56:07]OFD Sender: No OFD packet to send [08:56:12]OFD Sender: No OFD packet to send [08:56:17]OFD Sender: No OFD packet to send [08:56:22]OFD Sender: No OFD packet to send [08:56:27]OFD Sender: No OFD packet to send [08:56:32]OFD Sender: No OFD packet to send [08:56:37]OFD Sender: No OFD packet to send [08:56:42]OFD Sender: No OFD packet to send [08:56:47]OFD Sender: No OFD packet to send [08:56:52]OFD Sender: No OFD packet to send [08:56:57]OFD Sender: No OFD packet to send [08:57:02]OFD Sender: No OFD packet to send [08:57:07]OFD Sender: No OFD packet to send [08:57:12]OFD Sender: No OFD packet to send [08:57:17]OFD Sender: No OFD packet to send [08:57:22]OFD Sender: No OFD packet to send [08:57:27]OFD Sender: No OFD packet to send [08:57:32]OFD Sender: No OFD packet to send [08:57:37]OFD Sender: No OFD packet to send [08:57:42]OFD Sender: No OFD packet to send [08:57:47]OFD Sender: No OFD packet to send [08:57:52]OFD Sender: No OFD packet to send [08:57:57]OFD Sender: No OFD packet to send [08:58:02]OFD Sender: No OFD packet to send [08:58:07]OFD Sender: No OFD packet to send [08:58:12]OFD Sender: No OFD packet to send [08:58:17]OFD Sender: No OFD packet to send [08:58:22]OFD Sender: No OFD packet to send [08:58:27]OFD Sender: No OFD packet to send [08:58:32]OFD Sender: No OFD packet to send [08:58:37]OFD Sender: No OFD packet to send [08:58:42]OFD Sender: No OFD packet to send [08:58:47]OFD Sender: No OFD packet to send [08:58:52]OFD Sender: No OFD packet to send [08:58:57]OFD Sender: No OFD packet to send [08:59:02]OFD Sender: No OFD packet to send [08:59:07]OFD Sender: No OFD packet to send [08:59:12]OFD Sender: No OFD packet to send [08:59:17]OFD Sender: No OFD packet to send [08:59:22]OFD Sender: No OFD packet to send [08:59:27]OFD Sender: No OFD packet to send [08:59:32]OFD Sender: No OFD packet to send [08:59:37]OFD Sender: No OFD packet to send [08:59:42]OFD Sender: No OFD packet to send [08:59:47]OFD Sender: No OFD packet to send [08:59:52]OFD Sender: No OFD packet to send [08:59:57]OFD Sender: No OFD packet to send [09:00:02]OFD Sender: No OFD packet to send [09:00:07]OFD Sender: No OFD packet to send [09:00:12]OFD Sender: No OFD packet to send [09:00:17]OFD Sender: No OFD packet to send [09:00:22]OFD Sender: No OFD packet to send [09:00:27]OFD Sender: No OFD packet to send [09:00:32]OFD Sender: No OFD packet to send [09:00:37]OFD Sender: No OFD packet to send [09:00:42]OFD Sender: No OFD packet to send [09:00:47]OFD Sender: No OFD packet to send [09:00:52]OFD Sender: No OFD packet to send [09:00:57]OFD Sender: No OFD packet to send [09:01:02]OFD Sender: No OFD packet to send [09:01:07]OFD Sender: No OFD packet to send [09:01:12]OFD Sender: No OFD packet to send [09:01:17]OFD Sender: No OFD packet to send [09:01:22]OFD Sender: No OFD packet to send [09:01:27]OFD Sender: No OFD packet to send [09:01:32]OFD Sender: No OFD packet to send [09:01:37]OFD Sender: No OFD packet to send [09:01:42]OFD Sender: No OFD packet to send [09:01:47]OFD Sender: No OFD packet to send [09:01:52]OFD Sender: No OFD packet to send [09:01:57]OFD Sender: No OFD packet to send [09:02:02]OFD Sender: No OFD packet to send [09:02:07]OFD Sender: No OFD packet to send [09:02:12]OFD Sender: No OFD packet to send [09:02:17]OFD Sender: No OFD packet to send [09:02:22]OFD Sender: No OFD packet to send [09:02:27]OFD Sender: No OFD packet to send [09:02:32]OFD Sender: No OFD packet to send [09:02:37]OFD Sender: No OFD packet to send [09:02:42]OFD Sender: No OFD packet to send [09:02:47]OFD Sender: No OFD packet to send [09:02:52]OFD Sender: No OFD packet to send [09:02:57]OFD Sender: No OFD packet to send [09:03:02]OFD Sender: No OFD packet to send [09:03:07]OFD Sender: No OFD packet to send [09:03:12]OFD Sender: No OFD packet to send [09:03:17]OFD Sender: No OFD packet to send [09:03:22]OFD Sender: No OFD packet to send [09:03:27]OFD Sender: No OFD packet to send [09:03:32]OFD Sender: No OFD packet to send [09:03:37]OFD Sender: No OFD packet to send [09:03:42]OFD Sender: No OFD packet to send [09:03:47]OFD Sender: No OFD packet to send [09:03:52]OFD Sender: No OFD packet to send [09:03:57]OFD Sender: No OFD packet to send [09:04:02]OFD Sender: No OFD packet to send [09:04:07]OFD Sender: No OFD packet to send [09:04:12]OFD Sender: No OFD packet to send [09:04:17]OFD Sender: No OFD packet to send [09:04:22]OFD Sender: No OFD packet to send [09:04:27]OFD Sender: No OFD packet to send [09:04:32]OFD Sender: No OFD packet to send [09:04:37]OFD Sender: No OFD packet to send [09:04:42]OFD Sender: No OFD packet to send [09:04:47]OFD Sender: No OFD packet to send [09:04:52]OFD Sender: No OFD packet to send [09:04:57]OFD Sender: No OFD packet to send [09:05:02]OFD Sender: No OFD packet to send [09:05:07]OFD Sender: No OFD packet to send [09:05:12]OFD Sender: No OFD packet to send [09:05:17]OFD Sender: No OFD packet to send [09:05:22]OFD Sender: No OFD packet to send [09:05:27]OFD Sender: No OFD packet to send [09:05:32]OFD Sender: No OFD packet to send [09:05:37]OFD Sender: No OFD packet to send [09:05:42]OFD Sender: No OFD packet to send [09:05:47]OFD Sender: No OFD packet to send [09:05:52]OFD Sender: No OFD packet to send [09:05:57]OFD Sender: No OFD packet to send [09:06:02]OFD Sender: No OFD packet to send [09:06:07]OFD Sender: No OFD packet to send [09:06:12]OFD Sender: No OFD packet to send [09:06:17]OFD Sender: No OFD packet to send [09:06:22]OFD Sender: No OFD packet to send [09:06:27]OFD Sender: No OFD packet to send [09:06:32]OFD Sender: No OFD packet to send [09:06:37]OFD Sender: No OFD packet to send [09:06:42]OFD Sender: No OFD packet to send [09:06:47]OFD Sender: No OFD packet to send [09:06:52]OFD Sender: No OFD packet to send [09:06:57]OFD Sender: No OFD packet to send [09:07:02]OFD Sender: No OFD packet to send [09:07:07]OFD Sender: No OFD packet to send [09:07:12]OFD Sender: No OFD packet to send [09:07:17]OFD Sender: No OFD packet to send [09:07:22]OFD Sender: No OFD packet to send [09:07:27]OFD Sender: No OFD packet to send [09:07:32]OFD Sender: No OFD packet to send [09:07:37]OFD Sender: No OFD packet to send [09:07:42]OFD Sender: No OFD packet to send [09:07:47]OFD Sender: No OFD packet to send [09:07:52]OFD Sender: No OFD packet to send [09:07:57]OFD Sender: No OFD packet to send [09:08:02]OFD Sender: No OFD packet to send [09:08:07]OFD Sender: No OFD packet to send [09:08:12]OFD Sender: No OFD packet to send [09:08:17]OFD Sender: No OFD packet to send [09:08:22]OFD Sender: No OFD packet to send [09:08:27]OFD Sender: No OFD packet to send [09:08:32]OFD Sender: No OFD packet to send [09:08:37]OFD Sender: No OFD packet to send [09:08:42]OFD Sender: No OFD packet to send [09:08:47]OFD Sender: No OFD packet to send [09:08:52]OFD Sender: No OFD packet to send [09:08:57]OFD Sender: No OFD packet to send [09:09:02]OFD Sender: No OFD packet to send [09:09:07]OFD Sender: No OFD packet to send [09:09:12]OFD Sender: No OFD packet to send [09:09:17]OFD Sender: No OFD packet to send [09:09:22]OFD Sender: No OFD packet to send [09:09:27]OFD Sender: No OFD packet to send [09:09:32]OFD Sender: No OFD packet to send [09:09:37]OFD Sender: No OFD packet to send [09:09:42]OFD Sender: No OFD packet to send [09:09:47]OFD Sender: No OFD packet to send [09:09:52]OFD Sender: No OFD packet to send [09:09:57]OFD Sender: No OFD packet to send [09:10:02]OFD Sender: No OFD packet to send [09:10:07]OFD Sender: No OFD packet to send [09:10:12]OFD Sender: No OFD packet to send [09:10:17]OFD Sender: No OFD packet to send [09:10:22]OFD Sender: No OFD packet to send [09:10:27]OFD Sender: No OFD packet to send [09:10:32]OFD Sender: No OFD packet to send [09:10:37]OFD Sender: No OFD packet to send [09:10:42]OFD Sender: No OFD packet to send [09:10:47]OFD Sender: No OFD packet to send [09:10:52]OFD Sender: No OFD packet to send [09:10:57]OFD Sender: No OFD packet to send [09:11:02]OFD Sender: No OFD packet to send [09:11:07]OFD Sender: No OFD packet to send [09:11:12]OFD Sender: No OFD packet to send [09:11:17]OFD Sender: No OFD packet to send [09:11:22]OFD Sender: No OFD packet to send [09:11:27]OFD Sender: No OFD packet to send [09:11:32]OFD Sender: No OFD packet to send [09:11:37]OFD Sender: No OFD packet to send [09:11:42]OFD Sender: No OFD packet to send [09:11:47]OFD Sender: No OFD packet to send [09:11:52]OFD Sender: No OFD packet to send [09:11:57]OFD Sender: No OFD packet to send [09:12:02]OFD Sender: No OFD packet to send [09:12:07]OFD Sender: No OFD packet to send [09:12:12]OFD Sender: No OFD packet to send [09:12:17]OFD Sender: No OFD packet to send [09:12:22]OFD Sender: No OFD packet to send [09:12:27]OFD Sender: No OFD packet to send [09:12:32]OFD Sender: No OFD packet to send [09:12:37]OFD Sender: No OFD packet to send [09:12:42]OFD Sender: No OFD packet to send [09:12:47]OFD Sender: No OFD packet to send [09:12:52]OFD Sender: No OFD packet to send [09:12:57]OFD Sender: No OFD packet to send [09:13:02]OFD Sender: No OFD packet to send [09:13:07]OFD Sender: No OFD packet to send [09:13:12]OFD Sender: No OFD packet to send [09:13:17]OFD Sender: No OFD packet to send [09:13:22]OFD Sender: No OFD packet to send [09:13:27]OFD Sender: No OFD packet to send [09:13:32]OFD Sender: No OFD packet to send [09:13:37]OFD Sender: No OFD packet to send [09:13:42]OFD Sender: No OFD packet to send [09:13:47]OFD Sender: No OFD packet to send [09:13:52]OFD Sender: No OFD packet to send [09:13:57]OFD Sender: No OFD packet to send [09:14:02]OFD Sender: No OFD packet to send [09:14:07]OFD Sender: No OFD packet to send [09:14:12]OFD Sender: No OFD packet to send [09:14:17]OFD Sender: No OFD packet to send [09:14:22]OFD Sender: No OFD packet to send [09:14:27]OFD Sender: No OFD packet to send [09:14:32]OFD Sender: No OFD packet to send [09:14:37]OFD Sender: No OFD packet to send [09:14:42]OFD Sender: No OFD packet to send [09:14:42]accept exits with 9 [09:14:42]New connection [09:14:42]New thread 3066842468 created [09:14:42]Thread 3066699108 joined [09:14:42]Waiting for new connection... [09:14:42] Sock 9.Parse request [09:14:42]Sock 9.Check first char [09:14:42]Sock 9.First char is OK [09:14:42]request: POST /json_proto HTTP/1.0 [09:14:42]Method: POST [09:14:42]URL: /json_proto [09:14:42]Method is POST - this is cgi request [09:14:42]url: /json_proto [09:14:42]query_string will be loaded in cgi processing [09:14:42]execute_cgi json_proto POST (null) [09:14:42]execute_cgi path=json_proto method=POST [09:14:42]POST find Content-Length [09:14:42]Host: 172.17.35.196:8080 [09:14:42]Content-Length: 837 [09:14:42]Content-Type: application/json [09:14:42] [09:14:42]POST finish read [09:14:42]Found Content-Length = 837 [09:14:42]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169094", "tax_sys" : 0, "items" : [ { "code": "48744713", "name": "LD Compact Purple Beat", "price" : 133.00, "quantity" : 1.000, "sum" : 133.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 263.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:14:42]execute_script... [09:14: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)169094", "tax_sys" : 0, "items" : [ { "code": "48744713", "name": "LD Compact Purple Beat", "price" : 133.00, "quantity" : 1.000, "sum" : 133.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 263.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:14:42]POST & json_proto [09:14:42]process_json_proto [09:14:42]json parsed OK: [09:14:42]protocol is kg_v1.0 [09:14:42]action value=close_receipt [09:14:42]process_action close_receipt [09:14:42]cmd_close_receipt [09:14:42]MH_GetDate [09:14:42]Write to MH i2c: F0 00 00 B4 8B 2E [09:14:42]Write i2c OK [09:14:42]MH_I2C_Read... [09:14:42]Read from MH i2c: F0 [09:14:42]MH_I2C_Read... [09:14:42]Read from MH i2c: F0 09 00 [09:14:42]MH_I2C_Read... [09:14:42]Read from MH i2c: F0 09 00 B4 8B 00 A7 A2 8F 66 AD 14 F4 65 8F [09:14:42]GetLastDocTimeStamp 1720686534 [09:14:42]current date 1720689319 [09:14:42]FM_GetShiftState [09:14:42]SAM_PROTO_GetShiftState [09:14:42]wFMCommunicate request_size=4 [09:14:42]MH_SAM_APDU [09:14:42]CAPDU: 80 13 01 00 [09:14:42]Write to MH i2c: E2 08 00 B5 8B 80 13 01 00 00 00 00 00 BD [09:14:42]Write i2c OK [09:14:42]MH_I2C_Read... [09:14:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:14:43]Read from MH i2c: E2 [09:14:43]MH_I2C_Read... [09:14:43]Read from MH i2c: E2 0E 00 [09:14:43]MH_I2C_Read... [09:14:43]Read from MH i2c: E2 0E 00 B5 8B 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 EE [09:14:43]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [09:14:43]wFMCommunicate OK [09:14:43]SAM_PROTO_GetShiftState done [09:14:43]FM_GetShiftState done [09:14:43]opened in 1720656398 [09:14:43]opened+sec_in_day 1720742798 [09:14:43]quantity*price = 13300 [09:14:43]sum+1 = 13301 [09:14:43]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000036220012 Кофе Капучино XL(GABB TRADE) 1.000 * 130.00 = 130.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 263.00 НСП 1% : 2.33 НДС 12% : 27.92 Наличными: 263.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 9 11.07.2024 09:15 Смена: 432 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33254 ФПД: 90328895294956 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T091519&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33254&fm=90328895294956&tin=02508201610067®Number=0000000000093033&sum=26300 0 [09:14:44]StoreToDocumentArchive [09:14:44]shift 432 fd 33254 [09:14:44]save to /storage/0432/doc_00033254 [09:14:44]save last doc name /storage/0432/doc_00033254 to /storage/kkm_last_doc_name [09:14:44]save OK [09:14:44]Clear old archive folders... [09:14:44]ProcessDocumentItem done err = 0, tmpTLVsize=371 [09:14:44]tlvbuf is 0038FEA0 [09:14:44]SAM_PROTO_ClearQueue [09:14:44]wFMCommunicate request_size=4 [09:14:44]MH_SAM_APDU [09:14:44]CAPDU: 80 09 00 00 [09:14:44]Write to MH i2c: E2 08 00 C2 8B 80 09 00 00 00 00 00 00 BF [09:14:44]Write i2c OK [09:14:44]MH_I2C_Read... [09:14:44]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:14:44]Read from MH i2c: E2 [09:14:44]MH_I2C_Read... [09:14:44]Read from MH i2c: E2 03 00 [09:14:44]MH_I2C_Read... [09:14:44]Read from MH i2c: E2 03 00 C2 8B 00 90 00 C1 [09:14:44]RAPDU: 90 00 [09:14:44]wFMCommunicate OK [09:14:44]SAM_PROTO_ClearQueue done [09:14:44]KKMCreateOFDPacket [09:14:44]OFDProtocolAddRootSTLVToBuf [09:14:44]FM_MakeSignedData [09:14:44]FM_MakeSignedData [09:14:44]SAM_PROTO_SignData [09:14:44]wFMCommunicate request_size=4 [09:14:44]MH_SAM_APDU [09:14:44]CAPDU: 80 0D 01 02 [09:14:44]Write to MH i2c: E2 08 00 C3 8B 80 0D 01 02 00 00 00 00 C7 [09:14:44]Write i2c OK [09:14:44]MH_I2C_Read... [09:14:44]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:14:44]Read from MH i2c: E2 [09:14:44]MH_I2C_Read... [09:14:44]Read from MH i2c: E2 03 00 [09:14:44]MH_I2C_Read... [09:14:44]Read from MH i2c: E2 03 00 C3 8B 00 90 00 C2 [09:14:44]RAPDU: 90 00 [09:14:44]wFMCommunicate OK [09:14:44]wFMCommunicate request_size=255 [09:14:44]MH_SAM_APDU [09:14:44]CAPDU: 80 0D 02 02 FA 03 00 73 01 1E 04 01 00 01 23 04 55 00 8A 04 08 00 34 38 37 34 34 37 31 33 06 04 16 00 4C 44 20 43 6F 6D 70 61 63 74 20 50 75 72 70 6C 65 20 42 65 61 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F4 33 00 00 00 00 13 04 06 00 F4 33 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 66 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E9 00 00 00 00 00 EE 03 0F 00 F2 03 01 [09:14:44]Write to MH i2c: E2 02 01 C4 8B 80 0D 02 02 FA 00 03 00 73 01 1E 04 01 00 01 23 04 55 00 8A 04 08 00 34 38 37 34 34 37 31 33 06 04 16 00 4C 44 20 43 6F 6D 70 61 63 74 20 50 75 72 70 6C 65 20 42 65 61 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F4 33 00 00 00 00 13 04 06 00 F4 33 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 66 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E9 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 00 95 [09:14:44]Write i2c OK [09:14:44]MH_I2C_Read... [09:14:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:14:44]Read from MH i2c: E2 [09:14:44]MH_I2C_Read... [09:14:44]Read from MH i2c: E2 03 00 [09:14:44]MH_I2C_Read... [09:14:44]Read from MH i2c: E2 03 00 C4 8B 00 90 00 C3 [09:14:44]RAPDU: 90 00 [09:14:44]wFMCommunicate OK [09:14:44]wFMCommunicate request_size=130 [09:14:44]MH_SAM_APDU [09:14:44]CAPDU: 80 0D 02 02 7D 00 01 F3 03 06 00 E8 0A 00 00 00 00 07 04 06 00 BC 66 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 A7 A2 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 E6 81 00 00 35 04 06 00 52 27 55 B7 8D EC [09:14:44]Write to MH i2c: E2 85 00 C5 8B 80 0D 02 02 7D 00 00 01 F3 03 06 00 E8 0A 00 00 00 00 07 04 06 00 BC 66 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 A7 A2 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 E6 81 00 00 35 04 06 00 52 27 55 B7 8D EC 00 00 5E [09:14:44]Write i2c OK [09:14:44]MH_I2C_Read... [09:14:44]Read from MH i2c: E2 [09:14:44]MH_I2C_Read... [09:14:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:14:44]Read from MH i2c: E2 03 00 [09:14:44]MH_I2C_Read... [09:14:44]Read from MH i2c: E2 03 00 C5 8B 00 90 00 C4 [09:14:44]RAPDU: 90 00 [09:14:44]wFMCommunicate OK [09:14:44]wFMCommunicate request_size=4 [09:14:44]MH_SAM_APDU [09:14:44]CAPDU: 80 0D 03 02 [09:14:44]Write to MH i2c: E2 08 00 C6 8B 80 0D 03 02 00 00 00 00 CC [09:14:44]Write i2c OK [09:14:44]MH_I2C_Read... [09:14:44]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:14:44]Read from MH i2c: E2 [09:14:44]MH_I2C_Read... [09:14:44]Read from MH i2c: E2 0B 00 [09:14:44]MH_I2C_Read... [09:14:44]Read from MH i2c: E2 0B 00 C6 8B 00 73 FD 10 7D B6 0C CF 0B 90 00 66 [09:14:44]RAPDU: 73 FD 10 7D B6 0C CF 0B 90 00 [09:14:44]wFMCommunicate OK [09:14:44]SAM_PROTO_SignData done [09:14:44]FM_MakeSignedData done [09:14:44]CreateOFDProtocolMessage [09:14:44]wFMCommunicate request_size=4 [09:14:44]MH_SAM_APDU [09:14:44]CAPDU: 80 11 00 00 [09:14:44]Write to MH i2c: E2 08 00 C7 8B 80 11 00 00 00 00 00 00 CC [09:14:44]Write i2c OK [09:14:44]MH_I2C_Read... [09:14:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:14:44]Read from MH i2c: E2 [09:14:44]MH_I2C_Read... [09:14:44]Read from MH i2c: E2 17 00 [09:14:44]MH_I2C_Read... [09:14:44]Read from MH i2c: E2 17 00 C7 8B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 18 [09:14:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [09:14:44]wFMCommunicate OK [09:14:44]CreateOFDProtocolMessage done [09:14:44]OFDSenderStorePacket 33254 [09:14:44]StoreOFDPacket docnum=33254 [09:14:44]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 87 01 00 00 BD B1 7F 01 D6 D8 5A 03 01 00 03 00 73 01 1E 04 01 00 01 23 04 55 00 8A 04 08 00 34 38 37 34 34 37 31 33 06 04 16 00 4C 44 20 43 6F 6D 70 61 63 74 20 50 75 72 70 6C 65 20 42 65 61 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F4 33 00 00 00 00 13 04 06 00 F4 33 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 66 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E9 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E8 0A 00 00 00 00 07 04 06 00 BC 66 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 A7 A2 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 E6 81 00 00 35 04 06 00 52 27 55 B7 8D EC 73 FD 10 7D B6 0C CF 0B [09:14:44]CheckFolder [09:14:44]dirname=/storage/ofd_packets [09:14:44]CheckFolder done [09:14:44]ProducePacketName [09:14:44]name=ofd_packets/00033254 [09:14:44]NVStorageSaveData ofd_packets/00033254 [09:14:44]File name is /storage/ofd_packets/00033254 [09:14:44]Write 421 bytes [09:14:44]NVStorageSaveData done [09:14:44]OFDSenderStorePacket done [09:14:44]KKMCreateOFDPacket done [09:14:44]NVStorageSaveData kkm_last_timestamp [09:14:44]File name is /storage/kkm_last_timestamp [09:14:44]Write 4 bytes [09:14:44]NVStorageSaveData done [09:14:44]ExternCall_PrintAddStr [09:14:44]wPrintStart [09:14:44]Write to MH i2c: 01 00 00 C8 8B 53 [09:14:44]Write i2c OK [09:14:44]MH_I2C_Read... [09:14:44]Read from MH i2c: 01 [09:14:44]MH_I2C_Read... [09:14:44]Read from MH i2c: 01 07 00 [09:14:44]MH_I2C_Read... [09:14:44]Read from MH i2c: 01 07 00 C8 8B 00 00 00 00 00 FF 0F 68 [09:14:44]RasterBufferAndPrint [09:14:44]line Счет N : (3)169094 [09:14:44]line ИНН: 02508201610067 [09:14:44]line Контрольно-Кассовый Чек [09:14:44]line ПРОДАЖА [09:14:45]line Товар: 48744713 [09:14:45]line LD Compact Purple Beat [09:14:45]line 1.000 * 133.00 [09:14:45]line = 133.00 [09:14:45]line НДС 12% НСП 1% [09:14:45]line > о реализуемом товаре [09:14:45]line Товар: 2000036220012 [09:14:45]line Кофе Капучино XL(GABB TRADE) [09:14:45]line 1.000 * 130.00 [09:14:45]line = 130.00 [09:14:45]line НДС 12% НСП 1% [09:14:45]line > о реализуемом товаре [09:14:45]line ИТОГО: 263.00 [09:14:45]line НСП 1% : 2.33 [09:14:45]line НДС 12% : 27.92 [09:14:45]line Наличными: 263.00 [09:14:45]line Безнал.: 0.00 [09:14:45]line Место: АЗС № 77 "Партнер Нефть" [09:14:45]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [09:14:45]line СНО: Общий режим [09:14:45]line Чек 9 11.07.2024 09:15 [09:14:45]line Смена: 432 ФФД: 1.0 [09:14:45]line ЗНМ: 0300000122 [09:14:45]line РНМ: 0000000000093033 [09:14:45]line Версия ККМ: 001 [09:14:45]line ФМ: 0000000000875104 [09:14:45]line ФД: 33254 [09:14:45]line ФПД: 90328895294956 [09:14:45]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T091519&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33254&fm=90328895294956&tin=02508201610067®Number=0000000000093033&sum=26300 [09:14:45]line 0 [09:14:45]OFD Sender: Processing packet 33254 [packets to send 6, broken 5] [09:14:45]ProducePacketName [09:14:45]name=ofd_packets/00033254 [09:14:45]OFD Sender: To server: pG, [09:14:45]CommunicateWithHost lk.salyk.kg:30040 [09:14:45]ConnectInit lk.salyk.kg [09:14:45]written 0, free lines is 4095 [09:14:45]Connected sock=10 [09:14:45]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 87 01 00 00 BD B1 7F 01 D6 D8 5A 03 01 00 03 00 73 01 1E 04 01 00 01 23 04 55 00 8A 04 08 00 34 38 37 34 34 37 31 33 06 04 16 00 4C 44 20 43 6F 6D 70 61 63 74 20 50 75 72 70 6C 65 20 42 65 61 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F4 33 00 00 00 00 13 04 06 00 F4 33 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 66 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E9 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E8 0A 00 00 00 00 07 04 06 00 BC 66 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 A7 A2 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 E6 81 00 00 35 04 06 00 52 27 55 B7 8D EC 73 FD 10 7D B6 0C CF 0B [09:14:45]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 31 8F 47 00 DB AB A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 E6 81 00 00 F4 03 04 00 57 4D 8F 66 B6 04 01 00 00 87 F9 D3 B3 9D 1E 6D C5 [09:14:45]CommunicateWithHost err = 0 [09:14:45]CheckOFDResponse [09:14:45]1017 (14) - 77093643461234 [09:14:45]1041 (16) - 0000000000875104 [09:14:45]1040 (4) - 33254 [09:14:45]1012 (4) - 11.07.2024 03:11 [09:14:45]1206 (1) - 0 [09:14:45]OFD Sender: Remove packet 33254 [09:14:45]ProducePacketName [09:14:45]name=ofd_packets/00033254 [09:14:45]NVStorageDeleteData [09:14:45]Write to MH i2c: 01 00 00 F7 8B 82 [09:14:45]Write i2c OK [09:14:45]MH_I2C_Read... [09:14:45]Read from MH i2c: 01 [09:14:45]MH_I2C_Read... [09:14:45]Read from MH i2c: 01 07 00 [09:14:45]MH_I2C_Read... [09:14:45]Read from MH i2c: 01 07 00 F7 8B 00 00 00 00 00 8E 0C 23 [09:14:45]RasterBufferAndPrint [09:14:45]line [09:14:45]line [09:14:45]line [09:14:45]line [09:14:45]line [09:14:45]written 0, free lines is 3220 [09:14:45]MH_Cut [09:14:45]Write to MH i2c: D1 01 00 FE 8B 01 5B [09:14:45]Write i2c OK [09:14:45]MH_I2C_Read... [09:14:45]Read from MH i2c: D1 [09:14:45]MH_I2C_Read... [09:14:45]Read from MH i2c: D1 01 00 [09:14:45]MH_I2C_Read... [09:14:45]Read from MH i2c: D1 01 00 FE 8B 00 5A [09:14:45]Write to MH i2c: 01 00 00 FF 8B 8A [09:14:45]Write i2c OK [09:14:45]MH_I2C_Read... [09:14:45]OFD Sender: No OFD packet to send [09:14:46]*** Cut start [09:14:46]*** Partial cut [09:14:46]*** CUTSNS_PIN = 1 [09:14:46]*** CUTSNS_PIN = 0 [09:14:46]*** Brake cut motor [09:14:47]Read from MH i2c: 01 [09:14:47]MH_I2C_Read... [09:14:47]*** Stop cut motor [09:14:47]*** Cut end [09:14:47]Read from MH i2c: 01 07 00 [09:14:47]MH_I2C_Read... [09:14:47]Read from MH i2c: 01 07 00 FF 8B 00 00 00 00 00 FF 0F 9F [09:14:47]process_action close_receipt done [09:14:47]requested_data is exist [09:14:47]produce_requested_data [09:14:47]requested_item fm.sn is exist - process it [09:14:47]wFMCommunicate request_size=4 [09:14:47]MH_SAM_APDU [09:14:47]CAPDU: 80 11 00 00 [09:14:47]Write to MH i2c: E2 08 00 00 8C 80 11 00 00 00 00 00 00 06 [09:14:47]Write i2c OK [09:14:47]MH_I2C_Read... [09:14:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:14:47]Read from MH i2c: E2 [09:14:47]MH_I2C_Read... [09:14:47]Read from MH i2c: E2 17 00 [09:14:47]MH_I2C_Read... [09:14:47]Read from MH i2c: E2 17 00 00 8C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 52 [09:14:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [09:14:47]wFMCommunicate OK [09:14:47]requested_item fd.num is exist - process it [09:14:47]SAM_PROTO_GetFieldsCounters [09:14:47]wFMCommunicate request_size=4 [09:14:47]MH_SAM_APDU [09:14:47]CAPDU: 80 13 00 00 [09:14:47]Write to MH i2c: E2 08 00 01 8C 80 13 00 00 00 00 00 00 09 [09:14:47]Write i2c OK [09:14:47]MH_I2C_Read... [09:14:47]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:14:47]Read from MH i2c: E2 [09:14:47]MH_I2C_Read... [09:14:47]Read from MH i2c: E2 62 00 [09:14:47]MH_I2C_Read... [09:14:47]Read from MH i2c: E2 62 00 01 8C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 E6 81 00 00 0E 04 04 00 B0 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 4F [09:14: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 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 E6 81 00 00 0E 04 04 00 B0 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 [09:14:47]wFMCommunicate OK [09:14:47]SAM_PROTO_GetFieldsCounters done [09:14:47]requested_item shift.num is exist - process it [09:14:47]requested_item shift.opened is exist - process it [09:14:47]req_shift_opened [09:14:47]FM_GetShiftState [09:14:47]SAM_PROTO_GetShiftState [09:14:47]wFMCommunicate request_size=4 [09:14:47]MH_SAM_APDU [09:14:47]CAPDU: 80 13 01 00 [09:14:47]Write to MH i2c: E2 08 00 02 8C 80 13 01 00 00 00 00 00 0B [09:14:47]Write i2c OK [09:14:47]MH_I2C_Read... [09:14:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:14:47]Read from MH i2c: E2 [09:14:47]MH_I2C_Read... [09:14:47]Read from MH i2c: E2 0E 00 [09:14:47]MH_I2C_Read... [09:14:47]Read from MH i2c: E2 0E 00 02 8C 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 3C [09:14:47]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [09:14:47]wFMCommunicate OK [09:14:47]SAM_PROTO_GetShiftState done [09:14:47]FM_GetShiftState done [09:14:47]req_shift_opened done [09:14:47]requested_item shift.open_date is exist - process it [09:14:47]req_shift_open_date [09:14:47]req_shift_open_date done [09:14:47]produce_requested_data done [09:14:47]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33254,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398} [09:14:47]process_action_free close_receipt [09:14:47]json_value_free [09:14:47]json_value_free done [09:14:47]process_json_proto returns [09:14:47]Send response to host [09:14:47]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33254,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398}}} [09:14:47]free response buf [09:14:47]execute_script done [09:14:47]execute_script returns [09:14:47]free content buf [09:14:47]Sock 9.Close socket [09:14:47]Sock 9.Thread stoped [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:01]OFD Sender: No OFD packet to send [09:17:06]OFD Sender: No OFD packet to send [09:17:11]OFD Sender: No OFD packet to send [09:17:16]OFD Sender: No OFD packet to send [09:17:21]OFD Sender: No OFD packet to send [09:17:26]OFD Sender: No OFD packet to send [09:17:31]OFD Sender: No OFD packet to send [09:17:36]OFD Sender: No OFD packet to send [09:17:41]OFD Sender: No OFD packet to send [09:17:46]OFD Sender: No OFD packet to send [09:17:51]OFD Sender: No OFD packet to send [09:17:56]OFD Sender: No OFD packet to send [09:18:01]OFD Sender: No OFD packet to send [09:18:06]OFD Sender: No OFD packet to send [09:18:11]OFD Sender: No OFD packet to send [09:18:16]OFD Sender: No OFD packet to send [09:18:21]OFD Sender: No OFD packet to send [09:18:26]OFD Sender: No OFD packet to send [09:18:31]OFD Sender: No OFD packet to send [09:18:36]OFD Sender: No OFD packet to send [09:18:41]OFD Sender: No OFD packet to send [09:18:46]OFD Sender: No OFD packet to send [09:18:51]OFD Sender: No OFD packet to send [09:18:56]OFD Sender: No OFD packet to send [09:19:01]OFD Sender: No OFD packet to send [09:19:06]OFD Sender: No OFD packet to send [09:19:07]accept exits with 8 [09:19:07]New connection [09:19:07]New thread 3066699108 created [09:19:07]Thread 3066842468 joined [09:19:07]Waiting for new connection... [09:19:07] Sock 8.Parse request [09:19:07]Sock 8.Check first char [09:19:07]Sock 8.First char is OK [09:19:07]request: POST /json_proto HTTP/1.0 [09:19:07]Method: POST [09:19:07]URL: /json_proto [09:19:07]Method is POST - this is cgi request [09:19:07]url: /json_proto [09:19:07]query_string will be loaded in cgi processing [09:19:07]execute_cgi json_proto POST (null) [09:19:07]execute_cgi path=json_proto method=POST [09:19:07]POST find Content-Length [09:19:07]Host: 172.17.35.196:8080 [09:19:07]Content-Length: 215 [09:19:07]Content-Type: application/json [09:19:07] [09:19:07]POST finish read [09:19:07]Found Content-Length = 215 [09:19:07]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" ] } } [09:19:07]execute_script... [09:19:07]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" ] } } [09:19:07]POST & json_proto [09:19:07]process_json_proto [09:19:07]json parsed OK: [09:19:07]protocol is kg_v1.0 [09:19:07]action value=get_value [09:19:07]process_action get_value [09:19:07]cmd_get_value [09:19:07]process_action get_value done [09:19:07]requested_data is exist [09:19:07]produce_requested_data [09:19:07]requested_item kkm.sn is exist - process it [09:19:07]requested_item kkm.ver is exist - process it [09:19:07]requested_item fm.sn is exist - process it [09:19:07]wFMCommunicate request_size=4 [09:19:07]MH_SAM_APDU [09:19:07]CAPDU: 80 11 00 00 [09:19:07]Write to MH i2c: E2 08 00 03 8C 80 11 00 00 00 00 00 00 09 [09:19:07]Write i2c OK [09:19:07]MH_I2C_Read... [09:19:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:19:07]Read from MH i2c: E2 [09:19:07]MH_I2C_Read... [09:19:07]Read from MH i2c: E2 17 00 [09:19:07]MH_I2C_Read... [09:19:07]Read from MH i2c: E2 17 00 03 8C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 55 [09:19:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [09:19:07]wFMCommunicate OK [09:19:07]requested_item fd.num is exist - process it [09:19:07]SAM_PROTO_GetFieldsCounters [09:19:07]wFMCommunicate request_size=4 [09:19:07]MH_SAM_APDU [09:19:07]CAPDU: 80 13 00 00 [09:19:07]Write to MH i2c: E2 08 00 04 8C 80 13 00 00 00 00 00 00 0C [09:19:07]Write i2c OK [09:19:07]MH_I2C_Read... [09:19:07]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:19:07]Read from MH i2c: E2 [09:19:07]MH_I2C_Read... [09:19:07]Read from MH i2c: E2 62 00 [09:19:07]MH_I2C_Read... [09:19:07]Read from MH i2c: E2 62 00 04 8C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 E6 81 00 00 0E 04 04 00 B0 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 52 [09:19: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 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 E6 81 00 00 0E 04 04 00 B0 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 [09:19:07]wFMCommunicate OK [09:19:07]SAM_PROTO_GetFieldsCounters done [09:19:07]requested_item shift.num is exist - process it [09:19:07]requested_item shift.opened is exist - process it [09:19:07]req_shift_opened [09:19:07]FM_GetShiftState [09:19:07]SAM_PROTO_GetShiftState [09:19:07]wFMCommunicate request_size=4 [09:19:07]MH_SAM_APDU [09:19:07]CAPDU: 80 13 01 00 [09:19:07]Write to MH i2c: E2 08 00 05 8C 80 13 01 00 00 00 00 00 0E [09:19:07]Write i2c OK [09:19:07]MH_I2C_Read... [09:19:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:19:07]Read from MH i2c: E2 [09:19:07]MH_I2C_Read... [09:19:07]Read from MH i2c: E2 0E 00 [09:19:07]MH_I2C_Read... [09:19:07]Read from MH i2c: E2 0E 00 05 8C 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 3F [09:19:07]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [09:19:07]wFMCommunicate OK [09:19:07]SAM_PROTO_GetShiftState done [09:19:07]FM_GetShiftState done [09:19:07]req_shift_opened done [09:19:07]requested_item shift.open_date is exist - process it [09:19:07]req_shift_open_date [09:19:07]req_shift_open_date done [09:19:07]produce_requested_data done [09:19:07]produce_requested_data return {"kkm.sn":"0300000122","kkm.ver":"001","fm.sn":"0000000000875104","fd.num":33254,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398} [09:19:07]process_action_free get_value [09:19:07]json_value_free [09:19:07]json_value_free done [09:19:07]process_json_proto returns [09:19:07]Send response to host [09:19:07]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000122","kkm.ver":"001","fm.sn":"0000000000875104","fd.num":33254,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398}}} [09:19:07]free response buf [09:19:07]execute_script done [09:19:07]execute_script returns [09:19:07]free content buf [09:19:07]Sock 8.Close socket [09:19:07]Sock 8.Thread stoped [09:19:07]accept exits with 9 [09:19:07]New connection [09:19:07]New thread 3066842468 created [09:19:07]Thread 3066699108 joined [09:19:07]Waiting for new connection... [09:19:07] Sock 9.Parse request [09:19:07]Sock 9.Check first char [09:19:07]Sock 9.First char is OK [09:19:07]request: POST /json_proto HTTP/1.0 [09:19:07]Method: POST [09:19:07]URL: /json_proto [09:19:07]Method is POST - this is cgi request [09:19:07]url: /json_proto [09:19:07]query_string will be loaded in cgi processing [09:19:07]execute_cgi json_proto POST (null) [09:19:07]execute_cgi path=json_proto method=POST [09:19:07]POST find Content-Length [09:19:07]Host: 172.17.35.196:8080 [09:19:07]Content-Length: 331 [09:19:07]Content-Type: application/json [09:19:07] [09:19:07]POST finish read [09:19:07]Found Content-Length = 331 [09:19:07]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [09:19:07]execute_script... [09:19:07]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [09:19:07]POST & json_proto [09:19:07]process_json_proto [09:19:07]json parsed OK: [09:19:07]protocol is kg_v1.0 [09:19:07]action value=get_value [09:19:07]process_action get_value [09:19:07]cmd_get_value [09:19:07]process_action get_value done [09:19:07]requested_data is exist [09:19:07]produce_requested_data [09:19:07]requested_item fm.sale.total is exist - process it [09:19:07]SAM_PROTO_GetFMData [09:19:07]wFMCommunicate request_size=4 [09:19:07]MH_SAM_APDU [09:19:07]CAPDU: 80 13 03 00 [09:19:07]Write to MH i2c: E2 08 00 06 8C 80 13 03 00 00 00 00 00 11 [09:19:07]Write i2c OK [09:19:07]MH_I2C_Read... [09:19:08]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [09:19:08]Read from MH i2c: E2 [09:19:08]MH_I2C_Read... [09:19:08]Read from MH i2c: E2 FD 00 [09:19:08]MH_I2C_Read... [09:19:08]Read from MH i2c: E2 FD 00 06 8C 00 C4 04 85 04 C0 04 6E 04 04 00 86 7E 00 00 69 04 A0 00 6F 04 04 00 A5 7D 00 00 B1 04 04 00 79 A9 64 3F 70 04 04 00 A0 F4 CD 34 72 04 04 00 D9 B4 96 0A 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 F1 8C BB 06 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 7D 95 8F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 90 00 8C [09:19:08]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 86 7E 00 00 69 04 A0 00 6F 04 04 00 A5 7D 00 00 B1 04 04 00 79 A9 64 3F 70 04 04 00 A0 F4 CD 34 72 04 04 00 D9 B4 96 0A 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 F1 8C BB 06 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 7D 95 8F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 90 00 [09:19:08]wFMCommunicate OK [09:19:08]wFMCommunicate request_size=4 [09:19:08]MH_SAM_APDU [09:19:08]CAPDU: 80 17 00 00 [09:19:08]Write to MH i2c: E2 08 00 07 8C 80 17 00 00 00 00 00 00 13 [09:19:08]Write i2c OK [09:19:08]MH_I2C_Read... [09:19:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:19:08]Read from MH i2c: E2 [09:19:08]MH_I2C_Read... [09:19:08]Read from MH i2c: E2 FD 00 [09:19:08]MH_I2C_Read... [09:19:08]Read from MH i2c: E2 FD 00 07 8C 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 D0 [09:19:08]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [09:19:08]wFMCommunicate OK [09:19:08]wFMCommunicate request_size=4 [09:19:08]MH_SAM_APDU [09:19:08]CAPDU: 80 17 00 00 [09:19:08]Write to MH i2c: E2 08 00 08 8C 80 17 00 00 00 00 00 00 14 [09:19:08]Write i2c OK [09:19:08]MH_I2C_Read... [09:19:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:19:08]Read from MH i2c: E2 [09:19:08]MH_I2C_Read... [09:19:08]Read from MH i2c: E2 FD 00 [09:19:08]MH_I2C_Read... [09:19:08]Read from MH i2c: E2 FD 00 08 8C 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 29 [09:19:08]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [09:19:08]wFMCommunicate OK [09:19:08]wFMCommunicate request_size=4 [09:19:08]MH_SAM_APDU [09:19:08]CAPDU: 80 17 00 00 [09:19:08]Write to MH i2c: E2 08 00 09 8C 80 17 00 00 00 00 00 00 15 [09:19:08]Write i2c OK [09:19:08]MH_I2C_Read... [09:19:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:19:09]Read from MH i2c: E2 [09:19:09]MH_I2C_Read... [09:19:09]Read from MH i2c: E2 FD 00 [09:19:09]MH_I2C_Read... [09:19:09]Read from MH i2c: E2 FD 00 09 8C 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 8D [09:19:09]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [09:19:09]wFMCommunicate OK [09:19:09]wFMCommunicate request_size=4 [09:19:09]MH_SAM_APDU [09:19:09]CAPDU: 80 17 00 00 [09:19:09]Write to MH i2c: E2 08 00 0A 8C 80 17 00 00 00 00 00 00 16 [09:19:09]Write i2c OK [09:19:09]MH_I2C_Read... [09:19:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [09:19:09]Read from MH i2c: E2 [09:19:09]MH_I2C_Read... [09:19:09]Read from MH i2c: E2 E1 00 [09:19:09]MH_I2C_Read... [09:19:09]Read from MH i2c: E2 E1 00 0A 8C 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 04 [09:19:09]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [09:19:09]wFMCommunicate OK [09:19:09]SAM_PROTO_GetFMData done [09:19:09]requested_item fm.sale_refund.total is exist - process it [09:19:09]requested_item fm.buy.total is exist - process it [09:19:09]requested_item shift.sale.total is exist - process it [09:19:09]SAM_PROTO_GetShiftData [09:19:09]wFMCommunicate request_size=4 [09:19:09]MH_SAM_APDU [09:19:09]CAPDU: 80 13 02 00 [09:19:09]Write to MH i2c: E2 08 00 0B 8C 80 13 02 00 00 00 00 00 15 [09:19:09]Write i2c OK [09:19:09]MH_I2C_Read... [09:19:09]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [09:19:09]Read from MH i2c: E2 [09:19:09]MH_I2C_Read... [09:19:09]Read from MH i2c: E2 FD 00 [09:19:09]MH_I2C_Read... [09:19:09]Read from MH i2c: E2 FD 00 0B 8C 00 AD 04 AA 04 A9 04 6E 04 04 00 09 00 00 00 69 04 9A 00 6F 04 04 00 09 00 00 00 B1 04 03 00 20 D8 02 70 04 03 00 24 D5 01 72 04 03 00 FC 02 01 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 52 4D 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 72 06 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 EF [09:19:09]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 09 00 00 00 69 04 9A 00 6F 04 04 00 09 00 00 00 B1 04 03 00 20 D8 02 70 04 03 00 24 D5 01 72 04 03 00 FC 02 01 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 52 4D 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 72 06 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 [09:19:09]wFMCommunicate OK [09:19:09]wFMCommunicate request_size=4 [09:19:09]MH_SAM_APDU [09:19:09]CAPDU: 80 17 00 00 [09:19:09]Write to MH i2c: E2 08 00 0C 8C 80 17 00 00 00 00 00 00 18 [09:19:09]Write i2c OK [09:19:09]MH_I2C_Read... [09:19:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:19:10]Read from MH i2c: E2 [09:19:10]MH_I2C_Read... [09:19:10]Read from MH i2c: E2 FD 00 [09:19:10]MH_I2C_Read... [09:19:10]Read from MH i2c: E2 FD 00 0C 8C 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 2A [09:19:10]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [09:19:10]wFMCommunicate OK [09:19:10]wFMCommunicate request_size=4 [09:19:10]MH_SAM_APDU [09:19:10]CAPDU: 80 17 00 00 [09:19:10]Write to MH i2c: E2 08 00 0D 8C 80 17 00 00 00 00 00 00 19 [09:19:10]Write i2c OK [09:19:10]MH_I2C_Read... [09:19:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:19:10]Read from MH i2c: E2 [09:19:10]MH_I2C_Read... [09:19:10]Read from MH i2c: E2 FD 00 [09:19:10]MH_I2C_Read... [09:19:10]Read from MH i2c: E2 FD 00 0D 8C 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 DD [09:19:10]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 [09:19:10]wFMCommunicate OK [09:19:10]wFMCommunicate request_size=4 [09:19:10]MH_SAM_APDU [09:19:10]CAPDU: 80 17 00 00 [09:19:10]Write to MH i2c: E2 08 00 0E 8C 80 17 00 00 00 00 00 00 1A [09:19:10]Write i2c OK [09:19:10]MH_I2C_Read... [09:19:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:19:10]Read from MH i2c: E2 [09:19:10]MH_I2C_Read... [09:19:10]Read from MH i2c: E2 FD 00 [09:19:10]MH_I2C_Read... [09:19:10]Read from MH i2c: E2 FD 00 0E 8C 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 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 8F [09:19:10]RAPDU: 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 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 [09:19:10]wFMCommunicate OK [09:19:10]wFMCommunicate request_size=4 [09:19:10]MH_SAM_APDU [09:19:10]CAPDU: 80 17 00 00 [09:19:10]Write to MH i2c: E2 08 00 0F 8C 80 17 00 00 00 00 00 00 1B [09:19:10]Write i2c OK [09:19:10]MH_I2C_Read... [09:19:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [09:19:10]Read from MH i2c: E2 [09:19:10]MH_I2C_Read... [09:19:10]Read from MH i2c: E2 CA 00 [09:19:10]MH_I2C_Read... [09:19:10]Read from MH i2c: E2 CA 00 0F 8C 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 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [09:19:10]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 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [09:19:10]wFMCommunicate OK [09:19:10]SAM_PROTO_GetShiftData done [09:19:10]requested_item shift.sale.total_cash is exist - process it [09:19:10]requested_item shift.sale_refund.total is exist - process it [09:19:10]requested_item shift.sale_refund.total_cash is exist - process it [09:19:10]requested_item shift.buy.total is exist - process it [09:19:10]requested_item shift.buy.total_cash is exist - process it [09:19:10]produce_requested_data done [09:19:10]produce_requested_data return {"fm.sale.total":10635615.93,"fm.sale_refund.total":365383.00,"fm.buy.total":0.00,"shift.sale.total":1864.00,"shift.sale.total_cash":1201.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} [09:19:10]process_action_free get_value [09:19:10]json_value_free [09:19:10]json_value_free done [09:19:10]process_json_proto returns [09:19:10]Send response to host [09:19:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":10635615.93,"fm.sale_refund.total":365383.00,"fm.buy.total":0.00,"shift.sale.total":1864.00,"shift.sale.total_cash":1201.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}}} [09:19:10]free response buf [09:19:10]execute_script done [09:19:10]execute_script returns [09:19:10]free content buf [09:19:10]Sock 9.Close socket [09:19:10]Sock 9.Thread stoped [09:19:11]accept exits with 8 [09:19:11]New connection [09:19:11]New thread 3066699108 created [09:19:11]Thread 3066842468 joined [09:19:11]Waiting for new connection... [09:19:11] Sock 8.Parse request [09:19:11]Sock 8.Check first char [09:19:11]Sock 8.First char is OK [09:19:11]request: POST /json_proto HTTP/1.0 [09:19:11]Method: POST [09:19:11]URL: /json_proto [09:19:11]Method is POST - this is cgi request [09:19:11]url: /json_proto [09:19:11]query_string will be loaded in cgi processing [09:19:11]execute_cgi json_proto POST (null) [09:19:11]execute_cgi path=json_proto method=POST [09:19:11]POST find Content-Length [09:19:11]Host: 172.17.35.196:8080 [09:19:11]Content-Length: 331 [09:19:11]Content-Type: application/json [09:19:11] [09:19:11]POST finish read [09:19:11]Found Content-Length = 331 [09:19:11]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [09:19:11]execute_script... [09:19:11]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [09:19:11]POST & json_proto [09:19:11]process_json_proto [09:19:11]json parsed OK: [09:19:11]protocol is kg_v1.0 [09:19:11]action value=get_value [09:19:11]process_action get_value [09:19:11]cmd_get_value [09:19:11]process_action get_value done [09:19:11]requested_data is exist [09:19:11]produce_requested_data [09:19:11]requested_item fm.sale.total is exist - process it [09:19:11]SAM_PROTO_GetFMData [09:19:11]wFMCommunicate request_size=4 [09:19:11]MH_SAM_APDU [09:19:11]CAPDU: 80 13 03 00 [09:19:11]Write to MH i2c: E2 08 00 10 8C 80 13 03 00 00 00 00 00 1B [09:19:11]Write i2c OK [09:19:11]MH_I2C_Read... [09:19:11]OFD Sender: No OFD packet to send [09:19:11]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [09:19:11]Read from MH i2c: E2 [09:19:11]MH_I2C_Read... [09:19:11]Read from MH i2c: E2 FD 00 [09:19:11]MH_I2C_Read... [09:19:11]Read from MH i2c: E2 FD 00 10 8C 00 C4 04 85 04 C0 04 6E 04 04 00 86 7E 00 00 69 04 A0 00 6F 04 04 00 A5 7D 00 00 B1 04 04 00 79 A9 64 3F 70 04 04 00 A0 F4 CD 34 72 04 04 00 D9 B4 96 0A 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 F1 8C BB 06 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 7D 95 8F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 90 00 96 [09:19:11]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 86 7E 00 00 69 04 A0 00 6F 04 04 00 A5 7D 00 00 B1 04 04 00 79 A9 64 3F 70 04 04 00 A0 F4 CD 34 72 04 04 00 D9 B4 96 0A 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 F1 8C BB 06 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 7D 95 8F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 90 00 [09:19:11]wFMCommunicate OK [09:19:11]wFMCommunicate request_size=4 [09:19:11]MH_SAM_APDU [09:19:11]CAPDU: 80 17 00 00 [09:19:11]Write to MH i2c: E2 08 00 11 8C 80 17 00 00 00 00 00 00 1D [09:19:11]Write i2c OK [09:19:11]MH_I2C_Read... [09:19:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:19:11]Read from MH i2c: E2 [09:19:11]MH_I2C_Read... [09:19:11]Read from MH i2c: E2 FD 00 [09:19:11]MH_I2C_Read... [09:19:11]Read from MH i2c: E2 FD 00 11 8C 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 DA [09:19:11]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [09:19:12]wFMCommunicate OK [09:19:12]wFMCommunicate request_size=4 [09:19:12]MH_SAM_APDU [09:19:12]CAPDU: 80 17 00 00 [09:19:12]Write to MH i2c: E2 08 00 12 8C 80 17 00 00 00 00 00 00 1E [09:19:12]Write i2c OK [09:19:12]MH_I2C_Read... [09:19:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:19:12]Read from MH i2c: E2 [09:19:12]MH_I2C_Read... [09:19:12]Read from MH i2c: E2 FD 00 [09:19:12]MH_I2C_Read... [09:19:12]Read from MH i2c: E2 FD 00 12 8C 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 33 [09:19:12]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [09:19:12]wFMCommunicate OK [09:19:12]wFMCommunicate request_size=4 [09:19:12]MH_SAM_APDU [09:19:12]CAPDU: 80 17 00 00 [09:19:12]Write to MH i2c: E2 08 00 13 8C 80 17 00 00 00 00 00 00 1F [09:19:12]Write i2c OK [09:19:12]MH_I2C_Read... [09:19:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:19:12]Read from MH i2c: E2 [09:19:12]MH_I2C_Read... [09:19:12]Read from MH i2c: E2 FD 00 [09:19:12]MH_I2C_Read... [09:19:12]Read from MH i2c: E2 FD 00 13 8C 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 97 [09:19:12]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [09:19:12]wFMCommunicate OK [09:19:12]wFMCommunicate request_size=4 [09:19:12]MH_SAM_APDU [09:19:12]CAPDU: 80 17 00 00 [09:19:12]Write to MH i2c: E2 08 00 14 8C 80 17 00 00 00 00 00 00 20 [09:19:12]Write i2c OK [09:19:12]MH_I2C_Read... [09:19:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [09:19:13]Read from MH i2c: E2 [09:19:13]MH_I2C_Read... [09:19:13]Read from MH i2c: E2 E1 00 [09:19:13]MH_I2C_Read... [09:19:13]Read from MH i2c: E2 E1 00 14 8C 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 0E [09:19:13]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [09:19:13]wFMCommunicate OK [09:19:13]SAM_PROTO_GetFMData done [09:19:13]requested_item fm.sale_refund.total is exist - process it [09:19:13]requested_item fm.buy.total is exist - process it [09:19:13]requested_item shift.sale.total is exist - process it [09:19:13]SAM_PROTO_GetShiftData [09:19:13]wFMCommunicate request_size=4 [09:19:13]MH_SAM_APDU [09:19:13]CAPDU: 80 13 02 00 [09:19:13]Write to MH i2c: E2 08 00 15 8C 80 13 02 00 00 00 00 00 1F [09:19:13]Write i2c OK [09:19:13]MH_I2C_Read... [09:19:13]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [09:19:13]Read from MH i2c: E2 [09:19:13]MH_I2C_Read... [09:19:13]Read from MH i2c: E2 FD 00 [09:19:13]MH_I2C_Read... [09:19:13]Read from MH i2c: E2 FD 00 15 8C 00 AD 04 AA 04 A9 04 6E 04 04 00 09 00 00 00 69 04 9A 00 6F 04 04 00 09 00 00 00 B1 04 03 00 20 D8 02 70 04 03 00 24 D5 01 72 04 03 00 FC 02 01 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 52 4D 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 72 06 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 F9 [09:19:13]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 09 00 00 00 69 04 9A 00 6F 04 04 00 09 00 00 00 B1 04 03 00 20 D8 02 70 04 03 00 24 D5 01 72 04 03 00 FC 02 01 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 52 4D 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 72 06 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 [09:19:13]wFMCommunicate OK [09:19:13]wFMCommunicate request_size=4 [09:19:13]MH_SAM_APDU [09:19:13]CAPDU: 80 17 00 00 [09:19:13]Write to MH i2c: E2 08 00 16 8C 80 17 00 00 00 00 00 00 22 [09:19:13]Write i2c OK [09:19:13]MH_I2C_Read... [09:19:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:19:13]Read from MH i2c: E2 [09:19:13]MH_I2C_Read... [09:19:13]Read from MH i2c: E2 FD 00 [09:19:13]MH_I2C_Read... [09:19:14]Read from MH i2c: E2 FD 00 16 8C 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 34 [09:19:14]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [09:19:14]wFMCommunicate OK [09:19:14]wFMCommunicate request_size=4 [09:19:14]MH_SAM_APDU [09:19:14]CAPDU: 80 17 00 00 [09:19:14]Write to MH i2c: E2 08 00 17 8C 80 17 00 00 00 00 00 00 23 [09:19:14]Write i2c OK [09:19:14]MH_I2C_Read... [09:19:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:19:14]Read from MH i2c: E2 [09:19:14]MH_I2C_Read... [09:19:14]Read from MH i2c: E2 FD 00 [09:19:14]MH_I2C_Read... [09:19:14]Read from MH i2c: E2 FD 00 17 8C 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 E7 [09:19:14]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 [09:19:14]wFMCommunicate OK [09:19:14]wFMCommunicate request_size=4 [09:19:14]MH_SAM_APDU [09:19:14]CAPDU: 80 17 00 00 [09:19:14]Write to MH i2c: E2 08 00 18 8C 80 17 00 00 00 00 00 00 24 [09:19:14]Write i2c OK [09:19:14]MH_I2C_Read... [09:19:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:19:14]Read from MH i2c: E2 [09:19:14]MH_I2C_Read... [09:19:14]Read from MH i2c: E2 FD 00 [09:19:14]MH_I2C_Read... [09:19:14]Read from MH i2c: E2 FD 00 18 8C 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 99 [09:19:14]RAPDU: 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 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 [09:19:14]wFMCommunicate OK [09:19:14]wFMCommunicate request_size=4 [09:19:14]MH_SAM_APDU [09:19:14]CAPDU: 80 17 00 00 [09:19:14]Write to MH i2c: E2 08 00 19 8C 80 17 00 00 00 00 00 00 25 [09:19:14]Write i2c OK [09:19:14]MH_I2C_Read... [09:19:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [09:19:15]Read from MH i2c: E2 [09:19:15]MH_I2C_Read... [09:19:15]Read from MH i2c: E2 CA 00 [09:19:15]MH_I2C_Read... [09:19:15]Read from MH i2c: E2 CA 00 19 8C 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 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 0A [09:19:15]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 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [09:19:15]wFMCommunicate OK [09:19:15]SAM_PROTO_GetShiftData done [09:19:15]requested_item shift.sale.total_cash is exist - process it [09:19:15]requested_item shift.sale_refund.total is exist - process it [09:19:15]requested_item shift.sale_refund.total_cash is exist - process it [09:19:15]requested_item shift.buy.total is exist - process it [09:19:15]requested_item shift.buy.total_cash is exist - process it [09:19:15]produce_requested_data done [09:19:15]produce_requested_data return {"fm.sale.total":10635615.93,"fm.sale_refund.total":365383.00,"fm.buy.total":0.00,"shift.sale.total":1864.00,"shift.sale.total_cash":1201.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} [09:19:15]process_action_free get_value [09:19:15]json_value_free [09:19:15]json_value_free done [09:19:15]process_json_proto returns [09:19:15]Send response to host [09:19:15]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":10635615.93,"fm.sale_refund.total":365383.00,"fm.buy.total":0.00,"shift.sale.total":1864.00,"shift.sale.total_cash":1201.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}}} [09:19:15]free response buf [09:19:15]execute_script done [09:19:15]execute_script returns [09:19:15]free content buf [09:19:15]Sock 8.Close socket [09:19:15]Sock 8.Thread stoped [09:19:15]accept exits with 9 [09:19:15]New connection [09:19:15]New thread 3066842468 created [09:19:15]Thread 3066699108 joined [09:19:15]Waiting for new connection... [09:19:15] Sock 9.Parse request [09:19:15]Sock 9.Check first char [09:19:15]Sock 9.First char is OK [09:19:15]request: POST /json_proto HTTP/1.0 [09:19:15]Method: POST [09:19:15]URL: /json_proto [09:19:15]Method is POST - this is cgi request [09:19:15]url: /json_proto [09:19:15]query_string will be loaded in cgi processing [09:19:15]execute_cgi json_proto POST (null) [09:19:15]execute_cgi path=json_proto method=POST [09:19:15]POST find Content-Length [09:19:15]Host: 172.17.35.196:8080 [09:19:15]Content-Length: 251 [09:19:15]Content-Type: application/json [09:19:15] [09:19:15]POST finish read [09:19:15]Found Content-Length = 251 [09:19:15]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u0410\u0448\u0438\u0440\u043E\u0432\u0430 \u0414. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:19:15]execute_script... [09:19:15]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u0410\u0448\u0438\u0440\u043E\u0432\u0430 \u0414. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:19:15]POST & json_proto [09:19:15]process_json_proto [09:19:15]json parsed OK: [09:19:15]protocol is kg_v1.0 [09:19:15]action value=x_report [09:19:15]process_action x_report [09:19:15]cmd_x_report [09:19:15]MH_GetDate [09:19:15]Write to MH i2c: F0 00 00 1A 8C 95 [09:19:15]Write i2c OK [09:19:15]MH_I2C_Read... [09:19:15]Read from MH i2c: F0 [09:19:15]MH_I2C_Read... [09:19:15]Read from MH i2c: F0 09 00 [09:19:15]MH_I2C_Read... [09:19:15]Read from MH i2c: F0 09 00 1A 8C 00 B7 A3 8F 66 AD 14 F4 65 07 [09:19:15]GetLastDocTimeStamp 1720689319 [09:19:15]current date 1720689591 [09:19:15]FM_GetShiftState [09:19:15]SAM_PROTO_GetShiftState [09:19:15]wFMCommunicate request_size=4 [09:19:15]MH_SAM_APDU [09:19:15]CAPDU: 80 13 01 00 [09:19:15]Write to MH i2c: E2 08 00 1B 8C 80 13 01 00 00 00 00 00 24 [09:19:15]Write i2c OK [09:19:15]MH_I2C_Read... [09:19:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:19:15]Read from MH i2c: E2 [09:19:15]MH_I2C_Read... [09:19:15]Read from MH i2c: E2 0E 00 [09:19:15]MH_I2C_Read... [09:19:15]Read from MH i2c: E2 0E 00 1B 8C 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 55 [09:19:15]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [09:19:15]wFMCommunicate OK [09:19:15]SAM_PROTO_GetShiftState done [09:19:15]FM_GetShiftState done [09:19:15]KKMCreateXReportDocument [09:19:15]Load OK [09:19:15]Malloc new data [09:19:15]MH_GetDate [09:19:15]Write to MH i2c: F0 00 00 1C 8C 97 [09:19:15]Write i2c OK [09:19:15]MH_I2C_Read... [09:19:15]Read from MH i2c: F0 [09:19:15]MH_I2C_Read... [09:19:15]Read from MH i2c: F0 09 00 [09:19:15]MH_I2C_Read... [09:19:15]Read from MH i2c: F0 09 00 1C 8C 00 B7 A3 8F 66 AD 14 F4 65 09 [09:19:15]Malloc new data [09:19:15]Malloc new data [09:19:15]wFMCommunicate request_size=4 [09:19:15]MH_SAM_APDU [09:19:15]CAPDU: 80 11 00 00 [09:19:15]Write to MH i2c: E2 08 00 1D 8C 80 11 00 00 00 00 00 00 23 [09:19:15]Write i2c OK [09:19:15]MH_I2C_Read... [09:19:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:19:15]Read from MH i2c: E2 [09:19:15]MH_I2C_Read... [09:19:15]Read from MH i2c: E2 17 00 [09:19:15]MH_I2C_Read... [09:19:15]Read from MH i2c: E2 17 00 1D 8C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 6F [09:19:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [09:19:15]wFMCommunicate OK [09:19:15]SAM_PROTO_GetFieldsCounters [09:19:15]wFMCommunicate request_size=4 [09:19:15]MH_SAM_APDU [09:19:15]CAPDU: 80 13 00 00 [09:19:15]Write to MH i2c: E2 08 00 1E 8C 80 13 00 00 00 00 00 00 26 [09:19:15]Write i2c OK [09:19:15]MH_I2C_Read... [09:19:15]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:19:15]Read from MH i2c: E2 [09:19:15]MH_I2C_Read... [09:19:15]Read from MH i2c: E2 62 00 [09:19:15]MH_I2C_Read... [09:19:15]Read from MH i2c: E2 62 00 1E 8C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 E6 81 00 00 0E 04 04 00 B0 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 6C [09:19:15]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 E6 81 00 00 0E 04 04 00 B0 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 [09:19:15]wFMCommunicate OK [09:19:15]SAM_PROTO_GetFieldsCounters done [09:19:15]Malloc new data [09:19:15]Malloc new data [09:19:15]Malloc new data [09:19:15]KKMCreateXReportDocument OK [09:19:15]KKMSetXReportData OK [09:19:15]KKMPrepareXReportFMData [09:19:15]SAM_PROTO_GetShiftData [09:19:15]wFMCommunicate request_size=4 [09:19:15]MH_SAM_APDU [09:19:15]CAPDU: 80 13 02 00 [09:19:15]Write to MH i2c: E2 08 00 1F 8C 80 13 02 00 00 00 00 00 29 [09:19:15]Write i2c OK [09:19:15]MH_I2C_Read... [09:19:16]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [09:19:16]Read from MH i2c: E2 [09:19:16]MH_I2C_Read... [09:19:16]Read from MH i2c: E2 FD 00 [09:19:16]MH_I2C_Read... [09:19:16]Read from MH i2c: E2 FD 00 1F 8C 00 AD 04 AA 04 A9 04 6E 04 04 00 09 00 00 00 69 04 9A 00 6F 04 04 00 09 00 00 00 B1 04 03 00 20 D8 02 70 04 03 00 24 D5 01 72 04 03 00 FC 02 01 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 52 4D 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 72 06 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 03 [09:19:16]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 09 00 00 00 69 04 9A 00 6F 04 04 00 09 00 00 00 B1 04 03 00 20 D8 02 70 04 03 00 24 D5 01 72 04 03 00 FC 02 01 00 OFD Sender: No OFD packet to send [09:19:16]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 52 4D 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 72 06 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 [09:19:16]wFMCommunicate OK [09:19:16]wFMCommunicate request_size=4 [09:19:16]MH_SAM_APDU [09:19:16]CAPDU: 80 17 00 00 [09:19:16]Write to MH i2c: E2 08 00 20 8C 80 17 00 00 00 00 00 00 2C [09:19:16]Write i2c OK [09:19:16]MH_I2C_Read... [09:19:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:19:16]Read from MH i2c: E2 [09:19:16]MH_I2C_Read... [09:19:16]Read from MH i2c: E2 FD 00 [09:19:16]MH_I2C_Read... [09:19:16]Read from MH i2c: E2 FD 00 20 8C 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 3E [09:19:16]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [09:19:16]wFMCommunicate OK [09:19:16]wFMCommunicate request_size=4 [09:19:16]MH_SAM_APDU [09:19:16]CAPDU: 80 17 00 00 [09:19:16]Write to MH i2c: E2 08 00 21 8C 80 17 00 00 00 00 00 00 2D [09:19:16]Write i2c OK [09:19:16]MH_I2C_Read... [09:19:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:19:17]Read from MH i2c: E2 [09:19:17]MH_I2C_Read... [09:19:17]Read from MH i2c: E2 FD 00 [09:19:17]MH_I2C_Read... [09:19:17]Read from MH i2c: E2 FD 00 21 8C 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 F1 [09:19:17]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 [09:19:17]wFMCommunicate OK [09:19:17]wFMCommunicate request_size=4 [09:19:17]MH_SAM_APDU [09:19:17]CAPDU: 80 17 00 00 [09:19:17]Write to MH i2c: E2 08 00 22 8C 80 17 00 00 00 00 00 00 2E [09:19:17]Write i2c OK [09:19:17]MH_I2C_Read... [09:19:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:19:17]Read from MH i2c: E2 [09:19:17]MH_I2C_Read... [09:19:17]Read from MH i2c: E2 FD 00 [09:19:17]MH_I2C_Read... [09:19:17]Read from MH i2c: E2 FD 00 22 8C 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 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 A3 [09:19:17]RAPDU: 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 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 [09:19:17]wFMCommunicate OK [09:19:17]wFMCommunicate request_size=4 [09:19:17]MH_SAM_APDU [09:19:17]CAPDU: 80 17 00 00 [09:19:17]Write to MH i2c: E2 08 00 23 8C 80 17 00 00 00 00 00 00 2F [09:19:17]Write i2c OK [09:19:17]MH_I2C_Read... [09:19:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [09:19:18]Read from MH i2c: E2 [09:19:18]MH_I2C_Read... [09:19:18]Read from MH i2c: E2 CA 00 [09:19:18]MH_I2C_Read... [09:19:18]Read from MH i2c: E2 CA 00 23 8C 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 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 14 [09:19:18]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 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [09:19:18]wFMCommunicate OK [09:19:18]SAM_PROTO_GetShiftData done [09:19:18]1194 (1193) - счетчики итогов смены [09:19:18] 1134 (4) - 9 - количество чеков со всеми признаками расчетов [09:19:18] 1129 (154) - счетчики операций «приход» [09:19:18] 1135 (4) - 9 - количество чеков по признаку расчетов [09:19:18] 1201 (3) - 1864.00 - общая итоговая сумма в чеках [09:19:18] 1136 (3) - 1201.00 - итоговая сумма в чеках наличными [09:19:18] 1138 (3) - 663.00 - итоговая сумма в чеках безналичными [09:19:18] 1024 (121) - суммы налогов [09:19:18] 1006 (9) - суммы НДС [09:19:18] 1010 (1) - 0% - код ставки НДС [09:19:18] 1011 (0) - 0.00 - сумма НДС по ставке [09:19:18] 1006 (11) - суммы НДС [09:19:18] 1010 (1) - 12% - код ставки НДС [09:19:18] 1011 (2) - 197.94 - сумма НДС по ставке [09:19:18] 1007 (9) - суммы НСП [09:19:18] 1014 (1) - 0% - код ставки НСП [09:19:18] 1015 (0) - 0.00 - сумма НСП по ставке [09:19:18] 1007 (11) - суммы НСП [09:19:18] 1014 (1) - 1% - код ставки НСП [09:19:18] 1015 (2) - 16.50 - сумма НСП по ставке [09:19:18] 1007 (9) - суммы НСП [09:19:18] 1014 (1) - 2% - код ставки НСП [09:19:18] 1015 (0) - 0.00 - сумма НСП по ставке [09:19:18] 1007 (9) - суммы НСП [09:19:18] 1014 (1) - 3% - код ставки НСП [09:19:18] 1015 (0) - 0.00 - сумма НСП по ставке [09:19:18] 1007 (9) - суммы НСП [09:19:18] 1014 (1) - 5% - код ставки НСП [09:19:18] 1015 (0) - 0.00 - сумма НСП по ставке [09:19:18] 1007 (9) - суммы НСП [09:19:18] 1014 (1) - 0,50% - код ставки НСП [09:19:18] 1015 (0) - 0.00 - сумма НСП по ставке [09:19:18] 1007 (9) - суммы НСП [09:19:18] 1014 (1) - 1,50% - код ставки НСП [09:19:18] 1015 (0) - 0.00 - сумма НСП по ставке [09:19:18] 1130 (141) - счетчики операций «возврат прихода» [09:19:18] 1135 (4) - 0 - количество чеков по признаку расчетов [09:19:18] 1201 (0) - 0.00 - общая итоговая сумма в чеках [09:19:18] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [09:19:18] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [09:19:18] 1024 (117) - суммы налогов [09:19:18] 1006 (9) - суммы НДС [09:19:18] 1010 (1) - 0% - код ставки НДС [09:19:18] 1011 (0) - 0.00 - сумма НДС по ставке [09:19:18] 1006 (9) - суммы НДС [09:19:18] 1010 (1) - 12% - код ставки НДС [09:19:18] 1011 (0) - 0.00 - сумма НДС по ставке [09:19:18] 1007 (9) - суммы НСП [09:19:18] 1014 (1) - 0% - код ставки НСП [09:19:18] 1015 (0) - 0.00 - сумма НСП по ставке [09:19:18] 1007 (9) - суммы НСП [09:19:18] 1014 (1) - 1% - код ставки НСП [09:19:18] 1015 (0) - 0.00 - сумма НСП по ставке [09:19:18] 1007 (9) - суммы НСП [09:19:18] 1014 (1) - 2% - код ставки НСП [09:19:18] 1015 (0) - 0.00 - сумма НСП по ставке [09:19:18] 1007 (9) - суммы НСП [09:19:18] 1014 (1) - 3% - код ставки НСП [09:19:18] 1015 (0) - 0.00 - сумма НСП по ставке [09:19:18] 1007 (9) - суммы НСП [09:19:18] 1014 (1) - 5% - код ставки НСП [09:19:18] 1015 (0) - 0.00 - сумма НСП по ставке [09:19:18] 1007 (9) - суммы НСП [09:19:18] 1014 (1) - 0,50% - код ставки НСП [09:19:18] 1015 (0) - 0.00 - сумма НСП по ставке [09:19:18] 1007 (9) - суммы НСП [09:19:18] 1014 (1) - 1,50% - код ставки НСП [09:19:18] 1015 (0) - 0.00 - сумма НСП по ставке [09:19:18] 1131 (141) - счетчики операций «расход» [09:19:18] 1135 (4) - 0 - количество чеков по признаку расчетов [09:19:18] 1201 (0) - 0.00 - общая итоговая сумма в чеках [09:19:18] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [09:19:18] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [09:19:18] 1024 (117) - суммы налогов [09:19:18] 1006 (9) - суммы НДС [09:19:18] 1010 (1) - 0% - код ставки НДС [09:19:18] 1011 (0) - 0.00 - сумма НДС по ставке [09:19:18] 1006 (9) - суммы НДС [09:19:18] 1010 (1) - 12% - код ставки НДС [09:19:18] 1011 (0) - 0.00 - сумма НДС по ставке [09:19:18] 1007 (9) - суммы НСП [09:19:18] 1014 (1) - 0% - код ставки НСП [09:19:18] 1015 (0) - 0.00 - сумма НСП по ставке [09:19:18] 1007 (9) - суммы НСП [09:19:18] 1014 (1) - 1% - код ставки НСП [09:19:18] 1015 (0) - 0.00 - сумма НСП по ставке [09:19:18] 1007 (9) - суммы НСП [09:19:18] 1014 (1) - 2% - код ставки НСП [09:19:18] 1015 (0) - 0.00 - сумма НСП по ставке [09:19:18] 1007 (9) - суммы НСП [09:19:18] 1014 (1) - 3% - код ставки НСП [09:19:18] 1015 (0) - 0.00 - сумма НСП по ставке [09:19:18] 1007 (9) - суммы НСП [09:19:18] 1014 (1) - 5% - код ставки НСП [09:19:18] 1015 (0) - 0.00 - сумма НСП по ставке [09:19:18] 1007 (9) - суммы НСП [09:19:18] 1014 (1) - 0,50% - код ставки НСП [09:19:18] 1015 (0) - 0.00 - сумма НСП по ставке [09:19:18] 1007 (9) - суммы НСП [09:19:18] 1014 (1) - 1,50% - код ставки НСП [09:19:18] 1015 (0) - 0.00 - сумма НСП по ставке [09:19:18] 1132 (141) - счетчики операций «возврат расхода» [09:19:18] 1135 (4) - 0 - количество чеков по признаку расчетов [09:19:18] 1201 (0) - 0.00 - общая итоговая сумма в чеках [09:19:18] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [09:19:18] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [09:19:18] 1024 (117) - суммы налогов [09:19:18] 1006 (9) - суммы НДС [09:19:18] 1010 (1) - 0% - код ставки НДС [09:19:18] 1011 (0) - 0.00 - сумма НДС по ставке [09:19:18] 1006 (9) - суммы НДС [09:19:18] 1010 (1) - 12% - код ставки НДС [09:19:18] 1011 (0) - 0.00 - сумма НДС по ставке [09:19:18] 1007 (9) - суммы НСП [09:19:18] 1014 (1) - 0% - код ставки НСП [09:19:18] 1015 (0) - 0.00 - сумма НСП по ставке [09:19:18] 1007 (9) - суммы НСП [09:19:18] 1014 (1) - 1% - код ставки НСП [09:19:18] 1015 (0) - 0.00 - сумма НСП по ставке [09:19:18] 1007 (9) - суммы НСП [09:19:18] 1014 (1) - 2% - код ставки НСП [09:19:18] 1015 (0) - 0.00 - сумма НСП по ставке [09:19:18] 1007 (9) - суммы НСП [09:19:18] 1014 (1) - 3% - код ставки НСП [09:19:18] 1015 (0) - 0.00 - сумма НСП по ставке [09:19:18] 1007 (9) - суммы НСП [09:19:18] 1014 (1) - 5% - код ставки НСП [09:19:18] 1015 (0) - 0.00 - сумма НСП по ставке [09:19:18] 1007 (9) - суммы НСП [09:19:18] 1014 (1) - 0,50% - код ставки НСП [09:19:18] 1015 (0) - 0.00 - сумма НСП по ставке [09:19:18] 1007 (9) - суммы НСП [09:19:18] 1014 (1) - 1,50% - код ставки НСП [09:19:18] 1015 (0) - 0.00 - сумма НСП по ставке [09:19:18] 1133 (588) - - счетчики коррекции - не используются [09:19:18]SetTLVBufToDocument [09:19:18]Processing tag 1194 (04AA) [09:19:18]Load OK [09:19:18]SetTLVBufToDocument [09:19:18]Processing tag 1134 (046E) [09:19:18]Malloc new data [09:19:18]Processing tag 1129 (0469) [09:19:18]Load OK [09:19:18]SetTLVBufToDocument [09:19:18]Processing tag 1135 (046F) [09:19:18]Malloc new data [09:19:18]Processing tag 1201 (04B1) [09:19:18]Malloc new data [09:19:18]Processing tag 1136 (0470) [09:19:18]Malloc new data [09:19:18]Processing tag 1138 (0472) [09:19:18]Malloc new data [09:19:18]Processing tag 1024 (0400) [09:19:18]Load OK [09:19:18]SetTLVBufToDocument [09:19:18]Processing tag 1006 (03EE) [09:19:18]Load OK [09:19:18]SetTLVBufToDocument [09:19:18]Processing tag 1010 (03F2) [09:19:19]Malloc new data [09:19:19]Processing tag 1011 (03F3) [09:19:19]Malloc new data [09:19:19]SetTLVBufToDocument err=0 [09:19:19]Processing tag 1006 (03EE) [09:19:19]Load OK [09:19:19]SetTLVBufToDocument [09:19:19]Processing tag 1010 (03F2) [09:19:19]Malloc new data [09:19:19]Processing tag 1011 (03F3) [09:19:19]Malloc new data [09:19:19]SetTLVBufToDocument err=0 [09:19:19]Processing tag 1007 (03EF) [09:19:19]Load OK [09:19:19]SetTLVBufToDocument [09:19:19]Processing tag 1014 (03F6) [09:19:19]Malloc new data [09:19:19]Processing tag 1015 (03F7) [09:19:19]Malloc new data [09:19:19]SetTLVBufToDocument err=0 [09:19:19]Processing tag 1007 (03EF) [09:19:19]Load OK [09:19:19]SetTLVBufToDocument [09:19:19]Processing tag 1014 (03F6) [09:19:19]Malloc new data [09:19:19]Processing tag 1015 (03F7) [09:19:19]Malloc new data [09:19:19]SetTLVBufToDocument err=0 [09:19:19]Processing tag 1007 (03EF) [09:19:19]Load OK [09:19:19]SetTLVBufToDocument [09:19:19]Processing tag 1014 (03F6) [09:19:19]Malloc new data [09:19:19]Processing tag 1015 (03F7) [09:19:19]Malloc new data [09:19:19]SetTLVBufToDocument err=0 [09:19:19]Processing tag 1007 (03EF) [09:19:19]Load OK [09:19:19]SetTLVBufToDocument [09:19:19]Processing tag 1014 (03F6) [09:19:19]Malloc new data [09:19:19]Processing tag 1015 (03F7) [09:19:19]Malloc new data [09:19:19]SetTLVBufToDocument err=0 [09:19:19]Processing tag 1007 (03EF) [09:19:19]Load OK [09:19:19]SetTLVBufToDocument [09:19:19]Processing tag 1014 (03F6) [09:19:19]Malloc new data [09:19:19]Processing tag 1015 (03F7) [09:19:19]Malloc new data [09:19:19]SetTLVBufToDocument err=0 [09:19:19]Processing tag 1007 (03EF) [09:19:19]Load OK [09:19:19]SetTLVBufToDocument [09:19:19]Processing tag 1014 (03F6) [09:19:19]Malloc new data [09:19:19]Processing tag 1015 (03F7) [09:19:19]Malloc new data [09:19:19]SetTLVBufToDocument err=0 [09:19:19]Processing tag 1007 (03EF) [09:19:19]Load OK [09:19:19]SetTLVBufToDocument [09:19:19]Processing tag 1014 (03F6) [09:19:19]Malloc new data [09:19:19]Processing tag 1015 (03F7) [09:19:19]Malloc new data [09:19:19]SetTLVBufToDocument err=0 [09:19:19]SetTLVBufToDocument err=0 [09:19:19]SetTLVBufToDocument err=0 [09:19:19]Processing tag 1130 (046A) [09:19:19]Load OK [09:19:19]SetTLVBufToDocument [09:19:19]Processing tag 1135 (046F) [09:19:19]Malloc new data [09:19:19]Processing tag 1201 (04B1) [09:19:19]Malloc new data [09:19:19]Processing tag 1136 (0470) [09:19:19]Malloc new data [09:19:19]Processing tag 1138 (0472) [09:19:19]Malloc new data [09:19:19]Processing tag 1024 (0400) [09:19:19]Load OK [09:19:19]SetTLVBufToDocument [09:19:19]Processing tag 1006 (03EE) [09:19:19]Load OK [09:19:19]SetTLVBufToDocument [09:19:19]Processing tag 1010 (03F2) [09:19:19]Malloc new data [09:19:19]Processing tag 1011 (03F3) [09:19:19]Malloc new data [09:19:19]SetTLVBufToDocument err=0 [09:19:19]Processing tag 1006 (03EE) [09:19:19]Load OK [09:19:19]SetTLVBufToDocument [09:19:19]Processing tag 1010 (03F2) [09:19:19]Malloc new data [09:19:19]Processing tag 1011 (03F3) [09:19:19]Malloc new data [09:19:19]SetTLVBufToDocument err=0 [09:19:19]Processing tag 1007 (03EF) [09:19:19]Load OK [09:19:19]SetTLVBufToDocument [09:19:19]Processing tag 1014 (03F6) [09:19:19]Malloc new data [09:19:19]Processing tag 1015 (03F7) [09:19:19]Malloc new data [09:19:19]SetTLVBufToDocument err=0 [09:19:19]Processing tag 1007 (03EF) [09:19:19]Load OK [09:19:19]SetTLVBufToDocument [09:19:19]Processing tag 1014 (03F6) [09:19:19]Malloc new data [09:19:19]Processing tag 1015 (03F7) [09:19:19]Malloc new data [09:19:19]SetTLVBufToDocument err=0 [09:19:19]Processing tag 1007 (03EF) [09:19:19]Load OK [09:19:19]SetTLVBufToDocument [09:19:19]Processing tag 1014 (03F6) [09:19:19]Malloc new data [09:19:19]Processing tag 1015 (03F7) [09:19:19]Malloc new data [09:19:19]SetTLVBufToDocument err=0 [09:19:19]Processing tag 1007 (03EF) [09:19:19]Load OK [09:19:19]SetTLVBufToDocument [09:19:19]Processing tag 1014 (03F6) [09:19:19]Malloc new data [09:19:19]Processing tag 1015 (03F7) [09:19:19]Malloc new data [09:19:19]SetTLVBufToDocument err=0 [09:19:19]Processing tag 1007 (03EF) [09:19:19]Load OK [09:19:19]SetTLVBufToDocument [09:19:19]Processing tag 1014 (03F6) [09:19:19]Malloc new data [09:19:19]Processing tag 1015 (03F7) [09:19:19]Malloc new data [09:19:19]SetTLVBufToDocument err=0 [09:19:19]Processing tag 1007 (03EF) [09:19:19]Load OK [09:19:19]SetTLVBufToDocument [09:19:19]Processing tag 1014 (03F6) [09:19:19]Malloc new data [09:19:19]Processing tag 1015 (03F7) [09:19:19]Malloc new data [09:19:19]SetTLVBufToDocument err=0 [09:19:19]Processing tag 1007 (03EF) [09:19:19]Load OK [09:19:19]SetTLVBufToDocument [09:19:19]Processing tag 1014 (03F6) [09:19:19]Malloc new data [09:19:19]Processing tag 1015 (03F7) [09:19:19]Malloc new data [09:19:19]SetTLVBufToDocument err=0 [09:19:19]SetTLVBufToDocument err=0 [09:19:19]SetTLVBufToDocument err=0 [09:19:19]Processing tag 1131 (046B) [09:19:19]Load OK [09:19:19]SetTLVBufToDocument [09:19:19]Processing tag 1135 (046F) [09:19:19]Malloc new data [09:19:19]Processing tag 1201 (04B1) [09:19:19]Malloc new data [09:19:19]Processing tag 1136 (0470) [09:19:19]Malloc new data [09:19:19]Processing tag 1138 (0472) [09:19:19]Malloc new data [09:19:19]Processing tag 1024 (0400) [09:19:19]Load OK [09:19:19]SetTLVBufToDocument [09:19:19]Processing tag 1006 (03EE) [09:19:19]Load OK [09:19:19]SetTLVBufToDocument [09:19:19]Processing tag 1010 (03F2) [09:19:19]Malloc new data [09:19:19]Processing tag 1011 (03F3) [09:19:19]Malloc new data [09:19:19]SetTLVBufToDocument err=0 [09:19:19]Processing tag 1006 (03EE) [09:19:19]Load OK [09:19:19]SetTLVBufToDocument [09:19:19]Processing tag 1010 (03F2) [09:19:19]Malloc new data [09:19:19]Processing tag 1011 (03F3) [09:19:19]Malloc new data [09:19:19]SetTLVBufToDocument err=0 [09:19:19]Processing tag 1007 (03EF) [09:19:19]Load OK [09:19:19]SetTLVBufToDocument [09:19:19]Processing tag 1014 (03F6) [09:19:19]Malloc new data [09:19:19]Processing tag 1015 (03F7) [09:19:19]Malloc new data [09:19:19]SetTLVBufToDocument err=0 [09:19:19]Processing tag 1007 (03EF) [09:19:19]Load OK [09:19:19]SetTLVBufToDocument [09:19:19]Processing tag 1014 (03F6) [09:19:19]Malloc new data [09:19:19]Processing tag 1015 (03F7) [09:19:19]Malloc new data [09:19:19]SetTLVBufToDocument err=0 [09:19:19]Processing tag 1007 (03EF) [09:19:19]Load OK [09:19:19]SetTLVBufToDocument [09:19:19]Processing tag 1014 (03F6) [09:19:19]Malloc new data [09:19:19]Processing tag 1015 (03F7) [09:19:19]Malloc new data [09:19:19]SetTLVBufToDocument err=0 [09:19:19]Processing tag 1007 (03EF) [09:19:19]Load OK [09:19:19]SetTLVBufToDocument [09:19:19]Processing tag 1014 (03F6) [09:19:19]Malloc new data [09:19:19]Processing tag 1015 (03F7) [09:19:19]Malloc new data [09:19:19]SetTLVBufToDocument err=0 [09:19:19]Processing tag 1007 (03EF) [09:19:19]Load OK [09:19:19]SetTLVBufToDocument [09:19:19]Processing tag 1014 (03F6) [09:19:19]Malloc new data [09:19:19]Processing tag 1015 (03F7) [09:19:19]Malloc new data [09:19:19]SetTLVBufToDocument err=0 [09:19:19]Processing tag 1007 (03EF) [09:19:19]Load OK [09:19:19]SetTLVBufToDocument [09:19:19]Processing tag 1014 (03F6) [09:19:19]Malloc new data [09:19:19]Processing tag 1015 (03F7) [09:19:19]Malloc new data [09:19:19]SetTLVBufToDocument err=0 [09:19:19]Processing tag 1007 (03EF) [09:19:19]Load OK [09:19:19]SetTLVBufToDocument [09:19:19]Processing tag 1014 (03F6) [09:19:19]Malloc new data [09:19:19]Processing tag 1015 (03F7) [09:19:19]Malloc new data [09:19:19]SetTLVBufToDocument err=0 [09:19:19]SetTLVBufToDocument err=0 [09:19:19]SetTLVBufToDocument err=0 [09:19:19]Processing tag 1132 (046C) [09:19:19]Load OK [09:19:19]SetTLVBufToDocument [09:19:19]Processing tag 1135 (046F) [09:19:19]Malloc new data [09:19:19]Processing tag 1201 (04B1) [09:19:19]Malloc new data [09:19:19]Processing tag 1136 (0470) [09:19:19]Malloc new data [09:19:19]Processing tag 1138 (0472) [09:19:19]Malloc new data [09:19:19]Processing tag 1024 (0400) [09:19:19]Load OK [09:19:19]SetTLVBufToDocument [09:19:19]Processing tag 1006 (03EE) [09:19:19]Load OK [09:19:19]SetTLVBufToDocument [09:19:19]Processing tag 1010 (03F2) [09:19:19]Malloc new data [09:19:19]Processing tag 1011 (03F3) [09:19:19]Malloc new data [09:19:19]SetTLVBufToDocument err=0 [09:19:19]Processing tag 1006 (03EE) [09:19:19]Load OK [09:19:19]SetTLVBufToDocument [09:19:19]Processing tag 1010 (03F2) [09:19:19]Malloc new data [09:19:19]Processing tag 1011 (03F3) [09:19:19]Malloc new data [09:19:19]SetTLVBufToDocument err=0 [09:19:19]Processing tag 1007 (03EF) [09:19:19]Load OK [09:19:19]SetTLVBufToDocument [09:19:19]Processing tag 1014 (03F6) [09:19:19]Malloc new data [09:19:19]Processing tag 1015 (03F7) [09:19:19]Malloc new data [09:19:19]SetTLVBufToDocument err=0 [09:19:19]Processing tag 1007 (03EF) [09:19:19]Load OK [09:19:19]SetTLVBufToDocument [09:19:19]Processing tag 1014 (03F6) [09:19:19]Malloc new data [09:19:19]Processing tag 1015 (03F7) [09:19:19]Malloc new data [09:19:19]SetTLVBufToDocument err=0 [09:19:19]Processing tag 1007 (03EF) [09:19:19]Load OK [09:19:19]SetTLVBufToDocument [09:19:19]Processing tag 1014 (03F6) [09:19:19]Malloc new data [09:19:19]Processing tag 1015 (03F7) [09:19:19]Malloc new data [09:19:19]SetTLVBufToDocument err=0 [09:19:19]Processing tag 1007 (03EF) [09:19:19]Load OK [09:19:19]SetTLVBufToDocument [09:19:19]Processing tag 1014 (03F6) [09:19:19]Malloc new data [09:19:19]Processing tag 1015 (03F7) [09:19:19]Malloc new data [09:19:19]SetTLVBufToDocument err=0 [09:19:19]Processing tag 1007 (03EF) [09:19:19]Load OK [09:19:19]SetTLVBufToDocument [09:19:19]Processing tag 1014 (03F6) [09:19:19]Malloc new data [09:19:19]Processing tag 1015 (03F7) [09:19:19]Malloc new data [09:19:19]SetTLVBufToDocument err=0 [09:19:19]Processing tag 1007 (03EF) [09:19:19]Load OK [09:19:19]SetTLVBufToDocument [09:19:19]Processing tag 1014 (03F6) [09:19:19]Malloc new data [09:19:19]Processing tag 1015 (03F7) [09:19:19]Malloc new data [09:19:19]SetTLVBufToDocument err=0 [09:19:19]Processing tag 1007 (03EF) [09:19:19]Load OK [09:19:19]SetTLVBufToDocument [09:19:19]Processing tag 1014 (03F6) [09:19:19]Malloc new data [09:19:19]Processing tag 1015 (03F7) [09:19:19]Malloc new data [09:19:19]SetTLVBufToDocument err=0 [09:19:19]SetTLVBufToDocument err=0 [09:19:19]SetTLVBufToDocument err=0 [09:19:19]Processing tag 1133 (046D) [09:19:19]Malloc new data [09:19:19]SetTLVBufToDocument err=0 [09:19:19]SetTLVBufToDocument err=0 [09:19:19]Malloc new data [09:19:19]SAM_PROTO_GetFMData [09:19:19]wFMCommunicate request_size=4 [09:19:19]MH_SAM_APDU [09:19:19]CAPDU: 80 13 03 00 [09:19:19]Write to MH i2c: E2 08 00 24 8C 80 13 03 00 00 00 00 00 2F [09:19:19]Write i2c OK [09:19:19]MH_I2C_Read... [09:19:20]Read from MH i2c: E2 [09:19:20]MH_I2C_Read... [09:19:20]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [09:19:20]Read from MH i2c: E2 FD 00 [09:19:20]MH_I2C_Read... [09:19:20]Read from MH i2c: E2 FD 00 24 8C 00 C4 04 85 04 C0 04 6E 04 04 00 86 7E 00 00 69 04 A0 00 6F 04 04 00 A5 7D 00 00 B1 04 04 00 79 A9 64 3F 70 04 04 00 A0 F4 CD 34 72 04 04 00 D9 B4 96 0A 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 F1 8C BB 06 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 7D 95 8F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 90 00 AA [09:19:20]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 86 7E 00 00 69 04 A0 00 6F 04 04 00 A5 7D 00 00 B1 04 04 00 79 A9 64 3F 70 04 04 00 A0 F4 CD 34 72 04 04 00 D9 B4 96 0A 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 F1 8C BB 06 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 7D 95 8F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 90 00 [09:19:20]wFMCommunicate OK [09:19:20]wFMCommunicate request_size=4 [09:19:20]MH_SAM_APDU [09:19:20]CAPDU: 80 17 00 00 [09:19:20]Write to MH i2c: E2 08 00 25 8C 80 17 00 00 00 00 00 00 31 [09:19:20]Write i2c OK [09:19:20]MH_I2C_Read... [09:19:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:19:20]Read from MH i2c: E2 [09:19:20]MH_I2C_Read... [09:19:20]Read from MH i2c: E2 FD 00 [09:19:20]MH_I2C_Read... [09:19:20]Read from MH i2c: E2 FD 00 25 8C 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 EE [09:19:20]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [09:19:20]wFMCommunicate OK [09:19:20]wFMCommunicate request_size=4 [09:19:20]MH_SAM_APDU [09:19:20]CAPDU: 80 17 00 00 [09:19:20]Write to MH i2c: E2 08 00 26 8C 80 17 00 00 00 00 00 00 32 [09:19:20]Write i2c OK [09:19:20]MH_I2C_Read... [09:19:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:19:21]Read from MH i2c: E2 [09:19:21]MH_I2C_Read... [09:19:21]Read from MH i2c: E2 FD 00 [09:19:21]MH_I2C_Read... [09:19:21]Read from MH i2c: E2 FD 00 26 8C 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 47 [09:19:21]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [09:19:21]wFMCommunicate OK [09:19:21]wFMCommunicate request_size=4 [09:19:21]MH_SAM_APDU [09:19:21]CAPDU: 80 17 00 00 [09:19:21]Write to MH i2c: E2 08 00 27 8C 80 17 00 00 00 00 00 00 33 [09:19:21]OFD Sender: No OFD packet to send [09:19:21]Write i2c OK [09:19:21]MH_I2C_Read... [09:19:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:19:21]Read from MH i2c: E2 [09:19:21]MH_I2C_Read... [09:19:21]Read from MH i2c: E2 FD 00 [09:19:21]MH_I2C_Read... [09:19:21]Read from MH i2c: E2 FD 00 27 8C 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 AB [09:19:22]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [09:19:22]wFMCommunicate OK [09:19:22]wFMCommunicate request_size=4 [09:19:22]MH_SAM_APDU [09:19:22]CAPDU: 80 17 00 00 [09:19:22]Write to MH i2c: E2 08 00 28 8C 80 17 00 00 00 00 00 00 34 [09:19:22]Write i2c OK [09:19:22]MH_I2C_Read... [09:19:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [09:19:22]Read from MH i2c: E2 [09:19:22]MH_I2C_Read... [09:19:22]Read from MH i2c: E2 E1 00 [09:19:22]MH_I2C_Read... [09:19:22]Read from MH i2c: E2 E1 00 28 8C 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 22 [09:19:22]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [09:19:22]wFMCommunicate OK [09:19:22]SAM_PROTO_GetFMData done [09:19:22]FM_GetFMData:85 04 C0 04 6E 04 04 00 86 7E 00 00 69 04 A0 00 6F 04 04 00 A5 7D 00 00 B1 04 04 00 79 A9 64 3F 70 04 04 00 A0 F4 CD 34 72 04 04 00 D9 B4 96 0A 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 F1 8C BB 06 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 7D 95 8F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B 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 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [09:19:23]oper:6F 04 04 00 A5 7D 00 00 B1 04 04 00 79 A9 64 3F 70 04 04 00 A0 F4 CD 34 72 04 04 00 D9 B4 96 0A 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 F1 8C BB 06 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 7D 95 8F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [09:19:23]total:79 A9 64 3F [09:19:23]Malloc new data [09:19:23]oper:6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B 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 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [09:19:23]total:BC 87 2D 02 [09:19:23]Malloc new data [09:19:23]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 [09:19:23]total: [09:19:23]Malloc new data [09:19:23]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 [09:19:23]total: [09:19:23]Malloc new data [09:19:23]KKMPrepareXReportFMData err=0 [09:19:23]Х отчет ИНН: 02508201610067 Кассир: Аширова Д. 11.07.2024 09:19 Смена: 266 РНМ: 0000000000093033 ЗНМ: 0300000122 СНО: Общий режим Всего чеков: 9 ИТОГИ ПРИХОД Чеков: 9 Общий итог: 1864.00 Итого наличными: 1201.00 Итого безнал.: 663.00 НДС 0% : 0.00 НДС 12% : 197.94 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 16.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 Общий итог: 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 Нал. в кассе: 1201.00 НС Приход: 10635615.93 НС Возвр.Прихода: 365383.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФМ: 0000000000875104 [09:19:23]StoreToDocumentArchive [09:19:23]MH_GetDate [09:19:23]Write to MH i2c: F0 00 00 29 8C A4 [09:19:23]Write i2c OK [09:19:23]MH_I2C_Read... [09:19:23]Read from MH i2c: F0 [09:19:23]MH_I2C_Read... [09:19:23]Read from MH i2c: F0 09 00 [09:19:23]MH_I2C_Read... [09:19:23]Read from MH i2c: F0 09 00 29 8C 00 C0 A3 8F 66 AD 14 F4 65 1F [09:19:23]shift 266 fd 1720689600 [09:19:23]Create dir for shift 0266 [09:19:23]save to /storage/0266/doc_1720689600 [09:19:23]save last doc name /storage/0266/doc_1720689600 to /storage/kkm_last_doc_name [09:19:23]save OK [09:19:23]Clear old archive folders... [09:19:23]NVStorageSaveData kkm_last_timestamp [09:19:23]File name is /storage/kkm_last_timestamp [09:19:23]Write 4 bytes [09:19:23]NVStorageSaveData done [09:19:23]ExternCall_PrintAddStr [09:19:23]wPrintStart [09:19:23]Write to MH i2c: 01 00 00 2A 8C B6 [09:19:23]Write i2c OK [09:19:23]MH_I2C_Read... [09:19:23]Read from MH i2c: 01 [09:19:23]MH_I2C_Read... [09:19:23]Read from MH i2c: 01 07 00 [09:19:23]MH_I2C_Read... [09:19:23]Read from MH i2c: 01 07 00 2A 8C 00 00 00 00 00 FF 0F CB [09:19:23]RasterBufferAndPrint [09:19:23]line Х отчет [09:19:23]line ИНН: 02508201610067 [09:19:23]line Кассир: Аширова Д. [09:19:23]line 11.07.2024 09:19 [09:19:23]line Смена: 266 [09:19:23]line РНМ: 0000000000093033 [09:19:23]line ЗНМ: 0300000122 [09:19:23]line СНО: Общий режим [09:19:23]line Всего чеков: 9 [09:19:23]line ИТОГИ ПРИХОД [09:19:23]line Чеков: 9 [09:19:23]line Общий итог: 1864.00 [09:19:23]line Итого наличными: 1201.00 [09:19:23]line Итого безнал.: 663.00 [09:19:23]line НДС 0% : 0.00 [09:19:23]line НДС 12% : 197.94 [09:19:23]line НСП 0% : 0.00 [09:19:23]line НСП 1,50% : 0.00 [09:19:23]line НСП 0,50% : 0.00 [09:19:23]line НСП 5% : 0.00 [09:19:23]line НСП 3% : 0.00 [09:19:23]line НСП 2% : 0.00 [09:19:23]line НСП 1% : 16.50 [09:19:23]line ИТОГИ ВОЗВРАТ ПРИХОДА [09:19:23]line Чеков: 0 [09:19:23]line Общий итог: 0.00 [09:19:23]line Итого наличными: 0.00 [09:19:23]line Итого безнал.: 0.00 [09:19:23]line НДС 0% : 0.00 [09:19:23]line НДС 12% : 0.00 [09:19:23]line НСП 0% : 0.00 [09:19:23]line НСП 1,50% : 0.00 [09:19:23]line НСП 0,50% : 0.00 [09:19:23]line НСП 5% : 0.00 [09:19:23]line НСП 3% : 0.00 [09:19:23]line НСП 2% : 0.00 [09:19:23]line НСП 1% : 0.00 [09:19:23]line ИТОГИ РАСХОД [09:19:23]line Чеков: 0 [09:19:23]line Общий итог: 0.00 [09:19:23]line Итого наличными: 0.00 [09:19:23]line Итого безнал.: 0.00 [09:19:23]line НДС 0% : 0.00 [09:19:23]line НДС 12% : 0.00 [09:19:23]line НСП 0% : 0.00 [09:19:23]line НСП 1,50% : 0.00 [09:19:23]line НСП 0,50% : 0.00 [09:19:23]line НСП 5% : 0.00 [09:19:23]line НСП 3% : 0.00 [09:19:23]line НСП 2% : 0.00 [09:19:23]line НСП 1% : 0.00 [09:19:23]line ИТОГИ ВОЗВРАТ РАСХОДА [09:19:23]line Чеков: 0 [09:19:23]line Общий итог: 0.00 [09:19:23]line Итого наличными: 0.00 [09:19:23]line Итого безнал.: 0.00 [09:19:23]line НДС 0% : 0.00 [09:19:23]line НДС 12% : 0.00 [09:19:23]line НСП 0% : 0.00 [09:19:23]line НСП 1,50% : 0.00 [09:19:23]line НСП 0,50% : 0.00 [09:19:23]line НСП 5% : 0.00 [09:19:23]line НСП 3% : 0.00 [09:19:23]line НСП 2% : 0.00 [09:19:23]line НСП 1% : 0.00 [09:19:23]line Сумма внесений: 0.00 [09:19:23]line Сумма выплат: 0.00 [09:19:23]line Нал. в кассе: 1201.00 [09:19:23]line НС Приход: 10635615.93 [09:19:23]line НС Возвр.Прихода: 365383.00 [09:19:23]line НС Расход: 0.00 [09:19:23]line НС Возвр.Расхода: 0.00 [09:19:23]line ФМ: 0000000000875104 [09:19:23]written 0, free lines is 4095 [09:19:24]Write to MH i2c: 01 00 00 75 8C 01 [09:19:24]Write i2c OK [09:19:24]MH_I2C_Read... [09:19:24]Read from MH i2c: 01 [09:19:24]MH_I2C_Read... [09:19:24]Read from MH i2c: 01 07 00 [09:19:24]MH_I2C_Read... [09:19:24]Read from MH i2c: 01 07 00 75 8C 00 00 00 00 00 B5 0A C7 [09:19:24]RasterBufferAndPrint [09:19:24]line [09:19:24]line [09:19:24]line [09:19:24]line [09:19:24]line [09:19:24]written 0, free lines is 2775 [09:19:24]MH_Cut [09:19:24]Write to MH i2c: D1 01 00 7C 8C 01 DA [09:19:24]Write i2c OK [09:19:24]MH_I2C_Read... [09:19:24]Read from MH i2c: D1 [09:19:24]MH_I2C_Read... [09:19:24]Read from MH i2c: D1 01 00 [09:19:24]MH_I2C_Read... [09:19:24]Read from MH i2c: D1 01 00 7C 8C 00 D9 [09:19:24]Write to MH i2c: 01 00 00 7D 8C 09 [09:19:24]Write i2c OK [09:19:24]MH_I2C_Read... [09:19:25]*** Cut start [09:19:25]*** Partial cut [09:19:25]*** CUTSNS_PIN = 1 [09:19:25]*** CUTSNS_PIN = 0 [09:19:26]*** Brake cut motor [09:19:26]Read from MH i2c: 01 [09:19:26]MH_I2C_Read... [09:19:26]*** Stop cut motor [09:19:26]*** Cut end [09:19:26]Read from MH i2c: 01 07 00 [09:19:26]MH_I2C_Read... [09:19:26]Read from MH i2c: 01 07 00 7D 8C 00 00 00 00 00 FF 0F 1E [09:19:26]process_action x_report done [09:19:26]requested_data is exist [09:19:26]produce_requested_data [09:19:26]requested_item fd.num is exist - process it [09:19:26]SAM_PROTO_GetFieldsCounters [09:19:26]wFMCommunicate request_size=4 [09:19:26]MH_SAM_APDU [09:19:26]CAPDU: 80 13 00 00 [09:19:26]Write to MH i2c: E2 08 00 7E 8C 80 13 00 00 00 00 00 00 86 [09:19:26]Write i2c OK [09:19:26]MH_I2C_Read... [09:19:26]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:19:26]OFD Sender: No OFD packet to send [09:19:26]Read from MH i2c: E2 [09:19:26]MH_I2C_Read... [09:19:26]Read from MH i2c: E2 62 00 [09:19:26]MH_I2C_Read... [09:19:26]Read from MH i2c: E2 62 00 7E 8C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 E6 81 00 00 0E 04 04 00 B0 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 CC [09:19:26]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 E6 81 00 00 0E 04 04 00 B0 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 [09:19:26]wFMCommunicate OK [09:19:26]SAM_PROTO_GetFieldsCounters done [09:19:26]requested_item shift.num is exist - process it [09:19:26]requested_item shift.opened is exist - process it [09:19:26]req_shift_opened [09:19:26]FM_GetShiftState [09:19:26]SAM_PROTO_GetShiftState [09:19:26]wFMCommunicate request_size=4 [09:19:26]MH_SAM_APDU [09:19:26]CAPDU: 80 13 01 00 [09:19:26]Write to MH i2c: E2 08 00 7F 8C 80 13 01 00 00 00 00 00 88 [09:19:26]Write i2c OK [09:19:26]MH_I2C_Read... [09:19:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:19:26]Read from MH i2c: E2 [09:19:26]MH_I2C_Read... [09:19:26]Read from MH i2c: E2 0E 00 [09:19:26]MH_I2C_Read... [09:19:26]Read from MH i2c: E2 0E 00 7F 8C 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 B9 [09:19:26]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [09:19:26]wFMCommunicate OK [09:19:26]SAM_PROTO_GetShiftState done [09:19:26]FM_GetShiftState done [09:19:26]req_shift_opened done [09:19:26]requested_item shift.open_date is exist - process it [09:19:26]req_shift_open_date [09:19:26]req_shift_open_date done [09:19:26]produce_requested_data done [09:19:26]produce_requested_data return {"fd.num":33254,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398} [09:19:26]process_action_free x_report [09:19:26]json_value_free [09:19:26]json_value_free done [09:19:26]process_json_proto returns [09:19:26]Send response to host [09:19:26]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":33254,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398}}} [09:19:26]free response buf [09:19:26]execute_script done [09:19:26]execute_script returns [09:19:26]free content buf [09:19:26]Sock 9.Close socket [09:19:26]Sock 9.Thread stoped [09:19:31]OFD Sender: No OFD packet to send [09:19:36]OFD Sender: No OFD packet to send [09:19:41]OFD Sender: No OFD packet to send [09:19:46]OFD Sender: No OFD packet to send [09:19:51]OFD Sender: No OFD packet to send [09:19:56]OFD Sender: No OFD packet to send [09:20:01]OFD Sender: No OFD packet to send [09:20:06]OFD Sender: No OFD packet to send [09:20:11]OFD Sender: No OFD packet to send [09:20:16]OFD Sender: No OFD packet to send [09:20:21]OFD Sender: No OFD packet to send [09:20:26]OFD Sender: No OFD packet to send [09:20:31]OFD Sender: No OFD packet to send [09:20:36]OFD Sender: No OFD packet to send [09:20:41]OFD Sender: No OFD packet to send [09:20:46]OFD Sender: No OFD packet to send [09:20:51]OFD Sender: No OFD packet to send [09:20:56]OFD Sender: No OFD packet to send [09:21:01]OFD Sender: No OFD packet to send [09:21:06]OFD Sender: No OFD packet to send [09:21:11]OFD Sender: No OFD packet to send [09:21:16]OFD Sender: No OFD packet to send [09:21:21]OFD Sender: No OFD packet to send [09:21:26]OFD Sender: No OFD packet to send [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:42]OFD Sender: No OFD packet to send [09:27:47]OFD Sender: No OFD packet to send [09:27:52]OFD Sender: No OFD packet to send [09:27:57]OFD Sender: No OFD packet to send [09:28:02]OFD Sender: No OFD packet to send [09:28:07]OFD Sender: No OFD packet to send [09:28:09]accept exits with 8 [09:28:09]New connection [09:28:09]New thread 3066699108 created [09:28:09]Thread 3066842468 joined [09:28:09]Waiting for new connection... [09:28:09] Sock 8.Parse request [09:28:09]Sock 8.Check first char [09:28:09]Sock 8.First char is OK [09:28:09]request: POST /json_proto HTTP/1.0 [09:28:09]Method: POST [09:28:09]URL: /json_proto [09:28:09]Method is POST - this is cgi request [09:28:09]url: /json_proto [09:28:09]query_string will be loaded in cgi processing [09:28:09]execute_cgi json_proto POST (null) [09:28:09]execute_cgi path=json_proto method=POST [09:28:09]POST find Content-Length [09:28:09]Host: 172.17.35.196:8080 [09:28:09]Content-Length: 1149 [09:28:09]Content-Type: application/json [09:28:09] [09:28:09]POST finish read [09:28:09]Found Content-Length = 1149 [09:28:09]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "print_text", "params" : { "text" : " *****\u0422\u041E\u0412\u0410\u0420\u041D\u042B\u0419 \u0427\u0415\u041A*****\u000A \u0410\u0417\u0421 77\u000A \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u043D\u0435\u0444\u0442\u044C\u000A 02508201610067\u000A\u041A\u0430\u0441\u0441\u0438\u0440 : \u0410\u0448\u0438\u0440\u043E\u0432\u0430 \u0414. \u000A\u0421\u0447\u0435\u0442 N : (1)5669486\u000A11.07.2024 09:22\u000A \u041F\u0420\u041E\u0414\u0410\u0416\u0410\u000A\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A): 53\u000A\u0412\u0438\u0434 \u0413\u0421\u041C : 2710194210\u000A\u0414\u0422-\u041A-4\u000A 20.000 x 72.60\u000A\u0418\u0422\u041E\u0413: 1452.00\u000A\u0422\u0438\u043F \u043E\u043F\u043B\u0430\u0442\u044B: \u0422\u0430\u043B\u043E\u043D\u044B: \u0422\u041A \u0413\u041F\u041D\u0410 Online\u000A30102711\u000A ______________________\u000A (\u043F\u043E\u0434\u043F\u0438\u0441\u044C)" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:28:09]execute_script... [09:28:09]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "print_text", "params" : { "text" : " *****\u0422\u041E\u0412\u0410\u0420\u041D\u042B\u0419 \u0427\u0415\u041A*****\u000A \u0410\u0417\u0421 77\u000A \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u043D\u0435\u0444\u0442\u044C\u000A 02508201610067\u000A\u041A\u0430\u0441\u0441\u0438\u0440 : \u0410\u0448\u0438\u0440\u043E\u0432\u0430 \u0414. \u000A\u0421\u0447\u0435\u0442 N : (1)5669486\u000A11.07.2024 09:22\u000A \u041F\u0420\u041E\u0414\u0410\u0416\u0410\u000A\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A): 53\u000A\u0412\u0438\u0434 \u0413\u0421\u041C : 2710194210\u000A\u0414\u0422-\u041A-4\u000A 20.000 x 72.60\u000A\u0418\u0422\u041E\u0413: 1452.00\u000A\u0422\u0438\u043F \u043E\u043F\u043B\u0430\u0442\u044B: \u0422\u0430\u043B\u043E\u043D\u044B: \u0422\u041A \u0413\u041F\u041D\u0410 Online\u000A30102711\u000A ______________________\u000A (\u043F\u043E\u0434\u043F\u0438\u0441\u044C)" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:28:09]POST & json_proto [09:28:09]process_json_proto [09:28:09]json parsed OK: [09:28:09]protocol is kg_v1.0 [09:28:09]action value=print_text [09:28:09]process_action print_text [09:28:09]cmd_print_text [09:28:09]ExternCall_PrintAddStr [09:28:09]wPrintStart [09:28:09]Write to MH i2c: 01 00 00 80 8C 0C [09:28:09]Write i2c OK [09:28:09]MH_I2C_Read... [09:28:09]Read from MH i2c: 01 [09:28:09]MH_I2C_Read... [09:28:09]Read from MH i2c: 01 07 00 [09:28:09]MH_I2C_Read... [09:28:09]Read from MH i2c: 01 07 00 80 8C 00 00 00 00 00 FF 0F 21 [09:28:09]RasterBufferAndPrint [09:28:09]line *****ТОВАРНЫЙ ЧЕК***** [09:28:09]line АЗС 77 [09:28:09]line Партнер нефть [09:28:09]line 02508201610067 [09:28:09]line Кассир : Аширова Д. [09:28:09]line Счет N : (1)5669486 [09:28:09]line 11.07.2024 09:22 [09:28:09]line ПРОДАЖА [09:28:09]line ТРК (МРК, ГНК): 53 [09:28:09]line Вид ГСМ : 2710194210 [09:28:09]line ДТ-К-4 [09:28:09]line 20.000 x 72.60 [09:28:09]line ИТОГ: 1452.00 [09:28:09]line Тип оплаты: Талоны: ТК ГПНА Online [09:28:09]line 30102711 [09:28:09]line ______________________ [09:28:09]line (подпись) [09:28:09]written 0, free lines is 4095 [09:28:10]Write to MH i2c: 01 00 00 94 8C 20 [09:28:10]Write i2c OK [09:28:10]MH_I2C_Read... [09:28:10]Read from MH i2c: 01 [09:28:10]MH_I2C_Read... [09:28:10]Read from MH i2c: 01 07 00 [09:28:10]MH_I2C_Read... [09:28:10]Read from MH i2c: 01 07 00 94 8C 00 00 00 00 00 0E 0E 43 [09:28:10]RasterBufferAndPrint [09:28:10]line [09:28:10]line [09:28:10]line [09:28:10]line [09:28:10]line [09:28:10]written 0, free lines is 3600 [09:28:10]MH_Cut [09:28:10]Write to MH i2c: D1 01 00 9B 8C 01 F9 [09:28:10]Write i2c OK [09:28:10]MH_I2C_Read... [09:28:10]Read from MH i2c: D1 [09:28:10]MH_I2C_Read... [09:28:10]Read from MH i2c: D1 01 00 [09:28:10]MH_I2C_Read... [09:28:10]Read from MH i2c: D1 01 00 9B 8C 00 F8 [09:28:10]Write to MH i2c: 01 00 00 9C 8C 28 [09:28:10]Write i2c OK [09:28:10]MH_I2C_Read... [09:28:10]*** Cut start [09:28:10]*** Partial cut [09:28:10]*** CUTSNS_PIN = 1 [09:28:10]*** CUTSNS_PIN = 0 [09:28:10]*** Brake cut motor [09:28:11]Read from MH i2c: 01 [09:28:11]MH_I2C_Read... [09:28:11]Read from MH i2c: 01 07 00 [09:28:11]MH_I2C_Read... [09:28:11]*** Stop cut motor [09:28:11]*** Cut end [09:28:11]Read from MH i2c: 01 07 00 9C 8C 00 00 00 00 00 FF 0F 3D [09:28:11]process_action print_text done [09:28:11]requested_data is exist [09:28:11]produce_requested_data [09:28:11]requested_item fm.sn is exist - process it [09:28:11]wFMCommunicate request_size=4 [09:28:11]MH_SAM_APDU [09:28:11]CAPDU: 80 11 00 00 [09:28:11]Write to MH i2c: E2 08 00 9D 8C 80 11 00 00 00 00 00 00 A3 [09:28:11]Write i2c OK [09:28:11]MH_I2C_Read... [09:28:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:28:11]Read from MH i2c: E2 [09:28:11]MH_I2C_Read... [09:28:11]Read from MH i2c: E2 17 00 [09:28:11]MH_I2C_Read... [09:28:11]Read from MH i2c: E2 17 00 9D 8C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 EF [09:28:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [09:28:11]wFMCommunicate OK [09:28:11]requested_item fd.num is exist - process it [09:28:11]SAM_PROTO_GetFieldsCounters [09:28:11]wFMCommunicate request_size=4 [09:28:11]MH_SAM_APDU [09:28:11]CAPDU: 80 13 00 00 [09:28:11]Write to MH i2c: E2 08 00 9E 8C 80 13 00 00 00 00 00 00 A6 [09:28:11]Write i2c OK [09:28:11]MH_I2C_Read... [09:28:11]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:28:11]Read from MH i2c: E2 [09:28:11]MH_I2C_Read... [09:28:11]Read from MH i2c: E2 62 00 [09:28:11]MH_I2C_Read... [09:28:11]Read from MH i2c: E2 62 00 9E 8C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 E6 81 00 00 0E 04 04 00 B0 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 EC [09:28: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 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 E6 81 00 00 0E 04 04 00 B0 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 [09:28:11]wFMCommunicate OK [09:28:11]SAM_PROTO_GetFieldsCounters done [09:28:11]requested_item shift.num is exist - process it [09:28:11]requested_item shift.opened is exist - process it [09:28:11]req_shift_opened [09:28:11]FM_GetShiftState [09:28:11]SAM_PROTO_GetShiftState [09:28:11]wFMCommunicate request_size=4 [09:28:11]MH_SAM_APDU [09:28:11]CAPDU: 80 13 01 00 [09:28:11]Write to MH i2c: E2 08 00 9F 8C 80 13 01 00 00 00 00 00 A8 [09:28:11]Write i2c OK [09:28:11]MH_I2C_Read... [09:28:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:28:11]Read from MH i2c: E2 [09:28:11]MH_I2C_Read... [09:28:11]Read from MH i2c: E2 0E 00 [09:28:11]MH_I2C_Read... [09:28:11]Read from MH i2c: E2 0E 00 9F 8C 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 D9 [09:28:11]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [09:28:11]wFMCommunicate OK [09:28:11]SAM_PROTO_GetShiftState done [09:28:11]FM_GetShiftState done [09:28:11]req_shift_opened done [09:28:11]requested_item shift.open_date is exist - process it [09:28:11]req_shift_open_date [09:28:11]req_shift_open_date done [09:28:11]produce_requested_data done [09:28:11]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33254,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398} [09:28:11]process_action_free print_text [09:28:11]json_value_free [09:28:11]json_value_free done [09:28:11]process_json_proto returns [09:28:11]Send response to host [09:28:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33254,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398}}} [09:28:11]free response buf [09:28:11]execute_script done [09:28:11]execute_script returns [09:28:11]free content buf [09:28:11]Sock 8.Close socket [09:28:11]Sock 8.Thread stoped [09:28:12]OFD Sender: No OFD packet to send [09:28:17]OFD Sender: No OFD packet to send [09:28:22]OFD Sender: No OFD packet to send [09:28:27]OFD Sender: No OFD packet to send [09:28:32]OFD Sender: No OFD packet to send [09:28:37]OFD Sender: No OFD packet to send [09:28:42]OFD Sender: No OFD packet to send [09:28:47]OFD Sender: No OFD packet to send [09:28:52]OFD Sender: No OFD packet to send [09:28:57]OFD Sender: No OFD packet to send [09:29:02]OFD Sender: No OFD packet to send [09:29:07]OFD Sender: No OFD packet to send [09:29:12]OFD Sender: No OFD packet to send [09:29:17]OFD Sender: No OFD packet to send [09:29:22]OFD Sender: No OFD packet to send [09:29:27]OFD Sender: No OFD packet to send [09:29:32]OFD Sender: No OFD packet to send [09:29:37]OFD Sender: No OFD packet to send [09:29:42]OFD Sender: No OFD packet to send [09:29:47]OFD Sender: No OFD packet to send [09:29:52]OFD Sender: No OFD packet to send [09:29:57]OFD Sender: No OFD packet to send [09:30:02]OFD Sender: No OFD packet to send [09:30:07]OFD Sender: No OFD packet to send [09:30:12]OFD Sender: No OFD packet to send [09:30:17]OFD Sender: No OFD packet to send [09:30:22]OFD Sender: No OFD packet to send [09:30:27]OFD Sender: No OFD packet to send [09:30:32]OFD Sender: No OFD packet to send [09:30:37]OFD Sender: No OFD packet to send [09:30:42]OFD Sender: No OFD packet to send [09:30:47]OFD Sender: No OFD packet to send [09:30:52]OFD Sender: No OFD packet to send [09:30:57]OFD Sender: No OFD packet to send [09:31:02]OFD Sender: No OFD packet to send [09:31:07]OFD Sender: No OFD packet to send [09:31:12]OFD Sender: No OFD packet to send [09:31:17]OFD Sender: No OFD packet to send [09:31:22]OFD Sender: No OFD packet to send [09:31:27]OFD Sender: No OFD packet to send [09:31:32]OFD Sender: No OFD packet to send [09:31:37]OFD Sender: No OFD packet to send [09:31:42]OFD Sender: No OFD packet to send [09:31:47]OFD Sender: No OFD packet to send [09:31:52]OFD Sender: No OFD packet to send [09:31:57]OFD Sender: No OFD packet to send [09:32:02]OFD Sender: No OFD packet to send [09:32:07]OFD Sender: No OFD packet to send [09:32:12]OFD Sender: No OFD packet to send [09:32:17]OFD Sender: No OFD packet to send [09:32:22]OFD Sender: No OFD packet to send [09:32:27]OFD Sender: No OFD packet to send [09:32:32]OFD Sender: No OFD packet to send [09:32:37]OFD Sender: No OFD packet to send [09:32:42]OFD Sender: No OFD packet to send [09:32:47]OFD Sender: No OFD packet to send [09:32:52]OFD Sender: No OFD packet to send [09:32:57]OFD Sender: No OFD packet to send [09:33:02]OFD Sender: No OFD packet to send [09:33:07]OFD Sender: No OFD packet to send [09:33:12]OFD Sender: No OFD packet to send [09:33:17]OFD Sender: No OFD packet to send [09:33:22]OFD Sender: No OFD packet to send [09:33:27]OFD Sender: No OFD packet to send [09:33:32]OFD Sender: No OFD packet to send [09:33:37]OFD Sender: No OFD packet to send [09:33:42]OFD Sender: No OFD packet to send [09:33:47]OFD Sender: No OFD packet to send [09:33:52]OFD Sender: No OFD packet to send [09:33:57]OFD Sender: No OFD packet to send [09:34:02]OFD Sender: No OFD packet to send [09:34:07]OFD Sender: No OFD packet to send [09:34:12]OFD Sender: No OFD packet to send [09:34:17]OFD Sender: No OFD packet to send [09:34:22]OFD Sender: No OFD packet to send [09:34:27]OFD Sender: No OFD packet to send [09:34:32]OFD Sender: No OFD packet to send [09:34:37]OFD Sender: No OFD packet to send [09:34:42]OFD Sender: No OFD packet to send [09:34:47]OFD Sender: No OFD packet to send [09:34:52]OFD Sender: No OFD packet to send [09:34:57]OFD Sender: No OFD packet to send [09:35:02]OFD Sender: No OFD packet to send [09:35:07]OFD Sender: No OFD packet to send [09:35:12]OFD Sender: No OFD packet to send [09:35:17]OFD Sender: No OFD packet to send [09:35:22]OFD Sender: No OFD packet to send [09:35:27]OFD Sender: No OFD packet to send [09:35:32]OFD Sender: No OFD packet to send [09:35:37]OFD Sender: No OFD packet to send [09:35:42]OFD Sender: No OFD packet to send [09:35:47]OFD Sender: No OFD packet to send [09:35:52]OFD Sender: No OFD packet to send [09:35:57]OFD Sender: No OFD packet to send [09:36:02]OFD Sender: No OFD packet to send [09:36:07]OFD Sender: No OFD packet to send [09:36:12]OFD Sender: No OFD packet to send [09:36:17]OFD Sender: No OFD packet to send [09:36:22]OFD Sender: No OFD packet to send [09:36:27]OFD Sender: No OFD packet to send [09:36:32]OFD Sender: No OFD packet to send [09:36:37]OFD Sender: No OFD packet to send [09:36:42]OFD Sender: No OFD packet to send [09:36:47]OFD Sender: No OFD packet to send [09:36:52]OFD Sender: No OFD packet to send [09:36:57]OFD Sender: No OFD packet to send [09:37:02]OFD Sender: No OFD packet to send [09:37:07]OFD Sender: No OFD packet to send [09:37:12]OFD Sender: No OFD packet to send [09:37:17]OFD Sender: No OFD packet to send [09:37:22]OFD Sender: No OFD packet to send [09:37:27]OFD Sender: No OFD packet to send [09:37:32]OFD Sender: No OFD packet to send [09:37:37]OFD Sender: No OFD packet to send [09:37:42]OFD Sender: No OFD packet to send [09:37:47]OFD Sender: No OFD packet to send [09:37:52]OFD Sender: No OFD packet to send [09:37:57]OFD Sender: No OFD packet to send [09:38:02]OFD Sender: No OFD packet to send [09:38:07]OFD Sender: No OFD packet to send [09:38:12]OFD Sender: No OFD packet to send [09:38:17]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:05]accept exits with 9 [09:40:05]New connection [09:40:05]New thread 3066842468 created [09:40:05]Thread 3066699108 joined [09:40:05]Waiting for new connection... [09:40:05] Sock 9.Parse request [09:40:05]Sock 9.Check first char [09:40:05]Sock 9.First char is OK [09:40:05]request: POST /json_proto HTTP/1.0 [09:40:05]Method: POST [09:40:05]URL: /json_proto [09:40:05]Method is POST - this is cgi request [09:40:05]url: /json_proto [09:40:05]query_string will be loaded in cgi processing [09:40:05]execute_cgi json_proto POST (null) [09:40:05]execute_cgi path=json_proto method=POST [09:40:05]POST find Content-Length [09:40:05]Host: 172.17.35.196:8080 [09:40:05]Content-Length: 1004 [09:40:05]Content-Type: application/json [09:40:05] [09:40:05]POST finish read [09:40:05]Found Content-Length = 1004 [09:40:05]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169095", "tax_sys" : 0, "items" : [ { "code": "4700007110073", "name": "\u0421\u044D\u043D\u0434\u0432\u0438\u0447 \u0441 \u043A\u0435\u0442\u0447\u0443\u043F\u043E\u043C \u0422\u0430\u043B\u0430\u0441 \u0414\u0430\u0430\u043C\u044B", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000483334", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Fresh \u0414\u0438\u043A\u0438\u0435 \u044F\u0433\u043E\u0434\u044B", "price" : 82.00, "quantity" : 1.000, "sum" : 82.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 152.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:40:05]execute_script... [09:40: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)169095", "tax_sys" : 0, "items" : [ { "code": "4700007110073", "name": "\u0421\u044D\u043D\u0434\u0432\u0438\u0447 \u0441 \u043A\u0435\u0442\u0447\u0443\u043F\u043E\u043C \u0422\u0430\u043B\u0430\u0441 \u0414\u0430\u0430\u043C\u044B", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000483334", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Fresh \u0414\u0438\u043A\u0438\u0435 \u044F\u0433\u043E\u0434\u044B", "price" : 82.00, "quantity" : 1.000, "sum" : 82.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 152.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:40:05]POST & json_proto [09:40:05]process_json_proto [09:40:05]json parsed OK: [09:40:05]protocol is kg_v1.0 [09:40:05]action value=close_receipt [09:40:05]process_action close_receipt [09:40:05]cmd_close_receipt [09:40:05]MH_GetDate [09:40:05]Write to MH i2c: F0 00 00 A0 8C 1B [09:40:05]Write i2c OK [09:40:05]MH_I2C_Read... [09:40:05]Read from MH i2c: F0 [09:40:05]MH_I2C_Read... [09:40:05]Read from MH i2c: F0 09 00 [09:40:05]MH_I2C_Read... [09:40:05]Read from MH i2c: F0 09 00 A0 8C 00 9A A8 8F 66 AD 14 F4 65 75 [09:40:05]GetLastDocTimeStamp 1720689591 [09:40:05]current date 1720690842 [09:40:05]FM_GetShiftState [09:40:05]SAM_PROTO_GetShiftState [09:40:05]wFMCommunicate request_size=4 [09:40:05]MH_SAM_APDU [09:40:05]CAPDU: 80 13 01 00 [09:40:05]Write to MH i2c: E2 08 00 A1 8C 80 13 01 00 00 00 00 00 AA [09:40:05]Write i2c OK [09:40:05]MH_I2C_Read... [09:40:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:40:05]Read from MH i2c: E2 [09:40:05]MH_I2C_Read... [09:40:05]Read from MH i2c: E2 0E 00 [09:40:05]MH_I2C_Read... [09:40:05]Read from MH i2c: E2 0E 00 A1 8C 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 DB [09:40:05]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [09:40:05]wFMCommunicate OK [09:40:05]SAM_PROTO_GetShiftState done [09:40:05]FM_GetShiftState done [09:40:05]opened in 1720656398 [09:40:05]opened+sec_in_day 1720742798 [09:40:05]quantity*price = 7000 [09:40:05]sum+1 = 7001 [09:40:05]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000483334 Напиток Nitro Fresh Дикие ягоды 1.000 * 82.00 = 82.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 152.00 НСП 1% : 1.35 НДС 12% : 16.14 Наличными: 152.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 10 11.07.2024 09:40 Смена: 432 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33255 ФПД: 262687001554130 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T094042&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33255&fm=262687001554130&tin=02508201610067®Number=0000000000093033&sum=15200 0 [09:40:07]StoreToDocumentArchive [09:40:07]shift 432 fd 33255 [09:40:07]save to /storage/0432/doc_00033255 [09:40:07]save last doc name /storage/0432/doc_00033255 to /storage/kkm_last_doc_name [09:40:07]save OK [09:40:07]Clear old archive folders... [09:40:07]Remove dir /storage/0266 [09:40:07]opendir ok [09:40:07]file . [09:40:07]file .. [09:40:07]file doc_1720689600 [09:40:07]remove file /storage/0266/doc_1720689600 [09:40:07]remove dir /storage/0266 [09:40:07]ProcessDocumentItem done err = 0, tmpTLVsize=418 [09:40:07]tlvbuf is 00300EF0 [09:40:07]SAM_PROTO_ClearQueue [09:40:07]wFMCommunicate request_size=4 [09:40:07]MH_SAM_APDU [09:40:07]CAPDU: 80 09 00 00 [09:40:07]Write to MH i2c: E2 08 00 AE 8C 80 09 00 00 00 00 00 00 AC [09:40:07]Write i2c OK [09:40:07]MH_I2C_Read... [09:40:07]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:40:07]Read from MH i2c: E2 [09:40:07]MH_I2C_Read... [09:40:07]Read from MH i2c: E2 03 00 [09:40:07]MH_I2C_Read... [09:40:07]Read from MH i2c: E2 03 00 AE 8C 00 90 00 AE [09:40:07]RAPDU: 90 00 [09:40:07]wFMCommunicate OK [09:40:07]SAM_PROTO_ClearQueue done [09:40:07]KKMCreateOFDPacket [09:40:07]OFDProtocolAddRootSTLVToBuf [09:40:07]FM_MakeSignedData [09:40:07]FM_MakeSignedData [09:40:07]SAM_PROTO_SignData [09:40:07]wFMCommunicate request_size=4 [09:40:07]MH_SAM_APDU [09:40:07]CAPDU: 80 0D 01 02 [09:40:07]Write to MH i2c: E2 08 00 AF 8C 80 0D 01 02 00 00 00 00 B4 [09:40:07]Write i2c OK [09:40:07]MH_I2C_Read... [09:40:07]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:40:07]Read from MH i2c: E2 [09:40:07]MH_I2C_Read... [09:40:07]Read from MH i2c: E2 03 00 [09:40:07]MH_I2C_Read... [09:40:07]Read from MH i2c: E2 03 00 AF 8C 00 90 00 AF [09:40:07]RAPDU: 90 00 [09:40:07]wFMCommunicate OK [09:40:07]wFMCommunicate request_size=255 [09:40:07]MH_SAM_APDU [09:40:07]CAPDU: 80 0D 02 02 FA 03 00 A2 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 37 30 30 30 30 37 31 31 30 30 37 33 06 04 38 00 D0 A1 D1 8D D0 BD D0 B4 D0 B2 D0 B8 D1 87 20 D1 81 20 D0 BA D0 B5 D1 82 D1 87 D1 83 D0 BF D0 BE D0 BC 20 D0 A2 D0 B0 D0 BB D0 B0 D1 81 20 D0 94 D0 B0 D0 B0 D0 BC D1 8B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 33 33 33 34 06 04 30 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 46 72 65 73 68 20 D0 94 D0 B8 D0 BA D0 B8 D0 B5 20 D1 8F D0 B3 D0 BE D0 B4 D1 8B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 08 20 00 00 00 00 13 04 06 00 08 20 00 00 00 00 F2 03 01 00 01 F6 03 01 [09:40:07]Write to MH i2c: E2 02 01 B0 8C 80 0D 02 02 FA 00 03 00 A2 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 37 30 30 30 30 37 31 31 30 30 37 33 06 04 38 00 D0 A1 D1 8D D0 BD D0 B4 D0 B2 D0 B8 D1 87 20 D1 81 20 D0 BA D0 B5 D1 82 D1 87 D1 83 D0 BF D0 BE D0 BC 20 D0 A2 D0 B0 D0 BB D0 B0 D1 81 20 D0 94 D0 B0 D0 B0 D0 BC D1 8B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 33 33 33 34 06 04 30 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 46 72 65 73 68 20 D0 94 D0 B8 D0 BA D0 B8 D0 B5 20 D1 8F D0 B3 D0 BE D0 B4 D1 8B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 08 20 00 00 00 00 13 04 06 00 08 20 00 00 00 00 F2 03 01 00 01 F6 03 01 00 00 3B [09:40:07]Write i2c OK [09:40:07]MH_I2C_Read... [09:40:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:40:07]Read from MH i2c: E2 [09:40:07]MH_I2C_Read... [09:40:07]Read from MH i2c: E2 03 00 [09:40:07]MH_I2C_Read... [09:40:07]Read from MH i2c: E2 03 00 B0 8C 00 90 00 B0 [09:40:07]RAPDU: 90 00 [09:40:07]wFMCommunicate OK [09:40:07]wFMCommunicate request_size=177 [09:40:07]MH_SAM_APDU [09:40:07]CAPDU: 80 0D 02 02 AC 00 01 BC 04 01 00 01 FC 03 06 00 60 3B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 87 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4E 06 00 00 00 00 07 04 06 00 60 3B 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 9A A8 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 E7 81 00 00 35 04 06 00 EE E9 95 6A 2C D2 [09:40:07]Write to MH i2c: E2 B4 00 B1 8C 80 0D 02 02 AC 00 00 01 BC 04 01 00 01 FC 03 06 00 60 3B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 87 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4E 06 00 00 00 00 07 04 06 00 60 3B 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 9A A8 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 E7 81 00 00 35 04 06 00 EE E9 95 6A 2C D2 00 00 45 [09:40:07]Write i2c OK [09:40:07]MH_I2C_Read... [09:40:07]OFD Sender: No OFD packet to send [09:40:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:40:07]Read from MH i2c: E2 [09:40:07]MH_I2C_Read... [09:40:07]Read from MH i2c: E2 03 00 [09:40:07]MH_I2C_Read... [09:40:07]Read from MH i2c: E2 03 00 B1 8C 00 90 00 B1 [09:40:07]RAPDU: 90 00 [09:40:07]wFMCommunicate OK [09:40:07]wFMCommunicate request_size=4 [09:40:07]MH_SAM_APDU [09:40:07]CAPDU: 80 0D 03 02 [09:40:07]Write to MH i2c: E2 08 00 B2 8C 80 0D 03 02 00 00 00 00 B9 [09:40:07]Write i2c OK [09:40:07]MH_I2C_Read... [09:40:07]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:40:07]Read from MH i2c: E2 [09:40:07]MH_I2C_Read... [09:40:07]Read from MH i2c: E2 0B 00 [09:40:07]MH_I2C_Read... [09:40:07]Read from MH i2c: E2 0B 00 B2 8C 00 EE 94 47 4F 35 A5 5E 88 90 00 92 [09:40:07]RAPDU: EE 94 47 4F 35 A5 5E 88 90 00 [09:40:07]wFMCommunicate OK [09:40:07]SAM_PROTO_SignData done [09:40:07]FM_MakeSignedData done [09:40:07]CreateOFDProtocolMessage [09:40:07]wFMCommunicate request_size=4 [09:40:07]MH_SAM_APDU [09:40:07]CAPDU: 80 11 00 00 [09:40:07]Write to MH i2c: E2 08 00 B3 8C 80 11 00 00 00 00 00 00 B9 [09:40:07]Write i2c OK [09:40:07]MH_I2C_Read... [09:40:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:40:07]Read from MH i2c: E2 [09:40:07]MH_I2C_Read... [09:40:07]Read from MH i2c: E2 17 00 [09:40:07]MH_I2C_Read... [09:40:07]Read from MH i2c: E2 17 00 B3 8C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 05 [09:40:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [09:40:07]wFMCommunicate OK [09:40:07]CreateOFDProtocolMessage done [09:40:07]OFDSenderStorePacket 33255 [09:40:07]StoreOFDPacket docnum=33255 [09:40:07]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 B6 01 00 00 2B F4 AE 01 18 0C 5A 03 01 00 03 00 A2 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 37 30 30 30 30 37 31 31 30 30 37 33 06 04 38 00 D0 A1 D1 8D D0 BD D0 B4 D0 B2 D0 B8 D1 87 20 D1 81 20 D0 BA D0 B5 D1 82 D1 87 D1 83 D0 BF D0 BE D0 BC 20 D0 A2 D0 B0 D0 BB D0 B0 D1 81 20 D0 94 D0 B0 D0 B0 D0 BC D1 8B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 33 33 33 34 06 04 30 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 46 72 65 73 68 20 D0 94 D0 B8 D0 BA D0 B8 D0 B5 20 D1 8F D0 B3 D0 BE D0 B4 D1 8B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 08 20 00 00 00 00 13 04 06 00 08 20 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 3B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 87 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4E 06 00 00 00 00 07 04 06 00 60 3B 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 9A A8 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 E7 81 00 00 35 04 06 00 EE E9 95 6A 2C D2 EE 94 47 4F 35 A5 5E 88 [09:40:07]CheckFolder [09:40:07]dirname=/storage/ofd_packets [09:40:07]CheckFolder done [09:40:07]ProducePacketName [09:40:07]name=ofd_packets/00033255 [09:40:07]NVStorageSaveData ofd_packets/00033255 [09:40:07]File name is /storage/ofd_packets/00033255 [09:40:07]Write 468 bytes [09:40:07]NVStorageSaveData done [09:40:07]OFDSenderStorePacket done [09:40:07]KKMCreateOFDPacket done [09:40:08]NVStorageSaveData kkm_last_timestamp [09:40:08]File name is /storage/kkm_last_timestamp [09:40:08]Write 4 bytes [09:40:08]NVStorageSaveData done [09:40:08]ExternCall_PrintAddStr [09:40:08]wPrintStart [09:40:08]Write to MH i2c: 01 00 00 B4 8C 40 [09:40:08]OFD Sender: Processing packet 33255 [packets to send 6, broken 5] [09:40:08]ProducePacketName [09:40:08]name=ofd_packets/00033255 [09:40:08]OFD Sender: To server: pG, [09:40:08]CommunicateWithHost lk.salyk.kg:30040 [09:40:08]ConnectInit lk.salyk.kg [09:40:08]Write i2c OK [09:40:08]MH_I2C_Read... [09:40:08]Read from MH i2c: 01 [09:40:08]MH_I2C_Read... [09:40:08]Read from MH i2c: 01 07 00 [09:40:08]MH_I2C_Read... [09:40:08]Read from MH i2c: 01 07 00 B4 8C 00 00 00 00 00 FF 0F 55 [09:40:08]RasterBufferAndPrint [09:40:08]line Счет N : (3)169095 [09:40:08]line ИНН: 02508201610067 [09:40:08]line Контрольно-Кассовый Чек [09:40:08]line ПРОДАЖА [09:40:08]line Товар: 4700007110073 [09:40:08]line Сэндвич с кетчупом Талас Даамы [09:40:08]line 1.000 * 70.00 [09:40:08]line = 70.00 [09:40:08]line НДС 12% НСП 1% [09:40:08]line > о реализуемом товаре [09:40:08]line Товар: 4700000483334 [09:40:08]line Напиток Nitro Fresh Дикие ягоды [09:40:08]line 1.000 * 82.00 [09:40:08]line = 82.00 [09:40:08]line НДС 12% НСП 1% [09:40:08]line > о реализуемом товаре [09:40:08]line ИТОГО: 152.00 [09:40:08]line НСП 1% : 1.35 [09:40:08]line НДС 12% : 16.14 [09:40:08]line Наличными: 152.00 [09:40:08]line Безнал.: 0.00 [09:40:08]line Место: АЗС № 77 "Партнер Нефть" [09:40:08]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [09:40:08]line СНО: Общий режим [09:40:08]line Чек 10 11.07.2024 09:40 [09:40:08]line Смена: 432 ФФД: 1.0 [09:40:08]line ЗНМ: 0300000122 [09:40:08]line РНМ: 0000000000093033 [09:40:08]line Версия ККМ: 001 [09:40:08]line ФМ: 0000000000875104 [09:40:08]line ФД: 33255 [09:40:08]line ФПД: 262687001554130 [09:40:08]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T094042&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33255&fm=262687001554130&tin=02508201610067®Number=0000000000093033&sum=15200 [09:40:08]line 0 [09:40:08]written 0, free lines is 4095 [09:40:08]Connected sock=10 [09:40:08]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 B6 01 00 00 2B F4 AE 01 18 0C 5A 03 01 00 03 00 A2 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 37 30 30 30 30 37 31 31 30 30 37 33 06 04 38 00 D0 A1 D1 8D D0 BD D0 B4 D0 B2 D0 B8 D1 87 20 D1 81 20 D0 BA D0 B5 D1 82 D1 87 D1 83 D0 BF D0 BE D0 BC 20 D0 A2 D0 B0 D0 BB D0 B0 D1 81 20 D0 94 D0 B0 D0 B0 D0 BC D1 8B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 33 33 33 34 06 04 30 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 46 72 65 73 68 20 D0 94 D0 B8 D0 BA D0 B8 D0 B5 20 D1 8F D0 B3 D0 BE D0 B4 D1 8B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 08 20 00 00 00 00 13 04 06 00 08 20 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 3B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 87 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4E 06 00 00 00 00 07 04 06 00 60 3B 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 9A A8 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 E7 81 00 00 35 04 06 00 EE E9 95 6A 2C D2 EE 94 47 4F 35 A5 5E 88 [09:40:08]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 43 E9 47 00 20 47 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 35 31 30 34 10 04 04 00 E7 81 00 00 F4 03 04 00 4A 53 8F 66 B6 04 01 00 00 22 97 8D BB 4B 23 85 21 [09:40:08]CommunicateWithHost err = 0 [09:40:08]CheckOFDResponse [09:40:08]1017 (14) - 77093643461234 [09:40:08]1041 (16) - 0000000000875104 [09:40:08]1040 (4) - 33255 [09:40:08]1012 (4) - 11.07.2024 03:36 [09:40:08]1206 (1) - 0 [09:40:08]OFD Sender: Remove packet 33255 [09:40:08]ProducePacketName [09:40:08]name=ofd_packets/00033255 [09:40:08]NVStorageDeleteData [09:40:08]Write to MH i2c: 01 00 00 E4 8C 70 [09:40:08]Write i2c OK [09:40:08]MH_I2C_Read... [09:40:08]Read from MH i2c: 01 [09:40:08]MH_I2C_Read... [09:40:08]Read from MH i2c: 01 07 00 [09:40:08]MH_I2C_Read... [09:40:08]Read from MH i2c: 01 07 00 E4 8C 00 00 00 00 00 6B 0C EE [09:40:08]RasterBufferAndPrint [09:40:08]line [09:40:08]line [09:40:08]line [09:40:08]line [09:40:08]line [09:40:08]written 0, free lines is 3187 [09:40:08]MH_Cut [09:40:08]Write to MH i2c: D1 01 00 EB 8C 01 49 [09:40:08]Write i2c OK [09:40:08]MH_I2C_Read... [09:40:08]Read from MH i2c: D1 [09:40:08]MH_I2C_Read... [09:40:08]Read from MH i2c: D1 01 00 [09:40:08]MH_I2C_Read... [09:40:08]Read from MH i2c: D1 01 00 EB 8C 00 48 [09:40:08]Write to MH i2c: 01 00 00 EC 8C 78 [09:40:08]Write i2c OK [09:40:08]MH_I2C_Read... [09:40:08]OFD Sender: No OFD packet to send [09:40:09]*** Cut start [09:40:09]*** Partial cut [09:40:09]*** CUTSNS_PIN = 1 [09:40:09]*** CUTSNS_PIN = 0 [09:40:09]*** Brake cut motor [09:40:10]Read from MH i2c: 01 [09:40:10]MH_I2C_Read... [09:40:10]*** Stop cut motor [09:40:10]*** Cut end [09:40:10]Read from MH i2c: 01 07 00 [09:40:10]MH_I2C_Read... [09:40:10]Read from MH i2c: 01 07 00 EC 8C 00 00 00 00 00 FF 0F 8D [09:40:10]process_action close_receipt done [09:40:10]requested_data is exist [09:40:10]produce_requested_data [09:40:10]requested_item fm.sn is exist - process it [09:40:10]wFMCommunicate request_size=4 [09:40:10]MH_SAM_APDU [09:40:10]CAPDU: 80 11 00 00 [09:40:10]Write to MH i2c: E2 08 00 ED 8C 80 11 00 00 00 00 00 00 F3 [09:40:10]Write i2c OK [09:40:10]MH_I2C_Read... [09:40:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:40:10]Read from MH i2c: E2 [09:40:10]MH_I2C_Read... [09:40:10]Read from MH i2c: E2 17 00 [09:40:10]MH_I2C_Read... [09:40:10]Read from MH i2c: E2 17 00 ED 8C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 3F [09:40:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [09:40:10]wFMCommunicate OK [09:40:10]requested_item fd.num is exist - process it [09:40:10]SAM_PROTO_GetFieldsCounters [09:40:10]wFMCommunicate request_size=4 [09:40:10]MH_SAM_APDU [09:40:10]CAPDU: 80 13 00 00 [09:40:10]Write to MH i2c: E2 08 00 EE 8C 80 13 00 00 00 00 00 00 F6 [09:40:10]Write i2c OK [09:40:10]MH_I2C_Read... [09:40:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:40:10]Read from MH i2c: E2 [09:40:10]MH_I2C_Read... [09:40:10]Read from MH i2c: E2 62 00 [09:40:10]MH_I2C_Read... [09:40:10]Read from MH i2c: E2 62 00 EE 8C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 E7 81 00 00 0E 04 04 00 B0 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 40 [09:40: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 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 E7 81 00 00 0E 04 04 00 B0 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 [09:40:10]wFMCommunicate OK [09:40:10]SAM_PROTO_GetFieldsCounters done [09:40:10]requested_item shift.num is exist - process it [09:40:10]requested_item shift.opened is exist - process it [09:40:10]req_shift_opened [09:40:10]FM_GetShiftState [09:40:10]SAM_PROTO_GetShiftState [09:40:10]wFMCommunicate request_size=4 [09:40:10]MH_SAM_APDU [09:40:10]CAPDU: 80 13 01 00 [09:40:10]Write to MH i2c: E2 08 00 EF 8C 80 13 01 00 00 00 00 00 F8 [09:40:10]Write i2c OK [09:40:10]MH_I2C_Read... [09:40:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:40:10]Read from MH i2c: E2 [09:40:10]MH_I2C_Read... [09:40:10]Read from MH i2c: E2 0E 00 [09:40:10]MH_I2C_Read... [09:40:10]Read from MH i2c: E2 0E 00 EF 8C 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 29 [09:40:10]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [09:40:10]wFMCommunicate OK [09:40:10]SAM_PROTO_GetShiftState done [09:40:10]FM_GetShiftState done [09:40:10]req_shift_opened done [09:40:10]requested_item shift.open_date is exist - process it [09:40:10]req_shift_open_date [09:40:10]req_shift_open_date done [09:40:10]produce_requested_data done [09:40:10]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33255,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398} [09:40:10]process_action_free close_receipt [09:40:10]json_value_free [09:40:10]json_value_free done [09:40:10]process_json_proto returns [09:40:10]Send response to host [09:40:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33255,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398}}} [09:40:10]free response buf [09:40:10]execute_script done [09:40:10]execute_script returns [09:40:10]free content buf [09:40:10]Sock 9.Close socket [09:40:10]Sock 9.Thread stoped [09:40:13]OFD Sender: No OFD packet to send [09:40:18]OFD Sender: No OFD packet to send [09:40:23]OFD Sender: No OFD packet to send [09:40:28]OFD Sender: No OFD packet to send [09:40:33]OFD Sender: No OFD packet to send [09:40:38]OFD Sender: No OFD packet to send [09:40:43]OFD Sender: No OFD packet to send [09:40:48]OFD Sender: No OFD packet to send [09:40:53]OFD Sender: No OFD packet to send [09:40:58]OFD Sender: No OFD packet to send [09:41:03]OFD Sender: No OFD packet to send [09:41:08]OFD Sender: No OFD packet to send [09:41:13]OFD Sender: No OFD packet to send [09:41:18]OFD Sender: No OFD packet to send [09:41:23]OFD Sender: No OFD packet to send [09:41:28]OFD Sender: No OFD packet to send [09:41:33]OFD Sender: No OFD packet to send [09:41:38]OFD Sender: No OFD packet to send [09:41:43]OFD Sender: No OFD packet to send [09:41:48]OFD Sender: No OFD packet to send [09:41:53]OFD Sender: No OFD packet to send [09:41:58]OFD Sender: No OFD packet to send [09:42:03]OFD Sender: No OFD packet to send [09:42:09]OFD Sender: No OFD packet to send [09:42:14]OFD Sender: No OFD packet to send [09:42:19]OFD Sender: No OFD packet to send [09:42:24]OFD Sender: No OFD packet to send [09:42:29]OFD Sender: No OFD packet to send [09:42:34]OFD Sender: No OFD packet to send [09:42:39]OFD Sender: No OFD packet to send [09:42:44]OFD Sender: No OFD packet to send [09:42:49]OFD Sender: No OFD packet to send [09:42:54]OFD Sender: No OFD packet to send [09:42:59]OFD Sender: No OFD packet to send [09:43:04]OFD Sender: No OFD packet to send [09:43:09]OFD Sender: No OFD packet to send [09:43:14]OFD Sender: No OFD packet to send [09:43:19]OFD Sender: No OFD packet to send [09:43:24]OFD Sender: No OFD packet to send [09:43:29]OFD Sender: No OFD packet to send [09:43:34]OFD Sender: No OFD packet to send [09:43:39]OFD Sender: No OFD packet to send [09:43:44]OFD Sender: No OFD packet to send [09:43:49]OFD Sender: No OFD packet to send [09:43:54]OFD Sender: No OFD packet to send [09:43:59]OFD Sender: No OFD packet to send [09:44:04]OFD Sender: No OFD packet to send [09:44:09]OFD Sender: No OFD packet to send [09:44:14]OFD Sender: No OFD packet to send [09:44:19]OFD Sender: No OFD packet to send [09:44:24]OFD Sender: No OFD packet to send [09:44:29]OFD Sender: No OFD packet to send [09:44:34]OFD Sender: No OFD packet to send [09:44:39]OFD Sender: No OFD packet to send [09:44:44]OFD Sender: No OFD packet to send [09:44:49]OFD Sender: No OFD packet to send [09:44:54]OFD Sender: No OFD packet to send [09:44:59]OFD Sender: No OFD packet to send [09:45:04]OFD Sender: No OFD packet to send [09:45:09]OFD Sender: No OFD packet to send [09:45:14]OFD Sender: No OFD packet to send [09:45:19]OFD Sender: No OFD packet to send [09:45:24]OFD Sender: No OFD packet to send [09:45:29]OFD Sender: No OFD packet to send [09:45:34]OFD Sender: No OFD packet to send [09:45:39]OFD Sender: No OFD packet to send [09:45:44]OFD Sender: No OFD packet to send [09:45:49]OFD Sender: No OFD packet to send [09:45:54]OFD Sender: No OFD packet to send [09:45:59]OFD Sender: No OFD packet to send [09:46:04]OFD Sender: No OFD packet to send [09:46:09]OFD Sender: No OFD packet to send [09:46:14]OFD Sender: No OFD packet to send [09:46:19]OFD Sender: No OFD packet to send [09:46:24]OFD Sender: No OFD packet to send [09:46:29]OFD Sender: No OFD packet to send [09:46:34]OFD Sender: No OFD packet to send [09:46:39]OFD Sender: No OFD packet to send [09:46:44]OFD Sender: No OFD packet to send [09:46:49]OFD Sender: No OFD packet to send [09:46:54]OFD Sender: No OFD packet to send [09:46:59]OFD Sender: No OFD packet to send [09:47:04]OFD Sender: No OFD packet to send [09:47:09]OFD Sender: No OFD packet to send [09:47:14]OFD Sender: No OFD packet to send [09:47:19]OFD Sender: No OFD packet to send [09:47:24]OFD Sender: No OFD packet to send [09:47:29]OFD Sender: No OFD packet to send [09:47:34]OFD Sender: No OFD packet to send [09:47:39]OFD Sender: No OFD packet to send [09:47:44]OFD Sender: No OFD packet to send [09:47:49]OFD Sender: No OFD packet to send [09:47:54]OFD Sender: No OFD packet to send [09:47:59]OFD Sender: No OFD packet to send [09:48:04]OFD Sender: No OFD packet to send [09:48:09]OFD Sender: No OFD packet to send [09:48:14]OFD Sender: No OFD packet to send [09:48:19]OFD Sender: No OFD packet to send [09:48:24]OFD Sender: No OFD packet to send [09:48:29]OFD Sender: No OFD packet to send [09:48:34]OFD Sender: No OFD packet to send [09:48:39]OFD Sender: No OFD packet to send [09:48:44]OFD Sender: No OFD packet to send [09:48:49]OFD Sender: No OFD packet to send [09:48:54]OFD Sender: No OFD packet to send [09:48:59]OFD Sender: No OFD packet to send [09:49:04]OFD Sender: No OFD packet to send [09:49:09]OFD Sender: No OFD packet to send [09:49:14]OFD Sender: No OFD packet to send [09:49:19]OFD Sender: No OFD packet to send [09:49:24]OFD Sender: No OFD packet to send [09:49:29]OFD Sender: No OFD packet to send [09:49:34]OFD Sender: No OFD packet to send [09:49:39]OFD Sender: No OFD packet to send [09:49:44]OFD Sender: No OFD packet to send [09:49:49]OFD Sender: No OFD packet to send [09:49:54]OFD Sender: No OFD packet to send [09:49:59]OFD Sender: No OFD packet to send [09:50:04]OFD Sender: No OFD packet to send [09:50:09]OFD Sender: No OFD packet to send [09:50:14]OFD Sender: No OFD packet to send [09:50:19]OFD Sender: No OFD packet to send [09:50:24]OFD Sender: No OFD packet to send [09:50:29]OFD Sender: No OFD packet to send [09:50:34]OFD Sender: No OFD packet to send [09:50:39]OFD Sender: No OFD packet to send [09:50:44]OFD Sender: No OFD packet to send [09:50:49]OFD Sender: No OFD packet to send [09:50:54]OFD Sender: No OFD packet to send [09:50:59]OFD Sender: No OFD packet to send [09:51:04]OFD Sender: No OFD packet to send [09:51:09]OFD Sender: No OFD packet to send [09:51:14]OFD Sender: No OFD packet to send [09:51:19]OFD Sender: No OFD packet to send [09:51:24]OFD Sender: No OFD packet to send [09:51:29]OFD Sender: No OFD packet to send [09:51:34]OFD Sender: No OFD packet to send [09:51:39]OFD Sender: No OFD packet to send [09:51:44]OFD Sender: No OFD packet to send [09:51:49]OFD Sender: No OFD packet to send [09:51:54]OFD Sender: No OFD packet to send [09:51:59]OFD Sender: No OFD packet to send [09:52:04]OFD Sender: No OFD packet to send [09:52:09]OFD Sender: No OFD packet to send [09:52:14]OFD Sender: No OFD packet to send [09:52:19]OFD Sender: No OFD packet to send [09:52:24]OFD Sender: No OFD packet to send [09:52:29]OFD Sender: No OFD packet to send [09:52:34]OFD Sender: No OFD packet to send [09:52:39]OFD Sender: No OFD packet to send [09:52:44]OFD Sender: No OFD packet to send [09:52:49]OFD Sender: No OFD packet to send [09:52:54]OFD Sender: No OFD packet to send [09:52:59]OFD Sender: No OFD packet to send [09:53:04]OFD Sender: No OFD packet to send [09:53:09]OFD Sender: No OFD packet to send [09:53:14]OFD Sender: No OFD packet to send [09:53:19]OFD Sender: No OFD packet to send [09:53:24]OFD Sender: No OFD packet to send [09:53:29]OFD Sender: No OFD packet to send [09:53:34]OFD Sender: No OFD packet to send [09:53:39]OFD Sender: No OFD packet to send [09:53:44]OFD Sender: No OFD packet to send [09:53:49]OFD Sender: No OFD packet to send [09:53:54]OFD Sender: No OFD packet to send [09:53:59]OFD Sender: No OFD packet to send [09:54:04]OFD Sender: No OFD packet to send [09:54:09]OFD Sender: No OFD packet to send [09:54:14]OFD Sender: No OFD packet to send [09:54:19]OFD Sender: No OFD packet to send [09:54:24]OFD Sender: No OFD packet to send [09:54:29]OFD Sender: No OFD packet to send [09:54:34]OFD Sender: No OFD packet to send [09:54:39]OFD Sender: No OFD packet to send [09:54:44]OFD Sender: No OFD packet to send [09:54:49]OFD Sender: No OFD packet to send [09:54:54]OFD Sender: No OFD packet to send [09:54:59]OFD Sender: No OFD packet to send [09:55:04]OFD Sender: No OFD packet to send [09:55:09]OFD Sender: No OFD packet to send [09:55:14]OFD Sender: No OFD packet to send [09:55:19]OFD Sender: No OFD packet to send [09:55:24]OFD Sender: No OFD packet to send [09:55:29]OFD Sender: No OFD packet to send [09:55:34]OFD Sender: No OFD packet to send [09:55:39]OFD Sender: No OFD packet to send [09:55:44]OFD Sender: No OFD packet to send [09:55:49]OFD Sender: No OFD packet to send [09:55:54]OFD Sender: No OFD packet to send [09:55:59]OFD Sender: No OFD packet to send [09:56:04]OFD Sender: No OFD packet to send [09:56:09]OFD Sender: No OFD packet to send [09:56:14]OFD Sender: No OFD packet to send [09:56:19]OFD Sender: No OFD packet to send [09:56:24]OFD Sender: No OFD packet to send [09:56:29]OFD Sender: No OFD packet to send [09:56:34]OFD Sender: No OFD packet to send [09:56:39]OFD Sender: No OFD packet to send [09:56:44]OFD Sender: No OFD packet to send [09:56:49]OFD Sender: No OFD packet to send [09:56:54]OFD Sender: No OFD packet to send [09:56:59]OFD Sender: No OFD packet to send [09:57:04]OFD Sender: No OFD packet to send [09:57:09]OFD Sender: No OFD packet to send [09:57:14]OFD Sender: No OFD packet to send [09:57:19]OFD Sender: No OFD packet to send [09:57:24]OFD Sender: No OFD packet to send [09:57:29]OFD Sender: No OFD packet to send [09:57:34]OFD Sender: No OFD packet to send [09:57:39]OFD Sender: No OFD packet to send [09:57:44]OFD Sender: No OFD packet to send [09:57:49]OFD Sender: No OFD packet to send [09:57:54]OFD Sender: No OFD packet to send [09:57:59]OFD Sender: No OFD packet to send [09:58:04]OFD Sender: No OFD packet to send [09:58:09]OFD Sender: No OFD packet to send [09:58:14]OFD Sender: No OFD packet to send [09:58:19]OFD Sender: No OFD packet to send [09:58:24]OFD Sender: No OFD packet to send [09:58:29]OFD Sender: No OFD packet to send [09:58:34]OFD Sender: No OFD packet to send [09:58:39]OFD Sender: No OFD packet to send [09:58:44]OFD Sender: No OFD packet to send [09:58:49]OFD Sender: No OFD packet to send [09:58:54]OFD Sender: No OFD packet to send [09:58:59]OFD Sender: No OFD packet to send [09:59:04]OFD Sender: No OFD packet to send [09:59:09]OFD Sender: No OFD packet to send [09:59:14]OFD Sender: No OFD packet to send [09:59:19]OFD Sender: No OFD packet to send [09:59:24]OFD Sender: No OFD packet to send [09:59:29]OFD Sender: No OFD packet to send [09:59:34]OFD Sender: No OFD packet to send [09:59:39]OFD Sender: No OFD packet to send [09:59:44]OFD Sender: No OFD packet to send [09:59:49]OFD Sender: No OFD packet to send [09:59:54]OFD Sender: No OFD packet to send [09:59:59]OFD Sender: No OFD packet to send [10:00:04]OFD Sender: No OFD packet to send [10:00:09]OFD Sender: No OFD packet to send [10:00:14]OFD Sender: No OFD packet to send [10:00:19]OFD Sender: No OFD packet to send [10:00:24]OFD Sender: No OFD packet to send [10:00:29]OFD Sender: No OFD packet to send [10:00:34]OFD Sender: No OFD packet to send [10:00:39]OFD Sender: No OFD packet to send [10:00:44]OFD Sender: No OFD packet to send [10:00:49]OFD Sender: No OFD packet to send [10:00:54]OFD Sender: No OFD packet to send [10:00:59]OFD Sender: No OFD packet to send [10:01:04]OFD Sender: No OFD packet to send [10:01:09]OFD Sender: No OFD packet to send [10:01:14]OFD Sender: No OFD packet to send [10:01:19]OFD Sender: No OFD packet to send [10:01:24]OFD Sender: No OFD packet to send [10:01:29]OFD Sender: No OFD packet to send [10:01:34]OFD Sender: No OFD packet to send [10:01:39]OFD Sender: No OFD packet to send [10:01:44]OFD Sender: No OFD packet to send [10:01:49]OFD Sender: No OFD packet to send [10:01:54]OFD Sender: No OFD packet to send [10:01:59]OFD Sender: No OFD packet to send [10:02:04]OFD Sender: No OFD packet to send [10:02:09]OFD Sender: No OFD packet to send [10:02:14]OFD Sender: No OFD packet to send [10:02:19]OFD Sender: No OFD packet to send [10:02:24]OFD Sender: No OFD packet to send [10:02:29]OFD Sender: No OFD packet to send [10:02:34]OFD Sender: No OFD packet to send [10:02:39]OFD Sender: No OFD packet to send [10:02:44]OFD Sender: No OFD packet to send [10:02:49]OFD Sender: No OFD packet to send [10:02:54]OFD Sender: No OFD packet to send [10:02:59]OFD Sender: No OFD packet to send [10:03:04]OFD Sender: No OFD packet to send [10:03:09]OFD Sender: No OFD packet to send [10:03:14]OFD Sender: No OFD packet to send [10:03:19]OFD Sender: No OFD packet to send [10:03:24]OFD Sender: No OFD packet to send [10:03:29]OFD Sender: No OFD packet to send [10:03:35]OFD Sender: No OFD packet to send [10:03:40]OFD Sender: No OFD packet to send [10:03:45]OFD Sender: No OFD packet to send [10:03:50]OFD Sender: No OFD packet to send [10:03:55]OFD Sender: No OFD packet to send [10:04:00]OFD Sender: No OFD packet to send [10:04:05]OFD Sender: No OFD packet to send [10:04:10]OFD Sender: No OFD packet to send [10:04:15]OFD Sender: No OFD packet to send [10:04:20]OFD Sender: No OFD packet to send [10:04:25]OFD Sender: No OFD packet to send [10:04:30]OFD Sender: No OFD packet to send [10:04:35]OFD Sender: No OFD packet to send [10:04:40]OFD Sender: No OFD packet to send [10:04:45]OFD Sender: No OFD packet to send [10:04:50]OFD Sender: No OFD packet to send [10:04:55]OFD Sender: No OFD packet to send [10:05:00]OFD Sender: No OFD packet to send [10:05:05]OFD Sender: No OFD packet to send [10:05:10]OFD Sender: No OFD packet to send [10:05:15]OFD Sender: No OFD packet to send [10:05:20]OFD Sender: No OFD packet to send [10:05:25]OFD Sender: No OFD packet to send [10:05:30]OFD Sender: No OFD packet to send [10:05:35]OFD Sender: No OFD packet to send [10:05:40]OFD Sender: No OFD packet to send [10:05:45]OFD Sender: No OFD packet to send [10:05:50]OFD Sender: No OFD packet to send [10:05:55]OFD Sender: No OFD packet to send [10:06:00]OFD Sender: No OFD packet to send [10:06:05]OFD Sender: No OFD packet to send [10:06:10]OFD Sender: No OFD packet to send [10:06:15]OFD Sender: No OFD packet to send [10:06:20]OFD Sender: No OFD packet to send [10:06:25]OFD Sender: No OFD packet to send [10:06:30]OFD Sender: No OFD packet to send [10:06:35]OFD Sender: No OFD packet to send [10:06:40]OFD Sender: No OFD packet to send [10:06:45]OFD Sender: No OFD packet to send [10:06:50]OFD Sender: No OFD packet to send [10:06:55]OFD Sender: No OFD packet to send [10:07:00]OFD Sender: No OFD packet to send [10:07:05]OFD Sender: No OFD packet to send [10:07:10]OFD Sender: No OFD packet to send [10:07:15]OFD Sender: No OFD packet to send [10:07:20]OFD Sender: No OFD packet to send [10:07:25]OFD Sender: No OFD packet to send [10:07:30]OFD Sender: No OFD packet to send [10:07:35]OFD Sender: No OFD packet to send [10:07:40]OFD Sender: No OFD packet to send [10:07:45]OFD Sender: No OFD packet to send [10:07:50]OFD Sender: No OFD packet to send [10:07:55]OFD Sender: No OFD packet to send [10:08:00]OFD Sender: No OFD packet to send [10:08:05]OFD Sender: No OFD packet to send [10:08:10]OFD Sender: No OFD packet to send [10:08:15]OFD Sender: No OFD packet to send [10:08:20]OFD Sender: No OFD packet to send [10:08:25]OFD Sender: No OFD packet to send [10:08:30]OFD Sender: No OFD packet to send [10:08:35]OFD Sender: No OFD packet to send [10:08:40]OFD Sender: No OFD packet to send [10:08:45]OFD Sender: No OFD packet to send [10:08:50]OFD Sender: No OFD packet to send [10:08:55]OFD Sender: No OFD packet to send [10:09:00]OFD Sender: No OFD packet to send [10:09:05]OFD Sender: No OFD packet to send [10:09:10]OFD Sender: No OFD packet to send [10:09:15]OFD Sender: No OFD packet to send [10:09:20]OFD Sender: No OFD packet to send [10:09:25]OFD Sender: No OFD packet to send [10:09:30]OFD Sender: No OFD packet to send [10:09:35]OFD Sender: No OFD packet to send [10:09:40]OFD Sender: No OFD packet to send [10:09:45]OFD Sender: No OFD packet to send [10:09:50]OFD Sender: No OFD packet to send [10:09:55]OFD Sender: No OFD packet to send [10:10:00]OFD Sender: No OFD packet to send [10:10:05]OFD Sender: No OFD packet to send [10:10:10]OFD Sender: No OFD packet to send [10:10:15]OFD Sender: No OFD packet to send [10:10:20]OFD Sender: No OFD packet to send [10:10:25]OFD Sender: No OFD packet to send [10:10:30]OFD Sender: No OFD packet to send [10:10:35]OFD Sender: No OFD packet to send [10:10:40]OFD Sender: No OFD packet to send [10:10:45]OFD Sender: No OFD packet to send [10:10:50]OFD Sender: No OFD packet to send [10:10:55]OFD Sender: No OFD packet to send [10:11:00]OFD Sender: No OFD packet to send [10:11:05]OFD Sender: No OFD packet to send [10:11:10]OFD Sender: No OFD packet to send [10:11:15]OFD Sender: No OFD packet to send [10:11:20]OFD Sender: No OFD packet to send [10:11:25]OFD Sender: No OFD packet to send [10:11:30]OFD Sender: No OFD packet to send [10:11:35]OFD Sender: No OFD packet to send [10:11:40]OFD Sender: No OFD packet to send [10:11:45]OFD Sender: No OFD packet to send [10:11:50]OFD Sender: No OFD packet to send [10:11:55]OFD Sender: No OFD packet to send [10:12:00]OFD Sender: No OFD packet to send [10:12:05]OFD Sender: No OFD packet to send [10:12:10]OFD Sender: No OFD packet to send [10:12:15]OFD Sender: No OFD packet to send [10:12:20]OFD Sender: No OFD packet to send [10:12:25]OFD Sender: No OFD packet to send [10:12:30]OFD Sender: No OFD packet to send [10:12:35]OFD Sender: No OFD packet to send [10:12:40]OFD Sender: No OFD packet to send [10:12:45]OFD Sender: No OFD packet to send [10:12:50]OFD Sender: No OFD packet to send [10:12:55]OFD Sender: No OFD packet to send [10:13:00]OFD Sender: No OFD packet to send [10:13:05]OFD Sender: No OFD packet to send [10:13:10]OFD Sender: No OFD packet to send [10:13:15]OFD Sender: No OFD packet to send [10:13:20]OFD Sender: No OFD packet to send [10:13:25]OFD Sender: No OFD packet to send [10:13:30]OFD Sender: No OFD packet to send [10:13:35]OFD Sender: No OFD packet to send [10:13:40]OFD Sender: No OFD packet to send [10:13:45]OFD Sender: No OFD packet to send [10:13:50]OFD Sender: No OFD packet to send [10:13:55]OFD Sender: No OFD packet to send [10:14:00]OFD Sender: No OFD packet to send [10:14:05]OFD Sender: No OFD packet to send [10:14:10]OFD Sender: No OFD packet to send [10:14:15]OFD Sender: No OFD packet to send [10:14:20]OFD Sender: No OFD packet to send [10:14:25]OFD Sender: No OFD packet to send [10:14:30]OFD Sender: No OFD packet to send [10:14:35]OFD Sender: No OFD packet to send [10:14:40]OFD Sender: No OFD packet to send [10:14:45]OFD Sender: No OFD packet to send [10:14:50]OFD Sender: No OFD packet to send [10:14:55]OFD Sender: No OFD packet to send [10:15:00]OFD Sender: No OFD packet to send [10:15:05]OFD Sender: No OFD packet to send [10:15:10]OFD Sender: No OFD packet to send [10:15:15]OFD Sender: No OFD packet to send [10:15:20]OFD Sender: No OFD packet to send [10:15:25]OFD Sender: No OFD packet to send [10:15:30]OFD Sender: No OFD packet to send [10:15:35]OFD Sender: No OFD packet to send [10:15:40]OFD Sender: No OFD packet to send [10:15:45]OFD Sender: No OFD packet to send [10:15:50]OFD Sender: No OFD packet to send [10:15:55]OFD Sender: No OFD packet to send [10:16:00]OFD Sender: No OFD packet to send [10:16:05]OFD Sender: No OFD packet to send [10:16:10]OFD Sender: No OFD packet to send [10:16:15]OFD Sender: No OFD packet to send [10:16:20]OFD Sender: No OFD packet to send [10:16:25]OFD Sender: No OFD packet to send [10:16:30]OFD Sender: No OFD packet to send [10:16:35]OFD Sender: No OFD packet to send [10:16:40]OFD Sender: No OFD packet to send [10:16:45]OFD Sender: No OFD packet to send [10:16:50]OFD Sender: No OFD packet to send [10:16:55]OFD Sender: No OFD packet to send [10:17:00]OFD Sender: No OFD packet to send [10:17:05]OFD Sender: No OFD packet to send [10:17:10]OFD Sender: No OFD packet to send [10:17:15]OFD Sender: No OFD packet to send [10:17:20]OFD Sender: No OFD packet to send [10:17:25]OFD Sender: No OFD packet to send [10:17:30]OFD Sender: No OFD packet to send [10:17:35]OFD Sender: No OFD packet to send [10:17:40]OFD Sender: No OFD packet to send [10:17:45]OFD Sender: No OFD packet to send [10:17:50]OFD Sender: No OFD packet to send [10:17:55]OFD Sender: No OFD packet to send [10:18:00]OFD Sender: No OFD packet to send [10:18:05]OFD Sender: No OFD packet to send [10:18:10]OFD Sender: No OFD packet to send [10:18:15]OFD Sender: No OFD packet to send [10:18:20]OFD Sender: No OFD packet to send [10:18:25]OFD Sender: No OFD packet to send [10:18:30]OFD Sender: No OFD packet to send [10:18:35]OFD Sender: No OFD packet to send [10:18:40]OFD Sender: No OFD packet to send [10:18:45]OFD Sender: No OFD packet to send [10:18:50]OFD Sender: No OFD packet to send [10:18:55]OFD Sender: No OFD packet to send [10:19:00]OFD Sender: No OFD packet to send [10:19:05]OFD Sender: No OFD packet to send [10:19:10]OFD Sender: No OFD packet to send [10:19:15]OFD Sender: No OFD packet to send [10:19:20]OFD Sender: No OFD packet to send [10:19:25]OFD Sender: No OFD packet to send [10:19:30]OFD Sender: No OFD packet to send [10:19:35]OFD Sender: No OFD packet to send [10:19:40]OFD Sender: No OFD packet to send [10:19:45]OFD Sender: No OFD packet to send [10:19:50]OFD Sender: No OFD packet to send [10:19:55]OFD Sender: No OFD packet to send [10:20:00]OFD Sender: No OFD packet to send [10:20:05]OFD Sender: No OFD packet to send [10:20:10]OFD Sender: No OFD packet to send [10:20:15]OFD Sender: No OFD packet to send [10:20:20]OFD Sender: No OFD packet to send [10:20:25]OFD Sender: No OFD packet to send [10:20:30]OFD Sender: No OFD packet to send [10:20:35]OFD Sender: No OFD packet to send [10:20:40]OFD Sender: No OFD packet to send [10:20:45]OFD Sender: No OFD packet to send [10:20:50]OFD Sender: No OFD packet to send [10:20:55]OFD Sender: No OFD packet to send [10:21:00]OFD Sender: No OFD packet to send [10:21:05]OFD Sender: No OFD packet to send [10:21:10]OFD Sender: No OFD packet to send [10:21:15]OFD Sender: No OFD packet to send [10:21:20]OFD Sender: No OFD packet to send [10:21:25]OFD Sender: No OFD packet to send [10:21:30]OFD Sender: No OFD packet to send [10:21:35]OFD Sender: No OFD packet to send [10:21:40]OFD Sender: No OFD packet to send [10:21:45]OFD Sender: No OFD packet to send [10:21:50]OFD Sender: No OFD packet to send [10:21:55]OFD Sender: No OFD packet to send [10:22:00]OFD Sender: No OFD packet to send [10:22:05]OFD Sender: No OFD packet to send [10:22:10]OFD Sender: No OFD packet to send [10:22:15]OFD Sender: No OFD packet to send [10:22:20]OFD Sender: No OFD packet to send [10:22:25]OFD Sender: No OFD packet to send [10:22:30]OFD Sender: No OFD packet to send [10:22:35]OFD Sender: No OFD packet to send [10:22:40]OFD Sender: No OFD packet to send [10:22:45]OFD Sender: No OFD packet to send [10:22:50]OFD Sender: No OFD packet to send [10:22:55]OFD Sender: No OFD packet to send [10:23:00]OFD Sender: No OFD packet to send [10:23:05]OFD Sender: No OFD packet to send [10:23:10]OFD Sender: No OFD packet to send [10:23:15]OFD Sender: No OFD packet to send [10:23:20]OFD Sender: No OFD packet to send [10:23:25]OFD Sender: No OFD packet to send [10:23:30]OFD Sender: No OFD packet to send [10:23:35]OFD Sender: No OFD packet to send [10:23:40]OFD Sender: No OFD packet to send [10:23:45]OFD Sender: No OFD packet to send [10:23:50]OFD Sender: No OFD packet to send [10:23:55]OFD Sender: No OFD packet to send [10:24:00]OFD Sender: No OFD packet to send [10:24:05]OFD Sender: No OFD packet to send [10:24:10]OFD Sender: No OFD packet to send [10:24:15]OFD Sender: No OFD packet to send [10:24:20]OFD Sender: No OFD packet to send [10:24:25]OFD Sender: No OFD packet to send [10:24:30]OFD Sender: No OFD packet to send [10:24:35]OFD Sender: No OFD packet to send [10:24:40]OFD Sender: No OFD packet to send [10:24:45]OFD Sender: No OFD packet to send [10:24:50]OFD Sender: No OFD packet to send [10:24:55]OFD Sender: No OFD packet to send [10:25:01]OFD Sender: No OFD packet to send [10:25:06]OFD Sender: No OFD packet to send [10:25:11]OFD Sender: No OFD packet to send [10:25:16]OFD Sender: No OFD packet to send [10:25:21]OFD Sender: No OFD packet to send [10:25:26]OFD Sender: No OFD packet to send [10:25:31]OFD Sender: No OFD packet to send [10:25:36]OFD Sender: No OFD packet to send [10:25:41]OFD Sender: No OFD packet to send [10:25:46]OFD Sender: No OFD packet to send [10:25:51]OFD Sender: No OFD packet to send [10:25:56]OFD Sender: No OFD packet to send [10:26:01]OFD Sender: No OFD packet to send [10:26:06]OFD Sender: No OFD packet to send [10:26:11]OFD Sender: No OFD packet to send [10:26:16]OFD Sender: No OFD packet to send [10:26:21]OFD Sender: No OFD packet to send [10:26:26]OFD Sender: No OFD packet to send [10:26:31]OFD Sender: No OFD packet to send [10:26:36]OFD Sender: No OFD packet to send [10:26:41]OFD Sender: No OFD packet to send [10:26:46]OFD Sender: No OFD packet to send [10:26:51]OFD Sender: No OFD packet to send [10:26:56]OFD Sender: No OFD packet to send [10:27:01]OFD Sender: No OFD packet to send [10:27:06]OFD Sender: No OFD packet to send [10:27:11]OFD Sender: No OFD packet to send [10:27:16]OFD Sender: No OFD packet to send [10:27:21]OFD Sender: No OFD packet to send [10:27:26]OFD Sender: No OFD packet to send [10:27:31]OFD Sender: No OFD packet to send [10:27:36]OFD Sender: No OFD packet to send [10:27:41]OFD Sender: No OFD packet to send [10:27:46]OFD Sender: No OFD packet to send [10:27:51]OFD Sender: No OFD packet to send [10:27:56]OFD Sender: No OFD packet to send [10:28:01]OFD Sender: No OFD packet to send [10:28:06]OFD Sender: No OFD packet to send [10:28:11]OFD Sender: No OFD packet to send [10:28:16]OFD Sender: No OFD packet to send [10:28:21]OFD Sender: No OFD packet to send [10:28:26]OFD Sender: No OFD packet to send [10:28:31]OFD Sender: No OFD packet to send [10:28:36]OFD Sender: No OFD packet to send [10:28:41]OFD Sender: No OFD packet to send [10:28:46]OFD Sender: No OFD packet to send [10:28:51]OFD Sender: No OFD packet to send [10:28:56]OFD Sender: No OFD packet to send [10:29:01]OFD Sender: No OFD packet to send [10:29:06]OFD Sender: No OFD packet to send [10:29:11]OFD Sender: No OFD packet to send [10:29:16]OFD Sender: No OFD packet to send [10:29:21]OFD Sender: No OFD packet to send [10:29:26]OFD Sender: No OFD packet to send [10:29:31]OFD Sender: No OFD packet to send [10:29:36]OFD Sender: No OFD packet to send [10:29:37]accept exits with 8 [10:29:37]New connection [10:29:37]New thread 3066699108 created [10:29:37]Thread 3066842468 joined [10:29:37]Waiting for new connection... [10:29:37] Sock 8.Parse request [10:29:37]Sock 8.Check first char [10:29:37]Sock 8.First char is OK [10:29:37]request: POST /json_proto HTTP/1.0 [10:29:37]Method: POST [10:29:37]URL: /json_proto [10:29:37]Method is POST - this is cgi request [10:29:37]url: /json_proto [10:29:37]query_string will be loaded in cgi processing [10:29:37]execute_cgi json_proto POST (null) [10:29:37]execute_cgi path=json_proto method=POST [10:29:37]POST find Content-Length [10:29:37]Host: 172.17.35.196:8080 [10:29:37]Content-Length: 633 [10:29:37]Content-Type: application/json [10:29:37] [10:29:37]POST finish read [10:29:37]Found Content-Length = 633 [10:29:37]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169096", "tax_sys" : 0, "items" : [ { "code": "4780022460292", "name": "\u0410\u043D\u0442\u0438\u0444\u0440\u0438\u0437 Yumiko green 1\u043A\u0433", "price" : 148.00, "quantity" : 1.000, "sum" : 148.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 148.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:29:37]execute_script... [10:29:37]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169096", "tax_sys" : 0, "items" : [ { "code": "4780022460292", "name": "\u0410\u043D\u0442\u0438\u0444\u0440\u0438\u0437 Yumiko green 1\u043A\u0433", "price" : 148.00, "quantity" : 1.000, "sum" : 148.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 148.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:29:37]POST & json_proto [10:29:37]process_json_proto [10:29:37]json parsed OK: [10:29:37]protocol is kg_v1.0 [10:29:37]action value=close_receipt [10:29:37]process_action close_receipt [10:29:37]cmd_close_receipt [10:29:37]MH_GetDate [10:29:37]Write to MH i2c: F0 00 00 F0 8C 6B [10:29:37]Write i2c OK [10:29:37]MH_I2C_Read... [10:29:37]Read from MH i2c: F0 [10:29:37]MH_I2C_Read... [10:29:37]Read from MH i2c: F0 09 00 [10:29:37]MH_I2C_Read... [10:29:37]Read from MH i2c: F0 09 00 F0 8C 00 36 B4 8F 66 AD 14 F4 65 6D [10:29:37]GetLastDocTimeStamp 1720690842 [10:29:37]current date 1720693814 [10:29:37]FM_GetShiftState [10:29:37]SAM_PROTO_GetShiftState [10:29:37]wFMCommunicate request_size=4 [10:29:37]MH_SAM_APDU [10:29:37]CAPDU: 80 13 01 00 [10:29:37]Write to MH i2c: E2 08 00 F1 8C 80 13 01 00 00 00 00 00 FA [10:29:37]Write i2c OK [10:29:37]MH_I2C_Read... [10:29:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:29:37]Read from MH i2c: E2 [10:29:37]MH_I2C_Read... [10:29:37]Read from MH i2c: E2 0E 00 [10:29:37]MH_I2C_Read... [10:29:37]Read from MH i2c: E2 0E 00 F1 8C 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 2B [10:29:37]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [10:29:37]wFMCommunicate OK [10:29:37]SAM_PROTO_GetShiftState done [10:29:37]FM_GetShiftState done [10:29:37]opened in 1720656398 [10:29:37]opened+sec_in_day 1720742798 [10:29:37]quantity*price = 14800 [10:29:37]sum+1 = 14801 [10:29:37]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 148.00 НСП 1% : 1.31 НДС 12% : 15.72 Наличными: 148.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 11 11.07.2024 10:30 Смена: 432 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33256 ФПД: 62284831370986 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T103014&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33256&fm=62284831370986&tin=02508201610067®Number=0000000000093033&sum=14800 0 [10:29:38]StoreToDocumentArchive [10:29:38]shift 432 fd 33256 [10:29:38]save to /storage/0432/doc_00033256 [10:29:38]save last doc name /storage/0432/doc_00033256 to /storage/kkm_last_doc_name [10:29:38]save OK [10:29:38]Clear old archive folders... [10:29:38]ProcessDocumentItem done err = 0, tmpTLVsize=277 [10:29:38]tlvbuf is 001EF700 [10:29:38]SAM_PROTO_ClearQueue [10:29:38]wFMCommunicate request_size=4 [10:29:38]MH_SAM_APDU [10:29:38]CAPDU: 80 09 00 00 [10:29:38]Write to MH i2c: E2 08 00 FE 8C 80 09 00 00 00 00 00 00 FC [10:29:38]Write i2c OK [10:29:38]MH_I2C_Read... [10:29:38]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:29:38]Read from MH i2c: E2 [10:29:38]MH_I2C_Read... [10:29:38]Read from MH i2c: E2 03 00 [10:29:38]MH_I2C_Read... [10:29:38]Read from MH i2c: E2 03 00 FE 8C 00 90 00 FE [10:29:38]RAPDU: 90 00 [10:29:38]wFMCommunicate OK [10:29:38]SAM_PROTO_ClearQueue done [10:29:38]KKMCreateOFDPacket [10:29:38]OFDProtocolAddRootSTLVToBuf [10:29:38]FM_MakeSignedData [10:29:38]FM_MakeSignedData [10:29:38]SAM_PROTO_SignData [10:29:38]wFMCommunicate request_size=4 [10:29:38]MH_SAM_APDU [10:29:38]CAPDU: 80 0D 01 02 [10:29:38]Write to MH i2c: E2 08 00 FF 8C 80 0D 01 02 00 00 00 00 04 [10:29:38]Write i2c OK [10:29:38]MH_I2C_Read... [10:29:38]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:29:38]Read from MH i2c: E2 [10:29:38]MH_I2C_Read... [10:29:38]Read from MH i2c: E2 03 00 [10:29:38]MH_I2C_Read... [10:29:38]Read from MH i2c: E2 03 00 FF 8C 00 90 00 FF [10:29:38]RAPDU: 90 00 [10:29:38]wFMCommunicate OK [10:29:38]wFMCommunicate request_size=255 [10:29:38]MH_SAM_APDU [10:29:38]CAPDU: 80 0D 02 02 FA 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 34 37 38 30 30 32 32 34 36 30 32 39 32 06 04 23 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 67 72 65 65 6E 20 31 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D0 39 00 00 00 00 13 04 06 00 D0 39 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 39 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 83 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 24 06 00 00 00 00 07 04 06 00 D0 39 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 36 B4 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 [10:29:38]Write to MH i2c: E2 02 01 00 8D 80 0D 02 02 FA 00 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 34 37 38 30 30 32 32 34 36 30 32 39 32 06 04 23 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 67 72 65 65 6E 20 31 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D0 39 00 00 00 00 13 04 06 00 D0 39 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 39 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 83 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 24 06 00 00 00 00 07 04 06 00 D0 39 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 36 B4 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 00 00 A1 [10:29:38]Write i2c OK [10:29:38]MH_I2C_Read... [10:29:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:29:39]Read from MH i2c: E2 [10:29:39]MH_I2C_Read... [10:29:39]Read from MH i2c: E2 03 00 [10:29:39]MH_I2C_Read... [10:29:39]Read from MH i2c: E2 03 00 00 8D 00 90 00 01 [10:29:39]RAPDU: 90 00 [10:29:39]wFMCommunicate OK [10:29:39]wFMCommunicate request_size=36 [10:29:39]MH_SAM_APDU [10:29:39]CAPDU: 80 0D 02 02 1F 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 E8 81 00 00 35 04 06 00 38 A5 D1 3F AE EA [10:29:39]Write to MH i2c: E2 27 00 01 8D 80 0D 02 02 1F 00 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 E8 81 00 00 35 04 06 00 38 A5 D1 3F AE EA 00 00 14 [10:29:39]Write i2c OK [10:29:39]MH_I2C_Read... [10:29:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:29:39]Read from MH i2c: E2 [10:29:39]MH_I2C_Read... [10:29:39]Read from MH i2c: E2 03 00 [10:29:39]MH_I2C_Read... [10:29:39]Read from MH i2c: E2 03 00 01 8D 00 90 00 02 [10:29:39]RAPDU: 90 00 [10:29:39]wFMCommunicate OK [10:29:39]wFMCommunicate request_size=4 [10:29:39]MH_SAM_APDU [10:29:39]CAPDU: 80 0D 03 02 [10:29:39]Write to MH i2c: E2 08 00 02 8D 80 0D 03 02 00 00 00 00 0A [10:29:39]Write i2c OK [10:29:39]MH_I2C_Read... [10:29:39]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:29:39]Read from MH i2c: E2 [10:29:39]MH_I2C_Read... [10:29:39]Read from MH i2c: E2 0B 00 [10:29:39]MH_I2C_Read... [10:29:39]Read from MH i2c: E2 0B 00 02 8D 00 5E F3 F9 0A 4E 1F 44 ED 90 00 FD [10:29:39]RAPDU: 5E F3 F9 0A 4E 1F 44 ED 90 00 [10:29:39]wFMCommunicate OK [10:29:39]SAM_PROTO_SignData done [10:29:39]FM_MakeSignedData done [10:29:39]CreateOFDProtocolMessage [10:29:39]wFMCommunicate request_size=4 [10:29:39]MH_SAM_APDU [10:29:39]CAPDU: 80 11 00 00 [10:29:39]Write to MH i2c: E2 08 00 03 8D 80 11 00 00 00 00 00 00 0A [10:29:39]Write i2c OK [10:29:39]MH_I2C_Read... [10:29:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:29:39]Read from MH i2c: E2 [10:29:39]MH_I2C_Read... [10:29:39]Read from MH i2c: E2 17 00 [10:29:39]MH_I2C_Read... [10:29:39]Read from MH i2c: E2 17 00 03 8D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 56 [10:29:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [10:29:39]wFMCommunicate OK [10:29:39]CreateOFDProtocolMessage done [10:29:39]OFDSenderStorePacket 33256 [10:29:39]StoreOFDPacket docnum=33256 [10:29:39]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 29 01 00 00 01 5C 21 01 4F 6A 5A 03 01 00 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 34 37 38 30 30 32 32 34 36 30 32 39 32 06 04 23 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 67 72 65 65 6E 20 31 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D0 39 00 00 00 00 13 04 06 00 D0 39 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 39 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 83 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 24 06 00 00 00 00 07 04 06 00 D0 39 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 36 B4 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 E8 81 00 00 35 04 06 00 38 A5 D1 3F AE EA 5E F3 F9 0A 4E 1F 44 ED [10:29:39]CheckFolder [10:29:39]dirname=/storage/ofd_packets [10:29:39]CheckFolder done [10:29:39]ProducePacketName [10:29:39]name=ofd_packets/00033256 [10:29:39]NVStorageSaveData ofd_packets/00033256 [10:29:39]File name is /storage/ofd_packets/00033256 [10:29:39]Write 327 bytes [10:29:39]NVStorageSaveData done [10:29:39]OFDSenderStorePacket done [10:29:39]KKMCreateOFDPacket done [10:29:39]NVStorageSaveData kkm_last_timestamp [10:29:39]File name is /storage/kkm_last_timestamp [10:29:39]Write 4 bytes [10:29:39]NVStorageSaveData done [10:29:39]ExternCall_PrintAddStr [10:29:39]wPrintStart [10:29:39]Write to MH i2c: 01 00 00 04 8D 91 [10:29:39]Write i2c OK [10:29:39]MH_I2C_Read... [10:29:39]Read from MH i2c: 01 [10:29:39]MH_I2C_Read... [10:29:39]Read from MH i2c: 01 07 00 [10:29:39]MH_I2C_Read... [10:29:39]Read from MH i2c: 01 07 00 04 8D 00 00 00 00 00 FF 0F A6 [10:29:39]RasterBufferAndPrint [10:29:39]line Счет N : (3)169096 [10:29:39]line ИНН: 02508201610067 [10:29:39]line Контрольно-Кассовый Чек [10:29:39]line ПРОДАЖА [10:29:39]line Товар: 4780022460292 [10:29:39]line Антифриз Yumiko green 1кг [10:29:39]line 1.000 * 148.00 [10:29:39]line = 148.00 [10:29:39]line НДС 12% НСП 1% [10:29:39]line > о реализуемом товаре [10:29:39]line ИТОГО: 148.00 [10:29:39]line НСП 1% : 1.31 [10:29:39]line НДС 12% : 15.72 [10:29:39]line Наличными: 148.00 [10:29:39]line Безнал.: 0.00 [10:29:39]line Место: АЗС № 77 "Партнер Нефть" [10:29:39]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [10:29:39]line СНО: Общий режим [10:29:39]line Чек 11 11.07.2024 10:30 [10:29:39]line Смена: 432 ФФД: 1.0 [10:29:39]line ЗНМ: 0300000122 [10:29:39]line РНМ: 0000000000093033 [10:29:39]line Версия ККМ: 001 [10:29:39]line ФМ: 0000000000875104 [10:29:39]line ФД: 33256 [10:29:39]line ФПД: 62284831370986 [10:29:39]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T103014&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33256&fm=62284831370986&tin=02508201610067®Number=0000000000093033&sum=14800 [10:29:39]OFD Sender: Processing packet 33256 [packets to send 6, broken 5] [10:29:39]ProducePacketName [10:29:39]name=ofd_packets/00033256 [10:29:39]OFD Sender: To server: pG, [10:29:39]CommunicateWithHost lk.salyk.kg:30040 [10:29:39]ConnectInit lk.salyk.kg [10:29:39]line 0 [10:29:39]written 0, free lines is 4095 [10:29:39]Connected sock=10 [10:29:39]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 29 01 00 00 01 5C 21 01 4F 6A 5A 03 01 00 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 34 37 38 30 30 32 32 34 36 30 32 39 32 06 04 23 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 67 72 65 65 6E 20 31 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D0 39 00 00 00 00 13 04 06 00 D0 39 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 39 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 83 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 24 06 00 00 00 00 07 04 06 00 D0 39 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 36 B4 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 E8 81 00 00 35 04 06 00 38 A5 D1 3F AE EA 5E F3 F9 0A 4E 1F 44 ED [10:29:39]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 D0 37 47 00 72 F4 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 E8 81 00 00 F4 03 04 00 E6 5E 8F 66 B6 04 01 00 00 F1 23 18 59 C6 16 66 94 [10:29:39]CommunicateWithHost err = 0 [10:29:39]CheckOFDResponse [10:29:39]1017 (14) - 77093643461234 [10:29:39]1041 (16) - 0000000000875104 [10:29:39]1040 (4) - 33256 [10:29:39]1012 (4) - 11.07.2024 04:26 [10:29:39]1206 (1) - 0 [10:29:39]OFD Sender: Remove packet 33256 [10:29:39]ProducePacketName [10:29:39]name=ofd_packets/00033256 [10:29:39]NVStorageDeleteData [10:29:40]Write to MH i2c: 01 00 00 2C 8D B9 [10:29:40]Write i2c OK [10:29:40]MH_I2C_Read... [10:29:40]Read from MH i2c: 01 [10:29:40]MH_I2C_Read... [10:29:40]Read from MH i2c: 01 07 00 [10:29:40]MH_I2C_Read... [10:29:40]Read from MH i2c: 01 07 00 2C 8D 00 00 00 00 00 FC 0C C8 [10:29:40]RasterBufferAndPrint [10:29:40]line [10:29:40]line [10:29:40]line [10:29:40]line [10:29:40]line [10:29:40]written 0, free lines is 3333 [10:29:40]MH_Cut [10:29:40]Write to MH i2c: D1 01 00 33 8D 01 92 [10:29:40]Write i2c OK [10:29:40]MH_I2C_Read... [10:29:40]Read from MH i2c: D1 [10:29:40]MH_I2C_Read... [10:29:40]Read from MH i2c: D1 01 00 [10:29:40]MH_I2C_Read... [10:29:40]Read from MH i2c: D1 01 00 33 8D 00 91 [10:29:40]Write to MH i2c: 01 00 00 34 8D C1 [10:29:40]Write i2c OK [10:29:40]MH_I2C_Read... [10:29:40]OFD Sender: No OFD packet to send [10:29:40]*** Cut start [10:29:40]*** Partial cut [10:29:40]*** CUTSNS_PIN = 1 [10:29:40]*** CUTSNS_PIN = 0 [10:29:41]*** Brake cut motor [10:29:41]Read from MH i2c: 01 [10:29:41]MH_I2C_Read... [10:29:41]*** Stop cut motor [10:29:41]*** Cut end [10:29:41]Read from MH i2c: 01 07 00 [10:29:41]MH_I2C_Read... [10:29:41]Read from MH i2c: 01 07 00 34 8D 00 00 00 00 00 FF 0F D6 [10:29:41]process_action close_receipt done [10:29:41]requested_data is exist [10:29:41]produce_requested_data [10:29:41]requested_item fm.sn is exist - process it [10:29:41]wFMCommunicate request_size=4 [10:29:41]MH_SAM_APDU [10:29:41]CAPDU: 80 11 00 00 [10:29:41]Write to MH i2c: E2 08 00 35 8D 80 11 00 00 00 00 00 00 3C [10:29:41]Write i2c OK [10:29:41]MH_I2C_Read... [10:29:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:29:41]Read from MH i2c: E2 [10:29:41]MH_I2C_Read... [10:29:41]Read from MH i2c: E2 17 00 [10:29:41]MH_I2C_Read... [10:29:41]Read from MH i2c: E2 17 00 35 8D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 88 [10:29:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [10:29:41]wFMCommunicate OK [10:29:41]requested_item fd.num is exist - process it [10:29:41]SAM_PROTO_GetFieldsCounters [10:29:41]wFMCommunicate request_size=4 [10:29:41]MH_SAM_APDU [10:29:41]CAPDU: 80 13 00 00 [10:29:41]Write to MH i2c: E2 08 00 36 8D 80 13 00 00 00 00 00 00 3F [10:29:41]Write i2c OK [10:29:41]MH_I2C_Read... [10:29:41]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:29:41]Read from MH i2c: E2 [10:29:41]MH_I2C_Read... [10:29:41]Read from MH i2c: E2 62 00 [10:29:41]MH_I2C_Read... [10:29:41]Read from MH i2c: E2 62 00 36 8D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 E8 81 00 00 0E 04 04 00 B0 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 8D [10:29: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 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 E8 81 00 00 0E 04 04 00 B0 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 [10:29:41]wFMCommunicate OK [10:29:41]SAM_PROTO_GetFieldsCounters done [10:29:41]requested_item shift.num is exist - process it [10:29:41]requested_item shift.opened is exist - process it [10:29:41]req_shift_opened [10:29:41]FM_GetShiftState [10:29:41]SAM_PROTO_GetShiftState [10:29:41]wFMCommunicate request_size=4 [10:29:41]MH_SAM_APDU [10:29:41]CAPDU: 80 13 01 00 [10:29:41]Write to MH i2c: E2 08 00 37 8D 80 13 01 00 00 00 00 00 41 [10:29:41]Write i2c OK [10:29:41]MH_I2C_Read... [10:29:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:29:41]Read from MH i2c: E2 [10:29:41]MH_I2C_Read... [10:29:41]Read from MH i2c: E2 0E 00 [10:29:41]MH_I2C_Read... [10:29:41]Read from MH i2c: E2 0E 00 37 8D 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 72 [10:29:41]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [10:29:41]wFMCommunicate OK [10:29:41]SAM_PROTO_GetShiftState done [10:29:41]FM_GetShiftState done [10:29:41]req_shift_opened done [10:29:41]requested_item shift.open_date is exist - process it [10:29:41]req_shift_open_date [10:29:41]req_shift_open_date done [10:29:41]produce_requested_data done [10:29:41]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33256,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398} [10:29:41]process_action_free close_receipt [10:29:41]json_value_free [10:29:41]json_value_free done [10:29:41]process_json_proto returns [10:29:41]Send response to host [10:29:41]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33256,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398}}} [10:29:41]free response buf [10:29:41]execute_script done [10:29:41]execute_script returns [10:29:41]free content buf [10:29:41]Sock 8.Close socket [10:29:41]Sock 8.Thread stoped [10:29:45]OFD Sender: No OFD packet to send [10:29:50]OFD Sender: No OFD packet to send [10:29:55]OFD Sender: No OFD packet to send [10:30:00]OFD Sender: No OFD packet to send [10:30:05]OFD Sender: No OFD packet to send [10:30:10]OFD Sender: No OFD packet to send [10:30:15]OFD Sender: No OFD packet to send [10:30:20]OFD Sender: No OFD packet to send [10:30:25]OFD Sender: No OFD packet to send [10:30:30]OFD Sender: No OFD packet to send [10:30:35]OFD Sender: No OFD packet to send [10:30:40]OFD Sender: No OFD packet to send [10:30:45]OFD Sender: No OFD packet to send [10:30:50]OFD Sender: No OFD packet to send [10:30:55]OFD Sender: No OFD packet to send [10:31:00]OFD Sender: No OFD packet to send [10:31:05]OFD Sender: No OFD packet to send [10:31:10]OFD Sender: No OFD packet to send [10:31:15]OFD Sender: No OFD packet to send [10:31:20]OFD Sender: No OFD packet to send [10:31:25]OFD Sender: No OFD packet to send [10:31:30]OFD Sender: No OFD packet to send [10:31:35]OFD Sender: No OFD packet to send [10:31:40]OFD Sender: No OFD packet to send [10:31:45]OFD Sender: No OFD packet to send [10:31:50]OFD Sender: No OFD packet to send [10:31:55]OFD Sender: No OFD packet to send [10:32:00]OFD Sender: No OFD packet to send [10:32:05]OFD Sender: No OFD packet to send [10:32:10]OFD Sender: No OFD packet to send [10:32:15]OFD Sender: No OFD packet to send [10:32:20]OFD Sender: No OFD packet to send [10:32:25]OFD Sender: No OFD packet to send [10:32:30]OFD Sender: No OFD packet to send [10:32:35]OFD Sender: No OFD packet to send [10:32:40]OFD Sender: No OFD packet to send [10:32:45]OFD Sender: No OFD packet to send [10:32:50]OFD Sender: No OFD packet to send [10:32:55]OFD Sender: No OFD packet to send [10:33:00]OFD Sender: No OFD packet to send [10:33:05]OFD Sender: No OFD packet to send [10:33:10]OFD Sender: No OFD packet to send [10:33:15]OFD Sender: No OFD packet to send [10:33:20]OFD Sender: No OFD packet to send [10:33:25]OFD Sender: No OFD packet to send [10:33:30]OFD Sender: No OFD packet to send [10:33:35]OFD Sender: No OFD packet to send [10:33:40]OFD Sender: No OFD packet to send [10:33:45]OFD Sender: No OFD packet to send [10:33:50]OFD Sender: No OFD packet to send [10:33:55]OFD Sender: No OFD packet to send [10:34:00]OFD Sender: No OFD packet to send [10:34:05]OFD Sender: No OFD packet to send [10:34:10]OFD Sender: No OFD packet to send [10:34:15]OFD Sender: No OFD packet to send [10:34:20]OFD Sender: No OFD packet to send [10:34:25]OFD Sender: No OFD packet to send [10:34:30]OFD Sender: No OFD packet to send [10:34:35]OFD Sender: No OFD packet to send [10:34:40]OFD Sender: No OFD packet to send [10:34:45]OFD Sender: No OFD packet to send [10:34:50]OFD Sender: No OFD packet to send [10:34:55]OFD Sender: No OFD packet to send [10:35:00]OFD Sender: No OFD packet to send [10:35:05]OFD Sender: No OFD packet to send [10:35:10]OFD Sender: No OFD packet to send [10:35:15]OFD Sender: No OFD packet to send [10:35:20]OFD Sender: No OFD packet to send [10:35:25]OFD Sender: No OFD packet to send [10:35:30]OFD Sender: No OFD packet to send [10:35:35]OFD Sender: No OFD packet to send [10:35:40]OFD Sender: No OFD packet to send [10:35:45]OFD Sender: No OFD packet to send [10:35:50]OFD Sender: No OFD packet to send [10:35:55]OFD Sender: No OFD packet to send [10:36:00]OFD Sender: No OFD packet to send [10:36:05]OFD Sender: No OFD packet to send [10:36:10]OFD Sender: No OFD packet to send [10:36:15]OFD Sender: No OFD packet to send [10:36:20]OFD Sender: No OFD packet to send [10:36:25]OFD Sender: No OFD packet to send [10:36:30]OFD Sender: No OFD packet to send [10:36:35]OFD Sender: No OFD packet to send [10:36:40]OFD Sender: No OFD packet to send [10:36:45]OFD Sender: No OFD packet to send [10:36:50]OFD Sender: No OFD packet to send [10:36:55]OFD Sender: No OFD packet to send [10:37:00]OFD Sender: No OFD packet to send [10:37:05]OFD Sender: No OFD packet to send [10:37:10]OFD Sender: No OFD packet to send [10:37:15]OFD Sender: No OFD packet to send [10:37:20]OFD Sender: No OFD packet to send [10:37:25]OFD Sender: No OFD packet to send [10:37:30]OFD Sender: No OFD packet to send [10:37:35]OFD Sender: No OFD packet to send [10:37:40]OFD Sender: No OFD packet to send [10:37:45]OFD Sender: No OFD packet to send [10:37:50]OFD Sender: No OFD packet to send [10:37:55]OFD Sender: No OFD packet to send [10:38:00]OFD Sender: No OFD packet to send [10:38:05]OFD Sender: No OFD packet to send [10:38:10]OFD Sender: No OFD packet to send [10:38:15]OFD Sender: No OFD packet to send [10:38:20]OFD Sender: No OFD packet to send [10:38:25]OFD Sender: No OFD packet to send [10:38:30]OFD Sender: No OFD packet to send [10:38:35]OFD Sender: No OFD packet to send [10:38:40]OFD Sender: No OFD packet to send [10:38:45]OFD Sender: No OFD packet to send [10:38:50]OFD Sender: No OFD packet to send [10:38:55]OFD Sender: No OFD packet to send [10:39:00]OFD Sender: No OFD packet to send [10:39:05]OFD Sender: No OFD packet to send [10:39:10]OFD Sender: No OFD packet to send [10:39:15]OFD Sender: No OFD packet to send [10:39:20]OFD Sender: No OFD packet to send [10:39:25]OFD Sender: No OFD packet to send [10:39:30]OFD Sender: No OFD packet to send [10:39:35]OFD Sender: No OFD packet to send [10:39:40]OFD Sender: No OFD packet to send [10:39:45]OFD Sender: No OFD packet to send [10:39:50]OFD Sender: No OFD packet to send [10:39:55]OFD Sender: No OFD packet to send [10:40:00]OFD Sender: No OFD packet to send [10:40:05]OFD Sender: No OFD packet to send [10:40:10]OFD Sender: No OFD packet to send [10:40:15]OFD Sender: No OFD packet to send [10:40:20]OFD Sender: No OFD packet to send [10:40:25]OFD Sender: No OFD packet to send [10:40:30]OFD Sender: No OFD packet to send [10:40:35]OFD Sender: No OFD packet to send [10:40:40]OFD Sender: No OFD packet to send [10:40:45]OFD Sender: No OFD packet to send [10:40:50]OFD Sender: No OFD packet to send [10:40:55]OFD Sender: No OFD packet to send [10:41:00]OFD Sender: No OFD packet to send [10:41:05]OFD Sender: No OFD packet to send [10:41:10]OFD Sender: No OFD packet to send [10:41:15]OFD Sender: No OFD packet to send [10:41:20]OFD Sender: No OFD packet to send [10:41:25]OFD Sender: No OFD packet to send [10:41:31]OFD Sender: No OFD packet to send [10:41:36]OFD Sender: No OFD packet to send [10:41:41]OFD Sender: No OFD packet to send [10:41:46]OFD Sender: No OFD packet to send [10:41:51]OFD Sender: No OFD packet to send [10:41:56]OFD Sender: No OFD packet to send [10:42:01]OFD Sender: No OFD packet to send [10:42:06]OFD Sender: No OFD packet to send [10:42:11]OFD Sender: No OFD packet to send [10:42:16]OFD Sender: No OFD packet to send [10:42:21]OFD Sender: No OFD packet to send [10:42:26]OFD Sender: No OFD packet to send [10:42:31]OFD Sender: No OFD packet to send [10:42:36]OFD Sender: No OFD packet to send [10:42:41]OFD Sender: No OFD packet to send [10:42:46]OFD Sender: No OFD packet to send [10:42:51]OFD Sender: No OFD packet to send [10:42:56]OFD Sender: No OFD packet to send [10:43:01]OFD Sender: No OFD packet to send [10:43:06]OFD Sender: No OFD packet to send [10:43:11]OFD Sender: No OFD packet to send [10:43:16]OFD Sender: No OFD packet to send [10:43:21]OFD Sender: No OFD packet to send [10:43:26]OFD Sender: No OFD packet to send [10:43:31]OFD Sender: No OFD packet to send [10:43:36]OFD Sender: No OFD packet to send [10:43:41]OFD Sender: No OFD packet to send [10:43:46]OFD Sender: No OFD packet to send [10:43:51]OFD Sender: No OFD packet to send [10:43:56]OFD Sender: No OFD packet to send [10:44:01]OFD Sender: No OFD packet to send [10:44:06]OFD Sender: No OFD packet to send [10:44:11]OFD Sender: No OFD packet to send [10:44:16]OFD Sender: No OFD packet to send [10:44:21]OFD Sender: No OFD packet to send [10:44:26]OFD Sender: No OFD packet to send [10:44:31]OFD Sender: No OFD packet to send [10:44:36]OFD Sender: No OFD packet to send [10:44:41]OFD Sender: No OFD packet to send [10:44:46]OFD Sender: No OFD packet to send [10:44:51]OFD Sender: No OFD packet to send [10:44:56]OFD Sender: No OFD packet to send [10:45:01]OFD Sender: No OFD packet to send [10:45:06]OFD Sender: No OFD packet to send [10:45:11]OFD Sender: No OFD packet to send [10:45:16]OFD Sender: No OFD packet to send [10:45:21]OFD Sender: No OFD packet to send [10:45:26]OFD Sender: No OFD packet to send [10:45:31]OFD Sender: No OFD packet to send [10:45:36]OFD Sender: No OFD packet to send [10:45:41]OFD Sender: No OFD packet to send [10:45:46]OFD Sender: No OFD packet to send [10:45:51]OFD Sender: No OFD packet to send [10:45:56]OFD Sender: No OFD packet to send [10:46:01]OFD Sender: No OFD packet to send [10:46:06]OFD Sender: No OFD packet to send [10:46:11]OFD Sender: No OFD packet to send [10:46:16]OFD Sender: No OFD packet to send [10:46:21]OFD Sender: No OFD packet to send [10:46:26]OFD Sender: No OFD packet to send [10:46:31]OFD Sender: No OFD packet to send [10:46:36]OFD Sender: No OFD packet to send [10:46:41]OFD Sender: No OFD packet to send [10:46:46]OFD Sender: No OFD packet to send [10:46:51]OFD Sender: No OFD packet to send [10:46:56]OFD Sender: No OFD packet to send [10:47:01]OFD Sender: No OFD packet to send [10:47:06]OFD Sender: No OFD packet to send [10:47:11]OFD Sender: No OFD packet to send [10:47:16]OFD Sender: No OFD packet to send [10:47:21]OFD Sender: No OFD packet to send [10:47:26]OFD Sender: No OFD packet to send [10:47:31]OFD Sender: No OFD packet to send [10:47:36]OFD Sender: No OFD packet to send [10:47:41]OFD Sender: No OFD packet to send [10:47:46]OFD Sender: No OFD packet to send [10:47:51]OFD Sender: No OFD packet to send [10:47:56]OFD Sender: No OFD packet to send [10:48:01]OFD Sender: No OFD packet to send [10:48:06]OFD Sender: No OFD packet to send [10:48:11]OFD Sender: No OFD packet to send [10:48:16]OFD Sender: No OFD packet to send [10:48:21]OFD Sender: No OFD packet to send [10:48:26]OFD Sender: No OFD packet to send [10:48:31]OFD Sender: No OFD packet to send [10:48:36]OFD Sender: No OFD packet to send [10:48:41]OFD Sender: No OFD packet to send [10:48:46]OFD Sender: No OFD packet to send [10:48:51]OFD Sender: No OFD packet to send [10:48:56]OFD Sender: No OFD packet to send [10:49:01]OFD Sender: No OFD packet to send [10:49:06]OFD Sender: No OFD packet to send [10:49:11]OFD Sender: No OFD packet to send [10:49:16]OFD Sender: No OFD packet to send [10:49:21]OFD Sender: No OFD packet to send [10:49:26]OFD Sender: No OFD packet to send [10:49:31]OFD Sender: No OFD packet to send [10:49:36]OFD Sender: No OFD packet to send [10:49:41]OFD Sender: No OFD packet to send [10:49:46]OFD Sender: No OFD packet to send [10:49:51]OFD Sender: No OFD packet to send [10:49:56]OFD Sender: No OFD packet to send [10:50:01]OFD Sender: No OFD packet to send [10:50:06]OFD Sender: No OFD packet to send [10:50:11]OFD Sender: No OFD packet to send [10:50:16]OFD Sender: No OFD packet to send [10:50:21]OFD Sender: No OFD packet to send [10:50:26]OFD Sender: No OFD packet to send [10:50:31]OFD Sender: No OFD packet to send [10:50:36]OFD Sender: No OFD packet to send [10:50:41]OFD Sender: No OFD packet to send [10:50:46]OFD Sender: No OFD packet to send [10:50:51]OFD Sender: No OFD packet to send [10:50:56]OFD Sender: No OFD packet to send [10:51:01]OFD Sender: No OFD packet to send [10:51:06]OFD Sender: No OFD packet to send [10:51:11]OFD Sender: No OFD packet to send [10:51:16]OFD Sender: No OFD packet to send [10:51:21]OFD Sender: No OFD packet to send [10:51:26]OFD Sender: No OFD packet to send [10:51:31]OFD Sender: No OFD packet to send [10:51:36]OFD Sender: No OFD packet to send [10:51:41]OFD Sender: No OFD packet to send [10:51:46]OFD Sender: No OFD packet to send [10:51:51]OFD Sender: No OFD packet to send [10:51:56]OFD Sender: No OFD packet to send [10:52:01]OFD Sender: No OFD packet to send [10:52:06]OFD Sender: No OFD packet to send [10:52:11]OFD Sender: No OFD packet to send [10:52:16]OFD Sender: No OFD packet to send [10:52:21]OFD Sender: No OFD packet to send [10:52:26]OFD Sender: No OFD packet to send [10:52:31]OFD Sender: No OFD packet to send [10:52:36]OFD Sender: No OFD packet to send [10:52:41]OFD Sender: No OFD packet to send [10:52:46]OFD Sender: No OFD packet to send [10:52:51]OFD Sender: No OFD packet to send [10:52:56]OFD Sender: No OFD packet to send [10:53:01]OFD Sender: No OFD packet to send [10:53:06]OFD Sender: No OFD packet to send [10:53:11]OFD Sender: No OFD packet to send [10:53:16]OFD Sender: No OFD packet to send [10:53:21]OFD Sender: No OFD packet to send [10:53:26]OFD Sender: No OFD packet to send [10:53:31]OFD Sender: No OFD packet to send [10:53:36]OFD Sender: No OFD packet to send [10:53:41]OFD Sender: No OFD packet to send [10:53:46]OFD Sender: No OFD packet to send [10:53:51]OFD Sender: No OFD packet to send [10:53:56]OFD Sender: No OFD packet to send [10:54:01]OFD Sender: No OFD packet to send [10:54:06]OFD Sender: No OFD packet to send [10:54:11]OFD Sender: No OFD packet to send [10:54:16]OFD Sender: No OFD packet to send [10:54:21]OFD Sender: No OFD packet to send [10:54:26]OFD Sender: No OFD packet to send [10:54:31]OFD Sender: No OFD packet to send [10:54:36]OFD Sender: No OFD packet to send [10:54:41]OFD Sender: No OFD packet to send [10:54:46]OFD Sender: No OFD packet to send [10:54:51]OFD Sender: No OFD packet to send [10:54:56]OFD Sender: No OFD packet to send [10:55:01]OFD Sender: No OFD packet to send [10:55:06]OFD Sender: No OFD packet to send [10:55:11]OFD Sender: No OFD packet to send [10:55:16]OFD Sender: No OFD packet to send [10:55:21]OFD Sender: No OFD packet to send [10:55:26]OFD Sender: No OFD packet to send [10:55:31]OFD Sender: No OFD packet to send [10:55:36]OFD Sender: No OFD packet to send [10:55:41]OFD Sender: No OFD packet to send [10:55:46]OFD Sender: No OFD packet to send [10:55:51]OFD Sender: No OFD packet to send [10:55:56]OFD Sender: No OFD packet to send [10:56:01]OFD Sender: No OFD packet to send [10:56:06]OFD Sender: No OFD packet to send [10:56:11]OFD Sender: No OFD packet to send [10:56:16]OFD Sender: No OFD packet to send [10:56:21]OFD Sender: No OFD packet to send [10:56:26]OFD Sender: No OFD packet to send [10:56:31]OFD Sender: No OFD packet to send [10:56:36]OFD Sender: No OFD packet to send [10:56:41]OFD Sender: No OFD packet to send [10:56:46]OFD Sender: No OFD packet to send [10:56:51]OFD Sender: No OFD packet to send [10:56:56]OFD Sender: No OFD packet to send [10:57:01]OFD Sender: No OFD packet to send [10:57:06]OFD Sender: No OFD packet to send [10:57:11]OFD Sender: No OFD packet to send [10:57:16]OFD Sender: No OFD packet to send [10:57:21]OFD Sender: No OFD packet to send [10:57:26]OFD Sender: No OFD packet to send [10:57:31]OFD Sender: No OFD packet to send [10:57:36]OFD Sender: No OFD packet to send [10:57:41]OFD Sender: No OFD packet to send [10:57:46]OFD Sender: No OFD packet to send [10:57:51]OFD Sender: No OFD packet to send [10:57:56]OFD Sender: No OFD packet to send [10:58:01]OFD Sender: No OFD packet to send [10:58:06]OFD Sender: No OFD packet to send [10:58:11]OFD Sender: No OFD packet to send [10:58:16]OFD Sender: No OFD packet to send [10:58:21]OFD Sender: No OFD packet to send [10:58:26]OFD Sender: No OFD packet to send [10:58:31]OFD Sender: No OFD packet to send [10:58:36]OFD Sender: No OFD packet to send [10:58:41]OFD Sender: No OFD packet to send [10:58:46]OFD Sender: No OFD packet to send [10:58:51]OFD Sender: No OFD packet to send [10:58:56]OFD Sender: No OFD packet to send [10:59:01]OFD Sender: No OFD packet to send [10:59:06]OFD Sender: No OFD packet to send [10:59:11]OFD Sender: No OFD packet to send [10:59:16]OFD Sender: No OFD packet to send [10:59:21]OFD Sender: No OFD packet to send [10:59:26]OFD Sender: No OFD packet to send [10:59:31]OFD Sender: No OFD packet to send [10:59:36]OFD Sender: No OFD packet to send [10:59:41]OFD Sender: No OFD packet to send [10:59:46]OFD Sender: No OFD packet to send [10:59:51]OFD Sender: No OFD packet to send [10:59:56]OFD Sender: No OFD packet to send [11:00:01]OFD Sender: No OFD packet to send [11:00:06]OFD Sender: No OFD packet to send [11:00:11]OFD Sender: No OFD packet to send [11:00:13]accept exits with 9 [11:00:13]New connection [11:00:13]New thread 3066842468 created [11:00:13]Thread 3066699108 joined [11:00:13]Waiting for new connection... [11:00:13] Sock 9.Parse request [11:00:13]Sock 9.Check first char [11:00:13]Sock 9.First char is OK [11:00:13]request: POST /json_proto HTTP/1.0 [11:00:13]Method: POST [11:00:13]URL: /json_proto [11:00:13]Method is POST - this is cgi request [11:00:13]url: /json_proto [11:00:13]query_string will be loaded in cgi processing [11:00:13]execute_cgi json_proto POST (null) [11:00:13]execute_cgi path=json_proto method=POST [11:00:13]POST find Content-Length [11:00:13]Host: 172.17.35.196:8080 [11:00:13]Content-Length: 646 [11:00:13]Content-Type: application/json [11:00:13] [11:00:13]POST finish read [11:00:13]Found Content-Length = 646 [11:00:13]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169097", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:00:13]execute_script... [11:00: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)169097", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:00:13]POST & json_proto [11:00:13]process_json_proto [11:00:13]json parsed OK: [11:00:13]protocol is kg_v1.0 [11:00:13]action value=close_receipt [11:00:13]process_action close_receipt [11:00:13]cmd_close_receipt [11:00:13]MH_GetDate [11:00:13]Write to MH i2c: F0 00 00 38 8D B4 [11:00:13]Write i2c OK [11:00:13]MH_I2C_Read... [11:00:13]Read from MH i2c: F0 [11:00:13]MH_I2C_Read... [11:00:13]Read from MH i2c: F0 09 00 [11:00:13]MH_I2C_Read... [11:00:13]Read from MH i2c: F0 09 00 38 8D 00 62 BB 8F 66 AD 14 F4 65 E9 [11:00:13]GetLastDocTimeStamp 1720693814 [11:00:13]current date 1720695650 [11:00:13]FM_GetShiftState [11:00:13]SAM_PROTO_GetShiftState [11:00:13]wFMCommunicate request_size=4 [11:00:13]MH_SAM_APDU [11:00:13]CAPDU: 80 13 01 00 [11:00:13]Write to MH i2c: E2 08 00 39 8D 80 13 01 00 00 00 00 00 43 [11:00:13]Write i2c OK [11:00:13]MH_I2C_Read... [11:00:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:00:13]Read from MH i2c: E2 [11:00:13]MH_I2C_Read... [11:00:13]Read from MH i2c: E2 0E 00 [11:00:13]MH_I2C_Read... [11:00:13]Read from MH i2c: E2 0E 00 39 8D 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 74 [11:00:13]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [11:00:13]wFMCommunicate OK [11:00:13]SAM_PROTO_GetShiftState done [11:00:13]FM_GetShiftState done [11:00:13]opened in 1720656398 [11:00:13]opened+sec_in_day 1720742798 [11:00:13]quantity*price = 13000 [11:00:13]sum+1 = 13001 [11:00:13]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 130.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 12 11.07.2024 11:00 Смена: 432 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33257 ФПД: 69137082239108 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T110050&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33257&fm=69137082239108&tin=02508201610067®Number=0000000000093033&sum=13000 0 [11:00:14]StoreToDocumentArchive [11:00:14]shift 432 fd 33257 [11:00:14]save to /storage/0432/doc_00033257 [11:00:14]save last doc name /storage/0432/doc_00033257 to /storage/kkm_last_doc_name [11:00:14]save OK [11:00:14]Clear old archive folders... [11:00:14]ProcessDocumentItem done err = 0, tmpTLVsize=282 [11:00:14]tlvbuf is 0016A090 [11:00:14]SAM_PROTO_ClearQueue [11:00:14]wFMCommunicate request_size=4 [11:00:14]MH_SAM_APDU [11:00:14]CAPDU: 80 09 00 00 [11:00:14]Write to MH i2c: E2 08 00 46 8D 80 09 00 00 00 00 00 00 45 [11:00:14]Write i2c OK [11:00:14]MH_I2C_Read... [11:00:14]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:00:14]Read from MH i2c: E2 [11:00:14]MH_I2C_Read... [11:00:14]Read from MH i2c: E2 03 00 [11:00:14]MH_I2C_Read... [11:00:14]Read from MH i2c: E2 03 00 46 8D 00 90 00 47 [11:00:14]RAPDU: 90 00 [11:00:14]wFMCommunicate OK [11:00:14]SAM_PROTO_ClearQueue done [11:00:14]KKMCreateOFDPacket [11:00:14]OFDProtocolAddRootSTLVToBuf [11:00:14]FM_MakeSignedData [11:00:14]FM_MakeSignedData [11:00:14]SAM_PROTO_SignData [11:00:14]wFMCommunicate request_size=4 [11:00:14]MH_SAM_APDU [11:00:14]CAPDU: 80 0D 01 02 [11:00:14]Write to MH i2c: E2 08 00 47 8D 80 0D 01 02 00 00 00 00 4D [11:00:14]Write i2c OK [11:00:14]MH_I2C_Read... [11:00:14]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:00:15]Read from MH i2c: E2 [11:00:15]MH_I2C_Read... [11:00:15]Read from MH i2c: E2 03 00 [11:00:15]MH_I2C_Read... [11:00:15]Read from MH i2c: E2 03 00 47 8D 00 90 00 48 [11:00:15]RAPDU: 90 00 [11:00:15]wFMCommunicate OK [11:00:15]wFMCommunicate request_size=255 [11:00:15]MH_SAM_APDU [11:00:15]CAPDU: 80 0D 02 02 FA 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 62 BB 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 [11:00:15]Write to MH i2c: E2 02 01 48 8D 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 62 BB 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 00 00 24 [11:00:15]Write i2c OK [11:00:15]MH_I2C_Read... [11:00:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:00:15]Read from MH i2c: E2 [11:00:15]MH_I2C_Read... [11:00:15]Read from MH i2c: E2 03 00 [11:00:15]MH_I2C_Read... [11:00:15]Read from MH i2c: E2 03 00 48 8D 00 90 00 49 [11:00:15]RAPDU: 90 00 [11:00:15]wFMCommunicate OK [11:00:15]wFMCommunicate request_size=41 [11:00:15]MH_SAM_APDU [11:00:15]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 E9 81 00 00 35 04 06 00 3E E1 3B 3A 48 84 [11:00:15]Write to MH i2c: E2 2C 00 49 8D 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 E9 81 00 00 35 04 06 00 3E E1 3B 3A 48 84 00 00 E2 [11:00:15]Write i2c OK [11:00:15]MH_I2C_Read... [11:00:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:00:15]Read from MH i2c: E2 [11:00:15]MH_I2C_Read... [11:00:15]Read from MH i2c: E2 03 00 [11:00:15]MH_I2C_Read... [11:00:15]Read from MH i2c: E2 03 00 49 8D 00 90 00 4A [11:00:15]RAPDU: 90 00 [11:00:15]wFMCommunicate OK [11:00:15]wFMCommunicate request_size=4 [11:00:15]MH_SAM_APDU [11:00:15]CAPDU: 80 0D 03 02 [11:00:15]Write to MH i2c: E2 08 00 4A 8D 80 0D 03 02 00 00 00 00 52 [11:00:15]Write i2c OK [11:00:15]MH_I2C_Read... [11:00:15]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:00:15]Read from MH i2c: E2 [11:00:15]MH_I2C_Read... [11:00:15]Read from MH i2c: E2 0B 00 [11:00:15]MH_I2C_Read... [11:00:15]Read from MH i2c: E2 0B 00 4A 8D 00 81 DC 8F 0A 41 49 50 C4 90 00 E7 [11:00:15]RAPDU: 81 DC 8F 0A 41 49 50 C4 90 00 [11:00:15]wFMCommunicate OK [11:00:15]SAM_PROTO_SignData done [11:00:15]FM_MakeSignedData done [11:00:15]CreateOFDProtocolMessage [11:00:15]wFMCommunicate request_size=4 [11:00:15]MH_SAM_APDU [11:00:15]CAPDU: 80 11 00 00 [11:00:15]Write to MH i2c: E2 08 00 4B 8D 80 11 00 00 00 00 00 00 52 [11:00:15]Write i2c OK [11:00:15]MH_I2C_Read... [11:00:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:00:15]Read from MH i2c: E2 [11:00:15]MH_I2C_Read... [11:00:15]Read from MH i2c: E2 17 00 [11:00:15]MH_I2C_Read... [11:00:15]Read from MH i2c: E2 17 00 4B 8D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 9E [11:00:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [11:00:15]wFMCommunicate OK [11:00:15]CreateOFDProtocolMessage done [11:00:15]OFDSenderStorePacket 33257 [11:00:15]StoreOFDPacket docnum=33257 [11:00:15]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 2E 01 00 00 24 E1 26 01 CF CD 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 62 BB 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 E9 81 00 00 35 04 06 00 3E E1 3B 3A 48 84 81 DC 8F 0A 41 49 50 C4 [11:00:15]CheckFolder [11:00:15]dirname=/storage/ofd_packets [11:00:15]CheckFolder done [11:00:15]ProducePacketName [11:00:15]name=ofd_packets/00033257 [11:00:15]NVStorageSaveData ofd_packets/00033257 [11:00:15]File name is /storage/ofd_packets/00033257 [11:00:15]Write 332 bytes [11:00:15]NVStorageSaveData done [11:00:15]OFDSenderStorePacket done [11:00:15]KKMCreateOFDPacket done [11:00:15]NVStorageSaveData kkm_last_timestamp [11:00:15]File name is /storage/kkm_last_timestamp [11:00:15]Write 4 bytes [11:00:15]NVStorageSaveData done [11:00:15]ExternCall_PrintAddStr [11:00:15]wPrintStart [11:00:15]Write to MH i2c: 01 00 00 4C 8D D9 [11:00:15]Write i2c OK [11:00:15]MH_I2C_Read... [11:00:15]Read from MH i2c: 01 [11:00:15]MH_I2C_Read... [11:00:15]Read from MH i2c: 01 07 00 [11:00:15]MH_I2C_Read... [11:00:15]Read from MH i2c: 01 07 00 4C 8D 00 00 00 00 00 FF 0F EE [11:00:15]RasterBufferAndPrint [11:00:15]line Счет N : (3)169097 [11:00:15]line ИНН: 02508201610067 [11:00:15]line Контрольно-Кассовый Чек [11:00:15]line ПРОДАЖА [11:00:15]line Товар: 2000036220012 [11:00:15]line Кофе Капучино XL(GABB TRADE) [11:00:15]line 1.000 * 130.00 [11:00:15]line = 130.00 [11:00:15]line НДС 12% НСП 1% [11:00:15]line > о реализуемом товаре [11:00:15]line ИТОГО: 130.00 [11:00:15]line НСП 1% : 1.15 [11:00:15]line НДС 12% : 13.80 [11:00:15]line Наличными: 130.00 [11:00:15]line Безнал.: 0.00 [11:00:15]line Место: АЗС № 77 "Партнер Нефть" [11:00:15]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [11:00:15]line СНО: Общий режим [11:00:15]line Чек 12 11.07.2024 11:00 [11:00:15]line Смена: 432 ФФД: 1.0 [11:00:15]line ЗНМ: 0300000122 [11:00:15]line РНМ: 0000000000093033 [11:00:15]line Версия ККМ: 001 [11:00:15]line ФМ: 0000000000875104 [11:00:15]line ФД: 33257 [11:00:15]line ФПД: 69137082239108 [11:00:15]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T110050&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33257&fm=69137082239108&tin=02508201610067®Number=0000000000093033&sum=13000 [11:00:15]OFD Sender: Processing packet 33257 [packets to send 6, broken 5] [11:00:15]ProducePacketName [11:00:15]name=ofd_packets/00033257 [11:00:15]OFD Sender: To server: pG, [11:00:15]CommunicateWithHost lk.salyk.kg:30040 [11:00:15]ConnectInit lk.salyk.kg [11:00:15]line 0 [11:00:15]written 0, free lines is 4095 [11:00:16]Write to MH i2c: 01 00 00 75 8D 02 [11:00:16]Write i2c OK [11:00:16]MH_I2C_Read... [11:00:16]Read from MH i2c: 01 [11:00:16]MH_I2C_Read... [11:00:16]Read from MH i2c: 01 07 00 [11:00:16]MH_I2C_Read... [11:00:16]Read from MH i2c: 01 07 00 75 8D 00 00 00 00 00 E4 0C F9 [11:00:16]RasterBufferAndPrint [11:00:16]line [11:00:16]line [11:00:16]line [11:00:16]line [11:00:16]line [11:00:16]written 0, free lines is 3307 [11:00:16]MH_Cut [11:00:16]Write to MH i2c: D1 01 00 7C 8D 01 DB [11:00:16]Write i2c OK [11:00:16]MH_I2C_Read... [11:00:16]Read from MH i2c: D1 [11:00:16]MH_I2C_Read... [11:00:16]Read from MH i2c: D1 01 00 [11:00:16]MH_I2C_Read... [11:00:16]Read from MH i2c: D1 01 00 7C 8D 00 DA [11:00:16]Write to MH i2c: 01 00 00 7D 8D 0A [11:00:16]Write i2c OK [11:00:16]MH_I2C_Read... [11:00:16]Connected sock=10 [11:00:16]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 2E 01 00 00 24 E1 26 01 CF CD 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 62 BB 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 E9 81 00 00 35 04 06 00 3E E1 3B 3A 48 84 81 DC 8F 0A 41 49 50 C4 [11:00:16]*** Cut start [11:00:16]*** Partial cut [11:00:16]*** CUTSNS_PIN = 1 [11:00:17]*** CUTSNS_PIN = 0 [11:00:17]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 D1 BB 47 00 2A 07 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 35 31 30 34 10 04 04 00 E9 81 00 00 F4 03 04 00 13 66 8F 66 B6 04 01 00 00 F3 50 77 79 7B 19 BE 85 [11:00:17]CommunicateWithHost err = 0 [11:00:17]CheckOFDResponse [11:00:17]1017 (14) - 77093643461234 [11:00:17]1041 (16) - 0000000000875104 [11:00:17]1040 (4) - 33257 [11:00:17]1012 (4) - 11.07.2024 04:56 [11:00:17]1206 (1) - 0 [11:00:17]OFD Sender: Remove packet 33257 [11:00:17]ProducePacketName [11:00:17]name=ofd_packets/00033257 [11:00:17]NVStorageDeleteData [11:00:17]*** Brake cut motor [11:00:17]Read from MH i2c: 01 [11:00:17]MH_I2C_Read... [11:00:17]OFD Sender: No OFD packet to send [11:00:17]*** Stop cut motor [11:00:17]*** Cut end [11:00:17]Read from MH i2c: 01 07 00 [11:00:17]MH_I2C_Read... [11:00:17]Read from MH i2c: 01 07 00 7D 8D 00 00 00 00 00 FF 0F 1F [11:00:17]process_action close_receipt done [11:00:17]requested_data is exist [11:00:17]produce_requested_data [11:00:17]requested_item fm.sn is exist - process it [11:00:17]wFMCommunicate request_size=4 [11:00:17]MH_SAM_APDU [11:00:17]CAPDU: 80 11 00 00 [11:00:17]Write to MH i2c: E2 08 00 7E 8D 80 11 00 00 00 00 00 00 85 [11:00:17]Write i2c OK [11:00:17]MH_I2C_Read... [11:00:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:00:17]Read from MH i2c: E2 [11:00:17]MH_I2C_Read... [11:00:17]Read from MH i2c: E2 17 00 [11:00:17]MH_I2C_Read... [11:00:17]Read from MH i2c: E2 17 00 7E 8D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 D1 [11:00:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [11:00:17]wFMCommunicate OK [11:00:17]requested_item fd.num is exist - process it [11:00:17]SAM_PROTO_GetFieldsCounters [11:00:17]wFMCommunicate request_size=4 [11:00:17]MH_SAM_APDU [11:00:17]CAPDU: 80 13 00 00 [11:00:17]Write to MH i2c: E2 08 00 7F 8D 80 13 00 00 00 00 00 00 88 [11:00:17]Write i2c OK [11:00:17]MH_I2C_Read... [11:00:17]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:00:17]Read from MH i2c: E2 [11:00:17]MH_I2C_Read... [11:00:17]Read from MH i2c: E2 62 00 [11:00:17]MH_I2C_Read... [11:00:17]Read from MH i2c: E2 62 00 7F 8D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 E9 81 00 00 0E 04 04 00 B0 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 DA [11:00: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 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 E9 81 00 00 0E 04 04 00 B0 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 [11:00:17]wFMCommunicate OK [11:00:17]SAM_PROTO_GetFieldsCounters done [11:00:17]requested_item shift.num is exist - process it [11:00:17]requested_item shift.opened is exist - process it [11:00:17]req_shift_opened [11:00:17]FM_GetShiftState [11:00:17]SAM_PROTO_GetShiftState [11:00:17]wFMCommunicate request_size=4 [11:00:17]MH_SAM_APDU [11:00:17]CAPDU: 80 13 01 00 [11:00:17]Write to MH i2c: E2 08 00 80 8D 80 13 01 00 00 00 00 00 8A [11:00:17]Write i2c OK [11:00:17]MH_I2C_Read... [11:00:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:00:17]Read from MH i2c: E2 [11:00:17]MH_I2C_Read... [11:00:17]Read from MH i2c: E2 0E 00 [11:00:17]MH_I2C_Read... [11:00:17]Read from MH i2c: E2 0E 00 80 8D 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 BB [11:00:17]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [11:00:17]wFMCommunicate OK [11:00:17]SAM_PROTO_GetShiftState done [11:00:17]FM_GetShiftState done [11:00:17]req_shift_opened done [11:00:17]requested_item shift.open_date is exist - process it [11:00:17]req_shift_open_date [11:00:17]req_shift_open_date done [11:00:17]produce_requested_data done [11:00:17]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33257,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398} [11:00:17]process_action_free close_receipt [11:00:17]json_value_free [11:00:17]json_value_free done [11:00:17]process_json_proto returns [11:00:17]Send response to host [11:00:17]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33257,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398}}} [11:00:17]free response buf [11:00:17]execute_script done [11:00:17]execute_script returns [11:00:17]free content buf [11:00:17]Sock 9.Close socket [11:00:17]Sock 9.Thread stoped [11:00:22]OFD Sender: No OFD packet to send [11:00:27]OFD Sender: No OFD packet to send [11:00:32]OFD Sender: No OFD packet to send [11:00:37]OFD Sender: No OFD packet to send [11:00:42]OFD Sender: No OFD packet to send [11:00:47]OFD Sender: No OFD packet to send [11:00:52]OFD Sender: No OFD packet to send [11:00:57]OFD Sender: No OFD packet to send [11:01:02]OFD Sender: No OFD packet to send [11:01:07]OFD Sender: No OFD packet to send [11:01:12]OFD Sender: No OFD packet to send [11:01:17]OFD Sender: No OFD packet to send [11:01:22]OFD Sender: No OFD packet to send [11:01:27]OFD Sender: No OFD packet to send [11:01:32]OFD Sender: No OFD packet to send [11:01:37]OFD Sender: No OFD packet to send [11:01:42]OFD Sender: No OFD packet to send [11:01:47]OFD Sender: No OFD packet to send [11:01:52]OFD Sender: No OFD packet to send [11:01:57]OFD Sender: No OFD packet to send [11:02:02]OFD Sender: No OFD packet to send [11:02:07]OFD Sender: No OFD packet to send [11:02:12]OFD Sender: No OFD packet to send [11:02:17]OFD Sender: No OFD packet to send [11:02:22]OFD Sender: No OFD packet to send [11:02:27]OFD Sender: No OFD packet to send [11:02:32]OFD Sender: No OFD packet to send [11:02:37]OFD Sender: No OFD packet to send [11:02:42]OFD Sender: No OFD packet to send [11:02:47]OFD Sender: No OFD packet to send [11:02:52]OFD Sender: No OFD packet to send [11:02:57]OFD Sender: No OFD packet to send [11:03:02]OFD Sender: No OFD packet to send [11:03:07]OFD Sender: No OFD packet to send [11:03:12]OFD Sender: No OFD packet to send [11:03:17]OFD Sender: No OFD packet to send [11:03:22]OFD Sender: No OFD packet to send [11:03:27]OFD Sender: No OFD packet to send [11:03:32]OFD Sender: No OFD packet to send [11:03:37]OFD Sender: No OFD packet to send [11:03:42]OFD Sender: No OFD packet to send [11:03:47]OFD Sender: No OFD packet to send [11:03:52]OFD Sender: No OFD packet to send [11:03:57]OFD Sender: No OFD packet to send [11:04:02]OFD Sender: No OFD packet to send [11:04:07]OFD Sender: No OFD packet to send [11:04:12]OFD Sender: No OFD packet to send [11:04:17]OFD Sender: No OFD packet to send [11:04:22]OFD Sender: No OFD packet to send [11:04:27]OFD Sender: No OFD packet to send [11:04:32]OFD Sender: No OFD packet to send [11:04:37]OFD Sender: No OFD packet to send [11:04:42]OFD Sender: No OFD packet to send [11:04:47]OFD Sender: No OFD packet to send [11:04:52]OFD Sender: No OFD packet to send [11:04:57]OFD Sender: No OFD packet to send [11:05:02]OFD Sender: No OFD packet to send [11:05:07]OFD Sender: No OFD packet to send [11:05:12]OFD Sender: No OFD packet to send [11:05:17]OFD Sender: No OFD packet to send [11:05:22]OFD Sender: No OFD packet to send [11:05:27]OFD Sender: No OFD packet to send [11:05:32]OFD Sender: No OFD packet to send [11:05:37]OFD Sender: No OFD packet to send [11:05:42]OFD Sender: No OFD packet to send [11:05:47]OFD Sender: No OFD packet to send [11:05:52]OFD Sender: No OFD packet to send [11:05:57]OFD Sender: No OFD packet to send [11:06:02]OFD Sender: No OFD packet to send [11:06:07]OFD Sender: No OFD packet to send [11:06:12]OFD Sender: No OFD packet to send [11:06:17]OFD Sender: No OFD packet to send [11:06:22]OFD Sender: No OFD packet to send [11:06:27]OFD Sender: No OFD packet to send [11:06:32]OFD Sender: No OFD packet to send [11:06:37]OFD Sender: No OFD packet to send [11:06:42]OFD Sender: No OFD packet to send [11:06:47]OFD Sender: No OFD packet to send [11:06:52]OFD Sender: No OFD packet to send [11:06:57]OFD Sender: No OFD packet to send [11:07:02]OFD Sender: No OFD packet to send [11:07:07]OFD Sender: No OFD packet to send [11:07:12]OFD Sender: No OFD packet to send [11:07:17]OFD Sender: No OFD packet to send [11:07:22]OFD Sender: No OFD packet to send [11:07:27]OFD Sender: No OFD packet to send [11:07:32]OFD Sender: No OFD packet to send [11:07:37]OFD Sender: No OFD packet to send [11:07:42]OFD Sender: No OFD packet to send [11:07:47]OFD Sender: No OFD packet to send [11:07:52]OFD Sender: No OFD packet to send [11:07:58]OFD Sender: No OFD packet to send [11:08:03]OFD Sender: No OFD packet to send [11:08:08]OFD Sender: No OFD packet to send [11:08:13]OFD Sender: No OFD packet to send [11:08:18]OFD Sender: No OFD packet to send [11:08:23]OFD Sender: No OFD packet to send [11:08:28]OFD Sender: No OFD packet to send [11:08:33]OFD Sender: No OFD packet to send [11:08:38]OFD Sender: No OFD packet to send [11:08:43]OFD Sender: No OFD packet to send [11:08:48]OFD Sender: No OFD packet to send [11:08:53]OFD Sender: No OFD packet to send [11:08:58]OFD Sender: No OFD packet to send [11:09:03]OFD Sender: No OFD packet to send [11:09:08]OFD Sender: No OFD packet to send [11:09:13]OFD Sender: No OFD packet to send [11:09:18]OFD Sender: No OFD packet to send [11:09:23]OFD Sender: No OFD packet to send [11:09:28]OFD Sender: No OFD packet to send [11:09:33]OFD Sender: No OFD packet to send [11:09:38]OFD Sender: No OFD packet to send [11:09:43]OFD Sender: No OFD packet to send [11:09:48]OFD Sender: No OFD packet to send [11:09:53]OFD Sender: No OFD packet to send [11:09:58]OFD Sender: No OFD packet to send [11:10:03]OFD Sender: No OFD packet to send [11:10:08]OFD Sender: No OFD packet to send [11:10:13]OFD Sender: No OFD packet to send [11:10:18]OFD Sender: No OFD packet to send [11:10:23]OFD Sender: No OFD packet to send [11:10:28]OFD Sender: No OFD packet to send [11:10:33]OFD Sender: No OFD packet to send [11:10:38]OFD Sender: No OFD packet to send [11:10:43]OFD Sender: No OFD packet to send [11:10:48]OFD Sender: No OFD packet to send [11:10:53]OFD Sender: No OFD packet to send [11:10:58]OFD Sender: No OFD packet to send [11:11:03]OFD Sender: No OFD packet to send [11:11:08]OFD Sender: No OFD packet to send [11:11:13]OFD Sender: No OFD packet to send [11:11:18]OFD Sender: No OFD packet to send [11:11:23]OFD Sender: No OFD packet to send [11:11:28]OFD Sender: No OFD packet to send [11:11:33]OFD Sender: No OFD packet to send [11:11:38]OFD Sender: No OFD packet to send [11:11:43]OFD Sender: No OFD packet to send [11:11:48]OFD Sender: No OFD packet to send [11:11:53]OFD Sender: No OFD packet to send [11:11:58]OFD Sender: No OFD packet to send [11:12:03]OFD Sender: No OFD packet to send [11:12:08]OFD Sender: No OFD packet to send [11:12:13]OFD Sender: No OFD packet to send [11:12:18]OFD Sender: No OFD packet to send [11:12:23]OFD Sender: No OFD packet to send [11:12:28]OFD Sender: No OFD packet to send [11:12:33]OFD Sender: No OFD packet to send [11:12:38]OFD Sender: No OFD packet to send [11:12:43]OFD Sender: No OFD packet to send [11:12:48]OFD Sender: No OFD packet to send [11:12:51]accept exits with 8 [11:12:51]New connection [11:12:51]New thread 3066699108 created [11:12:51]Thread 3066842468 joined [11:12:51]Waiting for new connection... [11:12:51] Sock 8.Parse request [11:12:51]Sock 8.Check first char [11:12:51]Sock 8.First char is OK [11:12:51]request: POST /json_proto HTTP/1.0 [11:12:51]Method: POST [11:12:51]URL: /json_proto [11:12:51]Method is POST - this is cgi request [11:12:51]url: /json_proto [11:12:51]query_string will be loaded in cgi processing [11:12:51]execute_cgi json_proto POST (null) [11:12:51]execute_cgi path=json_proto method=POST [11:12:51]POST find Content-Length [11:12:51]Host: 172.17.35.196:8080 [11:12:51]Content-Length: 622 [11:12:51]Content-Type: application/json [11:12:51] [11:12:51]POST finish read [11:12:51]Found Content-Length = 622 [11:12:51]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169098", "tax_sys" : 0, "items" : [ { "code": "46230614", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Richmond Red Edition", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 150.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:12:51]execute_script... [11:12: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)169098", "tax_sys" : 0, "items" : [ { "code": "46230614", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Richmond Red Edition", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 150.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:12:51]POST & json_proto [11:12:51]process_json_proto [11:12:51]json parsed OK: [11:12:51]protocol is kg_v1.0 [11:12:51]action value=close_receipt [11:12:51]process_action close_receipt [11:12:51]cmd_close_receipt [11:12:51]MH_GetDate [11:12:51]Write to MH i2c: F0 00 00 81 8D FD [11:12:51]Write i2c OK [11:12:51]MH_I2C_Read... [11:12:51]Read from MH i2c: F0 [11:12:51]MH_I2C_Read... [11:12:51]Read from MH i2c: F0 09 00 [11:12:51]MH_I2C_Read... [11:12:51]Read from MH i2c: F0 09 00 81 8D 00 58 BE 8F 66 AD 14 F4 65 2B [11:12:51]GetLastDocTimeStamp 1720695650 [11:12:51]current date 1720696408 [11:12:51]FM_GetShiftState [11:12:51]SAM_PROTO_GetShiftState [11:12:51]wFMCommunicate request_size=4 [11:12:51]MH_SAM_APDU [11:12:51]CAPDU: 80 13 01 00 [11:12:51]Write to MH i2c: E2 08 00 82 8D 80 13 01 00 00 00 00 00 8C [11:12:51]Write i2c OK [11:12:51]MH_I2C_Read... [11:12:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:12:51]Read from MH i2c: E2 [11:12:51]MH_I2C_Read... [11:12:51]Read from MH i2c: E2 0E 00 [11:12:51]MH_I2C_Read... [11:12:51]Read from MH i2c: E2 0E 00 82 8D 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 BD [11:12:51]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [11:12:51]wFMCommunicate OK [11:12:51]SAM_PROTO_GetShiftState done [11:12:51]FM_GetShiftState done [11:12:51]opened in 1720656398 [11:12:51]opened+sec_in_day 1720742798 [11:12:51]quantity*price = 15000 [11:12:51]sum+1 = 15001 [11:12:51]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 150.00 НСП 1% : 1.33 НДС 12% : 15.93 Наличными: 150.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 13 11.07.2024 11:13 Смена: 432 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33258 ФПД: 49376549168982 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T111328&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33258&fm=49376549168982&tin=02508201610067®Number=0000000000093033&sum=15000 0 [11:12:52]StoreToDocumentArchive [11:12:52]shift 432 fd 33258 [11:12:52]save to /storage/0432/doc_00033258 [11:12:52]save last doc name /storage/0432/doc_00033258 to /storage/kkm_last_doc_name [11:12:52]save OK [11:12:52]Clear old archive folders... [11:12:52]ProcessDocumentItem done err = 0, tmpTLVsize=274 [11:12:52]tlvbuf is 00363580 [11:12:52]SAM_PROTO_ClearQueue [11:12:52]wFMCommunicate request_size=4 [11:12:52]MH_SAM_APDU [11:12:52]CAPDU: 80 09 00 00 [11:12:52]Write to MH i2c: E2 08 00 8F 8D 80 09 00 00 00 00 00 00 8E [11:12:52]Write i2c OK [11:12:52]MH_I2C_Read... [11:12:52]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:12:52]Read from MH i2c: E2 [11:12:52]MH_I2C_Read... [11:12:52]Read from MH i2c: E2 03 00 [11:12:52]MH_I2C_Read... [11:12:52]Read from MH i2c: E2 03 00 8F 8D 00 90 00 90 [11:12:52]RAPDU: 90 00 [11:12:52]wFMCommunicate OK [11:12:52]SAM_PROTO_ClearQueue done [11:12:52]KKMCreateOFDPacket [11:12:52]OFDProtocolAddRootSTLVToBuf [11:12:52]FM_MakeSignedData [11:12:52]FM_MakeSignedData [11:12:52]SAM_PROTO_SignData [11:12:52]wFMCommunicate request_size=4 [11:12:52]MH_SAM_APDU [11:12:52]CAPDU: 80 0D 01 02 [11:12:52]Write to MH i2c: E2 08 00 90 8D 80 0D 01 02 00 00 00 00 96 [11:12:52]Write i2c OK [11:12:52]MH_I2C_Read... [11:12:52]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:12:52]Read from MH i2c: E2 [11:12:52]MH_I2C_Read... [11:12:52]Read from MH i2c: E2 03 00 [11:12:52]MH_I2C_Read... [11:12:52]Read from MH i2c: E2 03 00 90 8D 00 90 00 91 [11:12:52]RAPDU: 90 00 [11:12:52]wFMCommunicate OK [11:12:52]wFMCommunicate request_size=255 [11:12:52]MH_SAM_APDU [11:12:52]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 36 32 33 30 36 31 34 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 65 64 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 58 BE 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 [11:12:52]Write to MH i2c: E2 02 01 91 8D 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 36 32 33 30 36 31 34 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 65 64 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 58 BE 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 00 00 70 [11:12:52]Write i2c OK [11:12:52]MH_I2C_Read... [11:12:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:12:53]Read from MH i2c: E2 [11:12:53]MH_I2C_Read... [11:12:53]Read from MH i2c: E2 03 00 [11:12:53]MH_I2C_Read... [11:12:53]Read from MH i2c: E2 03 00 91 8D 00 90 00 92 [11:12:53]RAPDU: 90 00 [11:12:53]wFMCommunicate OK [11:12:53]wFMCommunicate request_size=33 [11:12:53]MH_SAM_APDU [11:12:53]CAPDU: 80 0D 02 02 1C 30 30 30 30 38 37 35 31 30 34 10 04 04 00 EA 81 00 00 35 04 06 00 2C E8 5F AC 67 56 [11:12:53]Write to MH i2c: E2 24 00 92 8D 80 0D 02 02 1C 00 30 30 30 30 38 37 35 31 30 34 10 04 04 00 EA 81 00 00 35 04 06 00 2C E8 5F AC 67 56 00 00 68 [11:12:53]Write i2c OK [11:12:53]MH_I2C_Read... [11:12:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:12:53]Read from MH i2c: E2 [11:12:53]MH_I2C_Read... [11:12:53]Read from MH i2c: E2 03 00 [11:12:53]MH_I2C_Read... [11:12:53]Read from MH i2c: E2 03 00 92 8D 00 90 00 93 [11:12:53]RAPDU: 90 00 [11:12:53]wFMCommunicate OK [11:12:53]wFMCommunicate request_size=4 [11:12:53]MH_SAM_APDU [11:12:53]CAPDU: 80 0D 03 02 [11:12:53]Write to MH i2c: E2 08 00 93 8D 80 0D 03 02 00 00 00 00 9B [11:12:53]Write i2c OK [11:12:53]MH_I2C_Read... [11:12:53]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:12:53]Read from MH i2c: E2 [11:12:53]MH_I2C_Read... [11:12:53]Read from MH i2c: E2 0B 00 [11:12:53]MH_I2C_Read... [11:12:53]Read from MH i2c: E2 0B 00 93 8D 00 CD B0 11 3F 18 B5 7A B4 90 00 64 [11:12:53]RAPDU: CD B0 11 3F 18 B5 7A B4 90 00 [11:12:53]wFMCommunicate OK [11:12:53]SAM_PROTO_SignData done [11:12:53]FM_MakeSignedData done [11:12:53]CreateOFDProtocolMessage [11:12:53]wFMCommunicate request_size=4 [11:12:53]MH_SAM_APDU [11:12:53]CAPDU: 80 11 00 00 [11:12:53]Write to MH i2c: E2 08 00 94 8D 80 11 00 00 00 00 00 00 9B [11:12:53]Write i2c OK [11:12:53]MH_I2C_Read... [11:12:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:12:53]Read from MH i2c: E2 [11:12:53]MH_I2C_Read... [11:12:53]Read from MH i2c: E2 17 00 [11:12:53]MH_I2C_Read... [11:12:53]Read from MH i2c: E2 17 00 94 8D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 E7 [11:12:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [11:12:53]wFMCommunicate OK [11:12:53]CreateOFDProtocolMessage done [11:12:53]OFDSenderStorePacket 33258 [11:12:53]StoreOFDPacket docnum=33258 [11:12:53]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 26 01 00 00 FB 7D 1E 01 FB D2 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 36 32 33 30 36 31 34 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 65 64 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 58 BE 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 EA 81 00 00 35 04 06 00 2C E8 5F AC 67 56 CD B0 11 3F 18 B5 7A B4 [11:12:53]CheckFolder [11:12:53]dirname=/storage/ofd_packets [11:12:53]CheckFolder done [11:12:53]ProducePacketName [11:12:53]name=ofd_packets/00033258 [11:12:53]NVStorageSaveData ofd_packets/00033258 [11:12:53]File name is /storage/ofd_packets/00033258 [11:12:53]Write 324 bytes [11:12:53]NVStorageSaveData done [11:12:53]OFDSenderStorePacket done [11:12:53]KKMCreateOFDPacket done [11:12:53]NVStorageSaveData kkm_last_timestamp [11:12:53]File name is /storage/kkm_last_timestamp [11:12:53]Write 4 bytes [11:12:53]NVStorageSaveData done [11:12:53]ExternCall_PrintAddStr [11:12:53]wPrintStart [11:12:53]Write to MH i2c: 01 00 00 95 8D 22 [11:12:53]OFD Sender: Processing packet 33258 [packets to send 6, broken 5] [11:12:53]ProducePacketName [11:12:53]name=ofd_packets/00033258 [11:12:53]OFD Sender: To server: pG, [11:12:53]CommunicateWithHost lk.salyk.kg:30040 [11:12:53]ConnectInit lk.salyk.kg [11:12:53]Write i2c OK [11:12:53]MH_I2C_Read... [11:12:53]Read from MH i2c: 01 [11:12:53]MH_I2C_Read... [11:12:53]Read from MH i2c: 01 07 00 [11:12:53]MH_I2C_Read... [11:12:53]Read from MH i2c: 01 07 00 95 8D 00 00 00 00 00 FF 0F 37 [11:12:53]RasterBufferAndPrint [11:12:53]line Счет N : (3)169098 [11:12:53]line ИНН: 02508201610067 [11:12:53]line Контрольно-Кассовый Чек [11:12:53]line ПРОДАЖА [11:12:53]line Товар: 46230614 [11:12:53]line Сигареты Richmond Red Edition [11:12:53]line 1.000 * 150.00 [11:12:53]line = 150.00 [11:12:53]line НДС 12% НСП 1% [11:12:53]line > о реализуемом товаре [11:12:53]line ИТОГО: 150.00 [11:12:53]line НСП 1% : 1.33 [11:12:53]line НДС 12% : 15.93 [11:12:53]line Наличными: 150.00 [11:12:53]line Безнал.: 0.00 [11:12:53]line Место: АЗС № 77 "Партнер Нефть" [11:12:53]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [11:12:53]line СНО: Общий режим [11:12:53]line Чек 13 11.07.2024 11:13 [11:12:53]line Смена: 432 ФФД: 1.0 [11:12:53]line ЗНМ: 0300000122 [11:12:53]line РНМ: 0000000000093033 [11:12:53]line Версия ККМ: 001 [11:12:53]line ФМ: 0000000000875104 [11:12:53]line ФД: 33258 [11:12:53]line ФПД: 49376549168982 [11:12:53]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T111328&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33258&fm=49376549168982&tin=02508201610067®Number=0000000000093033&sum=15000 [11:12:53]Connected sock=10 [11:12:53]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 26 01 00 00 FB 7D 1E 01 FB D2 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 36 32 33 30 36 31 34 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 65 64 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 58 BE 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 line 0 [11:12:53]30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 EA 81 00 00 35 04 06 00 2C E8 5F AC 67 56 CD B0 11 3F 18 B5 7A B4 [11:12:53]written 0, free lines is 4095 [11:12:53]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 EE 72 47 00 F6 22 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 EA 81 00 00 F4 03 04 00 08 69 8F 66 B6 04 01 00 00 D2 ED 05 F0 3F 86 EA C7 [11:12:53]CommunicateWithHost err = 0 [11:12:53]CheckOFDResponse [11:12:53]1017 (14) - 77093643461234 [11:12:53]1041 (16) - 0000000000875104 [11:12:53]1040 (4) - 33258 [11:12:53]1012 (4) - 11.07.2024 05:09 [11:12:53]1206 (1) - 0 [11:12:53]OFD Sender: Remove packet 33258 [11:12:53]ProducePacketName [11:12:53]name=ofd_packets/00033258 [11:12:53]NVStorageDeleteData [11:12:54]Write to MH i2c: 01 00 00 BE 8D 4B [11:12:54]Write i2c OK [11:12:54]MH_I2C_Read... [11:12:54]Read from MH i2c: 01 [11:12:54]MH_I2C_Read... [11:12:54]Read from MH i2c: 01 07 00 [11:12:54]MH_I2C_Read... [11:12:54]Read from MH i2c: 01 07 00 BE 8D 00 00 00 00 00 D2 0C 30 [11:12:54]RasterBufferAndPrint [11:12:54]line [11:12:54]line [11:12:54]line [11:12:54]line [11:12:54]line [11:12:54]written 0, free lines is 3292 [11:12:54]MH_Cut [11:12:54]Write to MH i2c: D1 01 00 C5 8D 01 24 [11:12:54]Write i2c OK [11:12:54]MH_I2C_Read... [11:12:54]Read from MH i2c: D1 [11:12:54]MH_I2C_Read... [11:12:54]Read from MH i2c: D1 01 00 [11:12:54]MH_I2C_Read... [11:12:54]Read from MH i2c: D1 01 00 C5 8D 00 23 [11:12:54]Write to MH i2c: 01 00 00 C6 8D 53 [11:12:54]Write i2c OK [11:12:54]MH_I2C_Read... [11:12:54]OFD Sender: No OFD packet to send [11:12:54]*** Cut start [11:12:54]*** Partial cut [11:12:54]*** CUTSNS_PIN = 1 [11:12:54]*** CUTSNS_PIN = 0 [11:12:55]*** Brake cut motor [11:12:55]Read from MH i2c: 01 [11:12:55]MH_I2C_Read... [11:12:55]*** Stop cut motor [11:12:55]*** Cut end [11:12:55]Read from MH i2c: 01 07 00 [11:12:55]MH_I2C_Read... [11:12:55]Read from MH i2c: 01 07 00 C6 8D 00 00 00 00 00 FF 0F 68 [11:12:55]process_action close_receipt done [11:12:55]requested_data is exist [11:12:55]produce_requested_data [11:12:55]requested_item fm.sn is exist - process it [11:12:55]wFMCommunicate request_size=4 [11:12:55]MH_SAM_APDU [11:12:55]CAPDU: 80 11 00 00 [11:12:55]Write to MH i2c: E2 08 00 C7 8D 80 11 00 00 00 00 00 00 CE [11:12:55]Write i2c OK [11:12:55]MH_I2C_Read... [11:12:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:12:55]Read from MH i2c: E2 [11:12:55]MH_I2C_Read... [11:12:55]Read from MH i2c: E2 17 00 [11:12:55]MH_I2C_Read... [11:12:55]Read from MH i2c: E2 17 00 C7 8D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 1A [11:12:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [11:12:55]wFMCommunicate OK [11:12:55]requested_item fd.num is exist - process it [11:12:55]SAM_PROTO_GetFieldsCounters [11:12:55]wFMCommunicate request_size=4 [11:12:55]MH_SAM_APDU [11:12:55]CAPDU: 80 13 00 00 [11:12:55]Write to MH i2c: E2 08 00 C8 8D 80 13 00 00 00 00 00 00 D1 [11:12:55]Write i2c OK [11:12:55]MH_I2C_Read... [11:12:55]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:12:55]Read from MH i2c: E2 [11:12:55]MH_I2C_Read... [11:12:55]Read from MH i2c: E2 62 00 [11:12:55]MH_I2C_Read... [11:12:55]Read from MH i2c: E2 62 00 C8 8D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 EA 81 00 00 0E 04 04 00 B0 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 27 [11:12: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 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 EA 81 00 00 0E 04 04 00 B0 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 [11:12:55]wFMCommunicate OK [11:12:55]SAM_PROTO_GetFieldsCounters done [11:12:55]requested_item shift.num is exist - process it [11:12:55]requested_item shift.opened is exist - process it [11:12:55]req_shift_opened [11:12:55]FM_GetShiftState [11:12:55]SAM_PROTO_GetShiftState [11:12:55]wFMCommunicate request_size=4 [11:12:55]MH_SAM_APDU [11:12:55]CAPDU: 80 13 01 00 [11:12:55]Write to MH i2c: E2 08 00 C9 8D 80 13 01 00 00 00 00 00 D3 [11:12:55]Write i2c OK [11:12:55]MH_I2C_Read... [11:12:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:12:55]Read from MH i2c: E2 [11:12:55]MH_I2C_Read... [11:12:55]Read from MH i2c: E2 0E 00 [11:12:55]MH_I2C_Read... [11:12:55]Read from MH i2c: E2 0E 00 C9 8D 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 04 [11:12:55]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [11:12:55]wFMCommunicate OK [11:12:55]SAM_PROTO_GetShiftState done [11:12:55]FM_GetShiftState done [11:12:55]req_shift_opened done [11:12:55]requested_item shift.open_date is exist - process it [11:12:55]req_shift_open_date [11:12:55]req_shift_open_date done [11:12:55]produce_requested_data done [11:12:55]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33258,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398} [11:12:55]process_action_free close_receipt [11:12:55]json_value_free [11:12:55]json_value_free done [11:12:55]process_json_proto returns [11:12:55]Send response to host [11:12:55]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33258,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398}}} [11:12:55]free response buf [11:12:55]execute_script done [11:12:55]execute_script returns [11:12:55]free content buf [11:12:55]Sock 8.Close socket [11:12:55]Sock 8.Thread stoped [11:12:59]OFD Sender: No OFD packet to send [11:13:04]OFD Sender: No OFD packet to send [11:13:07]accept exits with 9 [11:13:07]New connection [11:13:07]New thread 3066842468 created [11:13:07]Thread 3066699108 joined [11:13:07]Waiting for new connection... [11:13:07] Sock 9.Parse request [11:13:07]Sock 9.Check first char [11:13:07]Sock 9.First char is OK [11:13:07]request: POST /json_proto HTTP/1.0 [11:13:07]Method: POST [11:13:07]URL: /json_proto [11:13:07]Method is POST - this is cgi request [11:13:07]url: /json_proto [11:13:07]query_string will be loaded in cgi processing [11:13:07]execute_cgi json_proto POST (null) [11:13:07]execute_cgi path=json_proto method=POST [11:13:07]POST find Content-Length [11:13:07]Host: 172.17.35.196:8080 [11:13:07]Content-Length: 644 [11:13:07]Content-Type: application/json [11:13:07] [11:13:07]POST finish read [11:13:07]Found Content-Length = 644 [11:13:07]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169099", "tax_sys" : 0, "items" : [ { "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:13:07]execute_script... [11:13: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)169099", "tax_sys" : 0, "items" : [ { "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:13:07]POST & json_proto [11:13:07]process_json_proto [11:13:07]json parsed OK: [11:13:07]protocol is kg_v1.0 [11:13:07]action value=close_receipt [11:13:07]process_action close_receipt [11:13:07]cmd_close_receipt [11:13:07]MH_GetDate [11:13:07]Write to MH i2c: F0 00 00 CA 8D 46 [11:13:07]Write i2c OK [11:13:07]MH_I2C_Read... [11:13:07]Read from MH i2c: F0 [11:13:07]MH_I2C_Read... [11:13:07]Read from MH i2c: F0 09 00 [11:13:07]MH_I2C_Read... [11:13:07]Read from MH i2c: F0 09 00 CA 8D 00 68 BE 8F 66 AD 14 F4 65 84 [11:13:07]GetLastDocTimeStamp 1720696408 [11:13:07]current date 1720696424 [11:13:07]FM_GetShiftState [11:13:07]SAM_PROTO_GetShiftState [11:13:07]wFMCommunicate request_size=4 [11:13:07]MH_SAM_APDU [11:13:07]CAPDU: 80 13 01 00 [11:13:07]Write to MH i2c: E2 08 00 CB 8D 80 13 01 00 00 00 00 00 D5 [11:13:07]Write i2c OK [11:13:07]MH_I2C_Read... [11:13:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:13:07]Read from MH i2c: E2 [11:13:07]MH_I2C_Read... [11:13:07]Read from MH i2c: E2 0E 00 [11:13:07]MH_I2C_Read... [11:13:07]Read from MH i2c: E2 0E 00 CB 8D 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 06 [11:13:07]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [11:13:07]wFMCommunicate OK [11:13:07]SAM_PROTO_GetShiftState done [11:13:07]FM_GetShiftState done [11:13:07]opened in 1720656398 [11:13:07]opened+sec_in_day 1720742798 [11:13:07]quantity*price = 11500 [11:13:07]sum+1 = 11501 [11:13:07]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 115.00 НСП 1% : 1.02 НДС 12% : 12.21 Наличными: 115.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 14 11.07.2024 11:13 Смена: 432 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33259 ФПД: 105673915100504 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T111344&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33259&fm=105673915100504&tin=02508201610067®Number=0000000000093033&sum=11500 0 [11:13:08]StoreToDocumentArchive [11:13:08]shift 432 fd 33259 [11:13:08]save to /storage/0432/doc_00033259 [11:13:08]save last doc name /storage/0432/doc_00033259 to /storage/kkm_last_doc_name [11:13:08]save OK [11:13:08]Clear old archive folders... [11:13:08]ProcessDocumentItem done err = 0, tmpTLVsize=280 [11:13:08]tlvbuf is 001AEE80 [11:13:08]SAM_PROTO_ClearQueue [11:13:08]wFMCommunicate request_size=4 [11:13:08]MH_SAM_APDU [11:13:08]CAPDU: 80 09 00 00 [11:13:08]Write to MH i2c: E2 08 00 D8 8D 80 09 00 00 00 00 00 00 D7 [11:13:08]Write i2c OK [11:13:08]MH_I2C_Read... [11:13:08]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:13:08]Read from MH i2c: E2 [11:13:08]MH_I2C_Read... [11:13:08]Read from MH i2c: E2 03 00 [11:13:08]MH_I2C_Read... [11:13:08]Read from MH i2c: E2 03 00 D8 8D 00 90 00 D9 [11:13:08]RAPDU: 90 00 [11:13:08]wFMCommunicate OK [11:13:08]SAM_PROTO_ClearQueue done [11:13:08]KKMCreateOFDPacket [11:13:08]OFDProtocolAddRootSTLVToBuf [11:13:08]FM_MakeSignedData [11:13:08]FM_MakeSignedData [11:13:08]SAM_PROTO_SignData [11:13:08]wFMCommunicate request_size=4 [11:13:08]MH_SAM_APDU [11:13:08]CAPDU: 80 0D 01 02 [11:13:08]Write to MH i2c: E2 08 00 D9 8D 80 0D 01 02 00 00 00 00 DF [11:13:08]Write i2c OK [11:13:08]MH_I2C_Read... [11:13:08]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:13:09]Read from MH i2c: E2 [11:13:09]MH_I2C_Read... [11:13:09]Read from MH i2c: E2 03 00 [11:13:09]MH_I2C_Read... [11:13:09]Read from MH i2c: E2 03 00 D9 8D 00 90 00 DA [11:13:09]RAPDU: 90 00 [11:13:09]wFMCommunicate OK [11:13:09]wFMCommunicate request_size=255 [11:13:09]MH_SAM_APDU [11:13:09]CAPDU: 80 0D 02 02 FA 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 68 BE 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 [11:13:09]Write to MH i2c: E2 02 01 DA 8D 80 0D 02 02 FA 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 68 BE 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 00 00 F2 [11:13:09]Write i2c OK [11:13:09]MH_I2C_Read... [11:13:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:13:09]Read from MH i2c: E2 [11:13:09]MH_I2C_Read... [11:13:09]Read from MH i2c: E2 03 00 [11:13:09]MH_I2C_Read... [11:13:09]Read from MH i2c: E2 03 00 DA 8D 00 90 00 DB [11:13:09]RAPDU: 90 00 [11:13:09]wFMCommunicate OK [11:13:09]wFMCommunicate request_size=39 [11:13:09]MH_SAM_APDU [11:13:09]CAPDU: 80 0D 02 02 22 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 EB 81 00 00 35 04 06 00 60 1C 20 2B ED 58 [11:13:09]Write to MH i2c: E2 2A 00 DB 8D 80 0D 02 02 22 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 EB 81 00 00 35 04 06 00 60 1C 20 2B ED 58 00 00 0E [11:13:09]Write i2c OK [11:13:09]MH_I2C_Read... [11:13:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:13:09]Read from MH i2c: E2 [11:13:09]MH_I2C_Read... [11:13:09]Read from MH i2c: E2 03 00 [11:13:09]MH_I2C_Read... [11:13:09]Read from MH i2c: E2 03 00 DB 8D 00 90 00 DC [11:13:09]RAPDU: 90 00 [11:13:09]wFMCommunicate OK [11:13:09]wFMCommunicate request_size=4 [11:13:09]MH_SAM_APDU [11:13:09]CAPDU: 80 0D 03 02 [11:13:09]Write to MH i2c: E2 08 00 DC 8D 80 0D 03 02 00 00 00 00 E4 [11:13:09]Write i2c OK [11:13:09]MH_I2C_Read... [11:13:09]OFD Sender: No OFD packet to send [11:13:09]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:13:09]Read from MH i2c: E2 [11:13:09]MH_I2C_Read... [11:13:09]Read from MH i2c: E2 0B 00 [11:13:09]MH_I2C_Read... [11:13:09]Read from MH i2c: E2 0B 00 DC 8D 00 54 03 6B 45 15 B2 3B C5 90 00 B3 [11:13:09]RAPDU: 54 03 6B 45 15 B2 3B C5 90 00 [11:13:09]wFMCommunicate OK [11:13:09]SAM_PROTO_SignData done [11:13:09]FM_MakeSignedData done [11:13:09]CreateOFDProtocolMessage [11:13:09]wFMCommunicate request_size=4 [11:13:09]MH_SAM_APDU [11:13:09]CAPDU: 80 11 00 00 [11:13:09]Write to MH i2c: E2 08 00 DD 8D 80 11 00 00 00 00 00 00 E4 [11:13:09]Write i2c OK [11:13:09]MH_I2C_Read... [11:13:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:13:09]Read from MH i2c: E2 [11:13:09]MH_I2C_Read... [11:13:09]Read from MH i2c: E2 17 00 [11:13:09]MH_I2C_Read... [11:13:09]Read from MH i2c: E2 17 00 DD 8D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 30 [11:13:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [11:13:09]wFMCommunicate OK [11:13:09]CreateOFDProtocolMessage done [11:13:09]OFDSenderStorePacket 33259 [11:13:09]StoreOFDPacket docnum=33259 [11:13:09]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 2C 01 00 00 BD 92 24 01 CF F3 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 68 BE 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 EB 81 00 00 35 04 06 00 60 1C 20 2B ED 58 54 03 6B 45 15 B2 3B C5 [11:13:09]CheckFolder [11:13:09]dirname=/storage/ofd_packets [11:13:09]CheckFolder done [11:13:09]ProducePacketName [11:13:09]name=ofd_packets/00033259 [11:13:09]NVStorageSaveData ofd_packets/00033259 [11:13:09]File name is /storage/ofd_packets/00033259 [11:13:09]Write 330 bytes [11:13:09]NVStorageSaveData done [11:13:09]OFDSenderStorePacket done [11:13:09]KKMCreateOFDPacket done [11:13:09]NVStorageSaveData kkm_last_timestamp [11:13:09]File name is /storage/kkm_last_timestamp [11:13:09]Write 4 bytes [11:13:09]NVStorageSaveData done [11:13:09]ExternCall_PrintAddStr [11:13:09]wPrintStart [11:13:09]Write to MH i2c: 01 00 00 DE 8D 6B [11:13:09]Write i2c OK [11:13:09]MH_I2C_Read... [11:13:09]Read from MH i2c: 01 [11:13:09]MH_I2C_Read... [11:13:09]Read from MH i2c: 01 07 00 [11:13:09]MH_I2C_Read... [11:13:09]Read from MH i2c: 01 07 00 DE 8D 00 00 00 00 00 FF 0F 80 [11:13:09]RasterBufferAndPrint [11:13:09]line Счет N : (3)169099 [11:13:09]line ИНН: 02508201610067 [11:13:09]line Контрольно-Кассовый Чек [11:13:09]line ПРОДАЖА [11:13:09]line Товар: 2000036210013 [11:13:09]line Кофе Капучино (GABB TRADE) [11:13:09]line 1.000 * 115.00 [11:13:09]line = 115.00 [11:13:09]line НДС 12% НСП 1% [11:13:09]line > о реализуемом товаре [11:13:09]line ИТОГО: 115.00 [11:13:09]line НСП 1% : 1.02 [11:13:09]line НДС 12% : 12.21 [11:13:09]line Наличными: 115.00 [11:13:09]line Безнал.: 0.00 [11:13:09]line Место: АЗС № 77 "Партнер Нефть" [11:13:09]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [11:13:09]line СНО: Общий режим [11:13:09]line Чек 14 11.07.2024 11:13 [11:13:09]line Смена: 432 ФФД: 1.0 [11:13:09]line ЗНМ: 0300000122 [11:13:09]line РНМ: 0000000000093033 [11:13:09]line Версия ККМ: 001 [11:13:09]line ФМ: 0000000000875104 [11:13:09]line ФД: 33259 [11:13:09]line ФПД: 105673915100504 [11:13:09]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T111344&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33259&fm=105673915100504&tin=02508201610067®Number=0000000000093033&sum=11500 [11:13:09]line 0 [11:13:09]OFD Sender: Processing packet 33259 [packets to send 6, broken 5] [11:13:09]ProducePacketName [11:13:09]name=ofd_packets/00033259 [11:13:09]OFD Sender: To server: pG, [11:13:09]CommunicateWithHost lk.salyk.kg:30040 [11:13:09]ConnectInit lk.salyk.kg [11:13:09]written 0, free lines is 4095 [11:13:09]Connected sock=10 [11:13:09]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 2C 01 00 00 BD 92 24 01 CF F3 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 68 BE 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 EB 81 00 00 35 04 06 00 60 1C 20 2B ED 58 54 03 6B 45 15 B2 3B C5 [11:13:10]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 3E 7F 47 00 74 D8 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 35 31 30 34 10 04 04 00 EB 81 00 00 F4 03 04 00 18 69 8F 66 B6 04 01 00 00 12 68 93 0B EE B5 26 8C [11:13:10]CommunicateWithHost err = 0 [11:13:10]CheckOFDResponse [11:13:10]1017 (14) - 77093643461234 [11:13:10]1041 (16) - 0000000000875104 [11:13:10]1040 (4) - 33259 [11:13:10]1012 (4) - 11.07.2024 05:09 [11:13:10]1206 (1) - 0 [11:13:10]OFD Sender: Remove packet 33259 [11:13:10]ProducePacketName [11:13:10]name=ofd_packets/00033259 [11:13:10]NVStorageDeleteData [11:13:10]Write to MH i2c: 01 00 00 06 8E 94 [11:13:10]Write i2c OK [11:13:10]MH_I2C_Read... [11:13:10]Read from MH i2c: 01 [11:13:10]MH_I2C_Read... [11:13:10]Read from MH i2c: 01 07 00 [11:13:10]MH_I2C_Read... [11:13:10]Read from MH i2c: 01 07 00 06 8E 00 00 00 00 00 02 0D AA [11:13:10]RasterBufferAndPrint [11:13:10]line [11:13:10]line [11:13:10]line [11:13:10]line [11:13:10]line [11:13:10]written 0, free lines is 3337 [11:13:10]MH_Cut [11:13:10]Write to MH i2c: D1 01 00 0D 8E 01 6D [11:13:10]Write i2c OK [11:13:10]MH_I2C_Read... [11:13:10]Read from MH i2c: D1 [11:13:10]MH_I2C_Read... [11:13:10]Read from MH i2c: D1 01 00 [11:13:10]MH_I2C_Read... [11:13:10]Read from MH i2c: D1 01 00 0D 8E 00 6C [11:13:10]Write to MH i2c: 01 00 00 0E 8E 9C [11:13:10]Write i2c OK [11:13:10]MH_I2C_Read... [11:13:10]OFD Sender: No OFD packet to send [11:13:10]*** Cut start [11:13:10]*** Partial cut [11:13:10]*** CUTSNS_PIN = 1 [11:13:11]*** CUTSNS_PIN = 0 [11:13:11]*** Brake cut motor [11:13:11]Read from MH i2c: 01 [11:13:11]MH_I2C_Read... [11:13:11]*** Stop cut motor [11:13:11]*** Cut end [11:13:11]Read from MH i2c: 01 07 00 [11:13:11]MH_I2C_Read... [11:13:11]Read from MH i2c: 01 07 00 0E 8E 00 00 00 00 00 FF 0F B1 [11:13:11]process_action close_receipt done [11:13:11]requested_data is exist [11:13:11]produce_requested_data [11:13:11]requested_item fm.sn is exist - process it [11:13:11]wFMCommunicate request_size=4 [11:13:11]MH_SAM_APDU [11:13:11]CAPDU: 80 11 00 00 [11:13:11]Write to MH i2c: E2 08 00 0F 8E 80 11 00 00 00 00 00 00 17 [11:13:11]Write i2c OK [11:13:11]MH_I2C_Read... [11:13:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:13:11]Read from MH i2c: E2 [11:13:11]MH_I2C_Read... [11:13:11]Read from MH i2c: E2 17 00 [11:13:11]MH_I2C_Read... [11:13:11]Read from MH i2c: E2 17 00 0F 8E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 63 [11:13:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [11:13:11]wFMCommunicate OK [11:13:11]requested_item fd.num is exist - process it [11:13:11]SAM_PROTO_GetFieldsCounters [11:13:11]wFMCommunicate request_size=4 [11:13:11]MH_SAM_APDU [11:13:11]CAPDU: 80 13 00 00 [11:13:11]Write to MH i2c: E2 08 00 10 8E 80 13 00 00 00 00 00 00 1A [11:13:11]Write i2c OK [11:13:11]MH_I2C_Read... [11:13:11]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:13:11]Read from MH i2c: E2 [11:13:11]MH_I2C_Read... [11:13:11]Read from MH i2c: E2 62 00 [11:13:11]MH_I2C_Read... [11:13:11]Read from MH i2c: E2 62 00 10 8E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 EB 81 00 00 0E 04 04 00 B0 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 74 [11:13: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 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 EB 81 00 00 0E 04 04 00 B0 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 [11:13:11]wFMCommunicate OK [11:13:11]SAM_PROTO_GetFieldsCounters done [11:13:11]requested_item shift.num is exist - process it [11:13:11]requested_item shift.opened is exist - process it [11:13:11]req_shift_opened [11:13:11]FM_GetShiftState [11:13:11]SAM_PROTO_GetShiftState [11:13:11]wFMCommunicate request_size=4 [11:13:11]MH_SAM_APDU [11:13:11]CAPDU: 80 13 01 00 [11:13:11]Write to MH i2c: E2 08 00 11 8E 80 13 01 00 00 00 00 00 1C [11:13:11]Write i2c OK [11:13:11]MH_I2C_Read... [11:13:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:13:11]Read from MH i2c: E2 [11:13:11]MH_I2C_Read... [11:13:11]Read from MH i2c: E2 0E 00 [11:13:11]MH_I2C_Read... [11:13:11]Read from MH i2c: E2 0E 00 11 8E 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 4D [11:13:11]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [11:13:11]wFMCommunicate OK [11:13:11]SAM_PROTO_GetShiftState done [11:13:11]FM_GetShiftState done [11:13:11]req_shift_opened done [11:13:11]requested_item shift.open_date is exist - process it [11:13:11]req_shift_open_date [11:13:11]req_shift_open_date done [11:13:11]produce_requested_data done [11:13:11]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33259,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398} [11:13:11]process_action_free close_receipt [11:13:11]json_value_free [11:13:11]json_value_free done [11:13:11]process_json_proto returns [11:13:11]Send response to host [11:13:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33259,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398}}} [11:13:11]free response buf [11:13:11]execute_script done [11:13:11]execute_script returns [11:13:11]free content buf [11:13:11]Sock 9.Close socket [11:13:11]Sock 9.Thread stoped [11:13:15]OFD Sender: No OFD packet to send [11:13:20]OFD Sender: No OFD packet to send [11:13:21]accept exits with 8 [11:13:21]New connection [11:13:21]New thread 3066699108 created [11:13:21]Thread 3066842468 joined [11:13:21]Waiting for new connection... [11:13:21] Sock 8.Parse request [11:13:21]Sock 8.Check first char [11:13:21]Sock 8.First char is OK [11:13:21]request: POST /json_proto HTTP/1.0 [11:13:21]Method: POST [11:13:21]URL: /json_proto [11:13:21]Method is POST - this is cgi request [11:13:21]url: /json_proto [11:13:21]query_string will be loaded in cgi processing [11:13:21]execute_cgi json_proto POST (null) [11:13:21]execute_cgi path=json_proto method=POST [11:13:21]POST find Content-Length [11:13:21]Host: 172.17.35.196:8080 [11:13:21]Content-Length: 644 [11:13:21]Content-Type: application/json [11:13:21] [11:13:21]POST finish read [11:13:21]Found Content-Length = 644 [11:13:21]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169100", "tax_sys" : 0, "items" : [ { "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:13:21]execute_script... [11:13: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)169100", "tax_sys" : 0, "items" : [ { "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:13:21]POST & json_proto [11:13:21]process_json_proto [11:13:21]json parsed OK: [11:13:21]protocol is kg_v1.0 [11:13:21]action value=close_receipt [11:13:21]process_action close_receipt [11:13:21]cmd_close_receipt [11:13:21]MH_GetDate [11:13:21]Write to MH i2c: F0 00 00 12 8E 8F [11:13:21]Write i2c OK [11:13:21]MH_I2C_Read... [11:13:21]Read from MH i2c: F0 [11:13:21]MH_I2C_Read... [11:13:21]Read from MH i2c: F0 09 00 [11:13:21]MH_I2C_Read... [11:13:21]Read from MH i2c: F0 09 00 12 8E 00 76 BE 8F 66 AD 14 F4 65 DB [11:13:21]GetLastDocTimeStamp 1720696424 [11:13:21]current date 1720696438 [11:13:21]FM_GetShiftState [11:13:21]SAM_PROTO_GetShiftState [11:13:21]wFMCommunicate request_size=4 [11:13:21]MH_SAM_APDU [11:13:21]CAPDU: 80 13 01 00 [11:13:21]Write to MH i2c: E2 08 00 13 8E 80 13 01 00 00 00 00 00 1E [11:13:21]Write i2c OK [11:13:21]MH_I2C_Read... [11:13:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:13:21]Read from MH i2c: E2 [11:13:21]MH_I2C_Read... [11:13:21]Read from MH i2c: E2 0E 00 [11:13:21]MH_I2C_Read... [11:13:21]Read from MH i2c: E2 0E 00 13 8E 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 4F [11:13:21]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [11:13:21]wFMCommunicate OK [11:13:21]SAM_PROTO_GetShiftState done [11:13:21]FM_GetShiftState done [11:13:21]opened in 1720656398 [11:13:21]opened+sec_in_day 1720742798 [11:13:21]quantity*price = 11500 [11:13:21]sum+1 = 11501 [11:13:21]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 115.00 НСП 1% : 1.02 НДС 12% : 12.21 Наличными: 115.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 15 11.07.2024 11:13 Смена: 432 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33260 ФПД: 65070737938427 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T111358&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33260&fm=65070737938427&tin=02508201610067®Number=0000000000093033&sum=11500 0 [11:13:22]StoreToDocumentArchive [11:13:22]shift 432 fd 33260 [11:13:22]save to /storage/0432/doc_00033260 [11:13:22]save last doc name /storage/0432/doc_00033260 to /storage/kkm_last_doc_name [11:13:22]save OK [11:13:22]Clear old archive folders... [11:13:22]ProcessDocumentItem done err = 0, tmpTLVsize=280 [11:13:22]tlvbuf is 003FF710 [11:13:22]SAM_PROTO_ClearQueue [11:13:22]wFMCommunicate request_size=4 [11:13:22]MH_SAM_APDU [11:13:22]CAPDU: 80 09 00 00 [11:13:22]Write to MH i2c: E2 08 00 20 8E 80 09 00 00 00 00 00 00 20 [11:13:22]Write i2c OK [11:13:22]MH_I2C_Read... [11:13:22]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:13:22]Read from MH i2c: E2 [11:13:22]MH_I2C_Read... [11:13:22]Read from MH i2c: E2 03 00 [11:13:22]MH_I2C_Read... [11:13:22]Read from MH i2c: E2 03 00 20 8E 00 90 00 22 [11:13:22]RAPDU: 90 00 [11:13:22]wFMCommunicate OK [11:13:22]SAM_PROTO_ClearQueue done [11:13:22]KKMCreateOFDPacket [11:13:22]OFDProtocolAddRootSTLVToBuf [11:13:22]FM_MakeSignedData [11:13:22]FM_MakeSignedData [11:13:22]SAM_PROTO_SignData [11:13:22]wFMCommunicate request_size=4 [11:13:22]MH_SAM_APDU [11:13:22]CAPDU: 80 0D 01 02 [11:13:22]Write to MH i2c: E2 08 00 21 8E 80 0D 01 02 00 00 00 00 28 [11:13:22]Write i2c OK [11:13:22]MH_I2C_Read... [11:13:22]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:13:22]Read from MH i2c: E2 [11:13:22]MH_I2C_Read... [11:13:22]Read from MH i2c: E2 03 00 [11:13:22]MH_I2C_Read... [11:13:22]Read from MH i2c: E2 03 00 21 8E 00 90 00 23 [11:13:22]RAPDU: 90 00 [11:13:22]wFMCommunicate OK [11:13:22]wFMCommunicate request_size=255 [11:13:22]MH_SAM_APDU [11:13:22]CAPDU: 80 0D 02 02 FA 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 76 BE 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 [11:13:22]Write to MH i2c: E2 02 01 22 8E 80 0D 02 02 FA 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 76 BE 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 00 00 4A [11:13:22]Write i2c OK [11:13:22]MH_I2C_Read... [11:13:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:13:23]Read from MH i2c: E2 [11:13:23]MH_I2C_Read... [11:13:23]Read from MH i2c: E2 03 00 [11:13:23]MH_I2C_Read... [11:13:23]Read from MH i2c: E2 03 00 22 8E 00 90 00 24 [11:13:23]RAPDU: 90 00 [11:13:23]wFMCommunicate OK [11:13:23]wFMCommunicate request_size=39 [11:13:23]MH_SAM_APDU [11:13:23]CAPDU: 80 0D 02 02 22 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 EC 81 00 00 35 04 06 00 3B 2E 76 38 57 FB [11:13:23]Write to MH i2c: E2 2A 00 23 8E 80 0D 02 02 22 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 EC 81 00 00 35 04 06 00 3B 2E 76 38 57 FB 00 00 B5 [11:13:23]Write i2c OK [11:13:23]MH_I2C_Read... [11:13:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:13:23]Read from MH i2c: E2 [11:13:23]MH_I2C_Read... [11:13:23]Read from MH i2c: E2 03 00 [11:13:23]MH_I2C_Read... [11:13:23]Read from MH i2c: E2 03 00 23 8E 00 90 00 25 [11:13:23]RAPDU: 90 00 [11:13:23]wFMCommunicate OK [11:13:23]wFMCommunicate request_size=4 [11:13:23]MH_SAM_APDU [11:13:23]CAPDU: 80 0D 03 02 [11:13:23]Write to MH i2c: E2 08 00 24 8E 80 0D 03 02 00 00 00 00 2D [11:13:23]Write i2c OK [11:13:23]MH_I2C_Read... [11:13:23]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:13:23]Read from MH i2c: E2 [11:13:23]MH_I2C_Read... [11:13:23]Read from MH i2c: E2 0B 00 [11:13:23]MH_I2C_Read... [11:13:23]Read from MH i2c: E2 0B 00 24 8E 00 70 EF A3 D3 3C 93 73 EF 90 00 34 [11:13:23]RAPDU: 70 EF A3 D3 3C 93 73 EF 90 00 [11:13:23]wFMCommunicate OK [11:13:23]SAM_PROTO_SignData done [11:13:23]FM_MakeSignedData done [11:13:23]CreateOFDProtocolMessage [11:13:23]wFMCommunicate request_size=4 [11:13:23]MH_SAM_APDU [11:13:23]CAPDU: 80 11 00 00 [11:13:23]Write to MH i2c: E2 08 00 25 8E 80 11 00 00 00 00 00 00 2D [11:13:23]Write i2c OK [11:13:23]MH_I2C_Read... [11:13:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:13:23]Read from MH i2c: E2 [11:13:23]MH_I2C_Read... [11:13:23]Read from MH i2c: E2 17 00 [11:13:23]MH_I2C_Read... [11:13:23]Read from MH i2c: E2 17 00 25 8E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 79 [11:13:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [11:13:23]wFMCommunicate OK [11:13:23]CreateOFDProtocolMessage done [11:13:23]OFDSenderStorePacket 33260 [11:13:23]StoreOFDPacket docnum=33260 [11:13:23]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 2C 01 00 00 CC 58 24 01 64 8A 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 76 BE 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 EC 81 00 00 35 04 06 00 3B 2E 76 38 57 FB 70 EF A3 D3 3C 93 73 EF [11:13:23]CheckFolder [11:13:23]dirname=/storage/ofd_packets [11:13:23]CheckFolder done [11:13:23]ProducePacketName [11:13:23]name=ofd_packets/00033260 [11:13:23]NVStorageSaveData ofd_packets/00033260 [11:13:23]File name is /storage/ofd_packets/00033260 [11:13:23]Write 330 bytes [11:13:23]NVStorageSaveData done [11:13:23]OFDSenderStorePacket done [11:13:23]KKMCreateOFDPacket done [11:13:23]NVStorageSaveData kkm_last_timestamp [11:13:23]File name is /storage/kkm_last_timestamp [11:13:23]Write 4 bytes [11:13:23]NVStorageSaveData done [11:13:23]ExternCall_PrintAddStr [11:13:23]wPrintStart [11:13:23]Write to MH i2c: 01 00 00 26 8E B4 [11:13:23]Write i2c OK [11:13:23]MH_I2C_Read... [11:13:23]Read from MH i2c: 01 [11:13:23]MH_I2C_Read... [11:13:23]Read from MH i2c: 01 07 00 [11:13:23]MH_I2C_Read... [11:13:23]Read from MH i2c: 01 07 00 26 8E 00 00 00 00 00 FF 0F C9 [11:13:23]RasterBufferAndPrint [11:13:23]line Счет N : (3)169100 [11:13:23]line ИНН: 02508201610067 [11:13:23]line Контрольно-Кассовый Чек [11:13:23]line ПРОДАЖА [11:13:23]line Товар: 2000036210013 [11:13:23]line Кофе Капучино (GABB TRADE) [11:13:23]line 1.000 * 115.00 [11:13:23]line = 115.00 [11:13:23]line НДС 12% НСП 1% [11:13:23]line > о реализуемом товаре [11:13:23]line ИТОГО: 115.00 [11:13:23]line НСП 1% : 1.02 [11:13:23]line НДС 12% : 12.21 [11:13:23]line Наличными: 115.00 [11:13:23]line Безнал.: 0.00 [11:13:23]line Место: АЗС № 77 "Партнер Нефть" [11:13:23]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [11:13:23]line СНО: Общий режим [11:13:23]line Чек 15 11.07.2024 11:13 [11:13:23]line Смена: 432 ФФД: 1.0 [11:13:23]line ЗНМ: 0300000122 [11:13:23]line РНМ: 0000000000093033 [11:13:23]line Версия ККМ: 001 [11:13:23]line ФМ: 0000000000875104 [11:13:23]line ФД: 33260 [11:13:23]line ФПД: 65070737938427 [11:13:23]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T111358&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33260&fm=65070737938427&tin=02508201610067®Number=0000000000093033&sum=11500 [11:13:23]OFD Sender: Processing packet 33260 [packets to send 6, broken 5] [11:13:23]ProducePacketName [11:13:23]name=ofd_packets/00033260 [11:13:23]OFD Sender: To server: pG, [11:13:23]CommunicateWithHost lk.salyk.kg:30040 [11:13:23]ConnectInit lk.salyk.kg [11:13:23]line 0 [11:13:23]written 0, free lines is 4095 [11:13:23]Connected sock=10 [11:13:23]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 2C 01 00 00 CC 58 24 01 64 8A 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 76 BE 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 EC 81 00 00 35 04 06 00 3B 2E 76 38 57 FB 70 EF A3 D3 3C 93 73 EF [11:13:23]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 72 E1 47 00 6A DF A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 EC 81 00 00 F4 03 04 00 26 69 8F 66 B6 04 01 00 00 DB 42 72 CF 42 67 57 BD [11:13:23]CommunicateWithHost err = 0 [11:13:23]CheckOFDResponse [11:13:23]1017 (14) - 77093643461234 [11:13:23]1041 (16) - 0000000000875104 [11:13:23]1040 (4) - 33260 [11:13:23]1012 (4) - 11.07.2024 05:09 [11:13:23]1206 (1) - 0 [11:13:23]OFD Sender: Remove packet 33260 [11:13:23]ProducePacketName [11:13:23]name=ofd_packets/00033260 [11:13:23]NVStorageDeleteData [11:13:24]Write to MH i2c: 01 00 00 4E 8E DC [11:13:24]Write i2c OK [11:13:24]MH_I2C_Read... [11:13:24]Read from MH i2c: 01 [11:13:24]MH_I2C_Read... [11:13:24]Read from MH i2c: 01 07 00 [11:13:24]MH_I2C_Read... [11:13:24]Read from MH i2c: 01 07 00 4E 8E 00 00 00 00 00 0F 0D FF [11:13:24]RasterBufferAndPrint [11:13:24]line [11:13:24]line [11:13:24]line [11:13:24]line [11:13:24]line [11:13:24]written 0, free lines is 3353 [11:13:24]MH_Cut [11:13:24]Write to MH i2c: D1 01 00 55 8E 01 B5 [11:13:24]Write i2c OK [11:13:24]MH_I2C_Read... [11:13:24]Read from MH i2c: D1 [11:13:24]MH_I2C_Read... [11:13:24]Read from MH i2c: D1 01 00 [11:13:24]MH_I2C_Read... [11:13:24]Read from MH i2c: D1 01 00 55 8E 00 B4 [11:13:24]Write to MH i2c: 01 00 00 56 8E E4 [11:13:24]Write i2c OK [11:13:24]MH_I2C_Read... [11:13:24]OFD Sender: No OFD packet to send [11:13:24]*** Cut start [11:13:24]*** Partial cut [11:13:24]*** CUTSNS_PIN = 1 [11:13:24]*** CUTSNS_PIN = 0 [11:13:25]*** Brake cut motor [11:13:25]Read from MH i2c: 01 [11:13:25]MH_I2C_Read... [11:13:25]*** Stop cut motor [11:13:25]*** Cut end [11:13:25]Read from MH i2c: 01 07 00 [11:13:25]MH_I2C_Read... [11:13:25]Read from MH i2c: 01 07 00 56 8E 00 00 00 00 00 FF 0F F9 [11:13:25]process_action close_receipt done [11:13:25]requested_data is exist [11:13:25]produce_requested_data [11:13:25]requested_item fm.sn is exist - process it [11:13:25]wFMCommunicate request_size=4 [11:13:25]MH_SAM_APDU [11:13:25]CAPDU: 80 11 00 00 [11:13:25]Write to MH i2c: E2 08 00 57 8E 80 11 00 00 00 00 00 00 5F [11:13:25]Write i2c OK [11:13:25]MH_I2C_Read... [11:13:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:13:25]Read from MH i2c: E2 [11:13:25]MH_I2C_Read... [11:13:25]Read from MH i2c: E2 17 00 [11:13:25]MH_I2C_Read... [11:13:25]Read from MH i2c: E2 17 00 57 8E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 AB [11:13:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [11:13:25]wFMCommunicate OK [11:13:25]requested_item fd.num is exist - process it [11:13:25]SAM_PROTO_GetFieldsCounters [11:13:25]wFMCommunicate request_size=4 [11:13:25]MH_SAM_APDU [11:13:25]CAPDU: 80 13 00 00 [11:13:25]Write to MH i2c: E2 08 00 58 8E 80 13 00 00 00 00 00 00 62 [11:13:25]Write i2c OK [11:13:25]MH_I2C_Read... [11:13:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:13:25]Read from MH i2c: E2 [11:13:25]MH_I2C_Read... [11:13:25]Read from MH i2c: E2 62 00 [11:13:25]MH_I2C_Read... [11:13:25]Read from MH i2c: E2 62 00 58 8E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 EC 81 00 00 0E 04 04 00 B0 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 C0 [11:13: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 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 EC 81 00 00 0E 04 04 00 B0 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 [11:13:25]wFMCommunicate OK [11:13:25]SAM_PROTO_GetFieldsCounters done [11:13:25]requested_item shift.num is exist - process it [11:13:25]requested_item shift.opened is exist - process it [11:13:25]req_shift_opened [11:13:25]FM_GetShiftState [11:13:25]SAM_PROTO_GetShiftState [11:13:25]wFMCommunicate request_size=4 [11:13:25]MH_SAM_APDU [11:13:25]CAPDU: 80 13 01 00 [11:13:25]Write to MH i2c: E2 08 00 59 8E 80 13 01 00 00 00 00 00 64 [11:13:25]Write i2c OK [11:13:25]MH_I2C_Read... [11:13:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:13:25]Read from MH i2c: E2 [11:13:25]MH_I2C_Read... [11:13:25]Read from MH i2c: E2 0E 00 [11:13:25]MH_I2C_Read... [11:13:25]Read from MH i2c: E2 0E 00 59 8E 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 95 [11:13:25]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [11:13:25]wFMCommunicate OK [11:13:25]SAM_PROTO_GetShiftState done [11:13:25]FM_GetShiftState done [11:13:25]req_shift_opened done [11:13:25]requested_item shift.open_date is exist - process it [11:13:25]req_shift_open_date [11:13:25]req_shift_open_date done [11:13:25]produce_requested_data done [11:13:25]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33260,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398} [11:13:25]process_action_free close_receipt [11:13:25]json_value_free [11:13:25]json_value_free done [11:13:25]process_json_proto returns [11:13:25]Send response to host [11:13:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33260,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398}}} [11:13:25]free response buf [11:13:25]execute_script done [11:13:25]execute_script returns [11:13:25]free content buf [11:13:25]Sock 8.Close socket [11:13:25]Sock 8.Thread stoped [11:13:29]OFD Sender: No OFD packet to send [11:13:34]OFD Sender: No OFD packet to send [11:13:39]OFD Sender: No OFD packet to send [11:13:44]OFD Sender: No OFD packet to send [11:13:49]OFD Sender: No OFD packet to send [11:13:54]OFD Sender: No OFD packet to send [11:13:59]OFD Sender: No OFD packet to send [11:14:04]OFD Sender: No OFD packet to send [11:14:09]OFD Sender: No OFD packet to send [11:14:14]OFD Sender: No OFD packet to send [11:14:19]OFD Sender: No OFD packet to send [11:14:24]OFD Sender: No OFD packet to send [11:14:29]OFD Sender: No OFD packet to send [11:14:34]OFD Sender: No OFD packet to send [11:14:39]OFD Sender: No OFD packet to send [11:14:44]OFD Sender: No OFD packet to send [11:14:49]OFD Sender: No OFD packet to send [11:14:54]OFD Sender: No OFD packet to send [11:14:59]OFD Sender: No OFD packet to send [11:15:04]OFD Sender: No OFD packet to send [11:15:09]OFD Sender: No OFD packet to send [11:15:14]OFD Sender: No OFD packet to send [11:15:19]OFD Sender: No OFD packet to send [11:15:24]OFD Sender: No OFD packet to send [11:15:29]OFD Sender: No OFD packet to send [11:15:34]OFD Sender: No OFD packet to send [11:15:39]OFD Sender: No OFD packet to send [11:15:44]OFD Sender: No OFD packet to send [11:15:49]OFD Sender: No OFD packet to send [11:15:54]OFD Sender: No OFD packet to send [11:15:59]OFD Sender: No OFD packet to send [11:16:04]OFD Sender: No OFD packet to send [11:16:09]OFD Sender: No OFD packet to send [11:16:14]OFD Sender: No OFD packet to send [11:16:19]OFD Sender: No OFD packet to send [11:16:24]OFD Sender: No OFD packet to send [11:16:29]OFD Sender: No OFD packet to send [11:16:34]OFD Sender: No OFD packet to send [11:16:39]OFD Sender: No OFD packet to send [11:16:44]OFD Sender: No OFD packet to send [11:16:49]OFD Sender: No OFD packet to send [11:16:54]OFD Sender: No OFD packet to send [11:16:59]OFD Sender: No OFD packet to send [11:17:04]OFD Sender: No OFD packet to send [11:17:09]OFD Sender: No OFD packet to send [11:17:14]OFD Sender: No OFD packet to send [11:17:19]OFD Sender: No OFD packet to send [11:17:24]OFD Sender: No OFD packet to send [11:17:29]OFD Sender: No OFD packet to send [11:17:34]OFD Sender: No OFD packet to send [11:17:39]OFD Sender: No OFD packet to send [11:17:44]OFD Sender: No OFD packet to send [11:17:49]OFD Sender: No OFD packet to send [11:17:54]OFD Sender: No OFD packet to send [11:17:59]OFD Sender: No OFD packet to send [11:18:04]OFD Sender: No OFD packet to send [11:18:09]OFD Sender: No OFD packet to send [11:18:14]OFD Sender: No OFD packet to send [11:18:19]OFD Sender: No OFD packet to send [11:18:24]OFD Sender: No OFD packet to send [11:18:29]OFD Sender: No OFD packet to send [11:18:34]OFD Sender: No OFD packet to send [11:18:39]OFD Sender: No OFD packet to send [11:18:44]OFD Sender: No OFD packet to send [11:18:49]OFD Sender: No OFD packet to send [11:18:54]OFD Sender: No OFD packet to send [11:18:59]OFD Sender: No OFD packet to send [11:19:04]OFD Sender: No OFD packet to send [11:19:09]OFD Sender: No OFD packet to send [11:19:14]OFD Sender: No OFD packet to send [11:19:19]OFD Sender: No OFD packet to send [11:19:24]OFD Sender: No OFD packet to send [11:19:29]OFD Sender: No OFD packet to send [11:19:34]OFD Sender: No OFD packet to send [11:19:39]OFD Sender: No OFD packet to send [11:19:44]OFD Sender: No OFD packet to send [11:19:49]OFD Sender: No OFD packet to send [11:19:54]OFD Sender: No OFD packet to send [11:19:59]OFD Sender: No OFD packet to send [11:20:04]OFD Sender: No OFD packet to send [11:20:09]OFD Sender: No OFD packet to send [11:20:14]OFD Sender: No OFD packet to send [11:20:19]OFD Sender: No OFD packet to send [11:20:24]OFD Sender: No OFD packet to send [11:20:29]OFD Sender: No OFD packet to send [11:20:34]OFD Sender: No OFD packet to send [11:20:39]OFD Sender: No OFD packet to send [11:20:44]OFD Sender: No OFD packet to send [11:20:49]OFD Sender: No OFD packet to send [11:20:54]OFD Sender: No OFD packet to send [11:20:59]OFD Sender: No OFD packet to send [11:21:04]OFD Sender: No OFD packet to send [11:21:09]OFD Sender: No OFD packet to send [11:21:14]OFD Sender: No OFD packet to send [11:21:19]OFD Sender: No OFD packet to send [11:21:24]OFD Sender: No OFD packet to send [11:21:29]OFD Sender: No OFD packet to send [11:21:34]OFD Sender: No OFD packet to send [11:21:39]OFD Sender: No OFD packet to send [11:21:44]OFD Sender: No OFD packet to send [11:21:49]OFD Sender: No OFD packet to send [11:21:54]OFD Sender: No OFD packet to send [11:21:59]OFD Sender: No OFD packet to send [11:22:04]OFD Sender: No OFD packet to send [11:22:09]OFD Sender: No OFD packet to send [11:22:14]OFD Sender: No OFD packet to send [11:22:19]OFD Sender: No OFD packet to send [11:22:24]OFD Sender: No OFD packet to send [11:22:29]OFD Sender: No OFD packet to send [11:22:34]OFD Sender: No OFD packet to send [11:22:39]OFD Sender: No OFD packet to send [11:22:44]OFD Sender: No OFD packet to send [11:22:49]OFD Sender: No OFD packet to send [11:22:54]OFD Sender: No OFD packet to send [11:22:59]OFD Sender: No OFD packet to send [11:23:04]OFD Sender: No OFD packet to send [11:23:09]OFD Sender: No OFD packet to send [11:23:14]OFD Sender: No OFD packet to send [11:23:19]OFD Sender: No OFD packet to send [11:23:24]OFD Sender: No OFD packet to send [11:23:29]OFD Sender: No OFD packet to send [11:23:34]OFD Sender: No OFD packet to send [11:23:39]OFD Sender: No OFD packet to send [11:23:44]OFD Sender: No OFD packet to send [11:23:49]OFD Sender: No OFD packet to send [11:23:54]OFD Sender: No OFD packet to send [11:23:59]OFD Sender: No OFD packet to send [11:24:04]OFD Sender: No OFD packet to send [11:24:09]OFD Sender: No OFD packet to send [11:24:14]OFD Sender: No OFD packet to send [11:24:19]OFD Sender: No OFD packet to send [11:24:24]OFD Sender: No OFD packet to send [11:24:29]OFD Sender: No OFD packet to send [11:24:34]OFD Sender: No OFD packet to send [11:24:39]OFD Sender: No OFD packet to send [11:24:44]OFD Sender: No OFD packet to send [11:24:49]OFD Sender: No OFD packet to send [11:24:54]OFD Sender: No OFD packet to send [11:24:59]OFD Sender: No OFD packet to send [11:25:04]OFD Sender: No OFD packet to send [11:25:09]OFD Sender: No OFD packet to send [11:25:14]OFD Sender: No OFD packet to send [11:25:20]OFD Sender: No OFD packet to send [11:25:25]OFD Sender: No OFD packet to send [11:25:30]OFD Sender: No OFD packet to send [11:25:35]OFD Sender: No OFD packet to send [11:25:40]OFD Sender: No OFD packet to send [11:25:45]OFD Sender: No OFD packet to send [11:25:50]OFD Sender: No OFD packet to send [11:25:55]OFD Sender: No OFD packet to send [11:26:00]OFD Sender: No OFD packet to send [11:26:05]OFD Sender: No OFD packet to send [11:26:10]OFD Sender: No OFD packet to send [11:26:15]OFD Sender: No OFD packet to send [11:26:20]OFD Sender: No OFD packet to send [11:26:25]OFD Sender: No OFD packet to send [11:26:30]OFD Sender: No OFD packet to send [11:26:35]OFD Sender: No OFD packet to send [11:26:40]OFD Sender: No OFD packet to send [11:26:45]OFD Sender: No OFD packet to send [11:26:50]OFD Sender: No OFD packet to send [11:26:55]OFD Sender: No OFD packet to send [11:27:00]OFD Sender: No OFD packet to send [11:27:05]OFD Sender: No OFD packet to send [11:27:10]OFD Sender: No OFD packet to send [11:27:15]OFD Sender: No OFD packet to send [11:27:20]OFD Sender: No OFD packet to send [11:27:25]OFD Sender: No OFD packet to send [11:27:30]OFD Sender: No OFD packet to send [11:27:35]OFD Sender: No OFD packet to send [11:27:40]OFD Sender: No OFD packet to send [11:27:45]OFD Sender: No OFD packet to send [11:27:50]OFD Sender: No OFD packet to send [11:27:55]OFD Sender: No OFD packet to send [11:28:00]OFD Sender: No OFD packet to send [11:28:05]OFD Sender: No OFD packet to send [11:28:10]OFD Sender: No OFD packet to send [11:28:15]OFD Sender: No OFD packet to send [11:28:20]OFD Sender: No OFD packet to send [11:28:25]OFD Sender: No OFD packet to send [11:28:30]OFD Sender: No OFD packet to send [11:28:35]OFD Sender: No OFD packet to send [11:28:40]OFD Sender: No OFD packet to send [11:28:45]OFD Sender: No OFD packet to send [11:28:50]OFD Sender: No OFD packet to send [11:28:55]OFD Sender: No OFD packet to send [11:29:00]OFD Sender: No OFD packet to send [11:29:05]OFD Sender: No OFD packet to send [11:29:10]OFD Sender: No OFD packet to send [11:29:15]OFD Sender: No OFD packet to send [11:29:20]OFD Sender: No OFD packet to send [11:29:25]OFD Sender: No OFD packet to send [11:29:30]OFD Sender: No OFD packet to send [11:29:35]OFD Sender: No OFD packet to send [11:29:40]OFD Sender: No OFD packet to send [11:29:45]OFD Sender: No OFD packet to send [11:29:50]OFD Sender: No OFD packet to send [11:29:55]OFD Sender: No OFD packet to send [11:30:00]OFD Sender: No OFD packet to send [11:30:05]OFD Sender: No OFD packet to send [11:30:10]OFD Sender: No OFD packet to send [11:30:15]OFD Sender: No OFD packet to send [11:30:20]OFD Sender: No OFD packet to send [11:30:25]OFD Sender: No OFD packet to send [11:30:30]OFD Sender: No OFD packet to send [11:30:35]OFD Sender: No OFD packet to send [11:30:40]OFD Sender: No OFD packet to send [11:30:45]OFD Sender: No OFD packet to send [11:30:50]OFD Sender: No OFD packet to send [11:30:55]OFD Sender: No OFD packet to send [11:31:00]OFD Sender: No OFD packet to send [11:31:05]OFD Sender: No OFD packet to send [11:31:10]OFD Sender: No OFD packet to send [11:31:15]OFD Sender: No OFD packet to send [11:31:20]OFD Sender: No OFD packet to send [11:31:25]OFD Sender: No OFD packet to send [11:31:30]OFD Sender: No OFD packet to send [11:31:35]OFD Sender: No OFD packet to send [11:31:40]OFD Sender: No OFD packet to send [11:31:45]OFD Sender: No OFD packet to send [11:31:50]OFD Sender: No OFD packet to send [11:31:55]OFD Sender: No OFD packet to send [11:32:00]OFD Sender: No OFD packet to send [11:32:05]OFD Sender: No OFD packet to send [11:32:10]OFD Sender: No OFD packet to send [11:32:15]OFD Sender: No OFD packet to send [11:32:20]OFD Sender: No OFD packet to send [11:32:25]OFD Sender: No OFD packet to send [11:32:30]OFD Sender: No OFD packet to send [11:32:35]OFD Sender: No OFD packet to send [11:32:40]OFD Sender: No OFD packet to send [11:32:45]OFD Sender: No OFD packet to send [11:32:50]OFD Sender: No OFD packet to send [11:32:55]OFD Sender: No OFD packet to send [11:33:00]OFD Sender: No OFD packet to send [11:33:05]OFD Sender: No OFD packet to send [11:33:10]OFD Sender: No OFD packet to send [11:33:15]OFD Sender: No OFD packet to send [11:33:20]OFD Sender: No OFD packet to send [11:33:25]OFD Sender: No OFD packet to send [11:33:30]OFD Sender: No OFD packet to send [11:33:35]OFD Sender: No OFD packet to send [11:33:40]OFD Sender: No OFD packet to send [11:33:45]OFD Sender: No OFD packet to send [11:33:50]OFD Sender: No OFD packet to send [11:33:55]OFD Sender: No OFD packet to send [11:34:00]OFD Sender: No OFD packet to send [11:34:05]OFD Sender: No OFD packet to send [11:34:10]OFD Sender: No OFD packet to send [11:34:15]OFD Sender: No OFD packet to send [11:34:20]OFD Sender: No OFD packet to send [11:34:25]OFD Sender: No OFD packet to send [11:34:30]OFD Sender: No OFD packet to send [11:34:35]OFD Sender: No OFD packet to send [11:34:40]OFD Sender: No OFD packet to send [11:34:45]OFD Sender: No OFD packet to send [11:34:50]OFD Sender: No OFD packet to send [11:34:55]OFD Sender: No OFD packet to send [11:35:00]OFD Sender: No OFD packet to send [11:35:05]OFD Sender: No OFD packet to send [11:35:10]OFD Sender: No OFD packet to send [11:35:15]OFD Sender: No OFD packet to send [11:35:20]OFD Sender: No OFD packet to send [11:35:25]OFD Sender: No OFD packet to send [11:35:30]OFD Sender: No OFD packet to send [11:35:35]OFD Sender: No OFD packet to send [11:35:40]OFD Sender: No OFD packet to send [11:35:45]OFD Sender: No OFD packet to send [11:35:50]OFD Sender: No OFD packet to send [11:35:55]OFD Sender: No OFD packet to send [11:36:00]OFD Sender: No OFD packet to send [11:36:05]OFD Sender: No OFD packet to send [11:36:10]OFD Sender: No OFD packet to send [11:36:15]OFD Sender: No OFD packet to send [11:36:20]OFD Sender: No OFD packet to send [11:36:25]OFD Sender: No OFD packet to send [11:36:30]OFD Sender: No OFD packet to send [11:36:35]OFD Sender: No OFD packet to send [11:36:40]OFD Sender: No OFD packet to send [11:36:45]OFD Sender: No OFD packet to send [11:36:50]OFD Sender: No OFD packet to send [11:36:55]OFD Sender: No OFD packet to send [11:37:00]OFD Sender: No OFD packet to send [11:37:05]OFD Sender: No OFD packet to send [11:37:10]OFD Sender: No OFD packet to send [11:37:15]OFD Sender: No OFD packet to send [11:37:20]OFD Sender: No OFD packet to send [11:37:25]OFD Sender: No OFD packet to send [11:37:30]OFD Sender: No OFD packet to send [11:37:35]OFD Sender: No OFD packet to send [11:37:40]OFD Sender: No OFD packet to send [11:37:45]OFD Sender: No OFD packet to send [11:37:50]OFD Sender: No OFD packet to send [11:37:55]OFD Sender: No OFD packet to send [11:38:00]OFD Sender: No OFD packet to send [11:38:05]OFD Sender: No OFD packet to send [11:38:10]OFD Sender: No OFD packet to send [11:38:15]OFD Sender: No OFD packet to send [11:38:20]OFD Sender: No OFD packet to send [11:38:25]OFD Sender: No OFD packet to send [11:38:30]OFD Sender: No OFD packet to send [11:38:35]OFD Sender: No OFD packet to send [11:38:40]OFD Sender: No OFD packet to send [11:38:45]OFD Sender: No OFD packet to send [11:38:50]OFD Sender: No OFD packet to send [11:38:55]OFD Sender: No OFD packet to send [11:39:00]OFD Sender: No OFD packet to send [11:39:05]OFD Sender: No OFD packet to send [11:39:10]OFD Sender: No OFD packet to send [11:39:15]OFD Sender: No OFD packet to send [11:39:20]OFD Sender: No OFD packet to send [11:39:25]OFD Sender: No OFD packet to send [11:39:30]OFD Sender: No OFD packet to send [11:39:35]OFD Sender: No OFD packet to send [11:39:40]OFD Sender: No OFD packet to send [11:39:45]OFD Sender: No OFD packet to send [11:39:50]OFD Sender: No OFD packet to send [11:39:55]OFD Sender: No OFD packet to send [11:40:00]OFD Sender: No OFD packet to send [11:40:05]OFD Sender: No OFD packet to send [11:40:10]accept exits with 9 [11:40:10]New connection [11:40:10]New thread 3066842468 created [11:40:10]Thread 3066699108 joined [11:40:10]Waiting for new connection... [11:40:10] Sock 9.Parse request [11:40:10]Sock 9.Check first char [11:40:10]Sock 9.First char is OK [11:40:10]request: POST /json_proto HTTP/1.0 [11:40:10]Method: POST [11:40:10]URL: /json_proto [11:40:10]Method is POST - this is cgi request [11:40:10]url: /json_proto [11:40:10]query_string will be loaded in cgi processing [11:40:10]execute_cgi json_proto POST (null) [11:40:10]execute_cgi path=json_proto method=POST [11:40:10]POST find Content-Length [11:40:10]Host: 172.17.35.196:8080 [11:40:10]Content-Length: 623 [11:40:10]Content-Type: application/json [11:40:10] [11:40:10]POST finish read [11:40:10]Found Content-Length = 623 [11:40:10]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169101", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:40:10]execute_script... [11:40: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)169101", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:40:10]POST & json_proto [11:40:10]process_json_proto [11:40:10]json parsed OK: [11:40:10]protocol is kg_v1.0 [11:40:10]action value=close_receipt [11:40:10]process_action close_receipt [11:40:10]cmd_close_receipt [11:40:10]MH_GetDate [11:40:10]Write to MH i2c: F0 00 00 5A 8E D7 [11:40:10]Write i2c OK [11:40:10]MH_I2C_Read... [11:40:10]Read from MH i2c: F0 [11:40:10]MH_I2C_Read... [11:40:10]Read from MH i2c: F0 09 00 [11:40:10]MH_I2C_Read... [11:40:10]Read from MH i2c: F0 09 00 5A 8E 00 BF C4 8F 66 AD 14 F4 65 72 [11:40:10]GetLastDocTimeStamp 1720696438 [11:40:10]current date 1720698047 [11:40:10]FM_GetShiftState [11:40:10]SAM_PROTO_GetShiftState [11:40:10]wFMCommunicate request_size=4 [11:40:10]MH_SAM_APDU [11:40:10]CAPDU: 80 13 01 00 [11:40:10]Write to MH i2c: E2 08 00 5B 8E 80 13 01 00 00 00 00 00 66 [11:40:10]Write i2c OK [11:40:10]MH_I2C_Read... [11:40:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:40:10]Read from MH i2c: E2 [11:40:10]MH_I2C_Read... [11:40:10]Read from MH i2c: E2 0E 00 [11:40:10]MH_I2C_Read... [11:40:10]Read from MH i2c: E2 0E 00 5B 8E 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 97 [11:40:10]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [11:40:10]wFMCommunicate OK [11:40:10]SAM_PROTO_GetShiftState done [11:40:10]FM_GetShiftState done [11:40:10]opened in 1720656398 [11:40:10]opened+sec_in_day 1720742798 [11:40:10]quantity*price = 14000 [11:40:10]sum+1 = 14001 [11:40:10]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 140.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 16 11.07.2024 11:40 Смена: 432 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33261 ФПД: 273504032225266 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T114047&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33261&fm=273504032225266&tin=02508201610067®Number=0000000000093033&sum=14000 0 [11:40:11]StoreToDocumentArchive [11:40:11]shift 432 fd 33261 [11:40:11]save to /storage/0432/doc_00033261 [11:40:11]save last doc name /storage/0432/doc_00033261 to /storage/kkm_last_doc_name [11:40:11]save OK [11:40:11]Clear old archive folders... [11:40:11]ProcessDocumentItem done err = 0, tmpTLVsize=275 [11:40:11]tlvbuf is 0024E8C0 [11:40:11]SAM_PROTO_ClearQueue [11:40:11]wFMCommunicate request_size=4 [11:40:11]MH_SAM_APDU [11:40:11]CAPDU: 80 09 00 00 [11:40:11]Write to MH i2c: E2 08 00 68 8E 80 09 00 00 00 00 00 00 68 [11:40:11]Write i2c OK [11:40:11]MH_I2C_Read... [11:40:11]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:40:11]Read from MH i2c: E2 [11:40:11]MH_I2C_Read... [11:40:11]Read from MH i2c: E2 03 00 [11:40:11]MH_I2C_Read... [11:40:11]Read from MH i2c: E2 03 00 68 8E 00 90 00 6A [11:40:11]RAPDU: 90 00 [11:40:11]wFMCommunicate OK [11:40:11]SAM_PROTO_ClearQueue done [11:40:11]KKMCreateOFDPacket [11:40:11]OFDProtocolAddRootSTLVToBuf [11:40:11]FM_MakeSignedData [11:40:11]FM_MakeSignedData [11:40:11]SAM_PROTO_SignData [11:40:11]wFMCommunicate request_size=4 [11:40:11]MH_SAM_APDU [11:40:11]CAPDU: 80 0D 01 02 [11:40:11]Write to MH i2c: E2 08 00 69 8E 80 0D 01 02 00 00 00 00 70 [11:40:11]Write i2c OK [11:40:11]MH_I2C_Read... [11:40:11]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:40:11]Read from MH i2c: E2 [11:40:11]MH_I2C_Read... [11:40:11]Read from MH i2c: E2 03 00 [11:40:11]MH_I2C_Read... [11:40:11]Read from MH i2c: E2 03 00 69 8E 00 90 00 6B [11:40:11]RAPDU: 90 00 [11:40:11]wFMCommunicate OK [11:40:11]wFMCommunicate request_size=255 [11:40:11]MH_SAM_APDU [11:40:11]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 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 10 00 00 00 F4 03 04 00 BF C4 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 [11:40:11]Write to MH i2c: E2 02 01 6A 8E 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 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 10 00 00 00 F4 03 04 00 BF C4 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 00 00 32 [11:40:11]Write i2c OK [11:40:11]MH_I2C_Read... [11:40:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:40:12]Read from MH i2c: E2 [11:40:12]MH_I2C_Read... [11:40:12]Read from MH i2c: E2 03 00 [11:40:12]MH_I2C_Read... [11:40:12]Read from MH i2c: E2 03 00 6A 8E 00 90 00 6C [11:40:12]RAPDU: 90 00 [11:40:12]wFMCommunicate OK [11:40:12]wFMCommunicate request_size=34 [11:40:12]MH_SAM_APDU [11:40:12]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 ED 81 00 00 35 04 06 00 F8 C0 1E AF 77 F2 [11:40:12]Write to MH i2c: E2 25 00 6B 8E 80 0D 02 02 1D 00 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 ED 81 00 00 35 04 06 00 F8 C0 1E AF 77 F2 00 00 89 [11:40:12]Write i2c OK [11:40:12]MH_I2C_Read... [11:40:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:40:12]Read from MH i2c: E2 [11:40:12]MH_I2C_Read... [11:40:12]Read from MH i2c: E2 03 00 [11:40:12]MH_I2C_Read... [11:40:12]Read from MH i2c: E2 03 00 6B 8E 00 90 00 6D [11:40:12]RAPDU: 90 00 [11:40:12]wFMCommunicate OK [11:40:12]wFMCommunicate request_size=4 [11:40:12]MH_SAM_APDU [11:40:12]CAPDU: 80 0D 03 02 [11:40:12]Write to MH i2c: E2 08 00 6C 8E 80 0D 03 02 00 00 00 00 75 [11:40:12]Write i2c OK [11:40:12]MH_I2C_Read... [11:40:12]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:40:12]Read from MH i2c: E2 [11:40:12]MH_I2C_Read... [11:40:12]Read from MH i2c: E2 0B 00 [11:40:12]MH_I2C_Read... [11:40:12]Read from MH i2c: E2 0B 00 6C 8E 00 93 A8 43 63 9F C1 7D 4E 90 00 82 [11:40:12]RAPDU: 93 A8 43 63 9F C1 7D 4E 90 00 [11:40:12]wFMCommunicate OK [11:40:12]SAM_PROTO_SignData done [11:40:12]FM_MakeSignedData done [11:40:12]CreateOFDProtocolMessage [11:40:12]wFMCommunicate request_size=4 [11:40:12]MH_SAM_APDU [11:40:12]CAPDU: 80 11 00 00 [11:40:12]Write to MH i2c: E2 08 00 6D 8E 80 11 00 00 00 00 00 00 75 [11:40:12]Write i2c OK [11:40:12]MH_I2C_Read... [11:40:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:40:12]Read from MH i2c: E2 [11:40:12]MH_I2C_Read... [11:40:12]Read from MH i2c: E2 17 00 [11:40:12]MH_I2C_Read... [11:40:12]Read from MH i2c: E2 17 00 6D 8E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 C1 [11:40:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [11:40:12]wFMCommunicate OK [11:40:12]CreateOFDProtocolMessage done [11:40:12]OFDSenderStorePacket 33261 [11:40:12]StoreOFDPacket docnum=33261 [11:40:12]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 27 01 00 00 A5 A0 1F 01 34 19 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 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 10 00 00 00 F4 03 04 00 BF C4 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 ED 81 00 00 35 04 06 00 F8 C0 1E AF 77 F2 93 A8 43 63 9F C1 7D 4E [11:40:12]CheckFolder [11:40:12]dirname=/storage/ofd_packets [11:40:12]CheckFolder done [11:40:12]ProducePacketName [11:40:12]name=ofd_packets/00033261 [11:40:12]NVStorageSaveData ofd_packets/00033261 [11:40:12]File name is /storage/ofd_packets/00033261 [11:40:12]Write 325 bytes [11:40:12]NVStorageSaveData done [11:40:12]OFDSenderStorePacket done [11:40:12]KKMCreateOFDPacket done [11:40:12]NVStorageSaveData kkm_last_timestamp [11:40:12]File name is /storage/kkm_last_timestamp [11:40:12]Write 4 bytes [11:40:12]NVStorageSaveData done [11:40:12]ExternCall_PrintAddStr [11:40:12]wPrintStart [11:40:12]Write to MH i2c: 01 00 00 6E 8E FC [11:40:12]OFD Sender: Processing packet 33261 [packets to send 6, broken 5] [11:40:12]ProducePacketName [11:40:12]name=ofd_packets/00033261 [11:40:12]OFD Sender: To server: pG, [11:40:12]CommunicateWithHost lk.salyk.kg:30040 [11:40:12]ConnectInit lk.salyk.kg [11:40:12]Write i2c OK [11:40:12]MH_I2C_Read... [11:40:12]Read from MH i2c: 01 [11:40:12]MH_I2C_Read... [11:40:12]Read from MH i2c: 01 07 00 [11:40:12]MH_I2C_Read... [11:40:12]Read from MH i2c: 01 07 00 6E 8E 00 00 00 00 00 FF 0F 11 [11:40:12]RasterBufferAndPrint [11:40:12]line Счет N : (3)169101 [11:40:12]line ИНН: 02508201610067 [11:40:12]line Контрольно-Кассовый Чек [11:40:12]line ПРОДАЖА [11:40:12]line Товар: 48743587 [11:40:12]line Сигареты Winston XStyle Silver [11:40:12]line 1.000 * 140.00 [11:40:12]line = 140.00 [11:40:12]line НДС 12% НСП 1% [11:40:12]line > о реализуемом товаре [11:40:12]line ИТОГО: 140.00 [11:40:12]line НСП 1% : 1.24 [11:40:12]line НДС 12% : 14.87 [11:40:12]line Наличными: 140.00 [11:40:12]line Безнал.: 0.00 [11:40:12]line Место: АЗС № 77 "Партнер Нефть" [11:40:12]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [11:40:12]line СНО: Общий режим [11:40:12]line Чек 16 11.07.2024 11:40 [11:40:12]line Смена: 432 ФФД: 1.0 [11:40:12]line ЗНМ: 0300000122 [11:40:12]line РНМ: 0000000000093033 [11:40:12]line Версия ККМ: 001 [11:40:12]line ФМ: 0000000000875104 [11:40:12]line ФД: 33261 [11:40:12]line ФПД: 273504032225266 [11:40:12]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T114047&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33261&fm=273504032225266&tin=02508201610067®Number=0000000000093033&sum=14000 [11:40:12]line 0 [11:40:12]written 0, free lines is 4095 [11:40:12]Connected sock=10 [11:40:12]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 27 01 00 00 A5 A0 1F 01 34 19 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 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 10 00 00 00 F4 03 04 00 BF C4 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 ED 81 00 00 35 04 06 00 F8 C0 1E AF 77 F2 93 A8 43 63 9F C1 7D 4E [11:40:12]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 D4 0F 47 00 C5 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 35 31 30 34 10 04 04 00 ED 81 00 00 F4 03 04 00 6F 6F 8F 66 B6 04 01 00 00 CB 86 0D 43 A3 86 4C 50 [11:40:12]CommunicateWithHost err = 0 [11:40:12]CheckOFDResponse [11:40:12]1017 (14) - 77093643461234 [11:40:12]1041 (16) - 0000000000875104 [11:40:12]1040 (4) - 33261 [11:40:12]1012 (4) - 11.07.2024 05:36 [11:40:12]1206 (1) - 0 [11:40:12]OFD Sender: Remove packet 33261 [11:40:12]ProducePacketName [11:40:12]name=ofd_packets/00033261 [11:40:12]NVStorageDeleteData [11:40:12]Write to MH i2c: 01 00 00 97 8E 25 [11:40:12]Write i2c OK [11:40:12]MH_I2C_Read... [11:40:12]Read from MH i2c: 01 [11:40:12]MH_I2C_Read... [11:40:12]Read from MH i2c: 01 07 00 [11:40:12]MH_I2C_Read... [11:40:12]Read from MH i2c: 01 07 00 97 8E 00 00 00 00 00 D4 0C 0C [11:40:12]RasterBufferAndPrint [11:40:12]line [11:40:12]line [11:40:12]line [11:40:12]line [11:40:12]line [11:40:12]written 0, free lines is 3293 [11:40:12]MH_Cut [11:40:12]Write to MH i2c: D1 01 00 9E 8E 01 FE [11:40:12]Write i2c OK [11:40:12]MH_I2C_Read... [11:40:12]Read from MH i2c: D1 [11:40:12]MH_I2C_Read... [11:40:12]Read from MH i2c: D1 01 00 [11:40:12]MH_I2C_Read... [11:40:12]Read from MH i2c: D1 01 00 9E 8E 00 FD [11:40:12]Write to MH i2c: 01 00 00 9F 8E 2D [11:40:12]Write i2c OK [11:40:12]MH_I2C_Read... [11:40:13]OFD Sender: No OFD packet to send [11:40:13]*** Cut start [11:40:13]*** Partial cut [11:40:13]*** CUTSNS_PIN = 1 [11:40:13]*** CUTSNS_PIN = 0 [11:40:13]*** Brake cut motor [11:40:14]Read from MH i2c: 01 [11:40:14]MH_I2C_Read... [11:40:14]*** Stop cut motor [11:40:14]*** Cut end [11:40:14]Read from MH i2c: 01 07 00 [11:40:14]MH_I2C_Read... [11:40:14]Read from MH i2c: 01 07 00 9F 8E 00 00 00 00 00 FF 0F 42 [11:40:14]process_action close_receipt done [11:40:14]requested_data is exist [11:40:14]produce_requested_data [11:40:14]requested_item fm.sn is exist - process it [11:40:14]wFMCommunicate request_size=4 [11:40:14]MH_SAM_APDU [11:40:14]CAPDU: 80 11 00 00 [11:40:14]Write to MH i2c: E2 08 00 A0 8E 80 11 00 00 00 00 00 00 A8 [11:40:14]Write i2c OK [11:40:14]MH_I2C_Read... [11:40:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:40:14]Read from MH i2c: E2 [11:40:14]MH_I2C_Read... [11:40:14]Read from MH i2c: E2 17 00 [11:40:14]MH_I2C_Read... [11:40:14]Read from MH i2c: E2 17 00 A0 8E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 F4 [11:40:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [11:40:14]wFMCommunicate OK [11:40:14]requested_item fd.num is exist - process it [11:40:14]SAM_PROTO_GetFieldsCounters [11:40:14]wFMCommunicate request_size=4 [11:40:14]MH_SAM_APDU [11:40:14]CAPDU: 80 13 00 00 [11:40:14]Write to MH i2c: E2 08 00 A1 8E 80 13 00 00 00 00 00 00 AB [11:40:14]Write i2c OK [11:40:14]MH_I2C_Read... [11:40:14]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:40:14]Read from MH i2c: E2 [11:40:14]MH_I2C_Read... [11:40:14]Read from MH i2c: E2 62 00 [11:40:14]MH_I2C_Read... [11:40:14]Read from MH i2c: E2 62 00 A1 8E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 ED 81 00 00 0E 04 04 00 B0 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 0D [11:40: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 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 ED 81 00 00 0E 04 04 00 B0 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 [11:40:14]wFMCommunicate OK [11:40:14]SAM_PROTO_GetFieldsCounters done [11:40:14]requested_item shift.num is exist - process it [11:40:14]requested_item shift.opened is exist - process it [11:40:14]req_shift_opened [11:40:14]FM_GetShiftState [11:40:14]SAM_PROTO_GetShiftState [11:40:14]wFMCommunicate request_size=4 [11:40:14]MH_SAM_APDU [11:40:14]CAPDU: 80 13 01 00 [11:40:14]Write to MH i2c: E2 08 00 A2 8E 80 13 01 00 00 00 00 00 AD [11:40:14]Write i2c OK [11:40:14]MH_I2C_Read... [11:40:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:40:14]Read from MH i2c: E2 [11:40:14]MH_I2C_Read... [11:40:14]Read from MH i2c: E2 0E 00 [11:40:14]MH_I2C_Read... [11:40:14]Read from MH i2c: E2 0E 00 A2 8E 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 DE [11:40:14]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [11:40:14]wFMCommunicate OK [11:40:14]SAM_PROTO_GetShiftState done [11:40:14]FM_GetShiftState done [11:40:14]req_shift_opened done [11:40:14]requested_item shift.open_date is exist - process it [11:40:14]req_shift_open_date [11:40:14]req_shift_open_date done [11:40:14]produce_requested_data done [11:40:14]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33261,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398} [11:40:14]process_action_free close_receipt [11:40:14]json_value_free [11:40:14]json_value_free done [11:40:14]process_json_proto returns [11:40:14]Send response to host [11:40:14]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33261,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398}}} [11:40:14]free response buf [11:40:14]execute_script done [11:40:14]execute_script returns [11:40:14]free content buf [11:40:14]Sock 9.Close socket [11:40:14]Sock 9.Thread stoped [11:40:18]OFD Sender: No OFD packet to send [11:40:23]OFD Sender: No OFD packet to send [11:40:28]OFD Sender: No OFD packet to send [11:40:33]OFD Sender: No OFD packet to send [11:40:38]OFD Sender: No OFD packet to send [11:40:43]OFD Sender: No OFD packet to send [11:40:48]OFD Sender: No OFD packet to send [11:40:53]OFD Sender: No OFD packet to send [11:40:58]OFD Sender: No OFD packet to send [11:41:03]OFD Sender: No OFD packet to send [11:41:08]OFD Sender: No OFD packet to send [11:41:13]OFD Sender: No OFD packet to send [11:41:18]OFD Sender: No OFD packet to send [11:41:23]OFD Sender: No OFD packet to send [11:41:28]OFD Sender: No OFD packet to send [11:41:33]OFD Sender: No OFD packet to send [11:41:38]OFD Sender: No OFD packet to send [11:41:43]OFD Sender: No OFD packet to send [11:41:48]OFD Sender: No OFD packet to send [11:41:53]OFD Sender: No OFD packet to send [11:41:58]OFD Sender: No OFD packet to send [11:42:03]OFD Sender: No OFD packet to send [11:42:08]OFD Sender: No OFD packet to send [11:42:13]OFD Sender: No OFD packet to send [11:42:18]OFD Sender: No OFD packet to send [11:42:23]OFD Sender: No OFD packet to send [11:42:28]OFD Sender: No OFD packet to send [11:42:33]OFD Sender: No OFD packet to send [11:42:38]OFD Sender: No OFD packet to send [11:42:43]OFD Sender: No OFD packet to send [11:42:48]OFD Sender: No OFD packet to send [11:42:53]OFD Sender: No OFD packet to send [11:42:58]OFD Sender: No OFD packet to send [11:43:03]OFD Sender: No OFD packet to send [11:43:08]OFD Sender: No OFD packet to send [11:43:13]OFD Sender: No OFD packet to send [11:43:18]OFD Sender: No OFD packet to send [11:43:23]OFD Sender: No OFD packet to send [11:43:28]OFD Sender: No OFD packet to send [11:43:33]OFD Sender: No OFD packet to send [11:43:38]OFD Sender: No OFD packet to send [11:43:43]OFD Sender: No OFD packet to send [11:43:48]OFD Sender: No OFD packet to send [11:43:53]OFD Sender: No OFD packet to send [11:43:58]OFD Sender: No OFD packet to send [11:44:03]OFD Sender: No OFD packet to send [11:44:08]OFD Sender: No OFD packet to send [11:44:13]OFD Sender: No OFD packet to send [11:44:18]OFD Sender: No OFD packet to send [11:44:23]OFD Sender: No OFD packet to send [11:44:28]OFD Sender: No OFD packet to send [11:44:33]OFD Sender: No OFD packet to send [11:44:38]OFD Sender: No OFD packet to send [11:44:43]OFD Sender: No OFD packet to send [11:44:48]OFD Sender: No OFD packet to send [11:44:53]OFD Sender: No OFD packet to send [11:44:58]OFD Sender: No OFD packet to send [11:45:03]OFD Sender: No OFD packet to send [11:45:08]OFD Sender: No OFD packet to send [11:45:13]OFD Sender: No OFD packet to send [11:45:18]OFD Sender: No OFD packet to send [11:45:23]OFD Sender: No OFD packet to send [11:45:28]OFD Sender: No OFD packet to send [11:45:33]OFD Sender: No OFD packet to send [11:45:38]OFD Sender: No OFD packet to send [11:45:43]OFD Sender: No OFD packet to send [11:45:48]OFD Sender: No OFD packet to send [11:45:53]OFD Sender: No OFD packet to send [11:45:58]OFD Sender: No OFD packet to send [11:46:03]OFD Sender: No OFD packet to send [11:46:08]OFD Sender: No OFD packet to send [11:46:13]OFD Sender: No OFD packet to send [11:46:18]OFD Sender: No OFD packet to send [11:46:23]OFD Sender: No OFD packet to send [11:46:28]OFD Sender: No OFD packet to send [11:46:33]OFD Sender: No OFD packet to send [11:46:38]OFD Sender: No OFD packet to send [11:46:43]OFD Sender: No OFD packet to send [11:46:48]OFD Sender: No OFD packet to send [11:46:53]OFD Sender: No OFD packet to send [11:46:58]OFD Sender: No OFD packet to send [11:47:03]OFD Sender: No OFD packet to send [11:47:08]OFD Sender: No OFD packet to send [11:47:13]OFD Sender: No OFD packet to send [11:47:18]OFD Sender: No OFD packet to send [11:47:23]OFD Sender: No OFD packet to send [11:47:28]OFD Sender: No OFD packet to send [11:47:33]OFD Sender: No OFD packet to send [11:47:38]OFD Sender: No OFD packet to send [11:47:43]OFD Sender: No OFD packet to send [11:47:48]OFD Sender: No OFD packet to send [11:47:53]OFD Sender: No OFD packet to send [11:47:58]OFD Sender: No OFD packet to send [11:48:03]OFD Sender: No OFD packet to send [11:48:08]OFD Sender: No OFD packet to send [11:48:13]OFD Sender: No OFD packet to send [11:48:18]OFD Sender: No OFD packet to send [11:48:23]OFD Sender: No OFD packet to send [11:48:28]OFD Sender: No OFD packet to send [11:48:33]OFD Sender: No OFD packet to send [11:48:38]OFD Sender: No OFD packet to send [11:48:43]OFD Sender: No OFD packet to send [11:48:48]OFD Sender: No OFD packet to send [11:48:53]OFD Sender: No OFD packet to send [11:48:58]OFD Sender: No OFD packet to send [11:49:03]OFD Sender: No OFD packet to send [11:49:08]OFD Sender: No OFD packet to send [11:49:13]OFD Sender: No OFD packet to send [11:49:18]OFD Sender: No OFD packet to send [11:49:23]OFD Sender: No OFD packet to send [11:49:28]OFD Sender: No OFD packet to send [11:49:33]OFD Sender: No OFD packet to send [11:49:38]OFD Sender: No OFD packet to send [11:49:43]OFD Sender: No OFD packet to send [11:49:48]OFD Sender: No OFD packet to send [11:49:53]OFD Sender: No OFD packet to send [11:49:58]OFD Sender: No OFD packet to send [11:50:03]OFD Sender: No OFD packet to send [11:50:08]OFD Sender: No OFD packet to send [11:50:13]OFD Sender: No OFD packet to send [11:50:18]OFD Sender: No OFD packet to send [11:50:23]OFD Sender: No OFD packet to send [11:50:28]OFD Sender: No OFD packet to send [11:50:33]OFD Sender: No OFD packet to send [11:50:38]OFD Sender: No OFD packet to send [11:50:43]OFD Sender: No OFD packet to send [11:50:48]OFD Sender: No OFD packet to send [11:50:53]OFD Sender: No OFD packet to send [11:50:58]OFD Sender: No OFD packet to send [11:51:03]OFD Sender: No OFD packet to send [11:51:08]OFD Sender: No OFD packet to send [11:51:13]OFD Sender: No OFD packet to send [11:51:18]OFD Sender: No OFD packet to send [11:51:23]OFD Sender: No OFD packet to send [11:51:28]OFD Sender: No OFD packet to send [11:51:33]OFD Sender: No OFD packet to send [11:51:38]OFD Sender: No OFD packet to send [11:51:43]OFD Sender: No OFD packet to send [11:51:48]OFD Sender: No OFD packet to send [11:51:53]OFD Sender: No OFD packet to send [11:51:58]OFD Sender: No OFD packet to send [11:52:03]OFD Sender: No OFD packet to send [11:52:08]OFD Sender: No OFD packet to send [11:52:13]OFD Sender: No OFD packet to send [11:52:18]OFD Sender: No OFD packet to send [11:52:23]OFD Sender: No OFD packet to send [11:52:28]OFD Sender: No OFD packet to send [11:52:33]OFD Sender: No OFD packet to send [11:52:38]OFD Sender: No OFD packet to send [11:52:43]OFD Sender: No OFD packet to send [11:52:48]OFD Sender: No OFD packet to send [11:52:53]OFD Sender: No OFD packet to send [11:52:58]OFD Sender: No OFD packet to send [11:53:03]OFD Sender: No OFD packet to send [11:53:08]OFD Sender: No OFD packet to send [11:53:13]OFD Sender: No OFD packet to send [11:53:18]OFD Sender: No OFD packet to send [11:53:23]OFD Sender: No OFD packet to send [11:53:28]OFD Sender: No OFD packet to send [11:53:33]OFD Sender: No OFD packet to send [11:53:38]OFD Sender: No OFD packet to send [11:53:43]OFD Sender: No OFD packet to send [11:53:48]OFD Sender: No OFD packet to send [11:53:53]OFD Sender: No OFD packet to send [11:53:58]OFD Sender: No OFD packet to send [11:54:03]OFD Sender: No OFD packet to send [11:54:08]OFD Sender: No OFD packet to send [11:54:13]OFD Sender: No OFD packet to send [11:54:18]OFD Sender: No OFD packet to send [11:54:23]OFD Sender: No OFD packet to send [11:54:28]OFD Sender: No OFD packet to send [11:54:33]OFD Sender: No OFD packet to send [11:54:38]OFD Sender: No OFD packet to send [11:54:43]OFD Sender: No OFD packet to send [11:54:48]OFD Sender: No OFD packet to send [11:54:53]OFD Sender: No OFD packet to send [11:54:58]OFD Sender: No OFD packet to send [11:55:03]OFD Sender: No OFD packet to send [11:55:08]OFD Sender: No OFD packet to send [11:55:13]OFD Sender: No OFD packet to send [11:55:18]OFD Sender: No OFD packet to send [11:55:23]OFD Sender: No OFD packet to send [11:55:28]OFD Sender: No OFD packet to send [11:55:33]OFD Sender: No OFD packet to send [11:55:38]OFD Sender: No OFD packet to send [11:55:43]OFD Sender: No OFD packet to send [11:55:48]OFD Sender: No OFD packet to send [11:55:53]OFD Sender: No OFD packet to send [11:55:58]OFD Sender: No OFD packet to send [11:56:03]OFD Sender: No OFD packet to send [11:56:08]OFD Sender: No OFD packet to send [11:56:13]OFD Sender: No OFD packet to send [11:56:18]OFD Sender: No OFD packet to send [11:56:23]OFD Sender: No OFD packet to send [11:56:28]OFD Sender: No OFD packet to send [11:56:33]OFD Sender: No OFD packet to send [11:56:38]OFD Sender: No OFD packet to send [11:56:43]OFD Sender: No OFD packet to send [11:56:48]OFD Sender: No OFD packet to send [11:56:53]OFD Sender: No OFD packet to send [11:56:58]OFD Sender: No OFD packet to send [11:57:03]OFD Sender: No OFD packet to send [11:57:08]OFD Sender: No OFD packet to send [11:57:13]OFD Sender: No OFD packet to send [11:57:18]OFD Sender: No OFD packet to send [11:57:23]OFD Sender: No OFD packet to send [11:57:28]OFD Sender: No OFD packet to send [11:57:33]OFD Sender: No OFD packet to send [11:57:38]OFD Sender: No OFD packet to send [11:57:43]OFD Sender: No OFD packet to send [11:57:48]OFD Sender: No OFD packet to send [11:57:53]OFD Sender: No OFD packet to send [11:57:58]OFD Sender: No OFD packet to send [11:58:03]OFD Sender: No OFD packet to send [11:58:08]OFD Sender: No OFD packet to send [11:58:13]OFD Sender: No OFD packet to send [11:58:18]OFD Sender: No OFD packet to send [11:58:23]OFD Sender: No OFD packet to send [11:58:28]OFD Sender: No OFD packet to send [11:58:33]OFD Sender: No OFD packet to send [11:58:38]OFD Sender: No OFD packet to send [11:58:43]OFD Sender: No OFD packet to send [11:58:48]OFD Sender: No OFD packet to send [11:58:53]OFD Sender: No OFD packet to send [11:58:58]OFD Sender: No OFD packet to send [11:59:03]OFD Sender: No OFD packet to send [11:59:08]OFD Sender: No OFD packet to send [11:59:14]OFD Sender: No OFD packet to send [11:59:18]accept exits with 8 [11:59:18]New connection [11:59:18]New thread 3066699108 created [11:59:18]Thread 3066842468 joined [11:59:18]Waiting for new connection... [11:59:18] Sock 8.Parse request [11:59:18]Sock 8.Check first char [11:59:18]Sock 8.First char is OK [11:59:18]request: POST /json_proto HTTP/1.0 [11:59:18]Method: POST [11:59:18]URL: /json_proto [11:59:18]Method is POST - this is cgi request [11:59:18]url: /json_proto [11:59:18]query_string will be loaded in cgi processing [11:59:18]execute_cgi json_proto POST (null) [11:59:18]execute_cgi path=json_proto method=POST [11:59:18]POST find Content-Length [11:59:18]Host: 172.17.35.196:8080 [11:59:18]Content-Length: 926 [11:59:18]Content-Type: application/json [11:59:18] [11:59:18]POST finish read [11:59:18]Found Content-Length = 926 [11:59:18]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169102", "tax_sys" : 0, "items" : [ { "code": "4870202521247", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u0447\u0435\u0440\u043D.\u043F\u0435\u0440\u0441\u0438\u043A", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4640030091607", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 263.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:59:18]execute_script... [11:59:18]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169102", "tax_sys" : 0, "items" : [ { "code": "4870202521247", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u0447\u0435\u0440\u043D.\u043F\u0435\u0440\u0441\u0438\u043A", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4640030091607", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 263.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:59:18]POST & json_proto [11:59:18]process_json_proto [11:59:18]json parsed OK: [11:59:18]protocol is kg_v1.0 [11:59:18]action value=close_receipt [11:59:18]process_action close_receipt [11:59:18]cmd_close_receipt [11:59:18]MH_GetDate [11:59:18]Write to MH i2c: F0 00 00 A3 8E 20 [11:59:18]Write i2c OK [11:59:18]MH_I2C_Read... [11:59:18]Read from MH i2c: F0 [11:59:18]MH_I2C_Read... [11:59:18]Read from MH i2c: F0 09 00 [11:59:18]MH_I2C_Read... [11:59:18]Read from MH i2c: F0 09 00 A3 8E 00 3B C9 8F 66 AD 14 F4 65 3C [11:59:18]GetLastDocTimeStamp 1720698047 [11:59:18]current date 1720699195 [11:59:18]FM_GetShiftState [11:59:18]SAM_PROTO_GetShiftState [11:59:18]wFMCommunicate request_size=4 [11:59:18]MH_SAM_APDU [11:59:18]CAPDU: 80 13 01 00 [11:59:18]Write to MH i2c: E2 08 00 A4 8E 80 13 01 00 00 00 00 00 AF [11:59:18]Write i2c OK [11:59:18]MH_I2C_Read... [11:59:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:59:18]Read from MH i2c: E2 [11:59:18]MH_I2C_Read... [11:59:18]Read from MH i2c: E2 0E 00 [11:59:18]MH_I2C_Read... [11:59:18]Read from MH i2c: E2 0E 00 A4 8E 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 E0 [11:59:18]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [11:59:18]wFMCommunicate OK [11:59:18]SAM_PROTO_GetShiftState done [11:59:18]FM_GetShiftState done [11:59:18]opened in 1720656398 [11:59:18]opened+sec_in_day 1720742798 [11:59:18]quantity*price = 12500 [11:59:18]sum+1 = 12501 [11:59:18]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4640030091607 Сигареты ESSE Exchange 1.000 * 138.00 = 138.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 263.00 НСП 1% : 2.33 НДС 12% : 27.92 Наличными: 263.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 17 11.07.2024 11:59 Смена: 432 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33262 ФПД: 224649922779371 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T115955&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33262&fm=224649922779371&tin=02508201610067®Number=0000000000093033&sum=26300 0 [11:59:19]StoreToDocumentArchive [11:59:19]shift 432 fd 33262 [11:59:19]save to /storage/0432/doc_00033262 [11:59:19]save last doc name /storage/0432/doc_00033262 to /storage/kkm_last_doc_name [11:59:19]save OK [11:59:19]Clear old archive folders... [11:59:19]ProcessDocumentItem done err = 0, tmpTLVsize=396 [11:59:19]tlvbuf is 003FF870 [11:59:19]SAM_PROTO_ClearQueue [11:59:19]wFMCommunicate request_size=4 [11:59:19]MH_SAM_APDU [11:59:19]CAPDU: 80 09 00 00 [11:59:19]Write to MH i2c: E2 08 00 B1 8E 80 09 00 00 00 00 00 00 B1 [11:59:19]Write i2c OK [11:59:19]MH_I2C_Read... [11:59:19]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:59:19]Read from MH i2c: E2 [11:59:19]MH_I2C_Read... [11:59:19]Read from MH i2c: E2 03 00 [11:59:19]MH_I2C_Read... [11:59:19]Read from MH i2c: E2 03 00 B1 8E 00 90 00 B3 [11:59:19]RAPDU: 90 00 [11:59:19]wFMCommunicate OK [11:59:19]SAM_PROTO_ClearQueue done [11:59:19]KKMCreateOFDPacket [11:59:19]OFDProtocolAddRootSTLVToBuf [11:59:19]FM_MakeSignedData [11:59:19]FM_MakeSignedData [11:59:19]SAM_PROTO_SignData [11:59:19]wFMCommunicate request_size=4 [11:59:19]MH_SAM_APDU [11:59:19]CAPDU: 80 0D 01 02 [11:59:19]Write to MH i2c: E2 08 00 B2 8E 80 0D 01 02 00 00 00 00 B9 [11:59:19]Write i2c OK [11:59:19]MH_I2C_Read... [11:59:20]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:59:20]Read from MH i2c: E2 [11:59:20]MH_I2C_Read... [11:59:20]Read from MH i2c: E2 03 00 [11:59:20]MH_I2C_Read... [11:59:20]Read from MH i2c: E2 03 00 B2 8E 00 90 00 B4 [11:59:20]RAPDU: 90 00 [11:59:20]wFMCommunicate OK [11:59:20]wFMCommunicate request_size=255 [11:59:20]MH_SAM_APDU [11:59:20]CAPDU: 80 0D 02 02 FA 03 00 8C 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 34 37 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D1 87 D0 B5 D1 80 D0 BD 2E D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 FF 03 08 00 03 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 BC 66 00 00 00 00 EB 03 26 00 EF [11:59:20]Write to MH i2c: E2 02 01 B3 8E 80 0D 02 02 FA 00 03 00 8C 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 34 37 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D1 87 D0 B5 D1 80 D0 BD 2E D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 FF 03 08 00 03 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 BC 66 00 00 00 00 EB 03 26 00 EF 00 00 B0 [11:59:20]Write i2c OK [11:59:20]MH_I2C_Read... [11:59:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:59:20]Read from MH i2c: E2 [11:59:20]MH_I2C_Read... [11:59:20]Read from MH i2c: E2 03 00 [11:59:20]MH_I2C_Read... [11:59:20]Read from MH i2c: E2 03 00 B3 8E 00 90 00 B5 [11:59:20]RAPDU: 90 00 [11:59:20]wFMCommunicate OK [11:59:20]wFMCommunicate request_size=155 [11:59:20]MH_SAM_APDU [11:59:20]CAPDU: 80 0D 02 02 96 03 0F 00 F6 03 01 00 01 F7 03 06 00 E9 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E8 0A 00 00 00 00 07 04 06 00 BC 66 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 3B C9 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 EE 81 00 00 35 04 06 00 CC 51 62 D8 98 EB [11:59:20]Write to MH i2c: E2 9E 00 B4 8E 80 0D 02 02 96 00 03 0F 00 F6 03 01 00 01 F7 03 06 00 E9 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E8 0A 00 00 00 00 07 04 06 00 BC 66 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 3B C9 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 EE 81 00 00 35 04 06 00 CC 51 62 D8 98 EB 00 00 15 [11:59:20]Write i2c OK [11:59:20]MH_I2C_Read... [11:59:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:59:20]Read from MH i2c: E2 [11:59:20]MH_I2C_Read... [11:59:20]Read from MH i2c: E2 03 00 [11:59:20]MH_I2C_Read... [11:59:20]Read from MH i2c: E2 03 00 B4 8E 00 90 00 B6 [11:59:20]RAPDU: 90 00 [11:59:20]wFMCommunicate OK [11:59:20]wFMCommunicate request_size=4 [11:59:20]MH_SAM_APDU [11:59:20]CAPDU: 80 0D 03 02 [11:59:20]Write to MH i2c: E2 08 00 B5 8E 80 0D 03 02 00 00 00 00 BE [11:59:20]Write i2c OK [11:59:20]MH_I2C_Read... [11:59:20]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:59:20]Read from MH i2c: E2 [11:59:20]MH_I2C_Read... [11:59:20]Read from MH i2c: E2 0B 00 [11:59:20]MH_I2C_Read... [11:59:20]Read from MH i2c: E2 0B 00 B5 8E 00 8D 3D 55 37 81 C4 9A 00 90 00 F4 [11:59:20]RAPDU: 8D 3D 55 37 81 C4 9A 00 90 00 [11:59:20]wFMCommunicate OK [11:59:20]SAM_PROTO_SignData done [11:59:20]FM_MakeSignedData done [11:59:20]CreateOFDProtocolMessage [11:59:20]wFMCommunicate request_size=4 [11:59:20]MH_SAM_APDU [11:59:20]CAPDU: 80 11 00 00 [11:59:20]Write to MH i2c: E2 08 00 B6 8E 80 11 00 00 00 00 00 00 BE [11:59:20]Write i2c OK [11:59:20]MH_I2C_Read... [11:59:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:59:20]Read from MH i2c: E2 [11:59:20]MH_I2C_Read... [11:59:20]Read from MH i2c: E2 17 00 [11:59:20]MH_I2C_Read... [11:59:20]Read from MH i2c: E2 17 00 B6 8E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 0A [11:59:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [11:59:20]wFMCommunicate OK [11:59:20]CreateOFDProtocolMessage done [11:59:20]OFDSenderStorePacket 33262 [11:59:20]StoreOFDPacket docnum=33262 [11:59:20]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 A0 01 00 00 D9 91 98 01 1E 47 5A 03 01 00 03 00 8C 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 34 37 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D1 87 D0 B5 D1 80 D0 BD 2E D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 FF 03 08 00 03 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 BC 66 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E9 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E8 0A 00 00 00 00 07 04 06 00 BC 66 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 3B C9 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 EE 81 00 00 35 04 06 00 CC 51 62 D8 98 EB 8D 3D 55 37 81 C4 9A 00 [11:59:20]CheckFolder [11:59:20]dirname=/storage/ofd_packets [11:59:20]CheckFolder done [11:59:20]ProducePacketName [11:59:20]name=ofd_packets/00033262 [11:59:20]NVStorageSaveData ofd_packets/00033262 [11:59:20]File name is /storage/ofd_packets/00033262 [11:59:20]Write 446 bytes [11:59:20]NVStorageSaveData done [11:59:20]OFDSenderStorePacket done [11:59:20]KKMCreateOFDPacket done [11:59:20]NVStorageSaveData kkm_last_timestamp [11:59:20]File name is /storage/kkm_last_timestamp [11:59:20]Write 4 bytes [11:59:20]NVStorageSaveData done [11:59:20]ExternCall_PrintAddStr [11:59:20]wPrintStart [11:59:20]Write to MH i2c: 01 00 00 B7 8E 45 [11:59:20]Write i2c OK [11:59:20]MH_I2C_Read... [11:59:20]Read from MH i2c: 01 [11:59:20]MH_I2C_Read... [11:59:20]Read from MH i2c: 01 07 00 [11:59:20]MH_I2C_Read... [11:59:20]Read from MH i2c: 01 07 00 B7 8E 00 00 00 00 00 FF 0F 5A [11:59:20]RasterBufferAndPrint [11:59:20]line Счет N : (3)169102 [11:59:20]line ИНН: 02508201610067 [11:59:20]line Контрольно-Кассовый Чек [11:59:20]line ПРОДАЖА [11:59:20]line Товар: 4870202521247 [11:59:20]line Напиток MAXI чай 1,2 черн.персик [11:59:20]line 1.000 * 125.00 [11:59:20]line = 125.00 [11:59:20]line НДС 12% НСП 1% [11:59:20]line > о реализуемом товаре [11:59:20]line Товар: 4640030091607 [11:59:20]line Сигареты ESSE Exchange [11:59:20]line 1.000 * 138.00 [11:59:20]line = 138.00 [11:59:20]line НДС 12% НСП 1% [11:59:20]line > о реализуемом товаре [11:59:20]line ИТОГО: 263.00 [11:59:20]line НСП 1% : 2.33 [11:59:20]line НДС 12% : 27.92 [11:59:20]line Наличными: 263.00 [11:59:20]line Безнал.: 0.00 [11:59:20]line Место: АЗС № 77 "Партнер Нефть" [11:59:20]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [11:59:20]line СНО: Общий режим [11:59:20]line Чек 17 11.07.2024 11:59 [11:59:20]line Смена: 432 ФФД: 1.0 [11:59:20]line ЗНМ: 0300000122 [11:59:20]line РНМ: 0000000000093033 [11:59:20]line Версия ККМ: 001 [11:59:20]line ФМ: 0000000000875104 [11:59:20]line ФД: 33262 [11:59:20]line ФПД: 224649922779371 [11:59:20]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T115955&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33262&fm=224649922779371&tin=02508201610067®Number=0000000000093033&sum=26300 [11:59:20]OFD Sender: Processing packet 33262 [packets to send 6, broken 5] [11:59:20]ProducePacketName [11:59:20]name=ofd_packets/00033262 [11:59:20]OFD Sender: To server: pG, [11:59:20]CommunicateWithHost lk.salyk.kg:30040 [11:59:20]ConnectInit lk.salyk.kg [11:59:20]line 0 [11:59:20]written 0, free lines is 4095 [11:59:21]Connected sock=10 [11:59:21]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 A0 01 00 00 D9 91 98 01 1E 47 5A 03 01 00 03 00 8C 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 34 37 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D1 87 D0 B5 D1 80 D0 BD 2E D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 FF 03 08 00 03 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 BC 66 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E9 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E8 0A 00 00 00 00 07 04 06 00 BC 66 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 3B C9 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 EE 81 00 00 35 04 06 00 CC 51 62 D8 98 EB 8D 3D 55 37 81 C4 9A 00 [11:59:21]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 95 30 47 00 54 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 35 31 30 34 10 04 04 00 EE 81 00 00 F4 03 04 00 EB 73 8F 66 B6 04 01 00 00 A8 A0 BB 90 58 CE 44 DC [11:59:21]CommunicateWithHost err = 0 [11:59:21]CheckOFDResponse [11:59:21]1017 (14) - 77093643461234 [11:59:21]1041 (16) - 0000000000875104 [11:59:21]1040 (4) - 33262 [11:59:21]1012 (4) - 11.07.2024 05:55 [11:59:21]1206 (1) - 0 [11:59:21]OFD Sender: Remove packet 33262 [11:59:21]ProducePacketName [11:59:21]name=ofd_packets/00033262 [11:59:21]NVStorageDeleteData [11:59:21]Write to MH i2c: 01 00 00 E6 8E 74 [11:59:21]Write i2c OK [11:59:21]MH_I2C_Read... [11:59:21]Read from MH i2c: 01 [11:59:21]MH_I2C_Read... [11:59:21]Read from MH i2c: 01 07 00 [11:59:21]MH_I2C_Read... [11:59:21]Read from MH i2c: 01 07 00 E6 8E 00 00 00 00 00 99 0C 20 [11:59:21]RasterBufferAndPrint [11:59:21]line [11:59:21]line [11:59:21]line [11:59:21]line [11:59:21]line [11:59:21]written 0, free lines is 3232 [11:59:21]MH_Cut [11:59:21]Write to MH i2c: D1 01 00 ED 8E 01 4D [11:59:21]Write i2c OK [11:59:21]MH_I2C_Read... [11:59:21]Read from MH i2c: D1 [11:59:21]MH_I2C_Read... [11:59:21]Read from MH i2c: D1 01 00 [11:59:21]MH_I2C_Read... [11:59:21]Read from MH i2c: D1 01 00 ED 8E 00 4C [11:59:21]Write to MH i2c: 01 00 00 EE 8E 7C [11:59:21]Write i2c OK [11:59:21]MH_I2C_Read... [11:59:21]OFD Sender: No OFD packet to send [11:59:22]*** Cut start [11:59:22]*** Partial cut [11:59:22]*** CUTSNS_PIN = 1 [11:59:22]*** CUTSNS_PIN = 0 [11:59:22]*** Brake cut motor [11:59:22]Read from MH i2c: 01 [11:59:22]MH_I2C_Read... [11:59:22]*** Stop cut motor [11:59:22]*** Cut end [11:59:22]Read from MH i2c: 01 07 00 [11:59:22]MH_I2C_Read... [11:59:22]Read from MH i2c: 01 07 00 EE 8E 00 00 00 00 00 FF 0F 91 [11:59:22]process_action close_receipt done [11:59:22]requested_data is exist [11:59:22]produce_requested_data [11:59:22]requested_item fm.sn is exist - process it [11:59:22]wFMCommunicate request_size=4 [11:59:22]MH_SAM_APDU [11:59:22]CAPDU: 80 11 00 00 [11:59:22]Write to MH i2c: E2 08 00 EF 8E 80 11 00 00 00 00 00 00 F7 [11:59:22]Write i2c OK [11:59:22]MH_I2C_Read... [11:59:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:59:22]Read from MH i2c: E2 [11:59:22]MH_I2C_Read... [11:59:22]Read from MH i2c: E2 17 00 [11:59:22]MH_I2C_Read... [11:59:22]Read from MH i2c: E2 17 00 EF 8E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 43 [11:59:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [11:59:22]wFMCommunicate OK [11:59:22]requested_item fd.num is exist - process it [11:59:22]SAM_PROTO_GetFieldsCounters [11:59:22]wFMCommunicate request_size=4 [11:59:22]MH_SAM_APDU [11:59:22]CAPDU: 80 13 00 00 [11:59:22]Write to MH i2c: E2 08 00 F0 8E 80 13 00 00 00 00 00 00 FA [11:59:22]Write i2c OK [11:59:22]MH_I2C_Read... [11:59:23]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:59:23]Read from MH i2c: E2 [11:59:23]MH_I2C_Read... [11:59:23]Read from MH i2c: E2 62 00 [11:59:23]MH_I2C_Read... [11:59:23]Read from MH i2c: E2 62 00 F0 8E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 EE 81 00 00 0E 04 04 00 B0 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 60 [11:59: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 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 EE 81 00 00 0E 04 04 00 B0 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 [11:59:23]wFMCommunicate OK [11:59:23]SAM_PROTO_GetFieldsCounters done [11:59:23]requested_item shift.num is exist - process it [11:59:23]requested_item shift.opened is exist - process it [11:59:23]req_shift_opened [11:59:23]FM_GetShiftState [11:59:23]SAM_PROTO_GetShiftState [11:59:23]wFMCommunicate request_size=4 [11:59:23]MH_SAM_APDU [11:59:23]CAPDU: 80 13 01 00 [11:59:23]Write to MH i2c: E2 08 00 F1 8E 80 13 01 00 00 00 00 00 FC [11:59:23]Write i2c OK [11:59:23]MH_I2C_Read... [11:59:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:59:23]Read from MH i2c: E2 [11:59:23]MH_I2C_Read... [11:59:23]Read from MH i2c: E2 0E 00 [11:59:23]MH_I2C_Read... [11:59:23]Read from MH i2c: E2 0E 00 F1 8E 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 2D [11:59:23]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [11:59:23]wFMCommunicate OK [11:59:23]SAM_PROTO_GetShiftState done [11:59:23]FM_GetShiftState done [11:59:23]req_shift_opened done [11:59:23]requested_item shift.open_date is exist - process it [11:59:23]req_shift_open_date [11:59:23]req_shift_open_date done [11:59:23]produce_requested_data done [11:59:23]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33262,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398} [11:59:23]process_action_free close_receipt [11:59:23]json_value_free [11:59:23]json_value_free done [11:59:23]process_json_proto returns [11:59:23]Send response to host [11:59:23]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33262,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398}}} [11:59:23]free response buf [11:59:23]execute_script done [11:59:23]execute_script returns [11:59:23]free content buf [11:59:23]Sock 8.Close socket [11:59:23]Sock 8.Thread stoped [11:59:26]OFD Sender: No OFD packet to send [11:59:31]OFD Sender: No OFD packet to send [11:59:36]OFD Sender: No OFD packet to send [11:59:41]OFD Sender: No OFD packet to send [11:59:46]OFD Sender: No OFD packet to send [11:59:51]OFD Sender: No OFD packet to send [11:59:56]OFD Sender: No OFD packet to send [12:00:01]OFD Sender: No OFD packet to send [12:00:06]OFD Sender: No OFD packet to send [12:00:11]OFD Sender: No OFD packet to send [12:00:16]OFD Sender: No OFD packet to send [12:00:21]OFD Sender: No OFD packet to send [12:00:26]OFD Sender: No OFD packet to send [12:00:31]OFD Sender: No OFD packet to send [12:00:36]OFD Sender: No OFD packet to send [12:00:41]OFD Sender: No OFD packet to send [12:00:46]OFD Sender: No OFD packet to send [12:00:51]OFD Sender: No OFD packet to send [12:00:56]OFD Sender: No OFD packet to send [12:01:01]OFD Sender: No OFD packet to send [12:01:06]OFD Sender: No OFD packet to send [12:01:11]OFD Sender: No OFD packet to send [12:01:16]OFD Sender: No OFD packet to send [12:01:21]OFD Sender: No OFD packet to send [12:01:26]OFD Sender: No OFD packet to send [12:01:31]OFD Sender: No OFD packet to send [12:01:36]OFD Sender: No OFD packet to send [12:01:41]OFD Sender: No OFD packet to send [12:01:46]OFD Sender: No OFD packet to send [12:01:51]OFD Sender: No OFD packet to send [12:01:56]OFD Sender: No OFD packet to send [12:02:01]OFD Sender: No OFD packet to send [12:02:06]OFD Sender: No OFD packet to send [12:02:11]OFD Sender: No OFD packet to send [12:02:16]OFD Sender: No OFD packet to send [12:02:21]OFD Sender: No OFD packet to send [12:02:26]OFD Sender: No OFD packet to send [12:02:31]OFD Sender: No OFD packet to send [12:02:36]OFD Sender: No OFD packet to send [12:02:41]OFD Sender: No OFD packet to send [12:02:46]OFD Sender: No OFD packet to send [12:02:51]OFD Sender: No OFD packet to send [12:02:56]OFD Sender: No OFD packet to send [12:03:01]OFD Sender: No OFD packet to send [12:03:06]OFD Sender: No OFD packet to send [12:03:11]OFD Sender: No OFD packet to send [12:03:16]OFD Sender: No OFD packet to send [12:03:21]OFD Sender: No OFD packet to send [12:03:26]OFD Sender: No OFD packet to send [12:03:31]OFD Sender: No OFD packet to send [12:03:36]OFD Sender: No OFD packet to send [12:03:41]OFD Sender: No OFD packet to send [12:03:46]OFD Sender: No OFD packet to send [12:03:51]OFD Sender: No OFD packet to send [12:03:56]OFD Sender: No OFD packet to send [12:04:01]OFD Sender: No OFD packet to send [12:04:06]OFD Sender: No OFD packet to send [12:04:11]OFD Sender: No OFD packet to send [12:04:16]OFD Sender: No OFD packet to send [12:04:21]OFD Sender: No OFD packet to send [12:04:26]OFD Sender: No OFD packet to send [12:04:31]OFD Sender: No OFD packet to send [12:04:36]OFD Sender: No OFD packet to send [12:04:41]OFD Sender: No OFD packet to send [12:04:46]OFD Sender: No OFD packet to send [12:04:51]OFD Sender: No OFD packet to send [12:04: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:10]accept exits with 9 [12:07:10]New connection [12:07:10]New thread 3066842468 created [12:07:10]Thread 3066699108 joined [12:07:10]Waiting for new connection... [12:07:10] Sock 9.Parse request [12:07:10]Sock 9.Check first char [12:07:10]Sock 9.First char is OK [12:07:10]request: POST /json_proto HTTP/1.0 [12:07:10]Method: POST [12:07:10]URL: /json_proto [12:07:10]Method is POST - this is cgi request [12:07:10]url: /json_proto [12:07:10]query_string will be loaded in cgi processing [12:07:10]execute_cgi json_proto POST (null) [12:07:10]execute_cgi path=json_proto method=POST [12:07:10]POST find Content-Length [12:07:10]Host: 172.17.35.196:8080 [12:07:10]Content-Length: 1151 [12:07:10]Content-Type: application/json [12:07:10] [12:07:10]POST finish read [12:07:10]Found Content-Length = 1151 [12:07:10]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "print_text", "params" : { "text" : " *****\u0422\u041E\u0412\u0410\u0420\u041D\u042B\u0419 \u0427\u0415\u041A*****\u000A \u0410\u0417\u0421 77\u000A \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u043D\u0435\u0444\u0442\u044C\u000A 02508201610067\u000A\u041A\u0430\u0441\u0441\u0438\u0440 : \u0410\u0448\u0438\u0440\u043E\u0432\u0430 \u0414. \u000A\u0421\u0447\u0435\u0442 N : (1)5669580\u000A11.07.2024 12:01\u000A \u041F\u0420\u041E\u0414\u0410\u0416\u0410\u000A\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A): 43\u000A\u0412\u0438\u0434 \u0413\u0421\u041C : 2710124130\u000A\u0410\u0438-92-\u041A-5\u000A 10.000 x 66.30\u000A\u0418\u0422\u041E\u0413: 663.00\u000A\u0422\u0438\u043F \u043E\u043F\u043B\u0430\u0442\u044B: \u0422\u0430\u043B\u043E\u043D\u044B: \u0422\u041A \u0413\u041F\u041D\u0410 Online\u000A30119095\u000A ______________________\u000A (\u043F\u043E\u0434\u043F\u0438\u0441\u044C)" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:07:10]execute_script... [12:07:10]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "print_text", "params" : { "text" : " *****\u0422\u041E\u0412\u0410\u0420\u041D\u042B\u0419 \u0427\u0415\u041A*****\u000A \u0410\u0417\u0421 77\u000A \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u043D\u0435\u0444\u0442\u044C\u000A 02508201610067\u000A\u041A\u0430\u0441\u0441\u0438\u0440 : \u0410\u0448\u0438\u0440\u043E\u0432\u0430 \u0414. \u000A\u0421\u0447\u0435\u0442 N : (1)5669580\u000A11.07.2024 12:01\u000A \u041F\u0420\u041E\u0414\u0410\u0416\u0410\u000A\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A): 43\u000A\u0412\u0438\u0434 \u0413\u0421\u041C : 2710124130\u000A\u0410\u0438-92-\u041A-5\u000A 10.000 x 66.30\u000A\u0418\u0422\u041E\u0413: 663.00\u000A\u0422\u0438\u043F \u043E\u043F\u043B\u0430\u0442\u044B: \u0422\u0430\u043B\u043E\u043D\u044B: \u0422\u041A \u0413\u041F\u041D\u0410 Online\u000A30119095\u000A ______________________\u000A (\u043F\u043E\u0434\u043F\u0438\u0441\u044C)" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:07:10]POST & json_proto [12:07:10]process_json_proto [12:07:10]json parsed OK: [12:07:10]protocol is kg_v1.0 [12:07:10]action value=print_text [12:07:10]process_action print_text [12:07:10]cmd_print_text [12:07:10]ExternCall_PrintAddStr [12:07:10]wPrintStart [12:07:10]Write to MH i2c: 01 00 00 F2 8E 80 [12:07:10]Write i2c OK [12:07:10]MH_I2C_Read... [12:07:10]Read from MH i2c: 01 [12:07:10]MH_I2C_Read... [12:07:10]Read from MH i2c: 01 07 00 [12:07:10]MH_I2C_Read... [12:07:10]Read from MH i2c: 01 07 00 F2 8E 00 00 00 00 00 FF 0F 95 [12:07:10]RasterBufferAndPrint [12:07:10]line *****ТОВАРНЫЙ ЧЕК***** [12:07:10]line АЗС 77 [12:07:10]line Партнер нефть [12:07:10]line 02508201610067 [12:07:10]line Кассир : Аширова Д. [12:07:10]line Счет N : (1)5669580 [12:07:10]line 11.07.2024 12:01 [12:07:10]line ПРОДАЖА [12:07:10]line ТРК (МРК, ГНК): 43 [12:07:10]line Вид ГСМ : 2710124130 [12:07:10]line Аи-92-К-5 [12:07:10]line 10.000 x 66.30 [12:07:10]line ИТОГ: 663.00 [12:07:10]line Тип оплаты: Талоны: ТК ГПНА Online [12:07:10]line 30119095 [12:07:10]line ______________________ [12:07:10]line (подпись) [12:07:10]written 0, free lines is 4095 [12:07:10]Write to MH i2c: 01 00 00 06 8F 95 [12:07:10]Write i2c OK [12:07:10]MH_I2C_Read... [12:07:10]Read from MH i2c: 01 [12:07:10]MH_I2C_Read... [12:07:10]Read from MH i2c: 01 07 00 [12:07:10]MH_I2C_Read... [12:07:10]Read from MH i2c: 01 07 00 06 8F 00 00 00 00 00 0E 0E B8 [12:07:10]RasterBufferAndPrint [12:07:10]line [12:07:10]line [12:07:10]line [12:07:10]line [12:07:10]line [12:07:10]written 0, free lines is 3600 [12:07:10]MH_Cut [12:07:10]Write to MH i2c: D1 01 00 0D 8F 01 6E [12:07:10]Write i2c OK [12:07:10]MH_I2C_Read... [12:07:10]Read from MH i2c: D1 [12:07:10]MH_I2C_Read... [12:07:10]Read from MH i2c: D1 01 00 [12:07:10]MH_I2C_Read... [12:07:10]Read from MH i2c: D1 01 00 0D 8F 00 6D [12:07:10]Write to MH i2c: 01 00 00 0E 8F 9D [12:07:10]Write i2c OK [12:07:10]MH_I2C_Read... [12:07:11]*** Cut start [12:07:11]*** Partial cut [12:07:11]*** CUTSNS_PIN = 1 [12:07:11]*** CUTSNS_PIN = 0 [12:07:11]*** Brake cut motor [12:07:11]Read from MH i2c: 01 [12:07:11]MH_I2C_Read... [12:07:11]Read from MH i2c: 01 07 00 [12:07:12]MH_I2C_Read... [12:07:12]*** Stop cut motor [12:07:12]*** Cut end [12:07:12]Read from MH i2c: 01 07 00 0E 8F 00 00 00 00 00 FF 0F B2 [12:07:12]process_action print_text done [12:07:12]requested_data is exist [12:07:12]produce_requested_data [12:07:12]requested_item fm.sn is exist - process it [12:07:12]wFMCommunicate request_size=4 [12:07:12]MH_SAM_APDU [12:07:12]CAPDU: 80 11 00 00 [12:07:12]Write to MH i2c: E2 08 00 0F 8F 80 11 00 00 00 00 00 00 18 [12:07:12]Write i2c OK [12:07:12]MH_I2C_Read... [12:07:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:07:12]Read from MH i2c: E2 [12:07:12]MH_I2C_Read... [12:07:12]Read from MH i2c: E2 17 00 [12:07:12]MH_I2C_Read... [12:07:12]Read from MH i2c: E2 17 00 0F 8F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 64 [12:07:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [12:07:12]wFMCommunicate OK [12:07:12]requested_item fd.num is exist - process it [12:07:12]SAM_PROTO_GetFieldsCounters [12:07:12]wFMCommunicate request_size=4 [12:07:12]MH_SAM_APDU [12:07:12]CAPDU: 80 13 00 00 [12:07:12]Write to MH i2c: E2 08 00 10 8F 80 13 00 00 00 00 00 00 1B [12:07:12]Write i2c OK [12:07:12]MH_I2C_Read... [12:07:12]OFD Sender: No OFD packet to send [12:07:12]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:07:12]Read from MH i2c: E2 [12:07:12]MH_I2C_Read... [12:07:12]Read from MH i2c: E2 62 00 [12:07:12]MH_I2C_Read... [12:07:12]Read from MH i2c: E2 62 00 10 8F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 EE 81 00 00 0E 04 04 00 B0 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 81 [12:07:12]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 EE 81 00 00 0E 04 04 00 B0 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 [12:07:12]wFMCommunicate OK [12:07:12]SAM_PROTO_GetFieldsCounters done [12:07:12]requested_item shift.num is exist - process it [12:07:12]requested_item shift.opened is exist - process it [12:07:12]req_shift_opened [12:07:12]FM_GetShiftState [12:07:12]SAM_PROTO_GetShiftState [12:07:12]wFMCommunicate request_size=4 [12:07:12]MH_SAM_APDU [12:07:12]CAPDU: 80 13 01 00 [12:07:12]Write to MH i2c: E2 08 00 11 8F 80 13 01 00 00 00 00 00 1D [12:07:12]Write i2c OK [12:07:12]MH_I2C_Read... [12:07:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:07:12]Read from MH i2c: E2 [12:07:12]MH_I2C_Read... [12:07:12]Read from MH i2c: E2 0E 00 [12:07:12]MH_I2C_Read... [12:07:12]Read from MH i2c: E2 0E 00 11 8F 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 4E [12:07:12]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [12:07:12]wFMCommunicate OK [12:07:12]SAM_PROTO_GetShiftState done [12:07:12]FM_GetShiftState done [12:07:12]req_shift_opened done [12:07:12]requested_item shift.open_date is exist - process it [12:07:12]req_shift_open_date [12:07:12]req_shift_open_date done [12:07:12]produce_requested_data done [12:07:12]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33262,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398} [12:07:12]process_action_free print_text [12:07:12]json_value_free [12:07:12]json_value_free done [12:07:12]process_json_proto returns [12:07:12]Send response to host [12:07:12]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33262,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398}}} [12:07:12]free response buf [12:07:12]execute_script done [12:07:12]execute_script returns [12:07:12]free content buf [12:07:12]Sock 9.Close socket [12:07:12]Sock 9.Thread stoped [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:39]accept exits with 8 [12:08:39]New connection [12:08:39]New thread 3066699108 created [12:08:39]Thread 3066842468 joined [12:08:39]Waiting for new connection... [12:08:39] Sock 8.Parse request [12:08:39]Sock 8.Check first char [12:08:39]Sock 8.First char is OK [12:08:39]request: POST /json_proto HTTP/1.0 [12:08:39]Method: POST [12:08:39]URL: /json_proto [12:08:39]Method is POST - this is cgi request [12:08:39]url: /json_proto [12:08:39]query_string will be loaded in cgi processing [12:08:39]execute_cgi json_proto POST (null) [12:08:39]execute_cgi path=json_proto method=POST [12:08:39]POST find Content-Length [12:08:39]Host: 172.17.35.196:8080 [12:08:39]Content-Length: 644 [12:08:39]Content-Type: application/json [12:08:39] [12:08:39]POST finish read [12:08:39]Found Content-Length = 644 [12:08:39]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169103", "tax_sys" : 0, "items" : [ { "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:08:39]execute_script... [12:08: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)169103", "tax_sys" : 0, "items" : [ { "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:08:39]POST & json_proto [12:08:39]process_json_proto [12:08:39]json parsed OK: [12:08:39]protocol is kg_v1.0 [12:08:39]action value=close_receipt [12:08:39]process_action close_receipt [12:08:39]cmd_close_receipt [12:08:39]MH_GetDate [12:08:39]Write to MH i2c: F0 00 00 12 8F 90 [12:08:39]Write i2c OK [12:08:39]MH_I2C_Read... [12:08:39]Read from MH i2c: F0 [12:08:39]MH_I2C_Read... [12:08:39]Read from MH i2c: F0 09 00 [12:08:39]MH_I2C_Read... [12:08:39]Read from MH i2c: F0 09 00 12 8F 00 6C CB 8F 66 AD 14 F4 65 DF [12:08:39]GetLastDocTimeStamp 1720699195 [12:08:39]current date 1720699756 [12:08:39]FM_GetShiftState [12:08:39]SAM_PROTO_GetShiftState [12:08:39]wFMCommunicate request_size=4 [12:08:39]MH_SAM_APDU [12:08:39]CAPDU: 80 13 01 00 [12:08:39]Write to MH i2c: E2 08 00 13 8F 80 13 01 00 00 00 00 00 1F [12:08:39]Write i2c OK [12:08:39]MH_I2C_Read... [12:08:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:08:39]Read from MH i2c: E2 [12:08:39]MH_I2C_Read... [12:08:39]Read from MH i2c: E2 0E 00 [12:08:39]MH_I2C_Read... [12:08:39]Read from MH i2c: E2 0E 00 13 8F 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 50 [12:08:39]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [12:08:39]wFMCommunicate OK [12:08:39]SAM_PROTO_GetShiftState done [12:08:39]FM_GetShiftState done [12:08:39]opened in 1720656398 [12:08:39]opened+sec_in_day 1720742798 [12:08:39]quantity*price = 11500 [12:08:39]sum+1 = 11501 [12:08:39]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 115.00 НСП 1% : 1.02 НДС 12% : 12.21 Наличными: 115.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 18 11.07.2024 12:09 Смена: 432 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33263 ФПД: 278734727718064 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T120916&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33263&fm=278734727718064&tin=02508201610067®Number=0000000000093033&sum=11500 0 [12:08:40]StoreToDocumentArchive [12:08:40]shift 432 fd 33263 [12:08:40]save to /storage/0432/doc_00033263 [12:08:40]save last doc name /storage/0432/doc_00033263 to /storage/kkm_last_doc_name [12:08:40]save OK [12:08:40]Clear old archive folders... [12:08:40]ProcessDocumentItem done err = 0, tmpTLVsize=280 [12:08:40]tlvbuf is 002B98A0 [12:08:40]SAM_PROTO_ClearQueue [12:08:40]wFMCommunicate request_size=4 [12:08:40]MH_SAM_APDU [12:08:40]CAPDU: 80 09 00 00 [12:08:40]Write to MH i2c: E2 08 00 20 8F 80 09 00 00 00 00 00 00 21 [12:08:40]Write i2c OK [12:08:40]MH_I2C_Read... [12:08:40]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:08:40]Read from MH i2c: E2 [12:08:40]MH_I2C_Read... [12:08:40]Read from MH i2c: E2 03 00 [12:08:40]MH_I2C_Read... [12:08:40]Read from MH i2c: E2 03 00 20 8F 00 90 00 23 [12:08:40]RAPDU: 90 00 [12:08:40]wFMCommunicate OK [12:08:40]SAM_PROTO_ClearQueue done [12:08:40]KKMCreateOFDPacket [12:08:40]OFDProtocolAddRootSTLVToBuf [12:08:40]FM_MakeSignedData [12:08:40]FM_MakeSignedData [12:08:40]SAM_PROTO_SignData [12:08:40]wFMCommunicate request_size=4 [12:08:40]MH_SAM_APDU [12:08:40]CAPDU: 80 0D 01 02 [12:08:40]Write to MH i2c: E2 08 00 21 8F 80 0D 01 02 00 00 00 00 29 [12:08:40]Write i2c OK [12:08:40]MH_I2C_Read... [12:08:40]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:08:40]Read from MH i2c: E2 [12:08:40]MH_I2C_Read... [12:08:40]Read from MH i2c: E2 03 00 [12:08:40]MH_I2C_Read... [12:08:40]Read from MH i2c: E2 03 00 21 8F 00 90 00 24 [12:08:40]RAPDU: 90 00 [12:08:40]wFMCommunicate OK [12:08:40]wFMCommunicate request_size=255 [12:08:40]MH_SAM_APDU [12:08:40]CAPDU: 80 0D 02 02 FA 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 6C CB 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 [12:08:40]Write to MH i2c: E2 02 01 22 8F 80 0D 02 02 FA 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 6C CB 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 00 00 51 [12:08:40]Write i2c OK [12:08:40]MH_I2C_Read... [12:08:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:08:41]Read from MH i2c: E2 [12:08:41]MH_I2C_Read... [12:08:41]Read from MH i2c: E2 03 00 [12:08:41]MH_I2C_Read... [12:08:41]Read from MH i2c: E2 03 00 22 8F 00 90 00 25 [12:08:41]RAPDU: 90 00 [12:08:41]wFMCommunicate OK [12:08:41]wFMCommunicate request_size=39 [12:08:41]MH_SAM_APDU [12:08:41]CAPDU: 80 0D 02 02 22 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 EF 81 00 00 35 04 06 00 FD 81 FC 6E A4 B0 [12:08:41]Write to MH i2c: E2 2A 00 23 8F 80 0D 02 02 22 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 EF 81 00 00 35 04 06 00 FD 81 FC 6E A4 B0 00 00 8C [12:08:41]Write i2c OK [12:08:41]MH_I2C_Read... [12:08:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:08:41]Read from MH i2c: E2 [12:08:41]MH_I2C_Read... [12:08:41]Read from MH i2c: E2 03 00 [12:08:41]MH_I2C_Read... [12:08:41]Read from MH i2c: E2 03 00 23 8F 00 90 00 26 [12:08:41]RAPDU: 90 00 [12:08:41]wFMCommunicate OK [12:08:41]wFMCommunicate request_size=4 [12:08:41]MH_SAM_APDU [12:08:41]CAPDU: 80 0D 03 02 [12:08:41]Write to MH i2c: E2 08 00 24 8F 80 0D 03 02 00 00 00 00 2E [12:08:41]Write i2c OK [12:08:41]MH_I2C_Read... [12:08:41]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:08:41]Read from MH i2c: E2 [12:08:41]MH_I2C_Read... [12:08:41]Read from MH i2c: E2 0B 00 [12:08:41]MH_I2C_Read... [12:08:41]Read from MH i2c: E2 0B 00 24 8F 00 FC 1F 7B 76 A0 4A 92 2B 90 00 E2 [12:08:41]RAPDU: FC 1F 7B 76 A0 4A 92 2B 90 00 [12:08:41]wFMCommunicate OK [12:08:41]SAM_PROTO_SignData done [12:08:41]FM_MakeSignedData done [12:08:41]CreateOFDProtocolMessage [12:08:41]wFMCommunicate request_size=4 [12:08:41]MH_SAM_APDU [12:08:41]CAPDU: 80 11 00 00 [12:08:41]Write to MH i2c: E2 08 00 25 8F 80 11 00 00 00 00 00 00 2E [12:08:41]Write i2c OK [12:08:41]MH_I2C_Read... [12:08:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:08:41]Read from MH i2c: E2 [12:08:41]MH_I2C_Read... [12:08:41]Read from MH i2c: E2 17 00 [12:08:41]MH_I2C_Read... [12:08:41]Read from MH i2c: E2 17 00 25 8F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 7A [12:08:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [12:08:41]wFMCommunicate OK [12:08:41]CreateOFDProtocolMessage done [12:08:41]OFDSenderStorePacket 33263 [12:08:41]StoreOFDPacket docnum=33263 [12:08:41]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 2C 01 00 00 9E E8 24 01 9D 9B 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 6C CB 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 EF 81 00 00 35 04 06 00 FD 81 FC 6E A4 B0 FC 1F 7B 76 A0 4A 92 2B [12:08:41]CheckFolder [12:08:41]dirname=/storage/ofd_packets [12:08:41]CheckFolder done [12:08:41]ProducePacketName [12:08:41]name=ofd_packets/00033263 [12:08:41]NVStorageSaveData ofd_packets/00033263 [12:08:41]File name is /storage/ofd_packets/00033263 [12:08:41]Write 330 bytes [12:08:41]NVStorageSaveData done [12:08:41]OFDSenderStorePacket done [12:08:41]KKMCreateOFDPacket done [12:08:41]NVStorageSaveData kkm_last_timestamp [12:08:41]File name is /storage/kkm_last_timestamp [12:08:41]Write 4 bytes [12:08:41]NVStorageSaveData done [12:08:41]ExternCall_PrintAddStr [12:08:41]wPrintStart [12:08:41]Write to MH i2c: 01 00 00 26 8F B5 [12:08:41]Write i2c OK [12:08:41]MH_I2C_Read... [12:08:41]Read from MH i2c: 01 [12:08:41]MH_I2C_Read... [12:08:41]Read from MH i2c: 01 07 00 [12:08:41]MH_I2C_Read... [12:08:41]Read from MH i2c: 01 07 00 26 8F 00 00 00 00 00 FF 0F CA [12:08:41]RasterBufferAndPrint [12:08:41]line Счет N : (3)169103 [12:08:41]line ИНН: 02508201610067 [12:08:41]line Контрольно-Кассовый Чек [12:08:41]line ПРОДАЖА [12:08:41]OFD Sender: Processing packet 33263 [packets to send 6, broken 5] [12:08:41]ProducePacketName [12:08:41]name=ofd_packets/00033263 [12:08:41]OFD Sender: To server: pG, [12:08:41]CommunicateWithHost lk.salyk.kg:30040 [12:08:41]ConnectInit lk.salyk.kg [12:08:41]line Товар: 2000036210013 [12:08:41]line Кофе Капучино (GABB TRADE) [12:08:41]line 1.000 * 115.00 [12:08:41]line = 115.00 [12:08:41]line НДС 12% НСП 1% [12:08:41]line > о реализуемом товаре [12:08:41]line ИТОГО: 115.00 [12:08:41]line НСП 1% : 1.02 [12:08:41]line НДС 12% : 12.21 [12:08:41]line Наличными: 115.00 [12:08:41]line Безнал.: 0.00 [12:08:41]line Место: АЗС № 77 "Партнер Нефть" [12:08:41]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [12:08:41]line СНО: Общий режим [12:08:41]line Чек 18 11.07.2024 12:09 [12:08:41]line Смена: 432 ФФД: 1.0 [12:08:41]line ЗНМ: 0300000122 [12:08:41]line РНМ: 0000000000093033 [12:08:41]line Версия ККМ: 001 [12:08:41]line ФМ: 0000000000875104 [12:08:41]line ФД: 33263 [12:08:41]line ФПД: 278734727718064 [12:08:41]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T120916&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33263&fm=278734727718064&tin=02508201610067®Number=0000000000093033&sum=11500 [12:08:41]line 0 [12:08:41]Connected sock=11 [12:08:41]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 2C 01 00 00 9E E8 24 01 9D 9B 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 6C CB 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 EF 81 00 00 35 04 06 00 FD 81 FC 6E A4 B0 FC 1F 7B 76 A0 4A 92 2B [12:08:41]written 0, free lines is 4095 [12:08:41]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 9D E3 47 00 6C 40 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 35 31 30 34 10 04 04 00 EF 81 00 00 F4 03 04 00 1C 76 8F 66 B6 04 01 00 00 7F DC A6 79 7D 9B 00 BC [12:08:41]CommunicateWithHost err = 0 [12:08:41]CheckOFDResponse [12:08:41]1017 (14) - 77093643461234 [12:08:41]1041 (16) - 0000000000875104 [12:08:41]1040 (4) - 33263 [12:08:41]1012 (4) - 11.07.2024 06:05 [12:08:41]1206 (1) - 0 [12:08:41]OFD Sender: Remove packet 33263 [12:08:41]ProducePacketName [12:08:41]name=ofd_packets/00033263 [12:08:41]NVStorageDeleteData [12:08:42]Write to MH i2c: 01 00 00 4E 8F DD [12:08:42]Write i2c OK [12:08:42]MH_I2C_Read... [12:08:42]Read from MH i2c: 01 [12:08:42]MH_I2C_Read... [12:08:42]Read from MH i2c: 01 07 00 [12:08:42]MH_I2C_Read... [12:08:42]Read from MH i2c: 01 07 00 4E 8F 00 00 00 00 00 06 0D F7 [12:08:42]RasterBufferAndPrint [12:08:42]line [12:08:42]line [12:08:42]line [12:08:42]line [12:08:42]line [12:08:42]written 0, free lines is 3341 [12:08:42]MH_Cut [12:08:42]Write to MH i2c: D1 01 00 55 8F 01 B6 [12:08:42]Write i2c OK [12:08:42]MH_I2C_Read... [12:08:42]Read from MH i2c: D1 [12:08:42]MH_I2C_Read... [12:08:42]Read from MH i2c: D1 01 00 [12:08:42]MH_I2C_Read... [12:08:42]Read from MH i2c: D1 01 00 55 8F 00 B5 [12:08:42]Write to MH i2c: 01 00 00 56 8F E5 [12:08:42]Write i2c OK [12:08:42]MH_I2C_Read... [12:08:42]OFD Sender: No OFD packet to send [12:08:42]*** Cut start [12:08:42]*** Partial cut [12:08:42]*** CUTSNS_PIN = 1 [12:08:42]*** CUTSNS_PIN = 0 [12:08:43]*** Brake cut motor [12:08:43]Read from MH i2c: 01 [12:08:43]MH_I2C_Read... [12:08:43]*** Stop cut motor [12:08:43]*** Cut end [12:08:43]Read from MH i2c: 01 07 00 [12:08:43]MH_I2C_Read... [12:08:43]Read from MH i2c: 01 07 00 56 8F 00 00 00 00 00 FF 0F FA [12:08:43]process_action close_receipt done [12:08:43]requested_data is exist [12:08:43]produce_requested_data [12:08:43]requested_item fm.sn is exist - process it [12:08:43]wFMCommunicate request_size=4 [12:08:43]MH_SAM_APDU [12:08:43]CAPDU: 80 11 00 00 [12:08:43]Write to MH i2c: E2 08 00 57 8F 80 11 00 00 00 00 00 00 60 [12:08:43]Write i2c OK [12:08:43]MH_I2C_Read... [12:08:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:08:43]Read from MH i2c: E2 [12:08:43]MH_I2C_Read... [12:08:43]Read from MH i2c: E2 17 00 [12:08:43]MH_I2C_Read... [12:08:43]Read from MH i2c: E2 17 00 57 8F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 AC [12:08:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [12:08:43]wFMCommunicate OK [12:08:43]requested_item fd.num is exist - process it [12:08:43]SAM_PROTO_GetFieldsCounters [12:08:43]wFMCommunicate request_size=4 [12:08:43]MH_SAM_APDU [12:08:43]CAPDU: 80 13 00 00 [12:08:43]Write to MH i2c: E2 08 00 58 8F 80 13 00 00 00 00 00 00 63 [12:08:43]Write i2c OK [12:08:43]MH_I2C_Read... [12:08:43]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:08:43]Read from MH i2c: E2 [12:08:43]MH_I2C_Read... [12:08:43]Read from MH i2c: E2 62 00 [12:08:43]MH_I2C_Read... [12:08:43]Read from MH i2c: E2 62 00 58 8F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 EF 81 00 00 0E 04 04 00 B0 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 CD [12:08: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 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 EF 81 00 00 0E 04 04 00 B0 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 [12:08:43]wFMCommunicate OK [12:08:43]SAM_PROTO_GetFieldsCounters done [12:08:43]requested_item shift.num is exist - process it [12:08:43]requested_item shift.opened is exist - process it [12:08:43]req_shift_opened [12:08:43]FM_GetShiftState [12:08:43]SAM_PROTO_GetShiftState [12:08:43]wFMCommunicate request_size=4 [12:08:43]MH_SAM_APDU [12:08:43]CAPDU: 80 13 01 00 [12:08:43]Write to MH i2c: E2 08 00 59 8F 80 13 01 00 00 00 00 00 65 [12:08:43]Write i2c OK [12:08:43]MH_I2C_Read... [12:08:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:08:43]Read from MH i2c: E2 [12:08:43]MH_I2C_Read... [12:08:43]Read from MH i2c: E2 0E 00 [12:08:43]MH_I2C_Read... [12:08:43]Read from MH i2c: E2 0E 00 59 8F 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 96 [12:08:43]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [12:08:43]wFMCommunicate OK [12:08:43]SAM_PROTO_GetShiftState done [12:08:43]FM_GetShiftState done [12:08:43]req_shift_opened done [12:08:43]requested_item shift.open_date is exist - process it [12:08:43]req_shift_open_date [12:08:43]req_shift_open_date done [12:08:43]produce_requested_data done [12:08:43]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33263,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398} [12:08:43]process_action_free close_receipt [12:08:43]json_value_free [12:08:43]json_value_free done [12:08:43]process_json_proto returns [12:08:43]Send response to host [12:08:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33263,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398}}} [12:08:43]free response buf [12:08:43]execute_script done [12:08:43]execute_script returns [12:08:43]free content buf [12:08:43]Sock 8.Close socket [12:08:43]Sock 8.Thread stoped [12:08:47]OFD Sender: No OFD packet to send [12:08:47]accept exits with 9 [12:08:47]New connection [12:08:47]New thread 3066842468 created [12:08:47]Thread 3066699108 joined [12:08:47]Waiting for new connection... [12:08:47] Sock 9.Parse request [12:08:47]Sock 9.Check first char [12:08:47]Sock 9.First char is OK [12:08:47]request: POST /json_proto HTTP/1.0 [12:08:47]Method: POST [12:08:47]URL: /json_proto [12:08:47]Method is POST - this is cgi request [12:08:47]url: /json_proto [12:08:47]query_string will be loaded in cgi processing [12:08:47]execute_cgi json_proto POST (null) [12:08:47]execute_cgi path=json_proto method=POST [12:08:47]POST find Content-Length [12:08:47]Host: 172.17.35.196:8080 [12:08:47]Content-Length: 640 [12:08:47]Content-Type: application/json [12:08:47] [12:08:47]POST finish read [12:08:47]Found Content-Length = 640 [12:08:47]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169104", "tax_sys" : 0, "items" : [ { "code": "2000032710015", "name": "\u0421\u043E\u0447\u043D\u0438\u043A DC \u0442\u0432\u043E\u0440\u043E\u0433 75\u0433", "price" : 35.00, "quantity" : 1.000, "sum" : 35.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 35.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:08:47]execute_script... [12:08:47]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169104", "tax_sys" : 0, "items" : [ { "code": "2000032710015", "name": "\u0421\u043E\u0447\u043D\u0438\u043A DC \u0442\u0432\u043E\u0440\u043E\u0433 75\u0433", "price" : 35.00, "quantity" : 1.000, "sum" : 35.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 35.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:08:47]POST & json_proto [12:08:47]process_json_proto [12:08:47]json parsed OK: [12:08:47]protocol is kg_v1.0 [12:08:47]action value=close_receipt [12:08:47]process_action close_receipt [12:08:47]cmd_close_receipt [12:08:47]MH_GetDate [12:08:47]Write to MH i2c: F0 00 00 5A 8F D8 [12:08:47]Write i2c OK [12:08:47]MH_I2C_Read... [12:08:47]Read from MH i2c: F0 [12:08:47]MH_I2C_Read... [12:08:47]Read from MH i2c: F0 09 00 [12:08:47]MH_I2C_Read... [12:08:47]Read from MH i2c: F0 09 00 5A 8F 00 74 CB 8F 66 AD 14 F4 65 2F [12:08:47]GetLastDocTimeStamp 1720699756 [12:08:47]current date 1720699764 [12:08:47]FM_GetShiftState [12:08:47]SAM_PROTO_GetShiftState [12:08:47]wFMCommunicate request_size=4 [12:08:47]MH_SAM_APDU [12:08:47]CAPDU: 80 13 01 00 [12:08:47]Write to MH i2c: E2 08 00 5B 8F 80 13 01 00 00 00 00 00 67 [12:08:47]Write i2c OK [12:08:47]MH_I2C_Read... [12:08:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:08:47]Read from MH i2c: E2 [12:08:47]MH_I2C_Read... [12:08:47]Read from MH i2c: E2 0E 00 [12:08:47]MH_I2C_Read... [12:08:47]Read from MH i2c: E2 0E 00 5B 8F 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 98 [12:08:47]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [12:08:47]wFMCommunicate OK [12:08:47]SAM_PROTO_GetShiftState done [12:08:47]FM_GetShiftState done [12:08:47]opened in 1720656398 [12:08:47]opened+sec_in_day 1720742798 [12:08:47]quantity*price = 3500 [12:08:47]sum+1 = 3501 [12:08:47]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 35.00 НСП 1% : 0.31 НДС 12% : 3.72 Наличными: 35.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 19 11.07.2024 12:09 Смена: 432 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33264 ФПД: 136220870725566 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T120924&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33264&fm=136220870725566&tin=02508201610067®Number=0000000000093033&sum=3500 0 [12:08:48]StoreToDocumentArchive [12:08:48]shift 432 fd 33264 [12:08:48]save to /storage/0432/doc_00033264 [12:08:48]save last doc name /storage/0432/doc_00033264 to /storage/kkm_last_doc_name [12:08:48]save OK [12:08:48]Clear old archive folders... [12:08:48]ProcessDocumentItem done err = 0, tmpTLVsize=275 [12:08:48]tlvbuf is 002BCF80 [12:08:48]SAM_PROTO_ClearQueue [12:08:48]wFMCommunicate request_size=4 [12:08:48]MH_SAM_APDU [12:08:48]CAPDU: 80 09 00 00 [12:08:48]Write to MH i2c: E2 08 00 68 8F 80 09 00 00 00 00 00 00 69 [12:08:48]Write i2c OK [12:08:48]MH_I2C_Read... [12:08:48]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:08:48]Read from MH i2c: E2 [12:08:48]MH_I2C_Read... [12:08:48]Read from MH i2c: E2 03 00 [12:08:48]MH_I2C_Read... [12:08:48]Read from MH i2c: E2 03 00 68 8F 00 90 00 6B [12:08:48]RAPDU: 90 00 [12:08:48]wFMCommunicate OK [12:08:48]SAM_PROTO_ClearQueue done [12:08:48]KKMCreateOFDPacket [12:08:48]OFDProtocolAddRootSTLVToBuf [12:08:48]FM_MakeSignedData [12:08:48]FM_MakeSignedData [12:08:48]SAM_PROTO_SignData [12:08:48]wFMCommunicate request_size=4 [12:08:48]MH_SAM_APDU [12:08:48]CAPDU: 80 0D 01 02 [12:08:48]Write to MH i2c: E2 08 00 69 8F 80 0D 01 02 00 00 00 00 71 [12:08:48]Write i2c OK [12:08:48]MH_I2C_Read... [12:08:48]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:08:48]Read from MH i2c: E2 [12:08:48]MH_I2C_Read... [12:08:48]Read from MH i2c: E2 03 00 [12:08:48]MH_I2C_Read... [12:08:48]Read from MH i2c: E2 03 00 69 8F 00 90 00 6C [12:08:48]RAPDU: 90 00 [12:08:48]wFMCommunicate OK [12:08:48]wFMCommunicate request_size=255 [12:08:48]MH_SAM_APDU [12:08:48]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 32 30 30 30 30 33 32 37 31 30 30 31 35 06 04 21 00 D0 A1 D0 BE D1 87 D0 BD D0 B8 D0 BA 20 44 43 20 D1 82 D0 B2 D0 BE D1 80 D0 BE D0 B3 20 37 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AC 0D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 74 01 00 00 00 00 07 04 06 00 AC 0D 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 74 CB 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 [12:08:48]Write to MH i2c: E2 02 01 6A 8F 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 32 30 30 30 30 33 32 37 31 30 30 31 35 06 04 21 00 D0 A1 D0 BE D1 87 D0 BD D0 B8 D0 BA 20 44 43 20 D1 82 D0 B2 D0 BE D1 80 D0 BE D0 B3 20 37 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AC 0D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 74 01 00 00 00 00 07 04 06 00 AC 0D 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 74 CB 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 00 00 39 [12:08:48]Write i2c OK [12:08:48]MH_I2C_Read... [12:08:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:08:49]Read from MH i2c: E2 [12:08:49]MH_I2C_Read... [12:08:49]Read from MH i2c: E2 03 00 [12:08:49]MH_I2C_Read... [12:08:49]Read from MH i2c: E2 03 00 6A 8F 00 90 00 6D [12:08:49]RAPDU: 90 00 [12:08:49]wFMCommunicate OK [12:08:49]wFMCommunicate request_size=34 [12:08:49]MH_SAM_APDU [12:08:49]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 F0 81 00 00 35 04 06 00 7B E4 64 9C 4F BE [12:08:49]Write to MH i2c: E2 25 00 6B 8F 80 0D 02 02 1D 00 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 F0 81 00 00 35 04 06 00 7B E4 64 9C 4F BE 00 00 0B [12:08:49]Write i2c OK [12:08:49]MH_I2C_Read... [12:08:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:08:49]Read from MH i2c: E2 [12:08:49]MH_I2C_Read... [12:08:49]Read from MH i2c: E2 03 00 [12:08:49]MH_I2C_Read... [12:08:49]Read from MH i2c: E2 03 00 6B 8F 00 90 00 6E [12:08:49]RAPDU: 90 00 [12:08:49]wFMCommunicate OK [12:08:49]wFMCommunicate request_size=4 [12:08:49]MH_SAM_APDU [12:08:49]CAPDU: 80 0D 03 02 [12:08:49]Write to MH i2c: E2 08 00 6C 8F 80 0D 03 02 00 00 00 00 76 [12:08:49]Write i2c OK [12:08:49]MH_I2C_Read... [12:08:49]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:08:49]Read from MH i2c: E2 [12:08:49]MH_I2C_Read... [12:08:49]Read from MH i2c: E2 0B 00 [12:08:49]MH_I2C_Read... [12:08:49]Read from MH i2c: E2 0B 00 6C 8F 00 03 83 40 D2 B1 8C 9A C6 90 00 AC [12:08:49]RAPDU: 03 83 40 D2 B1 8C 9A C6 90 00 [12:08:49]wFMCommunicate OK [12:08:49]SAM_PROTO_SignData done [12:08:49]FM_MakeSignedData done [12:08:49]CreateOFDProtocolMessage [12:08:49]wFMCommunicate request_size=4 [12:08:49]MH_SAM_APDU [12:08:49]CAPDU: 80 11 00 00 [12:08:49]Write to MH i2c: E2 08 00 6D 8F 80 11 00 00 00 00 00 00 76 [12:08:49]Write i2c OK [12:08:49]MH_I2C_Read... [12:08:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:08:49]Read from MH i2c: E2 [12:08:49]MH_I2C_Read... [12:08:49]Read from MH i2c: E2 17 00 [12:08:49]MH_I2C_Read... [12:08:49]Read from MH i2c: E2 17 00 6D 8F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 C2 [12:08:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [12:08:49]wFMCommunicate OK [12:08:49]CreateOFDProtocolMessage done [12:08:49]OFDSenderStorePacket 33264 [12:08:49]StoreOFDPacket docnum=33264 [12:08:49]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 27 01 00 00 0F 24 1F 01 CF DB 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 32 30 30 30 30 33 32 37 31 30 30 31 35 06 04 21 00 D0 A1 D0 BE D1 87 D0 BD D0 B8 D0 BA 20 44 43 20 D1 82 D0 B2 D0 BE D1 80 D0 BE D0 B3 20 37 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AC 0D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 74 01 00 00 00 00 07 04 06 00 AC 0D 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 74 CB 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 F0 81 00 00 35 04 06 00 7B E4 64 9C 4F BE 03 83 40 D2 B1 8C 9A C6 [12:08:49]CheckFolder [12:08:49]dirname=/storage/ofd_packets [12:08:49]CheckFolder done [12:08:49]ProducePacketName [12:08:49]name=ofd_packets/00033264 [12:08:49]NVStorageSaveData ofd_packets/00033264 [12:08:49]File name is /storage/ofd_packets/00033264 [12:08:49]Write 325 bytes [12:08:49]NVStorageSaveData done [12:08:49]OFDSenderStorePacket done [12:08:49]KKMCreateOFDPacket done [12:08:49]NVStorageSaveData kkm_last_timestamp [12:08:49]File name is /storage/kkm_last_timestamp [12:08:49]Write 4 bytes [12:08:49]NVStorageSaveData done [12:08:49]ExternCall_PrintAddStr [12:08:49]wPrintStart [12:08:49]Write to MH i2c: 01 00 00 6E 8F FD [12:08:49]Write i2c OK [12:08:49]MH_I2C_Read... [12:08:49]Read from MH i2c: 01 [12:08:49]MH_I2C_Read... [12:08:49]Read from MH i2c: 01 07 00 [12:08:49]MH_I2C_Read... [12:08:49]Read from MH i2c: 01 07 00 6E 8F 00 00 00 00 00 FF 0F 12 [12:08:49]RasterBufferAndPrint [12:08:49]line Счет N : (3)169104 [12:08:49]line ИНН: 02508201610067 [12:08:49]line Контрольно-Кассовый Чек [12:08:49]line ПРОДАЖА [12:08:49]line Товар: 2000032710015 [12:08:49]line Сочник DC творог 75г [12:08:49]line 1.000 * 35.00 [12:08:49]line = 35.00 [12:08:49]line НДС 12% НСП 1% [12:08:49]line > о реализуемом товаре [12:08:49]line ИТОГО: 35.00 [12:08:49]line НСП 1% : 0.31 [12:08:49]line НДС 12% : 3.72 [12:08:49]line Наличными: 35.00 [12:08:49]line Безнал.: 0.00 [12:08:49]line Место: АЗС № 77 "Партнер Нефть" [12:08:49]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [12:08:49]line СНО: Общий режим [12:08:49]line Чек 19 11.07.2024 12:09 [12:08:49]line Смена: 432 ФФД: 1.0 [12:08:49]line ЗНМ: 0300000122 [12:08:49]line РНМ: 0000000000093033 [12:08:49]line Версия ККМ: 001 [12:08:49]line ФМ: 0000000000875104 [12:08:49]line ФД: 33264 [12:08:49]line ФПД: 136220870725566 [12:08:49]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T120924&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33264&fm=136220870725566&tin=02508201610067®Number=0000000000093033&sum=3500 [12:08:49]OFD Sender: Processing packet 33264 [packets to send 6, broken 5] [12:08:49]ProducePacketName [12:08:49]name=ofd_packets/00033264 [12:08:49]OFD Sender: To server: pG, [12:08:49]CommunicateWithHost lk.salyk.kg:30040 [12:08:49]ConnectInit lk.salyk.kg [12:08:49]line 0 [12:08:49]written 0, free lines is 4095 [12:08:49]Connected sock=10 [12:08:49]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 27 01 00 00 0F 24 1F 01 CF DB 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 32 30 30 30 30 33 32 37 31 30 30 31 35 06 04 21 00 D0 A1 D0 BE D1 87 D0 BD D0 B8 D0 BA 20 44 43 20 D1 82 D0 B2 D0 BE D1 80 D0 BE D0 B3 20 37 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AC 0D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 74 01 00 00 00 00 07 04 06 00 AC 0D 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 74 CB 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 F0 81 00 00 35 04 06 00 7B E4 64 9C 4F BE 03 83 40 D2 B1 8C 9A C6 [12:08:49]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 0D B3 47 00 06 12 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 F0 81 00 00 F4 03 04 00 24 76 8F 66 B6 04 01 00 00 0B 4A 34 30 FE D0 56 FD [12:08:49]CommunicateWithHost err = 0 [12:08:49]CheckOFDResponse [12:08:49]1017 (14) - 77093643461234 [12:08:49]1041 (16) - 0000000000875104 [12:08:49]1040 (4) - 33264 [12:08:49]1012 (4) - 11.07.2024 06:05 [12:08:49]1206 (1) - 0 [12:08:49]OFD Sender: Remove packet 33264 [12:08:49]ProducePacketName [12:08:49]name=ofd_packets/00033264 [12:08:49]NVStorageDeleteData [12:08:49]Write to MH i2c: 01 00 00 96 8F 25 [12:08:49]Write i2c OK [12:08:49]MH_I2C_Read... [12:08:49]Read from MH i2c: 01 [12:08:49]MH_I2C_Read... [12:08:49]Read from MH i2c: 01 07 00 [12:08:49]MH_I2C_Read... [12:08:49]Read from MH i2c: 01 07 00 96 8F 00 00 00 00 00 06 0D 3F [12:08:49]RasterBufferAndPrint [12:08:49]line [12:08:49]line [12:08:49]line [12:08:49]line [12:08:49]line [12:08:49]written 0, free lines is 3346 [12:08:49]MH_Cut [12:08:49]Write to MH i2c: D1 01 00 9D 8F 01 FE [12:08:49]Write i2c OK [12:08:49]MH_I2C_Read... [12:08:49]Read from MH i2c: D1 [12:08:49]MH_I2C_Read... [12:08:49]Read from MH i2c: D1 01 00 [12:08:49]MH_I2C_Read... [12:08:49]Read from MH i2c: D1 01 00 9D 8F 00 FD [12:08:49]Write to MH i2c: 01 00 00 9E 8F 2D [12:08:49]Write i2c OK [12:08:49]MH_I2C_Read... [12:08:50]OFD Sender: No OFD packet to send [12:08:50]*** Cut start [12:08:50]*** Partial cut [12:08:50]*** CUTSNS_PIN = 1 [12:08:50]*** CUTSNS_PIN = 0 [12:08:50]*** Brake cut motor [12:08:51]Read from MH i2c: 01 [12:08:51]MH_I2C_Read... [12:08:51]*** Stop cut motor [12:08:51]*** Cut end [12:08:51]Read from MH i2c: 01 07 00 [12:08:51]MH_I2C_Read... [12:08:51]Read from MH i2c: 01 07 00 9E 8F 00 00 00 00 00 FF 0F 42 [12:08:51]process_action close_receipt done [12:08:51]requested_data is exist [12:08:51]produce_requested_data [12:08:51]requested_item fm.sn is exist - process it [12:08:51]wFMCommunicate request_size=4 [12:08:51]MH_SAM_APDU [12:08:51]CAPDU: 80 11 00 00 [12:08:51]Write to MH i2c: E2 08 00 9F 8F 80 11 00 00 00 00 00 00 A8 [12:08:51]Write i2c OK [12:08:51]MH_I2C_Read... [12:08:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:08:51]Read from MH i2c: E2 [12:08:51]MH_I2C_Read... [12:08:51]Read from MH i2c: E2 17 00 [12:08:51]MH_I2C_Read... [12:08:51]Read from MH i2c: E2 17 00 9F 8F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 F4 [12:08:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [12:08:51]wFMCommunicate OK [12:08:51]requested_item fd.num is exist - process it [12:08:51]SAM_PROTO_GetFieldsCounters [12:08:51]wFMCommunicate request_size=4 [12:08:51]MH_SAM_APDU [12:08:51]CAPDU: 80 13 00 00 [12:08:51]Write to MH i2c: E2 08 00 A0 8F 80 13 00 00 00 00 00 00 AB [12:08:51]Write i2c OK [12:08:51]MH_I2C_Read... [12:08:51]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:08:51]Read from MH i2c: E2 [12:08:51]MH_I2C_Read... [12:08:51]Read from MH i2c: E2 62 00 [12:08:51]MH_I2C_Read... [12:08:51]Read from MH i2c: E2 62 00 A0 8F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 F0 81 00 00 0E 04 04 00 B0 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 19 [12:08: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 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 F0 81 00 00 0E 04 04 00 B0 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 [12:08:51]wFMCommunicate OK [12:08:51]SAM_PROTO_GetFieldsCounters done [12:08:51]requested_item shift.num is exist - process it [12:08:51]requested_item shift.opened is exist - process it [12:08:51]req_shift_opened [12:08:51]FM_GetShiftState [12:08:51]SAM_PROTO_GetShiftState [12:08:51]wFMCommunicate request_size=4 [12:08:51]MH_SAM_APDU [12:08:51]CAPDU: 80 13 01 00 [12:08:51]Write to MH i2c: E2 08 00 A1 8F 80 13 01 00 00 00 00 00 AD [12:08:51]Write i2c OK [12:08:51]MH_I2C_Read... [12:08:51]Read from MH i2c: E2 [12:08:51]MH_I2C_Read... [12:08:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:08:51]Read from MH i2c: E2 0E 00 [12:08:51]MH_I2C_Read... [12:08:51]Read from MH i2c: E2 0E 00 A1 8F 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 DE [12:08:51]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [12:08:51]wFMCommunicate OK [12:08:51]SAM_PROTO_GetShiftState done [12:08:51]FM_GetShiftState done [12:08:51]req_shift_opened done [12:08:51]requested_item shift.open_date is exist - process it [12:08:51]req_shift_open_date [12:08:51]req_shift_open_date done [12:08:51]produce_requested_data done [12:08:51]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33264,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398} [12:08:51]process_action_free close_receipt [12:08:51]json_value_free [12:08:51]json_value_free done [12:08:51]process_json_proto returns [12:08:51]Send response to host [12:08:51]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33264,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398}}} [12:08:51]free response buf [12:08:51]execute_script done [12:08:51]execute_script returns [12:08:51]free content buf [12:08:51]Sock 9.Close socket [12:08:51]Sock 9.Thread stoped [12:08:55]OFD Sender: No OFD packet to send [12:09:00]OFD Sender: No OFD packet to send [12:09:05]OFD Sender: No OFD packet to send [12:09:10]OFD Sender: No OFD packet to send [12:09:15]OFD Sender: No OFD packet to send [12:09:20]OFD Sender: No OFD packet to send [12:09:25]OFD Sender: No OFD packet to send [12:09:30]OFD Sender: No OFD packet to send [12:09:35]OFD Sender: No OFD packet to send [12:09:40]OFD Sender: No OFD packet to send [12:09:45]OFD Sender: No OFD packet to send [12:09:50]OFD Sender: No OFD packet to send [12:09:55]OFD Sender: No OFD packet to send [12:10:00]OFD Sender: No OFD packet to send [12:10:05]OFD Sender: No OFD packet to send [12:10:10]OFD Sender: No OFD packet to send [12:10:15]OFD Sender: No OFD packet to send [12:10:20]OFD Sender: No OFD packet to send [12:10:25]OFD Sender: No OFD packet to send [12:10:30]OFD Sender: No OFD packet to send [12:10:35]OFD Sender: No OFD packet to send [12:10:40]OFD Sender: No OFD packet to send [12:10:45]OFD Sender: No OFD packet to send [12:10:50]OFD Sender: No OFD packet to send [12:10:55]OFD Sender: No OFD packet to send [12:11:00]OFD Sender: No OFD packet to send [12:11:05]OFD Sender: No OFD packet to send [12:11:10]OFD Sender: No OFD packet to send [12:11:15]OFD Sender: No OFD packet to send [12:11:20]OFD Sender: No OFD packet to send [12:11:25]OFD Sender: No OFD packet to send [12:11:30]OFD Sender: No OFD packet to send [12:11:35]OFD Sender: No OFD packet to send [12:11:40]OFD Sender: No OFD packet to send [12:11:45]OFD Sender: No OFD packet to send [12:11:50]OFD Sender: No OFD packet to send [12:11:55]OFD Sender: No OFD packet to send [12:12:00]OFD Sender: No OFD packet to send [12:12:05]OFD Sender: No OFD packet to send [12:12:10]OFD Sender: No OFD packet to send [12:12:15]OFD Sender: No OFD packet to send [12:12:20]OFD Sender: No OFD packet to send [12:12:25]OFD Sender: No OFD packet to send [12:12:30]OFD Sender: No OFD packet to send [12:12:35]OFD Sender: No OFD packet to send [12:12:40]OFD Sender: No OFD packet to send [12:12:45]OFD Sender: No OFD packet to send [12:12:50]OFD Sender: No OFD packet to send [12:12:55]OFD Sender: No OFD packet to send [12:13:00]OFD Sender: No OFD packet to send [12:13:05]OFD Sender: No OFD packet to send [12:13:10]OFD Sender: No OFD packet to send [12:13:15]OFD Sender: No OFD packet to send [12:13:20]OFD Sender: No OFD packet to send [12:13:25]OFD Sender: No OFD packet to send [12:13:30]OFD Sender: No OFD packet to send [12:13:35]OFD Sender: No OFD packet to send [12:13:40]OFD Sender: No OFD packet to send [12:13:45]OFD Sender: No OFD packet to send [12:13:50]OFD Sender: No OFD packet to send [12:13:55]OFD Sender: No OFD packet to send [12:13:55]accept exits with 8 [12:13:55]New connection [12:13:55]New thread 3066699108 created [12:13:55]Thread 3066842468 joined [12:13:55]Waiting for new connection... [12:13:55] Sock 8.Parse request [12:13:55]Sock 8.Check first char [12:13:55]Sock 8.First char is OK [12:13:55]request: POST /json_proto HTTP/1.0 [12:13:55]Method: POST [12:13:55]URL: /json_proto [12:13:55]Method is POST - this is cgi request [12:13:55]url: /json_proto [12:13:55]query_string will be loaded in cgi processing [12:13:55]execute_cgi json_proto POST (null) [12:13:55]execute_cgi path=json_proto method=POST [12:13:55]POST find Content-Length [12:13:55]Host: 172.17.35.196:8080 [12:13:55]Content-Length: 886 [12:13:55]Content-Type: application/json [12:13:55] [12:13:55]POST finish read [12:13:55]Found Content-Length = 886 [12:13:55]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169105", "tax_sys" : 0, "items" : [ { "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 2.000, "sum" : 230.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 345.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:13:55]execute_script... [12:13: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)169105", "tax_sys" : 0, "items" : [ { "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 2.000, "sum" : 230.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 345.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:13:55]POST & json_proto [12:13:55]process_json_proto [12:13:55]json parsed OK: [12:13:55]protocol is kg_v1.0 [12:13:55]action value=close_receipt [12:13:55]process_action close_receipt [12:13:55]cmd_close_receipt [12:13:55]MH_GetDate [12:13:55]Write to MH i2c: F0 00 00 A2 8F 20 [12:13:55]Write i2c OK [12:13:55]MH_I2C_Read... [12:13:55]Read from MH i2c: F0 [12:13:55]MH_I2C_Read... [12:13:55]Read from MH i2c: F0 09 00 [12:13:55]MH_I2C_Read... [12:13:55]Read from MH i2c: F0 09 00 A2 8F 00 A8 CC 8F 66 AD 14 F4 65 AC [12:13:55]GetLastDocTimeStamp 1720699764 [12:13:55]current date 1720700072 [12:13:55]FM_GetShiftState [12:13:55]SAM_PROTO_GetShiftState [12:13:55]wFMCommunicate request_size=4 [12:13:55]MH_SAM_APDU [12:13:55]CAPDU: 80 13 01 00 [12:13:55]Write to MH i2c: E2 08 00 A3 8F 80 13 01 00 00 00 00 00 AF [12:13:55]Write i2c OK [12:13:55]MH_I2C_Read... [12:13:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:13:55]Read from MH i2c: E2 [12:13:55]MH_I2C_Read... [12:13:55]Read from MH i2c: E2 0E 00 [12:13:55]MH_I2C_Read... [12:13:55]Read from MH i2c: E2 0E 00 A3 8F 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 E0 [12:13:55]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [12:13:55]wFMCommunicate OK [12:13:55]SAM_PROTO_GetShiftState done [12:13:55]FM_GetShiftState done [12:13:55]opened in 1720656398 [12:13:55]opened+sec_in_day 1720742798 [12:13:55]quantity*price = 23000 [12:13:55]sum+1 = 23001 [12:13:55]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000036240010 Кофе Латте (GABB TRADE) 1.000 * 115.00 = 115.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 345.00 НСП 1% : 3.05 НДС 12% : 36.63 Наличными: 345.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 20 11.07.2024 12:14 Смена: 432 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33265 ФПД: 79071072314261 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T121432&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33265&fm=79071072314261&tin=02508201610067®Number=0000000000093033&sum=34500 0 [12:13:56]StoreToDocumentArchive [12:13:56]shift 432 fd 33265 [12:13:56]save to /storage/0432/doc_00033265 [12:13:56]save last doc name /storage/0432/doc_00033265 to /storage/kkm_last_doc_name [12:13:56]save OK [12:13:56]Clear old archive folders... [12:13:56]ProcessDocumentItem done err = 0, tmpTLVsize=384 [12:13:56]tlvbuf is 0022F990 [12:13:56]SAM_PROTO_ClearQueue [12:13:56]wFMCommunicate request_size=4 [12:13:56]MH_SAM_APDU [12:13:56]CAPDU: 80 09 00 00 [12:13:56]Write to MH i2c: E2 08 00 B0 8F 80 09 00 00 00 00 00 00 B1 [12:13:56]Write i2c OK [12:13:56]MH_I2C_Read... [12:13:57]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:13:57]Read from MH i2c: E2 [12:13:57]MH_I2C_Read... [12:13:57]Read from MH i2c: E2 03 00 [12:13:57]MH_I2C_Read... [12:13:57]Read from MH i2c: E2 03 00 B0 8F 00 90 00 B3 [12:13:57]RAPDU: 90 00 [12:13:57]wFMCommunicate OK [12:13:57]SAM_PROTO_ClearQueue done [12:13:57]KKMCreateOFDPacket [12:13:57]OFDProtocolAddRootSTLVToBuf [12:13:57]FM_MakeSignedData [12:13:57]FM_MakeSignedData [12:13:57]SAM_PROTO_SignData [12:13:57]wFMCommunicate request_size=4 [12:13:57]MH_SAM_APDU [12:13:57]CAPDU: 80 0D 01 02 [12:13:57]Write to MH i2c: E2 08 00 B1 8F 80 0D 01 02 00 00 00 00 B9 [12:13:57]Write i2c OK [12:13:57]MH_I2C_Read... [12:13:57]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:13:57]Read from MH i2c: E2 [12:13:57]MH_I2C_Read... [12:13:57]Read from MH i2c: E2 03 00 [12:13:57]MH_I2C_Read... [12:13:57]Read from MH i2c: E2 03 00 B1 8F 00 90 00 B4 [12:13:57]RAPDU: 90 00 [12:13:57]wFMCommunicate OK [12:13:57]wFMCommunicate request_size=255 [12:13:57]MH_SAM_APDU [12:13:57]CAPDU: 80 0D 02 02 FA 03 00 80 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 D8 59 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C4 86 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 [12:13:57]Write to MH i2c: E2 02 01 B2 8F 80 0D 02 02 FA 00 03 00 80 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 D8 59 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C4 86 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 BC [12:13:57]Write i2c OK [12:13:57]MH_I2C_Read... [12:13:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:13:57]Read from MH i2c: E2 [12:13:57]MH_I2C_Read... [12:13:57]Read from MH i2c: E2 03 00 [12:13:57]MH_I2C_Read... [12:13:57]Read from MH i2c: E2 03 00 B2 8F 00 90 00 B5 [12:13:57]RAPDU: 90 00 [12:13:57]wFMCommunicate OK [12:13:57]wFMCommunicate request_size=143 [12:13:57]MH_SAM_APDU [12:13:57]CAPDU: 80 0D 02 02 8A 31 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4F 0E 00 00 00 00 07 04 06 00 C4 86 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 A8 CC 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 F1 81 00 00 35 04 06 00 47 EA 2B 2D 63 95 [12:13:57]Write to MH i2c: E2 92 00 B3 8F 80 0D 02 02 8A 00 31 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4F 0E 00 00 00 00 07 04 06 00 C4 86 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 A8 CC 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 F1 81 00 00 35 04 06 00 47 EA 2B 2D 63 95 00 00 E9 [12:13:57]Write i2c OK [12:13:57]MH_I2C_Read... [12:13:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:13:57]Read from MH i2c: E2 [12:13:57]MH_I2C_Read... [12:13:57]Read from MH i2c: E2 03 00 [12:13:57]MH_I2C_Read... [12:13:57]Read from MH i2c: E2 03 00 B3 8F 00 90 00 B6 [12:13:57]RAPDU: 90 00 [12:13:57]wFMCommunicate OK [12:13:57]wFMCommunicate request_size=4 [12:13:57]MH_SAM_APDU [12:13:57]CAPDU: 80 0D 03 02 [12:13:57]Write to MH i2c: E2 08 00 B4 8F 80 0D 03 02 00 00 00 00 BE [12:13:57]Write i2c OK [12:13:57]MH_I2C_Read... [12:13:57]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:13:57]Read from MH i2c: E2 [12:13:57]MH_I2C_Read... [12:13:57]Read from MH i2c: E2 0B 00 [12:13:57]MH_I2C_Read... [12:13:57]Read from MH i2c: E2 0B 00 B4 8F 00 AC 5E D6 1F BB 8E 5F 21 90 00 87 [12:13:57]RAPDU: AC 5E D6 1F BB 8E 5F 21 90 00 [12:13:57]wFMCommunicate OK [12:13:57]SAM_PROTO_SignData done [12:13:57]FM_MakeSignedData done [12:13:57]CreateOFDProtocolMessage [12:13:57]wFMCommunicate request_size=4 [12:13:57]MH_SAM_APDU [12:13:57]CAPDU: 80 11 00 00 [12:13:57]Write to MH i2c: E2 08 00 B5 8F 80 11 00 00 00 00 00 00 BE [12:13:57]Write i2c OK [12:13:57]MH_I2C_Read... [12:13:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:13:57]Read from MH i2c: E2 [12:13:57]MH_I2C_Read... [12:13:57]Read from MH i2c: E2 17 00 [12:13:57]MH_I2C_Read... [12:13:57]Read from MH i2c: E2 17 00 B5 8F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 0A [12:13:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [12:13:57]wFMCommunicate OK [12:13:57]CreateOFDProtocolMessage done [12:13:57]OFDSenderStorePacket 33265 [12:13:57]StoreOFDPacket docnum=33265 [12:13:57]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 94 01 00 00 44 8A 8C 01 31 A1 5A 03 01 00 03 00 80 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 D8 59 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C4 86 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 31 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4F 0E 00 00 00 00 07 04 06 00 C4 86 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 A8 CC 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 F1 81 00 00 35 04 06 00 47 EA 2B 2D 63 95 AC 5E D6 1F BB 8E 5F 21 [12:13:57]CheckFolder [12:13:57]dirname=/storage/ofd_packets [12:13:57]CheckFolder done [12:13:57]ProducePacketName [12:13:57]name=ofd_packets/00033265 [12:13:57]NVStorageSaveData ofd_packets/00033265 [12:13:57]File name is /storage/ofd_packets/00033265 [12:13:57]Write 434 bytes [12:13:57]NVStorageSaveData done [12:13:57]OFDSenderStorePacket done [12:13:57]KKMCreateOFDPacket done [12:13:57]NVStorageSaveData kkm_last_timestamp [12:13:57]File name is /storage/kkm_last_timestamp [12:13:57]Write 4 bytes [12:13:57]NVStorageSaveData done [12:13:57]ExternCall_PrintAddStr [12:13:57]wPrintStart [12:13:57]Write to MH i2c: 01 00 00 B6 8F 45 [12:13:57]Write i2c OK [12:13:57]MH_I2C_Read... [12:13:57]Read from MH i2c: 01 [12:13:57]MH_I2C_Read... [12:13:57]Read from MH i2c: 01 07 00 [12:13:57]MH_I2C_Read... [12:13:57]Read from MH i2c: 01 07 00 B6 8F 00 00 00 00 00 FF 0F 5A [12:13:57]RasterBufferAndPrint [12:13:57]line Счет N : (3)169105 [12:13:57]line ИНН: 02508201610067 [12:13:57]line Контрольно-Кассовый Чек [12:13:57]line ПРОДАЖА [12:13:57]line Товар: 2000036210013 [12:13:57]line Кофе Капучино (GABB TRADE) [12:13:57]line 2.000 * 115.00 [12:13:57]line = 230.00 [12:13:57]line НДС 12% НСП 1% [12:13:57]line > о реализуемом товаре [12:13:57]line Товар: 2000036240010 [12:13:57]line Кофе Латте (GABB TRADE) [12:13:57]line 1.000 * 115.00 [12:13:57]line = 115.00 [12:13:57]line НДС 12% НСП 1% [12:13:57]line > о реализуемом товаре [12:13:57]line ИТОГО: 345.00 [12:13:57]line НСП 1% : 3.05 [12:13:57]line НДС 12% : 36.63 [12:13:57]line Наличными: 345.00 [12:13:57]line Безнал.: 0.00 [12:13:57]line Место: АЗС № 77 "Партнер Нефть" [12:13:57]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [12:13:57]line СНО: Общий режим [12:13:57]line Чек 20 11.07.2024 12:14 [12:13:57]line Смена: 432 ФФД: 1.0 [12:13:57]line ЗНМ: 0300000122 [12:13:57]line РНМ: 0000000000093033 [12:13:57]line Версия ККМ: 001 [12:13:57]line ФМ: 0000000000875104 [12:13:57]line ФД: 33265 [12:13:57]line ФПД: 79071072314261 [12:13:57]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T121432&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33265&fm=79071072314261&tin=02508201610067®Number=0000000000093033&sum=34500 [12:13:57]line 0 [12:13:57]OFD Sender: Processing packet 33265 [packets to send 6, broken 5] [12:13:57]ProducePacketName [12:13:57]name=ofd_packets/00033265 [12:13:57]OFD Sender: To server: pG, [12:13:57]CommunicateWithHost lk.salyk.kg:30040 [12:13:57]ConnectInit lk.salyk.kg [12:13:57]written 0, free lines is 4095 [12:13:58]Connected sock=10 [12:13:58]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 94 01 00 00 44 8A 8C 01 31 A1 5A 03 01 00 03 00 80 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 D8 59 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C4 86 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 31 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4F 0E 00 00 00 00 07 04 06 00 C4 86 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 A8 CC 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 F1 81 00 00 35 04 06 00 47 EA 2B 2D 63 95 AC 5E D6 1F BB 8E 5F 21 [12:13:58]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 DB FC 47 00 9E 53 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 F1 81 00 00 F4 03 04 00 58 77 8F 66 B6 04 01 00 00 74 DD 25 9B B1 30 97 37 [12:13:58]CommunicateWithHost err = 0 [12:13:58]CheckOFDResponse [12:13:58]1017 (14) - 77093643461234 [12:13:58]1041 (16) - 0000000000875104 [12:13:58]1040 (4) - 33265 [12:13:58]1012 (4) - 11.07.2024 06:10 [12:13:58]1206 (1) - 0 [12:13:58]OFD Sender: Remove packet 33265 [12:13:58]ProducePacketName [12:13:58]name=ofd_packets/00033265 [12:13:58]NVStorageDeleteData [12:13:58]Write to MH i2c: 01 00 00 E4 8F 73 [12:13:58]Write i2c OK [12:13:58]MH_I2C_Read... [12:13:58]Read from MH i2c: 01 [12:13:58]MH_I2C_Read... [12:13:58]Read from MH i2c: 01 07 00 [12:13:58]MH_I2C_Read... [12:13:58]Read from MH i2c: 01 07 00 E4 8F 00 00 00 00 00 A1 0C 27 [12:13:58]RasterBufferAndPrint [12:13:58]line [12:13:58]line [12:13:58]line [12:13:58]line [12:13:58]line [12:13:58]written 0, free lines is 3240 [12:13:58]MH_Cut [12:13:58]Write to MH i2c: D1 01 00 EB 8F 01 4C [12:13:58]Write i2c OK [12:13:58]MH_I2C_Read... [12:13:58]Read from MH i2c: D1 [12:13:58]MH_I2C_Read... [12:13:58]Read from MH i2c: D1 01 00 [12:13:58]MH_I2C_Read... [12:13:58]Read from MH i2c: D1 01 00 EB 8F 00 4B [12:13:58]Write to MH i2c: 01 00 00 EC 8F 7B [12:13:58]Write i2c OK [12:13:58]MH_I2C_Read... [12:13:58]OFD Sender: No OFD packet to send [12:13:59]*** Cut start [12:13:59]*** Partial cut [12:13:59]*** CUTSNS_PIN = 1 [12:13:59]*** CUTSNS_PIN = 0 [12:13:59]*** Brake cut motor [12:13:59]Read from MH i2c: 01 [12:13:59]MH_I2C_Read... [12:13:59]*** Stop cut motor [12:13:59]*** Cut end [12:13:59]Read from MH i2c: 01 07 00 [12:13:59]MH_I2C_Read... [12:13:59]Read from MH i2c: 01 07 00 EC 8F 00 00 00 00 00 FF 0F 90 [12:13:59]process_action close_receipt done [12:13:59]requested_data is exist [12:13:59]produce_requested_data [12:13:59]requested_item fm.sn is exist - process it [12:13:59]wFMCommunicate request_size=4 [12:13:59]MH_SAM_APDU [12:13:59]CAPDU: 80 11 00 00 [12:13:59]Write to MH i2c: E2 08 00 ED 8F 80 11 00 00 00 00 00 00 F6 [12:13:59]Write i2c OK [12:13:59]MH_I2C_Read... [12:13:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:13:59]Read from MH i2c: E2 [12:13:59]MH_I2C_Read... [12:13:59]Read from MH i2c: E2 17 00 [12:13:59]MH_I2C_Read... [12:13:59]Read from MH i2c: E2 17 00 ED 8F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 42 [12:13:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [12:13:59]wFMCommunicate OK [12:13:59]requested_item fd.num is exist - process it [12:13:59]SAM_PROTO_GetFieldsCounters [12:13:59]wFMCommunicate request_size=4 [12:13:59]MH_SAM_APDU [12:13:59]CAPDU: 80 13 00 00 [12:13:59]Write to MH i2c: E2 08 00 EE 8F 80 13 00 00 00 00 00 00 F9 [12:13:59]Write i2c OK [12:13:59]MH_I2C_Read... [12:14:00]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:14:00]Read from MH i2c: E2 [12:14:00]MH_I2C_Read... [12:14:00]Read from MH i2c: E2 62 00 [12:14:00]MH_I2C_Read... [12:14:00]Read from MH i2c: E2 62 00 EE 8F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 F1 81 00 00 0E 04 04 00 B0 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 6B [12:14: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 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 F1 81 00 00 0E 04 04 00 B0 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 [12:14:00]wFMCommunicate OK [12:14:00]SAM_PROTO_GetFieldsCounters done [12:14:00]requested_item shift.num is exist - process it [12:14:00]requested_item shift.opened is exist - process it [12:14:00]req_shift_opened [12:14:00]FM_GetShiftState [12:14:00]SAM_PROTO_GetShiftState [12:14:00]wFMCommunicate request_size=4 [12:14:00]MH_SAM_APDU [12:14:00]CAPDU: 80 13 01 00 [12:14:00]Write to MH i2c: E2 08 00 EF 8F 80 13 01 00 00 00 00 00 FB [12:14:00]Write i2c OK [12:14:00]MH_I2C_Read... [12:14:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:14:00]Read from MH i2c: E2 [12:14:00]MH_I2C_Read... [12:14:00]Read from MH i2c: E2 0E 00 [12:14:00]MH_I2C_Read... [12:14:00]Read from MH i2c: E2 0E 00 EF 8F 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 2C [12:14:00]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [12:14:00]wFMCommunicate OK [12:14:00]SAM_PROTO_GetShiftState done [12:14:00]FM_GetShiftState done [12:14:00]req_shift_opened done [12:14:00]requested_item shift.open_date is exist - process it [12:14:00]req_shift_open_date [12:14:00]req_shift_open_date done [12:14:00]produce_requested_data done [12:14:00]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33265,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398} [12:14:00]process_action_free close_receipt [12:14:00]json_value_free [12:14:00]json_value_free done [12:14:00]process_json_proto returns [12:14:00]Send response to host [12:14:00]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33265,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398}}} [12:14:00]free response buf [12:14:00]execute_script done [12:14:00]execute_script returns [12:14:00]free content buf [12:14:00]Sock 8.Close socket [12:14:00]Sock 8.Thread stoped [12:14:03]OFD Sender: No OFD packet to send [12:14:05]accept exits with 9 [12:14:05]New connection [12:14:05]New thread 3066842468 created [12:14:05]Thread 3066699108 joined [12:14:05]Waiting for new connection... [12:14:05] Sock 9.Parse request [12:14:05]Sock 9.Check first char [12:14:05]Sock 9.First char is OK [12:14:05]request: POST /json_proto HTTP/1.0 [12:14:05]Method: POST [12:14:05]URL: /json_proto [12:14:05]Method is POST - this is cgi request [12:14:05]url: /json_proto [12:14:05]query_string will be loaded in cgi processing [12:14:05]execute_cgi json_proto POST (null) [12:14:05]execute_cgi path=json_proto method=POST [12:14:05]POST find Content-Length [12:14:05]Host: 172.17.35.196:8080 [12:14:05]Content-Length: 708 [12:14:05]Content-Type: application/json [12:14:05] [12:14:05]POST finish read [12:14:05]Found Content-Length = 708 [12:14:05]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169106", "tax_sys" : 0, "items" : [ { "code": "2000032780015", "name": "\u0421\u043B\u043E\u0439\u043A\u0430 DC \u0442\u0440\u0435\u0443\u0433\u043E\u043B\u044C\u043D\u0430\u044F \u043A\u0443\u0440\u0438\u0446\u0430 110\u0433", "price" : 65.00, "quantity" : 1.000, "sum" : 65.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 65.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:14:05]execute_script... [12:14: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)169106", "tax_sys" : 0, "items" : [ { "code": "2000032780015", "name": "\u0421\u043B\u043E\u0439\u043A\u0430 DC \u0442\u0440\u0435\u0443\u0433\u043E\u043B\u044C\u043D\u0430\u044F \u043A\u0443\u0440\u0438\u0446\u0430 110\u0433", "price" : 65.00, "quantity" : 1.000, "sum" : 65.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 65.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:14:05]POST & json_proto [12:14:05]process_json_proto [12:14:05]json parsed OK: [12:14:05]protocol is kg_v1.0 [12:14:05]action value=close_receipt [12:14:05]process_action close_receipt [12:14:05]cmd_close_receipt [12:14:05]MH_GetDate [12:14:05]Write to MH i2c: F0 00 00 F0 8F 6E [12:14:05]Write i2c OK [12:14:05]MH_I2C_Read... [12:14:05]Read from MH i2c: F0 [12:14:05]MH_I2C_Read... [12:14:05]Read from MH i2c: F0 09 00 [12:14:05]MH_I2C_Read... [12:14:05]Read from MH i2c: F0 09 00 F0 8F 00 B2 CC 8F 66 AD 14 F4 65 04 [12:14:05]GetLastDocTimeStamp 1720700072 [12:14:05]current date 1720700082 [12:14:05]FM_GetShiftState [12:14:05]SAM_PROTO_GetShiftState [12:14:05]wFMCommunicate request_size=4 [12:14:05]MH_SAM_APDU [12:14:05]CAPDU: 80 13 01 00 [12:14:05]Write to MH i2c: E2 08 00 F1 8F 80 13 01 00 00 00 00 00 FD [12:14:05]Write i2c OK [12:14:05]MH_I2C_Read... [12:14:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:14:05]Read from MH i2c: E2 [12:14:05]MH_I2C_Read... [12:14:05]Read from MH i2c: E2 0E 00 [12:14:05]MH_I2C_Read... [12:14:05]Read from MH i2c: E2 0E 00 F1 8F 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 2E [12:14:05]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [12:14:05]wFMCommunicate OK [12:14:05]SAM_PROTO_GetShiftState done [12:14:05]FM_GetShiftState done [12:14:05]opened in 1720656398 [12:14:05]opened+sec_in_day 1720742798 [12:14:05]quantity*price = 6500 [12:14:05]sum+1 = 6501 [12:14:05]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 65.00 НСП 1% : 0.57 НДС 12% : 6.90 Наличными: 65.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 21 11.07.2024 12:14 Смена: 432 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33266 ФПД: 113850428217487 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T121442&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33266&fm=113850428217487&tin=02508201610067®Number=0000000000093033&sum=6500 0 [12:14:06]StoreToDocumentArchive [12:14:06]shift 432 fd 33266 [12:14:06]save to /storage/0432/doc_00033266 [12:14:06]save last doc name /storage/0432/doc_00033266 to /storage/kkm_last_doc_name [12:14:06]save OK [12:14:06]Clear old archive folders... [12:14:06]ProcessDocumentItem done err = 0, tmpTLVsize=299 [12:14:06]tlvbuf is 001880B0 [12:14:06]SAM_PROTO_ClearQueue [12:14:06]wFMCommunicate request_size=4 [12:14:06]MH_SAM_APDU [12:14:06]CAPDU: 80 09 00 00 [12:14:06]Write to MH i2c: E2 08 00 FE 8F 80 09 00 00 00 00 00 00 FF [12:14:06]Write i2c OK [12:14:06]MH_I2C_Read... [12:14:06]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:14:06]Read from MH i2c: E2 [12:14:06]MH_I2C_Read... [12:14:06]Read from MH i2c: E2 03 00 [12:14:06]MH_I2C_Read... [12:14:06]Read from MH i2c: E2 03 00 FE 8F 00 90 00 01 [12:14:06]RAPDU: 90 00 [12:14:06]wFMCommunicate OK [12:14:06]SAM_PROTO_ClearQueue done [12:14:06]KKMCreateOFDPacket [12:14:06]OFDProtocolAddRootSTLVToBuf [12:14:06]FM_MakeSignedData [12:14:06]FM_MakeSignedData [12:14:06]SAM_PROTO_SignData [12:14:06]wFMCommunicate request_size=4 [12:14:06]MH_SAM_APDU [12:14:06]CAPDU: 80 0D 01 02 [12:14:06]Write to MH i2c: E2 08 00 FF 8F 80 0D 01 02 00 00 00 00 07 [12:14:06]Write i2c OK [12:14:06]MH_I2C_Read... [12:14:06]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:14:06]Read from MH i2c: E2 [12:14:06]MH_I2C_Read... [12:14:06]Read from MH i2c: E2 03 00 [12:14:06]MH_I2C_Read... [12:14:06]Read from MH i2c: E2 03 00 FF 8F 00 90 00 02 [12:14:06]RAPDU: 90 00 [12:14:06]wFMCommunicate OK [12:14:06]wFMCommunicate request_size=255 [12:14:06]MH_SAM_APDU [12:14:06]CAPDU: 80 0D 02 02 FA 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 32 30 30 30 30 33 32 37 38 30 30 31 35 06 04 39 00 D0 A1 D0 BB D0 BE D0 B9 D0 BA D0 B0 20 44 43 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 BA D1 83 D1 80 D0 B8 D1 86 D0 B0 20 31 31 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 19 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 02 00 00 00 00 07 04 06 00 64 19 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 B2 CC 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 [12:14:06]Write to MH i2c: E2 02 01 00 90 80 0D 02 02 FA 00 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 32 30 30 30 30 33 32 37 38 30 30 31 35 06 04 39 00 D0 A1 D0 BB D0 BE D0 B9 D0 BA D0 B0 20 44 43 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 BA D1 83 D1 80 D0 B8 D1 86 D0 B0 20 31 31 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 19 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 02 00 00 00 00 07 04 06 00 64 19 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 B2 CC 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 00 00 EB [12:14:06]Write i2c OK [12:14:06]MH_I2C_Read... [12:14:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:14:07]Read from MH i2c: E2 [12:14:07]MH_I2C_Read... [12:14:07]Read from MH i2c: E2 03 00 [12:14:07]MH_I2C_Read... [12:14:07]Read from MH i2c: E2 03 00 00 90 00 90 00 04 [12:14:07]RAPDU: 90 00 [12:14:07]wFMCommunicate OK [12:14:07]wFMCommunicate request_size=58 [12:14:07]MH_SAM_APDU [12:14:07]CAPDU: 80 0D 02 02 35 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 F2 81 00 00 35 04 06 00 67 8B DE 54 D8 8F [12:14:07]Write to MH i2c: E2 3D 00 01 90 80 0D 02 02 35 00 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 F2 81 00 00 35 04 06 00 67 8B DE 54 D8 8F 00 00 EA [12:14:07]Write i2c OK [12:14:07]MH_I2C_Read... [12:14:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:14:07]Read from MH i2c: E2 [12:14:07]MH_I2C_Read... [12:14:07]Read from MH i2c: E2 03 00 [12:14:07]MH_I2C_Read... [12:14:07]Read from MH i2c: E2 03 00 01 90 00 90 00 05 [12:14:07]RAPDU: 90 00 [12:14:07]wFMCommunicate OK [12:14:07]wFMCommunicate request_size=4 [12:14:07]MH_SAM_APDU [12:14:07]CAPDU: 80 0D 03 02 [12:14:07]Write to MH i2c: E2 08 00 02 90 80 0D 03 02 00 00 00 00 0D [12:14:07]Write i2c OK [12:14:07]MH_I2C_Read... [12:14:07]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:14:07]Read from MH i2c: E2 [12:14:07]MH_I2C_Read... [12:14:07]Read from MH i2c: E2 0B 00 [12:14:07]MH_I2C_Read... [12:14:07]Read from MH i2c: E2 0B 00 02 90 00 BA 6A 7A 29 E9 F1 9B 0D 90 00 57 [12:14:07]RAPDU: BA 6A 7A 29 E9 F1 9B 0D 90 00 [12:14:07]wFMCommunicate OK [12:14:07]SAM_PROTO_SignData done [12:14:07]FM_MakeSignedData done [12:14:07]CreateOFDProtocolMessage [12:14:07]wFMCommunicate request_size=4 [12:14:07]MH_SAM_APDU [12:14:07]CAPDU: 80 11 00 00 [12:14:07]Write to MH i2c: E2 08 00 03 90 80 11 00 00 00 00 00 00 0D [12:14:07]Write i2c OK [12:14:07]MH_I2C_Read... [12:14:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:14:07]Read from MH i2c: E2 [12:14:07]MH_I2C_Read... [12:14:07]Read from MH i2c: E2 17 00 [12:14:07]MH_I2C_Read... [12:14:07]Read from MH i2c: E2 17 00 03 90 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 59 [12:14:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [12:14:07]wFMCommunicate OK [12:14:07]CreateOFDProtocolMessage done [12:14:07]OFDSenderStorePacket 33266 [12:14:07]StoreOFDPacket docnum=33266 [12:14:07]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 3F 01 00 00 5E 49 37 01 12 32 5A 03 01 00 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 32 30 30 30 30 33 32 37 38 30 30 31 35 06 04 39 00 D0 A1 D0 BB D0 BE D0 B9 D0 BA D0 B0 20 44 43 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 BA D1 83 D1 80 D0 B8 D1 86 D0 B0 20 31 31 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 19 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 02 00 00 00 00 07 04 06 00 64 19 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 B2 CC 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 F2 81 00 00 35 04 06 00 67 8B DE 54 D8 8F BA 6A 7A 29 E9 F1 9B 0D [12:14:07]CheckFolder [12:14:07]dirname=/storage/ofd_packets [12:14:07]CheckFolder done [12:14:07]ProducePacketName [12:14:07]name=ofd_packets/00033266 [12:14:07]NVStorageSaveData ofd_packets/00033266 [12:14:07]File name is /storage/ofd_packets/00033266 [12:14:07]Write 349 bytes [12:14:07]NVStorageSaveData done [12:14:07]OFDSenderStorePacket done [12:14:07]KKMCreateOFDPacket done [12:14:07]NVStorageSaveData kkm_last_timestamp [12:14:07]File name is /storage/kkm_last_timestamp [12:14:07]Write 4 bytes [12:14:07]NVStorageSaveData done [12:14:07]ExternCall_PrintAddStr [12:14:07]wPrintStart [12:14:07]Write to MH i2c: 01 00 00 04 90 94 [12:14:07]Write i2c OK [12:14:07]MH_I2C_Read... [12:14:07]Read from MH i2c: 01 [12:14:07]MH_I2C_Read... [12:14:07]Read from MH i2c: 01 07 00 [12:14:07]MH_I2C_Read... [12:14:07]Read from MH i2c: 01 07 00 04 90 00 00 00 00 00 FF 0F A9 [12:14:07]RasterBufferAndPrint [12:14:07]line Счет N : (3)169106 [12:14:07]line ИНН: 02508201610067 [12:14:07]line Контрольно-Кассовый Чек [12:14:07]line ПРОДАЖА [12:14:07]line Товар: 2000032780015 [12:14:07]line Слойка DC треугольная курица 110г [12:14:07]line 1.000 * 65.00 [12:14:07]line = 65.00 [12:14:07]line НДС 12% НСП 1% [12:14:07]line > о реализуемом товаре [12:14:07]line ИТОГО: 65.00 [12:14:07]line НСП 1% : 0.57 [12:14:07]line НДС 12% : 6.90 [12:14:07]line Наличными: 65.00 [12:14:07]line Безнал.: 0.00 [12:14:07]line Место: АЗС № 77 "Партнер Нефть" [12:14:07]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [12:14:07]line СНО: Общий режим [12:14:07]line Чек 21 11.07.2024 12:14 [12:14:07]line Смена: 432 ФФД: 1.0 [12:14:07]line ЗНМ: 0300000122 [12:14:07]line РНМ: 0000000000093033 [12:14:07]line Версия ККМ: 001 [12:14:07]line ФМ: 0000000000875104 [12:14:07]line ФД: 33266 [12:14:07]line ФПД: 113850428217487 [12:14:07]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T121442&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33266&fm=113850428217487&tin=02508201610067®Number=0000000000093033&sum=6500 [12:14:07]line 0 [12:14:07]written 0, free lines is 4095 [12:14:07]OFD Sender: Processing packet 33266 [packets to send 6, broken 5] [12:14:07]ProducePacketName [12:14:07]name=ofd_packets/00033266 [12:14:07]OFD Sender: To server: pG, [12:14:07]CommunicateWithHost lk.salyk.kg:30040 [12:14:07]ConnectInit lk.salyk.kg [12:14:07]Connected sock=10 [12:14:07]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 3F 01 00 00 5E 49 37 01 12 32 5A 03 01 00 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 32 30 30 30 30 33 32 37 38 30 30 31 35 06 04 39 00 D0 A1 D0 BB D0 BE D0 B9 D0 BA D0 B0 20 44 43 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 BA D1 83 D1 80 D0 B8 D1 86 D0 B0 20 31 31 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 19 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 02 00 00 00 00 07 04 06 00 64 19 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 B2 CC 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 F2 81 00 00 35 04 06 00 67 8B DE 54 D8 8F BA 6A 7A 29 E9 F1 9B 0D [12:14:07]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 EA C7 47 00 4C 2B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 35 31 30 34 10 04 04 00 F2 81 00 00 F4 03 04 00 62 77 8F 66 B6 04 01 00 00 2E 0F 81 89 D6 B7 70 B3 [12:14:07]CommunicateWithHost err = 0 [12:14:07]CheckOFDResponse [12:14:07]1017 (14) - 77093643461234 [12:14:07]1041 (16) - 0000000000875104 [12:14:07]1040 (4) - 33266 [12:14:07]1012 (4) - 11.07.2024 06:10 [12:14:07]1206 (1) - 0 [12:14:07]OFD Sender: Remove packet 33266 [12:14:07]ProducePacketName [12:14:07]name=ofd_packets/00033266 [12:14:07]NVStorageDeleteData [12:14:07]Write to MH i2c: 01 00 00 2D 90 BD [12:14:07]Write i2c OK [12:14:07]MH_I2C_Read... [12:14:07]Read from MH i2c: 01 [12:14:07]MH_I2C_Read... [12:14:07]Read from MH i2c: 01 07 00 [12:14:07]MH_I2C_Read... [12:14:07]Read from MH i2c: 01 07 00 2D 90 00 00 00 00 00 F1 0C C1 [12:14:07]RasterBufferAndPrint [12:14:07]line [12:14:07]line [12:14:07]line [12:14:07]line [12:14:07]line [12:14:07]written 0, free lines is 3323 [12:14:07]MH_Cut [12:14:07]Write to MH i2c: D1 01 00 34 90 01 96 [12:14:07]Write i2c OK [12:14:07]MH_I2C_Read... [12:14:07]Read from MH i2c: D1 [12:14:07]MH_I2C_Read... [12:14:07]Read from MH i2c: D1 01 00 [12:14:07]MH_I2C_Read... [12:14:07]Read from MH i2c: D1 01 00 34 90 00 95 [12:14:07]Write to MH i2c: 01 00 00 35 90 C5 [12:14:07]Write i2c OK [12:14:07]MH_I2C_Read... [12:14:08]OFD Sender: No OFD packet to send [12:14:08]*** Cut start [12:14:08]*** Partial cut [12:14:08]*** CUTSNS_PIN = 1 [12:14:08]*** CUTSNS_PIN = 0 [12:14:08]*** Brake cut motor [12:14:09]Read from MH i2c: 01 [12:14:09]MH_I2C_Read... [12:14:09]*** Stop cut motor [12:14:09]*** Cut end [12:14:09]Read from MH i2c: 01 07 00 [12:14:09]MH_I2C_Read... [12:14:09]Read from MH i2c: 01 07 00 35 90 00 00 00 00 00 FF 0F DA [12:14:09]process_action close_receipt done [12:14:09]requested_data is exist [12:14:09]produce_requested_data [12:14:09]requested_item fm.sn is exist - process it [12:14:09]wFMCommunicate request_size=4 [12:14:09]MH_SAM_APDU [12:14:09]CAPDU: 80 11 00 00 [12:14:09]Write to MH i2c: E2 08 00 36 90 80 11 00 00 00 00 00 00 40 [12:14:09]Write i2c OK [12:14:09]MH_I2C_Read... [12:14:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:14:09]Read from MH i2c: E2 [12:14:09]MH_I2C_Read... [12:14:09]Read from MH i2c: E2 17 00 [12:14:09]MH_I2C_Read... [12:14:09]Read from MH i2c: E2 17 00 36 90 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 8C [12:14:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [12:14:09]wFMCommunicate OK [12:14:09]requested_item fd.num is exist - process it [12:14:09]SAM_PROTO_GetFieldsCounters [12:14:09]wFMCommunicate request_size=4 [12:14:09]MH_SAM_APDU [12:14:09]CAPDU: 80 13 00 00 [12:14:09]Write to MH i2c: E2 08 00 37 90 80 13 00 00 00 00 00 00 43 [12:14:09]Write i2c OK [12:14:09]MH_I2C_Read... [12:14:09]Read from MH i2c: E2 [12:14:09]MH_I2C_Read... [12:14:09]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:14:09]Read from MH i2c: E2 62 00 [12:14:09]MH_I2C_Read... [12:14:09]Read from MH i2c: E2 62 00 37 90 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 F2 81 00 00 0E 04 04 00 B0 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 B9 [12:14: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 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 F2 81 00 00 0E 04 04 00 B0 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 [12:14:09]wFMCommunicate OK [12:14:09]SAM_PROTO_GetFieldsCounters done [12:14:09]requested_item shift.num is exist - process it [12:14:09]requested_item shift.opened is exist - process it [12:14:09]req_shift_opened [12:14:09]FM_GetShiftState [12:14:09]SAM_PROTO_GetShiftState [12:14:09]wFMCommunicate request_size=4 [12:14:09]MH_SAM_APDU [12:14:09]CAPDU: 80 13 01 00 [12:14:09]Write to MH i2c: E2 08 00 38 90 80 13 01 00 00 00 00 00 45 [12:14:09]Write i2c OK [12:14:09]MH_I2C_Read... [12:14:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:14:09]Read from MH i2c: E2 [12:14:09]MH_I2C_Read... [12:14:09]Read from MH i2c: E2 0E 00 [12:14:09]MH_I2C_Read... [12:14:09]Read from MH i2c: E2 0E 00 38 90 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 76 [12:14:09]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [12:14:09]wFMCommunicate OK [12:14:09]SAM_PROTO_GetShiftState done [12:14:09]FM_GetShiftState done [12:14:09]req_shift_opened done [12:14:09]requested_item shift.open_date is exist - process it [12:14:09]req_shift_open_date [12:14:09]req_shift_open_date done [12:14:09]produce_requested_data done [12:14:09]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33266,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398} [12:14:09]process_action_free close_receipt [12:14:09]json_value_free [12:14:09]json_value_free done [12:14:09]process_json_proto returns [12:14:09]Send response to host [12:14:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33266,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398}}} [12:14:09]free response buf [12:14:09]execute_script done [12:14:09]execute_script returns [12:14:09]free content buf [12:14:09]Sock 9.Close socket [12:14:09]Sock 9.Thread stoped [12:14:13]OFD Sender: No OFD packet to send [12:14:18]OFD Sender: No OFD packet to send [12:14:23]OFD Sender: No OFD packet to send [12:14:28]OFD Sender: No OFD packet to send [12:14:33]OFD Sender: No OFD packet to send [12:14:38]OFD Sender: No OFD packet to send [12:14:43]OFD Sender: No OFD packet to send [12:14:48]OFD Sender: No OFD packet to send [12:14:53]OFD Sender: No OFD packet to send [12:14:58]OFD Sender: No OFD packet to send [12:15:03]OFD Sender: No OFD packet to send [12:15:08]OFD Sender: No OFD packet to send [12:15:13]OFD Sender: No OFD packet to send [12:15:18]OFD Sender: No OFD packet to send [12:15:23]OFD Sender: No OFD packet to send [12:15:28]OFD Sender: No OFD packet to send [12:15:33]OFD Sender: No OFD packet to send [12:15:38]OFD Sender: No OFD packet to send [12:15:43]OFD Sender: No OFD packet to send [12:15:48]OFD Sender: No OFD packet to send [12:15:53]OFD Sender: No OFD packet to send [12:15:58]OFD Sender: No OFD packet to send [12:16:03]OFD Sender: No OFD packet to send [12:16:08]OFD Sender: No OFD packet to send [12:16:13]OFD Sender: No OFD packet to send [12:16:18]OFD Sender: No OFD packet to send [12:16:23]OFD Sender: No OFD packet to send [12:16:28]OFD Sender: No OFD packet to send [12:16:33]OFD Sender: No OFD packet to send [12:16:38]OFD Sender: No OFD packet to send [12:16:43]OFD Sender: No OFD packet to send [12:16:48]OFD Sender: No OFD packet to send [12:16:53]OFD Sender: No OFD packet to send [12:16:58]OFD Sender: No OFD packet to send [12:17:03]OFD Sender: No OFD packet to send [12:17:08]OFD Sender: No OFD packet to send [12:17:13]OFD Sender: No OFD packet to send [12:17:18]OFD Sender: No OFD packet to send [12:17:23]OFD Sender: No OFD packet to send [12:17:28]OFD Sender: No OFD packet to send [12:17:33]OFD Sender: No OFD packet to send [12:17:38]OFD Sender: No OFD packet to send [12:17:43]OFD Sender: No OFD packet to send [12:17:48]OFD Sender: No OFD packet to send [12:17:53]OFD Sender: No OFD packet to send [12:17:58]OFD Sender: No OFD packet to send [12:18:03]OFD Sender: No OFD packet to send [12:18:08]OFD Sender: No OFD packet to send [12:18:13]OFD Sender: No OFD packet to send [12:18:18]OFD Sender: No OFD packet to send [12:18:23]OFD Sender: No OFD packet to send [12:18:28]OFD Sender: No OFD packet to send [12:18:33]OFD Sender: No OFD packet to send [12:18:38]OFD Sender: No OFD packet to send [12:18:43]OFD Sender: No OFD packet to send [12:18:48]OFD Sender: No OFD packet to send [12:18:53]OFD Sender: No OFD packet to send [12:18:58]OFD Sender: No OFD packet to send [12:19:03]OFD Sender: No OFD packet to send [12:19:08]OFD Sender: No OFD packet to send [12:19:13]OFD Sender: No OFD packet to send [12:19:18]OFD Sender: No OFD packet to send [12:19:23]OFD Sender: No OFD packet to send [12:19:28]OFD Sender: No OFD packet to send [12:19:33]OFD Sender: No OFD packet to send [12:19:38]OFD Sender: No OFD packet to send [12:19:43]OFD Sender: No OFD packet to send [12:19:48]OFD Sender: No OFD packet to send [12:19:53]OFD Sender: No OFD packet to send [12:19:58]OFD Sender: No OFD packet to send [12:20:03]OFD Sender: No OFD packet to send [12:20:08]OFD Sender: No OFD packet to send [12:20:13]OFD Sender: No OFD packet to send [12:20:18]OFD Sender: No OFD packet to send [12:20:23]OFD Sender: No OFD packet to send [12:20:28]OFD Sender: No OFD packet to send [12:20:33]OFD Sender: No OFD packet to send [12:20:38]OFD Sender: No OFD packet to send [12:20:43]OFD Sender: No OFD packet to send [12:20:48]OFD Sender: No OFD packet to send [12:20:53]OFD Sender: No OFD packet to send [12:20:58]OFD Sender: No OFD packet to send [12:21:03]OFD Sender: No OFD packet to send [12:21:08]OFD Sender: No OFD packet to send [12:21:13]OFD Sender: No OFD packet to send [12:21:18]OFD Sender: No OFD packet to send [12:21:23]OFD Sender: No OFD packet to send [12:21:28]OFD Sender: No OFD packet to send [12:21:33]OFD Sender: No OFD packet to send [12:21:38]OFD Sender: No OFD packet to send [12:21:43]OFD Sender: No OFD packet to send [12:21:48]OFD Sender: No OFD packet to send [12:21:53]OFD Sender: No OFD packet to send [12:21:58]OFD Sender: No OFD packet to send [12:21:58]accept exits with 8 [12:21:58]New connection [12:21:58]New thread 3066699108 created [12:21:58]Thread 3066842468 joined [12:21:58]Waiting for new connection... [12:21:58] Sock 8.Parse request [12:21:58]Sock 8.Check first char [12:21:58]Sock 8.First char is OK [12:21:58]request: POST /json_proto HTTP/1.0 [12:21:58]Method: POST [12:21:58]URL: /json_proto [12:21:58]Method is POST - this is cgi request [12:21:58]url: /json_proto [12:21:58]query_string will be loaded in cgi processing [12:21:58]execute_cgi json_proto POST (null) [12:21:58]execute_cgi path=json_proto method=POST [12:21:58]POST find Content-Length [12:21:58]Host: 172.17.35.196:8080 [12:21:58]Content-Length: 675 [12:21:58]Content-Type: application/json [12:21:58] [12:21:58]POST finish read [12:21:58]Found Content-Length = 675 [12:21:58]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169107", "tax_sys" : 0, "items" : [ { "code": "4620017451303", "name": "\u041A\u0430\u0440.\u0441 \u0436\u0435\u0432.\u043A\u043E\u043D\u0444.\u0421\u0442\u0440\u0430\u0439\u043A 11.3\u0433/50", "price" : 17.00, "quantity" : 1.000, "sum" : 17.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 17.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:21:58]execute_script... [12:21: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)169107", "tax_sys" : 0, "items" : [ { "code": "4620017451303", "name": "\u041A\u0430\u0440.\u0441 \u0436\u0435\u0432.\u043A\u043E\u043D\u0444.\u0421\u0442\u0440\u0430\u0439\u043A 11.3\u0433/50", "price" : 17.00, "quantity" : 1.000, "sum" : 17.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 17.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:21:58]POST & json_proto [12:21:58]process_json_proto [12:21:58]json parsed OK: [12:21:58]protocol is kg_v1.0 [12:21:58]action value=close_receipt [12:21:58]process_action close_receipt [12:21:58]cmd_close_receipt [12:21:58]MH_GetDate [12:21:58]Write to MH i2c: F0 00 00 39 90 B8 [12:21:58]Write i2c OK [12:21:58]MH_I2C_Read... [12:21:58]Read from MH i2c: F0 [12:21:58]MH_I2C_Read... [12:21:58]Read from MH i2c: F0 09 00 [12:21:58]MH_I2C_Read... [12:21:58]Read from MH i2c: F0 09 00 39 90 00 8B CE 8F 66 AD 14 F4 65 29 [12:21:58]GetLastDocTimeStamp 1720700082 [12:21:58]current date 1720700555 [12:21:58]FM_GetShiftState [12:21:58]SAM_PROTO_GetShiftState [12:21:58]wFMCommunicate request_size=4 [12:21:58]MH_SAM_APDU [12:21:58]CAPDU: 80 13 01 00 [12:21:58]Write to MH i2c: E2 08 00 3A 90 80 13 01 00 00 00 00 00 47 [12:21:58]Write i2c OK [12:21:58]MH_I2C_Read... [12:21:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:21:58]Read from MH i2c: E2 [12:21:58]MH_I2C_Read... [12:21:58]Read from MH i2c: E2 0E 00 [12:21:58]MH_I2C_Read... [12:21:58]Read from MH i2c: E2 0E 00 3A 90 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 78 [12:21:58]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [12:21:58]wFMCommunicate OK [12:21:58]SAM_PROTO_GetShiftState done [12:21:58]FM_GetShiftState done [12:21:58]opened in 1720656398 [12:21:58]opened+sec_in_day 1720742798 [12:21:58]quantity*price = 1700 [12:21:58]sum+1 = 1701 [12:21:58]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 17.00 НСП 1% : 0.15 НДС 12% : 1.80 Наличными: 17.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 22 11.07.2024 12:22 Смена: 432 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33267 ФПД: 140167546032925 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T122235&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33267&fm=140167546032925&tin=02508201610067®Number=0000000000093033&sum=1700 0 [12:21:59]StoreToDocumentArchive [12:21:59]shift 432 fd 33267 [12:21:59]save to /storage/0432/doc_00033267 [12:21:59]save last doc name /storage/0432/doc_00033267 to /storage/kkm_last_doc_name [12:21:59]save OK [12:21:59]Clear old archive folders... [12:21:59]ProcessDocumentItem done err = 0, tmpTLVsize=290 [12:21:59]tlvbuf is 00192F60 [12:21:59]SAM_PROTO_ClearQueue [12:21:59]wFMCommunicate request_size=4 [12:21:59]MH_SAM_APDU [12:21:59]CAPDU: 80 09 00 00 [12:21:59]Write to MH i2c: E2 08 00 47 90 80 09 00 00 00 00 00 00 49 [12:21:59]Write i2c OK [12:21:59]MH_I2C_Read... [12:21:59]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:21:59]Read from MH i2c: E2 [12:21:59]MH_I2C_Read... [12:21:59]Read from MH i2c: E2 03 00 [12:21:59]MH_I2C_Read... [12:21:59]Read from MH i2c: E2 03 00 47 90 00 90 00 4B [12:21:59]RAPDU: 90 00 [12:21:59]wFMCommunicate OK [12:21:59]SAM_PROTO_ClearQueue done [12:21:59]KKMCreateOFDPacket [12:21:59]OFDProtocolAddRootSTLVToBuf [12:21:59]FM_MakeSignedData [12:21:59]FM_MakeSignedData [12:21:59]SAM_PROTO_SignData [12:21:59]wFMCommunicate request_size=4 [12:21:59]MH_SAM_APDU [12:21:59]CAPDU: 80 0D 01 02 [12:21:59]Write to MH i2c: E2 08 00 48 90 80 0D 01 02 00 00 00 00 51 [12:21:59]Write i2c OK [12:21:59]MH_I2C_Read... [12:21:59]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:21:59]Read from MH i2c: E2 [12:21:59]MH_I2C_Read... [12:21:59]Read from MH i2c: E2 03 00 [12:21:59]MH_I2C_Read... [12:21:59]Read from MH i2c: E2 03 00 48 90 00 90 00 4C [12:21:59]RAPDU: 90 00 [12:21:59]wFMCommunicate OK [12:21:59]wFMCommunicate request_size=255 [12:21:59]MH_SAM_APDU [12:21:59]CAPDU: 80 0D 02 02 FA 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 36 32 30 30 31 37 34 35 31 33 30 33 06 04 30 00 D0 9A D0 B0 D1 80 2E D1 81 20 D0 B6 D0 B5 D0 B2 2E D0 BA D0 BE D0 BD D1 84 2E D0 A1 D1 82 D1 80 D0 B0 D0 B9 D0 BA 20 31 31 2E 33 D0 B3 2F 35 30 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 06 00 00 00 00 13 04 06 00 A4 06 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A4 06 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B4 00 00 00 00 00 07 04 06 00 A4 06 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 8B CE 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 [12:21:59]Write to MH i2c: E2 02 01 49 90 80 0D 02 02 FA 00 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 36 32 30 30 31 37 34 35 31 33 30 33 06 04 30 00 D0 9A D0 B0 D1 80 2E D1 81 20 D0 B6 D0 B5 D0 B2 2E D0 BA D0 BE D0 BD D1 84 2E D0 A1 D1 82 D1 80 D0 B0 D0 B9 D0 BA 20 31 31 2E 33 D0 B3 2F 35 30 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 06 00 00 00 00 13 04 06 00 A4 06 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A4 06 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B4 00 00 00 00 00 07 04 06 00 A4 06 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 8B CE 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 00 00 ED [12:21:59]Write i2c OK [12:21:59]MH_I2C_Read... [12:22:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:22:00]Read from MH i2c: E2 [12:22:00]MH_I2C_Read... [12:22:00]Read from MH i2c: E2 03 00 [12:22:00]MH_I2C_Read... [12:22:00]Read from MH i2c: E2 03 00 49 90 00 90 00 4D [12:22:00]RAPDU: 90 00 [12:22:00]wFMCommunicate OK [12:22:00]wFMCommunicate request_size=49 [12:22:00]MH_SAM_APDU [12:22:00]CAPDU: 80 0D 02 02 2C 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 F3 81 00 00 35 04 06 00 7F 7B 4C CA 53 1D [12:22:00]Write to MH i2c: E2 34 00 4A 90 80 0D 02 02 2C 00 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 F3 81 00 00 35 04 06 00 7F 7B 4C CA 53 1D 00 00 67 [12:22:00]Write i2c OK [12:22:00]MH_I2C_Read... [12:22:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:22:00]Read from MH i2c: E2 [12:22:00]MH_I2C_Read... [12:22:00]Read from MH i2c: E2 03 00 [12:22:00]MH_I2C_Read... [12:22:00]Read from MH i2c: E2 03 00 4A 90 00 90 00 4E [12:22:00]RAPDU: 90 00 [12:22:00]wFMCommunicate OK [12:22:00]wFMCommunicate request_size=4 [12:22:00]MH_SAM_APDU [12:22:00]CAPDU: 80 0D 03 02 [12:22:00]Write to MH i2c: E2 08 00 4B 90 80 0D 03 02 00 00 00 00 56 [12:22:00]Write i2c OK [12:22:00]MH_I2C_Read... [12:22:00]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:22:00]Read from MH i2c: E2 [12:22:00]MH_I2C_Read... [12:22:00]Read from MH i2c: E2 0B 00 [12:22:00]MH_I2C_Read... [12:22:00]Read from MH i2c: E2 0B 00 4B 90 00 C7 C7 66 3C 6B DC 4C CB 90 00 E5 [12:22:00]RAPDU: C7 C7 66 3C 6B DC 4C CB 90 00 [12:22:00]wFMCommunicate OK [12:22:00]SAM_PROTO_SignData done [12:22:00]FM_MakeSignedData done [12:22:00]CreateOFDProtocolMessage [12:22:00]wFMCommunicate request_size=4 [12:22:00]MH_SAM_APDU [12:22:00]CAPDU: 80 11 00 00 [12:22:00]Write to MH i2c: E2 08 00 4C 90 80 11 00 00 00 00 00 00 56 [12:22:00]Write i2c OK [12:22:00]MH_I2C_Read... [12:22:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:22:00]Read from MH i2c: E2 [12:22:00]MH_I2C_Read... [12:22:00]Read from MH i2c: E2 17 00 [12:22:00]MH_I2C_Read... [12:22:00]Read from MH i2c: E2 17 00 4C 90 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 A2 [12:22:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [12:22:00]wFMCommunicate OK [12:22:00]CreateOFDProtocolMessage done [12:22:00]OFDSenderStorePacket 33267 [12:22:00]StoreOFDPacket docnum=33267 [12:22:00]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 36 01 00 00 C7 4F 2E 01 7B 1A 5A 03 01 00 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 36 32 30 30 31 37 34 35 31 33 30 33 06 04 30 00 D0 9A D0 B0 D1 80 2E D1 81 20 D0 B6 D0 B5 D0 B2 2E D0 BA D0 BE D0 BD D1 84 2E D0 A1 D1 82 D1 80 D0 B0 D0 B9 D0 BA 20 31 31 2E 33 D0 B3 2F 35 30 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 06 00 00 00 00 13 04 06 00 A4 06 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A4 06 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B4 00 00 00 00 00 07 04 06 00 A4 06 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 8B CE 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 F3 81 00 00 35 04 06 00 7F 7B 4C CA 53 1D C7 C7 66 3C 6B DC 4C CB [12:22:00]CheckFolder [12:22:00]dirname=/storage/ofd_packets [12:22:00]CheckFolder done [12:22:00]ProducePacketName [12:22:00]name=ofd_packets/00033267 [12:22:00]NVStorageSaveData ofd_packets/00033267 [12:22:00]File name is /storage/ofd_packets/00033267 [12:22:00]Write 340 bytes [12:22:00]NVStorageSaveData done [12:22:00]OFDSenderStorePacket done [12:22:00]KKMCreateOFDPacket done [12:22:00]NVStorageSaveData kkm_last_timestamp [12:22:00]File name is /storage/kkm_last_timestamp [12:22:00]Write 4 bytes [12:22:00]NVStorageSaveData done [12:22:00]ExternCall_PrintAddStr [12:22:00]wPrintStart [12:22:00]Write to MH i2c: 01 00 00 4D 90 DD [12:22:00]Write i2c OK [12:22:00]MH_I2C_Read... [12:22:00]Read from MH i2c: 01 [12:22:00]MH_I2C_Read... [12:22:00]Read from MH i2c: 01 07 00 [12:22:00]MH_I2C_Read... [12:22:00]Read from MH i2c: 01 07 00 4D 90 00 00 00 00 00 FF 0F F2 [12:22:00]RasterBufferAndPrint [12:22:00]line Счет N : (3)169107 [12:22:00]line ИНН: 02508201610067 [12:22:00]line Контрольно-Кассовый Чек [12:22:00]line ПРОДАЖА [12:22:00]line Товар: 4620017451303 [12:22:00]line Кар.с жев.конф.Страйк 11.3г/50 [12:22:00]line 1.000 * 17.00 [12:22:00]line = 17.00 [12:22:00]line НДС 12% НСП 1% [12:22:00]line > о реализуемом товаре [12:22:00]line ИТОГО: 17.00 [12:22:00]line НСП 1% : 0.15 [12:22:00]line НДС 12% : 1.80 [12:22:00]line Наличными: 17.00 [12:22:00]line Безнал.: 0.00 [12:22:00]line Место: АЗС № 77 "Партнер Нефть" [12:22:00]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [12:22:00]line СНО: Общий режим [12:22:00]line Чек 22 11.07.2024 12:22 [12:22:00]line Смена: 432 ФФД: 1.0 [12:22:00]line ЗНМ: 0300000122 [12:22:00]line РНМ: 0000000000093033 [12:22:00]line Версия ККМ: 001 [12:22:00]line ФМ: 0000000000875104 [12:22:00]line ФД: 33267 [12:22:00]line ФПД: 140167546032925 [12:22:00]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T122235&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33267&fm=140167546032925&tin=02508201610067®Number=0000000000093033&sum=1700 [12:22:00]OFD Sender: Processing packet 33267 [packets to send 6, broken 5] [12:22:00]ProducePacketName [12:22:00]name=ofd_packets/00033267 [12:22:00]OFD Sender: To server: pG, [12:22:00]CommunicateWithHost lk.salyk.kg:30040 [12:22:00]ConnectInit lk.salyk.kg [12:22:00]line 0 [12:22:00]written 0, free lines is 4095 [12:22:00]Connected sock=10 [12:22:00]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 36 01 00 00 C7 4F 2E 01 7B 1A 5A 03 01 00 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 36 32 30 30 31 37 34 35 31 33 30 33 06 04 30 00 D0 9A D0 B0 D1 80 2E D1 81 20 D0 B6 D0 B5 D0 B2 2E D0 BA D0 BE D0 BD D1 84 2E D0 A1 D1 82 D1 80 D0 B0 D0 B9 D0 BA 20 31 31 2E 33 D0 B3 2F 35 30 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 06 00 00 00 00 13 04 06 00 A4 06 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A4 06 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B4 00 00 00 00 00 07 04 06 00 A4 06 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 8B CE 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 F3 81 00 00 35 04 06 00 7F 7B 4C CA 53 1D C7 C7 66 3C 6B DC 4C CB [12:22:00]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 A7 43 47 00 C5 22 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 F3 81 00 00 F4 03 04 00 3B 79 8F 66 B6 04 01 00 00 60 EE DB A3 89 7D 55 12 [12:22:00]CommunicateWithHost err = 0 [12:22:00]CheckOFDResponse [12:22:00]1017 (14) - 77093643461234 [12:22:00]1041 (16) - 0000000000875104 [12:22:00]1040 (4) - 33267 [12:22:00]1012 (4) - 11.07.2024 06:18 [12:22:00]1206 (1) - 0 [12:22:00]OFD Sender: Remove packet 33267 [12:22:00]ProducePacketName [12:22:00]name=ofd_packets/00033267 [12:22:00]NVStorageDeleteData [12:22:01]Write to MH i2c: 01 00 00 76 90 06 [12:22:01]Write i2c OK [12:22:01]MH_I2C_Read... [12:22:01]Read from MH i2c: 01 [12:22:01]MH_I2C_Read... [12:22:01]Read from MH i2c: 01 07 00 [12:22:01]MH_I2C_Read... [12:22:01]Read from MH i2c: 01 07 00 76 90 00 00 00 00 00 DB 0C F4 [12:22:01]RasterBufferAndPrint [12:22:01]line [12:22:01]line [12:22:01]line [12:22:01]line [12:22:01]line [12:22:01]written 0, free lines is 3300 [12:22:01]MH_Cut [12:22:01]Write to MH i2c: D1 01 00 7D 90 01 DF [12:22:01]Write i2c OK [12:22:01]MH_I2C_Read... [12:22:01]Read from MH i2c: D1 [12:22:01]MH_I2C_Read... [12:22:01]Read from MH i2c: D1 01 00 [12:22:01]MH_I2C_Read... [12:22:01]Read from MH i2c: D1 01 00 7D 90 00 DE [12:22:01]Write to MH i2c: 01 00 00 7E 90 0E [12:22:01]Write i2c OK [12:22:01]MH_I2C_Read... [12:22:01]OFD Sender: No OFD packet to send [12:22:01]*** Cut start [12:22:01]*** Partial cut [12:22:01]*** CUTSNS_PIN = 1 [12:22:01]*** CUTSNS_PIN = 0 [12:22:02]*** Brake cut motor [12:22:02]Read from MH i2c: 01 [12:22:02]MH_I2C_Read... [12:22:02]*** Stop cut motor [12:22:02]*** Cut end [12:22:02]Read from MH i2c: 01 07 00 [12:22:02]MH_I2C_Read... [12:22:02]Read from MH i2c: 01 07 00 7E 90 00 00 00 00 00 FF 0F 23 [12:22:02]process_action close_receipt done [12:22:02]requested_data is exist [12:22:02]produce_requested_data [12:22:02]requested_item fm.sn is exist - process it [12:22:02]wFMCommunicate request_size=4 [12:22:02]MH_SAM_APDU [12:22:02]CAPDU: 80 11 00 00 [12:22:02]Write to MH i2c: E2 08 00 7F 90 80 11 00 00 00 00 00 00 89 [12:22:02]Write i2c OK [12:22:02]MH_I2C_Read... [12:22:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:22:02]Read from MH i2c: E2 [12:22:02]MH_I2C_Read... [12:22:02]Read from MH i2c: E2 17 00 [12:22:02]MH_I2C_Read... [12:22:02]Read from MH i2c: E2 17 00 7F 90 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 D5 [12:22:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [12:22:02]wFMCommunicate OK [12:22:02]requested_item fd.num is exist - process it [12:22:02]SAM_PROTO_GetFieldsCounters [12:22:02]wFMCommunicate request_size=4 [12:22:02]MH_SAM_APDU [12:22:02]CAPDU: 80 13 00 00 [12:22:02]Write to MH i2c: E2 08 00 80 90 80 13 00 00 00 00 00 00 8C [12:22:02]Write i2c OK [12:22:02]MH_I2C_Read... [12:22:02]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:22:02]Read from MH i2c: E2 [12:22:02]MH_I2C_Read... [12:22:02]Read from MH i2c: E2 62 00 [12:22:02]MH_I2C_Read... [12:22:02]Read from MH i2c: E2 62 00 80 90 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 F3 81 00 00 0E 04 04 00 B0 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 06 [12:22: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 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 F3 81 00 00 0E 04 04 00 B0 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 [12:22:02]wFMCommunicate OK [12:22:02]SAM_PROTO_GetFieldsCounters done [12:22:02]requested_item shift.num is exist - process it [12:22:02]requested_item shift.opened is exist - process it [12:22:02]req_shift_opened [12:22:02]FM_GetShiftState [12:22:02]SAM_PROTO_GetShiftState [12:22:02]wFMCommunicate request_size=4 [12:22:02]MH_SAM_APDU [12:22:02]CAPDU: 80 13 01 00 [12:22:02]Write to MH i2c: E2 08 00 81 90 80 13 01 00 00 00 00 00 8E [12:22:02]Write i2c OK [12:22:02]MH_I2C_Read... [12:22:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:22:02]Read from MH i2c: E2 [12:22:02]MH_I2C_Read... [12:22:02]Read from MH i2c: E2 0E 00 [12:22:02]MH_I2C_Read... [12:22:02]Read from MH i2c: E2 0E 00 81 90 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 BF [12:22:02]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [12:22:02]wFMCommunicate OK [12:22:02]SAM_PROTO_GetShiftState done [12:22:02]FM_GetShiftState done [12:22:02]req_shift_opened done [12:22:02]requested_item shift.open_date is exist - process it [12:22:02]req_shift_open_date [12:22:02]req_shift_open_date done [12:22:02]produce_requested_data done [12:22:02]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33267,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398} [12:22:02]process_action_free close_receipt [12:22:02]json_value_free [12:22:02]json_value_free done [12:22:02]process_json_proto returns [12:22:02]Send response to host [12:22:02]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33267,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398}}} [12:22:02]free response buf [12:22:02]execute_script done [12:22:02]execute_script returns [12:22:02]free content buf [12:22:02]Sock 8.Close socket [12:22:02]Sock 8.Thread stoped [12:22:06]OFD Sender: No OFD packet to send [12:22:11]OFD Sender: No OFD packet to send [12:22:16]OFD Sender: No OFD packet to send [12:22:21]OFD Sender: No OFD packet to send [12:22:26]OFD Sender: No OFD packet to send [12:22:26]accept exits with 9 [12:22:26]New connection [12:22:26]New thread 3066842468 created [12:22:26]Thread 3066699108 joined [12:22:26]Waiting for new connection... [12:22:26] Sock 9.Parse request [12:22:26]Sock 9.Check first char [12:22:26]Sock 9.First char is OK [12:22:26]request: POST /json_proto HTTP/1.0 [12:22:26]Method: POST [12:22:26]URL: /json_proto [12:22:26]Method is POST - this is cgi request [12:22:26]url: /json_proto [12:22:26]query_string will be loaded in cgi processing [12:22:26]execute_cgi json_proto POST (null) [12:22:26]execute_cgi path=json_proto method=POST [12:22:26]POST find Content-Length [12:22:26]Host: 172.17.35.196:8080 [12:22:26]Content-Length: 832 [12:22:26]Content-Type: application/json [12:22:26] [12:22:26]POST finish read [12:22:26]Found Content-Length = 832 [12:22:26]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169108", "tax_sys" : 0, "items" : [ { "code": "4780022460216", "name": "\u0410\u043D\u0442\u0438\u0444\u0440\u0438\u0437 Yumiko red 1\u043A\u0433", "price" : 148.00, "quantity" : 1.000, "sum" : 148.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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 148.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:22:26]execute_script... [12:22:26]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169108", "tax_sys" : 0, "items" : [ { "code": "4780022460216", "name": "\u0410\u043D\u0442\u0438\u0444\u0440\u0438\u0437 Yumiko red 1\u043A\u0433", "price" : 148.00, "quantity" : 1.000, "sum" : 148.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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 148.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:22:26]POST & json_proto [12:22:26]process_json_proto [12:22:26]json parsed OK: [12:22:26]protocol is kg_v1.0 [12:22:26]action value=close_receipt [12:22:26]process_action close_receipt [12:22:26]cmd_close_receipt [12:22:26]MH_GetDate [12:22:26]Write to MH i2c: F0 00 00 82 90 01 [12:22:26]Write i2c OK [12:22:26]MH_I2C_Read... [12:22:26]Read from MH i2c: F0 [12:22:26]MH_I2C_Read... [12:22:26]Read from MH i2c: F0 09 00 [12:22:26]MH_I2C_Read... [12:22:26]Read from MH i2c: F0 09 00 82 90 00 A7 CE 8F 66 AD 14 F4 65 8E [12:22:26]GetLastDocTimeStamp 1720700555 [12:22:26]current date 1720700583 [12:22:26]FM_GetShiftState [12:22:26]SAM_PROTO_GetShiftState [12:22:26]wFMCommunicate request_size=4 [12:22:26]MH_SAM_APDU [12:22:26]CAPDU: 80 13 01 00 [12:22:26]Write to MH i2c: E2 08 00 83 90 80 13 01 00 00 00 00 00 90 [12:22:26]Write i2c OK [12:22:26]MH_I2C_Read... [12:22:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:22:26]Read from MH i2c: E2 [12:22:26]MH_I2C_Read... [12:22:26]Read from MH i2c: E2 0E 00 [12:22:26]MH_I2C_Read... [12:22:26]Read from MH i2c: E2 0E 00 83 90 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 C1 [12:22:26]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [12:22:26]wFMCommunicate OK [12:22:26]SAM_PROTO_GetShiftState done [12:22:26]FM_GetShiftState done [12:22:26]opened in 1720656398 [12:22:26]opened+sec_in_day 1720742798 [12:22:26]quantity*price = 14800 [12:22:26]sum+1 = 14801 [12:22:26]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 148.00 НСП 1% : 1.31 НДС 12% : 15.72 Наличными: 0.00 Безнал.: 148.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 23 11.07.2024 12:23 Смена: 432 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000875104 ФД: 33268 ФПД: 24349523470650 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T122303&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33268&fm=24349523470650&tin=02508201610067®Number=0000000000093033&sum=14800 0 [12:22:27]StoreToDocumentArchive [12:22:27]shift 432 fd 33268 [12:22:27]save to /storage/0432/doc_00033268 [12:22:27]save last doc name /storage/0432/doc_00033268 to /storage/kkm_last_doc_name [12:22:27]save OK [12:22:27]Clear old archive folders... [12:22:27]ProcessDocumentItem done err = 0, tmpTLVsize=275 [12:22:27]tlvbuf is 00300770 [12:22:27]SAM_PROTO_ClearQueue [12:22:27]wFMCommunicate request_size=4 [12:22:27]MH_SAM_APDU [12:22:27]CAPDU: 80 09 00 00 [12:22:27]Write to MH i2c: E2 08 00 90 90 80 09 00 00 00 00 00 00 92 [12:22:27]Write i2c OK [12:22:27]MH_I2C_Read... [12:22:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:22:27]Read from MH i2c: E2 [12:22:27]MH_I2C_Read... [12:22:27]Read from MH i2c: E2 03 00 [12:22:27]MH_I2C_Read... [12:22:27]Read from MH i2c: E2 03 00 90 90 00 90 00 94 [12:22:27]RAPDU: 90 00 [12:22:27]wFMCommunicate OK [12:22:27]SAM_PROTO_ClearQueue done [12:22:27]KKMCreateOFDPacket [12:22:27]OFDProtocolAddRootSTLVToBuf [12:22:27]FM_MakeSignedData [12:22:27]FM_MakeSignedData [12:22:27]SAM_PROTO_SignData [12:22:27]wFMCommunicate request_size=4 [12:22:27]MH_SAM_APDU [12:22:27]CAPDU: 80 0D 01 02 [12:22:27]Write to MH i2c: E2 08 00 91 90 80 0D 01 02 00 00 00 00 9A [12:22:27]Write i2c OK [12:22:27]MH_I2C_Read... [12:22:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:22:27]Read from MH i2c: E2 [12:22:27]MH_I2C_Read... [12:22:27]Read from MH i2c: E2 03 00 [12:22:27]MH_I2C_Read... [12:22:27]Read from MH i2c: E2 03 00 91 90 00 90 00 95 [12:22:27]RAPDU: 90 00 [12:22:27]wFMCommunicate OK [12:22:27]wFMCommunicate request_size=255 [12:22:27]MH_SAM_APDU [12:22:27]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 D0 39 00 00 00 00 13 04 06 00 D0 39 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 39 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 83 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 24 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D0 39 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 A7 CE 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 [12:22:27]Write to MH i2c: E2 02 01 92 90 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 D0 39 00 00 00 00 13 04 06 00 D0 39 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 39 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 83 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 24 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D0 39 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 A7 CE 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 00 00 4D [12:22:27]Write i2c OK [12:22:27]MH_I2C_Read... [12:22:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:22:28]Read from MH i2c: E2 [12:22:28]MH_I2C_Read... [12:22:28]Read from MH i2c: E2 03 00 [12:22:28]MH_I2C_Read... [12:22:28]Read from MH i2c: E2 03 00 92 90 00 90 00 96 [12:22:28]RAPDU: 90 00 [12:22:28]wFMCommunicate OK [12:22:28]wFMCommunicate request_size=34 [12:22:28]MH_SAM_APDU [12:22:28]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 F4 81 00 00 35 04 06 00 16 25 50 B2 69 3A [12:22:28]Write to MH i2c: E2 25 00 93 90 80 0D 02 02 1D 00 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 F4 81 00 00 35 04 06 00 16 25 50 B2 69 3A 00 00 AC [12:22:28]Write i2c OK [12:22:28]MH_I2C_Read... [12:22:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:22:28]Read from MH i2c: E2 [12:22:28]MH_I2C_Read... [12:22:28]Read from MH i2c: E2 03 00 [12:22:28]MH_I2C_Read... [12:22:28]Read from MH i2c: E2 03 00 93 90 00 90 00 97 [12:22:28]RAPDU: 90 00 [12:22:28]wFMCommunicate OK [12:22:28]wFMCommunicate request_size=4 [12:22:28]MH_SAM_APDU [12:22:28]CAPDU: 80 0D 03 02 [12:22:28]Write to MH i2c: E2 08 00 94 90 80 0D 03 02 00 00 00 00 9F [12:22:28]Write i2c OK [12:22:28]MH_I2C_Read... [12:22:28]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:22:28]Read from MH i2c: E2 [12:22:28]MH_I2C_Read... [12:22:28]Read from MH i2c: E2 0B 00 [12:22:28]MH_I2C_Read... [12:22:28]Read from MH i2c: E2 0B 00 94 90 00 00 ED A3 B7 DE 9A 7D 55 90 00 31 [12:22:28]RAPDU: 00 ED A3 B7 DE 9A 7D 55 90 00 [12:22:28]wFMCommunicate OK [12:22:28]SAM_PROTO_SignData done [12:22:28]FM_MakeSignedData done [12:22:28]CreateOFDProtocolMessage [12:22:28]wFMCommunicate request_size=4 [12:22:28]MH_SAM_APDU [12:22:28]CAPDU: 80 11 00 00 [12:22:28]Write to MH i2c: E2 08 00 95 90 80 11 00 00 00 00 00 00 9F [12:22:28]Write i2c OK [12:22:28]MH_I2C_Read... [12:22:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:22:28]Read from MH i2c: E2 [12:22:28]MH_I2C_Read... [12:22:28]Read from MH i2c: E2 17 00 [12:22:28]MH_I2C_Read... [12:22:28]Read from MH i2c: E2 17 00 95 90 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 EB [12:22:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [12:22:28]wFMCommunicate OK [12:22:28]CreateOFDProtocolMessage done [12:22:28]OFDSenderStorePacket 33268 [12:22:28]StoreOFDPacket docnum=33268 [12:22:28]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 27 01 00 00 7C 0D 1F 01 FD F2 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 D0 39 00 00 00 00 13 04 06 00 D0 39 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 39 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 83 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 24 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D0 39 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 A7 CE 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 F4 81 00 00 35 04 06 00 16 25 50 B2 69 3A 00 ED A3 B7 DE 9A 7D 55 [12:22:28]CheckFolder [12:22:28]dirname=/storage/ofd_packets [12:22:28]CheckFolder done [12:22:28]ProducePacketName [12:22:28]name=ofd_packets/00033268 [12:22:28]NVStorageSaveData ofd_packets/00033268 [12:22:28]File name is /storage/ofd_packets/00033268 [12:22:28]Write 325 bytes [12:22:28]NVStorageSaveData done [12:22:28]OFDSenderStorePacket done [12:22:28]KKMCreateOFDPacket done [12:22:28]NVStorageSaveData kkm_last_timestamp [12:22:28]File name is /storage/kkm_last_timestamp [12:22:28]Write 4 bytes [12:22:28]NVStorageSaveData done [12:22:28]ExternCall_PrintAddStr [12:22:28]wPrintStart [12:22:28]Write to MH i2c: 01 00 00 96 90 26 [12:22:28]Write i2c OK [12:22:28]MH_I2C_Read... [12:22:28]Read from MH i2c: 01 [12:22:28]MH_I2C_Read... [12:22:28]Read from MH i2c: 01 07 00 [12:22:28]MH_I2C_Read... [12:22:28]Read from MH i2c: 01 07 00 96 90 00 00 00 00 00 FF 0F 3B [12:22:28]RasterBufferAndPrint [12:22:28]line Счет N : (3)169108 [12:22:28]line ИНН: 02508201610067 [12:22:28]line Контрольно-Кассовый Чек [12:22:28]line ПРОДАЖА [12:22:28]line Товар: 4780022460216 [12:22:28]line Антифриз Yumiko red 1кг [12:22:28]line 1.000 * 148.00 [12:22:28]line = 148.00 [12:22:28]line НДС 12% НСП 1% [12:22:28]line > о реализуемом товаре [12:22:28]line ИТОГО: 148.00 [12:22:28]line НСП 1% : 1.31 [12:22:28]line НДС 12% : 15.72 [12:22:28]line Наличными: 0.00 [12:22:28]line Безнал.: 148.00 [12:22:28]line Место: АЗС № 77 "Партнер Нефть" [12:22:28]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [12:22:28]line СНО: Общий режим [12:22:28]line Чек 23 11.07.2024 12:23 [12:22:28]line Смена: 432 ФФД: 1.0 [12:22:28]line ЗНМ: 0300000122 [12:22:28]line РНМ: 0000000000093033 [12:22:28]line Версия ККМ: 001 [12:22:28]line Платежная система: АКБ Кыргызстан [12:22:28]line ФМ: 0000000000875104 [12:22:28]line ФД: 33268 [12:22:28]line ФПД: 24349523470650 [12:22:28]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T122303&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33268&fm=24349523470650&tin=02508201610067®Number=0000000000093033&sum=14800 [12:22:28]OFD Sender: Processing packet 33268 [packets to send 6, broken 5] [12:22:28]ProducePacketName [12:22:28]name=ofd_packets/00033268 [12:22:28]OFD Sender: To server: pG, [12:22:28]CommunicateWithHost lk.salyk.kg:30040 [12:22:28]ConnectInit lk.salyk.kg [12:22:28]line 0 [12:22:28]written 0, free lines is 4095 [12:22:28]Connected sock=10 [12:22:28]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 27 01 00 00 7C 0D 1F 01 FD F2 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 D0 39 00 00 00 00 13 04 06 00 D0 39 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 39 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 83 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 24 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D0 39 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 A7 CE 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 F4 81 00 00 35 04 06 00 16 25 50 B2 69 3A 00 ED A3 B7 DE 9A 7D 55 [12:22:28]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 6A C6 47 00 36 7B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 F4 81 00 00 F4 03 04 00 57 79 8F 66 B6 04 01 00 00 2C FC 01 1C E0 10 50 34 [12:22:28]CommunicateWithHost err = 0 [12:22:28]CheckOFDResponse [12:22:28]1017 (14) - 77093643461234 [12:22:28]1041 (16) - 0000000000875104 [12:22:28]1040 (4) - 33268 [12:22:28]1012 (4) - 11.07.2024 06:19 [12:22:28]1206 (1) - 0 [12:22:28]OFD Sender: Remove packet 33268 [12:22:28]ProducePacketName [12:22:28]name=ofd_packets/00033268 [12:22:28]NVStorageDeleteData [12:22:29]Write to MH i2c: 01 00 00 C0 90 50 [12:22:29]Write i2c OK [12:22:29]MH_I2C_Read... [12:22:29]Read from MH i2c: 01 [12:22:29]MH_I2C_Read... [12:22:29]Read from MH i2c: 01 07 00 [12:22:29]MH_I2C_Read... [12:22:29]Read from MH i2c: 01 07 00 C0 90 00 00 00 00 00 E3 0C 46 [12:22:29]RasterBufferAndPrint [12:22:29]line [12:22:29]line [12:22:29]line [12:22:29]line [12:22:29]line [12:22:29]written 0, free lines is 3305 [12:22:29]MH_Cut [12:22:29]Write to MH i2c: D1 01 00 C7 90 01 29 [12:22:29]Write i2c OK [12:22:29]MH_I2C_Read... [12:22:29]Read from MH i2c: D1 [12:22:29]MH_I2C_Read... [12:22:29]Read from MH i2c: D1 01 00 [12:22:29]MH_I2C_Read... [12:22:29]Read from MH i2c: D1 01 00 C7 90 00 28 [12:22:29]Write to MH i2c: 01 00 00 C8 90 58 [12:22:29]Write i2c OK [12:22:29]MH_I2C_Read... [12:22:29]OFD Sender: No OFD packet to send [12:22:29]*** Cut start [12:22:29]*** Partial cut [12:22:29]*** CUTSNS_PIN = 1 [12:22:29]*** CUTSNS_PIN = 0 [12:22:30]*** Brake cut motor [12:22:30]Read from MH i2c: 01 [12:22:30]MH_I2C_Read... [12:22:30]*** Stop cut motor [12:22:30]*** Cut end [12:22:30]Read from MH i2c: 01 07 00 [12:22:30]MH_I2C_Read... [12:22:30]Read from MH i2c: 01 07 00 C8 90 00 00 00 00 00 FF 0F 6D [12:22:30]process_action close_receipt done [12:22:30]requested_data is exist [12:22:30]produce_requested_data [12:22:30]requested_item fm.sn is exist - process it [12:22:30]wFMCommunicate request_size=4 [12:22:30]MH_SAM_APDU [12:22:30]CAPDU: 80 11 00 00 [12:22:30]Write to MH i2c: E2 08 00 C9 90 80 11 00 00 00 00 00 00 D3 [12:22:30]Write i2c OK [12:22:30]MH_I2C_Read... [12:22:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:22:30]Read from MH i2c: E2 [12:22:30]MH_I2C_Read... [12:22:30]Read from MH i2c: E2 17 00 [12:22:30]MH_I2C_Read... [12:22:30]Read from MH i2c: E2 17 00 C9 90 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 1F [12:22:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [12:22:30]wFMCommunicate OK [12:22:30]requested_item fd.num is exist - process it [12:22:30]SAM_PROTO_GetFieldsCounters [12:22:30]wFMCommunicate request_size=4 [12:22:30]MH_SAM_APDU [12:22:30]CAPDU: 80 13 00 00 [12:22:30]Write to MH i2c: E2 08 00 CA 90 80 13 00 00 00 00 00 00 D6 [12:22:30]Write i2c OK [12:22:30]MH_I2C_Read... [12:22:30]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:22:30]Read from MH i2c: E2 [12:22:30]MH_I2C_Read... [12:22:30]Read from MH i2c: E2 62 00 [12:22:30]MH_I2C_Read... [12:22:30]Read from MH i2c: E2 62 00 CA 90 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 F4 81 00 00 0E 04 04 00 B0 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 54 [12:22:30]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 F4 81 00 00 0E 04 04 00 B0 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 [12:22:30]wFMCommunicate OK [12:22:30]SAM_PROTO_GetFieldsCounters done [12:22:30]requested_item shift.num is exist - process it [12:22:30]requested_item shift.opened is exist - process it [12:22:30]req_shift_opened [12:22:30]FM_GetShiftState [12:22:30]SAM_PROTO_GetShiftState [12:22:30]wFMCommunicate request_size=4 [12:22:30]MH_SAM_APDU [12:22:30]CAPDU: 80 13 01 00 [12:22:30]Write to MH i2c: E2 08 00 CB 90 80 13 01 00 00 00 00 00 D8 [12:22:30]Write i2c OK [12:22:30]MH_I2C_Read... [12:22:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:22:30]Read from MH i2c: E2 [12:22:30]MH_I2C_Read... [12:22:30]Read from MH i2c: E2 0E 00 [12:22:30]MH_I2C_Read... [12:22:30]Read from MH i2c: E2 0E 00 CB 90 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 09 [12:22:30]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [12:22:30]wFMCommunicate OK [12:22:30]SAM_PROTO_GetShiftState done [12:22:30]FM_GetShiftState done [12:22:30]req_shift_opened done [12:22:30]requested_item shift.open_date is exist - process it [12:22:30]req_shift_open_date [12:22:30]req_shift_open_date done [12:22:30]produce_requested_data done [12:22:30]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33268,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398} [12:22:30]process_action_free close_receipt [12:22:30]json_value_free [12:22:30]json_value_free done [12:22:30]process_json_proto returns [12:22:30]Send response to host [12:22:30]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33268,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398}}} [12:22:30]free response buf [12:22:30]execute_script done [12:22:30]execute_script returns [12:22:30]free content buf [12:22:30]Sock 9.Close socket [12:22:30]Sock 9.Thread stoped [12:22:34]OFD Sender: No OFD packet to send [12:22:39]OFD Sender: No OFD packet to send [12:22:44]OFD Sender: No OFD packet to send [12:22:49]OFD Sender: No OFD packet to send [12:22:54]OFD Sender: No OFD packet to send [12:22:59]OFD Sender: No OFD packet to send [12:23:04]OFD Sender: No OFD packet to send [12:23:09]OFD Sender: No OFD packet to send [12:23:14]OFD Sender: No OFD packet to send [12:23:19]OFD Sender: No OFD packet to send [12:23:24]OFD Sender: No OFD packet to send [12:23:29]OFD Sender: No OFD packet to send [12:23:34]OFD Sender: No OFD packet to send [12:23:39]OFD Sender: No OFD packet to send [12:23:44]OFD Sender: No OFD packet to send [12:23:49]OFD Sender: No OFD packet to send [12:23:51]accept exits with 8 [12:23:51]New connection [12:23:51]New thread 3066699108 created [12:23:51]Thread 3066842468 joined [12:23:51]Waiting for new connection... [12:23:51] Sock 8.Parse request [12:23:51]Sock 8.Check first char [12:23:51]Sock 8.First char is OK [12:23:51]request: POST /json_proto HTTP/1.0 [12:23:51]Method: POST [12:23:51]URL: /json_proto [12:23:51]Method is POST - this is cgi request [12:23:51]url: /json_proto [12:23:51]query_string will be loaded in cgi processing [12:23:51]execute_cgi json_proto POST (null) [12:23:51]execute_cgi path=json_proto method=POST [12:23:51]POST find Content-Length [12:23:51]Host: 172.17.35.196:8080 [12:23:51]Content-Length: 640 [12:23:51]Content-Type: application/json [12:23:51] [12:23:51]POST finish read [12:23:51]Found Content-Length = 640 [12:23:51]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169109", "tax_sys" : 0, "items" : [ { "code": "2000032710015", "name": "\u0421\u043E\u0447\u043D\u0438\u043A DC \u0442\u0432\u043E\u0440\u043E\u0433 75\u0433", "price" : 35.00, "quantity" : 1.000, "sum" : 35.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 35.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:23:51]execute_script... [12:23: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)169109", "tax_sys" : 0, "items" : [ { "code": "2000032710015", "name": "\u0421\u043E\u0447\u043D\u0438\u043A DC \u0442\u0432\u043E\u0440\u043E\u0433 75\u0433", "price" : 35.00, "quantity" : 1.000, "sum" : 35.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 35.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:23:51]POST & json_proto [12:23:51]process_json_proto [12:23:51]json parsed OK: [12:23:51]protocol is kg_v1.0 [12:23:51]action value=close_receipt [12:23:51]process_action close_receipt [12:23:51]cmd_close_receipt [12:23:51]MH_GetDate [12:23:51]Write to MH i2c: F0 00 00 CC 90 4B [12:23:51]Write i2c OK [12:23:51]MH_I2C_Read... [12:23:51]Read from MH i2c: F0 [12:23:51]MH_I2C_Read... [12:23:51]Read from MH i2c: F0 09 00 [12:23:51]MH_I2C_Read... [12:23:51]Read from MH i2c: F0 09 00 CC 90 00 FC CE 8F 66 AD 14 F4 65 2D [12:23:51]GetLastDocTimeStamp 1720700583 [12:23:51]current date 1720700668 [12:23:51]FM_GetShiftState [12:23:51]SAM_PROTO_GetShiftState [12:23:51]wFMCommunicate request_size=4 [12:23:51]MH_SAM_APDU [12:23:51]CAPDU: 80 13 01 00 [12:23:51]Write to MH i2c: E2 08 00 CD 90 80 13 01 00 00 00 00 00 DA [12:23:51]Write i2c OK [12:23:51]MH_I2C_Read... [12:23:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:23:51]Read from MH i2c: E2 [12:23:51]MH_I2C_Read... [12:23:51]Read from MH i2c: E2 0E 00 [12:23:51]MH_I2C_Read... [12:23:51]Read from MH i2c: E2 0E 00 CD 90 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 0B [12:23:51]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [12:23:51]wFMCommunicate OK [12:23:51]SAM_PROTO_GetShiftState done [12:23:51]FM_GetShiftState done [12:23:51]opened in 1720656398 [12:23:51]opened+sec_in_day 1720742798 [12:23:51]quantity*price = 3500 [12:23:51]sum+1 = 3501 [12:23:51]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 35.00 НСП 1% : 0.31 НДС 12% : 3.72 Наличными: 35.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 24 11.07.2024 12:24 Смена: 432 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33269 ФПД: 237129003389040 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T122428&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33269&fm=237129003389040&tin=02508201610067®Number=0000000000093033&sum=3500 0 [12:23:52]StoreToDocumentArchive [12:23:52]shift 432 fd 33269 [12:23:52]save to /storage/0432/doc_00033269 [12:23:52]save last doc name /storage/0432/doc_00033269 to /storage/kkm_last_doc_name [12:23:52]save OK [12:23:52]Clear old archive folders... [12:23:52]ProcessDocumentItem done err = 0, tmpTLVsize=275 [12:23:52]tlvbuf is 00321320 [12:23:52]SAM_PROTO_ClearQueue [12:23:52]wFMCommunicate request_size=4 [12:23:52]MH_SAM_APDU [12:23:52]CAPDU: 80 09 00 00 [12:23:52]Write to MH i2c: E2 08 00 DA 90 80 09 00 00 00 00 00 00 DC [12:23:52]Write i2c OK [12:23:52]MH_I2C_Read... [12:23:52]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:23:52]Read from MH i2c: E2 [12:23:52]MH_I2C_Read... [12:23:52]Read from MH i2c: E2 03 00 [12:23:52]MH_I2C_Read... [12:23:52]Read from MH i2c: E2 03 00 DA 90 00 90 00 DE [12:23:52]RAPDU: 90 00 [12:23:52]wFMCommunicate OK [12:23:52]SAM_PROTO_ClearQueue done [12:23:52]KKMCreateOFDPacket [12:23:52]OFDProtocolAddRootSTLVToBuf [12:23:52]FM_MakeSignedData [12:23:52]FM_MakeSignedData [12:23:52]SAM_PROTO_SignData [12:23:52]wFMCommunicate request_size=4 [12:23:52]MH_SAM_APDU [12:23:52]CAPDU: 80 0D 01 02 [12:23:52]Write to MH i2c: E2 08 00 DB 90 80 0D 01 02 00 00 00 00 E4 [12:23:52]Write i2c OK [12:23:52]MH_I2C_Read... [12:23:52]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:23:52]Read from MH i2c: E2 [12:23:52]MH_I2C_Read... [12:23:52]Read from MH i2c: E2 03 00 [12:23:52]MH_I2C_Read... [12:23:52]Read from MH i2c: E2 03 00 DB 90 00 90 00 DF [12:23:52]RAPDU: 90 00 [12:23:52]wFMCommunicate OK [12:23:52]wFMCommunicate request_size=255 [12:23:52]MH_SAM_APDU [12:23:52]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 32 30 30 30 30 33 32 37 31 30 30 31 35 06 04 21 00 D0 A1 D0 BE D1 87 D0 BD D0 B8 D0 BA 20 44 43 20 D1 82 D0 B2 D0 BE D1 80 D0 BE D0 B3 20 37 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AC 0D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 74 01 00 00 00 00 07 04 06 00 AC 0D 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 FC CE 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 [12:23:52]Write to MH i2c: E2 02 01 DC 90 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 32 30 30 30 30 33 32 37 31 30 30 31 35 06 04 21 00 D0 A1 D0 BE D1 87 D0 BD D0 B8 D0 BA 20 44 43 20 D1 82 D0 B2 D0 BE D1 80 D0 BE D0 B3 20 37 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AC 0D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 74 01 00 00 00 00 07 04 06 00 AC 0D 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 FC CE 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 00 00 3C [12:23:52]Write i2c OK [12:23:52]MH_I2C_Read... [12:23:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:23:53]Read from MH i2c: E2 [12:23:53]MH_I2C_Read... [12:23:53]Read from MH i2c: E2 03 00 [12:23:53]MH_I2C_Read... [12:23:53]Read from MH i2c: E2 03 00 DC 90 00 90 00 E0 [12:23:53]RAPDU: 90 00 [12:23:53]wFMCommunicate OK [12:23:53]wFMCommunicate request_size=34 [12:23:53]MH_SAM_APDU [12:23:53]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 F5 81 00 00 35 04 06 00 D7 AA E6 03 50 70 [12:23:53]Write to MH i2c: E2 25 00 DD 90 80 0D 02 02 1D 00 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 F5 81 00 00 35 04 06 00 D7 AA E6 03 50 70 00 00 41 [12:23:53]Write i2c OK [12:23:53]MH_I2C_Read... [12:23:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:23:53]Read from MH i2c: E2 [12:23:53]MH_I2C_Read... [12:23:53]Read from MH i2c: E2 03 00 [12:23:53]MH_I2C_Read... [12:23:53]Read from MH i2c: E2 03 00 DD 90 00 90 00 E1 [12:23:53]RAPDU: 90 00 [12:23:53]wFMCommunicate OK [12:23:53]wFMCommunicate request_size=4 [12:23:53]MH_SAM_APDU [12:23:53]CAPDU: 80 0D 03 02 [12:23:53]Write to MH i2c: E2 08 00 DE 90 80 0D 03 02 00 00 00 00 E9 [12:23:53]Write i2c OK [12:23:53]MH_I2C_Read... [12:23:53]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:23:53]Read from MH i2c: E2 [12:23:53]MH_I2C_Read... [12:23:53]Read from MH i2c: E2 0B 00 [12:23:53]MH_I2C_Read... [12:23:53]Read from MH i2c: E2 0B 00 DE 90 00 70 86 D1 18 54 95 CB 40 90 00 BD [12:23:53]RAPDU: 70 86 D1 18 54 95 CB 40 90 00 [12:23:53]wFMCommunicate OK [12:23:53]SAM_PROTO_SignData done [12:23:53]FM_MakeSignedData done [12:23:53]CreateOFDProtocolMessage [12:23:53]wFMCommunicate request_size=4 [12:23:53]MH_SAM_APDU [12:23:53]CAPDU: 80 11 00 00 [12:23:53]Write to MH i2c: E2 08 00 DF 90 80 11 00 00 00 00 00 00 E9 [12:23:53]Write i2c OK [12:23:53]MH_I2C_Read... [12:23:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:23:53]Read from MH i2c: E2 [12:23:53]MH_I2C_Read... [12:23:53]Read from MH i2c: E2 17 00 [12:23:53]MH_I2C_Read... [12:23:53]Read from MH i2c: E2 17 00 DF 90 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 35 [12:23:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [12:23:53]wFMCommunicate OK [12:23:53]CreateOFDProtocolMessage done [12:23:53]OFDSenderStorePacket 33269 [12:23:53]StoreOFDPacket docnum=33269 [00:00:11] *** EcrCore started. Build 196 *** [00:00:11]/dev/ttyS4 opened [00:00:11]MH_InterfaceInit /dev/i2c-1 [00:00:11]Malloc ok [00:00:11]MH_GetMetrics [00:00:11]Write to MH i2c: 00 00 00 01 00 00 [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 00 29 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 00 29 00 01 00 00 03 9C 77 C0 01 31 39 30 33 53 51 38 38 54 00 00 00 00 57 25 E8 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 01 03 00 8D [00:00:11]Are we in boot? [00:00:11]We are in boot - try to switch [00:00:11]Write to MH i2c: A0 00 00 02 00 A1 [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]*** Check firmware version 30620, crc_r 49A1A6DB, crc_c: 49A1A6DB, size: 53248 [00:00:11]*** [00:00:11]Read from MH i2c: A0 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: A0 01 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: A0 01 00 02 00 00 A2 [00:00:11]*** Starting fw at address 01020100 (2007E328 010249C5) [00:00:11]*** Waiting for read because exit forced [00:00:11]*** 10 ms more... [00:00:11]*** MH1903S init start (LINUX_LIGHT) [00:00:11]*** Compilation Date Jun 20 2023 Time 12:36:20 [00:00:11]*** Serial: 3139303353513838 54000000005725E8 (1903SQ88T) [00:00:11]*** User serial: FFFFFFFFFFFFFFFF FFFFFFFFFFFFFFFF () [00:00:11]*** step 0: 5000 (2650, 2350 REF) [00:00:11]*** step 1: 4835 (2500, 2335 REF) [00:00:11]*** step 2: 4676 (2440, 2236 REF) [00:00:11]*** step 3: 4523 (2280, 2243 REF) [00:00:11]*** step 4: 4376 (2160, 2216 REF) [00:00:11]*** step 5: 4235 (2050, 2185 REF) [00:00:11]*** step 6: 4098 (1950, 2148 REF) [00:00:11]*** step 7: 3967 (1870, 2097 REF) [00:00:11]*** step 8: 3840 (1828, 2012 REF) [00:00:11]*** step 9: 3719 (1728, 1991 REF) [00:00:11]*** step 10: 3601 (1675, 1926 REF) [00:00:11]*** step 11: 3488 (1635, 1853 REF) [00:00:11]*** step 12: 3379 (1595, 1784 REF) [00:00:11]*** step 13: 3275 (1565, 1710 REF) [00:00:11]*** step 14: 3174 (1543, 1631 REF) [00:00:11]*** step 15: 3077 (1523, 1554 REF) [00:00:11]*** step 16: 2983 (1503, 1480 REF) [00:00:11]*** step 17: 2893 (1486, 1407 REF) [00:00:11]*** step 18: 2806 (1466, 1340 REF) [00:00:11]*** step 19: 2723 (1426, 1297 REF) [00:00:11]*** step 20: 2642 (1406, 1236 REF) [00:00:11]*** step 21: 2565 (1384, 1181 REF) [00:00:11]*** step 22: 2490 (1364, 1126 REF) [00:00:11]*** step 23: 2418 (1344, 1074 REF) [00:00:11]*** step 24: 2349 (1322, 1027 REF) [00:00:11]*** step 25: 2283 (1302, 981 REF) [00:00:11]*** step 26: 2218 (1282, 936 REF) [00:00:11]*** step 27: 2157 (1262, 895 REF) [00:00:11]*** step 28: 2097 (1242, 855 REF) [00:00:11]*** step 29: 2040 (1222, 818 REF) [00:00:11]*** step 30: 1985 (1202, 783 REF) [00:00:11]*** step 31: 1932 (1191, 741 REF) [00:00:11]*** step 32: 1880 (1181, 699 REF) [00:00:11]*** step 33: 1831 (1171, 660 REF) [00:00:11]*** step 34: 1784 (1161, 623 REF) [00:00:11]*** step 35: 1738 (1151, 587 REF) [00:00:11]*** step 36: 1694 (1141, 553 REF) [00:00:11]*** step 37: 1652 (1131, 521 REF) [00:00:11]*** step 38: 1611 (1121, 490 REF) [00:00:11]*** step 39: 1572 (1111, 461 REF) [00:00:11]*** step 40: 1534 (1103, 431 REF) [00:00:11]*** step 41: 1497 (1093, 404 REF) [00:00:11]*** step 42: 1462 (1083, 379 REF) [00:00:11]*** step 43: 1428 (1073, 355 REF) [00:00:11]*** step 44: 1396 (1063, 333 REF) [00:00:11]*** step 45: 1365 (1053, 312 REF) [00:00:11]*** step 46: 1334 (1043, 291 REF) [00:00:11]*** step 47: 1305 (1033, 272 REF) [00:00:11]*** step 48: 1277 (1023, 254 REF) [00:00:11]*** step 49: 1250 (1013, 237 REF) [00:00:11]*** step 50: 1224 (990, 234 REF) [00:00:11]*** step 51: 1199 (980, 219 REF) [00:00:11]*** step 52: 1175 (970, 205 REF) [00:00:11]*** step 53: 1152 (960, 192 REF) [00:00:11]*** step 54: 1130 (950, 180 REF) [00:00:11]*** step 55: 1108 (940, 168 REF) [00:00:11]*** step 56: 1088 (930, 158 REF) [00:00:11]*** step 57: 1068 (920, 148 REF) [00:00:11]*** step 58: 1049 (910, 139 REF) [00:00:11]*** step 59: 1030 (900, 130 REF) [00:00:11]*** step 60: 1012 (890, 122 REF) [00:00:11]*** step 61: 995 (880, 115 REF) [00:00:11]*** step 62: 979 (870, 109 REF) [00:00:11]*** step 63: 963 (860, 103 REF) [00:00:11]*** step 64: 948 (850, 98 REF) [00:00:11]*** step 65: 933 (840, 93 REF) [00:00:11]*** step 66: 919 (830, 89 REF) [00:00:11]*** step 67: 905 (820, 85 REF) [00:00:11]*** step 68: 892 (810, 82 REF) [00:00:11]*** step 69: 879 (800, 79 REF) [00:00:11]*** step 70: 867 (790, 77 REF) [00:00:11]*** step 71: 855 (780, 75 REF) [00:00:11]*** step 72: 844 (770, 74 REF) [00:00:11]*** step 73: 833 (760, 73 REF) [00:00:11]*** step 74: 822 (750, 72 REF) [00:00:11]*** step 75: 812 (740, 72 REF) [00:00:11]*** step 76: 803 (730, 73 REF) [00:00:11]*** step 77: 793 (720, 73 REF) [00:00:11]*** step 78: 784 (710, 74 REF) [00:00:11]*** step 79: 776 (700, 76 REF) [00:00:11]*** step 80: 767 (690, 77 REF) [00:00:11]*** step 81: 759 (680, 79 REF) [00:00:11]*** step 82: 751 (670, 81 REF) [00:00:11]*** step 83: 744 (660, 84 REF) [00:00:11]*** step 84: 737 (650, 87 REF) [00:00:11]*** step 85: 730 (640, 90 REF) [00:00:11]*** step 86: 723 (630, 93 REF) [00:00:11]*** step 87: 717 (620, 97 REF) [00:00:11]*** step 88: 710 (610, 100 REF) [00:00:11]*** step 89: 705 (600, 105 REF) [00:00:11]*** step 90: 699 [00:00:11]*** step 91: 693 [00:00:11]*** step 92: 688 [00:00:11]*** step 93: 683 [00:00:11]*** step 94: 678 [00:00:11]*** step 95: 673 [00:00:11]*** step 96: 669 [00:00:11]*** step 97: 664 [00:00:11]*** step 98: 660 [00:00:11]*** step 99: 656 [00:00:11]*** step 100: 652 [00:00:11]*** step 101: 648 [00:00:11]*** step 102: 644 [00:00:11]*** step 103: 641 [00:00:11]*** step 104: 638 [00:00:11]*** step 105: 634 [00:00:11]*** step 106: 631 [00:00:11]*** step 107: 628 [00:00:11]*** step 108: 625 [00:00:11]*** step 109: 622 [00:00:11]*** step 110: 620 [00:00:11]*** step 111: 617 [00:00:11]*** step 112: 615 [00:00:11]*** step 113: 612 [00:00:11]*** step 114: 610 [00:00:11]*** step 115: 608 [00:00:11]*** step 116: 605 [00:00:11]*** step 117: 603 [00:00:11]*** step 118: 601 [00:00:11]*** step 119: 599 [00:00:11]*** printer: Printer HW initialized [00:00:11]*** initSamCard finished [00:00:11]*** RTC: 10208488+1710494893=1720703381 [00:00:11]*** BPK Status Register BPK_RDY = 0x0 [00:00:11]*** SEN State Register SEN_STATE = 0x200ff [00:00:11]*** 32K Frequency Sensor Enable SEN_XTAL32_EN = 0x80000055 [00:00:11]*** Analog Control Register 0 SEN_ANA0 = 0x33540623 [00:00:11]*** Is cutter blocked? [00:00:12]MH_GetMetrics [00:00:12]Write to MH i2c: 00 00 00 03 00 02 [00:00:12]Write i2c OK [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: 00 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: 00 29 00 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: 00 29 00 03 00 00 03 9C 77 C0 01 31 39 30 33 53 51 38 38 54 00 00 00 00 57 25 E8 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 03 00 8E [00:00:12]Are we in boot? [00:00:12]We are not in boot now [00:00:12]Write to MH i2c: 01 00 00 04 00 04 [00:00:12]Write i2c OK [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: 01 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: 01 07 00 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: 01 07 00 04 00 00 00 00 00 00 FF 0F 19 [00:00:12]Model is 3 [00:00:12]MH firmware is 30620 [00:00:12]MH boot firmware is 3 [00:00:12]MH_SetPrinterDots 448 [00:00:12]HeadWidthInBytes 56 [00:00:12]maxmasksize 7 [00:00:12]Write to MH i2c: D6 06 00 05 00 41 00 40 00 FF FF 5F [00:00:12]Write i2c OK [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: D6 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: D6 01 00 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: D6 01 00 05 00 00 DB [00:00:12]Write to MH i2c: D5 00 00 06 00 DA [00:00:12]Write i2c OK [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: D5 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: D5 01 00 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: D5 01 00 06 00 00 DB [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]ExternCall_SetCallbacks [00:00:12]NVStorageInit [00:00:12]MH_GetDate [00:00:12]Write to MH i2c: F0 00 00 07 00 F6 [00:00:12]Write i2c OK [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: F0 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: F0 09 00 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: F0 09 00 07 00 00 96 D9 8F 66 AD 14 F4 65 7D [13:09:42]Current date/time: 11.07.2024 13:09 [13:09:42]FM_Init [13:09:42]wFMConnect [13:09:42]MH_SAM_On [13:09:42]Write to MH i2c: E0 00 00 08 00 E7 [13:09:42]Write i2c OK [13:09:42]MH_I2C_Read... [13:09:42]*** iso7816_init finished! [13:09:42]*** atr: [13:09:42]*** 0F 3B D5 18 FF 81 91 FE [13:09:42]*** 1F C3 80 73 C8 21 10 0A [13:09:42]*** 00 00 00 00 00 00 00 00 [13:09:42]*** 00 00 00 00 00 00 00 00 [13:09:42]*** 00 00 00 00 00 00 00 00 [13:09:42]*** 00 00 00 00 00 00 00 00 [13:09:42]*** 00 00 00 00 00 00 00 00 [13:09:42]*** 00 00 00 00 00 00 00 00 [13:09:42]Read from MH i2c: E0 [13:09:42]MH_I2C_Read... [13:09:42]Read from MH i2c: E0 10 00 [13:09:42]MH_I2C_Read... [13:09:42]Read from MH i2c: E0 10 00 08 00 00 3B D5 18 FF 81 91 FE 1F C3 80 73 C8 21 10 0A 06 [13:09:42]ATR: 3B D5 18 FF 81 91 FE 1F C3 80 73 C8 21 10 0A [13:09:42]wFMCommunicate request_size=10 [13:09:42]MH_SAM_APDU [13:09:42]CAPDU: 00 A4 04 00 05 01 02 03 04 05 [13:09:42]Write to MH i2c: E2 0D 00 09 00 00 A4 04 00 05 00 01 02 03 04 05 00 00 B3 [13:09:42]Write i2c OK [13:09:42]MH_I2C_Read... [13:09:42]*** iso7816_exchange 00 A4 04 00... Resp OK rsp.len_out = 0! [13:09:42]Read from MH i2c: E2 [13:09:42]MH_I2C_Read... [13:09:42]Read from MH i2c: E2 03 00 [13:09:42]MH_I2C_Read... [13:09:42]Read from MH i2c: E2 03 00 09 00 00 90 00 7D [13:09:42]RAPDU: 90 00 [13:09:42]wFMCommunicate OK [13:09:42]wFMCommunicate request_size=4 [13:09:42]MH_SAM_APDU [13:09:42]CAPDU: 80 11 00 00 [13:09:42]Write to MH i2c: E2 08 00 0A 00 80 11 00 00 00 00 00 00 84 [13:09:42]Write i2c OK [13:09:42]MH_I2C_Read... [13:09:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:09:42]Read from MH i2c: E2 [13:09:42]MH_I2C_Read... [13:09:42]Read from MH i2c: E2 17 00 [13:09:42]MH_I2C_Read... [13:09:42]Read from MH i2c: E2 17 00 0A 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 D0 [13:09:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [13:09:42]wFMCommunicate OK [13:09:42]Detected FM SN is 0000000000875104 [13:09:42]Stored FM SN is 0000000000875104 [13:09:42]wFMCommunicate request_size=9 [13:09:42]MH_SAM_APDU [13:09:42]CAPDU: 80 16 00 00 04 C2 14 01 00 [13:09:42]Write to MH i2c: E2 0C 00 0B 00 80 16 00 00 04 00 C2 14 01 00 00 00 69 [13:09:42]Write i2c OK [13:09:42]MH_I2C_Read... [13:09:42]*** iso7816_exchange 80 16 00 00... Resp OK rsp.len_out = 0! [13:09:42]Read from MH i2c: E2 [13:09:42]MH_I2C_Read... [13:09:42]Read from MH i2c: E2 03 00 [13:09:42]MH_I2C_Read... [13:09:42]Read from MH i2c: E2 03 00 0B 00 00 90 00 7F [13:09:42]RAPDU: 90 00 [13:09:42]wFMCommunicate OK [13:09:42]FM PIN OK [13:09:42]wFMCommunicate request_size=8 [13:09:42]MH_SAM_APDU [13:09:42]CAPDU: 80 14 04 00 03 02 00 01 [13:09:42]Write to MH i2c: E2 0B 00 0C 00 80 14 04 00 03 00 02 00 01 00 00 96 [13:09:42]Write i2c OK [13:09:42]MH_I2C_Read... [13:09:42]*** iso7816_exchange 80 14 04 00... Resp OK rsp.len_out = 0! [13:09:42]Read from MH i2c: E2 [13:09:42]MH_I2C_Read... [13:09:42]Read from MH i2c: E2 03 00 [13:09:42]MH_I2C_Read... [13:09:42]Read from MH i2c: E2 03 00 0C 00 00 90 00 80 [13:09:42]RAPDU: 90 00 [13:09:42]wFMCommunicate OK [13:09:42]wFMCommunicate request_size=13 [13:09:42]MH_SAM_APDU [13:09:42]CAPDU: 80 14 04 01 08 07 00 01 02 03 04 05 06 [13:09:42]Write to MH i2c: E2 10 00 0D 00 80 14 04 01 08 00 07 00 01 02 03 04 05 06 00 00 BB [13:09:42]Write i2c OK [13:09:42]MH_I2C_Read... [13:09:42]*** iso7816_exchange 80 14 04 01... Resp OK rsp.len_out = 0! [13:09:42]Read from MH i2c: E2 [13:09:42]MH_I2C_Read... [13:09:42]Read from MH i2c: E2 03 00 [13:09:42]MH_I2C_Read... [13:09:42]Read from MH i2c: E2 03 00 0D 00 00 90 00 81 [13:09:42]RAPDU: 90 00 [13:09:42]wFMCommunicate OK [13:09:42]wFMCommunicate request_size=4 [13:09:42]MH_SAM_APDU [13:09:42]CAPDU: 80 11 00 00 [13:09:42]Write to MH i2c: E2 08 00 0E 00 80 11 00 00 00 00 00 00 88 [13:09:42]Write i2c OK [13:09:42]MH_I2C_Read... [13:09:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:09:42]Read from MH i2c: E2 [13:09:42]MH_I2C_Read... [13:09:42]Read from MH i2c: E2 17 00 [13:09:42]MH_I2C_Read... [13:09:42]Read from MH i2c: E2 17 00 0E 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 D4 [13:09:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [13:09:42]wFMCommunicate OK [13:09:42]DocumentArchiveInit [13:09:42]Start Httpd... [13:09:42]Httpd thread 3067223396 created [13:09:42]Write to MH i2c: 01 00 00 0F 00 0F [13:09:42]Write i2c OK [13:09:42]MH_I2C_Read... [13:09:42]Read from MH i2c: 01 [13:09:42]MH_I2C_Read... [13:09:42]Read from MH i2c: 01 07 00 [13:09:42]MH_I2C_Read... [13:09:42]Read from MH i2c: 01 07 00 0F 00 00 00 00 00 00 FF 0F 24 [13:09:42]Allocated Socket 6 [13:09:42]Bind OK [13:09:42]Listen OK [13:09:42]httpd running on port 8080 [13:09:42]Waiting for new connection... [13:09:42]MH Int Process started [13:09:42]OFD Sender: Processing packet 33269 [packets to send 6, broken 5] [13:09:42]ProducePacketName [13:09:42]name=ofd_packets/00033269 [13:09:42]OFD Sender: To server: pG, [13:09:42]CommunicateWithHost lk.salyk.kg:30040 [13:09:42]ConnectInit lk.salyk.kg [13:09:42]Connected sock=5 [13:09:42]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 27 01 00 00 00 FA 1F 01 4D 01 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 32 30 30 30 30 33 32 37 31 30 30 31 35 06 04 21 00 D0 A1 D0 BE D1 87 D0 BD D0 B8 D0 BA 20 44 43 20 D1 82 D0 B2 D0 BE D1 80 D0 BE D0 B3 20 37 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AC 0D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 74 01 00 00 00 00 07 04 06 00 AC 0D 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 FC CE 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 F5 81 00 00 35 04 06 00 D7 AA E6 03 50 70 70 86 D1 18 54 95 CB 40 [13:09:42]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 78 4B 47 00 0B 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 35 31 30 34 10 04 04 00 F5 81 00 00 F4 03 04 00 44 84 8F 66 B6 04 01 00 00 78 C0 6A D1 E5 22 E7 CC [13:09:42]CommunicateWithHost err = 0 [13:09:42]CheckOFDResponse [13:09:42]1017 (14) - 77093643461234 [13:09:42]1041 (16) - 0000000000875104 [13:09:42]1040 (4) - 33269 [13:09:42]1012 (4) - 11.07.2024 07:05 [13:09:42]1206 (1) - 0 [13:09:42]OFD Sender: Remove packet 33269 [13:09:42]ProducePacketName [13:09:42]name=ofd_packets/00033269 [13:09:42]NVStorageDeleteData [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:20]int [13:10:20]Write to MH i2c: 01 00 00 10 00 10 [13:10:20]*** FLAG_PRN_KEY set [13:10:20]Write i2c OK [13:10:20]MH_I2C_Read... [13:10:20]Read from MH i2c: 01 [13:10:20]MH_I2C_Read... [13:10:20]Read from MH i2c: 01 07 00 [13:10:20]MH_I2C_Read... [13:10:20]Read from MH i2c: 01 07 00 10 00 00 08 00 00 00 FF 0F 2D [13:10:20]state=0 [13:10:20]Key pressed [13:10:20]Feed [13:10:20]Write to MH i2c: D8 00 00 11 00 E8 [13:10:20]Write i2c OK [13:10:20]MH_I2C_Read... [13:10:20]Read from MH i2c: D8 [13:10:20]MH_I2C_Read... [13:10:20]Read from MH i2c: D8 01 00 [13:10:20]MH_I2C_Read... [13:10:20]Read from MH i2c: D8 01 00 11 00 00 E9 [13:10:20]int [13:10:20]Write to MH i2c: 01 00 00 12 00 12 [13:10:20]Write i2c OK [13:10:20]MH_I2C_Read... [13:10:20]Read from MH i2c: 01 [13:10:20]MH_I2C_Read... [13:10:20]Read from MH i2c: 01 07 00 [13:10:20]MH_I2C_Read... [13:10:20]Read from MH i2c: 01 07 00 12 00 00 48 00 00 00 3D 00 9E [13:10:20]state=2 [13:10:20]Key pressed [13:10:20]int [13:10:20]Write to MH i2c: 01 00 00 13 00 13 [13:10:20]*** FLAG_PRN_KEY reset [13:10:20]Write i2c OK [13:10:20]MH_I2C_Read... [13:10:20]Read from MH i2c: 01 [13:10:20]MH_I2C_Read... [13:10:20]Read from MH i2c: 01 07 00 [13:10:20]MH_I2C_Read... [13:10:20]Read from MH i2c: 01 07 00 13 00 00 00 00 00 00 F6 0F 1F [13:10:20]state=2 [13:10:20]Stop feed [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:41]accept exits with 7 [13:10:41]New connection [13:10:41]New thread 3066936676 created [13:10:41]Waiting for new connection... [13:10:41] Sock 7.Parse request [13:10:41]Sock 7.Check first char [13:10:41]Sock 7.First char is OK [13:10:41]request: POST /json_proto HTTP/1.0 [13:10:41]Method: POST [13:10:41]URL: /json_proto [13:10:41]Method is POST - this is cgi request [13:10:41]url: /json_proto [13:10:41]query_string will be loaded in cgi processing [13:10:41]execute_cgi json_proto POST (null) [13:10:41]execute_cgi path=json_proto method=POST [13:10:41]POST find Content-Length [13:10:41]Host: 172.17.35.196:8080 [13:10:41]Content-Length: 215 [13:10:41]Content-Type: application/json [13:10:41] [13:10:41]POST finish read [13:10:41]Found Content-Length = 215 [13:10:41]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" ] } } [13:10:41]execute_script... [13:10:41]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" ] } } [13:10:41]POST & json_proto [13:10:41]process_json_proto [13:10:41]json parsed OK: [13:10:41]protocol is kg_v1.0 [13:10:41]action value=get_value [13:10:41]process_action get_value [13:10:41]cmd_get_value [13:10:41]process_action get_value done [13:10:41]requested_data is exist [13:10:41]produce_requested_data [13:10:41]requested_item kkm.sn is exist - process it [13:10:41]requested_item kkm.ver is exist - process it [13:10:41]requested_item fm.sn is exist - process it [13:10:41]wFMCommunicate request_size=4 [13:10:41]MH_SAM_APDU [13:10:41]CAPDU: 80 11 00 00 [13:10:41]Write to MH i2c: E2 08 00 14 00 80 11 00 00 00 00 00 00 8E [13:10:41]Write i2c OK [13:10:41]MH_I2C_Read... [13:10:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:10:41]Read from MH i2c: E2 [13:10:41]MH_I2C_Read... [13:10:41]Read from MH i2c: E2 17 00 [13:10:41]MH_I2C_Read... [13:10:41]Read from MH i2c: E2 17 00 14 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 DA [13:10:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [13:10:41]wFMCommunicate OK [13:10:41]requested_item fd.num is exist - process it [13:10:41]SAM_PROTO_GetFieldsCounters [13:10:41]wFMCommunicate request_size=4 [13:10:41]MH_SAM_APDU [13:10:41]CAPDU: 80 13 00 00 [13:10:41]Write to MH i2c: E2 08 00 15 00 80 13 00 00 00 00 00 00 91 [13:10:41]Write i2c OK [13:10:41]MH_I2C_Read... [13:10:41]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:10:41]Read from MH i2c: E2 [13:10:41]MH_I2C_Read... [13:10:41]Read from MH i2c: E2 62 00 [13:10:41]MH_I2C_Read... [13:10:41]Read from MH i2c: E2 62 00 15 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 F5 81 00 00 0E 04 04 00 B0 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 13 [13:10: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 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 F5 81 00 00 0E 04 04 00 B0 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 [13:10:41]wFMCommunicate OK [13:10:41]SAM_PROTO_GetFieldsCounters done [13:10:41]requested_item shift.num is exist - process it [13:10:41]requested_item shift.opened is exist - process it [13:10:41]req_shift_opened [13:10:41]FM_GetShiftState [13:10:41]SAM_PROTO_GetShiftState [13:10:41]wFMCommunicate request_size=4 [13:10:41]MH_SAM_APDU [13:10:41]CAPDU: 80 13 01 00 [13:10:41]Write to MH i2c: E2 08 00 16 00 80 13 01 00 00 00 00 00 93 [13:10:41]Write i2c OK [13:10:41]MH_I2C_Read... [13:10:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:10:41]Read from MH i2c: E2 [13:10:41]MH_I2C_Read... [13:10:41]Read from MH i2c: E2 0E 00 [13:10:41]MH_I2C_Read... [13:10:41]Read from MH i2c: E2 0E 00 16 00 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 C4 [13:10:41]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [13:10:41]wFMCommunicate OK [13:10:41]SAM_PROTO_GetShiftState done [13:10:41]FM_GetShiftState done [13:10:41]req_shift_opened done [13:10:41]requested_item shift.open_date is exist - process it [13:10:41]req_shift_open_date [13:10:41]req_shift_open_date done [13:10:41]produce_requested_data done [13:10:41]produce_requested_data return {"kkm.sn":"0300000122","kkm.ver":"001","fm.sn":"0000000000875104","fd.num":33269,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398} [13:10:41]process_action_free get_value [13:10:41]json_value_free [13:10:41]json_value_free done [13:10:41]process_json_proto returns [13:10:41]Send response to host [13:10:41]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000122","kkm.ver":"001","fm.sn":"0000000000875104","fd.num":33269,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398}}} [13:10:41]free response buf [13:10:41]execute_script done [13:10:41]execute_script returns [13:10:41]free content buf [13:10:41]Sock 7.Close socket [13:10:41]Sock 7.Thread stoped [13:10:41]accept exits with 9 [13:10:41]New connection [13:10:41]New thread 3066793316 created [13:10:41]Thread 3066936676 joined [13:10:41]Waiting for new connection... [13:10:41] Sock 9.Parse request [13:10:41]Sock 9.Check first char [13:10:41]Sock 9.First char is OK [13:10:41]request: POST /json_proto HTTP/1.0 [13:10:41]Method: POST [13:10:41]URL: /json_proto [13:10:41]Method is POST - this is cgi request [13:10:41]url: /json_proto [13:10:41]query_string will be loaded in cgi processing [13:10:41]execute_cgi json_proto POST (null) [13:10:41]execute_cgi path=json_proto method=POST [13:10:41]POST find Content-Length [13:10:41]Host: 172.17.35.196:8080 [13:10:41]Content-Length: 331 [13:10:41]Content-Type: application/json [13:10:41] [13:10:41]POST finish read [13:10:41]Found Content-Length = 331 [13:10:41]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" ] } } [13:10:41]execute_script... [13:10:41]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [13:10:42]POST & json_proto [13:10:42]process_json_proto [13:10:42]json parsed OK: [13:10:42]protocol is kg_v1.0 [13:10:42]action value=get_value [13:10:42]process_action get_value [13:10:42]cmd_get_value [13:10:42]process_action get_value done [13:10:42]requested_data is exist [13:10:42]produce_requested_data [13:10:42]requested_item fm.sale.total is exist - process it [13:10:42]SAM_PROTO_GetFMData [13:10:42]wFMCommunicate request_size=4 [13:10:42]MH_SAM_APDU [13:10:42]CAPDU: 80 13 03 00 [13:10:42]Write to MH i2c: E2 08 00 17 00 80 13 03 00 00 00 00 00 96 [13:10:42]Write i2c OK [13:10:42]MH_I2C_Read... [13:10:42]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [13:10:42]Read from MH i2c: E2 [13:10:42]MH_I2C_Read... [13:10:42]Read from MH i2c: E2 FD 00 [13:10:42]MH_I2C_Read... [13:10:42]Read from MH i2c: E2 FD 00 17 00 00 C4 04 85 04 C0 04 6E 04 04 00 95 7E 00 00 69 04 A0 00 6F 04 04 00 B4 7D 00 00 B1 04 04 00 2D AC 67 3F 70 04 04 00 84 BD D0 34 72 04 04 00 A9 EE 96 0A 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 C7 DE BB 06 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 50 9C 8F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 90 00 A5 [13:10:42]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 95 7E 00 00 69 04 A0 00 6F 04 04 00 B4 7D 00 00 B1 04 04 00 2D AC 67 3F 70 04 04 00 84 BD D0 34 72 04 04 00 A9 EE 96 0A 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 C7 DE BB 06 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 50 9C 8F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 90 00 [13:10:42]wFMCommunicate OK [13:10:42]wFMCommunicate request_size=4 [13:10:42]MH_SAM_APDU [13:10:42]CAPDU: 80 17 00 00 [13:10:42]Write to MH i2c: E2 08 00 18 00 80 17 00 00 00 00 00 00 98 [13:10:42]Write i2c OK [13:10:42]MH_I2C_Read... [13:10:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:10:42]Read from MH i2c: E2 [13:10:42]MH_I2C_Read... [13:10:42]Read from MH i2c: E2 FD 00 [13:10:42]MH_I2C_Read... [13:10:42]Read from MH i2c: E2 FD 00 18 00 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 55 [13:10:42]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [13:10:42]wFMCommunicate OK [13:10:42]wFMCommunicate request_size=4 [13:10:42]MH_SAM_APDU [13:10:42]CAPDU: 80 17 00 00 [13:10:42]Write to MH i2c: E2 08 00 19 00 80 17 00 00 00 00 00 00 99 [13:10:42]Write i2c OK [13:10:42]MH_I2C_Read... [13:10:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:10:43]Read from MH i2c: E2 [13:10:43]MH_I2C_Read... [13:10:43]Read from MH i2c: E2 FD 00 [13:10:43]MH_I2C_Read... [13:10:43]Read from MH i2c: E2 FD 00 19 00 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 AE [13:10:43]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [13:10:43]wFMCommunicate OK [13:10:43]wFMCommunicate request_size=4 [13:10:43]MH_SAM_APDU [13:10:43]CAPDU: 80 17 00 00 [13:10:43]Write to MH i2c: E2 08 00 1A 00 80 17 00 00 00 00 00 00 9A [13:10:43]Write i2c OK [13:10:43]MH_I2C_Read... [13:10:43]OFD Sender: No OFD packet to send [13:10:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:10:43]Read from MH i2c: E2 [13:10:43]MH_I2C_Read... [13:10:43]Read from MH i2c: E2 FD 00 [13:10:43]MH_I2C_Read... [13:10:43]Read from MH i2c: E2 FD 00 1A 00 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 12 [13:10:43]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [13:10:43]wFMCommunicate OK [13:10:43]wFMCommunicate request_size=4 [13:10:43]MH_SAM_APDU [13:10:43]CAPDU: 80 17 00 00 [13:10:43]Write to MH i2c: E2 08 00 1B 00 80 17 00 00 00 00 00 00 9B [13:10:43]Write i2c OK [13:10:43]MH_I2C_Read... [13:10:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [13:10:43]Read from MH i2c: E2 [13:10:43]MH_I2C_Read... [13:10:43]Read from MH i2c: E2 E1 00 [13:10:43]MH_I2C_Read... [13:10:43]Read from MH i2c: E2 E1 00 1B 00 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 89 [13:10:43]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [13:10:43]wFMCommunicate OK [13:10:43]SAM_PROTO_GetFMData done [13:10:43]requested_item fm.sale_refund.total is exist - process it [13:10:43]requested_item fm.buy.total is exist - process it [13:10:43]requested_item shift.sale.total is exist - process it [13:10:43]SAM_PROTO_GetShiftData [13:10:43]wFMCommunicate request_size=4 [13:10:43]MH_SAM_APDU [13:10:43]CAPDU: 80 13 02 00 [13:10:43]Write to MH i2c: E2 08 00 1C 00 80 13 02 00 00 00 00 00 9A [13:10:43]Write i2c OK [13:10:43]MH_I2C_Read... [13:10:44]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [13:10:44]Read from MH i2c: E2 [13:10:44]MH_I2C_Read... [13:10:44]Read from MH i2c: E2 FD 00 [13:10:44]MH_I2C_Read... [13:10:44]Read from MH i2c: E2 FD 00 1C 00 00 AD 04 AA 04 A9 04 6E 04 04 00 18 00 00 00 69 04 9A 00 6F 04 04 00 18 00 00 00 B1 04 03 00 D4 DA 05 70 04 03 00 08 9E 04 72 04 03 00 CC 3C 01 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 28 9F 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 45 0D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 90 00 07 [13:10:44]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 18 00 00 00 69 04 9A 00 6F 04 04 00 18 00 00 00 B1 04 03 00 D4 DA 05 70 04 03 00 08 9E 04 72 04 03 00 CC 3C 01 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 28 9F 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 45 0D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 90 00 [13:10:44]wFMCommunicate OK [13:10:44]wFMCommunicate request_size=4 [13:10:44]MH_SAM_APDU [13:10:44]CAPDU: 80 17 00 00 [13:10:44]Write to MH i2c: E2 08 00 1D 00 80 17 00 00 00 00 00 00 9D [13:10:44]Write i2c OK [13:10:44]MH_I2C_Read... [13:10:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:10:44]Read from MH i2c: E2 [13:10:44]MH_I2C_Read... [13:10:44]Read from MH i2c: E2 FD 00 [13:10:44]MH_I2C_Read... [13:10:44]Read from MH i2c: E2 FD 00 1D 00 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 AF [13:10:44]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [13:10:44]wFMCommunicate OK [13:10:44]wFMCommunicate request_size=4 [13:10:44]MH_SAM_APDU [13:10:44]CAPDU: 80 17 00 00 [13:10:44]Write to MH i2c: E2 08 00 1E 00 80 17 00 00 00 00 00 00 9E [13:10:44]Write i2c OK [13:10:44]MH_I2C_Read... [13:10:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:10:44]Read from MH i2c: E2 [13:10:44]MH_I2C_Read... [13:10:44]Read from MH i2c: E2 FD 00 [13:10:44]MH_I2C_Read... [13:10:44]Read from MH i2c: E2 FD 00 1E 00 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 62 [13:10:44]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 [13:10:44]wFMCommunicate OK [13:10:44]wFMCommunicate request_size=4 [13:10:44]MH_SAM_APDU [13:10:44]CAPDU: 80 17 00 00 [13:10:44]Write to MH i2c: E2 08 00 1F 00 80 17 00 00 00 00 00 00 9F [13:10:44]Write i2c OK [13:10:44]MH_I2C_Read... [13:10:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:10:44]Read from MH i2c: E2 [13:10:44]MH_I2C_Read... [13:10:44]Read from MH i2c: E2 FD 00 [13:10:44]MH_I2C_Read... [13:10:44]Read from MH i2c: E2 FD 00 1F 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 14 [13:10:44]RAPDU: 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 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 [13:10:44]wFMCommunicate OK [13:10:44]wFMCommunicate request_size=4 [13:10:44]MH_SAM_APDU [13:10:44]CAPDU: 80 17 00 00 [13:10:44]Write to MH i2c: E2 08 00 20 00 80 17 00 00 00 00 00 00 A0 [13:10:44]Write i2c OK [13:10:44]MH_I2C_Read... [13:10:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [13:10:45]Read from MH i2c: E2 [13:10:45]MH_I2C_Read... [13:10:45]Read from MH i2c: E2 CA 00 [13:10:45]MH_I2C_Read... [13:10:45]Read from MH i2c: E2 CA 00 20 00 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 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 85 [13:10:45]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 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [13:10:45]wFMCommunicate OK [13:10:45]SAM_PROTO_GetShiftData done [13:10:45]requested_item shift.sale.total_cash is exist - process it [13:10:45]requested_item shift.sale_refund.total is exist - process it [13:10:45]requested_item shift.sale_refund.total_cash is exist - process it [13:10:45]requested_item shift.buy.total is exist - process it [13:10:45]requested_item shift.buy.total_cash is exist - process it [13:10:45]produce_requested_data done [13:10:45]produce_requested_data return {"fm.sale.total":10637588.93,"fm.sale_refund.total":365383.00,"fm.buy.total":0.00,"shift.sale.total":3837.00,"shift.sale.total_cash":3026.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} [13:10:45]process_action_free get_value [13:10:45]json_value_free [13:10:45]json_value_free done [13:10:45]process_json_proto returns [13:10:45]Send response to host [13:10:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":10637588.93,"fm.sale_refund.total":365383.00,"fm.buy.total":0.00,"shift.sale.total":3837.00,"shift.sale.total_cash":3026.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}}} [13:10:45]free response buf [13:10:45]execute_script done [13:10:45]execute_script returns [13:10:45]free content buf [13:10:45]Sock 9.Close socket [13:10:45]Sock 9.Thread stoped [13:10:46]accept exits with 7 [13:10:46]New connection [13:10:46]New thread 3066936676 created [13:10:46]Thread 3066793316 joined [13:10:46]Waiting for new connection... [13:10:46] Sock 7.Parse request [13:10:46]Sock 7.Check first char [13:10:46]Sock 7.First char is OK [13:10:46]request: POST /json_proto HTTP/1.0 [13:10:46]Method: POST [13:10:46]URL: /json_proto [13:10:46]Method is POST - this is cgi request [13:10:46]url: /json_proto [13:10:46]query_string will be loaded in cgi processing [13:10:46]execute_cgi json_proto POST (null) [13:10:46]execute_cgi path=json_proto method=POST [13:10:46]POST find Content-Length [13:10:46]Host: 172.17.35.196:8080 [13:10:46]Content-Length: 644 [13:10:46]Content-Type: application/json [13:10:46] [13:10:46]POST finish read [13:10:46]Found Content-Length = 644 [13:10:46]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169110", "tax_sys" : 0, "items" : [ { "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 2.000, "sum" : 230.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 230.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:10:46]execute_script... [13:10: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)169110", "tax_sys" : 0, "items" : [ { "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 2.000, "sum" : 230.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 230.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:10:46]POST & json_proto [13:10:46]process_json_proto [13:10:46]json parsed OK: [13:10:46]protocol is kg_v1.0 [13:10:46]action value=close_receipt [13:10:46]process_action close_receipt [13:10:46]cmd_close_receipt [13:10:46]MH_GetDate [13:10:46]Write to MH i2c: F0 00 00 21 00 10 [13:10:46]Write i2c OK [13:10:46]MH_I2C_Read... [13:10:46]Read from MH i2c: F0 [13:10:46]MH_I2C_Read... [13:10:46]Read from MH i2c: F0 09 00 [13:10:46]MH_I2C_Read... [13:10:46]Read from MH i2c: F0 09 00 21 00 00 D6 D9 8F 66 AD 14 F4 65 D7 [13:10:46]GetLastDocTimeStamp 1720700668 [13:10:46]current date 1720703446 [13:10:46]FM_GetShiftState [13:10:46]SAM_PROTO_GetShiftState [13:10:46]wFMCommunicate request_size=4 [13:10:46]MH_SAM_APDU [13:10:46]CAPDU: 80 13 01 00 [13:10:46]Write to MH i2c: E2 08 00 22 00 80 13 01 00 00 00 00 00 9F [13:10:46]Write i2c OK [13:10:46]MH_I2C_Read... [13:10:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:10:46]Read from MH i2c: E2 [13:10:46]MH_I2C_Read... [13:10:46]Read from MH i2c: E2 0E 00 [13:10:46]MH_I2C_Read... [13:10:46]Read from MH i2c: E2 0E 00 22 00 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 D0 [13:10:46]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [13:10:46]wFMCommunicate OK [13:10:46]SAM_PROTO_GetShiftState done [13:10:46]FM_GetShiftState done [13:10:46]opened in 1720656398 [13:10:46]opened+sec_in_day 1720742798 [13:10:46]quantity*price = 23000 [13:10:46]sum+1 = 23001 [13:10:46]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 230.00 НСП 1% : 2.03 НДС 12% : 24.42 Наличными: 230.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 25 11.07.2024 13:10 Смена: 432 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33270 ФПД: 45606040613385 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T131046&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33270&fm=45606040613385&tin=02508201610067®Number=0000000000093033&sum=23000 0 [13:10:47]StoreToDocumentArchive [13:10:47]shift 432 fd 33270 [13:10:47]save to /storage/0432/doc_00033270 [13:10:47]save last doc name /storage/0432/doc_00033270 to /storage/kkm_last_doc_name [13:10:47]save OK [13:10:47]Clear old archive folders... [13:10:47]ProcessDocumentItem done err = 0, tmpTLVsize=280 [13:10:47]tlvbuf is 01C8F6D0 [13:10:47]SAM_PROTO_ClearQueue [13:10:47]wFMCommunicate request_size=4 [13:10:47]MH_SAM_APDU [13:10:47]CAPDU: 80 09 00 00 [13:10:47]Write to MH i2c: E2 08 00 2F 00 80 09 00 00 00 00 00 00 A1 [13:10:47]Write i2c OK [13:10:47]MH_I2C_Read... [13:10:47]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:10:47]Read from MH i2c: E2 [13:10:47]MH_I2C_Read... [13:10:47]Read from MH i2c: E2 03 00 [13:10:47]MH_I2C_Read... [13:10:47]Read from MH i2c: E2 03 00 2F 00 00 90 00 A3 [13:10:47]RAPDU: 90 00 [13:10:47]wFMCommunicate OK [13:10:47]SAM_PROTO_ClearQueue done [13:10:47]KKMCreateOFDPacket [13:10:47]OFDProtocolAddRootSTLVToBuf [13:10:47]FM_MakeSignedData [13:10:47]FM_MakeSignedData [13:10:47]SAM_PROTO_SignData [13:10:47]wFMCommunicate request_size=4 [13:10:47]MH_SAM_APDU [13:10:47]CAPDU: 80 0D 01 02 [13:10:47]Write to MH i2c: E2 08 00 30 00 80 0D 01 02 00 00 00 00 A9 [13:10:47]Write i2c OK [13:10:47]MH_I2C_Read... [13:10:47]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:10:47]Read from MH i2c: E2 [13:10:47]MH_I2C_Read... [13:10:47]Read from MH i2c: E2 03 00 [13:10:47]MH_I2C_Read... [13:10:47]Read from MH i2c: E2 03 00 30 00 00 90 00 A4 [13:10:47]RAPDU: 90 00 [13:10:47]wFMCommunicate OK [13:10:47]wFMCommunicate request_size=255 [13:10:47]MH_SAM_APDU [13:10:47]CAPDU: 80 0D 02 02 FA 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 D8 59 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D8 59 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8A 09 00 00 00 00 07 04 06 00 D8 59 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 D6 D9 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 [13:10:48]Write to MH i2c: E2 02 01 31 00 80 0D 02 02 FA 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 D8 59 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D8 59 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8A 09 00 00 00 00 07 04 06 00 D8 59 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 D6 D9 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 00 00 B6 [13:10:48]Write i2c OK [13:10:48]MH_I2C_Read... [13:10:48]OFD Sender: No OFD packet to send [13:10:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:10:48]Read from MH i2c: E2 [13:10:48]MH_I2C_Read... [13:10:48]Read from MH i2c: E2 03 00 [13:10:48]MH_I2C_Read... [13:10:48]Read from MH i2c: E2 03 00 31 00 00 90 00 A5 [13:10:48]RAPDU: 90 00 [13:10:48]wFMCommunicate OK [13:10:48]wFMCommunicate request_size=39 [13:10:48]MH_SAM_APDU [13:10:48]CAPDU: 80 0D 02 02 22 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 F6 81 00 00 35 04 06 00 29 7A 7B D9 B2 09 [13:10:48]Write to MH i2c: E2 2A 00 32 00 80 0D 02 02 22 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 F6 81 00 00 35 04 06 00 29 7A 7B D9 B2 09 00 00 89 [13:10:48]Write i2c OK [13:10:48]MH_I2C_Read... [13:10:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:10:48]Read from MH i2c: E2 [13:10:48]MH_I2C_Read... [13:10:48]Read from MH i2c: E2 03 00 [13:10:48]MH_I2C_Read... [13:10:48]Read from MH i2c: E2 03 00 32 00 00 90 00 A6 [13:10:48]RAPDU: 90 00 [13:10:48]wFMCommunicate OK [13:10:48]wFMCommunicate request_size=4 [13:10:48]MH_SAM_APDU [13:10:48]CAPDU: 80 0D 03 02 [13:10:48]Write to MH i2c: E2 08 00 33 00 80 0D 03 02 00 00 00 00 AE [13:10:48]Write i2c OK [13:10:48]MH_I2C_Read... [13:10:48]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:10:48]Read from MH i2c: E2 [13:10:48]MH_I2C_Read... [13:10:48]Read from MH i2c: E2 0B 00 [13:10:48]MH_I2C_Read... [13:10:48]Read from MH i2c: E2 0B 00 33 00 00 42 B5 56 A2 6C 19 4B 47 90 00 B5 [13:10:48]RAPDU: 42 B5 56 A2 6C 19 4B 47 90 00 [13:10:48]wFMCommunicate OK [13:10:48]SAM_PROTO_SignData done [13:10:48]FM_MakeSignedData done [13:10:48]CreateOFDProtocolMessage [13:10:48]wFMCommunicate request_size=4 [13:10:48]MH_SAM_APDU [13:10:48]CAPDU: 80 11 00 00 [13:10:48]Write to MH i2c: E2 08 00 34 00 80 11 00 00 00 00 00 00 AE [13:10:48]Write i2c OK [13:10:48]MH_I2C_Read... [13:10:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:10:48]Read from MH i2c: E2 [13:10:48]MH_I2C_Read... [13:10:48]Read from MH i2c: E2 17 00 [13:10:48]MH_I2C_Read... [13:10:48]Read from MH i2c: E2 17 00 34 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 FA [13:10:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [13:10:48]wFMCommunicate OK [13:10:48]CreateOFDProtocolMessage done [13:10:48]OFDSenderStorePacket 33270 [13:10:48]StoreOFDPacket docnum=33270 [13:10:48]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 2C 01 00 00 BC 33 24 01 F6 7D 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 D8 59 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D8 59 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8A 09 00 00 00 00 07 04 06 00 D8 59 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 D6 D9 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 F6 81 00 00 35 04 06 00 29 7A 7B D9 B2 09 42 B5 56 A2 6C 19 4B 47 [13:10:48]CheckFolder [13:10:48]dirname=/storage/ofd_packets [13:10:48]CheckFolder done [13:10:48]ProducePacketName [13:10:48]name=ofd_packets/00033270 [13:10:48]NVStorageSaveData ofd_packets/00033270 [13:10:48]File name is /storage/ofd_packets/00033270 [13:10:48]Write 330 bytes [13:10:48]NVStorageSaveData done [13:10:48]OFDSenderStorePacket done [13:10:48]KKMCreateOFDPacket done [13:10:48]NVStorageSaveData kkm_last_timestamp [13:10:48]File name is /storage/kkm_last_timestamp [13:10:48]Write 4 bytes [13:10:48]NVStorageSaveData done [13:10:48]ExternCall_PrintAddStr [13:10:48]wPrintStart [13:10:48]Write to MH i2c: 01 00 00 35 00 35 [13:10:48]Write i2c OK [13:10:48]MH_I2C_Read... [13:10:48]Read from MH i2c: 01 [13:10:48]MH_I2C_Read... [13:10:48]Read from MH i2c: 01 07 00 [13:10:48]MH_I2C_Read... [13:10:48]Read from MH i2c: 01 07 00 35 00 00 00 00 00 00 FF 0F 4A [13:10:48]RasterBufferAndPrint [13:10:48]line Счет N : (3)169110 [13:10:48]line ИНН: 02508201610067 [13:10:48]line Контрольно-Кассовый Чек [13:10:48]line ПРОДАЖА [13:10:48]line Товар: 2000036210013 [13:10:48]line Кофе Капучино (GABB TRADE) [13:10:48]line 2.000 * 115.00 [13:10:48]line = 230.00 [13:10:48]line НДС 12% НСП 1% [13:10:48]line > о реализуемом товаре [13:10:48]line ИТОГО: 230.00 [13:10:48]line НСП 1% : 2.03 [13:10:48]line НДС 12% : 24.42 [13:10:48]line Наличными: 230.00 [13:10:48]line Безнал.: 0.00 [13:10:48]line Место: АЗС № 77 "Партнер Нефть" [13:10:48]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [13:10:48]line СНО: Общий режим [13:10:48]line Чек 25 11.07.2024 13:10 [13:10:48]line Смена: 432 ФФД: 1.0 [13:10:48]line ЗНМ: 0300000122 [13:10:48]line РНМ: 0000000000093033 [13:10:48]line Версия ККМ: 001 [13:10:48]line ФМ: 0000000000875104 [13:10:48]line ФД: 33270 [13:10:48]line ФПД: 45606040613385 [13:10:48]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T131046&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33270&fm=45606040613385&tin=02508201610067®Number=0000000000093033&sum=23000 [13:10:48]line 0 [13:10:48]written 0, free lines is 4095 [13:10:48]OFD Sender: Processing packet 33270 [packets to send 6, broken 5] [13:10:48]ProducePacketName [13:10:48]name=ofd_packets/00033270 [13:10:48]OFD Sender: To server: pG, [13:10:48]CommunicateWithHost lk.salyk.kg:30040 [13:10:48]ConnectInit lk.salyk.kg [13:10:48]Connected sock=10 [13:10:48]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 2C 01 00 00 BC 33 24 01 F6 7D 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 D8 59 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D8 59 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8A 09 00 00 00 00 07 04 06 00 D8 59 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 D6 D9 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 F6 81 00 00 35 04 06 00 29 7A 7B D9 B2 09 42 B5 56 A2 6C 19 4B 47 [13:10:49]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 10 D6 47 00 A2 4C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 F6 81 00 00 F4 03 04 00 86 84 8F 66 B6 04 01 00 00 D7 DF EF 5E 46 88 C2 2A [13:10:49]CommunicateWithHost err = 0 [13:10:49]CheckOFDResponse [13:10:49]1017 (14) - 77093643461234 [13:10:49]1041 (16) - 0000000000875104 [13:10:49]1040 (4) - 33270 [13:10:49]1012 (4) - 11.07.2024 07:06 [13:10:49]1206 (1) - 0 [13:10:49]OFD Sender: Remove packet 33270 [13:10:49]ProducePacketName [13:10:49]name=ofd_packets/00033270 [13:10:49]NVStorageDeleteData [13:10:49]Write to MH i2c: 01 00 00 5D 00 5D [13:10:49]Write i2c OK [13:10:49]MH_I2C_Read... [13:10:49]Read from MH i2c: 01 [13:10:49]MH_I2C_Read... [13:10:49]Read from MH i2c: 01 07 00 [13:10:49]MH_I2C_Read... [13:10:49]Read from MH i2c: 01 07 00 5D 00 00 00 00 00 00 0D 0D 7E [13:10:49]RasterBufferAndPrint [13:10:49]line [13:10:49]line [13:10:49]line [13:10:49]line [13:10:49]line [13:10:49]written 0, free lines is 3360 [13:10:49]MH_Cut [13:10:49]Write to MH i2c: D1 01 00 64 00 01 36 [13:10:49]Write i2c OK [13:10:49]MH_I2C_Read... [13:10:49]Read from MH i2c: D1 [13:10:49]MH_I2C_Read... [13:10:49]Read from MH i2c: D1 01 00 [13:10:49]MH_I2C_Read... [13:10:49]Read from MH i2c: D1 01 00 64 00 00 35 [13:10:49]Write to MH i2c: 01 00 00 65 00 65 [13:10:49]Write i2c OK [13:10:49]MH_I2C_Read... [13:10:49]OFD Sender: No OFD packet to send [13:10:49]*** Cut start [13:10:49]*** Partial cut [13:10:49]*** CUTSNS_PIN = 1 [13:10:49]*** CUTSNS_PIN = 0 [13:10:50]*** Brake cut motor [13:10:50]Read from MH i2c: 01 [13:10:50]MH_I2C_Read... [13:10:50]*** Stop cut motor [13:10:50]*** Cut end [13:10:50]Read from MH i2c: 01 07 00 [13:10:50]MH_I2C_Read... [13:10:50]Read from MH i2c: 01 07 00 65 00 00 00 00 00 00 FF 0F 7A [13:10:50]process_action close_receipt done [13:10:50]requested_data is exist [13:10:50]produce_requested_data [13:10:50]requested_item fm.sn is exist - process it [13:10:50]wFMCommunicate request_size=4 [13:10:50]MH_SAM_APDU [13:10:50]CAPDU: 80 11 00 00 [13:10:50]Write to MH i2c: E2 08 00 66 00 80 11 00 00 00 00 00 00 E0 [13:10:50]Write i2c OK [13:10:50]MH_I2C_Read... [13:10:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:10:50]Read from MH i2c: E2 [13:10:50]MH_I2C_Read... [13:10:50]Read from MH i2c: E2 17 00 [13:10:50]MH_I2C_Read... [13:10:50]Read from MH i2c: E2 17 00 66 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 2C [13:10:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [13:10:50]wFMCommunicate OK [13:10:50]requested_item fd.num is exist - process it [13:10:50]SAM_PROTO_GetFieldsCounters [13:10:50]wFMCommunicate request_size=4 [13:10:50]MH_SAM_APDU [13:10:50]CAPDU: 80 13 00 00 [13:10:50]Write to MH i2c: E2 08 00 67 00 80 13 00 00 00 00 00 00 E3 [13:10:50]Write i2c OK [13:10:50]MH_I2C_Read... [13:10:50]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:10:50]Read from MH i2c: E2 [13:10:50]MH_I2C_Read... [13:10:50]Read from MH i2c: E2 62 00 [13:10:50]MH_I2C_Read... [13:10:50]Read from MH i2c: E2 62 00 67 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 F6 81 00 00 0E 04 04 00 B0 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 69 [13:10: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 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 F6 81 00 00 0E 04 04 00 B0 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 [13:10:50]wFMCommunicate OK [13:10:50]SAM_PROTO_GetFieldsCounters done [13:10:50]requested_item shift.num is exist - process it [13:10:50]requested_item shift.opened is exist - process it [13:10:50]req_shift_opened [13:10:50]FM_GetShiftState [13:10:50]SAM_PROTO_GetShiftState [13:10:50]wFMCommunicate request_size=4 [13:10:50]MH_SAM_APDU [13:10:50]CAPDU: 80 13 01 00 [13:10:50]Write to MH i2c: E2 08 00 68 00 80 13 01 00 00 00 00 00 E5 [13:10:50]Write i2c OK [13:10:50]MH_I2C_Read... [13:10:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:10:50]Read from MH i2c: E2 [13:10:50]MH_I2C_Read... [13:10:50]Read from MH i2c: E2 0E 00 [13:10:50]MH_I2C_Read... [13:10:50]Read from MH i2c: E2 0E 00 68 00 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 16 [13:10:50]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [13:10:50]wFMCommunicate OK [13:10:50]SAM_PROTO_GetShiftState done [13:10:50]FM_GetShiftState done [13:10:50]req_shift_opened done [13:10:50]requested_item shift.open_date is exist - process it [13:10:50]req_shift_open_date [13:10:50]req_shift_open_date done [13:10:50]produce_requested_data done [13:10:50]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33270,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398} [13:10:50]process_action_free close_receipt [13:10:50]json_value_free [13:10:50]json_value_free done [13:10:50]process_json_proto returns [13:10:50]Send response to host [13:10:50]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33270,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398}}} [13:10:50]free response buf [13:10:50]execute_script done [13:10:50]execute_script returns [13:10:50]free content buf [13:10:50]Sock 7.Close socket [13:10:50]Sock 7.Thread stoped [13:10:52]accept exits with 9 [13:10:52]New connection [13:10:52]New thread 3066793316 created [13:10:52]Thread 3066936676 joined [13:10:52]Waiting for new connection... [13:10:52] Sock 9.Parse request [13:10:52]Sock 9.Check first char [13:10:52]Sock 9.First char is OK [13:10:52]request: POST /json_proto HTTP/1.0 [13:10:52]Method: POST [13:10:52]URL: /json_proto [13:10:52]Method is POST - this is cgi request [13:10:52]url: /json_proto [13:10:52]query_string will be loaded in cgi processing [13:10:52]execute_cgi json_proto POST (null) [13:10:52]execute_cgi path=json_proto method=POST [13:10:52]POST find Content-Length [13:10:52]Host: 172.17.35.196:8080 [13:10:52]Content-Length: 649 [13:10:52]Content-Type: application/json [13:10:52] [13:10:52]POST finish read [13:10:52]Found Content-Length = 649 [13:10:52]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169111", "tax_sys" : 0, "items" : [ { "code": "4860019001339", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u0440\u0436\u043E\u043C\u0438 0,33\u043B \u0441\u0442", "price" : 103.00, "quantity" : 1.000, "sum" : 103.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 103.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:10:52]execute_script... [13:10: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)169111", "tax_sys" : 0, "items" : [ { "code": "4860019001339", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u0440\u0436\u043E\u043C\u0438 0,33\u043B \u0441\u0442", "price" : 103.00, "quantity" : 1.000, "sum" : 103.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 103.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:10:52]POST & json_proto [13:10:52]process_json_proto [13:10:52]json parsed OK: [13:10:52]protocol is kg_v1.0 [13:10:52]action value=close_receipt [13:10:52]process_action close_receipt [13:10:52]cmd_close_receipt [13:10:52]MH_GetDate [13:10:52]Write to MH i2c: F0 00 00 69 00 58 [13:10:52]Write i2c OK [13:10:52]MH_I2C_Read... [13:10:52]Read from MH i2c: F0 [13:10:52]MH_I2C_Read... [13:10:52]Read from MH i2c: F0 09 00 [13:10:52]MH_I2C_Read... [13:10:52]Read from MH i2c: F0 09 00 69 00 00 DC D9 8F 66 AD 14 F4 65 25 [13:10:52]GetLastDocTimeStamp 1720703446 [13:10:52]current date 1720703452 [13:10:52]FM_GetShiftState [13:10:52]SAM_PROTO_GetShiftState [13:10:52]wFMCommunicate request_size=4 [13:10:52]MH_SAM_APDU [13:10:52]CAPDU: 80 13 01 00 [13:10:52]Write to MH i2c: E2 08 00 6A 00 80 13 01 00 00 00 00 00 E7 [13:10:52]Write i2c OK [13:10:52]MH_I2C_Read... [13:10:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:10:52]Read from MH i2c: E2 [13:10:52]MH_I2C_Read... [13:10:52]Read from MH i2c: E2 0E 00 [13:10:52]MH_I2C_Read... [13:10:52]Read from MH i2c: E2 0E 00 6A 00 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 18 [13:10:52]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [13:10:52]wFMCommunicate OK [13:10:52]SAM_PROTO_GetShiftState done [13:10:52]FM_GetShiftState done [13:10:52]opened in 1720656398 [13:10:52]opened+sec_in_day 1720742798 [13:10:52]quantity*price = 10300 [13:10:52]sum+1 = 10301 [13:10:52]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 103.00 НСП 1% : 0.91 НДС 12% : 10.94 Наличными: 103.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 26 11.07.2024 13:10 Смена: 432 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33271 ФПД: 28230929688473 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T131052&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33271&fm=28230929688473&tin=02508201610067®Number=0000000000093033&sum=10300 0 [13:10:53]StoreToDocumentArchive [13:10:53]shift 432 fd 33271 [13:10:53]save to /storage/0432/doc_00033271 [13:10:53]save last doc name /storage/0432/doc_00033271 to /storage/kkm_last_doc_name [13:10:53]save OK [13:10:53]Clear old archive folders... [13:10:53]ProcessDocumentItem done err = 0, tmpTLVsize=277 [13:10:53]tlvbuf is 01C8F5B0 [13:10:53]SAM_PROTO_ClearQueue [13:10:53]wFMCommunicate request_size=4 [13:10:53]MH_SAM_APDU [13:10:53]CAPDU: 80 09 00 00 [13:10:53]Write to MH i2c: E2 08 00 77 00 80 09 00 00 00 00 00 00 E9 [13:10:53]Write i2c OK [13:10:53]MH_I2C_Read... [13:10:53]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:10:53]Read from MH i2c: E2 [13:10:53]MH_I2C_Read... [13:10:53]Read from MH i2c: E2 03 00 [13:10:53]MH_I2C_Read... [13:10:53]Read from MH i2c: E2 03 00 77 00 00 90 00 EB [13:10:53]RAPDU: 90 00 [13:10:53]wFMCommunicate OK [13:10:53]SAM_PROTO_ClearQueue done [13:10:53]KKMCreateOFDPacket [13:10:53]OFDProtocolAddRootSTLVToBuf [13:10:53]FM_MakeSignedData [13:10:53]FM_MakeSignedData [13:10:53]SAM_PROTO_SignData [13:10:53]wFMCommunicate request_size=4 [13:10:53]MH_SAM_APDU [13:10:53]CAPDU: 80 0D 01 02 [13:10:53]Write to MH i2c: E2 08 00 78 00 80 0D 01 02 00 00 00 00 F1 [13:10:53]Write i2c OK [13:10:53]MH_I2C_Read... [13:10:53]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:10:53]Read from MH i2c: E2 [13:10:53]MH_I2C_Read... [13:10:53]Read from MH i2c: E2 03 00 [13:10:53]MH_I2C_Read... [13:10:53]Read from MH i2c: E2 03 00 78 00 00 90 00 EC [13:10:53]RAPDU: 90 00 [13:10:53]wFMCommunicate OK [13:10:53]wFMCommunicate request_size=255 [13:10:53]MH_SAM_APDU [13:10:53]CAPDU: 80 0D 02 02 FA 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 33 33 39 06 04 23 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 30 2C 33 33 D0 BB 20 D1 81 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 3C 28 00 00 00 00 13 04 06 00 3C 28 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 3C 28 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 46 04 00 00 00 00 07 04 06 00 3C 28 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 DC D9 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 [13:10:53]Write to MH i2c: E2 02 01 79 00 80 0D 02 02 FA 00 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 33 33 39 06 04 23 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 30 2C 33 33 D0 BB 20 D1 81 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 3C 28 00 00 00 00 13 04 06 00 3C 28 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 3C 28 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 46 04 00 00 00 00 07 04 06 00 3C 28 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 DC D9 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 00 00 CD [13:10:53]Write i2c OK [13:10:53]MH_I2C_Read... [13:10:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:10:53]Read from MH i2c: E2 [13:10:53]MH_I2C_Read... [13:10:53]Read from MH i2c: E2 03 00 [13:10:53]MH_I2C_Read... [13:10:53]Read from MH i2c: E2 03 00 79 00 00 90 00 ED [13:10:53]RAPDU: 90 00 [13:10:53]wFMCommunicate OK [13:10:53]wFMCommunicate request_size=36 [13:10:53]MH_SAM_APDU [13:10:53]CAPDU: 80 0D 02 02 1F 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 F7 81 00 00 35 04 06 00 19 AD 06 89 27 99 [13:10:53]Write to MH i2c: E2 27 00 7A 00 80 0D 02 02 1F 00 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 F7 81 00 00 35 04 06 00 19 AD 06 89 27 99 00 00 9F [13:10:53]Write i2c OK [13:10:53]MH_I2C_Read... [13:10:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:10:53]Read from MH i2c: E2 [13:10:53]MH_I2C_Read... [13:10:53]Read from MH i2c: E2 03 00 [13:10:53]MH_I2C_Read... [13:10:53]Read from MH i2c: E2 03 00 7A 00 00 90 00 EE [13:10:53]RAPDU: 90 00 [13:10:53]wFMCommunicate OK [13:10:53]wFMCommunicate request_size=4 [13:10:53]MH_SAM_APDU [13:10:53]CAPDU: 80 0D 03 02 [13:10:53]Write to MH i2c: E2 08 00 7B 00 80 0D 03 02 00 00 00 00 F6 [13:10:53]Write i2c OK [13:10:53]MH_I2C_Read... [13:10:54]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:10:54]Read from MH i2c: E2 [13:10:54]MH_I2C_Read... [13:10:54]Read from MH i2c: E2 0B 00 [13:10:54]MH_I2C_Read... [13:10:54]Read from MH i2c: E2 0B 00 7B 00 00 59 5E EA 7E 0F 71 F4 DF 90 00 69 [13:10:54]RAPDU: 59 5E EA 7E 0F 71 F4 DF 90 00 [13:10:54]wFMCommunicate OK [13:10:54]SAM_PROTO_SignData done [13:10:54]FM_MakeSignedData done [13:10:54]CreateOFDProtocolMessage [13:10:54]wFMCommunicate request_size=4 [13:10:54]MH_SAM_APDU [13:10:54]CAPDU: 80 11 00 00 [13:10:54]Write to MH i2c: E2 08 00 7C 00 80 11 00 00 00 00 00 00 F6 [13:10:54]Write i2c OK [13:10:54]MH_I2C_Read... [13:10:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:10:54]Read from MH i2c: E2 [13:10:54]MH_I2C_Read... [13:10:54]Read from MH i2c: E2 17 00 [13:10:54]MH_I2C_Read... [13:10:54]Read from MH i2c: E2 17 00 7C 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 42 [13:10:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [13:10:54]wFMCommunicate OK [13:10:54]CreateOFDProtocolMessage done [13:10:54]OFDSenderStorePacket 33271 [13:10:54]StoreOFDPacket docnum=33271 [13:10:54]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 29 01 00 00 E7 98 21 01 F1 19 5A 03 01 00 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 33 33 39 06 04 23 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 30 2C 33 33 D0 BB 20 D1 81 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 3C 28 00 00 00 00 13 04 06 00 3C 28 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 3C 28 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 46 04 00 00 00 00 07 04 06 00 3C 28 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 DC D9 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 F7 81 00 00 35 04 06 00 19 AD 06 89 27 99 59 5E EA 7E 0F 71 F4 DF [13:10:54]CheckFolder [13:10:54]dirname=/storage/ofd_packets [13:10:54]CheckFolder done [13:10:54]ProducePacketName [13:10:54]name=ofd_packets/00033271 [13:10:54]NVStorageSaveData ofd_packets/00033271 [13:10:54]File name is /storage/ofd_packets/00033271 [13:10:54]Write 327 bytes [13:10:54]NVStorageSaveData done [13:10:54]OFDSenderStorePacket done [13:10:54]KKMCreateOFDPacket done [13:10:54]NVStorageSaveData kkm_last_timestamp [13:10:54]File name is /storage/kkm_last_timestamp [13:10:54]Write 4 bytes [13:10:54]NVStorageSaveData done [13:10:54]ExternCall_PrintAddStr [13:10:54]wPrintStart [13:10:54]Write to MH i2c: 01 00 00 7D 00 7D [13:10:54]Write i2c OK [13:10:54]MH_I2C_Read... [13:10:54]Read from MH i2c: 01 [13:10:54]MH_I2C_Read... [13:10:54]Read from MH i2c: 01 07 00 [13:10:54]MH_I2C_Read... [13:10:54]Read from MH i2c: 01 07 00 7D 00 00 00 00 00 00 FF 0F 92 [13:10:54]RasterBufferAndPrint [13:10:54]line Счет N : (3)169111 [13:10:54]line ИНН: 02508201610067 [13:10:54]line Контрольно-Кассовый Чек [13:10:54]line ПРОДАЖА [13:10:54]line Товар: 4860019001339 [13:10:54]line Вода Боржоми 0,33л ст [13:10:54]line 1.000 * 103.00 [13:10:54]line = 103.00 [13:10:54]line НДС 12% НСП 1% [13:10:54]line > о реализуемом товаре [13:10:54]line ИТОГО: 103.00 [13:10:54]line НСП 1% : 0.91 [13:10:54]line НДС 12% : 10.94 [13:10:54]line Наличными: 103.00 [13:10:54]line Безнал.: 0.00 [13:10:54]line Место: АЗС № 77 "Партнер Нефть" [13:10:54]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [13:10:54]line СНО: Общий режим [13:10:54]line Чек 26 11.07.2024 13:10 [13:10:54]line Смена: 432 ФФД: 1.0 [13:10:54]line ЗНМ: 0300000122 [13:10:54]line РНМ: 0000000000093033 [13:10:54]line Версия ККМ: 001 [13:10:54]line ФМ: 0000000000875104 [13:10:54]line ФД: 33271 [13:10:54]line ФПД: 28230929688473 [13:10:54]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T131052&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33271&fm=28230929688473&tin=02508201610067®Number=0000000000093033&sum=10300 [13:10:54]line 0 [13:10:54]written 0, free lines is 4095 [13:10:54]OFD Sender: Processing packet 33271 [packets to send 6, broken 5] [13:10:54]ProducePacketName [13:10:54]name=ofd_packets/00033271 [13:10:54]OFD Sender: To server: pG, [13:10:54]CommunicateWithHost lk.salyk.kg:30040 [13:10:54]ConnectInit lk.salyk.kg [13:10:54]Connected sock=10 [13:10:54]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 29 01 00 00 E7 98 21 01 F1 19 5A 03 01 00 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 33 33 39 06 04 23 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 30 2C 33 33 D0 BB 20 D1 81 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 3C 28 00 00 00 00 13 04 06 00 3C 28 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 3C 28 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 46 04 00 00 00 00 07 04 06 00 3C 28 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 DC D9 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 F7 81 00 00 35 04 06 00 19 AD 06 89 27 99 59 5E EA 7E 0F 71 F4 DF [13:10:54]Write to MH i2c: 01 00 00 A5 00 A5 [13:10:54]Write i2c OK [13:10:54]MH_I2C_Read... [13:10:54]Read from MH i2c: 01 [13:10:54]MH_I2C_Read... [13:10:54]Read from MH i2c: 01 07 00 [13:10:54]MH_I2C_Read... [13:10:54]Read from MH i2c: 01 07 00 A5 00 00 00 00 00 00 0C 0D C5 [13:10:54]RasterBufferAndPrint [13:10:54]line [13:10:54]line [13:10:54]line [13:10:54]line [13:10:54]line [13:10:54]written 0, free lines is 3356 [13:10:54]MH_Cut [13:10:54]Write to MH i2c: D1 01 00 AC 00 01 7E [13:10:54]Write i2c OK [13:10:54]MH_I2C_Read... [13:10:54]Read from MH i2c: D1 [13:10:54]MH_I2C_Read... [13:10:54]Read from MH i2c: D1 01 00 [13:10:54]MH_I2C_Read... [13:10:54]Read from MH i2c: D1 01 00 AC 00 00 7D [13:10:54]Write to MH i2c: 01 00 00 AD 00 AD [13:10:54]Write i2c OK [13:10:54]MH_I2C_Read... [13:10:54]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 4D AA 47 00 31 B0 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 F7 81 00 00 F4 03 04 00 8C 84 8F 66 B6 04 01 00 00 E6 9A 14 74 42 91 81 E9 [13:10:54]CommunicateWithHost err = 0 [13:10:54]CheckOFDResponse [13:10:54]1017 (14) - 77093643461234 [13:10:54]1041 (16) - 0000000000875104 [13:10:54]1040 (4) - 33271 [13:10:54]1012 (4) - 11.07.2024 07:06 [13:10:54]1206 (1) - 0 [13:10:54]OFD Sender: Remove packet 33271 [13:10:54]ProducePacketName [13:10:54]name=ofd_packets/00033271 [13:10:54]NVStorageDeleteData [13:10:55]OFD Sender: No OFD packet to send [13:10:55]*** Cut start [13:10:55]*** Partial cut [13:10:55]*** CUTSNS_PIN = 1 [13:10:55]*** CUTSNS_PIN = 0 [13:10:55]*** Brake cut motor [13:10:55]Read from MH i2c: 01 [13:10:55]MH_I2C_Read... [13:10:55]*** Stop cut motor [13:10:55]*** Cut end [13:10:55]Read from MH i2c: 01 07 00 [13:10:55]MH_I2C_Read... [13:10:55]Read from MH i2c: 01 07 00 AD 00 00 00 00 00 00 FF 0F C2 [13:10:55]process_action close_receipt done [13:10:55]requested_data is exist [13:10:55]produce_requested_data [13:10:55]requested_item fm.sn is exist - process it [13:10:55]wFMCommunicate request_size=4 [13:10:55]MH_SAM_APDU [13:10:55]CAPDU: 80 11 00 00 [13:10:55]Write to MH i2c: E2 08 00 AE 00 80 11 00 00 00 00 00 00 28 [13:10:55]Write i2c OK [13:10:55]MH_I2C_Read... [13:10:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:10:56]Read from MH i2c: E2 [13:10:56]MH_I2C_Read... [13:10:56]Read from MH i2c: E2 17 00 [13:10:56]MH_I2C_Read... [13:10:56]Read from MH i2c: E2 17 00 AE 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 74 [13:10:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [13:10:56]wFMCommunicate OK [13:10:56]requested_item fd.num is exist - process it [13:10:56]SAM_PROTO_GetFieldsCounters [13:10:56]wFMCommunicate request_size=4 [13:10:56]MH_SAM_APDU [13:10:56]CAPDU: 80 13 00 00 [13:10:56]Write to MH i2c: E2 08 00 AF 00 80 13 00 00 00 00 00 00 2B [13:10:56]Write i2c OK [13:10:56]MH_I2C_Read... [13:10:56]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:10:56]Read from MH i2c: E2 [13:10:56]MH_I2C_Read... [13:10:56]Read from MH i2c: E2 62 00 [13:10:56]MH_I2C_Read... [13:10:56]Read from MH i2c: E2 62 00 AF 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 F7 81 00 00 0E 04 04 00 B0 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 B5 [13:10: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 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 F7 81 00 00 0E 04 04 00 B0 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 [13:10:56]wFMCommunicate OK [13:10:56]SAM_PROTO_GetFieldsCounters done [13:10:56]requested_item shift.num is exist - process it [13:10:56]requested_item shift.opened is exist - process it [13:10:56]req_shift_opened [13:10:56]FM_GetShiftState [13:10:56]SAM_PROTO_GetShiftState [13:10:56]wFMCommunicate request_size=4 [13:10:56]MH_SAM_APDU [13:10:56]CAPDU: 80 13 01 00 [13:10:56]Write to MH i2c: E2 08 00 B0 00 80 13 01 00 00 00 00 00 2D [13:10:56]Write i2c OK [13:10:56]MH_I2C_Read... [13:10:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:10:56]Read from MH i2c: E2 [13:10:56]MH_I2C_Read... [13:10:56]Read from MH i2c: E2 0E 00 [13:10:56]MH_I2C_Read... [13:10:56]Read from MH i2c: E2 0E 00 B0 00 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 5E [13:10:56]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [13:10:56]wFMCommunicate OK [13:10:56]SAM_PROTO_GetShiftState done [13:10:56]FM_GetShiftState done [13:10:56]req_shift_opened done [13:10:56]requested_item shift.open_date is exist - process it [13:10:56]req_shift_open_date [13:10:56]req_shift_open_date done [13:10:56]produce_requested_data done [13:10:56]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33271,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398} [13:10:56]process_action_free close_receipt [13:10:56]json_value_free [13:10:56]json_value_free done [13:10:56]process_json_proto returns [13:10:56]Send response to host [13:10:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33271,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398}}} [13:10:56]free response buf [13:10:56]execute_script done [13:10:56]execute_script returns [13:10:56]free content buf [13:10:56]Sock 9.Close socket [13:10:56]Sock 9.Thread stoped [13:10:57]accept exits with 7 [13:10:57]New connection [13:10:57]New thread 3066936676 created [13:10:57]Thread 3066793316 joined [13:10:57]Waiting for new connection... [13:10:57] Sock 7.Parse request [13:10:57]Sock 7.Check first char [13:10:57]Sock 7.First char is OK [13:10:57]request: POST /json_proto HTTP/1.0 [13:10:57]Method: POST [13:10:57]URL: /json_proto [13:10:57]Method is POST - this is cgi request [13:10:57]url: /json_proto [13:10:57]query_string will be loaded in cgi processing [13:10:57]execute_cgi json_proto POST (null) [13:10:57]execute_cgi path=json_proto method=POST [13:10:57]POST find Content-Length [13:10:57]Host: 172.17.35.196:8080 [13:10:57]Content-Length: 646 [13:10:57]Content-Type: application/json [13:10:57] [13:10:57]POST finish read [13:10:57]Found Content-Length = 646 [13:10:57]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169112", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:10:57]execute_script... [13:10: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)169112", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:10:57]POST & json_proto [13:10:57]process_json_proto [13:10:57]json parsed OK: [13:10:57]protocol is kg_v1.0 [13:10:57]action value=close_receipt [13:10:57]process_action close_receipt [13:10:57]cmd_close_receipt [13:10:57]MH_GetDate [13:10:57]Write to MH i2c: F0 00 00 B1 00 A0 [13:10:57]Write i2c OK [13:10:57]MH_I2C_Read... [13:10:57]Read from MH i2c: F0 [13:10:57]MH_I2C_Read... [13:10:57]Read from MH i2c: F0 09 00 [13:10:57]MH_I2C_Read... [13:10:57]Read from MH i2c: F0 09 00 B1 00 00 E1 D9 8F 66 AD 14 F4 65 72 [13:10:57]GetLastDocTimeStamp 1720703452 [13:10:57]current date 1720703457 [13:10:57]FM_GetShiftState [13:10:57]SAM_PROTO_GetShiftState [13:10:57]wFMCommunicate request_size=4 [13:10:57]MH_SAM_APDU [13:10:57]CAPDU: 80 13 01 00 [13:10:57]Write to MH i2c: E2 08 00 B2 00 80 13 01 00 00 00 00 00 2F [13:10:57]Write i2c OK [13:10:57]MH_I2C_Read... [13:10:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:10:57]Read from MH i2c: E2 [13:10:57]MH_I2C_Read... [13:10:57]Read from MH i2c: E2 0E 00 [13:10:57]MH_I2C_Read... [13:10:57]Read from MH i2c: E2 0E 00 B2 00 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 60 [13:10:57]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [13:10:57]wFMCommunicate OK [13:10:57]SAM_PROTO_GetShiftState done [13:10:57]FM_GetShiftState done [13:10:57]opened in 1720656398 [13:10:57]opened+sec_in_day 1720742798 [13:10:57]quantity*price = 13000 [13:10:57]sum+1 = 13001 [13:10:57]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 130.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 27 11.07.2024 13:10 Смена: 432 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33272 ФПД: 262496258583380 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T131057&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33272&fm=262496258583380&tin=02508201610067®Number=0000000000093033&sum=13000 0 [13:10:58]StoreToDocumentArchive [13:10:58]shift 432 fd 33272 [13:10:58]save to /storage/0432/doc_00033272 [13:10:58]save last doc name /storage/0432/doc_00033272 to /storage/kkm_last_doc_name [13:10:58]save OK [13:10:58]Clear old archive folders... [13:10:58]ProcessDocumentItem done err = 0, tmpTLVsize=282 [13:10:58]tlvbuf is 01CC7750 [13:10:58]SAM_PROTO_ClearQueue [13:10:58]wFMCommunicate request_size=4 [13:10:58]MH_SAM_APDU [13:10:58]CAPDU: 80 09 00 00 [13:10:58]Write to MH i2c: E2 08 00 BF 00 80 09 00 00 00 00 00 00 31 [13:10:58]Write i2c OK [13:10:58]MH_I2C_Read... [13:10:58]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:10:58]Read from MH i2c: E2 [13:10:58]MH_I2C_Read... [13:10:58]Read from MH i2c: E2 03 00 [13:10:58]MH_I2C_Read... [13:10:58]Read from MH i2c: E2 03 00 BF 00 00 90 00 33 [13:10:58]RAPDU: 90 00 [13:10:58]wFMCommunicate OK [13:10:58]SAM_PROTO_ClearQueue done [13:10:58]KKMCreateOFDPacket [13:10:58]OFDProtocolAddRootSTLVToBuf [13:10:58]FM_MakeSignedData [13:10:58]FM_MakeSignedData [13:10:58]SAM_PROTO_SignData [13:10:58]wFMCommunicate request_size=4 [13:10:58]MH_SAM_APDU [13:10:58]CAPDU: 80 0D 01 02 [13:10:58]Write to MH i2c: E2 08 00 C0 00 80 0D 01 02 00 00 00 00 39 [13:10:58]Write i2c OK [13:10:58]MH_I2C_Read... [13:10:58]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:10:58]Read from MH i2c: E2 [13:10:58]MH_I2C_Read... [13:10:58]Read from MH i2c: E2 03 00 [13:10:58]MH_I2C_Read... [13:10:58]Read from MH i2c: E2 03 00 C0 00 00 90 00 34 [13:10:58]RAPDU: 90 00 [13:10:58]wFMCommunicate OK [13:10:58]wFMCommunicate request_size=255 [13:10:58]MH_SAM_APDU [13:10:58]CAPDU: 80 0D 02 02 FA 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 E1 D9 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 [13:10:58]Write to MH i2c: E2 02 01 C1 00 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 E1 D9 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 00 00 BC [13:10:58]Write i2c OK [13:10:58]MH_I2C_Read... [13:10:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:10:59]Read from MH i2c: E2 [13:10:59]MH_I2C_Read... [13:10:59]Read from MH i2c: E2 03 00 [13:10:59]MH_I2C_Read... [13:10:59]Read from MH i2c: E2 03 00 C1 00 00 90 00 35 [13:10:59]RAPDU: 90 00 [13:10:59]wFMCommunicate OK [13:10:59]wFMCommunicate request_size=41 [13:10:59]MH_SAM_APDU [13:10:59]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 F8 81 00 00 35 04 06 00 EE BD 2C 3F 6B 54 [13:10:59]Write to MH i2c: E2 2C 00 C2 00 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 F8 81 00 00 35 04 06 00 EE BD 2C 3F 6B 54 00 00 52 [13:10:59]Write i2c OK [13:10:59]MH_I2C_Read... [13:10:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:10:59]Read from MH i2c: E2 [13:10:59]MH_I2C_Read... [13:10:59]Read from MH i2c: E2 03 00 [13:10:59]MH_I2C_Read... [13:10:59]Read from MH i2c: E2 03 00 C2 00 00 90 00 36 [13:10:59]RAPDU: 90 00 [13:10:59]wFMCommunicate OK [13:10:59]wFMCommunicate request_size=4 [13:10:59]MH_SAM_APDU [13:10:59]CAPDU: 80 0D 03 02 [13:10:59]Write to MH i2c: E2 08 00 C3 00 80 0D 03 02 00 00 00 00 3E [13:10:59]Write i2c OK [13:10:59]MH_I2C_Read... [13:10:59]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:10:59]Read from MH i2c: E2 [13:10:59]MH_I2C_Read... [13:10:59]Read from MH i2c: E2 0B 00 [13:10:59]MH_I2C_Read... [13:10:59]Read from MH i2c: E2 0B 00 C3 00 00 F8 36 23 91 C1 22 45 06 90 00 4F [13:10:59]RAPDU: F8 36 23 91 C1 22 45 06 90 00 [13:10:59]wFMCommunicate OK [13:10:59]SAM_PROTO_SignData done [13:10:59]FM_MakeSignedData done [13:10:59]CreateOFDProtocolMessage [13:10:59]wFMCommunicate request_size=4 [13:10:59]MH_SAM_APDU [13:10:59]CAPDU: 80 11 00 00 [13:10:59]Write to MH i2c: E2 08 00 C4 00 80 11 00 00 00 00 00 00 3E [13:10:59]Write i2c OK [13:10:59]MH_I2C_Read... [13:10:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:10:59]Read from MH i2c: E2 [13:10:59]MH_I2C_Read... [13:10:59]Read from MH i2c: E2 17 00 [13:10:59]MH_I2C_Read... [13:10:59]Read from MH i2c: E2 17 00 C4 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 8A [13:10:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [13:10:59]wFMCommunicate OK [13:10:59]CreateOFDProtocolMessage done [13:10:59]OFDSenderStorePacket 33272 [13:10:59]StoreOFDPacket docnum=33272 [13:10:59]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 2E 01 00 00 5F 53 26 01 8E 9B 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 E1 D9 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 F8 81 00 00 35 04 06 00 EE BD 2C 3F 6B 54 F8 36 23 91 C1 22 45 06 [13:10:59]CheckFolder [13:10:59]dirname=/storage/ofd_packets [13:10:59]CheckFolder done [13:10:59]ProducePacketName [13:10:59]name=ofd_packets/00033272 [13:10:59]NVStorageSaveData ofd_packets/00033272 [13:10:59]File name is /storage/ofd_packets/00033272 [13:10:59]Write 332 bytes [13:10:59]NVStorageSaveData done [13:10:59]OFDSenderStorePacket done [13:10:59]KKMCreateOFDPacket done [13:10:59]NVStorageSaveData kkm_last_timestamp [13:10:59]File name is /storage/kkm_last_timestamp [13:10:59]Write 4 bytes [13:10:59]NVStorageSaveData done [13:10:59]ExternCall_PrintAddStr [13:10:59]wPrintStart [13:10:59]Write to MH i2c: 01 00 00 C5 00 C5 [13:10:59]OFD Sender: Processing packet 33272 [packets to send 6, broken 5] [13:10:59]ProducePacketName [13:10:59]name=ofd_packets/00033272 [13:10:59]OFD Sender: To server: pG, [13:10:59]CommunicateWithHost lk.salyk.kg:30040 [13:10:59]ConnectInit lk.salyk.kg [13:10:59]Write i2c OK [13:10:59]MH_I2C_Read... [13:10:59]Read from MH i2c: 01 [13:10:59]MH_I2C_Read... [13:10:59]Read from MH i2c: 01 07 00 [13:10:59]MH_I2C_Read... [13:10:59]Read from MH i2c: 01 07 00 C5 00 00 00 00 00 00 FF 0F DA [13:10:59]RasterBufferAndPrint [13:10:59]line Счет N : (3)169112 [13:10:59]line ИНН: 02508201610067 [13:10:59]line Контрольно-Кассовый Чек [13:10:59]line ПРОДАЖА [13:10:59]line Товар: 2000036220012 [13:10:59]line Кофе Капучино XL(GABB TRADE) [13:10:59]line 1.000 * 130.00 [13:10:59]line = 130.00 [13:10:59]line НДС 12% НСП 1% [13:10:59]line > о реализуемом товаре [13:10:59]line ИТОГО: 130.00 [13:10:59]line НСП 1% : 1.15 [13:10:59]line НДС 12% : 13.80 [13:10:59]line Наличными: 130.00 [13:10:59]line Безнал.: 0.00 [13:10:59]line Место: АЗС № 77 "Партнер Нефть" [13:10:59]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [13:10:59]line СНО: Общий режим [13:10:59]line Чек 27 11.07.2024 13:10 [13:10:59]line Смена: 432 ФФД: 1.0 [13:10:59]line ЗНМ: 0300000122 [13:10:59]line РНМ: 0000000000093033 [13:10:59]line Версия ККМ: 001 [13:10:59]line ФМ: 0000000000875104 [13:10:59]line ФД: 33272 [13:10:59]line ФПД: 262496258583380 [13:10:59]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T131057&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33272&fm=262496258583380&tin=02508201610067®Number=0000000000093033&sum=13000 [13:10:59]line 0 [13:10:59]written 0, free lines is 4095 [13:10:59]Connected sock=10 [13:10:59]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 2E 01 00 00 5F 53 26 01 8E 9B 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 E1 D9 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 F8 81 00 00 35 04 06 00 EE BD 2C 3F 6B 54 F8 36 23 91 C1 22 45 06 [13:10:59]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 30 6F 47 00 25 4F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 35 31 30 34 10 04 04 00 F8 81 00 00 F4 03 04 00 91 84 8F 66 B6 04 01 00 00 2B 0E B4 86 98 DD A8 10 [13:11:00]CommunicateWithHost err = 0 [13:11:00]CheckOFDResponse [13:11:00]1017 (14) - 77093643461234 [13:11:00]1041 (16) - 0000000000875104 [13:11:00]1040 (4) - 33272 [13:11:00]1012 (4) - 11.07.2024 07:06 [13:11:00]1206 (1) - 0 [13:11:00]OFD Sender: Remove packet 33272 [13:11:00]ProducePacketName [13:11:00]name=ofd_packets/00033272 [13:11:00]NVStorageDeleteData [13:11:00]Write to MH i2c: 01 00 00 EE 00 EE [13:11:00]Write i2c OK [13:11:00]MH_I2C_Read... [13:11:00]Read from MH i2c: 01 [13:11:00]MH_I2C_Read... [13:11:00]Read from MH i2c: 01 07 00 [13:11:00]MH_I2C_Read... [13:11:00]Read from MH i2c: 01 07 00 EE 00 00 00 00 00 00 5D 0D 5F [13:11:00]RasterBufferAndPrint [13:11:00]line [13:11:00]line [13:11:00]line [13:11:00]line [13:11:00]line [13:11:00]written 0, free lines is 3444 [13:11:00]MH_Cut [13:11:00]Write to MH i2c: D1 01 00 F5 00 01 C7 [13:11:00]Write i2c OK [13:11:00]MH_I2C_Read... [13:11:00]Read from MH i2c: D1 [13:11:00]MH_I2C_Read... [13:11:00]Read from MH i2c: D1 01 00 [13:11:00]MH_I2C_Read... [13:11:00]Read from MH i2c: D1 01 00 F5 00 00 C6 [13:11:00]Write to MH i2c: 01 00 00 F6 00 F6 [13:11:00]Write i2c OK [13:11:00]MH_I2C_Read... [13:11:00]OFD Sender: No OFD packet to send [13:11:00]*** Cut start [13:11:00]*** Partial cut [13:11:00]*** CUTSNS_PIN = 1 [13:11:00]*** CUTSNS_PIN = 0 [13:11:00]*** Brake cut motor [13:11:01]Read from MH i2c: 01 [13:11:01]MH_I2C_Read... [13:11:01]*** Stop cut motor [13:11:01]*** Cut end [13:11:01]Read from MH i2c: 01 07 00 [13:11:01]MH_I2C_Read... [13:11:01]Read from MH i2c: 01 07 00 F6 00 00 00 00 00 00 FF 0F 0B [13:11:01]process_action close_receipt done [13:11:01]requested_data is exist [13:11:01]produce_requested_data [13:11:01]requested_item fm.sn is exist - process it [13:11:01]wFMCommunicate request_size=4 [13:11:01]MH_SAM_APDU [13:11:01]CAPDU: 80 11 00 00 [13:11:01]Write to MH i2c: E2 08 00 F7 00 80 11 00 00 00 00 00 00 71 [13:11:01]Write i2c OK [13:11:01]MH_I2C_Read... [13:11:01]Read from MH i2c: E2 [13:11:01]MH_I2C_Read... [13:11:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:11:01]Read from MH i2c: E2 17 00 [13:11:01]MH_I2C_Read... [13:11:01]Read from MH i2c: E2 17 00 F7 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 BD [13:11:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [13:11:01]wFMCommunicate OK [13:11:01]requested_item fd.num is exist - process it [13:11:01]SAM_PROTO_GetFieldsCounters [13:11:01]wFMCommunicate request_size=4 [13:11:01]MH_SAM_APDU [13:11:01]CAPDU: 80 13 00 00 [13:11:01]Write to MH i2c: E2 08 00 F8 00 80 13 00 00 00 00 00 00 74 [13:11:01]Write i2c OK [13:11:01]MH_I2C_Read... [13:11:01]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:11:01]Read from MH i2c: E2 [13:11:01]MH_I2C_Read... [13:11:01]Read from MH i2c: E2 62 00 [13:11:01]MH_I2C_Read... [13:11:01]Read from MH i2c: E2 62 00 F8 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 F8 81 00 00 0E 04 04 00 B0 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 02 [13:11: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 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 F8 81 00 00 0E 04 04 00 B0 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 [13:11:01]wFMCommunicate OK [13:11:01]SAM_PROTO_GetFieldsCounters done [13:11:01]requested_item shift.num is exist - process it [13:11:01]requested_item shift.opened is exist - process it [13:11:01]req_shift_opened [13:11:01]FM_GetShiftState [13:11:01]SAM_PROTO_GetShiftState [13:11:01]wFMCommunicate request_size=4 [13:11:01]MH_SAM_APDU [13:11:01]CAPDU: 80 13 01 00 [13:11:01]Write to MH i2c: E2 08 00 F9 00 80 13 01 00 00 00 00 00 76 [13:11:01]Write i2c OK [13:11:01]MH_I2C_Read... [13:11:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:11:01]Read from MH i2c: E2 [13:11:01]MH_I2C_Read... [13:11:01]Read from MH i2c: E2 0E 00 [13:11:01]MH_I2C_Read... [13:11:01]Read from MH i2c: E2 0E 00 F9 00 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 A7 [13:11:01]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [13:11:01]wFMCommunicate OK [13:11:01]SAM_PROTO_GetShiftState done [13:11:01]FM_GetShiftState done [13:11:01]req_shift_opened done [13:11:01]requested_item shift.open_date is exist - process it [13:11:01]req_shift_open_date [13:11:01]req_shift_open_date done [13:11:01]produce_requested_data done [13:11:01]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33272,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398} [13:11:01]process_action_free close_receipt [13:11:01]json_value_free [13:11:01]json_value_free done [13:11:01]process_json_proto returns [13:11:01]Send response to host [13:11:01]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33272,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398}}} [13:11:01]free response buf [13:11:01]execute_script done [13:11:01]execute_script returns [13:11:01]free content buf [13:11:01]Sock 7.Close socket [13:11:01]Sock 7.Thread stoped [13:11:05]OFD Sender: No OFD packet to send [13:11:10]OFD Sender: No OFD packet to send [13:11:15]OFD Sender: No OFD packet to send [13:11:20]OFD Sender: No OFD packet to send [13:11:25]OFD Sender: No OFD packet to send [13:11:29]accept exits with 9 [13:11:29]New connection [13:11:29]New thread 3066793316 created [13:11:29]Thread 3066936676 joined [13:11:29]Waiting for new connection... [13:11:29] Sock 9.Parse request [13:11:29]Sock 9.Check first char [13:11:29]Sock 9.First char is OK [13:11:29]request: POST /json_proto HTTP/1.0 [13:11:29]Method: POST [13:11:29]URL: /json_proto [13:11:29]Method is POST - this is cgi request [13:11:29]url: /json_proto [13:11:29]query_string will be loaded in cgi processing [13:11:29]execute_cgi json_proto POST (null) [13:11:29]execute_cgi path=json_proto method=POST [13:11:29]POST find Content-Length [13:11:29]Host: 172.17.35.196:8080 [13:11:29]Content-Length: 215 [13:11:29]Content-Type: application/json [13:11:29] [13:11:29]POST finish read [13:11:29]Found Content-Length = 215 [13:11:29]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" ] } } [13:11:29]execute_script... [13:11:29]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" ] } } [13:11:29]POST & json_proto [13:11:29]process_json_proto [13:11:29]json parsed OK: [13:11:29]protocol is kg_v1.0 [13:11:29]action value=get_value [13:11:29]process_action get_value [13:11:29]cmd_get_value [13:11:29]process_action get_value done [13:11:29]requested_data is exist [13:11:29]produce_requested_data [13:11:29]requested_item kkm.sn is exist - process it [13:11:29]requested_item kkm.ver is exist - process it [13:11:29]requested_item fm.sn is exist - process it [13:11:29]wFMCommunicate request_size=4 [13:11:29]MH_SAM_APDU [13:11:29]CAPDU: 80 11 00 00 [13:11:29]Write to MH i2c: E2 08 00 FA 00 80 11 00 00 00 00 00 00 74 [13:11:29]Write i2c OK [13:11:29]MH_I2C_Read... [13:11:29]Read from MH i2c: E2 [13:11:29]MH_I2C_Read... [13:11:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:11:29]Read from MH i2c: E2 17 00 [13:11:29]MH_I2C_Read... [13:11:29]Read from MH i2c: E2 17 00 FA 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 C0 [13:11:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [13:11:29]wFMCommunicate OK [13:11:29]requested_item fd.num is exist - process it [13:11:29]SAM_PROTO_GetFieldsCounters [13:11:29]wFMCommunicate request_size=4 [13:11:29]MH_SAM_APDU [13:11:29]CAPDU: 80 13 00 00 [13:11:29]Write to MH i2c: E2 08 00 FB 00 80 13 00 00 00 00 00 00 77 [13:11:29]Write i2c OK [13:11:29]MH_I2C_Read... [13:11:29]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:11:29]Read from MH i2c: E2 [13:11:29]MH_I2C_Read... [13:11:29]Read from MH i2c: E2 62 00 [13:11:29]MH_I2C_Read... [13:11:29]Read from MH i2c: E2 62 00 FB 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 F8 81 00 00 0E 04 04 00 B0 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 05 [13:11: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 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 F8 81 00 00 0E 04 04 00 B0 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 [13:11:29]wFMCommunicate OK [13:11:29]SAM_PROTO_GetFieldsCounters done [13:11:29]requested_item shift.num is exist - process it [13:11:29]requested_item shift.opened is exist - process it [13:11:29]req_shift_opened [13:11:29]FM_GetShiftState [13:11:29]SAM_PROTO_GetShiftState [13:11:29]wFMCommunicate request_size=4 [13:11:29]MH_SAM_APDU [13:11:29]CAPDU: 80 13 01 00 [13:11:29]Write to MH i2c: E2 08 00 FC 00 80 13 01 00 00 00 00 00 79 [13:11:29]Write i2c OK [13:11:29]MH_I2C_Read... [13:11:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:11:30]Read from MH i2c: E2 [13:11:30]MH_I2C_Read... [13:11:30]Read from MH i2c: E2 0E 00 [13:11:30]MH_I2C_Read... [13:11:30]Read from MH i2c: E2 0E 00 FC 00 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 AA [13:11:30]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [13:11:30]wFMCommunicate OK [13:11:30]SAM_PROTO_GetShiftState done [13:11:30]FM_GetShiftState done [13:11:30]req_shift_opened done [13:11:30]requested_item shift.open_date is exist - process it [13:11:30]req_shift_open_date [13:11:30]req_shift_open_date done [13:11:30]produce_requested_data done [13:11:30]produce_requested_data return {"kkm.sn":"0300000122","kkm.ver":"001","fm.sn":"0000000000875104","fd.num":33272,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398} [13:11:30]process_action_free get_value [13:11:30]json_value_free [13:11:30]json_value_free done [13:11:30]process_json_proto returns [13:11:30]Send response to host [13:11:30]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000122","kkm.ver":"001","fm.sn":"0000000000875104","fd.num":33272,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398}}} [13:11:30]free response buf [13:11:30]execute_script done [13:11:30]execute_script returns [13:11:30]free content buf [13:11:30]Sock 9.Close socket [13:11:30]Sock 9.Thread stoped [13:11:30]accept exits with 7 [13:11:30]New connection [13:11:30]New thread 3066936676 created [13:11:30]Thread 3066793316 joined [13:11:30]Waiting for new connection... [13:11:30] Sock 7.Parse request [13:11:30]Sock 7.Check first char [13:11:30]Sock 7.First char is OK [13:11:30]request: POST /json_proto HTTP/1.0 [13:11:30]Method: POST [13:11:30]URL: /json_proto [13:11:30]Method is POST - this is cgi request [13:11:30]url: /json_proto [13:11:30]query_string will be loaded in cgi processing [13:11:30]execute_cgi json_proto POST (null) [13:11:30]execute_cgi path=json_proto method=POST [13:11:30]POST find Content-Length [13:11:30]Host: 172.17.35.196:8080 [13:11:30]Content-Length: 331 [13:11:30]Content-Type: application/json [13:11:30] [13:11:30]POST finish read [13:11:30]Found Content-Length = 331 [13:11:30]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [13:11:30]execute_script... [13:11:30]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [13:11:30]POST & json_proto [13:11:30]process_json_proto [13:11:30]json parsed OK: [13:11:30]protocol is kg_v1.0 [13:11:30]action value=get_value [13:11:30]process_action get_value [13:11:30]cmd_get_value [13:11:30]process_action get_value done [13:11:30]requested_data is exist [13:11:30]produce_requested_data [13:11:30]requested_item fm.sale.total is exist - process it [13:11:30]SAM_PROTO_GetFMData [13:11:30]wFMCommunicate request_size=4 [13:11:30]MH_SAM_APDU [13:11:30]CAPDU: 80 13 03 00 [13:11:30]Write to MH i2c: E2 08 00 FD 00 80 13 03 00 00 00 00 00 7C [13:11:30]Write i2c OK [13:11:30]MH_I2C_Read... [13:11:30]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [13:11:30]Read from MH i2c: E2 [13:11:30]MH_I2C_Read... [13:11:30]Read from MH i2c: E2 FD 00 [13:11:30]MH_I2C_Read... [13:11:30]Read from MH i2c: E2 FD 00 FD 00 00 C4 04 85 04 C0 04 6E 04 04 00 98 7E 00 00 69 04 A0 00 6F 04 04 00 B7 7D 00 00 B1 04 04 00 09 61 68 3F 70 04 04 00 60 72 D1 34 72 04 04 00 A9 EE 96 0A 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 FB F1 BB 06 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 E9 9D 8F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 90 00 96 [13:11:30]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 98 7E 00 00 69 04 A0 00 6F 04 04 00 B7 7D 00 00 B1 04 04 00 09 61 68 3F 70 04 04 00 60 72 D1 34 72 04 04 00 A9 EE 96 0A 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 FB F1 BB 06 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 E9 9D 8F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 90 00 [13:11:30]wFMCommunicate OK [13:11:30]wFMCommunicate request_size=4 [13:11:30]MH_SAM_APDU [13:11:30]CAPDU: 80 17 00 00 [13:11:30]Write to MH i2c: E2 08 00 FE 00 80 17 00 00 00 00 00 00 7E [13:11:30]Write i2c OK [13:11:30]MH_I2C_Read... [13:11:30]OFD Sender: No OFD packet to send [13:11:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:11:30]Read from MH i2c: E2 [13:11:30]MH_I2C_Read... [13:11:30]Read from MH i2c: E2 FD 00 [13:11:30]MH_I2C_Read... [13:11:30]Read from MH i2c: E2 FD 00 FE 00 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 3B [13:11:30]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [13:11:30]wFMCommunicate OK [13:11:30]wFMCommunicate request_size=4 [13:11:30]MH_SAM_APDU [13:11:30]CAPDU: 80 17 00 00 [13:11:30]Write to MH i2c: E2 08 00 FF 00 80 17 00 00 00 00 00 00 7F [13:11:30]Write i2c OK [13:11:30]MH_I2C_Read... [13:11:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:11:31]Read from MH i2c: E2 [13:11:31]MH_I2C_Read... [13:11:31]Read from MH i2c: E2 FD 00 [13:11:31]MH_I2C_Read... [13:11:31]Read from MH i2c: E2 FD 00 FF 00 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 94 [13:11:31]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [13:11:31]wFMCommunicate OK [13:11:31]wFMCommunicate request_size=4 [13:11:31]MH_SAM_APDU [13:11:31]CAPDU: 80 17 00 00 [13:11:31]Write to MH i2c: E2 08 00 00 01 80 17 00 00 00 00 00 00 81 [13:11:31]Write i2c OK [13:11:31]MH_I2C_Read... [13:11:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:11:31]Read from MH i2c: E2 [13:11:31]MH_I2C_Read... [13:11:31]Read from MH i2c: E2 FD 00 [13:11:31]MH_I2C_Read... [13:11:31]Read from MH i2c: E2 FD 00 00 01 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 F9 [13:11:31]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [13:11:31]wFMCommunicate OK [13:11:31]wFMCommunicate request_size=4 [13:11:31]MH_SAM_APDU [13:11:31]CAPDU: 80 17 00 00 [13:11:31]Write to MH i2c: E2 08 00 01 01 80 17 00 00 00 00 00 00 82 [13:11:31]Write i2c OK [13:11:31]MH_I2C_Read... [13:11:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [13:11:31]Read from MH i2c: E2 [13:11:31]MH_I2C_Read... [13:11:31]Read from MH i2c: E2 E1 00 [13:11:31]MH_I2C_Read... [13:11:31]Read from MH i2c: E2 E1 00 01 01 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 70 [13:11:31]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [13:11:31]wFMCommunicate OK [13:11:31]SAM_PROTO_GetFMData done [13:11:31]requested_item fm.sale_refund.total is exist - process it [13:11:31]requested_item fm.buy.total is exist - process it [13:11:31]requested_item shift.sale.total is exist - process it [13:11:31]SAM_PROTO_GetShiftData [13:11:31]wFMCommunicate request_size=4 [13:11:31]MH_SAM_APDU [13:11:31]CAPDU: 80 13 02 00 [13:11:31]Write to MH i2c: E2 08 00 02 01 80 13 02 00 00 00 00 00 81 [13:11:31]Write i2c OK [13:11:31]MH_I2C_Read... [13:11:32]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [13:11:32]Read from MH i2c: E2 [13:11:32]MH_I2C_Read... [13:11:32]Read from MH i2c: E2 FD 00 [13:11:32]MH_I2C_Read... [13:11:32]Read from MH i2c: E2 FD 00 02 01 00 AD 04 AA 04 A9 04 6E 04 04 00 1B 00 00 00 69 04 9A 00 6F 04 04 00 1B 00 00 00 B1 04 03 00 B0 8F 06 70 04 03 00 E4 52 05 72 04 03 00 CC 3C 01 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 5C B2 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 DE 0E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 90 00 F8 [13:11:32]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 1B 00 00 00 69 04 9A 00 6F 04 04 00 1B 00 00 00 B1 04 03 00 B0 8F 06 70 04 03 00 E4 52 05 72 04 03 00 CC 3C 01 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 5C B2 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 DE 0E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 90 00 [13:11:32]wFMCommunicate OK [13:11:32]wFMCommunicate request_size=4 [13:11:32]MH_SAM_APDU [13:11:32]CAPDU: 80 17 00 00 [13:11:32]Write to MH i2c: E2 08 00 03 01 80 17 00 00 00 00 00 00 84 [13:11:32]Write i2c OK [13:11:32]MH_I2C_Read... [13:11:32]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:11:32]Read from MH i2c: E2 [13:11:32]MH_I2C_Read... [13:11:32]Read from MH i2c: E2 FD 00 [13:11:32]MH_I2C_Read... [13:11:32]Read from MH i2c: E2 FD 00 03 01 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 96 [13:11:32]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [13:11:32]wFMCommunicate OK [13:11:32]wFMCommunicate request_size=4 [13:11:32]MH_SAM_APDU [13:11:32]CAPDU: 80 17 00 00 [13:11:32]Write to MH i2c: E2 08 00 04 01 80 17 00 00 00 00 00 00 85 [13:11:32]Write i2c OK [13:11:32]MH_I2C_Read... [13:11:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:11:33]Read from MH i2c: E2 [13:11:33]MH_I2C_Read... [13:11:33]Read from MH i2c: E2 FD 00 [13:11:33]MH_I2C_Read... [13:11:33]Read from MH i2c: E2 FD 00 04 01 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 49 [13:11:33]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 [13:11:33]wFMCommunicate OK [13:11:33]wFMCommunicate request_size=4 [13:11:33]MH_SAM_APDU [13:11:33]CAPDU: 80 17 00 00 [13:11:33]Write to MH i2c: E2 08 00 05 01 80 17 00 00 00 00 00 00 86 [13:11:33]Write i2c OK [13:11:33]MH_I2C_Read... [13:11:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:11:33]Read from MH i2c: E2 [13:11:33]MH_I2C_Read... [13:11:33]Read from MH i2c: E2 FD 00 [13:11:33]MH_I2C_Read... [13:11:33]Read from MH i2c: E2 FD 00 05 01 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 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 FB [13:11:33]RAPDU: 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 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 [13:11:33]wFMCommunicate OK [13:11:33]wFMCommunicate request_size=4 [13:11:33]MH_SAM_APDU [13:11:33]CAPDU: 80 17 00 00 [13:11:33]Write to MH i2c: E2 08 00 06 01 80 17 00 00 00 00 00 00 87 [13:11:33]Write i2c OK [13:11:33]MH_I2C_Read... [13:11:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [13:11:33]Read from MH i2c: E2 [13:11:33]MH_I2C_Read... [13:11:33]Read from MH i2c: E2 CA 00 [13:11:33]MH_I2C_Read... [13:11:33]Read from MH i2c: E2 CA 00 06 01 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 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 6C [13:11:33]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 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [13:11:33]wFMCommunicate OK [13:11:33]SAM_PROTO_GetShiftData done [13:11:33]requested_item shift.sale.total_cash is exist - process it [13:11:33]requested_item shift.sale_refund.total is exist - process it [13:11:33]requested_item shift.sale_refund.total_cash is exist - process it [13:11:33]requested_item shift.buy.total is exist - process it [13:11:33]requested_item shift.buy.total_cash is exist - process it [13:11:33]produce_requested_data done [13:11:33]produce_requested_data return {"fm.sale.total":10638051.93,"fm.sale_refund.total":365383.00,"fm.buy.total":0.00,"shift.sale.total":4300.00,"shift.sale.total_cash":3489.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} [13:11:33]process_action_free get_value [13:11:33]json_value_free [13:11:33]json_value_free done [13:11:33]process_json_proto returns [13:11:33]Send response to host [13:11:33]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":10638051.93,"fm.sale_refund.total":365383.00,"fm.buy.total":0.00,"shift.sale.total":4300.00,"shift.sale.total_cash":3489.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}}} [13:11:33]free response buf [13:11:33]execute_script done [13:11:33]execute_script returns [13:11:33]free content buf [13:11:33]Sock 7.Close socket [13:11:33]Sock 7.Thread stoped [13:11:35]OFD Sender: No OFD packet to send [13:11:37]accept exits with 9 [13:11:37]New connection [13:11:37]New thread 3066793316 created [13:11:37]Thread 3066936676 joined [13:11:37]Waiting for new connection... [13:11:37] Sock 9.Parse request [13:11:37]Sock 9.Check first char [13:11:37]Sock 9.First char is OK [13:11:37]request: POST /json_proto HTTP/1.0 [13:11:37]Method: POST [13:11:37]URL: /json_proto [13:11:37]Method is POST - this is cgi request [13:11:37]url: /json_proto [13:11:37]query_string will be loaded in cgi processing [13:11:37]execute_cgi json_proto POST (null) [13:11:37]execute_cgi path=json_proto method=POST [13:11:37]POST find Content-Length [13:11:37]Host: 172.17.35.196:8080 [13:11:37]Content-Length: 215 [13:11:37]Content-Type: application/json [13:11:37] [13:11:37]POST finish read [13:11:37]Found Content-Length = 215 [13:11:37]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" ] } } [13:11:37]execute_script... [13:11:37]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" ] } } [13:11:37]POST & json_proto [13:11:37]process_json_proto [13:11:37]json parsed OK: [13:11:37]protocol is kg_v1.0 [13:11:37]action value=get_value [13:11:37]process_action get_value [13:11:37]cmd_get_value [13:11:37]process_action get_value done [13:11:37]requested_data is exist [13:11:37]produce_requested_data [13:11:37]requested_item kkm.sn is exist - process it [13:11:37]requested_item kkm.ver is exist - process it [13:11:37]requested_item fm.sn is exist - process it [13:11:37]wFMCommunicate request_size=4 [13:11:37]MH_SAM_APDU [13:11:37]CAPDU: 80 11 00 00 [13:11:37]Write to MH i2c: E2 08 00 07 01 80 11 00 00 00 00 00 00 82 [13:11:37]Write i2c OK [13:11:37]MH_I2C_Read... [13:11:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:11:37]Read from MH i2c: E2 [13:11:37]MH_I2C_Read... [13:11:37]Read from MH i2c: E2 17 00 [13:11:37]MH_I2C_Read... [13:11:37]Read from MH i2c: E2 17 00 07 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 CE [13:11:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [13:11:37]wFMCommunicate OK [13:11:37]requested_item fd.num is exist - process it [13:11:37]SAM_PROTO_GetFieldsCounters [13:11:37]wFMCommunicate request_size=4 [13:11:37]MH_SAM_APDU [13:11:37]CAPDU: 80 13 00 00 [13:11:37]Write to MH i2c: E2 08 00 08 01 80 13 00 00 00 00 00 00 85 [13:11:38]Write i2c OK [13:11:38]MH_I2C_Read... [13:11:38]Read from MH i2c: E2 [13:11:38]MH_I2C_Read... [13:11:38]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:11:38]Read from MH i2c: E2 62 00 [13:11:38]MH_I2C_Read... [13:11:38]Read from MH i2c: E2 62 00 08 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 F8 81 00 00 0E 04 04 00 B0 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 13 [13:11: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 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 F8 81 00 00 0E 04 04 00 B0 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 [13:11:38]wFMCommunicate OK [13:11:38]SAM_PROTO_GetFieldsCounters done [13:11:38]requested_item shift.num is exist - process it [13:11:38]requested_item shift.opened is exist - process it [13:11:38]req_shift_opened [13:11:38]FM_GetShiftState [13:11:38]SAM_PROTO_GetShiftState [13:11:38]wFMCommunicate request_size=4 [13:11:38]MH_SAM_APDU [13:11:38]CAPDU: 80 13 01 00 [13:11:38]Write to MH i2c: E2 08 00 09 01 80 13 01 00 00 00 00 00 87 [13:11:38]Write i2c OK [13:11:38]MH_I2C_Read... [13:11:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:11:38]Read from MH i2c: E2 [13:11:38]MH_I2C_Read... [13:11:38]Read from MH i2c: E2 0E 00 [13:11:38]MH_I2C_Read... [13:11:38]Read from MH i2c: E2 0E 00 09 01 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 B8 [13:11:38]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [13:11:38]wFMCommunicate OK [13:11:38]SAM_PROTO_GetShiftState done [13:11:38]FM_GetShiftState done [13:11:38]req_shift_opened done [13:11:38]requested_item shift.open_date is exist - process it [13:11:38]req_shift_open_date [13:11:38]req_shift_open_date done [13:11:38]produce_requested_data done [13:11:38]produce_requested_data return {"kkm.sn":"0300000122","kkm.ver":"001","fm.sn":"0000000000875104","fd.num":33272,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398} [13:11:38]process_action_free get_value [13:11:38]json_value_free [13:11:38]json_value_free done [13:11:38]process_json_proto returns [13:11:38]Send response to host [13:11:38]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000122","kkm.ver":"001","fm.sn":"0000000000875104","fd.num":33272,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398}}} [13:11:38]free response buf [13:11:38]execute_script done [13:11:38]execute_script returns [13:11:38]free content buf [13:11:38]Sock 9.Close socket [13:11:38]Sock 9.Thread stoped [13:11:38]accept exits with 7 [13:11:38]New connection [13:11:38]New thread 3066936676 created [13:11:38]Thread 3066793316 joined [13:11:38]Waiting for new connection... [13:11:38] Sock 7.Parse request [13:11:38]Sock 7.Check first char [13:11:38]Sock 7.First char is OK [13:11:38]request: POST /json_proto HTTP/1.0 [13:11:38]Method: POST [13:11:38]URL: /json_proto [13:11:38]Method is POST - this is cgi request [13:11:38]url: /json_proto [13:11:38]query_string will be loaded in cgi processing [13:11:38]execute_cgi json_proto POST (null) [13:11:38]execute_cgi path=json_proto method=POST [13:11:38]POST find Content-Length [13:11:38]Host: 172.17.35.196:8080 [13:11:38]Content-Length: 331 [13:11:38]Content-Type: application/json [13:11:38] [13:11:38]POST finish read [13:11:38]Found Content-Length = 331 [13:11: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" ] } } [13:11:38]execute_script... [13:11: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" ] } } [13:11:38]POST & json_proto [13:11:38]process_json_proto [13:11:38]json parsed OK: [13:11:38]protocol is kg_v1.0 [13:11:38]action value=get_value [13:11:38]process_action get_value [13:11:38]cmd_get_value [13:11:38]process_action get_value done [13:11:38]requested_data is exist [13:11:38]produce_requested_data [13:11:38]requested_item fm.sale.total is exist - process it [13:11:38]SAM_PROTO_GetFMData [13:11:38]wFMCommunicate request_size=4 [13:11:38]MH_SAM_APDU [13:11:38]CAPDU: 80 13 03 00 [13:11:38]Write to MH i2c: E2 08 00 0A 01 80 13 03 00 00 00 00 00 8A [13:11:38]Write i2c OK [13:11:38]MH_I2C_Read... [13:11:38]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [13:11:38]Read from MH i2c: E2 [13:11:38]MH_I2C_Read... [13:11:38]Read from MH i2c: E2 FD 00 [13:11:38]MH_I2C_Read... [13:11:38]Read from MH i2c: E2 FD 00 0A 01 00 C4 04 85 04 C0 04 6E 04 04 00 98 7E 00 00 69 04 A0 00 6F 04 04 00 B7 7D 00 00 B1 04 04 00 09 61 68 3F 70 04 04 00 60 72 D1 34 72 04 04 00 A9 EE 96 0A 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 FB F1 BB 06 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 E9 9D 8F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 90 00 A4 [13:11:38]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 98 7E 00 00 69 04 A0 00 6F 04 04 00 B7 7D 00 00 B1 04 04 00 09 61 68 3F 70 04 04 00 60 72 D1 34 72 04 04 00 A9 EE 96 0A 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 FB F1 BB 06 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 E9 9D 8F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 90 00 [13:11:38]wFMCommunicate OK [13:11:38]wFMCommunicate request_size=4 [13:11:38]MH_SAM_APDU [13:11:38]CAPDU: 80 17 00 00 [13:11:38]Write to MH i2c: E2 08 00 0B 01 80 17 00 00 00 00 00 00 8C [13:11:38]Write i2c OK [13:11:38]MH_I2C_Read... [13:11:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:11:39]Read from MH i2c: E2 [13:11:39]MH_I2C_Read... [13:11:39]Read from MH i2c: E2 FD 00 [13:11:39]MH_I2C_Read... [13:11:39]Read from MH i2c: E2 FD 00 0B 01 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 49 [13:11:39]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [13:11:39]wFMCommunicate OK [13:11:39]wFMCommunicate request_size=4 [13:11:39]MH_SAM_APDU [13:11:39]CAPDU: 80 17 00 00 [13:11:39]Write to MH i2c: E2 08 00 0C 01 80 17 00 00 00 00 00 00 8D [13:11:39]Write i2c OK [13:11:39]MH_I2C_Read... [13:11:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:11:39]Read from MH i2c: E2 [13:11:39]MH_I2C_Read... [13:11:39]Read from MH i2c: E2 FD 00 [13:11:39]MH_I2C_Read... [13:11:39]Read from MH i2c: E2 FD 00 0C 01 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 A2 [13:11:39]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [13:11:39]wFMCommunicate OK [13:11:39]wFMCommunicate request_size=4 [13:11:39]MH_SAM_APDU [13:11:39]CAPDU: 80 17 00 00 [13:11:39]Write to MH i2c: E2 08 00 0D 01 80 17 00 00 00 00 00 00 8E [13:11:39]Write i2c OK [13:11:39]MH_I2C_Read... [13:11:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:11:40]Read from MH i2c: E2 [13:11:40]MH_I2C_Read... [13:11:40]Read from MH i2c: E2 FD 00 [13:11:40]MH_I2C_Read... [13:11:40]Read from MH i2c: E2 FD 00 0D 01 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 06 [13:11:40]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [13:11:40]wFMCommunicate OK [13:11:40]wFMCommunicate request_size=4 [13:11:40]MH_SAM_APDU [13:11:40]CAPDU: 80 17 00 00 [13:11:40]Write to MH i2c: E2 08 00 0E 01 80 17 00 00 00 00 00 00 8F [13:11:40]Write i2c OK [13:11:40]MH_I2C_Read... [13:11:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [13:11:40]Read from MH i2c: E2 [13:11:40]MH_I2C_Read... [13:11:40]Read from MH i2c: E2 E1 00 [13:11:40]MH_I2C_Read... [13:11:40]Read from MH i2c: E2 E1 00 0E 01 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 7D [13:11:40]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 OFD Sender: No OFD packet to send [13:11:40]00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [13:11:40]wFMCommunicate OK [13:11:40]SAM_PROTO_GetFMData done [13:11:40]requested_item fm.sale_refund.total is exist - process it [13:11:40]requested_item fm.buy.total is exist - process it [13:11:40]requested_item shift.sale.total is exist - process it [13:11:40]SAM_PROTO_GetShiftData [13:11:40]wFMCommunicate request_size=4 [13:11:40]MH_SAM_APDU [13:11:40]CAPDU: 80 13 02 00 [13:11:40]Write to MH i2c: E2 08 00 0F 01 80 13 02 00 00 00 00 00 8E [13:11:40]Write i2c OK [13:11:40]MH_I2C_Read... [13:11:41]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [13:11:41]Read from MH i2c: E2 [13:11:41]MH_I2C_Read... [13:11:41]Read from MH i2c: E2 FD 00 [13:11:41]MH_I2C_Read... [13:11:41]Read from MH i2c: E2 FD 00 0F 01 00 AD 04 AA 04 A9 04 6E 04 04 00 1B 00 00 00 69 04 9A 00 6F 04 04 00 1B 00 00 00 B1 04 03 00 B0 8F 06 70 04 03 00 E4 52 05 72 04 03 00 CC 3C 01 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 5C B2 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 DE 0E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 90 00 05 [13:11:41]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 1B 00 00 00 69 04 9A 00 6F 04 04 00 1B 00 00 00 B1 04 03 00 B0 8F 06 70 04 03 00 E4 52 05 72 04 03 00 CC 3C 01 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 5C B2 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 DE 0E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 90 00 [13:11:41]wFMCommunicate OK [13:11:41]wFMCommunicate request_size=4 [13:11:41]MH_SAM_APDU [13:11:41]CAPDU: 80 17 00 00 [13:11:41]Write to MH i2c: E2 08 00 10 01 80 17 00 00 00 00 00 00 91 [13:11:41]Write i2c OK [13:11:41]MH_I2C_Read... [13:11:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:11:41]Read from MH i2c: E2 [13:11:41]MH_I2C_Read... [13:11:41]Read from MH i2c: E2 FD 00 [13:11:41]MH_I2C_Read... [13:11:41]Read from MH i2c: E2 FD 00 10 01 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 A3 [13:11:41]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [13:11:41]wFMCommunicate OK [13:11:41]wFMCommunicate request_size=4 [13:11:41]MH_SAM_APDU [13:11:41]CAPDU: 80 17 00 00 [13:11:41]Write to MH i2c: E2 08 00 11 01 80 17 00 00 00 00 00 00 92 [13:11:41]Write i2c OK [13:11:41]MH_I2C_Read... [13:11:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:11:42]Read from MH i2c: E2 [13:11:42]MH_I2C_Read... [13:11:42]Read from MH i2c: E2 FD 00 [13:11:42]MH_I2C_Read... [13:11:42]Read from MH i2c: E2 FD 00 11 01 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 56 [13:11:42]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 [13:11:42]wFMCommunicate OK [13:11:42]wFMCommunicate request_size=4 [13:11:42]MH_SAM_APDU [13:11:42]CAPDU: 80 17 00 00 [13:11:42]Write to MH i2c: E2 08 00 12 01 80 17 00 00 00 00 00 00 93 [13:11:42]Write i2c OK [13:11:42]MH_I2C_Read... [13:11:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:11:42]Read from MH i2c: E2 [13:11:42]MH_I2C_Read... [13:11:42]Read from MH i2c: E2 FD 00 [13:11:42]MH_I2C_Read... [13:11:42]Read from MH i2c: E2 FD 00 12 01 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 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 08 [13:11:42]RAPDU: 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 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 [13:11:42]wFMCommunicate OK [13:11:42]wFMCommunicate request_size=4 [13:11:42]MH_SAM_APDU [13:11:42]CAPDU: 80 17 00 00 [13:11:42]Write to MH i2c: E2 08 00 13 01 80 17 00 00 00 00 00 00 94 [13:11:42]Write i2c OK [13:11:42]MH_I2C_Read... [13:11:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [13:11:43]Read from MH i2c: E2 [13:11:43]MH_I2C_Read... [13:11:43]Read from MH i2c: E2 CA 00 [13:11:43]MH_I2C_Read... [13:11:43]Read from MH i2c: E2 CA 00 13 01 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 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 79 [13:11:43]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 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [13:11:43]wFMCommunicate OK [13:11:43]SAM_PROTO_GetShiftData done [13:11:43]requested_item shift.sale.total_cash is exist - process it [13:11:43]requested_item shift.sale_refund.total is exist - process it [13:11:43]requested_item shift.sale_refund.total_cash is exist - process it [13:11:43]requested_item shift.buy.total is exist - process it [13:11:43]requested_item shift.buy.total_cash is exist - process it [13:11:43]produce_requested_data done [13:11:43]produce_requested_data return {"fm.sale.total":10638051.93,"fm.sale_refund.total":365383.00,"fm.buy.total":0.00,"shift.sale.total":4300.00,"shift.sale.total_cash":3489.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} [13:11:43]process_action_free get_value [13:11:43]json_value_free [13:11:43]json_value_free done [13:11:43]process_json_proto returns [13:11:43]Send response to host [13:11:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":10638051.93,"fm.sale_refund.total":365383.00,"fm.buy.total":0.00,"shift.sale.total":4300.00,"shift.sale.total_cash":3489.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}}} [13:11:43]free response buf [13:11:43]execute_script done [13:11:43]execute_script returns [13:11:43]free content buf [13:11:43]Sock 7.Close socket [13:11:43]Sock 7.Thread stoped [13:11:45]OFD Sender: No OFD packet to send [13:11:50]OFD Sender: No OFD packet to send [13:11:55]OFD Sender: No OFD packet to send [13:12:00]OFD Sender: No OFD packet to send [13:12:05]OFD Sender: No OFD packet to send [13:12:10]OFD Sender: No OFD packet to send [13:12:15]OFD Sender: No OFD packet to send [13:12:20]OFD Sender: No OFD packet to send [13:12:25]OFD Sender: No OFD packet to send [13:12:30]OFD Sender: No OFD packet to send [13:12:35]OFD Sender: No OFD packet to send [13:12:40]OFD Sender: No OFD packet to send [13:12:45]OFD Sender: No OFD packet to send [13:12:50]OFD Sender: No OFD packet to send [13:12:55]OFD Sender: No OFD packet to send [13:13:00]OFD Sender: No OFD packet to send [13:13:05]OFD Sender: No OFD packet to send [13:13:10]OFD Sender: No OFD packet to send [13:13:15]OFD Sender: No OFD packet to send [13:13:20]OFD Sender: No OFD packet to send [13:13:25]OFD Sender: No OFD packet to send [13:13:30]OFD Sender: No OFD packet to send [13:13:35]OFD Sender: No OFD packet to send [13:13:40]OFD Sender: No OFD packet to send [13:13:45]OFD Sender: No OFD packet to send [13:13:50]OFD Sender: No OFD packet to send [13:13:55]OFD Sender: No OFD packet to send [13:14:00]OFD Sender: No OFD packet to send [13:14:05]OFD Sender: No OFD packet to send [13:14:10]OFD Sender: No OFD packet to send [13:14:15]OFD Sender: No OFD packet to send [13:14:20]OFD Sender: No OFD packet to send [13:14:25]OFD Sender: No OFD packet to send [13:14:30]OFD Sender: No OFD packet to send [13:14:35]OFD Sender: No OFD packet to send [13:14:40]OFD Sender: No OFD packet to send [13:14:45]OFD Sender: No OFD packet to send [13:14:50]OFD Sender: No OFD packet to send [13:14:55]OFD Sender: No OFD packet to send [13:15:00]OFD Sender: No OFD packet to send [13:15:05]OFD Sender: No OFD packet to send [13:15:10]OFD Sender: No OFD packet to send [13:15:15]OFD Sender: No OFD packet to send [13:15:20]OFD Sender: No OFD packet to send [13:15:25]OFD Sender: No OFD packet to send [13:15:30]OFD Sender: No OFD packet to send [13:15:35]OFD Sender: No OFD packet to send [13:15:40]OFD Sender: No OFD packet to send [13:15:45]OFD Sender: No OFD packet to send [13:15:50]OFD Sender: No OFD packet to send [13:15:55]OFD Sender: No OFD packet to send [13:16:00]OFD Sender: No OFD packet to send [13:16:05]OFD Sender: No OFD packet to send [13:16:10]OFD Sender: No OFD packet to send [13:16:15]OFD Sender: No OFD packet to send [13:16:20]OFD Sender: No OFD packet to send [13:16:25]OFD Sender: No OFD packet to send [13:16:30]OFD Sender: No OFD packet to send [13:16:35]OFD Sender: No OFD packet to send [13:16:40]OFD Sender: No OFD packet to send [13:16:45]OFD Sender: No OFD packet to send [13:16:50]OFD Sender: No OFD packet to send [13:16:55]OFD Sender: No OFD packet to send [13:17:00]OFD Sender: No OFD packet to send [13:17:06]OFD Sender: No OFD packet to send [13:17:11]OFD Sender: No OFD packet to send [13:17:16]OFD Sender: No OFD packet to send [13:17:21]OFD Sender: No OFD packet to send [13:17:26]OFD Sender: No OFD packet to send [13:17:31]OFD Sender: No OFD packet to send [13:17:36]OFD Sender: No OFD packet to send [13:17:41]OFD Sender: No OFD packet to send [13:17:46]OFD Sender: No OFD packet to send [13:17:51]OFD Sender: No OFD packet to send [13:17:56]OFD Sender: No OFD packet to send [13:18:01]OFD Sender: No OFD packet to send [13:18:06]OFD Sender: No OFD packet to send [13:18:11]OFD Sender: No OFD packet to send [13:18:16]OFD Sender: No OFD packet to send [13:18:21]OFD Sender: No OFD packet to send [13:18:26]OFD Sender: No OFD packet to send [13:18:31]OFD Sender: No OFD packet to send [13:18:36]OFD Sender: No OFD packet to send [13:18:41]OFD Sender: No OFD packet to send [13:18:46]OFD Sender: No OFD packet to send [13:18:51]OFD Sender: No OFD packet to send [13:18:56]OFD Sender: No OFD packet to send [13:19:01]OFD Sender: No OFD packet to send [13:19:06]OFD Sender: No OFD packet to send [13:19:11]OFD Sender: No OFD packet to send [13:19:16]OFD Sender: No OFD packet to send [13:19:21]OFD Sender: No OFD packet to send [13:19:26]OFD Sender: No OFD packet to send [13:19:31]OFD Sender: No OFD packet to send [13:19:36]OFD Sender: No OFD packet to send [13:19:41]OFD Sender: No OFD packet to send [13:19:46]OFD Sender: No OFD packet to send [13:19:51]OFD Sender: No OFD packet to send [13:19:56]OFD Sender: No OFD packet to send [13:20:01]OFD Sender: No OFD packet to send [13:20:06]OFD Sender: No OFD packet to send [13:20:11]OFD Sender: No OFD packet to send [13:20:16]OFD Sender: No OFD packet to send [13:20:21]OFD Sender: No OFD packet to send [13:20:26]OFD Sender: No OFD packet to send [13:20:31]OFD Sender: No OFD packet to send [13:20:36]OFD Sender: No OFD packet to send [13:20:41]OFD Sender: No OFD packet to send [13:20:46]OFD Sender: No OFD packet to send [13:20:51]OFD Sender: No OFD packet to send [13:20:56]OFD Sender: No OFD packet to send [13:21:01]OFD Sender: No OFD packet to send [13:21:06]OFD Sender: No OFD packet to send [13:21:11]OFD Sender: No OFD packet to send [13:21:16]OFD Sender: No OFD packet to send [13:21:21]OFD Sender: No OFD packet to send [13:21:26]OFD Sender: No OFD packet to send [13:21:31]OFD Sender: No OFD packet to send [13:21:36]OFD Sender: No OFD packet to send [13:21:41]OFD Sender: No OFD packet to send [13:21:46]OFD Sender: No OFD packet to send [13:21:51]OFD Sender: No OFD packet to send [13:21:56]OFD Sender: No OFD packet to send [13:22:01]OFD Sender: No OFD packet to send [13:22:06]OFD Sender: No OFD packet to send [13:22:11]OFD Sender: No OFD packet to send [13:22:16]OFD Sender: No OFD packet to send [13:22:21]OFD Sender: No OFD packet to send [13:22:26]OFD Sender: No OFD packet to send [13:22:31]OFD Sender: No OFD packet to send [13:22:36]OFD Sender: No OFD packet to send [13:22:41]OFD Sender: No OFD packet to send [13:22:46]OFD Sender: No OFD packet to send [13:22:51]OFD Sender: No OFD packet to send [13:22:56]OFD Sender: No OFD packet to send [13:23:01]OFD Sender: No OFD packet to send [13:23:06]OFD Sender: No OFD packet to send [13:23:11]OFD Sender: No OFD packet to send [13:23:16]OFD Sender: No OFD packet to send [13:23:21]OFD Sender: No OFD packet to send [13:23:26]OFD Sender: No OFD packet to send [13:23:31]OFD Sender: No OFD packet to send [13:23:36]OFD Sender: No OFD packet to send [13:23:41]OFD Sender: No OFD packet to send [13:23:46]OFD Sender: No OFD packet to send [13:23:51]OFD Sender: No OFD packet to send [13:23:56]OFD Sender: No OFD packet to send [13:24:01]OFD Sender: No OFD packet to send [13:24:06]OFD Sender: No OFD packet to send [13:24:11]OFD Sender: No OFD packet to send [13:24:16]OFD Sender: No OFD packet to send [13:24:21]OFD Sender: No OFD packet to send [13:24:26]OFD Sender: No OFD packet to send [13:24:31]OFD Sender: No OFD packet to send [13:24:35]accept exits with 9 [13:24:35]New connection [13:24:35]New thread 3066793316 created [13:24:35]Thread 3066936676 joined [13:24:35]Waiting for new connection... [13:24:35] Sock 9.Parse request [13:24:35]Sock 9.Check first char [13:24:35]Sock 9.First char is OK [13:24:35]request: POST /json_proto HTTP/1.0 [13:24:35]Method: POST [13:24:35]URL: /json_proto [13:24:35]Method is POST - this is cgi request [13:24:35]url: /json_proto [13:24:35]query_string will be loaded in cgi processing [13:24:35]execute_cgi json_proto POST (null) [13:24:35]execute_cgi path=json_proto method=POST [13:24:35]POST find Content-Length [13:24:35]Host: 172.17.35.196:8080 [13:24:35]Content-Length: 651 [13:24:35]Content-Type: application/json [13:24:35] [13:24:35]POST finish read [13:24:35]Found Content-Length = 651 [13:24:35]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169113", "tax_sys" : 0, "items" : [ { "code": "4607120852531", "name": "\u041A\u0438\u0440\u0438\u0435\u0448\u043A\u0438 Light 80 \u0433 \u0441\u043C-\u0437\u0435\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" ] } } [13:24:35]execute_script... [13:24: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)169113", "tax_sys" : 0, "items" : [ { "code": "4607120852531", "name": "\u041A\u0438\u0440\u0438\u0435\u0448\u043A\u0438 Light 80 \u0433 \u0441\u043C-\u0437\u0435\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" ] } } [13:24:35]POST & json_proto [13:24:35]process_json_proto [13:24:35]json parsed OK: [13:24:35]protocol is kg_v1.0 [13:24:35]action value=close_receipt [13:24:35]process_action close_receipt [13:24:35]cmd_close_receipt [13:24:35]MH_GetDate [13:24:35]Write to MH i2c: F0 00 00 14 01 04 [13:24:35]Write i2c OK [13:24:35]MH_I2C_Read... [13:24:35]Read from MH i2c: F0 [13:24:35]MH_I2C_Read... [13:24:35]Read from MH i2c: F0 09 00 [13:24:35]MH_I2C_Read... [13:24:35]Read from MH i2c: F0 09 00 14 01 00 13 DD 8F 66 AD 14 F4 65 0C [13:24:35]GetLastDocTimeStamp 1720703457 [13:24:35]current date 1720704275 [13:24:35]FM_GetShiftState [13:24:35]SAM_PROTO_GetShiftState [13:24:35]wFMCommunicate request_size=4 [13:24:35]MH_SAM_APDU [13:24:35]CAPDU: 80 13 01 00 [13:24:35]Write to MH i2c: E2 08 00 15 01 80 13 01 00 00 00 00 00 93 [13:24:35]Write i2c OK [13:24:35]MH_I2C_Read... [13:24:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:24:35]Read from MH i2c: E2 [13:24:35]MH_I2C_Read... [13:24:35]Read from MH i2c: E2 0E 00 [13:24:35]MH_I2C_Read... [13:24:35]Read from MH i2c: E2 0E 00 15 01 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 C4 [13:24:35]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [13:24:35]wFMCommunicate OK [13:24:35]SAM_PROTO_GetShiftState done [13:24:35]FM_GetShiftState done [13:24:35]opened in 1720656398 [13:24:35]opened+sec_in_day 1720742798 [13:24:35]quantity*price = 4000 [13:24:35]sum+1 = 4001 [13:24:35]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 40.00 НСП 1% : 0.35 НДС 12% : 4.25 Наличными: 40.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 28 11.07.2024 13:24 Смена: 432 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33273 ФПД: 190293552514117 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T132435&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33273&fm=190293552514117&tin=02508201610067®Number=0000000000093033&sum=4000 0 [13:24:36]StoreToDocumentArchive [13:24:36]shift 432 fd 33273 [13:24:36]save to /storage/0432/doc_00033273 [13:24:36]save last doc name /storage/0432/doc_00033273 to /storage/kkm_last_doc_name [13:24:36]save OK [13:24:36]Clear old archive folders... [13:24:36]ProcessDocumentItem done err = 0, tmpTLVsize=282 [13:24:36]tlvbuf is 01C8F790 [13:24:36]SAM_PROTO_ClearQueue [13:24:36]wFMCommunicate request_size=4 [13:24:36]MH_SAM_APDU [13:24:36]CAPDU: 80 09 00 00 [13:24:36]Write to MH i2c: E2 08 00 22 01 80 09 00 00 00 00 00 00 95 [13:24:36]Write i2c OK [13:24:36]MH_I2C_Read... [13:24:36]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:24:36]Read from MH i2c: E2 [13:24:36]MH_I2C_Read... [13:24:36]Read from MH i2c: E2 03 00 [13:24:36]MH_I2C_Read... [13:24:36]Read from MH i2c: E2 03 00 22 01 00 90 00 97 [13:24:36]RAPDU: 90 00 [13:24:36]wFMCommunicate OK [13:24:36]SAM_PROTO_ClearQueue done [13:24:36]KKMCreateOFDPacket [13:24:36]OFDProtocolAddRootSTLVToBuf [13:24:36]FM_MakeSignedData [13:24:36]FM_MakeSignedData [13:24:36]SAM_PROTO_SignData [13:24:36]wFMCommunicate request_size=4 [13:24:36]MH_SAM_APDU [13:24:36]CAPDU: 80 0D 01 02 [13:24:36]Write to MH i2c: E2 08 00 23 01 80 0D 01 02 00 00 00 00 9D [13:24:36]Write i2c OK [13:24:36]MH_I2C_Read... [13:24:36]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:24:36]Read from MH i2c: E2 [13:24:36]MH_I2C_Read... [13:24:36]Read from MH i2c: E2 03 00 [13:24:36]MH_I2C_Read... [13:24:36]Read from MH i2c: E2 03 00 23 01 00 90 00 98 [13:24:36]RAPDU: 90 00 [13:24:36]wFMCommunicate OK [13:24:36]wFMCommunicate request_size=255 [13:24:36]MH_SAM_APDU [13:24:36]CAPDU: 80 0D 02 02 FA 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 36 30 37 31 32 30 38 35 32 35 33 31 06 04 28 00 D0 9A D0 B8 D1 80 D0 B8 D0 B5 D1 88 D0 BA D0 B8 20 4C 69 67 68 74 20 38 30 20 D0 B3 20 D1 81 D0 BC 2D D0 B7 D0 B5 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 1C 00 00 00 F4 03 04 00 13 DD 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 [13:24:36]Write to MH i2c: E2 02 01 24 01 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 36 30 37 31 32 30 38 35 32 35 33 31 06 04 28 00 D0 9A D0 B8 D1 80 D0 B8 D0 B5 D1 88 D0 BA D0 B8 20 4C 69 67 68 74 20 38 30 20 D0 B3 20 D1 81 D0 BC 2D D0 B7 D0 B5 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 1C 00 00 00 F4 03 04 00 13 DD 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 00 00 8B [13:24:36]Write i2c OK [13:24:36]MH_I2C_Read... [13:24:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:24:36]Read from MH i2c: E2 [13:24:36]MH_I2C_Read... [13:24:36]Read from MH i2c: E2 03 00 [13:24:36]MH_I2C_Read... [13:24:36]Read from MH i2c: E2 03 00 24 01 00 90 00 99 [13:24:36]RAPDU: 90 00 [13:24:36]wFMCommunicate OK [13:24:36]wFMCommunicate request_size=41 [13:24:36]MH_SAM_APDU [13:24:36]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 F9 81 00 00 35 04 06 00 AD 12 2B 99 C4 45 [13:24:36]Write to MH i2c: E2 2C 00 25 01 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 F9 81 00 00 35 04 06 00 AD 12 2B 99 C4 45 00 00 6E [13:24:36]Write i2c OK [13:24:36]MH_I2C_Read... [13:24:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:24:36]Read from MH i2c: E2 [13:24:36]MH_I2C_Read... [13:24:36]Read from MH i2c: E2 03 00 [13:24:36]MH_I2C_Read... [13:24:36]Read from MH i2c: E2 03 00 25 01 00 90 00 9A [13:24:36]RAPDU: 90 00 [13:24:36]wFMCommunicate OK [13:24:36]wFMCommunicate request_size=4 [13:24:36]MH_SAM_APDU [13:24:36]CAPDU: 80 0D 03 02 [13:24:36]Write to MH i2c: E2 08 00 26 01 80 0D 03 02 00 00 00 00 A2 [13:24:36]Write i2c OK [13:24:36]MH_I2C_Read... [13:24:36]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:24:36]Read from MH i2c: E2 [13:24:36]MH_I2C_Read... [13:24:36]Read from MH i2c: E2 0B 00 [13:24:36]MH_I2C_Read... [13:24:36]Read from MH i2c: E2 0B 00 26 01 00 79 D1 68 79 FC 62 09 0C 90 00 41 [13:24:36]RAPDU: 79 D1 68 79 FC 62 09 0C 90 00 [13:24:36]wFMCommunicate OK [13:24:36]SAM_PROTO_SignData done [13:24:36]FM_MakeSignedData done [13:24:36]CreateOFDProtocolMessage [13:24:36]wFMCommunicate request_size=4 [13:24:36]MH_SAM_APDU [13:24:36]CAPDU: 80 11 00 00 [13:24:36]Write to MH i2c: E2 08 00 27 01 80 11 00 00 00 00 00 00 A2 [13:24:36]Write i2c OK [13:24:36]MH_I2C_Read... [13:24:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:24:36]Read from MH i2c: E2 [13:24:36]MH_I2C_Read... [13:24:36]Read from MH i2c: E2 17 00 [13:24:36]MH_I2C_Read... [13:24:36]Read from MH i2c: E2 17 00 27 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 EE [13:24:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [13:24:36]wFMCommunicate OK [13:24:36]CreateOFDProtocolMessage done [13:24:36]OFDSenderStorePacket 33273 [13:24:36]StoreOFDPacket docnum=33273 [13:24:36]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 2E 01 00 00 73 C1 26 01 E7 2C 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 36 30 37 31 32 30 38 35 32 35 33 31 06 04 28 00 D0 9A D0 B8 D1 80 D0 B8 D0 B5 D1 88 D0 BA D0 B8 20 4C 69 67 68 74 20 38 30 20 D0 B3 20 D1 81 D0 BC 2D D0 B7 D0 B5 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 1C 00 00 00 F4 03 04 00 13 DD 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 F9 81 00 00 35 04 06 00 AD 12 2B 99 C4 45 79 D1 68 79 FC 62 09 0C [13:24:36]CheckFolder [13:24:36]dirname=/storage/ofd_packets [13:24:36]CheckFolder done [13:24:36]ProducePacketName [13:24:36]name=ofd_packets/00033273 [13:24:36]NVStorageSaveData ofd_packets/00033273 [13:24:36]File name is /storage/ofd_packets/00033273 [13:24:36]Write 332 bytes [13:24:36]NVStorageSaveData done [13:24:36]OFDSenderStorePacket done [13:24:36]KKMCreateOFDPacket done [13:24:36]NVStorageSaveData kkm_last_timestamp [13:24:36]File name is /storage/kkm_last_timestamp [13:24:36]Write 4 bytes [13:24:36]NVStorageSaveData done [13:24:36]ExternCall_PrintAddStr [13:24:36]wPrintStart [13:24:36]Write to MH i2c: 01 00 00 28 01 29 [13:24:36]Write i2c OK [13:24:36]MH_I2C_Read... [13:24:36]Read from MH i2c: 01 [13:24:36]MH_I2C_Read... [13:24:36]Read from MH i2c: 01 07 00 [13:24:36]MH_I2C_Read... [13:24:36]Read from MH i2c: 01 07 00 28 01 00 00 00 00 00 FF 0F 3E [13:24:36]RasterBufferAndPrint [13:24:36]line Счет N : (3)169113 [13:24:36]line ИНН: 02508201610067 [13:24:36]line Контрольно-Кассовый Чек [13:24:36]line ПРОДАЖА [13:24:36]line Товар: 4607120852531 [13:24:36]line Кириешки Light 80 г см-зел [13:24:36]line 1.000 * 40.00 [13:24:36]line = 40.00 [13:24:36]line НДС 12% НСП 1% [13:24:36]line > о реализуемом товаре [13:24:36]line ИТОГО: 40.00 [13:24:36]line НСП 1% : 0.35 [13:24:36]line НДС 12% : 4.25 [13:24:36]line Наличными: 40.00 [13:24:36]line Безнал.: 0.00 [13:24:36]line Место: АЗС № 77 "Партнер Нефть" [13:24:36]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [13:24:36]line СНО: Общий режим [13:24:36]line Чек 28 11.07.2024 13:24 [13:24:36]line Смена: 432 ФФД: 1.0 [13:24:36]line ЗНМ: 0300000122 [13:24:36]line РНМ: 0000000000093033 [13:24:36]line Версия ККМ: 001 [13:24:36]line ФМ: 0000000000875104 [13:24:36]line ФД: 33273 [13:24:36]line ФПД: 190293552514117 [13:24:37]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T132435&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33273&fm=190293552514117&tin=02508201610067®Number=0000000000093033&sum=4000 [13:24:37]line 0 [13:24:37]OFD Sender: Processing packet 33273 [packets to send 6, broken 5] [13:24:37]ProducePacketName [13:24:37]name=ofd_packets/00033273 [13:24:37]OFD Sender: To server: pG, [13:24:37]CommunicateWithHost lk.salyk.kg:30040 [13:24:37]ConnectInit lk.salyk.kg [13:24:37]written 0, free lines is 4095 [13:24:37]Connected sock=10 [13:24:37]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 2E 01 00 00 73 C1 26 01 E7 2C 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 36 30 37 31 32 30 38 35 32 35 33 31 06 04 28 00 D0 9A D0 B8 D1 80 D0 B8 D0 B5 D1 88 D0 BA D0 B8 20 4C 69 67 68 74 20 38 30 20 D0 B3 20 D1 81 D0 BC 2D D0 B7 D0 B5 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 1C 00 00 00 F4 03 04 00 13 DD 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 F9 81 00 00 35 04 06 00 AD 12 2B 99 C4 45 79 D1 68 79 FC 62 09 0C [13:24:37]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 5E 80 47 00 BC 74 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 F9 81 00 00 F4 03 04 00 C3 87 8F 66 B6 04 01 00 00 9A 7A 0F 75 91 57 A3 8D [13:24:37]CommunicateWithHost err = 0 [13:24:37]CheckOFDResponse [13:24:37]1017 (14) - 77093643461234 [13:24:37]1041 (16) - 0000000000875104 [13:24:37]1040 (4) - 33273 [13:24:37]1012 (4) - 11.07.2024 07:20 [13:24:37]1206 (1) - 0 [13:24:37]OFD Sender: Remove packet 33273 [13:24:37]ProducePacketName [13:24:37]name=ofd_packets/00033273 [13:24:37]NVStorageDeleteData [13:24:37]Write to MH i2c: 01 00 00 50 01 51 [13:24:37]Write i2c OK [13:24:37]MH_I2C_Read... [13:24:37]Read from MH i2c: 01 [13:24:37]MH_I2C_Read... [13:24:37]Read from MH i2c: 01 07 00 [13:24:37]MH_I2C_Read... [13:24:37]Read from MH i2c: 01 07 00 50 01 00 00 00 00 00 F4 0C 58 [13:24:37]RasterBufferAndPrint [13:24:37]line [13:24:37]line [13:24:37]line [13:24:37]line [13:24:37]line [13:24:37]written 0, free lines is 3324 [13:24:37]MH_Cut [13:24:37]Write to MH i2c: D1 01 00 57 01 01 2A [13:24:37]Write i2c OK [13:24:37]MH_I2C_Read... [13:24:37]Read from MH i2c: D1 [13:24:37]MH_I2C_Read... [13:24:37]Read from MH i2c: D1 01 00 [13:24:37]MH_I2C_Read... [13:24:37]Read from MH i2c: D1 01 00 57 01 00 29 [13:24:37]Write to MH i2c: 01 00 00 58 01 59 [13:24:37]Write i2c OK [13:24:37]MH_I2C_Read... [13:24:38]OFD Sender: No OFD packet to send [13:24:38]*** Cut start [13:24:38]*** Partial cut [13:24:38]*** CUTSNS_PIN = 1 [13:24:38]*** CUTSNS_PIN = 0 [13:24:38]*** Brake cut motor [13:24:39]Read from MH i2c: 01 [13:24:39]MH_I2C_Read... [13:24:39]*** Stop cut motor [13:24:39]*** Cut end [13:24:39]Read from MH i2c: 01 07 00 [13:24:39]MH_I2C_Read... [13:24:39]Read from MH i2c: 01 07 00 58 01 00 00 00 00 00 FF 0F 6E [13:24:39]process_action close_receipt done [13:24:39]requested_data is exist [13:24:39]produce_requested_data [13:24:39]requested_item fm.sn is exist - process it [13:24:39]wFMCommunicate request_size=4 [13:24:39]MH_SAM_APDU [13:24:39]CAPDU: 80 11 00 00 [13:24:39]Write to MH i2c: E2 08 00 59 01 80 11 00 00 00 00 00 00 D4 [13:24:39]Write i2c OK [13:24:39]MH_I2C_Read... [13:24:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:24:39]Read from MH i2c: E2 [13:24:39]MH_I2C_Read... [13:24:39]Read from MH i2c: E2 17 00 [13:24:39]MH_I2C_Read... [13:24:39]Read from MH i2c: E2 17 00 59 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 20 [13:24:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [13:24:39]wFMCommunicate OK [13:24:39]requested_item fd.num is exist - process it [13:24:39]SAM_PROTO_GetFieldsCounters [13:24:39]wFMCommunicate request_size=4 [13:24:39]MH_SAM_APDU [13:24:39]CAPDU: 80 13 00 00 [13:24:39]Write to MH i2c: E2 08 00 5A 01 80 13 00 00 00 00 00 00 D7 [13:24:39]Write i2c OK [13:24:39]MH_I2C_Read... [13:24:39]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:24:39]Read from MH i2c: E2 [13:24:39]MH_I2C_Read... [13:24:39]Read from MH i2c: E2 62 00 [13:24:39]MH_I2C_Read... [13:24:39]Read from MH i2c: E2 62 00 5A 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 F9 81 00 00 0E 04 04 00 B0 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 69 [13:24: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 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 F9 81 00 00 0E 04 04 00 B0 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 [13:24:39]wFMCommunicate OK [13:24:39]SAM_PROTO_GetFieldsCounters done [13:24:39]requested_item shift.num is exist - process it [13:24:39]requested_item shift.opened is exist - process it [13:24:39]req_shift_opened [13:24:39]FM_GetShiftState [13:24:39]SAM_PROTO_GetShiftState [13:24:39]wFMCommunicate request_size=4 [13:24:39]MH_SAM_APDU [13:24:39]CAPDU: 80 13 01 00 [13:24:39]Write to MH i2c: E2 08 00 5B 01 80 13 01 00 00 00 00 00 D9 [13:24:39]Write i2c OK [13:24:39]MH_I2C_Read... [13:24:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:24:39]Read from MH i2c: E2 [13:24:39]MH_I2C_Read... [13:24:39]Read from MH i2c: E2 0E 00 [13:24:39]MH_I2C_Read... [13:24:39]Read from MH i2c: E2 0E 00 5B 01 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 0A [13:24:39]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [13:24:39]wFMCommunicate OK [13:24:39]SAM_PROTO_GetShiftState done [13:24:39]FM_GetShiftState done [13:24:39]req_shift_opened done [13:24:39]requested_item shift.open_date is exist - process it [13:24:39]req_shift_open_date [13:24:39]req_shift_open_date done [13:24:39]produce_requested_data done [13:24:39]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33273,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398} [13:24:39]process_action_free close_receipt [13:24:39]json_value_free [13:24:39]json_value_free done [13:24:39]process_json_proto returns [13:24:39]Send response to host [13:24:39]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33273,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398}}} [13:24:39]free response buf [13:24:39]execute_script done [13:24:39]execute_script returns [13:24:39]free content buf [13:24:39]Sock 9.Close socket [13:24:39]Sock 9.Thread stoped [13:24:43]OFD Sender: No OFD packet to send [13:24:48]OFD Sender: No OFD packet to send [13:24:53]OFD Sender: No OFD packet to send [13:24:58]OFD Sender: No OFD packet to send [13:25:03]OFD Sender: No OFD packet to send [13:25:08]OFD Sender: No OFD packet to send [13:25:13]OFD Sender: No OFD packet to send [13:25:18]OFD Sender: No OFD packet to send [13:25:23]OFD Sender: No OFD packet to send [13:25:28]OFD Sender: No OFD packet to send [13:25:33]OFD Sender: No OFD packet to send [13:25:38]OFD Sender: No OFD packet to send [13:25:43]OFD Sender: No OFD packet to send [13:25:48]OFD Sender: No OFD packet to send [13:25:53]OFD Sender: No OFD packet to send [13:25:58]OFD Sender: No OFD packet to send [13:26:03]OFD Sender: No OFD packet to send [13:26:08]OFD Sender: No OFD packet to send [13:26:13]OFD Sender: No OFD packet to send [13:26:18]OFD Sender: No OFD packet to send [13:26:23]OFD Sender: No OFD packet to send [13:26:28]OFD Sender: No OFD packet to send [13:26:33]OFD Sender: No OFD packet to send [13:26:38]OFD Sender: No OFD packet to send [13:26:43]OFD Sender: No OFD packet to send [13:26:48]OFD Sender: No OFD packet to send [13:26:53]OFD Sender: No OFD packet to send [13:26:58]OFD Sender: No OFD packet to send [13:27:03]OFD Sender: No OFD packet to send [13:27:08]OFD Sender: No OFD packet to send [13:27:13]OFD Sender: No OFD packet to send [13:27:18]OFD Sender: No OFD packet to send [13:27:23]OFD Sender: No OFD packet to send [13:27:28]OFD Sender: No OFD packet to send [13:27:33]OFD Sender: No OFD packet to send [13:27:38]OFD Sender: No OFD packet to send [13:27:43]OFD Sender: No OFD packet to send [13:27:48]OFD Sender: No OFD packet to send [13:27:53]OFD Sender: No OFD packet to send [13:27:58]OFD Sender: No OFD packet to send [13:28:03]OFD Sender: No OFD packet to send [13:28:08]OFD Sender: No OFD packet to send [13:28:13]OFD Sender: No OFD packet to send [13:28:18]OFD Sender: No OFD packet to send [13:28:23]OFD Sender: No OFD packet to send [13:28:28]OFD Sender: No OFD packet to send [13:28:33]OFD Sender: No OFD packet to send [13:28:38]OFD Sender: No OFD packet to send [13:28:43]OFD Sender: No OFD packet to send [13:28:48]OFD Sender: No OFD packet to send [13:28:53]OFD Sender: No OFD packet to send [13:28:58]OFD Sender: No OFD packet to send [13:29:03]OFD Sender: No OFD packet to send [13:29:08]OFD Sender: No OFD packet to send [13:29:13]OFD Sender: No OFD packet to send [13:29:18]OFD Sender: No OFD packet to send [13:29:23]OFD Sender: No OFD packet to send [13:29:28]OFD Sender: No OFD packet to send [13:29:33]OFD Sender: No OFD packet to send [13:29:38]OFD Sender: No OFD packet to send [13:29:43]OFD Sender: No OFD packet to send [13:29:48]OFD Sender: No OFD packet to send [13:29:53]OFD Sender: No OFD packet to send [13:29:58]OFD Sender: No OFD packet to send [13:30:03]OFD Sender: No OFD packet to send [13:30:08]OFD Sender: No OFD packet to send [13:30:13]OFD Sender: No OFD packet to send [13:30:18]OFD Sender: No OFD packet to send [13:30:23]OFD Sender: No OFD packet to send [13:30:28]OFD Sender: No OFD packet to send [13:30:33]OFD Sender: No OFD packet to send [13:30:38]accept exits with 7 [13:30:38]New connection [13:30:38]New thread 3066936676 created [13:30:38]Thread 3066793316 joined [13:30:38]Waiting for new connection... [13:30:38] Sock 7.Parse request [13:30:38]Sock 7.Check first char [13:30:38]Sock 7.First char is OK [13:30:38]request: POST /json_proto HTTP/1.0 [13:30:38]Method: POST [13:30:38]URL: /json_proto [13:30:38]Method is POST - this is cgi request [13:30:38]url: /json_proto [13:30:38]query_string will be loaded in cgi processing [13:30:38]execute_cgi json_proto POST (null) [13:30:38]execute_cgi path=json_proto method=POST [13:30:38]POST find Content-Length [13:30:38]Host: 172.17.35.196:8080 [13:30:38]Content-Length: 826 [13:30:38]Content-Type: application/json [13:30:38] [13:30:38]POST finish read [13:30:38]Found Content-Length = 826 [13:30:38]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169114", "tax_sys" : 0, "items" : [ { "code": "46230607", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Richmond Bronze Edition", "price" : 150.00, "quantity" : 1.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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 150.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:30:38]execute_script... [13:30:38]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169114", "tax_sys" : 0, "items" : [ { "code": "46230607", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Richmond Bronze Edition", "price" : 150.00, "quantity" : 1.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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 150.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:30:38]POST & json_proto [13:30:38]process_json_proto [13:30:38]json parsed OK: [13:30:38]protocol is kg_v1.0 [13:30:38]action value=close_receipt [13:30:38]process_action close_receipt [13:30:38]cmd_close_receipt [13:30:38]MH_GetDate [13:30:38]Write to MH i2c: F0 00 00 5C 01 4C [13:30:38]Write i2c OK [13:30:38]MH_I2C_Read... [13:30:38]Read from MH i2c: F0 [13:30:38]MH_I2C_Read... [13:30:38]Read from MH i2c: F0 09 00 [13:30:38]MH_I2C_Read... [13:30:38]Read from MH i2c: F0 09 00 5C 01 00 7E DE 8F 66 AD 14 F4 65 C0 [13:30:38]GetLastDocTimeStamp 1720704275 [13:30:38]current date 1720704638 [13:30:38]FM_GetShiftState [13:30:38]SAM_PROTO_GetShiftState [13:30:38]wFMCommunicate request_size=4 [13:30:38]MH_SAM_APDU [13:30:38]CAPDU: 80 13 01 00 [13:30:38]Write to MH i2c: E2 08 00 5D 01 80 13 01 00 00 00 00 00 DB [13:30:38]Write i2c OK [13:30:38]MH_I2C_Read... [13:30:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:30:38]Read from MH i2c: E2 [13:30:38]MH_I2C_Read... [13:30:38]Read from MH i2c: E2 0E 00 [13:30:38]MH_I2C_Read... [13:30:38]Read from MH i2c: E2 0E 00 5D 01 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 0C [13:30:38]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [13:30:38]wFMCommunicate OK [13:30:38]SAM_PROTO_GetShiftState done [13:30:38]FM_GetShiftState done [13:30:38]opened in 1720656398 [13:30:38]opened+sec_in_day 1720742798 [13:30:38]quantity*price = 15000 [13:30:38]sum+1 = 15001 [13:30:38]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 150.00 НСП 1% : 1.33 НДС 12% : 15.93 Наличными: 0.00 Безнал.: 150.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 29 11.07.2024 13:30 Смена: 432 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000875104 ФД: 33274 ФПД: 81866435488370 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T133038&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33274&fm=81866435488370&tin=02508201610067®Number=0000000000093033&sum=15000 0 [13:30:39]StoreToDocumentArchive [13:30:39]shift 432 fd 33274 [13:30:39]save to /storage/0432/doc_00033274 [13:30:39]save last doc name /storage/0432/doc_00033274 to /storage/kkm_last_doc_name [13:30:39]save OK [13:30:39]Clear old archive folders... [13:30:39]ProcessDocumentItem done err = 0, tmpTLVsize=277 [13:30:39]tlvbuf is 01C3D930 [13:30:39]SAM_PROTO_ClearQueue [13:30:39]wFMCommunicate request_size=4 [13:30:39]MH_SAM_APDU [13:30:39]CAPDU: 80 09 00 00 [13:30:39]Write to MH i2c: E2 08 00 6A 01 80 09 00 00 00 00 00 00 DD [13:30:39]Write i2c OK [13:30:39]MH_I2C_Read... [13:30:39]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:30:39]Read from MH i2c: E2 [13:30:39]MH_I2C_Read... [13:30:39]Read from MH i2c: E2 03 00 [13:30:39]MH_I2C_Read... [13:30:39]Read from MH i2c: E2 03 00 6A 01 00 90 00 DF [13:30:39]RAPDU: 90 00 [13:30:39]wFMCommunicate OK [13:30:39]SAM_PROTO_ClearQueue done [13:30:39]KKMCreateOFDPacket [13:30:39]OFDProtocolAddRootSTLVToBuf [13:30:39]FM_MakeSignedData [13:30:39]FM_MakeSignedData [13:30:39]SAM_PROTO_SignData [13:30:39]wFMCommunicate request_size=4 [13:30:39]MH_SAM_APDU [13:30:39]CAPDU: 80 0D 01 02 [13:30:39]Write to MH i2c: E2 08 00 6B 01 80 0D 01 02 00 00 00 00 E5 [13:30:39]Write i2c OK [13:30:39]MH_I2C_Read... [13:30:39]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:30:39]Read from MH i2c: E2 [13:30:39]MH_I2C_Read... [13:30:39]Read from MH i2c: E2 03 00 [13:30:39]MH_I2C_Read... [13:30:39]Read from MH i2c: E2 03 00 6B 01 00 90 00 E0 [13:30:39]RAPDU: 90 00 [13:30:39]wFMCommunicate OK [13:30:39]wFMCommunicate request_size=255 [13:30:39]MH_SAM_APDU [13:30:39]CAPDU: 80 0D 02 02 FA 03 00 15 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 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 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 1D 00 00 00 F4 03 04 00 7E DE 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 [13:30:39]Write to MH i2c: E2 02 01 6C 01 80 0D 02 02 FA 00 03 00 15 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 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 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 1D 00 00 00 F4 03 04 00 7E DE 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 00 00 E5 [13:30:39]Write i2c OK [13:30:39]MH_I2C_Read... [13:30:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:30:39]Read from MH i2c: E2 [13:30:39]MH_I2C_Read... [13:30:39]Read from MH i2c: E2 03 00 [13:30:39]MH_I2C_Read... [13:30:39]Read from MH i2c: E2 03 00 6C 01 00 90 00 E1 [13:30:39]RAPDU: 90 00 [13:30:39]wFMCommunicate OK [13:30:39]wFMCommunicate request_size=36 [13:30:39]MH_SAM_APDU [13:30:39]CAPDU: 80 0D 02 02 1F 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 FA 81 00 00 35 04 06 00 4A 75 03 CE 6A 72 [13:30:39]Write to MH i2c: E2 27 00 6D 01 80 0D 02 02 1F 00 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 FA 81 00 00 35 04 06 00 4A 75 03 CE 6A 72 00 00 ED [13:30:39]Write i2c OK [13:30:39]MH_I2C_Read... [13:30:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:30:39]Read from MH i2c: E2 [13:30:39]MH_I2C_Read... [13:30:39]Read from MH i2c: E2 03 00 [13:30:39]MH_I2C_Read... [13:30:39]Read from MH i2c: E2 03 00 6D 01 00 90 00 E2 [13:30:39]RAPDU: 90 00 [13:30:39]wFMCommunicate OK [13:30:39]wFMCommunicate request_size=4 [13:30:39]MH_SAM_APDU [13:30:39]CAPDU: 80 0D 03 02 [13:30:39]Write to MH i2c: E2 08 00 6E 01 80 0D 03 02 00 00 00 00 EA [13:30:39]Write i2c OK [13:30:39]MH_I2C_Read... [13:30:39]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:30:39]Read from MH i2c: E2 [13:30:39]MH_I2C_Read... [13:30:39]Read from MH i2c: E2 0B 00 [13:30:39]MH_I2C_Read... [13:30:39]Read from MH i2c: E2 0B 00 6E 01 00 20 52 6A ED C8 3A 72 9E 90 00 C6 [13:30:39]RAPDU: 20 52 6A ED C8 3A 72 9E 90 00 [13:30:39]wFMCommunicate OK [13:30:39]SAM_PROTO_SignData done [13:30:39]FM_MakeSignedData done [13:30:39]CreateOFDProtocolMessage [13:30:39]wFMCommunicate request_size=4 [13:30:39]MH_SAM_APDU [13:30:39]CAPDU: 80 11 00 00 [13:30:39]Write to MH i2c: E2 08 00 6F 01 80 11 00 00 00 00 00 00 EA [13:30:39]Write i2c OK [13:30:39]MH_I2C_Read... [13:30:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:30:40]Read from MH i2c: E2 [13:30:40]MH_I2C_Read... [13:30:40]Read from MH i2c: E2 17 00 [13:30:40]MH_I2C_Read... [13:30:40]Read from MH i2c: E2 17 00 6F 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 36 [13:30:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [13:30:40]wFMCommunicate OK [13:30:40]CreateOFDProtocolMessage done [13:30:40]OFDSenderStorePacket 33274 [13:30:40]StoreOFDPacket docnum=33274 [13:30:40]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 29 01 00 00 D9 3C 21 01 FC 4E 5A 03 01 00 03 00 15 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 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 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 1D 00 00 00 F4 03 04 00 7E DE 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 FA 81 00 00 35 04 06 00 4A 75 03 CE 6A 72 20 52 6A ED C8 3A 72 9E [13:30:40]CheckFolder [13:30:40]dirname=/storage/ofd_packets [13:30:40]CheckFolder done [13:30:40]ProducePacketName [13:30:40]name=ofd_packets/00033274 [13:30:40]NVStorageSaveData ofd_packets/00033274 [13:30:40]File name is /storage/ofd_packets/00033274 [13:30:40]Write 327 bytes [13:30:40]NVStorageSaveData done [13:30:40]OFDSenderStorePacket done [13:30:40]KKMCreateOFDPacket done [13:30:40]NVStorageSaveData kkm_last_timestamp [13:30:40]File name is /storage/kkm_last_timestamp [13:30:40]Write 4 bytes [13:30:40]NVStorageSaveData done [13:30:40]ExternCall_PrintAddStr [13:30:40]wPrintStart [13:30:40]Write to MH i2c: 01 00 00 70 01 71 [13:30:40]Write i2c OK [13:30:40]MH_I2C_Read... [13:30:40]Read from MH i2c: 01 [13:30:40]MH_I2C_Read... [13:30:40]Read from MH i2c: 01 07 00 [13:30:40]MH_I2C_Read... [13:30:40]Read from MH i2c: 01 07 00 70 01 00 00 00 00 00 FF 0F 86 [13:30:40]RasterBufferAndPrint [13:30:40]line Счет N : (3)169114 [13:30:40]line ИНН: 02508201610067 [13:30:40]line Контрольно-Кассовый Чек [13:30:40]line ПРОДАЖА [13:30:40]line Товар: 46230607 [13:30:40]line Сигареты Richmond Bronze Edition [13:30:40]line 1.000 * 150.00 [13:30:40]line = 150.00 [13:30:40]line НДС 12% НСП 1% [13:30:40]line > о реализуемом товаре [13:30:40]line ИТОГО: 150.00 [13:30:40]line НСП 1% : 1.33 [13:30:40]line НДС 12% : 15.93 [13:30:40]line Наличными: 0.00 [13:30:40]line Безнал.: 150.00 [13:30:40]line Место: АЗС № 77 "Партнер Нефть" [13:30:40]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [13:30:40]line СНО: Общий режим [13:30:40]line Чек 29 11.07.2024 13:30 [13:30:40]line Смена: 432 ФФД: 1.0 [13:30:40]line ЗНМ: 0300000122 [13:30:40]line РНМ: 0000000000093033 [13:30:40]line Версия ККМ: 001 [13:30:40]line Платежная система: АКБ Кыргызстан [13:30:40]line ФМ: 0000000000875104 [13:30:40]line ФД: 33274 [13:30:40]line ФПД: 81866435488370 [13:30:40]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T133038&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33274&fm=81866435488370&tin=02508201610067®Number=0000000000093033&sum=15000 [13:30:40]OFD Sender: Processing packet 33274 [packets to send 6, broken 5] [13:30:40]ProducePacketName [13:30:40]name=ofd_packets/00033274 [13:30:40]OFD Sender: To server: pG, [13:30:40]CommunicateWithHost lk.salyk.kg:30040 [13:30:40]ConnectInit lk.salyk.kg [13:30:40]line 0 [13:30:40]written 0, free lines is 4095 [13:30:40]Write to MH i2c: 01 00 00 9B 01 9C [13:30:40]Write i2c OK [13:30:40]MH_I2C_Read... [13:30:40]Read from MH i2c: 01 [13:30:40]MH_I2C_Read... [13:30:40]Read from MH i2c: 01 07 00 [13:30:40]MH_I2C_Read... [13:30:40]Read from MH i2c: 01 07 00 9B 01 00 00 00 00 00 B9 0C 68 [13:30:40]RasterBufferAndPrint [13:30:40]line [13:30:40]line [13:30:40]line [13:30:40]line [13:30:40]line [13:30:40]written 0, free lines is 3264 [13:30:40]MH_Cut [13:30:40]Write to MH i2c: D1 01 00 A2 01 01 75 [13:30:40]Write i2c OK [13:30:40]MH_I2C_Read... [13:30:40]Read from MH i2c: D1 [13:30:40]MH_I2C_Read... [13:30:40]Read from MH i2c: D1 01 00 [13:30:40]MH_I2C_Read... [13:30:40]Read from MH i2c: D1 01 00 A2 01 00 74 [13:30:40]Write to MH i2c: 01 00 00 A3 01 A4 [13:30:40]Write i2c OK [13:30:40]MH_I2C_Read... [13:30:41]*** Cut start [13:30:41]*** Partial cut [13:30:41]*** CUTSNS_PIN = 1 [13:30:41]*** CUTSNS_PIN = 0 [13:30:41]*** Brake cut motor [13:30:42]Read from MH i2c: 01 [13:30:42]MH_I2C_Read... [13:30:42]*** Stop cut motor [13:30:42]*** Cut end [13:30:42]Read from MH i2c: 01 07 00 [13:30:42]MH_I2C_Read... [13:30:42]Read from MH i2c: 01 07 00 A3 01 00 00 00 00 00 FF 0F B9 [13:30:42]process_action close_receipt done [13:30:42]requested_data is exist [13:30:42]produce_requested_data [13:30:42]requested_item fm.sn is exist - process it [13:30:42]wFMCommunicate request_size=4 [13:30:42]MH_SAM_APDU [13:30:42]CAPDU: 80 11 00 00 [13:30:42]Write to MH i2c: E2 08 00 A4 01 80 11 00 00 00 00 00 00 1F [13:30:42]Write i2c OK [13:30:42]MH_I2C_Read... [13:30:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:30:42]Read from MH i2c: E2 [13:30:42]MH_I2C_Read... [13:30:42]Read from MH i2c: E2 17 00 [13:30:42]MH_I2C_Read... [13:30:42]Read from MH i2c: E2 17 00 A4 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 6B [13:30:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [13:30:42]wFMCommunicate OK [13:30:42]requested_item fd.num is exist - process it [13:30:42]SAM_PROTO_GetFieldsCounters [13:30:42]wFMCommunicate request_size=4 [13:30:42]MH_SAM_APDU [13:30:42]CAPDU: 80 13 00 00 [13:30:42]Write to MH i2c: E2 08 00 A5 01 80 13 00 00 00 00 00 00 22 [13:30:42]Write i2c OK [13:30:42]MH_I2C_Read... [13:30:42]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:30:42]Read from MH i2c: E2 [13:30:42]MH_I2C_Read... [13:30:42]Read from MH i2c: E2 62 00 [13:30:42]MH_I2C_Read... [13:30:42]Read from MH i2c: E2 62 00 A5 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 FA 81 00 00 0E 04 04 00 B0 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 B8 [13:30: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 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 FA 81 00 00 0E 04 04 00 B0 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 [13:30:42]wFMCommunicate OK [13:30:42]SAM_PROTO_GetFieldsCounters done [13:30:42]requested_item shift.num is exist - process it [13:30:42]requested_item shift.opened is exist - process it [13:30:42]req_shift_opened [13:30:42]FM_GetShiftState [13:30:42]SAM_PROTO_GetShiftState [13:30:42]wFMCommunicate request_size=4 [13:30:42]MH_SAM_APDU [13:30:42]CAPDU: 80 13 01 00 [13:30:42]Write to MH i2c: E2 08 00 A6 01 80 13 01 00 00 00 00 00 24 [13:30:42]Write i2c OK [13:30:42]MH_I2C_Read... [13:30:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:30:42]Read from MH i2c: E2 [13:30:42]MH_I2C_Read... [13:30:42]Read from MH i2c: E2 0E 00 [13:30:42]MH_I2C_Read... [13:30:42]Read from MH i2c: E2 0E 00 A6 01 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 55 [13:30:42]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [13:30:42]wFMCommunicate OK [13:30:42]SAM_PROTO_GetShiftState done [13:30:42]FM_GetShiftState done [13:30:42]req_shift_opened done [13:30:42]requested_item shift.open_date is exist - process it [13:30:42]req_shift_open_date [13:30:42]req_shift_open_date done [13:30:42]produce_requested_data done [13:30:42]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33274,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398} [13:30:42]process_action_free close_receipt [13:30:42]json_value_free [13:30:42]json_value_free done [13:30:42]process_json_proto returns [13:30:42]Send response to host [13:30:42]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33274,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398}}} [13:30:42]free response buf [13:30:42]execute_script done [13:30:42]execute_script returns [13:30:42]free content buf [13:30:42]Sock 7.Close socket [13:30:42]Sock 7.Thread stoped [13:32:53]ConnectInit Can't connect to host [13:32:53]CommunicateWithHost connect error [13:32:53]CommunicateWithHost err = -1 [13:32:53]OFD Sender: Server communicate error [13:32:58]OFD Sender: Processing packet 33274 [packets to send 6, broken 5] [13:32:58]ProducePacketName [13:32:58]name=ofd_packets/00033274 [13:32:58]OFD Sender: To server: pG, [13:32:58]CommunicateWithHost lk.salyk.kg:30040 [13:32:58]ConnectInit lk.salyk.kg [13:32:59]Connected sock=7 [13:32:59]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 29 01 00 00 D9 3C 21 01 FC 4E 5A 03 01 00 03 00 15 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 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 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 1D 00 00 00 F4 03 04 00 7E DE 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 FA 81 00 00 35 04 06 00 4A 75 03 CE 6A 72 20 52 6A ED C8 3A 72 9E [13:32:59]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 CA 4E 47 00 C2 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 35 31 30 34 10 04 04 00 FA 81 00 00 F4 03 04 00 B9 89 8F 66 B6 04 01 00 00 38 18 B1 2D 39 03 80 8A [13:32:59]CommunicateWithHost err = 0 [13:32:59]CheckOFDResponse [13:32:59]1017 (14) - 77093643461234 [13:32:59]1041 (16) - 0000000000875104 [13:32:59]1040 (4) - 33274 [13:32:59]1012 (4) - 11.07.2024 07:28 [13:32:59]1206 (1) - 0 [13:32:59]OFD Sender: Remove packet 33274 [13:32:59]ProducePacketName [13:32:59]name=ofd_packets/00033274 [13:32:59]NVStorageDeleteData [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:04]OFD Sender: No OFD packet to send [13:34:09]OFD Sender: No OFD packet to send [13:34:14]OFD Sender: No OFD packet to send [13:34:19]OFD Sender: No OFD packet to send [13:34:24]OFD Sender: No OFD packet to send [13:34:29]OFD Sender: No OFD packet to send [13:34:34]OFD Sender: No OFD packet to send [13:34:39]OFD Sender: No OFD packet to send [13:34:44]OFD Sender: No OFD packet to send [13:34:49]OFD Sender: No OFD packet to send [13:34:54]OFD Sender: No OFD packet to send [13:34:59]OFD Sender: No OFD packet to send [13:35:04]OFD Sender: No OFD packet to send [13:35:09]OFD Sender: No OFD packet to send [13:35:14]OFD Sender: No OFD packet to send [13:35:19]OFD Sender: No OFD packet to send [13:35:24]OFD Sender: No OFD packet to send [13:35:29]OFD Sender: No OFD packet to send [13:35:34]OFD Sender: No OFD packet to send [13:35:39]OFD Sender: No OFD packet to send [13:35:44]OFD Sender: No OFD packet to send [13:35:49]OFD Sender: No OFD packet to send [13:35:54]OFD Sender: No OFD packet to send [13:35:59]OFD Sender: No OFD packet to send [13:36:04]OFD Sender: No OFD packet to send [13:36:09]OFD Sender: No OFD packet to send [13:36:14]OFD Sender: No OFD packet to send [13:36:19]OFD Sender: No OFD packet to send [13:36:24]OFD Sender: No OFD packet to send [13:36:29]OFD Sender: No OFD packet to send [13:36:34]OFD Sender: No OFD packet to send [13:36:39]OFD Sender: No OFD packet to send [13:36:44]OFD Sender: No OFD packet to send [13:36:49]OFD Sender: No OFD packet to send [13:36:54]OFD Sender: No OFD packet to send [13:36:59]OFD Sender: No OFD packet to send [13:37:04]OFD Sender: No OFD packet to send [13:37:09]OFD Sender: No OFD packet to send [13:37:14]OFD Sender: No OFD packet to send [13:37:19]OFD Sender: No OFD packet to send [13:37:24]OFD Sender: No OFD packet to send [13:37:29]OFD Sender: No OFD packet to send [13:37:35]OFD Sender: No OFD packet to send [13:37:40]OFD Sender: No OFD packet to send [13:37:45]OFD Sender: No OFD packet to send [13:37:50]OFD Sender: No OFD packet to send [13:37:55]OFD Sender: No OFD packet to send [13:38:00]OFD Sender: No OFD packet to send [13:38:05]OFD Sender: No OFD packet to send [13:38:10]OFD Sender: No OFD packet to send [13:38:15]OFD Sender: No OFD packet to send [13:38:20]OFD Sender: No OFD packet to send [13:38:25]OFD Sender: No OFD packet to send [13:38:30]OFD Sender: No OFD packet to send [13:38:35]OFD Sender: No OFD packet to send [13:38:40]OFD Sender: No OFD packet to send [13:38:45]OFD Sender: No OFD packet to send [13:38:50]OFD Sender: No OFD packet to send [13:38:55]OFD Sender: No OFD packet to send [13:39:00]OFD Sender: No OFD packet to send [13:39:05]OFD Sender: No OFD packet to send [13:39:10]OFD Sender: No OFD packet to send [13:39:15]OFD Sender: No OFD packet to send [13:39:20]OFD Sender: No OFD packet to send [13:39:25]OFD Sender: No OFD packet to send [13:39:30]OFD Sender: No OFD packet to send [13:39:35]OFD Sender: No OFD packet to send [13:39:40]OFD Sender: No OFD packet to send [13:39:45]OFD Sender: No OFD packet to send [13:39:50]OFD Sender: No OFD packet to send [13:39:55]OFD Sender: No OFD packet to send [13:40:00]OFD Sender: No OFD packet to send [13:40:05]OFD Sender: No OFD packet to send [13:40:10]OFD Sender: No OFD packet to send [13:40:15]OFD Sender: No OFD packet to send [13:40:20]OFD Sender: No OFD packet to send [13:40:25]OFD Sender: No OFD packet to send [13:40:30]OFD Sender: No OFD packet to send [13:40:35]OFD Sender: No OFD packet to send [13:40:40]OFD Sender: No OFD packet to send [13:40:45]OFD Sender: No OFD packet to send [13:40:50]OFD Sender: No OFD packet to send [13:40:55]OFD Sender: No OFD packet to send [13:41:00]OFD Sender: No OFD packet to send [13:41:05]OFD Sender: No OFD packet to send [13:41:10]OFD Sender: No OFD packet to send [13:41:15]OFD Sender: No OFD packet to send [13:41:20]OFD Sender: No OFD packet to send [13:41:25]OFD Sender: No OFD packet to send [13:41:30]OFD Sender: No OFD packet to send [13:41:35]OFD Sender: No OFD packet to send [13:41:40]OFD Sender: No OFD packet to send [13:41:45]OFD Sender: No OFD packet to send [13:41:50]OFD Sender: No OFD packet to send [13:41:55]OFD Sender: No OFD packet to send [13:42:00]OFD Sender: No OFD packet to send [13:42:05]OFD Sender: No OFD packet to send [13:42:10]OFD Sender: No OFD packet to send [13:42:15]OFD Sender: No OFD packet to send [13:42:20]OFD Sender: No OFD packet to send [13:42:25]OFD Sender: No OFD packet to send [13:42:30]OFD Sender: No OFD packet to send [13:42:35]OFD Sender: No OFD packet to send [13:42:40]OFD Sender: No OFD packet to send [13:42:45]OFD Sender: No OFD packet to send [13:42:50]OFD Sender: No OFD packet to send [13:42:55]OFD Sender: No OFD packet to send [13:43:00]OFD Sender: No OFD packet to send [13:43:05]OFD Sender: No OFD packet to send [13:43:10]OFD Sender: No OFD packet to send [13:43:15]OFD Sender: No OFD packet to send [13:43:20]OFD Sender: No OFD packet to send [13:43:25]OFD Sender: No OFD packet to send [13:43:30]OFD Sender: No OFD packet to send [13:43:35]OFD Sender: No OFD packet to send [13:43:40]OFD Sender: No OFD packet to send [13:43:45]OFD Sender: No OFD packet to send [13:43:50]OFD Sender: No OFD packet to send [13:43:55]OFD Sender: No OFD packet to send [13:44:00]OFD Sender: No OFD packet to send [13:44:05]OFD Sender: No OFD packet to send [13:44:10]OFD Sender: No OFD packet to send [13:44:15]OFD Sender: No OFD packet to send [13:44:20]OFD Sender: No OFD packet to send [13:44:25]OFD Sender: No OFD packet to send [13:44:30]OFD Sender: No OFD packet to send [13:44:35]OFD Sender: No OFD packet to send [13:44:40]OFD Sender: No OFD packet to send [13:44:45]OFD Sender: No OFD packet to send [13:44:50]OFD Sender: No OFD packet to send [13:44:55]OFD Sender: No OFD packet to send [13:45:00]OFD Sender: No OFD packet to send [13:45:05]OFD Sender: No OFD packet to send [13:45:10]OFD Sender: No OFD packet to send [13:45:15]OFD Sender: No OFD packet to send [13:45:20]OFD Sender: No OFD packet to send [13:45:25]OFD Sender: No OFD packet to send [13:45:30]OFD Sender: No OFD packet to send [13:45:35]OFD Sender: No OFD packet to send [13:45:40]OFD Sender: No OFD packet to send [13:45:45]OFD Sender: No OFD packet to send [13:45:50]OFD Sender: No OFD packet to send [13:45:55]OFD Sender: No OFD packet to send [13:46:00]OFD Sender: No OFD packet to send [13:46:05]OFD Sender: No OFD packet to send [13:46:10]OFD Sender: No OFD packet to send [13:46:15]OFD Sender: No OFD packet to send [13:46:20]OFD Sender: No OFD packet to send [13:46:25]OFD Sender: No OFD packet to send [13:46:30]OFD Sender: No OFD packet to send [13:46:35]OFD Sender: No OFD packet to send [13:46:40]OFD Sender: No OFD packet to send [13:46:45]OFD Sender: No OFD packet to send [13:46:50]OFD Sender: No OFD packet to send [13:46:55]OFD Sender: No OFD packet to send [13:47:00]OFD Sender: No OFD packet to send [13:47:05]OFD Sender: No OFD packet to send [13:47:10]OFD Sender: No OFD packet to send [13:47:15]OFD Sender: No OFD packet to send [13:47:20]OFD Sender: No OFD packet to send [13:47:25]OFD Sender: No OFD packet to send [13:47:30]OFD Sender: No OFD packet to send [13:47:35]OFD Sender: No OFD packet to send [13:47:40]OFD Sender: No OFD packet to send [13:47:45]OFD Sender: No OFD packet to send [13:47:50]OFD Sender: No OFD packet to send [13:47:55]OFD Sender: No OFD packet to send [13:48:00]OFD Sender: No OFD packet to send [13:48:05]OFD Sender: No OFD packet to send [13:48:10]OFD Sender: No OFD packet to send [13:48:15]OFD Sender: No OFD packet to send [13:48:20]OFD Sender: No OFD packet to send [13:48:25]OFD Sender: No OFD packet to send [13:48:30]OFD Sender: No OFD packet to send [13:48:35]OFD Sender: No OFD packet to send [13:48:40]OFD Sender: No OFD packet to send [13:48:45]OFD Sender: No OFD packet to send [13:48:50]OFD Sender: No OFD packet to send [13:48:55]OFD Sender: No OFD packet to send [13:49:00]OFD Sender: No OFD packet to send [13:49:05]OFD Sender: No OFD packet to send [13:49:10]OFD Sender: No OFD packet to send [13:49:15]OFD Sender: No OFD packet to send [13:49:20]OFD Sender: No OFD packet to send [13:49:25]OFD Sender: No OFD packet to send [13:49:30]OFD Sender: No OFD packet to send [13:49:35]OFD Sender: No OFD packet to send [13:49:40]OFD Sender: No OFD packet to send [13:49:45]OFD Sender: No OFD packet to send [13:49:50]OFD Sender: No OFD packet to send [13:49:55]OFD Sender: No OFD packet to send [13:50:00]OFD Sender: No OFD packet to send [13:50:05]OFD Sender: No OFD packet to send [13:50:10]OFD Sender: No OFD packet to send [13:50:15]OFD Sender: No OFD packet to send [13:50:20]OFD Sender: No OFD packet to send [13:50:25]OFD Sender: No OFD packet to send [13:50:30]OFD Sender: No OFD packet to send [13:50:35]OFD Sender: No OFD packet to send [13:50:40]OFD Sender: No OFD packet to send [13:50:45]OFD Sender: No OFD packet to send [13:50:50]OFD Sender: No OFD packet to send [13:50:55]OFD Sender: No OFD packet to send [13:51:00]OFD Sender: No OFD packet to send [13:51:05]OFD Sender: No OFD packet to send [13:51:10]OFD Sender: No OFD packet to send [13:51:15]OFD Sender: No OFD packet to send [13:51:20]OFD Sender: No OFD packet to send [13:51:25]OFD Sender: No OFD packet to send [13:51:30]OFD Sender: No OFD packet to send [13:51:35]OFD Sender: No OFD packet to send [13:51:40]OFD Sender: No OFD packet to send [13:51:45]OFD Sender: No OFD packet to send [13:51:50]OFD Sender: No OFD packet to send [13:51:55]OFD Sender: No OFD packet to send [13:52:00]OFD Sender: No OFD packet to send [13:52:05]OFD Sender: No OFD packet to send [13:52:10]OFD Sender: No OFD packet to send [13:52:15]OFD Sender: No OFD packet to send [13:52:20]OFD Sender: No OFD packet to send [13:52:25]OFD Sender: No OFD packet to send [13:52:30]OFD Sender: No OFD packet to send [13:52:35]OFD Sender: No OFD packet to send [13:52:40]OFD Sender: No OFD packet to send [13:52:45]OFD Sender: No OFD packet to send [13:52:50]OFD Sender: No OFD packet to send [13:52:55]OFD Sender: No OFD packet to send [13:53:00]OFD Sender: No OFD packet to send [13:53:05]OFD Sender: No OFD packet to send [13:53:10]OFD Sender: No OFD packet to send [13:53:15]OFD Sender: No OFD packet to send [13:53:20]OFD Sender: No OFD packet to send [13:53:25]OFD Sender: No OFD packet to send [13:53:30]OFD Sender: No OFD packet to send [13:53:35]OFD Sender: No OFD packet to send [13:53:40]OFD Sender: No OFD packet to send [13:53:45]OFD Sender: No OFD packet to send [13:53:50]OFD Sender: No OFD packet to send [13:53:55]OFD Sender: No OFD packet to send [13:54:00]OFD Sender: No OFD packet to send [13:54:05]OFD Sender: No OFD packet to send [13:54:10]OFD Sender: No OFD packet to send [13:54:15]OFD Sender: No OFD packet to send [13:54:20]OFD Sender: No OFD packet to send [13:54:25]OFD Sender: No OFD packet to send [13:54:30]OFD Sender: No OFD packet to send [13:54:35]OFD Sender: No OFD packet to send [13:54:40]OFD Sender: No OFD packet to send [13:54:45]OFD Sender: No OFD packet to send [13:54:50]OFD Sender: No OFD packet to send [13:54:55]OFD Sender: No OFD packet to send [13:55:00]OFD Sender: No OFD packet to send [13:55:05]OFD Sender: No OFD packet to send [13:55:10]OFD Sender: No OFD packet to send [13:55:15]OFD Sender: No OFD packet to send [13:55:20]OFD Sender: No OFD packet to send [13:55:25]OFD Sender: No OFD packet to send [13:55:30]OFD Sender: No OFD packet to send [13:55:35]OFD Sender: No OFD packet to send [13:55:40]OFD Sender: No OFD packet to send [13:55:45]OFD Sender: No OFD packet to send [13:55:50]OFD Sender: No OFD packet to send [13:55:55]OFD Sender: No OFD packet to send [13:56:00]OFD Sender: No OFD packet to send [13:56:05]OFD Sender: No OFD packet to send [13:56:10]OFD Sender: No OFD packet to send [13:56:15]OFD Sender: No OFD packet to send [13:56:20]OFD Sender: No OFD packet to send [13:56:25]OFD Sender: No OFD packet to send [13:56:30]OFD Sender: No OFD packet to send [13:56:35]OFD Sender: No OFD packet to send [13:56:40]OFD Sender: No OFD packet to send [13:56:45]OFD Sender: No OFD packet to send [13:56:50]OFD Sender: No OFD packet to send [13:56:55]OFD Sender: No OFD packet to send [13:57:00]OFD Sender: No OFD packet to send [13:57:05]OFD Sender: No OFD packet to send [13:57:10]OFD Sender: No OFD packet to send [13:57:15]OFD Sender: No OFD packet to send [13:57:20]OFD Sender: No OFD packet to send [13:57:25]OFD Sender: No OFD packet to send [13:57:30]OFD Sender: No OFD packet to send [13:57:35]OFD Sender: No OFD packet to send [13:57:40]OFD Sender: No OFD packet to send [13:57:45]OFD Sender: No OFD packet to send [13:57:50]OFD Sender: No OFD packet to send [13:57:55]OFD Sender: No OFD packet to send [13:58:00]OFD Sender: No OFD packet to send [13:58:05]OFD Sender: No OFD packet to send [13:58:10]OFD Sender: No OFD packet to send [13:58:15]OFD Sender: No OFD packet to send [13:58:20]OFD Sender: No OFD packet to send [13:58:25]OFD Sender: No OFD packet to send [13:58:30]OFD Sender: No OFD packet to send [13:58:35]OFD Sender: No OFD packet to send [13:58:40]OFD Sender: No OFD packet to send [13:58:45]OFD Sender: No OFD packet to send [13:58:50]OFD Sender: No OFD packet to send [13:58:55]OFD Sender: No OFD packet to send [13:59:00]OFD Sender: No OFD packet to send [13:59:05]OFD Sender: No OFD packet to send [13:59:10]OFD Sender: No OFD packet to send [13:59:16]OFD Sender: No OFD packet to send [13:59:21]OFD Sender: No OFD packet to send [13:59:26]OFD Sender: No OFD packet to send [13:59:31]OFD Sender: No OFD packet to send [13:59:36]OFD Sender: No OFD packet to send [13:59:41]OFD Sender: No OFD packet to send [13:59:46]OFD Sender: No OFD packet to send [13:59:51]OFD Sender: No OFD packet to send [13:59:56]OFD Sender: No OFD packet to send [14:00:01]OFD Sender: No OFD packet to send [14:00:06]OFD Sender: No OFD packet to send [14:00:11]OFD Sender: No OFD packet to send [14:00:16]OFD Sender: No OFD packet to send [14:00:21]OFD Sender: No OFD packet to send [14:00:26]OFD Sender: No OFD packet to send [14:00:31]OFD Sender: No OFD packet to send [14:00:36]OFD Sender: No OFD packet to send [14:00:41]OFD Sender: No OFD packet to send [14:00:46]OFD Sender: No OFD packet to send [14:00:51]OFD Sender: No OFD packet to send [14:00:56]OFD Sender: No OFD packet to send [14:01:01]OFD Sender: No OFD packet to send [14:01:06]OFD Sender: No OFD packet to send [14:01:11]OFD Sender: No OFD packet to send [14:01:16]OFD Sender: No OFD packet to send [14:01:21]OFD Sender: No OFD packet to send [14:01:26]OFD Sender: No OFD packet to send [14:01:31]OFD Sender: No OFD packet to send [14:01:36]OFD Sender: No OFD packet to send [14:01:41]OFD Sender: No OFD packet to send [14:01:46]OFD Sender: No OFD packet to send [14:01:51]OFD Sender: No OFD packet to send [14:01:56]OFD Sender: No OFD packet to send [14:02:01]OFD Sender: No OFD packet to send [14:02:06]OFD Sender: No OFD packet to send [14:02:11]OFD Sender: No OFD packet to send [14:02:16]OFD Sender: No OFD packet to send [14:02:21]OFD Sender: No OFD packet to send [14:02:26]OFD Sender: No OFD packet to send [14:02:31]OFD Sender: No OFD packet to send [14:02:36]OFD Sender: No OFD packet to send [14:02:41]OFD Sender: No OFD packet to send [14:02:46]OFD Sender: No OFD packet to send [14:02:51]OFD Sender: No OFD packet to send [14:02:56]OFD Sender: No OFD packet to send [14:03:01]OFD Sender: No OFD packet to send [14:03:06]OFD Sender: No OFD packet to send [14:03:11]OFD Sender: No OFD packet to send [14:03:16]OFD Sender: No OFD packet to send [14:03:21]OFD Sender: No OFD packet to send [14:03:26]OFD Sender: No OFD packet to send [14:03:31]OFD Sender: No OFD packet to send [14:03:36]OFD Sender: No OFD packet to send [14:03:41]OFD Sender: No OFD packet to send [14:03:46]OFD Sender: No OFD packet to send [14:03:51]OFD Sender: No OFD packet to send [14:03:56]OFD Sender: No OFD packet to send [14:04:01]OFD Sender: No OFD packet to send [14:04:06]OFD Sender: No OFD packet to send [14:04:11]OFD Sender: No OFD packet to send [14:04:16]OFD Sender: No OFD packet to send [14:04:21]OFD Sender: No OFD packet to send [14:04:26]OFD Sender: No OFD packet to send [14:04:31]OFD Sender: No OFD packet to send [14:04:36]OFD Sender: No OFD packet to send [14:04:41]OFD Sender: No OFD packet to send [14:04:46]OFD Sender: No OFD packet to send [14:04:51]OFD Sender: No OFD packet to send [14:04:56]OFD Sender: No OFD packet to send [14:05:01]OFD Sender: No OFD packet to send [14:05:06]OFD Sender: No OFD packet to send [14:05:11]OFD Sender: No OFD packet to send [14:05:16]OFD Sender: No OFD packet to send [14:05:21]OFD Sender: No OFD packet to send [14:05:26]OFD Sender: No OFD packet to send [14:05:31]OFD Sender: No OFD packet to send [14:05:36]OFD Sender: No OFD packet to send [14:05:41]OFD Sender: No OFD packet to send [14:05:46]OFD Sender: No OFD packet to send [14:05:51]OFD Sender: No OFD packet to send [14:05:56]OFD Sender: No OFD packet to send [14:06:01]OFD Sender: No OFD packet to send [14:06:06]OFD Sender: No OFD packet to send [14:06:11]OFD Sender: No OFD packet to send [14:06:16]OFD Sender: No OFD packet to send [14:06:21]OFD Sender: No OFD packet to send [14:06:26]OFD Sender: No OFD packet to send [14:06:31]OFD Sender: No OFD packet to send [14:06:36]OFD Sender: No OFD packet to send [14:06:41]OFD Sender: No OFD packet to send [14:06:46]OFD Sender: No OFD packet to send [14:06:51]OFD Sender: No OFD packet to send [14:06:56]OFD Sender: No OFD packet to send [14:07:01]OFD Sender: No OFD packet to send [14:07:06]OFD Sender: No OFD packet to send [14:07:11]OFD Sender: No OFD packet to send [14:07:16]OFD Sender: No OFD packet to send [14:07:21]OFD Sender: No OFD packet to send [14:07:26]OFD Sender: No OFD packet to send [14:07:31]OFD Sender: No OFD packet to send [14:07:36]OFD Sender: No OFD packet to send [14:07:41]OFD Sender: No OFD packet to send [14:07:46]OFD Sender: No OFD packet to send [14:07:51]OFD Sender: No OFD packet to send [14:07:56]OFD Sender: No OFD packet to send [14:08:01]OFD Sender: No OFD packet to send [14:08:06]OFD Sender: No OFD packet to send [14:08:11]OFD Sender: No OFD packet to send [14:08:16]OFD Sender: No OFD packet to send [14:08:21]OFD Sender: No OFD packet to send [14:08:26]OFD Sender: No OFD packet to send [14:08:31]OFD Sender: No OFD packet to send [14:08:36]OFD Sender: No OFD packet to send [14:08:41]OFD Sender: No OFD packet to send [14:08:46]OFD Sender: No OFD packet to send [14:08:51]OFD Sender: No OFD packet to send [14:08:56]OFD Sender: No OFD packet to send [14:09:01]OFD Sender: No OFD packet to send [14:09:06]OFD Sender: No OFD packet to send [14:09:11]OFD Sender: No OFD packet to send [14:09:16]OFD Sender: No OFD packet to send [14:09:21]OFD Sender: No OFD packet to send [14:09:26]OFD Sender: No OFD packet to send [14:09:31]OFD Sender: No OFD packet to send [14:09:36]OFD Sender: No OFD packet to send [14:09:41]OFD Sender: No OFD packet to send [14:09:46]OFD Sender: No OFD packet to send [14:09:51]OFD Sender: No OFD packet to send [14:09:56]OFD Sender: No OFD packet to send [14:10:01]OFD Sender: No OFD packet to send [14:10:06]OFD Sender: No OFD packet to send [14:10:11]OFD Sender: No OFD packet to send [14:10:16]OFD Sender: No OFD packet to send [14:10:21]OFD Sender: No OFD packet to send [14:10:26]OFD Sender: No OFD packet to send [14:10:31]OFD Sender: No OFD packet to send [14:10:36]OFD Sender: No OFD packet to send [14:10:41]OFD Sender: No OFD packet to send [14:10:46]OFD Sender: No OFD packet to send [14:10:51]OFD Sender: No OFD packet to send [14:10:56]OFD Sender: No OFD packet to send [14:11:01]OFD Sender: No OFD packet to send [14:11:06]OFD Sender: No OFD packet to send [14:11:11]OFD Sender: No OFD packet to send [14:11:16]OFD Sender: No OFD packet to send [14:11:21]OFD Sender: No OFD packet to send [14:11:26]OFD Sender: No OFD packet to send [14:11:26]accept exits with 9 [14:11:26]New connection [14:11:26]New thread 3066793316 created [14:11:26]Thread 3066936676 joined [14:11:26]Waiting for new connection... [14:11:26] Sock 9.Parse request [14:11:26]Sock 9.Check first char [14:11:26]Sock 9.First char is OK [14:11:26]request: POST /json_proto HTTP/1.0 [14:11:26]Method: POST [14:11:26]URL: /json_proto [14:11:26]Method is POST - this is cgi request [14:11:26]url: /json_proto [14:11:26]query_string will be loaded in cgi processing [14:11:26]execute_cgi json_proto POST (null) [14:11:26]execute_cgi path=json_proto method=POST [14:11:26]POST find Content-Length [14:11:26]Host: 172.17.35.196:8080 [14:11:26]Content-Length: 678 [14:11:26]Content-Type: application/json [14:11:26] [14:11:26]POST finish read [14:11:26]Found Content-Length = 678 [14:11:26]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)5669651", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 23", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.30, "quantity" : 7.550, "sum" : 500.57, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:11:26]execute_script... [14:11:26]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)5669651", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 23", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.30, "quantity" : 7.550, "sum" : 500.57, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:11:26]POST & json_proto [14:11:26]process_json_proto [14:11:26]json parsed OK: [14:11:26]protocol is kg_v1.0 [14:11:26]action value=close_receipt [14:11:26]process_action close_receipt [14:11:26]cmd_close_receipt [14:11:26]MH_GetDate [14:11:26]Write to MH i2c: F0 00 00 A7 01 97 [14:11:26]Write i2c OK [14:11:26]MH_I2C_Read... [14:11:26]Read from MH i2c: F0 [14:11:26]MH_I2C_Read... [14:11:26]Read from MH i2c: F0 09 00 [14:11:26]MH_I2C_Read... [14:11:26]Read from MH i2c: F0 09 00 A7 01 00 0F E8 8F 66 AD 14 F4 65 A6 [14:11:26]GetLastDocTimeStamp 1720704638 [14:11:26]current date 1720707087 [14:11:26]FM_GetShiftState [14:11:26]SAM_PROTO_GetShiftState [14:11:26]wFMCommunicate request_size=4 [14:11:26]MH_SAM_APDU [14:11:26]CAPDU: 80 13 01 00 [14:11:26]Write to MH i2c: E2 08 00 A8 01 80 13 01 00 00 00 00 00 26 [14:11:26]Write i2c OK [14:11:26]MH_I2C_Read... [14:11:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:11:26]Read from MH i2c: E2 [14:11:26]MH_I2C_Read... [14:11:26]Read from MH i2c: E2 0E 00 [14:11:26]MH_I2C_Read... [14:11:26]Read from MH i2c: E2 0E 00 A8 01 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 57 [14:11:26]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [14:11:26]wFMCommunicate OK [14:11:26]SAM_PROTO_GetShiftState done [14:11:26]FM_GetShiftState done [14:11:26]opened in 1720656398 [14:11:26]opened+sec_in_day 1720742798 [14:11:26]quantity*price = 50056 [14:11:26]sum+1 = 50058 [14:11:26]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.57 ИТОГО: 500.00 Внесено: 500.00 СДАЧА: 0.00 НСП 1% : 4.43 НДС 12% : 53.16 Наличными: 500.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 30 11.07.2024 14:11 Смена: 432 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33275 ФПД: 125226453608691 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T141127&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33275&fm=125226453608691&tin=02508201610067®Number=0000000000093033&sum=50000 [14:11:27]StoreToDocumentArchive [14:11:27]shift 432 fd 33275 [14:11:27]save to /storage/0432/doc_00033275 [14:11:27]save last doc name /storage/0432/doc_00033275 to /storage/kkm_last_doc_name [14:11:27]save OK [14:11:27]Clear old archive folders... [14:11:27]ProcessDocumentItem done err = 0, tmpTLVsize=251 [14:11:27]tlvbuf is 01C892F0 [14:11:27]SAM_PROTO_ClearQueue [14:11:27]wFMCommunicate request_size=4 [14:11:27]MH_SAM_APDU [14:11:27]CAPDU: 80 09 00 00 [14:11:27]Write to MH i2c: E2 08 00 B5 01 80 09 00 00 00 00 00 00 28 [14:11:27]Write i2c OK [14:11:27]MH_I2C_Read... [14:11:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:11:27]Read from MH i2c: E2 [14:11:27]MH_I2C_Read... [14:11:27]Read from MH i2c: E2 03 00 [14:11:27]MH_I2C_Read... [14:11:27]Read from MH i2c: E2 03 00 B5 01 00 90 00 2A [14:11:27]RAPDU: 90 00 [14:11:27]wFMCommunicate OK [14:11:27]SAM_PROTO_ClearQueue done [14:11:27]KKMCreateOFDPacket [14:11:27]OFDProtocolAddRootSTLVToBuf [14:11:27]FM_MakeSignedData [14:11:27]FM_MakeSignedData [14:11:27]SAM_PROTO_SignData [14:11:27]wFMCommunicate request_size=4 [14:11:27]MH_SAM_APDU [14:11:27]CAPDU: 80 0D 01 02 [14:11:27]Write to MH i2c: E2 08 00 B6 01 80 0D 01 02 00 00 00 00 30 [14:11:27]Write i2c OK [14:11:27]MH_I2C_Read... [14:11:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:11:27]Read from MH i2c: E2 [14:11:27]MH_I2C_Read... [14:11:27]Read from MH i2c: E2 03 00 [14:11:27]MH_I2C_Read... [14:11:27]Read from MH i2c: E2 03 00 B6 01 00 90 00 2B [14:11:27]RAPDU: 90 00 [14:11:27]wFMCommunicate OK [14:11:27]wFMCommunicate request_size=255 [14:11:27]MH_SAM_APDU [14:11:27]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 7E 1D 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 89 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 14 00 00 00 00 07 04 06 00 50 C3 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 0F E8 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 FB 81 00 00 35 04 06 00 71 [14:11:27]Write to MH i2c: E2 02 01 B7 01 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 7E 1D 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 89 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 14 00 00 00 00 07 04 06 00 50 C3 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 0F E8 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 FB 81 00 00 35 04 06 00 71 00 00 74 [14:11:27]Write i2c OK [14:11:27]MH_I2C_Read... [14:11:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:11:28]Read from MH i2c: E2 [14:11:28]MH_I2C_Read... [14:11:28]Read from MH i2c: E2 03 00 [14:11:28]MH_I2C_Read... [14:11:28]Read from MH i2c: E2 03 00 B7 01 00 90 00 2C [14:11:28]RAPDU: 90 00 [14:11:28]wFMCommunicate OK [14:11:28]wFMCommunicate request_size=10 [14:11:28]MH_SAM_APDU [14:11:28]CAPDU: 80 0D 02 02 05 E4 8E 48 A8 F3 [14:11:28]Write to MH i2c: E2 0D 00 B8 01 80 0D 02 02 05 00 E4 8E 48 A8 F3 00 00 92 [14:11:28]Write i2c OK [14:11:28]MH_I2C_Read... [14:11:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:11:28]Read from MH i2c: E2 [14:11:28]MH_I2C_Read... [14:11:28]Read from MH i2c: E2 03 00 [14:11:28]MH_I2C_Read... [14:11:28]Read from MH i2c: E2 03 00 B8 01 00 90 00 2D [14:11:28]RAPDU: 90 00 [14:11:28]wFMCommunicate OK [14:11:28]wFMCommunicate request_size=4 [14:11:28]MH_SAM_APDU [14:11:28]CAPDU: 80 0D 03 02 [14:11:28]Write to MH i2c: E2 08 00 B9 01 80 0D 03 02 00 00 00 00 35 [14:11:28]Write i2c OK [14:11:28]MH_I2C_Read... [14:11:28]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:11:28]Read from MH i2c: E2 [14:11:28]MH_I2C_Read... [14:11:28]Read from MH i2c: E2 0B 00 [14:11:28]MH_I2C_Read... [14:11:28]Read from MH i2c: E2 0B 00 B9 01 00 56 58 64 02 A9 34 A3 A6 90 00 70 [14:11:28]RAPDU: 56 58 64 02 A9 34 A3 A6 90 00 [14:11:28]wFMCommunicate OK [14:11:28]SAM_PROTO_SignData done [14:11:28]FM_MakeSignedData done [14:11:28]CreateOFDProtocolMessage [14:11:28]wFMCommunicate request_size=4 [14:11:28]MH_SAM_APDU [14:11:28]CAPDU: 80 11 00 00 [14:11:28]Write to MH i2c: E2 08 00 BA 01 80 11 00 00 00 00 00 00 35 [14:11:28]Write i2c OK [14:11:28]MH_I2C_Read... [14:11:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:11:28]Read from MH i2c: E2 [14:11:28]MH_I2C_Read... [14:11:28]Read from MH i2c: E2 17 00 [14:11:28]MH_I2C_Read... [14:11:28]Read from MH i2c: E2 17 00 BA 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 81 [14:11:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [14:11:28]wFMCommunicate OK [14:11:28]CreateOFDProtocolMessage done [14:11:28]OFDSenderStorePacket 33275 [14:11:28]StoreOFDPacket docnum=33275 [14:11:28]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0F 01 00 00 5F FC 07 01 29 9E 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 7E 1D 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 89 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 14 00 00 00 00 07 04 06 00 50 C3 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 0F E8 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 FB 81 00 00 35 04 06 00 71 E4 8E 48 A8 F3 56 58 64 02 A9 34 A3 A6 [14:11:28]CheckFolder [14:11:28]dirname=/storage/ofd_packets [14:11:28]CheckFolder done [14:11:28]ProducePacketName [14:11:28]name=ofd_packets/00033275 [14:11:28]NVStorageSaveData ofd_packets/00033275 [14:11:28]File name is /storage/ofd_packets/00033275 [14:11:28]Write 301 bytes [14:11:28]NVStorageSaveData done [14:11:28]OFDSenderStorePacket done [14:11:28]KKMCreateOFDPacket done [14:11:28]NVStorageSaveData kkm_last_timestamp [14:11:28]File name is /storage/kkm_last_timestamp [14:11:28]Write 4 bytes [14:11:28]NVStorageSaveData done [14:11:28]ExternCall_PrintAddStr [14:11:28]wPrintStart [14:11:28]Write to MH i2c: 01 00 00 BB 01 BC [14:11:28]Write i2c OK [14:11:28]MH_I2C_Read... [14:11:28]Read from MH i2c: 01 [14:11:28]MH_I2C_Read... [14:11:28]Read from MH i2c: 01 07 00 [14:11:28]MH_I2C_Read... [14:11:28]Read from MH i2c: 01 07 00 BB 01 00 00 00 00 00 FF 0F D1 [14:11:28]RasterBufferAndPrint [14:11:28]line Счет N : (1)5669651 [14:11:28]line ИНН: 02508201610067 [14:11:28]line Контрольно-Кассовый Чек [14:11:28]line ПРОДАЖА [14:11:28]line ТРК (МРК, ГНК) : 23 [14:11:28]line Товар: 2710124130 [14:11:28]line Аи-92-К-5 [14:11:28]line 7.550 * 66.30 [14:11:28]line = 500.57 [14:11:28]line НДС 12% НСП 1% [14:11:28]line > о реализуемом товаре [14:11:28]line ОКРУГЛЕНИЕ: -0.57 [14:11:28]line ИТОГО: 500.00 [14:11:28]line Внесено: 500.00 [14:11:28]line СДАЧА: 0.00 [14:11:28]line НСП 1% : 4.43 [14:11:28]line НДС 12% : 53.16 [14:11:28]line Наличными: 500.00 [14:11:28]line Безнал.: 0.00 [14:11:28]line Место: АЗС № 77 "Партнер Нефть" [14:11:28]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [14:11:28]line СНО: Общий режим [14:11:28]line Чек 30 11.07.2024 14:11 [14:11:28]line Смена: 432 ФФД: 1.0 [14:11:28]line ЗНМ: 0300000122 [14:11:28]line РНМ: 0000000000093033 [14:11:28]line Версия ККМ: 001 [14:11:28]line ФМ: 0000000000875104 [14:11:28]line ФД: 33275 [14:11:28]line ФПД: 125226453608691 [14:11:28]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T141127&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33275&fm=125226453608691&tin=02508201610067®Number=0000000000093033&sum=50000 [14:11:28]written 0, free lines is 4095 [14:11:28]OFD Sender: Processing packet 33275 [packets to send 6, broken 5] [14:11:28]ProducePacketName [14:11:28]name=ofd_packets/00033275 [14:11:28]OFD Sender: To server: pG, [14:11:28]CommunicateWithHost lk.salyk.kg:30040 [14:11:28]ConnectInit lk.salyk.kg [14:11:28]Connected sock=10 [14:11:28]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0F 01 00 00 5F FC 07 01 29 9E 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 7E 1D 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 89 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 14 00 00 00 00 07 04 06 00 50 C3 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 0F E8 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 FB 81 00 00 35 04 06 00 71 E4 8E 48 A8 F3 56 58 64 02 A9 34 A3 A6 [14:11:29]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 6F 1E 47 00 1A 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 35 31 30 34 10 04 04 00 FB 81 00 00 F4 03 04 00 BF 92 8F 66 B6 04 01 00 00 2B 16 94 F1 6A 82 D0 F4 [14:11:29]CommunicateWithHost err = 0 [14:11:29]CheckOFDResponse [14:11:29]1017 (14) - 77093643461234 [14:11:29]1041 (16) - 0000000000875104 [14:11:29]1040 (4) - 33275 [14:11:29]1012 (4) - 11.07.2024 08:07 [14:11:29]1206 (1) - 0 [14:11:29]OFD Sender: Remove packet 33275 [14:11:29]ProducePacketName [14:11:29]name=ofd_packets/00033275 [14:11:29]NVStorageDeleteData [14:11:29]Write to MH i2c: 01 00 00 E6 01 E7 [14:11:29]Write i2c OK [14:11:29]MH_I2C_Read... [14:11:29]Read from MH i2c: 01 [14:11:29]MH_I2C_Read... [14:11:29]Read from MH i2c: 01 07 00 [14:11:29]MH_I2C_Read... [14:11:29]Read from MH i2c: 01 07 00 E6 01 00 00 00 00 00 DC 0C D6 [14:11:29]RasterBufferAndPrint [14:11:29]line [14:11:29]line [14:11:29]line [14:11:29]line [14:11:29]line [14:11:29]written 0, free lines is 3298 [14:11:29]MH_Cut [14:11:29]Write to MH i2c: D1 01 00 ED 01 01 C0 [14:11:29]Write i2c OK [14:11:29]MH_I2C_Read... [14:11:29]Read from MH i2c: D1 [14:11:29]MH_I2C_Read... [14:11:29]Read from MH i2c: D1 01 00 [14:11:29]MH_I2C_Read... [14:11:29]Read from MH i2c: D1 01 00 ED 01 00 BF [14:11:29]Write to MH i2c: 01 00 00 EE 01 EF [14:11:29]Write i2c OK [14:11:29]MH_I2C_Read... [14:11:29]OFD Sender: No OFD packet to send [14:11:29]*** Cut start [14:11:29]*** Partial cut [14:11:29]*** CUTSNS_PIN = 1 [14:11:29]*** CUTSNS_PIN = 0 [14:11:30]*** Brake cut motor [14:11:30]Read from MH i2c: 01 [14:11:30]MH_I2C_Read... [14:11:30]*** Stop cut motor [14:11:30]*** Cut end [14:11:30]Read from MH i2c: 01 07 00 [14:11:30]MH_I2C_Read... [14:11:30]Read from MH i2c: 01 07 00 EE 01 00 00 00 00 00 FF 0F 04 [14:11:30]process_action close_receipt done [14:11:30]requested_data is exist [14:11:30]produce_requested_data [14:11:30]requested_item fm.sn is exist - process it [14:11:30]wFMCommunicate request_size=4 [14:11:30]MH_SAM_APDU [14:11:30]CAPDU: 80 11 00 00 [14:11:30]Write to MH i2c: E2 08 00 EF 01 80 11 00 00 00 00 00 00 6A [14:11:30]Write i2c OK [14:11:30]MH_I2C_Read... [14:11:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:11:30]Read from MH i2c: E2 [14:11:30]MH_I2C_Read... [14:11:30]Read from MH i2c: E2 17 00 [14:11:30]MH_I2C_Read... [14:11:30]Read from MH i2c: E2 17 00 EF 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 B6 [14:11:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [14:11:30]wFMCommunicate OK [14:11:30]requested_item fd.num is exist - process it [14:11:30]SAM_PROTO_GetFieldsCounters [14:11:30]wFMCommunicate request_size=4 [14:11:30]MH_SAM_APDU [14:11:30]CAPDU: 80 13 00 00 [14:11:30]Write to MH i2c: E2 08 00 F0 01 80 13 00 00 00 00 00 00 6D [14:11:30]Write i2c OK [14:11:30]MH_I2C_Read... [14:11:30]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:11:30]Read from MH i2c: E2 [14:11:30]MH_I2C_Read... [14:11:30]Read from MH i2c: E2 62 00 [14:11:30]MH_I2C_Read... [14:11:30]Read from MH i2c: E2 62 00 F0 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 FB 81 00 00 0E 04 04 00 B0 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 07 [14:11:30]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 FB 81 00 00 0E 04 04 00 B0 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 [14:11:30]wFMCommunicate OK [14:11:30]SAM_PROTO_GetFieldsCounters done [14:11:30]requested_item shift.num is exist - process it [14:11:30]requested_item shift.opened is exist - process it [14:11:30]req_shift_opened [14:11:30]FM_GetShiftState [14:11:30]SAM_PROTO_GetShiftState [14:11:30]wFMCommunicate request_size=4 [14:11:30]MH_SAM_APDU [14:11:30]CAPDU: 80 13 01 00 [14:11:30]Write to MH i2c: E2 08 00 F1 01 80 13 01 00 00 00 00 00 6F [14:11:30]Write i2c OK [14:11:30]MH_I2C_Read... [14:11:30]Read from MH i2c: E2 [14:11:30]MH_I2C_Read... [14:11:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:11:30]Read from MH i2c: E2 0E 00 [14:11:30]MH_I2C_Read... [14:11:30]Read from MH i2c: E2 0E 00 F1 01 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 A0 [14:11:30]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [14:11:30]wFMCommunicate OK [14:11:30]SAM_PROTO_GetShiftState done [14:11:30]FM_GetShiftState done [14:11:30]req_shift_opened done [14:11:30]requested_item shift.open_date is exist - process it [14:11:30]req_shift_open_date [14:11:30]req_shift_open_date done [14:11:30]produce_requested_data done [14:11:30]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33275,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398} [14:11:30]process_action_free close_receipt [14:11:30]json_value_free [14:11:30]json_value_free done [14:11:30]process_json_proto returns [14:11:30]Send response to host [14:11:30]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33275,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398}}} [14:11:30]free response buf [14:11:30]execute_script done [14:11:30]execute_script returns [14:11:30]free content buf [14:11:30]Sock 9.Close socket [14:11:30]Sock 9.Thread stoped [14:11:34]OFD Sender: No OFD packet to send [14:11:39]OFD Sender: No OFD packet to send [14:11:44]OFD Sender: No OFD packet to send [14:11:49]OFD Sender: No OFD packet to send [14:11:54]OFD Sender: No OFD packet to send [14:11:59]OFD Sender: No OFD packet to send [14:12:04]OFD Sender: No OFD packet to send [14:12:09]OFD Sender: No OFD packet to send [14:12:14]OFD Sender: No OFD packet to send [14:12:19]OFD Sender: No OFD packet to send [14:12:24]OFD Sender: No OFD packet to send [14:12:29]OFD Sender: No OFD packet to send [14:12:34]OFD Sender: No OFD packet to send [14:12:39]OFD Sender: No OFD packet to send [14:12:44]OFD Sender: No OFD packet to send [14:12:49]OFD Sender: No OFD packet to send [14:12:54]OFD Sender: No OFD packet to send [14:12:59]OFD Sender: No OFD packet to send [14:13:04]OFD Sender: No OFD packet to send [14:13:09]OFD Sender: No OFD packet to send [14:13:14]OFD Sender: No OFD packet to send [14:13:19]OFD Sender: No OFD packet to send [14:13:24]OFD Sender: No OFD packet to send [14:13:29]OFD Sender: No OFD packet to send [14:13:34]OFD Sender: No OFD packet to send [14:13:39]OFD Sender: No OFD packet to send [14:13:44]OFD Sender: No OFD packet to send [14:13:49]OFD Sender: No OFD packet to send [14:13:54]OFD Sender: No OFD packet to send [14:13:59]OFD Sender: No OFD packet to send [14:13:59]accept exits with 7 [14:13:59]New connection [14:13:59]New thread 3066936676 created [14:13:59]Thread 3066793316 joined [14:13:59]Waiting for new connection... [14:13:59] Sock 7.Parse request [14:13:59]Sock 7.Check first char [14:13:59]Sock 7.First char is OK [14:13:59]request: POST /json_proto HTTP/1.0 [14:13:59]Method: POST [14:13:59]URL: /json_proto [14:13:59]Method is POST - this is cgi request [14:13:59]url: /json_proto [14:13:59]query_string will be loaded in cgi processing [14:13:59]execute_cgi json_proto POST (null) [14:13:59]execute_cgi path=json_proto method=POST [14:13:59]POST find Content-Length [14:13:59]Host: 172.17.35.196:8080 [14:13:59]Content-Length: 678 [14:13:59]Content-Type: application/json [14:13:59] [14:13:59]POST finish read [14:13:59]Found Content-Length = 678 [14:13:59]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)5669653", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 13", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.30, "quantity" : 7.550, "sum" : 500.57, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:13:59]execute_script... [14:13:59]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)5669653", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 13", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.30, "quantity" : 7.550, "sum" : 500.57, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:13:59]POST & json_proto [14:13:59]process_json_proto [14:13:59]json parsed OK: [14:13:59]protocol is kg_v1.0 [14:13:59]action value=close_receipt [14:13:59]process_action close_receipt [14:13:59]cmd_close_receipt [14:13:59]MH_GetDate [14:13:59]Write to MH i2c: F0 00 00 F2 01 E2 [14:13:59]Write i2c OK [14:13:59]MH_I2C_Read... [14:13:59]Read from MH i2c: F0 [14:13:59]MH_I2C_Read... [14:13:59]Read from MH i2c: F0 09 00 [14:13:59]MH_I2C_Read... [14:13:59]Read from MH i2c: F0 09 00 F2 01 00 A8 E8 8F 66 AD 14 F4 65 8A [14:13:59]GetLastDocTimeStamp 1720707087 [14:13:59]current date 1720707240 [14:13:59]FM_GetShiftState [14:13:59]SAM_PROTO_GetShiftState [14:13:59]wFMCommunicate request_size=4 [14:13:59]MH_SAM_APDU [14:13:59]CAPDU: 80 13 01 00 [14:13:59]Write to MH i2c: E2 08 00 F3 01 80 13 01 00 00 00 00 00 71 [14:13:59]Write i2c OK [14:13:59]MH_I2C_Read... [14:13:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:13:59]Read from MH i2c: E2 [14:13:59]MH_I2C_Read... [14:13:59]Read from MH i2c: E2 0E 00 [14:13:59]MH_I2C_Read... [14:13:59]Read from MH i2c: E2 0E 00 F3 01 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 A2 [14:13:59]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [14:13:59]wFMCommunicate OK [14:13:59]SAM_PROTO_GetShiftState done [14:13:59]FM_GetShiftState done [14:13:59]opened in 1720656398 [14:13:59]opened+sec_in_day 1720742798 [14:13:59]quantity*price = 50056 [14:13:59]sum+1 = 50058 [14:13:59]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.57 ИТОГО: 500.00 Внесено: 500.00 СДАЧА: 0.00 НСП 1% : 4.43 НДС 12% : 53.16 Наличными: 500.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 31 11.07.2024 14:14 Смена: 432 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33276 ФПД: 63020808683604 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T141400&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33276&fm=63020808683604&tin=02508201610067®Number=0000000000093033&sum=50000 [14:14:00]StoreToDocumentArchive [14:14:00]shift 432 fd 33276 [14:14:00]save to /storage/0432/doc_00033276 [14:14:00]save last doc name /storage/0432/doc_00033276 to /storage/kkm_last_doc_name [14:14:00]save OK [14:14:00]Clear old archive folders... [14:14:00]ProcessDocumentItem done err = 0, tmpTLVsize=251 [14:14:00]tlvbuf is 01C3D200 [14:14:00]SAM_PROTO_ClearQueue [14:14:00]wFMCommunicate request_size=4 [14:14:00]MH_SAM_APDU [14:14:00]CAPDU: 80 09 00 00 [14:14:00]Write to MH i2c: E2 08 00 00 02 80 09 00 00 00 00 00 00 74 [14:14:00]Write i2c OK [14:14:00]MH_I2C_Read... [14:14:01]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:14:01]Read from MH i2c: E2 [14:14:01]MH_I2C_Read... [14:14:01]Read from MH i2c: E2 03 00 [14:14:01]MH_I2C_Read... [14:14:01]Read from MH i2c: E2 03 00 00 02 00 90 00 76 [14:14:01]RAPDU: 90 00 [14:14:01]wFMCommunicate OK [14:14:01]SAM_PROTO_ClearQueue done [14:14:01]KKMCreateOFDPacket [14:14:01]OFDProtocolAddRootSTLVToBuf [14:14:01]FM_MakeSignedData [14:14:01]FM_MakeSignedData [14:14:01]SAM_PROTO_SignData [14:14:01]wFMCommunicate request_size=4 [14:14:01]MH_SAM_APDU [14:14:01]CAPDU: 80 0D 01 02 [14:14:01]Write to MH i2c: E2 08 00 01 02 80 0D 01 02 00 00 00 00 7C [14:14:01]Write i2c OK [14:14:01]MH_I2C_Read... [14:14:01]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:14:01]Read from MH i2c: E2 [14:14:01]MH_I2C_Read... [14:14:01]Read from MH i2c: E2 03 00 [14:14:01]MH_I2C_Read... [14:14:01]Read from MH i2c: E2 03 00 01 02 00 90 00 77 [14:14:01]RAPDU: 90 00 [14:14:01]wFMCommunicate OK [14:14:01]wFMCommunicate request_size=255 [14:14:01]MH_SAM_APDU [14:14:01]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 7E 1D 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 89 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 14 00 00 00 00 07 04 06 00 50 C3 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 A8 E8 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 FC 81 00 00 35 04 06 00 39 [14:14:01]Write to MH i2c: E2 02 01 02 02 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 7E 1D 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 89 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 14 00 00 00 00 07 04 06 00 50 C3 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 A8 E8 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 FC 81 00 00 35 04 06 00 39 00 00 23 [14:14:01]Write i2c OK [14:14:01]MH_I2C_Read... [14:14:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:14:01]Read from MH i2c: E2 [14:14:01]MH_I2C_Read... [14:14:01]Read from MH i2c: E2 03 00 [14:14:01]MH_I2C_Read... [14:14:01]Read from MH i2c: E2 03 00 02 02 00 90 00 78 [14:14:01]RAPDU: 90 00 [14:14:01]wFMCommunicate OK [14:14:01]wFMCommunicate request_size=10 [14:14:01]MH_SAM_APDU [14:14:01]CAPDU: 80 0D 02 02 05 51 2C EA 40 54 [14:14:01]Write to MH i2c: E2 0D 00 03 02 80 0D 02 02 05 00 51 2C EA 40 54 00 00 84 [14:14:01]Write i2c OK [14:14:01]MH_I2C_Read... [14:14:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:14:01]Read from MH i2c: E2 [14:14:01]MH_I2C_Read... [14:14:01]Read from MH i2c: E2 03 00 [14:14:01]MH_I2C_Read... [14:14:01]Read from MH i2c: E2 03 00 03 02 00 90 00 79 [14:14:01]RAPDU: 90 00 [14:14:01]wFMCommunicate OK [14:14:01]wFMCommunicate request_size=4 [14:14:01]MH_SAM_APDU [14:14:01]CAPDU: 80 0D 03 02 [14:14:01]Write to MH i2c: E2 08 00 04 02 80 0D 03 02 00 00 00 00 81 [14:14:01]Write i2c OK [14:14:01]MH_I2C_Read... [14:14:01]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:14:01]Read from MH i2c: E2 [14:14:01]MH_I2C_Read... [14:14:01]Read from MH i2c: E2 0B 00 [14:14:01]MH_I2C_Read... [14:14:01]Read from MH i2c: E2 0B 00 04 02 00 86 16 D9 65 D7 0C 80 D3 90 00 92 [14:14:01]RAPDU: 86 16 D9 65 D7 0C 80 D3 90 00 [14:14:01]wFMCommunicate OK [14:14:01]SAM_PROTO_SignData done [14:14:01]FM_MakeSignedData done [14:14:01]CreateOFDProtocolMessage [14:14:01]wFMCommunicate request_size=4 [14:14:01]MH_SAM_APDU [14:14:01]CAPDU: 80 11 00 00 [14:14:01]Write to MH i2c: E2 08 00 05 02 80 11 00 00 00 00 00 00 81 [14:14:01]Write i2c OK [14:14:01]MH_I2C_Read... [14:14:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:14:01]Read from MH i2c: E2 [14:14:01]MH_I2C_Read... [14:14:01]Read from MH i2c: E2 17 00 [14:14:01]MH_I2C_Read... [14:14:01]Read from MH i2c: E2 17 00 05 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 CD [14:14:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [14:14:01]wFMCommunicate OK [14:14:01]CreateOFDProtocolMessage done [14:14:01]OFDSenderStorePacket 33276 [14:14:01]StoreOFDPacket docnum=33276 [14:14:01]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0F 01 00 00 B2 F9 07 01 6E 80 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 7E 1D 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 89 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 14 00 00 00 00 07 04 06 00 50 C3 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 A8 E8 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 FC 81 00 00 35 04 06 00 39 51 2C EA 40 54 86 16 D9 65 D7 0C 80 D3 [14:14:01]CheckFolder [14:14:01]dirname=/storage/ofd_packets [14:14:01]CheckFolder done [14:14:01]ProducePacketName [14:14:01]name=ofd_packets/00033276 [14:14:01]NVStorageSaveData ofd_packets/00033276 [14:14:01]File name is /storage/ofd_packets/00033276 [14:14:01]Write 301 bytes [14:14:01]NVStorageSaveData done [14:14:01]OFDSenderStorePacket done [14:14:01]KKMCreateOFDPacket done [14:14:01]NVStorageSaveData kkm_last_timestamp [14:14:01]File name is /storage/kkm_last_timestamp [14:14:01]Write 4 bytes [14:14:01]NVStorageSaveData done [14:14:01]ExternCall_PrintAddStr [14:14:01]wPrintStart [14:14:01]Write to MH i2c: 01 00 00 06 02 08 [14:14:01]Write i2c OK [14:14:01]MH_I2C_Read... [14:14:01]Read from MH i2c: 01 [14:14:01]MH_I2C_Read... [14:14:01]Read from MH i2c: 01 07 00 [14:14:01]MH_I2C_Read... [14:14:01]Read from MH i2c: 01 07 00 06 02 00 00 00 00 00 FF 0F 1D [14:14:01]RasterBufferAndPrint [14:14:01]line Счет N : (1)5669653 [14:14:01]line ИНН: 02508201610067 [14:14:01]line Контрольно-Кассовый Чек [14:14:01]line ПРОДАЖА [14:14:01]line ТРК (МРК, ГНК) : 13 [14:14:01]line Товар: 2710124130 [14:14:01]line Аи-92-К-5 [14:14:01]line 7.550 * 66.30 [14:14:01]line = 500.57 [14:14:01]line НДС 12% НСП 1% [14:14:01]line > о реализуемом товаре [14:14:01]line ОКРУГЛЕНИЕ: -0.57 [14:14:01]line ИТОГО: 500.00 [14:14:01]line Внесено: 500.00 [14:14:01]line СДАЧА: 0.00 [14:14:01]line НСП 1% : 4.43 [14:14:01]line НДС 12% : 53.16 [14:14:01]line Наличными: 500.00 [14:14:01]line Безнал.: 0.00 [14:14:01]line Место: АЗС № 77 "Партнер Нефть" [14:14:01]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [14:14:01]line СНО: Общий режим [14:14:01]line Чек 31 11.07.2024 14:14 [14:14:01]line Смена: 432 ФФД: 1.0 [14:14:01]line ЗНМ: 0300000122 [14:14:01]line РНМ: 0000000000093033 [14:14:01]line Версия ККМ: 001 [14:14:01]line ФМ: 0000000000875104 [14:14:01]line ФД: 33276 [14:14:01]line ФПД: 63020808683604 [14:14:01]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T141400&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33276&fm=63020808683604&tin=02508201610067®Number=0000000000093033&sum=50000 [14:14:01]OFD Sender: Processing packet 33276 [packets to send 6, broken 5] [14:14:01]ProducePacketName [14:14:01]name=ofd_packets/00033276 [14:14:01]OFD Sender: To server: pG, [14:14:01]CommunicateWithHost lk.salyk.kg:30040 [14:14:01]ConnectInit lk.salyk.kg [14:14:01]written 0, free lines is 4095 [14:14:01]Connected sock=10 [14:14:01]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0F 01 00 00 B2 F9 07 01 6E 80 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 7E 1D 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 89 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 14 00 00 00 00 07 04 06 00 50 C3 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 A8 E8 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 FC 81 00 00 35 04 06 00 39 51 2C EA 40 54 86 16 D9 65 D7 0C 80 D3 [14:14:02]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 58 34 47 00 D4 35 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 35 31 30 34 10 04 04 00 FC 81 00 00 F4 03 04 00 58 93 8F 66 B6 04 01 00 00 07 94 58 EF A8 19 16 2C [14:14:02]CommunicateWithHost err = 0 [14:14:02]CheckOFDResponse [14:14:02]1017 (14) - 77093643461234 [14:14:02]1041 (16) - 0000000000875104 [14:14:02]1040 (4) - 33276 [14:14:02]1012 (4) - 11.07.2024 08:10 [14:14:02]1206 (1) - 0 [14:14:02]OFD Sender: Remove packet 33276 [14:14:02]ProducePacketName [14:14:02]name=ofd_packets/00033276 [14:14:02]NVStorageDeleteData [14:14:02]Write to MH i2c: 01 00 00 31 02 33 [14:14:02]Write i2c OK [14:14:02]MH_I2C_Read... [14:14:02]Read from MH i2c: 01 [14:14:02]MH_I2C_Read... [14:14:02]Read from MH i2c: 01 07 00 [14:14:02]MH_I2C_Read... [14:14:02]Read from MH i2c: 01 07 00 31 02 00 00 00 00 00 CF 0C 15 [14:14:02]RasterBufferAndPrint [14:14:02]line [14:14:02]line [14:14:02]line [14:14:02]line [14:14:02]line [14:14:02]written 0, free lines is 3287 [14:14:02]MH_Cut [14:14:02]Write to MH i2c: D1 01 00 38 02 01 0C [14:14:02]Write i2c OK [14:14:02]MH_I2C_Read... [14:14:02]Read from MH i2c: D1 [14:14:02]MH_I2C_Read... [14:14:02]Read from MH i2c: D1 01 00 [14:14:02]MH_I2C_Read... [14:14:02]Read from MH i2c: D1 01 00 38 02 00 0B [14:14:02]Write to MH i2c: 01 00 00 39 02 3B [14:14:02]Write i2c OK [14:14:02]MH_I2C_Read... [14:14:02]OFD Sender: No OFD packet to send [14:14:03]*** Cut start [14:14:03]*** Partial cut [14:14:03]*** CUTSNS_PIN = 1 [14:14:03]*** CUTSNS_PIN = 0 [14:14:03]*** Brake cut motor [14:14:03]Read from MH i2c: 01 [14:14:03]MH_I2C_Read... [14:14:03]*** Stop cut motor [14:14:03]*** Cut end [14:14:03]Read from MH i2c: 01 07 00 [14:14:03]MH_I2C_Read... [14:14:03]Read from MH i2c: 01 07 00 39 02 00 00 00 00 00 FF 0F 50 [14:14:03]process_action close_receipt done [14:14:03]requested_data is exist [14:14:03]produce_requested_data [14:14:03]requested_item fm.sn is exist - process it [14:14:03]wFMCommunicate request_size=4 [14:14:03]MH_SAM_APDU [14:14:03]CAPDU: 80 11 00 00 [14:14:03]Write to MH i2c: E2 08 00 3A 02 80 11 00 00 00 00 00 00 B6 [14:14:03]Write i2c OK [14:14:03]MH_I2C_Read... [14:14:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:14:03]Read from MH i2c: E2 [14:14:03]MH_I2C_Read... [14:14:03]Read from MH i2c: E2 17 00 [14:14:03]MH_I2C_Read... [14:14:03]Read from MH i2c: E2 17 00 3A 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 02 [14:14:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [14:14:03]wFMCommunicate OK [14:14:03]requested_item fd.num is exist - process it [14:14:03]SAM_PROTO_GetFieldsCounters [14:14:03]wFMCommunicate request_size=4 [14:14:03]MH_SAM_APDU [14:14:03]CAPDU: 80 13 00 00 [14:14:03]Write to MH i2c: E2 08 00 3B 02 80 13 00 00 00 00 00 00 B9 [14:14:03]Write i2c OK [14:14:03]MH_I2C_Read... [14:14:03]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:14:03]Read from MH i2c: E2 [14:14:03]MH_I2C_Read... [14:14:03]Read from MH i2c: E2 62 00 [14:14:03]MH_I2C_Read... [14:14:03]Read from MH i2c: E2 62 00 3B 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 FC 81 00 00 0E 04 04 00 B0 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 57 [14:14: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 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 FC 81 00 00 0E 04 04 00 B0 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:14:03]wFMCommunicate OK [14:14:03]SAM_PROTO_GetFieldsCounters done [14:14:03]requested_item shift.num is exist - process it [14:14:03]requested_item shift.opened is exist - process it [14:14:03]req_shift_opened [14:14:03]FM_GetShiftState [14:14:03]SAM_PROTO_GetShiftState [14:14:03]wFMCommunicate request_size=4 [14:14:03]MH_SAM_APDU [14:14:03]CAPDU: 80 13 01 00 [14:14:03]Write to MH i2c: E2 08 00 3C 02 80 13 01 00 00 00 00 00 BB [14:14:03]Write i2c OK [14:14:03]MH_I2C_Read... [14:14:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:14:03]Read from MH i2c: E2 [14:14:03]MH_I2C_Read... [14:14:03]Read from MH i2c: E2 0E 00 [14:14:03]MH_I2C_Read... [14:14:03]Read from MH i2c: E2 0E 00 3C 02 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 EC [14:14:03]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [14:14:03]wFMCommunicate OK [14:14:03]SAM_PROTO_GetShiftState done [14:14:03]FM_GetShiftState done [14:14:03]req_shift_opened done [14:14:03]requested_item shift.open_date is exist - process it [14:14:03]req_shift_open_date [14:14:03]req_shift_open_date done [14:14:03]produce_requested_data done [14:14:03]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33276,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398} [14:14:03]process_action_free close_receipt [14:14:03]json_value_free [14:14:03]json_value_free done [14:14:03]process_json_proto returns [14:14:03]Send response to host [14:14:03]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33276,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398}}} [14:14:03]free response buf [14:14:03]execute_script done [14:14:03]execute_script returns [14:14:03]free content buf [14:14:03]Sock 7.Close socket [14:14:03]Sock 7.Thread stoped [14:14:07]OFD Sender: No OFD packet to send [14:14:09]accept exits with 9 [14:14:09]New connection [14:14:09]New thread 3066793316 created [14:14:09]Thread 3066936676 joined [14:14:09]Waiting for new connection... [14:14:09] Sock 9.Parse request [14:14:09]Sock 9.Check first char [14:14:09]Sock 9.First char is OK [14:14:09]request: POST /json_proto HTTP/1.0 [14:14:09]Method: POST [14:14:09]URL: /json_proto [14:14:09]Method is POST - this is cgi request [14:14:09]url: /json_proto [14:14:09]query_string will be loaded in cgi processing [14:14:09]execute_cgi json_proto POST (null) [14:14:09]execute_cgi path=json_proto method=POST [14:14:09]POST find Content-Length [14:14:09]Host: 172.17.35.196:8080 [14:14:09]Content-Length: 835 [14:14:09]Content-Type: application/json [14:14:09] [14:14:09]POST finish read [14:14:09]Found Content-Length = 835 [14:14:09]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)5669654", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 31", "code": "2710124130", "name": "SUPER 92-\u041A-5", "price" : 67.30, "quantity" : 10.410, "sum" : 700.59, "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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 700.59 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:14:09]execute_script... [14:14: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 : (1)5669654", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 31", "code": "2710124130", "name": "SUPER 92-\u041A-5", "price" : 67.30, "quantity" : 10.410, "sum" : 700.59, "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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 700.59 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:14:09]POST & json_proto [14:14:09]process_json_proto [14:14:09]json parsed OK: [14:14:09]protocol is kg_v1.0 [14:14:09]action value=close_receipt [14:14:09]process_action close_receipt [14:14:09]cmd_close_receipt [14:14:09]MH_GetDate [14:14:09]Write to MH i2c: F0 00 00 3D 02 2E [14:14:09]Write i2c OK [14:14:09]MH_I2C_Read... [14:14:09]Read from MH i2c: F0 [14:14:09]MH_I2C_Read... [14:14:09]Read from MH i2c: F0 09 00 [14:14:09]MH_I2C_Read... [14:14:09]Read from MH i2c: F0 09 00 3D 02 00 B1 E8 8F 66 AD 14 F4 65 DF [14:14:09]GetLastDocTimeStamp 1720707240 [14:14:09]current date 1720707249 [14:14:09]FM_GetShiftState [14:14:09]SAM_PROTO_GetShiftState [14:14:09]wFMCommunicate request_size=4 [14:14:09]MH_SAM_APDU [14:14:09]CAPDU: 80 13 01 00 [14:14:09]Write to MH i2c: E2 08 00 3E 02 80 13 01 00 00 00 00 00 BD [14:14:09]Write i2c OK [14:14:09]MH_I2C_Read... [14:14:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:14:09]Read from MH i2c: E2 [14:14:09]MH_I2C_Read... [14:14:09]Read from MH i2c: E2 0E 00 [14:14:09]MH_I2C_Read... [14:14:09]Read from MH i2c: E2 0E 00 3E 02 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 EE [14:14:09]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [14:14:09]wFMCommunicate OK [14:14:09]SAM_PROTO_GetShiftState done [14:14:09]FM_GetShiftState done [14:14:09]opened in 1720656398 [14:14:09]opened+sec_in_day 1720742798 [14:14:09]quantity*price = 70059 [14:14:09]sum+1 = 70060 [14:14:09]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 700.59 НСП 1% : 6.20 НДС 12% : 74.40 Наличными: 0.00 Безнал.: 700.59 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 32 11.07.2024 14:14 Смена: 432 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000875104 ФД: 33277 ФПД: 78293771325914 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T141409&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33277&fm=78293771325914&tin=02508201610067®Number=0000000000093033&sum=70059 [14:14:10]StoreToDocumentArchive [14:14:10]shift 432 fd 33277 [14:14:10]save to /storage/0432/doc_00033277 [14:14:10]save last doc name /storage/0432/doc_00033277 to /storage/kkm_last_doc_name [14:14:10]save OK [14:14:10]Clear old archive folders... [14:14:10]ProcessDocumentItem done err = 0, tmpTLVsize=252 [14:14:10]tlvbuf is 01C3CDD0 [14:14:10]SAM_PROTO_ClearQueue [14:14:10]wFMCommunicate request_size=4 [14:14:10]MH_SAM_APDU [14:14:10]CAPDU: 80 09 00 00 [14:14:10]Write to MH i2c: E2 08 00 4B 02 80 09 00 00 00 00 00 00 BF [14:14:10]Write i2c OK [14:14:10]MH_I2C_Read... [14:14:10]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:14:10]Read from MH i2c: E2 [14:14:10]MH_I2C_Read... [14:14:10]Read from MH i2c: E2 03 00 [14:14:10]MH_I2C_Read... [14:14:10]Read from MH i2c: E2 03 00 4B 02 00 90 00 C1 [14:14:10]RAPDU: 90 00 [14:14:10]wFMCommunicate OK [14:14:10]SAM_PROTO_ClearQueue done [14:14:10]KKMCreateOFDPacket [14:14:10]OFDProtocolAddRootSTLVToBuf [14:14:10]FM_MakeSignedData [14:14:10]FM_MakeSignedData [14:14:10]SAM_PROTO_SignData [14:14:10]wFMCommunicate request_size=4 [14:14:10]MH_SAM_APDU [14:14:10]CAPDU: 80 0D 01 02 [14:14:10]Write to MH i2c: E2 08 00 4C 02 80 0D 01 02 00 00 00 00 C7 [14:14:10]Write i2c OK [14:14:10]MH_I2C_Read... [14:14:10]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:14:10]Read from MH i2c: E2 [14:14:10]MH_I2C_Read... [14:14:10]Read from MH i2c: E2 03 00 [14:14:10]MH_I2C_Read... [14:14:10]Read from MH i2c: E2 03 00 4C 02 00 90 00 C2 [14:14:10]RAPDU: 90 00 [14:14:10]wFMCommunicate OK [14:14:10]wFMCommunicate request_size=255 [14:14:10]MH_SAM_APDU [14:14:10]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 AA 28 00 00 00 00 00 37 04 06 00 4A 1A 00 00 00 00 13 04 06 00 AB 11 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AB 11 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6C 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 10 1D 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 AB 11 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 B1 E8 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 FD 81 00 00 35 04 06 00 [14:14:10]Write to MH i2c: E2 02 01 4D 02 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 AA 28 00 00 00 00 00 37 04 06 00 4A 1A 00 00 00 00 13 04 06 00 AB 11 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AB 11 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6C 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 10 1D 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 AB 11 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 B1 E8 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 FD 81 00 00 35 04 06 00 00 00 45 [14:14:10]Write i2c OK [14:14:10]MH_I2C_Read... [14:14:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:14:10]Read from MH i2c: E2 [14:14:10]MH_I2C_Read... [14:14:10]Read from MH i2c: E2 03 00 [14:14:10]MH_I2C_Read... [14:14:10]Read from MH i2c: E2 03 00 4D 02 00 90 00 C3 [14:14:10]RAPDU: 90 00 [14:14:10]wFMCommunicate OK [14:14:10]wFMCommunicate request_size=11 [14:14:10]MH_SAM_APDU [14:14:10]CAPDU: 80 0D 02 02 06 47 35 30 6D 91 DA [14:14:10]Write to MH i2c: E2 0E 00 4E 02 80 0D 02 02 06 00 47 35 30 6D 91 DA 00 00 5A [14:14:10]Write i2c OK [14:14:10]MH_I2C_Read... [14:14:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:14:10]Read from MH i2c: E2 [14:14:10]MH_I2C_Read... [14:14:10]Read from MH i2c: E2 03 00 [14:14:10]MH_I2C_Read... [14:14:10]Read from MH i2c: E2 03 00 4E 02 00 90 00 C4 [14:14:10]RAPDU: 90 00 [14:14:10]wFMCommunicate OK [14:14:10]wFMCommunicate request_size=4 [14:14:10]MH_SAM_APDU [14:14:10]CAPDU: 80 0D 03 02 [14:14:10]Write to MH i2c: E2 08 00 4F 02 80 0D 03 02 00 00 00 00 CC [14:14:10]Write i2c OK [14:14:10]MH_I2C_Read... [14:14:10]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:14:10]Read from MH i2c: E2 [14:14:10]MH_I2C_Read... [14:14:10]Read from MH i2c: E2 0B 00 [14:14:10]MH_I2C_Read... [14:14:10]Read from MH i2c: E2 0B 00 4F 02 00 61 09 FE 37 BD D7 0B CA 90 00 D5 [14:14:10]RAPDU: 61 09 FE 37 BD D7 0B CA 90 00 [14:14:10]wFMCommunicate OK [14:14:10]SAM_PROTO_SignData done [14:14:10]FM_MakeSignedData done [14:14:10]CreateOFDProtocolMessage [14:14:10]wFMCommunicate request_size=4 [14:14:10]MH_SAM_APDU [14:14:10]CAPDU: 80 11 00 00 [14:14:10]Write to MH i2c: E2 08 00 50 02 80 11 00 00 00 00 00 00 CC [14:14:10]Write i2c OK [14:14:10]MH_I2C_Read... [14:14:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:14:10]Read from MH i2c: E2 [14:14:10]MH_I2C_Read... [14:14:10]Read from MH i2c: E2 17 00 [14:14:10]MH_I2C_Read... [14:14:10]Read from MH i2c: E2 17 00 50 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 18 [14:14:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [14:14:10]wFMCommunicate OK [14:14:10]CreateOFDProtocolMessage done [14:14:10]OFDSenderStorePacket 33277 [14:14:10]StoreOFDPacket docnum=33277 [14:14:10]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 01 00 00 94 F9 08 01 72 F4 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 AA 28 00 00 00 00 00 37 04 06 00 4A 1A 00 00 00 00 13 04 06 00 AB 11 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AB 11 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6C 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 10 1D 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 AB 11 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 B1 E8 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 FD 81 00 00 35 04 06 00 47 35 30 6D 91 DA 61 09 FE 37 BD D7 0B CA [14:14:10]CheckFolder [14:14:10]dirname=/storage/ofd_packets [14:14:10]CheckFolder done [14:14:10]ProducePacketName [14:14:10]name=ofd_packets/00033277 [14:14:10]NVStorageSaveData ofd_packets/00033277 [14:14:10]File name is /storage/ofd_packets/00033277 [14:14:10]Write 302 bytes [14:14:10]NVStorageSaveData done [14:14:10]OFDSenderStorePacket done [14:14:10]KKMCreateOFDPacket done [14:14:10]NVStorageSaveData kkm_last_timestamp [14:14:10]File name is /storage/kkm_last_timestamp [14:14:10]Write 4 bytes [14:14:10]NVStorageSaveData done [14:14:10]ExternCall_PrintAddStr [14:14:10]wPrintStart [14:14:10]Write to MH i2c: 01 00 00 51 02 53 [14:14:10]Write i2c OK [14:14:10]MH_I2C_Read... [14:14:10]Read from MH i2c: 01 [14:14:10]MH_I2C_Read... [14:14:10]Read from MH i2c: 01 07 00 [14:14:10]MH_I2C_Read... [14:14:10]Read from MH i2c: 01 07 00 51 02 00 00 00 00 00 FF 0F 68 [14:14:10]RasterBufferAndPrint [14:14:10]line Счет N : (1)5669654 [14:14:10]line ИНН: 02508201610067 [14:14:10]line Контрольно-Кассовый Чек [14:14:10]line ПРОДАЖА [14:14:10]line ТРК (МРК, ГНК) : 31 [14:14:10]line Товар: 2710124130 [14:14:10]line SUPER 92-К-5 [14:14:10]line 10.410 * 67.30 [14:14:10]line = 700.59 [14:14:10]line НДС 12% НСП 1% [14:14:10]line > о реализуемом товаре [14:14:10]line ИТОГО: 700.59 [14:14:10]line НСП 1% : 6.20 [14:14:10]line НДС 12% : 74.40 [14:14:10]line Наличными: 0.00 [14:14:10]line Безнал.: 700.59 [14:14:10]line Место: АЗС № 77 "Партнер Нефть" [14:14:10]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [14:14:10]line СНО: Общий режим [14:14:10]line Чек 32 11.07.2024 14:14 [14:14:10]line Смена: 432 ФФД: 1.0 [14:14:10]line ЗНМ: 0300000122 [14:14:10]line РНМ: 0000000000093033 [14:14:10]line Версия ККМ: 001 [14:14:10]line Платежная система: АКБ Кыргызстан [14:14:10]line ФМ: 0000000000875104 [14:14:10]line ФД: 33277 [14:14:10]line ФПД: 78293771325914 [14:14:10]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T141409&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33277&fm=78293771325914&tin=02508201610067®Number=0000000000093033&sum=70059 [14:14:10]written 0, free lines is 4095 [14:14:10]OFD Sender: Processing packet 33277 [packets to send 6, broken 5] [14:14:10]ProducePacketName [14:14:11]name=ofd_packets/00033277 [14:14:11]OFD Sender: To server: pG, [14:14:11]CommunicateWithHost lk.salyk.kg:30040 [14:14:11]ConnectInit lk.salyk.kg [14:14:11]Connected sock=10 [14:14:11]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 01 00 00 94 F9 08 01 72 F4 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 AA 28 00 00 00 00 00 37 04 06 00 4A 1A 00 00 00 00 13 04 06 00 AB 11 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AB 11 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6C 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 10 1D 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 AB 11 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 B1 E8 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 FD 81 00 00 35 04 06 00 47 35 30 6D 91 DA 61 09 FE 37 BD D7 0B CA [14:14:11]Write to MH i2c: 01 00 00 7B 02 7D [14:14:11]Write i2c OK [14:14:11]MH_I2C_Read... [14:14:11]Read from MH i2c: 01 [14:14:11]MH_I2C_Read... [14:14:11]Read from MH i2c: 01 07 00 [14:14:11]MH_I2C_Read... [14:14:11]Read from MH i2c: 01 07 00 7B 02 00 00 00 00 00 E9 0C 79 [14:14:11]RasterBufferAndPrint [14:14:11]line [14:14:11]line [14:14:11]line [14:14:11]line [14:14:11]line [14:14:11]written 0, free lines is 3314 [14:14:11]MH_Cut [14:14:11]Write to MH i2c: D1 01 00 82 02 01 56 [14:14:11]Write i2c OK [14:14:11]MH_I2C_Read... [14:14:11]Read from MH i2c: D1 [14:14:11]MH_I2C_Read... [14:14:11]Read from MH i2c: D1 01 00 [14:14:11]MH_I2C_Read... [14:14:11]Read from MH i2c: D1 01 00 82 02 00 55 [14:14:11]Write to MH i2c: 01 00 00 83 02 85 [14:14:11]Write i2c OK [14:14:11]MH_I2C_Read... [14:14:11]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 3D 13 47 00 13 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 35 31 30 34 10 04 04 00 FD 81 00 00 F4 03 04 00 61 93 8F 66 B6 04 01 00 00 56 00 F2 18 14 56 48 F7 [14:14:11]CommunicateWithHost err = 0 [14:14:11]CheckOFDResponse [14:14:11]1017 (14) - 77093643461234 [14:14:11]1041 (16) - 0000000000875104 [14:14:11]1040 (4) - 33277 [14:14:11]1012 (4) - 11.07.2024 08:10 [14:14:11]1206 (1) - 0 [14:14:11]OFD Sender: Remove packet 33277 [14:14:11]ProducePacketName [14:14:11]name=ofd_packets/00033277 [14:14:11]NVStorageDeleteData [14:14:11]OFD Sender: No OFD packet to send [14:14:11]*** Cut start [14:14:11]*** Partial cut [14:14:11]*** CUTSNS_PIN = 1 [14:14:11]*** CUTSNS_PIN = 0 [14:14:12]*** Brake cut motor [14:14:12]Read from MH i2c: 01 [14:14:12]MH_I2C_Read... [14:14:12]*** Stop cut motor [14:14:12]*** Cut end [14:14:12]Read from MH i2c: 01 07 00 [14:14:12]MH_I2C_Read... [14:14:12]Read from MH i2c: 01 07 00 83 02 00 00 00 00 00 FF 0F 9A [14:14:12]process_action close_receipt done [14:14:12]requested_data is exist [14:14:12]produce_requested_data [14:14:12]requested_item fm.sn is exist - process it [14:14:12]wFMCommunicate request_size=4 [14:14:12]MH_SAM_APDU [14:14:12]CAPDU: 80 11 00 00 [14:14:12]Write to MH i2c: E2 08 00 84 02 80 11 00 00 00 00 00 00 00 [14:14:12]Write i2c OK [14:14:12]MH_I2C_Read... [14:14:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:14:12]Read from MH i2c: E2 [14:14:12]MH_I2C_Read... [14:14:12]Read from MH i2c: E2 17 00 [14:14:12]MH_I2C_Read... [14:14:12]Read from MH i2c: E2 17 00 84 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 4C [14:14:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [14:14:12]wFMCommunicate OK [14:14:12]requested_item fd.num is exist - process it [14:14:12]SAM_PROTO_GetFieldsCounters [14:14:12]wFMCommunicate request_size=4 [14:14:12]MH_SAM_APDU [14:14:12]CAPDU: 80 13 00 00 [14:14:12]Write to MH i2c: E2 08 00 85 02 80 13 00 00 00 00 00 00 03 [14:14:12]Write i2c OK [14:14:12]MH_I2C_Read... [14:14:12]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:14:12]Read from MH i2c: E2 [14:14:12]MH_I2C_Read... [14:14:12]Read from MH i2c: E2 62 00 [14:14:12]MH_I2C_Read... [14:14:12]Read from MH i2c: E2 62 00 85 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 FD 81 00 00 0E 04 04 00 B0 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 A5 [14:14:12]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 FD 81 00 00 0E 04 04 00 B0 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:14:12]wFMCommunicate OK [14:14:12]SAM_PROTO_GetFieldsCounters done [14:14:12]requested_item shift.num is exist - process it [14:14:12]requested_item shift.opened is exist - process it [14:14:12]req_shift_opened [14:14:12]FM_GetShiftState [14:14:12]SAM_PROTO_GetShiftState [14:14:12]wFMCommunicate request_size=4 [14:14:12]MH_SAM_APDU [14:14:12]CAPDU: 80 13 01 00 [14:14:12]Write to MH i2c: E2 08 00 86 02 80 13 01 00 00 00 00 00 05 [14:14:12]Write i2c OK [14:14:12]MH_I2C_Read... [14:14:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:14:12]Read from MH i2c: E2 [14:14:12]MH_I2C_Read... [14:14:12]Read from MH i2c: E2 0E 00 [14:14:12]MH_I2C_Read... [14:14:12]Read from MH i2c: E2 0E 00 86 02 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 36 [14:14:12]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [14:14:12]wFMCommunicate OK [14:14:12]SAM_PROTO_GetShiftState done [14:14:12]FM_GetShiftState done [14:14:12]req_shift_opened done [14:14:12]requested_item shift.open_date is exist - process it [14:14:12]req_shift_open_date [14:14:12]req_shift_open_date done [14:14:12]produce_requested_data done [14:14:12]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33277,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398} [14:14:12]process_action_free close_receipt [14:14:12]json_value_free [14:14:12]json_value_free done [14:14:12]process_json_proto returns [14:14:12]Send response to host [14:14:12]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33277,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398}}} [14:14:12]free response buf [14:14:12]execute_script done [14:14:12]execute_script returns [14:14:12]free content buf [14:14:12]Sock 9.Close socket [14:14:12]Sock 9.Thread stoped [14:14:16]OFD Sender: No OFD packet to send [14:14:21]OFD Sender: No OFD packet to send [14:14:26]OFD Sender: No OFD packet to send [14:14:31]OFD Sender: No OFD packet to send [14:14:36]OFD Sender: No OFD packet to send [14:14:41]OFD Sender: No OFD packet to send [14:14:46]OFD Sender: No OFD packet to send [14:14:51]OFD Sender: No OFD packet to send [14:14:56]OFD Sender: No OFD packet to send [14:15:01]OFD Sender: No OFD packet to send [14:15:06]OFD Sender: No OFD packet to send [14:15:11]OFD Sender: No OFD packet to send [14:15:16]OFD Sender: No OFD packet to send [14:15:21]OFD Sender: No OFD packet to send [14:15:26]OFD Sender: No OFD packet to send [14:15:31]OFD Sender: No OFD packet to send [14:15:36]OFD Sender: No OFD packet to send [14:15:41]OFD Sender: No OFD packet to send [14:15:46]OFD Sender: No OFD packet to send [14:15:51]OFD Sender: No OFD packet to send [14:15:56]OFD Sender: No OFD packet to send [14:16:01]OFD Sender: No OFD packet to send [14:16:06]OFD Sender: No OFD packet to send [14:16:11]OFD Sender: No OFD packet to send [14:16:16]OFD Sender: No OFD packet to send [14:16:21]OFD Sender: No OFD packet to send [14:16:26]OFD Sender: No OFD packet to send [14:16:31]OFD Sender: No OFD packet to send [14:16:36]OFD Sender: No OFD packet to send [14:16:41]OFD Sender: No OFD packet to send [14:16:46]OFD Sender: No OFD packet to send [14:16:52]OFD Sender: No OFD packet to send [14:16:57]OFD Sender: No OFD packet to send [14:17:02]OFD Sender: No OFD packet to send [14:17:07]OFD Sender: No OFD packet to send [14:17:12]OFD Sender: No OFD packet to send [14:17:17]OFD Sender: No OFD packet to send [14:17:22]OFD Sender: No OFD packet to send [14:17:27]OFD Sender: No OFD packet to send [14:17:32]OFD Sender: No OFD packet to send [14:17:37]OFD Sender: No OFD packet to send [14:17:42]OFD Sender: No OFD packet to send [14:17:47]OFD Sender: No OFD packet to send [14:17:52]OFD Sender: No OFD packet to send [14:17:57]OFD Sender: No OFD packet to send [14:18:02]OFD Sender: No OFD packet to send [14:18:07]OFD Sender: No OFD packet to send [14:18:12]OFD Sender: No OFD packet to send [14:18:17]OFD Sender: No OFD packet to send [14:18:22]OFD Sender: No OFD packet to send [14:18:27]OFD Sender: No OFD packet to send [14:18:32]OFD Sender: No OFD packet to send [14:18:37]OFD Sender: No OFD packet to send [14:18:42]OFD Sender: No OFD packet to send [14:18:47]OFD Sender: No OFD packet to send [14:18:52]OFD Sender: No OFD packet to send [14:18:57]OFD Sender: No OFD packet to send [14:19:02]OFD Sender: No OFD packet to send [14:19:07]OFD Sender: No OFD packet to send [14:19:12]OFD Sender: No OFD packet to send [14:19:17]OFD Sender: No OFD packet to send [14:19:22]OFD Sender: No OFD packet to send [14:19:27]OFD Sender: No OFD packet to send [14:19:32]OFD Sender: No OFD packet to send [14:19:37]OFD Sender: No OFD packet to send [14:19:42]OFD Sender: No OFD packet to send [14:19:47]OFD Sender: No OFD packet to send [14:19:52]OFD Sender: No OFD packet to send [14:19:57]OFD Sender: No OFD packet to send [14:20:02]OFD Sender: No OFD packet to send [14:20:07]OFD Sender: No OFD packet to send [14:20:12]OFD Sender: No OFD packet to send [14:20:17]OFD Sender: No OFD packet to send [14:20:22]OFD Sender: No OFD packet to send [14:20:27]OFD Sender: No OFD packet to send [14:20:32]OFD Sender: No OFD packet to send [14:20:37]OFD Sender: No OFD packet to send [14:20:42]OFD Sender: No OFD packet to send [14:20:47]OFD Sender: No OFD packet to send [14:20:52]OFD Sender: No OFD packet to send [14:20:57]OFD Sender: No OFD packet to send [14:21:02]OFD Sender: No OFD packet to send [14:21:07]OFD Sender: No OFD packet to send [14:21:12]OFD Sender: No OFD packet to send [14:21:17]OFD Sender: No OFD packet to send [14:21:22]OFD Sender: No OFD packet to send [14:21:27]OFD Sender: No OFD packet to send [14:21:32]OFD Sender: No OFD packet to send [14:21:37]OFD Sender: No OFD packet to send [14:21:42]OFD Sender: No OFD packet to send [14:21:47]OFD Sender: No OFD packet to send [14:21:52]OFD Sender: No OFD packet to send [14:21:57]OFD Sender: No OFD packet to send [14:22:02]OFD Sender: No OFD packet to send [14:22:07]OFD Sender: No OFD packet to send [14:22:12]OFD Sender: No OFD packet to send [14:22:15]accept exits with 7 [14:22:15]New connection [14:22:15]New thread 3066936676 created [14:22:15]Thread 3066793316 joined [14:22:15]Waiting for new connection... [14:22:15] Sock 7.Parse request [14:22:15]Sock 7.Check first char [14:22:15]Sock 7.First char is OK [14:22:15]request: POST /json_proto HTTP/1.0 [14:22:15]Method: POST [14:22:15]URL: /json_proto [14:22:15]Method is POST - this is cgi request [14:22:15]url: /json_proto [14:22:15]query_string will be loaded in cgi processing [14:22:15]execute_cgi json_proto POST (null) [14:22:15]execute_cgi path=json_proto method=POST [14:22:15]POST find Content-Length [14:22:15]Host: 172.17.35.196:8080 [14:22:15]Content-Length: 1639 [14:22:15]Content-Type: application/json [14:22:15] [14:22:15]POST finish read [14:22:15]Found Content-Length = 1639 [14:22:15]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169115", "tax_sys" : 0, "items" : [ { "code": "5449000273673", "name": "\u0421\u043E\u043A Piko Pulpy \u043A\u0440\u0430\u0441\u043D\u044B\u0439 \u0432\u0438\u043D\u043E\u0433\u0440\u0430\u0434 \u041F\u042D\u0422 1\u043B", "price" : 180.00, "quantity" : 1.000, "sum" : 180.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870001151546", "name": "\u0421\u043E\u043A Da-Da 1\u043B \u0437\u0435\u043B.\u044F\u0431\u043B", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160181", "name": "\u0412\u043E\u0434\u0430 \u0411\u0430\u0439\u0442\u0438\u043A 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 430.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:22:15]execute_script... [14:22: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)169115", "tax_sys" : 0, "items" : [ { "code": "5449000273673", "name": "\u0421\u043E\u043A Piko Pulpy \u043A\u0440\u0430\u0441\u043D\u044B\u0439 \u0432\u0438\u043D\u043E\u0433\u0440\u0430\u0434 \u041F\u042D\u0422 1\u043B", "price" : 180.00, "quantity" : 1.000, "sum" : 180.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870001151546", "name": "\u0421\u043E\u043A Da-Da 1\u043B \u0437\u0435\u043B.\u044F\u0431\u043B", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160181", "name": "\u0412\u043E\u0434\u0430 \u0411\u0430\u0439\u0442\u0438\u043A 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 430.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:22:15]POST & json_proto [14:22:15]process_json_proto [14:22:15]json parsed OK: [14:22:15]protocol is kg_v1.0 [14:22:15]action value=close_receipt [14:22:15]process_action close_receipt [14:22:16]cmd_close_receipt [14:22:16]MH_GetDate [14:22:16]Write to MH i2c: F0 00 00 87 02 78 [14:22:16]Write i2c OK [14:22:16]MH_I2C_Read... [14:22:16]Read from MH i2c: F0 [14:22:16]MH_I2C_Read... [14:22:16]Read from MH i2c: F0 09 00 [14:22:16]MH_I2C_Read... [14:22:16]Read from MH i2c: F0 09 00 87 02 00 98 EA 8F 66 AD 14 F4 65 12 [14:22:16]GetLastDocTimeStamp 1720707249 [14:22:16]current date 1720707736 [14:22:16]FM_GetShiftState [14:22:16]SAM_PROTO_GetShiftState [14:22:16]wFMCommunicate request_size=4 [14:22:16]MH_SAM_APDU [14:22:16]CAPDU: 80 13 01 00 [14:22:16]Write to MH i2c: E2 08 00 88 02 80 13 01 00 00 00 00 00 07 [14:22:16]Write i2c OK [14:22:16]MH_I2C_Read... [14:22:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:22:16]Read from MH i2c: E2 [14:22:16]MH_I2C_Read... [14:22:16]Read from MH i2c: E2 0E 00 [14:22:16]MH_I2C_Read... [14:22:16]Read from MH i2c: E2 0E 00 88 02 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 38 [14:22:16]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [14:22:16]wFMCommunicate OK [14:22:16]SAM_PROTO_GetShiftState done [14:22:16]FM_GetShiftState done [14:22:16]opened in 1720656398 [14:22:16]opened+sec_in_day 1720742798 [14:22:16]quantity*price = 18000 [14:22:16]sum+1 = 18001 [14:22:16]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870001151546 Сок Da-Da 1л зел.ябл 1.000 * 150.00 = 150.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700000160358 Вода Легенда 1л 1.000 * 50.00 = 50.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700000160181 Вода Байтик 1л 1.000 * 50.00 = 50.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 430.00 НСП 1% : 3.80 НДС 12% : 45.66 Наличными: 0.00 Безнал.: 430.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 33 11.07.2024 14:22 Смена: 432 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000875104 ФД: 33278 ФПД: 25840606909997 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T142216&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33278&fm=25840606909997&tin=02508201610067®Number=0000000000093033&sum=43000 0 [14:22:17]StoreToDocumentArchive [14:22:17]shift 432 fd 33278 [14:22:17]save to /storage/0432/doc_00033278 [14:22:17]save last doc name /storage/0432/doc_00033278 to /storage/kkm_last_doc_name [14:22:17]save OK [14:22:17]Clear old archive folders... [14:22:17]ProcessDocumentItem done err = 0, tmpTLVsize=600 [14:22:17]tlvbuf is 01CA50A0 [14:22:17]SAM_PROTO_ClearQueue [14:22:17]wFMCommunicate request_size=4 [14:22:17]MH_SAM_APDU [14:22:17]CAPDU: 80 09 00 00 [14:22:17]Write to MH i2c: E2 08 00 95 02 80 09 00 00 00 00 00 00 09 [14:22:17]Write i2c OK [14:22:17]MH_I2C_Read... [14:22:17]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:22:17]Read from MH i2c: E2 [14:22:17]MH_I2C_Read... [14:22:17]Read from MH i2c: E2 03 00 [14:22:17]MH_I2C_Read... [14:22:17]Read from MH i2c: E2 03 00 95 02 00 90 00 0B [14:22:17]RAPDU: 90 00 [14:22:17]wFMCommunicate OK [14:22:17]SAM_PROTO_ClearQueue done [14:22:17]KKMCreateOFDPacket [14:22:17]OFDProtocolAddRootSTLVToBuf [14:22:17]FM_MakeSignedData [14:22:17]FM_MakeSignedData [14:22:17]SAM_PROTO_SignData [14:22:17]wFMCommunicate request_size=4 [14:22:17]MH_SAM_APDU [14:22:17]CAPDU: 80 0D 01 02 [14:22:17]Write to MH i2c: E2 08 00 96 02 80 0D 01 02 00 00 00 00 11 [14:22:17]Write i2c OK [14:22:17]MH_I2C_Read... [14:22:17]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:22:17]Read from MH i2c: E2 [14:22:17]MH_I2C_Read... [14:22:17]Read from MH i2c: E2 03 00 [14:22:17]MH_I2C_Read... [14:22:17]Read from MH i2c: E2 03 00 96 02 00 90 00 0C [14:22:17]RAPDU: 90 00 [14:22:17]wFMCommunicate OK [14:22:17]wFMCommunicate request_size=255 [14:22:17]MH_SAM_APDU [14:22:17]CAPDU: 80 0D 02 02 FA 03 00 58 02 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 35 34 34 39 30 30 30 32 37 33 36 37 33 06 04 3C 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 BA D1 80 D0 B0 D1 81 D0 BD D1 8B D0 B9 20 D0 B2 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 50 46 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 23 04 62 00 8A 04 0D 00 34 38 37 30 30 30 31 31 35 31 35 34 36 06 04 1E 00 D0 A1 D0 BE D0 BA 20 44 61 2D 44 61 20 31 D0 BB 20 D0 B7 D0 B5 D0 BB 2E D1 8F D0 B1 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D [14:22:17]Write to MH i2c: E2 02 01 97 02 80 0D 02 02 FA 00 03 00 58 02 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 35 34 34 39 30 30 30 32 37 33 36 37 33 06 04 3C 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 BA D1 80 D0 B0 D1 81 D0 BD D1 8B D0 B9 20 D0 B2 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 50 46 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 23 04 62 00 8A 04 0D 00 34 38 37 30 30 30 31 31 35 31 35 34 36 06 04 1E 00 D0 A1 D0 BE D0 BA 20 44 61 2D 44 61 20 31 D0 BB 20 D0 B7 D0 B5 D0 BB 2E D1 8F D0 B1 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 00 17 [14:22:17]Write i2c OK [14:22:17]MH_I2C_Read... [14:22:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:22:17]Read from MH i2c: E2 [14:22:17]MH_I2C_Read... [14:22:17]Read from MH i2c: E2 03 00 [14:22:17]MH_I2C_Read... [14:22:17]Read from MH i2c: E2 03 00 97 02 00 90 00 0D [14:22:17]RAPDU: 90 00 [14:22:17]wFMCommunicate OK [14:22:17]wFMCommunicate request_size=255 [14:22:17]MH_SAM_APDU [14:22:17]CAPDU: 80 0D 02 02 FA 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 23 04 5D 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 31 38 31 06 04 19 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 B0 D0 B9 D1 82 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 A7 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D6 11 00 00 00 00 07 04 06 00 00 00 00 00 00 [14:22:17]Write to MH i2c: E2 02 01 98 02 80 0D 02 02 FA 00 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 23 04 5D 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 31 38 31 06 04 19 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 B0 D0 B9 D1 82 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 A7 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D6 11 00 00 00 00 07 04 06 00 00 00 00 00 00 00 00 62 [14:22:17]Write i2c OK [14:22:17]MH_I2C_Read... [14:22:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:22:17]Read from MH i2c: E2 [14:22:17]MH_I2C_Read... [14:22:17]Read from MH i2c: E2 03 00 [14:22:17]MH_I2C_Read... [14:22:17]Read from MH i2c: E2 03 00 98 02 00 90 00 0E [14:22:17]RAPDU: 90 00 [14:22:17]wFMCommunicate OK [14:22:17]wFMCommunicate request_size=109 [14:22:17]MH_SAM_APDU [14:22:17]CAPDU: 80 0D 02 02 68 00 39 04 06 00 F8 A7 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 98 EA 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 FE 81 00 00 35 04 06 00 17 80 7C 32 16 2D [14:22:17]Write to MH i2c: E2 70 00 99 02 80 0D 02 02 68 00 00 39 04 06 00 F8 A7 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 98 EA 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 FE 81 00 00 35 04 06 00 17 80 7C 32 16 2D 00 00 EF [14:22:17]Write i2c OK [14:22:17]MH_I2C_Read... [14:22:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:22:18]Read from MH i2c: E2 [14:22:18]MH_I2C_Read... [14:22:18]Read from MH i2c: E2 03 00 [14:22:18]MH_I2C_Read... [14:22:18]Read from MH i2c: E2 03 00 99 02 00 90 00 0F [14:22:18]RAPDU: 90 00 [14:22:18]wFMCommunicate OK [14:22:18]wFMCommunicate request_size=4 [14:22:18]MH_SAM_APDU [14:22:18]CAPDU: 80 0D 03 02 [14:22:18]Write to MH i2c: E2 08 00 9A 02 80 0D 03 02 00 00 00 00 17 [14:22:18]Write i2c OK [14:22:18]MH_I2C_Read... [14:22:18]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:22:18]Read from MH i2c: E2 [14:22:18]MH_I2C_Read... [14:22:18]Read from MH i2c: E2 0B 00 [14:22:18]MH_I2C_Read... [14:22:18]Read from MH i2c: E2 0B 00 9A 02 00 A1 BA 06 D6 69 44 32 6E 90 00 9C [14:22:18]RAPDU: A1 BA 06 D6 69 44 32 6E 90 00 [14:22:18]wFMCommunicate OK [14:22:18]SAM_PROTO_SignData done [14:22:18]FM_MakeSignedData done [14:22:18]CreateOFDProtocolMessage [14:22:18]wFMCommunicate request_size=4 [14:22:18]MH_SAM_APDU [14:22:18]CAPDU: 80 11 00 00 [14:22:18]Write to MH i2c: E2 08 00 9B 02 80 11 00 00 00 00 00 00 17 [14:22:18]Write i2c OK [14:22:18]MH_I2C_Read... [14:22:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:22:18]Read from MH i2c: E2 [14:22:18]MH_I2C_Read... [14:22:18]Read from MH i2c: E2 17 00 [14:22:18]MH_I2C_Read... [14:22:18]Read from MH i2c: E2 17 00 9B 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 63 [14:22:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [14:22:18]wFMCommunicate OK [14:22:18]CreateOFDProtocolMessage done [14:22:18]OFDSenderStorePacket 33278 [14:22:18]StoreOFDPacket docnum=33278 [14:22:18]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 6C 02 00 00 CC 22 64 02 88 CD 5A 03 01 00 03 00 58 02 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 35 34 34 39 30 30 30 32 37 33 36 37 33 06 04 3C 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 BA D1 80 D0 B0 D1 81 D0 BD D1 8B D0 B9 20 D0 B2 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 50 46 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 23 04 62 00 8A 04 0D 00 34 38 37 30 30 30 31 31 35 31 35 34 36 06 04 1E 00 D0 A1 D0 BE D0 BA 20 44 61 2D 44 61 20 31 D0 BB 20 D0 B7 D0 B5 D0 BB 2E D1 8F D0 B1 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 23 04 5D 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 31 38 31 06 04 19 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 B0 D0 B9 D1 82 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 A7 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D6 11 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 F8 A7 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 98 EA 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 FE 81 00 00 35 04 06 00 17 80 7C 32 16 2D A1 BA 06 D6 69 44 32 6E [14:22:18]CheckFolder [14:22:18]dirname=/storage/ofd_packets [14:22:18]CheckFolder done [14:22:18]ProducePacketName [14:22:18]name=ofd_packets/00033278 [14:22:18]NVStorageSaveData ofd_packets/00033278 [14:22:18]File name is /storage/ofd_packets/00033278 [14:22:18]Write 650 bytes [14:22:18]NVStorageSaveData done [14:22:18]OFDSenderStorePacket done [14:22:18]KKMCreateOFDPacket done [14:22:18]NVStorageSaveData kkm_last_timestamp [14:22:18]File name is /storage/kkm_last_timestamp [14:22:18]Write 4 bytes [14:22:18]NVStorageSaveData done [14:22:18]ExternCall_PrintAddStr [14:22:18]wPrintStart [14:22:18]Write to MH i2c: 01 00 00 9C 02 9E [14:22:18]Write i2c OK [14:22:18]MH_I2C_Read... [14:22:18]Read from MH i2c: 01 [14:22:18]MH_I2C_Read... [14:22:18]Read from MH i2c: 01 07 00 [14:22:18]MH_I2C_Read... [14:22:18]Read from MH i2c: 01 07 00 9C 02 00 00 00 00 00 FF 0F B3 [14:22:18]RasterBufferAndPrint [14:22:18]line Счет N : (3)169115 [14:22:18]line ИНН: 02508201610067 [14:22:18]line Контрольно-Кассовый Чек [14:22:18]line ПРОДАЖА [14:22:18]line Товар: 5449000273673 [14:22:18]line Сок Piko Pulpy красный виноград ПЭТ 1л [14:22:18]line 1.000 * 180.00 [14:22:18]line = 180.00 [14:22:18]line НДС 12% НСП 1% [14:22:18]line > о реализуемом товаре [14:22:18]line Товар: 4870001151546 [14:22:18]line Сок Da-Da 1л зел.ябл [14:22:18]line 1.000 * 150.00 [14:22:18]line = 150.00 [14:22:18]line НДС 12% НСП 1% [14:22:18]line > о реализуемом товаре [14:22:18]line Товар: 4700000160358 [14:22:18]line Вода Легенда 1л [14:22:18]line 1.000 * 50.00 [14:22:18]line = 50.00 [14:22:18]line НДС 12% НСП 1% [14:22:18]line > о реализуемом товаре [14:22:18]line Товар: 4700000160181 [14:22:18]line Вода Байтик 1л [14:22:18]line 1.000 * 50.00 [14:22:18]line = 50.00 [14:22:18]line НДС 12% НСП 1% [14:22:18]line > о реализуемом товаре [14:22:18]line ИТОГО: 430.00 [14:22:18]line НСП 1% : 3.80 [14:22:18]line НДС 12% : 45.66 [14:22:18]line Наличными: 0.00 [14:22:18]line Безнал.: 430.00 [14:22:18]line Место: АЗС № 77 "Партнер Нефть" [14:22:18]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [14:22:18]line СНО: Общий режим [14:22:18]line Чек 33 11.07.2024 14:22 [14:22:18]line Смена: 432 ФФД: 1.0 [14:22:18]line ЗНМ: 0300000122 [14:22:18]line РНМ: 0000000000093033 [14:22:18]line Версия ККМ: 001 [14:22:18]line Платежная система: АКБ Кыргызстан [14:22:18]line ФМ: 0000000000875104 [14:22:18]line ФД: 33278 [14:22:18]line ФПД: 25840606909997 [14:22:18]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T142216&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33278&fm=25840606909997&tin=02508201610067®Number=0000000000093033&sum=43000 [14:22:18]line 0 [14:22:18]OFD Sender: Processing packet 33278 [packets to send 6, broken 5] [14:22:18]ProducePacketName [14:22:18]name=ofd_packets/00033278 [14:22:18]OFD Sender: To server: pG, [14:22:18]CommunicateWithHost lk.salyk.kg:30040 [14:22:18]ConnectInit lk.salyk.kg [14:22:18]written 0, free lines is 4095 [14:22:18]Connected sock=10 [14:22:18]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 6C 02 00 00 CC 22 64 02 88 CD 5A 03 01 00 03 00 58 02 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 35 34 34 39 30 30 30 32 37 33 36 37 33 06 04 3C 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 BA D1 80 D0 B0 D1 81 D0 BD D1 8B D0 B9 20 D0 B2 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 50 46 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 23 04 62 00 8A 04 0D 00 34 38 37 30 30 30 31 31 35 31 35 34 36 06 04 1E 00 D0 A1 D0 BE D0 BA 20 44 61 2D 44 61 20 31 D0 BB 20 D0 B7 D0 B5 D0 BB 2E D1 8F D0 B1 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 23 04 5D 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 31 38 31 06 04 19 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 B0 D0 B9 D1 82 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 A7 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D6 11 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 F8 A7 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 98 EA 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 FE 81 00 00 35 04 06 00 17 80 7C 32 16 2D A1 BA 06 D6 69 44 32 6E [14:22:18]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 3F FC 47 00 C3 9B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 FE 81 00 00 F4 03 04 00 48 95 8F 66 B6 04 01 00 00 CE C4 F0 CD D5 66 C0 B9 [14:22:18]CommunicateWithHost err = 0 [14:22:18]CheckOFDResponse [14:22:18]1017 (14) - 77093643461234 [14:22:18]1041 (16) - 0000000000875104 [14:22:18]1040 (4) - 33278 [14:22:18]1012 (4) - 11.07.2024 08:18 [14:22:18]1206 (1) - 0 [14:22:18]OFD Sender: Remove packet 33278 [14:22:18]ProducePacketName [14:22:18]name=ofd_packets/00033278 [14:22:18]NVStorageDeleteData [14:22:19]Write to MH i2c: 01 00 00 D9 02 DB [14:22:19]Write i2c OK [14:22:19]MH_I2C_Read... [14:22:19]Read from MH i2c: 01 [14:22:19]MH_I2C_Read... [14:22:19]Read from MH i2c: 01 07 00 [14:22:19]MH_I2C_Read... [14:22:19]Read from MH i2c: 01 07 00 D9 02 00 00 00 00 00 C2 0B AF [14:22:19]RasterBufferAndPrint [14:22:19]line [14:22:19]line [14:22:19]line [14:22:19]line [14:22:19]line [14:22:19]written 0, free lines is 3018 [14:22:19]MH_Cut [14:22:19]Write to MH i2c: D1 01 00 E0 02 01 B4 [14:22:19]Write i2c OK [14:22:19]MH_I2C_Read... [14:22:19]Read from MH i2c: D1 [14:22:19]MH_I2C_Read... [14:22:19]Read from MH i2c: D1 01 00 [14:22:19]MH_I2C_Read... [14:22:19]Read from MH i2c: D1 01 00 E0 02 00 B3 [14:22:19]Write to MH i2c: 01 00 00 E1 02 E3 [14:22:19]Write i2c OK [14:22:19]MH_I2C_Read... [14:22:19]OFD Sender: No OFD packet to send [14:22:20]*** Cut start [14:22:20]*** Partial cut [14:22:20]*** CUTSNS_PIN = 1 [14:22:20]*** CUTSNS_PIN = 0 [14:22:20]*** Brake cut motor [14:22:20]Read from MH i2c: 01 [14:22:20]MH_I2C_Read... [14:22:20]*** Stop cut motor [14:22:20]*** Cut end [14:22:20]Read from MH i2c: 01 07 00 [14:22:20]MH_I2C_Read... [14:22:20]Read from MH i2c: 01 07 00 E1 02 00 00 00 00 00 FF 0F F8 [14:22:20]process_action close_receipt done [14:22:20]requested_data is exist [14:22:20]produce_requested_data [14:22:20]requested_item fm.sn is exist - process it [14:22:20]wFMCommunicate request_size=4 [14:22:20]MH_SAM_APDU [14:22:20]CAPDU: 80 11 00 00 [14:22:20]Write to MH i2c: E2 08 00 E2 02 80 11 00 00 00 00 00 00 5E [14:22:20]Write i2c OK [14:22:20]MH_I2C_Read... [14:22:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:22:20]Read from MH i2c: E2 [14:22:20]MH_I2C_Read... [14:22:20]Read from MH i2c: E2 17 00 [14:22:20]MH_I2C_Read... [14:22:20]Read from MH i2c: E2 17 00 E2 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 AA [14:22:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [14:22:20]wFMCommunicate OK [14:22:20]requested_item fd.num is exist - process it [14:22:20]SAM_PROTO_GetFieldsCounters [14:22:20]wFMCommunicate request_size=4 [14:22:20]MH_SAM_APDU [14:22:20]CAPDU: 80 13 00 00 [14:22:20]Write to MH i2c: E2 08 00 E3 02 80 13 00 00 00 00 00 00 61 [14:22:20]Write i2c OK [14:22:20]MH_I2C_Read... [14:22:20]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:22:20]Read from MH i2c: E2 [14:22:20]MH_I2C_Read... [14:22:20]Read from MH i2c: E2 62 00 [14:22:20]MH_I2C_Read... [14:22:20]Read from MH i2c: E2 62 00 E3 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 FE 81 00 00 0E 04 04 00 B0 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 07 [14:22: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 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 FE 81 00 00 0E 04 04 00 B0 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 [14:22:20]wFMCommunicate OK [14:22:20]SAM_PROTO_GetFieldsCounters done [14:22:20]requested_item shift.num is exist - process it [14:22:20]requested_item shift.opened is exist - process it [14:22:20]req_shift_opened [14:22:20]FM_GetShiftState [14:22:20]SAM_PROTO_GetShiftState [14:22:20]wFMCommunicate request_size=4 [14:22:20]MH_SAM_APDU [14:22:20]CAPDU: 80 13 01 00 [14:22:20]Write to MH i2c: E2 08 00 E4 02 80 13 01 00 00 00 00 00 63 [14:22:20]Write i2c OK [14:22:20]MH_I2C_Read... [14:22:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:22:21]Read from MH i2c: E2 [14:22:21]MH_I2C_Read... [14:22:21]Read from MH i2c: E2 0E 00 [14:22:21]MH_I2C_Read... [14:22:21]Read from MH i2c: E2 0E 00 E4 02 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 94 [14:22:21]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [14:22:21]wFMCommunicate OK [14:22:21]SAM_PROTO_GetShiftState done [14:22:21]FM_GetShiftState done [14:22:21]req_shift_opened done [14:22:21]requested_item shift.open_date is exist - process it [14:22:21]req_shift_open_date [14:22:21]req_shift_open_date done [14:22:21]produce_requested_data done [14:22:21]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33278,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398} [14:22:21]process_action_free close_receipt [14:22:21]json_value_free [14:22:21]json_value_free done [14:22:21]process_json_proto returns [14:22:21]Send response to host [14:22:21]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33278,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398}}} [14:22:21]free response buf [14:22:21]execute_script done [14:22:21]execute_script returns [14:22:21]free content buf [14:22:21]Sock 7.Close socket [14:22:21]Sock 7.Thread stoped [14:22:24]OFD Sender: No OFD packet to send [14:22:29]OFD Sender: No OFD packet to send [14:22:34]OFD Sender: No OFD packet to send [14:22:39]OFD Sender: No OFD packet to send [14:22:44]OFD Sender: No OFD packet to send [14:22:49]OFD Sender: No OFD packet to send [14:22:54]OFD Sender: No OFD packet to send [14:22:59]OFD Sender: No OFD packet to send [14:23:04]OFD Sender: No OFD packet to send [14:23:09]OFD Sender: No OFD packet to send [14:23:14]OFD Sender: No OFD packet to send [14:23:19]OFD Sender: No OFD packet to send [14:23:24]OFD Sender: No OFD packet to send [14:23:29]OFD Sender: No OFD packet to send [14:23:34]OFD Sender: No OFD packet to send [14:23:39]OFD Sender: No OFD packet to send [14:23:44]OFD Sender: No OFD packet to send [14:23:49]OFD Sender: No OFD packet to send [14:23:54]OFD Sender: No OFD packet to send [14:23:59]OFD Sender: No OFD packet to send [14:24:04]OFD Sender: No OFD packet to send [14:24:09]OFD Sender: No OFD packet to send [14:24:14]OFD Sender: No OFD packet to send [14:24:19]OFD Sender: No OFD packet to send [14:24:24]OFD Sender: No OFD packet to send [14:24:29]OFD Sender: No OFD packet to send [14:24:34]OFD Sender: No OFD packet to send [14:24:39]OFD Sender: No OFD packet to send [14:24:44]OFD Sender: No OFD packet to send [14:24:49]OFD Sender: No OFD packet to send [14:24:54]OFD Sender: No OFD packet to send [14:24:59]OFD Sender: No OFD packet to send [14:25:04]OFD Sender: No OFD packet to send [14:25:09]OFD Sender: No OFD packet to send [14:25:14]OFD Sender: No OFD packet to send [14:25:19]OFD Sender: No OFD packet to send [14:25:24]OFD Sender: No OFD packet to send [14:25:29]OFD Sender: No OFD packet to send [14:25:34]OFD Sender: No OFD packet to send [14:25:39]OFD Sender: No OFD packet to send [14:25:44]OFD Sender: No OFD packet to send [14:25:49]OFD Sender: No OFD packet to send [14:25:54]OFD Sender: No OFD packet to send [14:25:59]OFD Sender: No OFD packet to send [14:26:04]OFD Sender: No OFD packet to send [14:26:09]OFD Sender: No OFD packet to send [14:26:14]OFD Sender: No OFD packet to send [14:26:19]OFD Sender: No OFD packet to send [14:26:24]OFD Sender: No OFD packet to send [14:26:29]OFD Sender: No OFD packet to send [14:26:34]OFD Sender: No OFD packet to send [14:26:39]OFD Sender: No OFD packet to send [14:26:44]OFD Sender: No OFD packet to send [14:26:49]OFD Sender: No OFD packet to send [14:26:54]OFD Sender: No OFD packet to send [14:26:59]OFD Sender: No OFD packet to send [14:27:04]OFD Sender: No OFD packet to send [14:27:09]OFD Sender: No OFD packet to send [14:27:14]OFD Sender: No OFD packet to send [14:27:19]OFD Sender: No OFD packet to send [14:27:24]OFD Sender: No OFD packet to send [14:27:29]OFD Sender: No OFD packet to send [14:27:34]OFD Sender: No OFD packet to send [14:27:39]OFD Sender: No OFD packet to send [14:27:44]OFD Sender: No OFD packet to send [14:27:49]OFD Sender: No OFD packet to send [14:27:54]OFD Sender: No OFD packet to send [14:27:59]OFD Sender: No OFD packet to send [14:28:04]OFD Sender: No OFD packet to send [14:28:09]OFD Sender: No OFD packet to send [14:28:14]OFD Sender: No OFD packet to send [14:28:19]OFD Sender: No OFD packet to send [14:28:24]OFD Sender: No OFD packet to send [14:28:29]OFD Sender: No OFD packet to send [14:28:34]OFD Sender: No OFD packet to send [14:28:39]OFD Sender: No OFD packet to send [14:28:44]OFD Sender: No OFD packet to send [14:28:49]OFD Sender: No OFD packet to send [14:28:54]OFD Sender: No OFD packet to send [14:28:59]OFD Sender: No OFD packet to send [14:29:04]OFD Sender: No OFD packet to send [14:29:09]OFD Sender: No OFD packet to send [14:29:14]OFD Sender: No OFD packet to send [14:29:19]OFD Sender: No OFD packet to send [14:29:24]OFD Sender: No OFD packet to send [14:29:29]OFD Sender: No OFD packet to send [14:29:34]OFD Sender: No OFD packet to send [14:29:39]OFD Sender: No OFD packet to send [14:29:44]OFD Sender: No OFD packet to send [14:29:49]OFD Sender: No OFD packet to send [14:29:54]OFD Sender: No OFD packet to send [14:29:59]OFD Sender: No OFD packet to send [14:30:04]OFD Sender: No OFD packet to send [14:30:09]OFD Sender: No OFD packet to send [14:30:14]OFD Sender: No OFD packet to send [14:30:19]OFD Sender: No OFD packet to send [14:30:24]OFD Sender: No OFD packet to send [14:30:29]OFD Sender: No OFD packet to send [14:30:34]OFD Sender: No OFD packet to send [14:30:39]OFD Sender: No OFD packet to send [14:30:41]accept exits with 9 [14:30:41]New connection [14:30:41]New thread 3066793316 created [14:30:41]Thread 3066936676 joined [14:30:41]Waiting for new connection... [14:30:41] Sock 9.Parse request [14:30:41]Sock 9.Check first char [14:30:41]Sock 9.First char is OK [14:30:41]request: POST /json_proto HTTP/1.0 [14:30:41]Method: POST [14:30:41]URL: /json_proto [14:30:41]Method is POST - this is cgi request [14:30:41]url: /json_proto [14:30:41]query_string will be loaded in cgi processing [14:30:41]execute_cgi json_proto POST (null) [14:30:41]execute_cgi path=json_proto method=POST [14:30:41]POST find Content-Length [14:30:41]Host: 172.17.35.196:8080 [14:30:41]Content-Length: 680 [14:30:41]Content-Type: application/json [14:30:41] [14:30:41]POST finish read [14:30:41]Found Content-Length = 680 [14:30:41]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)5669663", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 14", "code": "2710194210", "name": "\u0414\u0422-\u041A-4", "price" : 72.60, "quantity" : 13.780, "sum" : 1000.43, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:30:41]execute_script... [14:30: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 : (1)5669663", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 14", "code": "2710194210", "name": "\u0414\u0422-\u041A-4", "price" : 72.60, "quantity" : 13.780, "sum" : 1000.43, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:30:41]POST & json_proto [14:30:41]process_json_proto [14:30:41]json parsed OK: [14:30:41]protocol is kg_v1.0 [14:30:41]action value=close_receipt [14:30:41]process_action close_receipt [14:30:41]cmd_close_receipt [14:30:41]MH_GetDate [14:30:41]Write to MH i2c: F0 00 00 E5 02 D6 [14:30:41]Write i2c OK [14:30:41]MH_I2C_Read... [14:30:41]Read from MH i2c: F0 [14:30:41]MH_I2C_Read... [14:30:41]Read from MH i2c: F0 09 00 [14:30:41]MH_I2C_Read... [14:30:41]Read from MH i2c: F0 09 00 E5 02 00 92 EC 8F 66 AD 14 F4 65 6C [14:30:41]GetLastDocTimeStamp 1720707736 [14:30:41]current date 1720708242 [14:30:41]FM_GetShiftState [14:30:41]SAM_PROTO_GetShiftState [14:30:41]wFMCommunicate request_size=4 [14:30:41]MH_SAM_APDU [14:30:41]CAPDU: 80 13 01 00 [14:30:41]Write to MH i2c: E2 08 00 E6 02 80 13 01 00 00 00 00 00 65 [14:30:41]Write i2c OK [14:30:41]MH_I2C_Read... [14:30:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:30:41]Read from MH i2c: E2 [14:30:41]MH_I2C_Read... [14:30:41]Read from MH i2c: E2 0E 00 [14:30:41]MH_I2C_Read... [14:30:41]Read from MH i2c: E2 0E 00 E6 02 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 96 [14:30:41]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [14:30:41]wFMCommunicate OK [14:30:41]SAM_PROTO_GetShiftState done [14:30:41]FM_GetShiftState done [14:30:41]opened in 1720656398 [14:30:41]opened+sec_in_day 1720742798 [14:30:41]quantity*price = 100042 [14:30:41]sum+1 = 100044 [14:30:41]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.43 ИТОГО: 1000.00 Внесено: 1000.00 СДАЧА: 0.00 НСП 1% : 8.85 НДС 12% : 106.24 Наличными: 1000.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 34 11.07.2024 14:30 Смена: 432 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33279 ФПД: 4353180698083 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T143042&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33279&fm=4353180698083&tin=02508201610067®Number=0000000000093033&sum=100000 [14:30:42]StoreToDocumentArchive [14:30:42]shift 432 fd 33279 [14:30:42]save to /storage/0432/doc_00033279 [14:30:42]save last doc name /storage/0432/doc_00033279 to /storage/kkm_last_doc_name [14:30:42]save OK [14:30:42]Clear old archive folders... [14:30:42]ProcessDocumentItem done err = 0, tmpTLVsize=248 [14:30:42]tlvbuf is 01CAB910 [14:30:42]SAM_PROTO_ClearQueue [14:30:42]wFMCommunicate request_size=4 [14:30:42]MH_SAM_APDU [14:30:42]CAPDU: 80 09 00 00 [14:30:42]Write to MH i2c: E2 08 00 F3 02 80 09 00 00 00 00 00 00 67 [14:30:42]Write i2c OK [14:30:42]MH_I2C_Read... [14:30:43]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:30:43]Read from MH i2c: E2 [14:30:43]MH_I2C_Read... [14:30:43]Read from MH i2c: E2 03 00 [14:30:43]MH_I2C_Read... [14:30:43]Read from MH i2c: E2 03 00 F3 02 00 90 00 69 [14:30:43]RAPDU: 90 00 [14:30:43]wFMCommunicate OK [14:30:43]SAM_PROTO_ClearQueue done [14:30:43]KKMCreateOFDPacket [14:30:43]OFDProtocolAddRootSTLVToBuf [14:30:43]FM_MakeSignedData [14:30:43]FM_MakeSignedData [14:30:43]SAM_PROTO_SignData [14:30:43]wFMCommunicate request_size=4 [14:30:43]MH_SAM_APDU [14:30:43]CAPDU: 80 0D 01 02 [14:30:43]Write to MH i2c: E2 08 00 F4 02 80 0D 01 02 00 00 00 00 6F [14:30:43]Write i2c OK [14:30:43]MH_I2C_Read... [14:30:43]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:30:43]Read from MH i2c: E2 [14:30:43]MH_I2C_Read... [14:30:43]Read from MH i2c: E2 03 00 [14:30:43]MH_I2C_Read... [14:30:43]Read from MH i2c: E2 03 00 F4 02 00 90 00 6A [14:30:43]RAPDU: 90 00 [14:30:43]wFMCommunicate OK [14:30:43]wFMCommunicate request_size=255 [14:30:43]MH_SAM_APDU [14:30:43]CAPDU: 80 0D 02 02 FA 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 34 FF 03 08 00 03 D4 35 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 CB 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 80 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 92 EC 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 FF 81 00 00 35 04 06 00 03 F5 8D CA [14:30:43]Write to MH i2c: E2 02 01 F5 02 80 0D 02 02 FA 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 34 FF 03 08 00 03 D4 35 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 CB 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 80 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 92 EC 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 FF 81 00 00 35 04 06 00 03 F5 8D CA 00 00 14 [14:30:43]Write i2c OK [14:30:43]MH_I2C_Read... [14:30:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:30:43]Read from MH i2c: E2 [14:30:43]MH_I2C_Read... [14:30:43]Read from MH i2c: E2 03 00 [14:30:43]MH_I2C_Read... [14:30:43]Read from MH i2c: E2 03 00 F5 02 00 90 00 6B [14:30:43]RAPDU: 90 00 [14:30:43]wFMCommunicate OK [14:30:43]wFMCommunicate request_size=7 [14:30:43]MH_SAM_APDU [14:30:43]CAPDU: 80 0D 02 02 02 05 E3 [14:30:43]Write to MH i2c: E2 0A 00 F6 02 80 0D 02 02 02 00 05 E3 00 00 5E [14:30:43]Write i2c OK [14:30:43]MH_I2C_Read... [14:30:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:30:43]Read from MH i2c: E2 [14:30:43]MH_I2C_Read... [14:30:43]Read from MH i2c: E2 03 00 [14:30:43]MH_I2C_Read... [14:30:43]Read from MH i2c: E2 03 00 F6 02 00 90 00 6C [14:30:43]RAPDU: 90 00 [14:30:43]wFMCommunicate OK [14:30:43]wFMCommunicate request_size=4 [14:30:43]MH_SAM_APDU [14:30:43]CAPDU: 80 0D 03 02 [14:30:43]Write to MH i2c: E2 08 00 F7 02 80 0D 03 02 00 00 00 00 74 [14:30:43]Write i2c OK [14:30:43]MH_I2C_Read... [14:30:43]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:30:43]Read from MH i2c: E2 [14:30:43]MH_I2C_Read... [14:30:43]Read from MH i2c: E2 0B 00 [14:30:43]MH_I2C_Read... [14:30:43]Read from MH i2c: E2 0B 00 F7 02 00 45 11 76 15 3B FA 13 B5 90 00 53 [14:30:43]RAPDU: 45 11 76 15 3B FA 13 B5 90 00 [14:30:43]wFMCommunicate OK [14:30:43]SAM_PROTO_SignData done [14:30:43]FM_MakeSignedData done [14:30:43]CreateOFDProtocolMessage [14:30:43]wFMCommunicate request_size=4 [14:30:43]MH_SAM_APDU [14:30:43]CAPDU: 80 11 00 00 [14:30:43]Write to MH i2c: E2 08 00 F8 02 80 11 00 00 00 00 00 00 74 [14:30:43]Write i2c OK [14:30:43]MH_I2C_Read... [14:30:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:30:43]Read from MH i2c: E2 [14:30:43]MH_I2C_Read... [14:30:43]Read from MH i2c: E2 17 00 [14:30:43]MH_I2C_Read... [14:30:43]Read from MH i2c: E2 17 00 F8 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 C0 [14:30:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [14:30:43]wFMCommunicate OK [14:30:43]CreateOFDProtocolMessage done [14:30:43]OFDSenderStorePacket 33279 [14:30:43]StoreOFDPacket docnum=33279 [14:30:43]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0C 01 00 00 88 56 04 01 F8 94 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 34 FF 03 08 00 03 D4 35 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 CB 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 80 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 92 EC 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 FF 81 00 00 35 04 06 00 03 F5 8D CA 05 E3 45 11 76 15 3B FA 13 B5 [14:30:43]CheckFolder [14:30:43]dirname=/storage/ofd_packets [14:30:43]CheckFolder done [14:30:43]ProducePacketName [14:30:43]name=ofd_packets/00033279 [14:30:43]NVStorageSaveData ofd_packets/00033279 [14:30:43]File name is /storage/ofd_packets/00033279 [14:30:43]Write 298 bytes [14:30:43]NVStorageSaveData done [14:30:43]OFDSenderStorePacket done [14:30:43]KKMCreateOFDPacket done [14:30:43]NVStorageSaveData kkm_last_timestamp [14:30:43]File name is /storage/kkm_last_timestamp [14:30:43]Write 4 bytes [14:30:43]NVStorageSaveData done [14:30:43]ExternCall_PrintAddStr [14:30:43]wPrintStart [14:30:43]Write to MH i2c: 01 00 00 F9 02 FB [14:30:43]Write i2c OK [14:30:43]MH_I2C_Read... [14:30:43]Read from MH i2c: 01 [14:30:43]MH_I2C_Read... [14:30:43]Read from MH i2c: 01 07 00 [14:30:43]MH_I2C_Read... [14:30:43]Read from MH i2c: 01 07 00 F9 02 00 00 00 00 00 FF 0F 10 [14:30:43]RasterBufferAndPrint [14:30:43]line Счет N : (1)5669663 [14:30:43]line ИНН: 02508201610067 [14:30:43]line Контрольно-Кассовый Чек [14:30:43]line ПРОДАЖА [14:30:43]line ТРК (МРК, ГНК) : 14 [14:30:43]line Товар: 2710194210 [14:30:43]line ДТ-К-4 [14:30:43]line 13.780 * 72.60 [14:30:43]line = 1000.43 [14:30:43]line НДС 12% НСП 1% [14:30:43]line > о реализуемом товаре [14:30:43]line ОКРУГЛЕНИЕ: -0.43 [14:30:43]line ИТОГО: 1000.00 [14:30:43]line Внесено: 1000.00 [14:30:43]line СДАЧА: 0.00 [14:30:43]line НСП 1% : 8.85 [14:30:43]line НДС 12% : 106.24 [14:30:43]line Наличными: 1000.00 [14:30:43]line Безнал.: 0.00 [14:30:43]line Место: АЗС № 77 "Партнер Нефть" [14:30:43]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [14:30:43]line СНО: Общий режим [14:30:43]line Чек 34 11.07.2024 14:30 [14:30:43]line Смена: 432 ФФД: 1.0 [14:30:43]line ЗНМ: 0300000122 [14:30:43]line РНМ: 0000000000093033 [14:30:43]line Версия ККМ: 001 [14:30:43]line ФМ: 0000000000875104 [14:30:43]line ФД: 33279 [14:30:43]line ФПД: 4353180698083 [14:30:43]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T143042&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33279&fm=4353180698083&tin=02508201610067®Number=0000000000093033&sum=100000 [14:30:43]OFD Sender: Processing packet 33279 [packets to send 6, broken 5] [14:30:43]ProducePacketName [14:30:43]name=ofd_packets/00033279 [14:30:43]OFD Sender: To server: pG, [14:30:43]CommunicateWithHost lk.salyk.kg:30040 [14:30:43]ConnectInit lk.salyk.kg [14:30:43]written 0, free lines is 4095 [14:30:43]Connected sock=10 [14:30:43]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0C 01 00 00 88 56 04 01 F8 94 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 34 FF 03 08 00 03 D4 35 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 CB 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 80 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 92 EC 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 FF 81 00 00 35 04 06 00 03 F5 8D CA 05 E3 45 11 76 15 3B FA 13 B5 [14:30:44]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 0B 70 47 00 0A C4 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 FF 81 00 00 F4 03 04 00 42 97 8F 66 B6 04 01 00 00 25 EF 83 A4 1A 59 13 6D [14:30:44]CommunicateWithHost err = 0 [14:30:44]CheckOFDResponse [14:30:44]1017 (14) - 77093643461234 [14:30:44]1041 (16) - 0000000000875104 [14:30:44]1040 (4) - 33279 [14:30:44]1012 (4) - 11.07.2024 08:26 [14:30:44]1206 (1) - 0 [14:30:44]OFD Sender: Remove packet 33279 [14:30:44]ProducePacketName [14:30:44]name=ofd_packets/00033279 [14:30:44]NVStorageDeleteData [14:30:44]Write to MH i2c: 01 00 00 24 03 27 [14:30:44]Write i2c OK [14:30:44]MH_I2C_Read... [14:30:44]Read from MH i2c: 01 [14:30:44]MH_I2C_Read... [14:30:44]Read from MH i2c: 01 07 00 [14:30:44]MH_I2C_Read... [14:30:44]Read from MH i2c: 01 07 00 24 03 00 00 00 00 00 D4 0C 0E [14:30:44]RasterBufferAndPrint [14:30:44]line [14:30:44]line [14:30:44]line [14:30:44]line [14:30:44]line [14:30:44]written 0, free lines is 3292 [14:30:44]MH_Cut [14:30:44]Write to MH i2c: D1 01 00 2B 03 01 00 [14:30:44]Write i2c OK [14:30:44]MH_I2C_Read... [14:30:44]Read from MH i2c: D1 [14:30:44]MH_I2C_Read... [14:30:44]Read from MH i2c: D1 01 00 [14:30:44]MH_I2C_Read... [14:30:44]Read from MH i2c: D1 01 00 2B 03 00 FF [14:30:44]Write to MH i2c: 01 00 00 2C 03 2F [14:30:44]Write i2c OK [14:30:44]MH_I2C_Read... [14:30:44]OFD Sender: No OFD packet to send [14:30:45]*** Cut start [14:30:45]*** Partial cut [14:30:45]*** CUTSNS_PIN = 1 [14:30:45]*** CUTSNS_PIN = 0 [14:30:45]*** Brake cut motor [14:30:45]Read from MH i2c: 01 [14:30:45]MH_I2C_Read... [14:30:45]*** Stop cut motor [14:30:45]*** Cut end [14:30:45]Read from MH i2c: 01 07 00 [14:30:45]MH_I2C_Read... [14:30:45]Read from MH i2c: 01 07 00 2C 03 00 00 00 00 00 FF 0F 44 [14:30:45]process_action close_receipt done [14:30:45]requested_data is exist [14:30:45]produce_requested_data [14:30:45]requested_item fm.sn is exist - process it [14:30:45]wFMCommunicate request_size=4 [14:30:45]MH_SAM_APDU [14:30:45]CAPDU: 80 11 00 00 [14:30:45]Write to MH i2c: E2 08 00 2D 03 80 11 00 00 00 00 00 00 AA [14:30:45]Write i2c OK [14:30:45]MH_I2C_Read... [14:30:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:30:45]Read from MH i2c: E2 [14:30:45]MH_I2C_Read... [14:30:45]Read from MH i2c: E2 17 00 [14:30:45]MH_I2C_Read... [14:30:45]Read from MH i2c: E2 17 00 2D 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 F6 [14:30:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [14:30:45]wFMCommunicate OK [14:30:45]requested_item fd.num is exist - process it [14:30:45]SAM_PROTO_GetFieldsCounters [14:30:45]wFMCommunicate request_size=4 [14:30:45]MH_SAM_APDU [14:30:45]CAPDU: 80 13 00 00 [14:30:45]Write to MH i2c: E2 08 00 2E 03 80 13 00 00 00 00 00 00 AD [14:30:45]Write i2c OK [14:30:45]MH_I2C_Read... [14:30:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:30:45]Read from MH i2c: E2 [14:30:45]MH_I2C_Read... [14:30:45]Read from MH i2c: E2 62 00 [14:30:45]MH_I2C_Read... [14:30:45]Read from MH i2c: E2 62 00 2E 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 FF 81 00 00 0E 04 04 00 B0 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 57 [14:30: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 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 FF 81 00 00 0E 04 04 00 B0 01 00 00 12 04 04 00 22 00 00 00 5E 04 04 00 22 00 00 00 57 04 04 00 23 00 00 00 19 04 04 00 00 00 00 00 90 00 [14:30:45]wFMCommunicate OK [14:30:45]SAM_PROTO_GetFieldsCounters done [14:30:45]requested_item shift.num is exist - process it [14:30:45]requested_item shift.opened is exist - process it [14:30:45]req_shift_opened [14:30:45]FM_GetShiftState [14:30:45]SAM_PROTO_GetShiftState [14:30:45]wFMCommunicate request_size=4 [14:30:45]MH_SAM_APDU [14:30:45]CAPDU: 80 13 01 00 [14:30:45]Write to MH i2c: E2 08 00 2F 03 80 13 01 00 00 00 00 00 AF [14:30:45]Write i2c OK [14:30:45]MH_I2C_Read... [14:30:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:30:45]Read from MH i2c: E2 [14:30:45]MH_I2C_Read... [14:30:45]Read from MH i2c: E2 0E 00 [14:30:45]MH_I2C_Read... [14:30:45]Read from MH i2c: E2 0E 00 2F 03 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 E0 [14:30:45]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [14:30:45]wFMCommunicate OK [14:30:45]SAM_PROTO_GetShiftState done [14:30:45]FM_GetShiftState done [14:30:45]req_shift_opened done [14:30:45]requested_item shift.open_date is exist - process it [14:30:45]req_shift_open_date [14:30:45]req_shift_open_date done [14:30:45]produce_requested_data done [14:30:45]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33279,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398} [14:30:45]process_action_free close_receipt [14:30:45]json_value_free [14:30:45]json_value_free done [14:30:45]process_json_proto returns [14:30:45]Send response to host [14:30:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33279,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398}}} [14:30:45]free response buf [14:30:45]execute_script done [14:30:45]execute_script returns [14:30:45]free content buf [14:30:45]Sock 9.Close socket [14:30:45]Sock 9.Thread stoped [14:30:49]OFD Sender: No OFD packet to send [14:30:54]OFD Sender: No OFD packet to send [14:30:59]OFD Sender: No OFD packet to send [14:31:04]OFD Sender: No OFD packet to send [14:31:09]OFD Sender: No OFD packet to send [14:31:14]OFD Sender: No OFD packet to send [14:31:19]OFD Sender: No OFD packet to send [14:31:24]OFD Sender: No OFD packet to send [14:31:29]OFD Sender: No OFD packet to send [14:31:34]OFD Sender: No OFD packet to send [14:31:39]OFD Sender: No OFD packet to send [14:31:44]OFD Sender: No OFD packet to send [14:31:49]OFD Sender: No OFD packet to send [14:31:54]OFD Sender: No OFD packet to send [14:31:59]OFD Sender: No OFD packet to send [14:32:04]OFD Sender: No OFD packet to send [14:32:09]OFD Sender: No OFD packet to send [14:32:13]accept exits with 7 [14:32:13]New connection [14:32:13]New thread 3066936676 created [14:32:13]Thread 3066793316 joined [14:32:13]Waiting for new connection... [14:32:13] Sock 7.Parse request [14:32:13]Sock 7.Check first char [14:32:13]Sock 7.First char is OK [14:32:13]request: POST /json_proto HTTP/1.0 [14:32:13]Method: POST [14:32:13]URL: /json_proto [14:32:13]Method is POST - this is cgi request [14:32:13]url: /json_proto [14:32:13]query_string will be loaded in cgi processing [14:32:13]execute_cgi json_proto POST (null) [14:32:13]execute_cgi path=json_proto method=POST [14:32:13]POST find Content-Length [14:32:13]Host: 172.17.35.196:8080 [14:32:13]Content-Length: 678 [14:32:13]Content-Type: application/json [14:32:13] [14:32:13]POST finish read [14:32:13]Found Content-Length = 678 [14:32:13]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)5669666", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 23", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.30, "quantity" : 7.550, "sum" : 500.57, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:32:13]execute_script... [14:32:13]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)5669666", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 23", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.30, "quantity" : 7.550, "sum" : 500.57, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:32:13]POST & json_proto [14:32:13]process_json_proto [14:32:13]json parsed OK: [14:32:13]protocol is kg_v1.0 [14:32:13]action value=close_receipt [14:32:13]process_action close_receipt [14:32:13]cmd_close_receipt [14:32:13]MH_GetDate [14:32:13]Write to MH i2c: F0 00 00 30 03 22 [14:32:13]Write i2c OK [14:32:13]MH_I2C_Read... [14:32:13]Read from MH i2c: F0 [14:32:13]MH_I2C_Read... [14:32:13]Read from MH i2c: F0 09 00 [14:32:13]MH_I2C_Read... [14:32:13]Read from MH i2c: F0 09 00 30 03 00 EE EC 8F 66 AD 14 F4 65 14 [14:32:13]GetLastDocTimeStamp 1720708242 [14:32:13]current date 1720708334 [14:32:13]FM_GetShiftState [14:32:13]SAM_PROTO_GetShiftState [14:32:13]wFMCommunicate request_size=4 [14:32:13]MH_SAM_APDU [14:32:13]CAPDU: 80 13 01 00 [14:32:13]Write to MH i2c: E2 08 00 31 03 80 13 01 00 00 00 00 00 B1 [14:32:13]Write i2c OK [14:32:13]MH_I2C_Read... [14:32:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:32:13]Read from MH i2c: E2 [14:32:13]MH_I2C_Read... [14:32:13]Read from MH i2c: E2 0E 00 [14:32:13]MH_I2C_Read... [14:32:13]Read from MH i2c: E2 0E 00 31 03 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 E2 [14:32:13]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [14:32:13]wFMCommunicate OK [14:32:13]SAM_PROTO_GetShiftState done [14:32:13]FM_GetShiftState done [14:32:13]opened in 1720656398 [14:32:13]opened+sec_in_day 1720742798 [14:32:13]quantity*price = 50056 [14:32:13]sum+1 = 50058 [14:32:13]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.57 ИТОГО: 500.00 Внесено: 500.00 СДАЧА: 0.00 НСП 1% : 4.43 НДС 12% : 53.16 Наличными: 500.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 35 11.07.2024 14:32 Смена: 432 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33280 ФПД: 88308688259302 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T143214&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33280&fm=88308688259302&tin=02508201610067®Number=0000000000093033&sum=50000 [14:32:14]StoreToDocumentArchive [14:32:14]shift 432 fd 33280 [14:32:14]save to /storage/0432/doc_00033280 [14:32:14]save last doc name /storage/0432/doc_00033280 to /storage/kkm_last_doc_name [14:32:14]save OK [14:32:14]Clear old archive folders... [14:32:14]ProcessDocumentItem done err = 0, tmpTLVsize=251 [14:32:14]tlvbuf is 01C90D50 [14:32:14]SAM_PROTO_ClearQueue [14:32:14]wFMCommunicate request_size=4 [14:32:14]MH_SAM_APDU [14:32:14]CAPDU: 80 09 00 00 [14:32:14]Write to MH i2c: E2 08 00 3E 03 80 09 00 00 00 00 00 00 B3 [14:32:14]Write i2c OK [14:32:14]MH_I2C_Read... [14:32:14]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:32:14]Read from MH i2c: E2 [14:32:14]MH_I2C_Read... [14:32:14]Read from MH i2c: E2 03 00 [14:32:14]MH_I2C_Read... [14:32:14]Read from MH i2c: E2 03 00 3E 03 00 90 00 B5 [14:32:14]RAPDU: 90 00 [14:32:14]wFMCommunicate OK [14:32:14]SAM_PROTO_ClearQueue done [14:32:14]KKMCreateOFDPacket [14:32:14]OFDProtocolAddRootSTLVToBuf [14:32:14]FM_MakeSignedData [14:32:14]FM_MakeSignedData [14:32:14]SAM_PROTO_SignData [14:32:14]wFMCommunicate request_size=4 [14:32:14]MH_SAM_APDU [14:32:14]CAPDU: 80 0D 01 02 [14:32:14]Write to MH i2c: E2 08 00 3F 03 80 0D 01 02 00 00 00 00 BB [14:32:14]Write i2c OK [14:32:14]MH_I2C_Read... [14:32:14]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:32:14]Read from MH i2c: E2 [14:32:14]MH_I2C_Read... [14:32:14]Read from MH i2c: E2 03 00 [14:32:14]MH_I2C_Read... [14:32:14]Read from MH i2c: E2 03 00 3F 03 00 90 00 B6 [14:32:14]RAPDU: 90 00 [14:32:14]wFMCommunicate OK [14:32:14]wFMCommunicate request_size=255 [14:32:14]MH_SAM_APDU [14:32:14]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 7E 1D 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 89 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 14 00 00 00 00 07 04 06 00 50 C3 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 EE EC 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 00 82 00 00 35 04 06 00 50 [14:32:14]Write to MH i2c: E2 02 01 40 03 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 7E 1D 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 89 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 14 00 00 00 00 07 04 06 00 50 C3 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 EE EC 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 00 82 00 00 35 04 06 00 50 00 00 CC [14:32:14]Write i2c OK [14:32:14]MH_I2C_Read... [14:32:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:32:15]Read from MH i2c: E2 [14:32:15]MH_I2C_Read... [14:32:15]Read from MH i2c: E2 03 00 [14:32:15]MH_I2C_Read... [14:32:15]Read from MH i2c: E2 03 00 40 03 00 90 00 B7 [14:32:15]RAPDU: 90 00 [14:32:15]wFMCommunicate OK [14:32:15]wFMCommunicate request_size=10 [14:32:15]MH_SAM_APDU [14:32:15]CAPDU: 80 0D 02 02 05 50 F7 FE 88 E6 [14:32:15]Write to MH i2c: E2 0D 00 41 03 80 0D 02 02 05 00 50 F7 FE 88 E6 00 00 7B [14:32:15]Write i2c OK [14:32:15]MH_I2C_Read... [14:32:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:32:15]Read from MH i2c: E2 [14:32:15]MH_I2C_Read... [14:32:15]Read from MH i2c: E2 03 00 [14:32:15]MH_I2C_Read... [14:32:15]Read from MH i2c: E2 03 00 41 03 00 90 00 B8 [14:32:15]RAPDU: 90 00 [14:32:15]wFMCommunicate OK [14:32:15]wFMCommunicate request_size=4 [14:32:15]MH_SAM_APDU [14:32:15]CAPDU: 80 0D 03 02 [14:32:15]Write to MH i2c: E2 08 00 42 03 80 0D 03 02 00 00 00 00 C0 [14:32:15]Write i2c OK [14:32:15]MH_I2C_Read... [14:32:15]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:32:15]Read from MH i2c: E2 [14:32:15]MH_I2C_Read... [14:32:15]Read from MH i2c: E2 0B 00 [14:32:15]MH_I2C_Read... [14:32:15]Read from MH i2c: E2 0B 00 42 03 00 5F 1F 5A C1 E4 75 7F FE 90 00 30 [14:32:15]RAPDU: 5F 1F 5A C1 E4 75 7F FE 90 00 [14:32:15]wFMCommunicate OK [14:32:15]SAM_PROTO_SignData done [14:32:15]FM_MakeSignedData done [14:32:15]CreateOFDProtocolMessage [14:32:15]wFMCommunicate request_size=4 [14:32:15]MH_SAM_APDU [14:32:15]CAPDU: 80 11 00 00 [14:32:15]Write to MH i2c: E2 08 00 43 03 80 11 00 00 00 00 00 00 C0 [14:32:15]Write i2c OK [14:32:15]MH_I2C_Read... [14:32:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:32:15]Read from MH i2c: E2 [14:32:15]MH_I2C_Read... [14:32:15]Read from MH i2c: E2 17 00 [14:32:15]MH_I2C_Read... [14:32:15]Read from MH i2c: E2 17 00 43 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 0C [14:32:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [14:32:15]wFMCommunicate OK [14:32:15]CreateOFDProtocolMessage done [14:32:15]OFDSenderStorePacket 33280 [14:32:15]StoreOFDPacket docnum=33280 [14:32:15]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0F 01 00 00 17 E7 07 01 05 6C 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 7E 1D 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 89 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 14 00 00 00 00 07 04 06 00 50 C3 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 EE EC 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 00 82 00 00 35 04 06 00 50 50 F7 FE 88 E6 5F 1F 5A C1 E4 75 7F FE [14:32:15]CheckFolder [14:32:15]dirname=/storage/ofd_packets [14:32:15]CheckFolder done [14:32:15]ProducePacketName [14:32:15]name=ofd_packets/00033280 [14:32:15]NVStorageSaveData ofd_packets/00033280 [14:32:15]File name is /storage/ofd_packets/00033280 [14:32:15]Write 301 bytes [14:32:15]NVStorageSaveData done [14:32:15]OFDSenderStorePacket done [14:32:15]KKMCreateOFDPacket done [14:32:15]NVStorageSaveData kkm_last_timestamp [14:32:15]File name is /storage/kkm_last_timestamp [14:32:15]Write 4 bytes [14:32:15]NVStorageSaveData done [14:32:15]ExternCall_PrintAddStr [14:32:15]wPrintStart [14:32:15]Write to MH i2c: 01 00 00 44 03 47 [14:32:15]Write i2c OK [14:32:15]MH_I2C_Read... [14:32:15]Read from MH i2c: 01 [14:32:15]MH_I2C_Read... [14:32:15]Read from MH i2c: 01 07 00 [14:32:15]MH_I2C_Read... [14:32:15]Read from MH i2c: 01 07 00 44 03 00 00 00 00 00 FF 0F 5C [14:32:15]RasterBufferAndPrint [14:32:15]line Счет N : (1)5669666 [14:32:15]line ИНН: 02508201610067 [14:32:15]line Контрольно-Кассовый Чек [14:32:15]line ПРОДАЖА [14:32:15]line ТРК (МРК, ГНК) : 23 [14:32:15]line Товар: 2710124130 [14:32:15]line Аи-92-К-5 [14:32:15]line 7.550 * 66.30 [14:32:15]line = 500.57 [14:32:15]line НДС 12% НСП 1% [14:32:15]line > о реализуемом товаре [14:32:15]line ОКРУГЛЕНИЕ: -0.57 [14:32:15]line ИТОГО: 500.00 [14:32:15]line Внесено: 500.00 [14:32:15]line СДАЧА: 0.00 [14:32:15]line НСП 1% : 4.43 [14:32:15]line НДС 12% : 53.16 [14:32:15]line Наличными: 500.00 [14:32:15]line Безнал.: 0.00 [14:32:15]line Место: АЗС № 77 "Партнер Нефть" [14:32:15]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [14:32:15]line СНО: Общий режим [14:32:15]line Чек 35 11.07.2024 14:32 [14:32:15]line Смена: 432 ФФД: 1.0 [14:32:15]line ЗНМ: 0300000122 [14:32:15]line РНМ: 0000000000093033 [14:32:15]line Версия ККМ: 001 [14:32:15]line ФМ: 0000000000875104 [14:32:15]line ФД: 33280 [14:32:15]line ФПД: 88308688259302 [14:32:15]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T143214&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33280&fm=88308688259302&tin=02508201610067®Number=0000000000093033&sum=50000 [14:32:15]OFD Sender: Processing packet 33280 [packets to send 6, broken 5] [14:32:15]ProducePacketName [14:32:15]name=ofd_packets/00033280 [14:32:15]OFD Sender: To server: pG, [14:32:15]CommunicateWithHost lk.salyk.kg:30040 [14:32:15]ConnectInit lk.salyk.kg [14:32:15]written 0, free lines is 4095 [14:32:15]Connected sock=10 [14:32:15]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0F 01 00 00 17 E7 07 01 05 6C 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 7E 1D 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 89 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 14 00 00 00 00 07 04 06 00 50 C3 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 EE EC 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 00 82 00 00 35 04 06 00 50 50 F7 FE 88 E6 5F 1F 5A C1 E4 75 7F FE [14:32:15]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 66 93 47 00 0F 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 35 31 30 34 10 04 04 00 00 82 00 00 F4 03 04 00 9E 97 8F 66 B6 04 01 00 00 EA CD A3 64 C8 71 69 27 [14:32:15]CommunicateWithHost err = 0 [14:32:15]CheckOFDResponse [14:32:15]1017 (14) - 77093643461234 [14:32:15]1041 (16) - 0000000000875104 [14:32:15]1040 (4) - 33280 [14:32:15]1012 (4) - 11.07.2024 08:28 [14:32:15]1206 (1) - 0 [14:32:15]OFD Sender: Remove packet 33280 [14:32:15]ProducePacketName [14:32:15]name=ofd_packets/00033280 [14:32:15]NVStorageDeleteData [14:32:16]Write to MH i2c: 01 00 00 6F 03 72 [14:32:16]Write i2c OK [14:32:16]MH_I2C_Read... [14:32:16]Read from MH i2c: 01 [14:32:16]MH_I2C_Read... [14:32:16]Read from MH i2c: 01 07 00 [14:32:16]MH_I2C_Read... [14:32:16]Read from MH i2c: 01 07 00 6F 03 00 00 00 00 00 D8 0C 5D [14:32:16]RasterBufferAndPrint [14:32:16]line [14:32:16]line [14:32:16]line [14:32:16]line [14:32:16]line [14:32:16]written 0, free lines is 3293 [14:32:16]MH_Cut [14:32:16]Write to MH i2c: D1 01 00 76 03 01 4B [14:32:16]Write i2c OK [14:32:16]MH_I2C_Read... [14:32:16]Read from MH i2c: D1 [14:32:16]MH_I2C_Read... [14:32:16]Read from MH i2c: D1 01 00 [14:32:16]MH_I2C_Read... [14:32:16]Read from MH i2c: D1 01 00 76 03 00 4A [14:32:16]Write to MH i2c: 01 00 00 77 03 7A [14:32:16]Write i2c OK [14:32:16]MH_I2C_Read... [14:32:16]OFD Sender: No OFD packet to send [14:32:16]*** Cut start [14:32:16]*** Partial cut [14:32:16]*** CUTSNS_PIN = 1 [14:32:16]*** CUTSNS_PIN = 0 [14:32:17]*** Brake cut motor [14:32:17]Read from MH i2c: 01 [14:32:17]MH_I2C_Read... [14:32:17]*** Stop cut motor [14:32:17]*** Cut end [14:32:17]Read from MH i2c: 01 07 00 [14:32:17]MH_I2C_Read... [14:32:17]Read from MH i2c: 01 07 00 77 03 00 00 00 00 00 FF 0F 8F [14:32:17]process_action close_receipt done [14:32:17]requested_data is exist [14:32:17]produce_requested_data [14:32:17]requested_item fm.sn is exist - process it [14:32:17]wFMCommunicate request_size=4 [14:32:17]MH_SAM_APDU [14:32:17]CAPDU: 80 11 00 00 [14:32:17]Write to MH i2c: E2 08 00 78 03 80 11 00 00 00 00 00 00 F5 [14:32:17]Write i2c OK [14:32:17]MH_I2C_Read... [14:32:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:32:17]Read from MH i2c: E2 [14:32:17]MH_I2C_Read... [14:32:17]Read from MH i2c: E2 17 00 [14:32:17]MH_I2C_Read... [14:32:17]Read from MH i2c: E2 17 00 78 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 41 [14:32:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [14:32:17]wFMCommunicate OK [14:32:17]requested_item fd.num is exist - process it [14:32:17]SAM_PROTO_GetFieldsCounters [14:32:17]wFMCommunicate request_size=4 [14:32:17]MH_SAM_APDU [14:32:17]CAPDU: 80 13 00 00 [14:32:17]Write to MH i2c: E2 08 00 79 03 80 13 00 00 00 00 00 00 F8 [14:32:17]Write i2c OK [14:32:17]MH_I2C_Read... [14:32:17]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:32:17]Read from MH i2c: E2 [14:32:17]MH_I2C_Read... [14:32:17]Read from MH i2c: E2 62 00 [14:32:17]MH_I2C_Read... [14:32:17]Read from MH i2c: E2 62 00 79 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 00 82 00 00 0E 04 04 00 B0 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 A7 [14:32: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 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 00 82 00 00 0E 04 04 00 B0 01 00 00 12 04 04 00 23 00 00 00 5E 04 04 00 23 00 00 00 57 04 04 00 24 00 00 00 19 04 04 00 00 00 00 00 90 00 [14:32:17]wFMCommunicate OK [14:32:17]SAM_PROTO_GetFieldsCounters done [14:32:17]requested_item shift.num is exist - process it [14:32:17]requested_item shift.opened is exist - process it [14:32:17]req_shift_opened [14:32:17]FM_GetShiftState [14:32:17]SAM_PROTO_GetShiftState [14:32:17]wFMCommunicate request_size=4 [14:32:17]MH_SAM_APDU [14:32:17]CAPDU: 80 13 01 00 [14:32:17]Write to MH i2c: E2 08 00 7A 03 80 13 01 00 00 00 00 00 FA [14:32:17]Write i2c OK [14:32:17]MH_I2C_Read... [14:32:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:32:17]Read from MH i2c: E2 [14:32:17]MH_I2C_Read... [14:32:17]Read from MH i2c: E2 0E 00 [14:32:17]MH_I2C_Read... [14:32:17]Read from MH i2c: E2 0E 00 7A 03 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 2B [14:32:17]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [14:32:17]wFMCommunicate OK [14:32:17]SAM_PROTO_GetShiftState done [14:32:17]FM_GetShiftState done [14:32:17]req_shift_opened done [14:32:17]requested_item shift.open_date is exist - process it [14:32:17]req_shift_open_date [14:32:17]req_shift_open_date done [14:32:17]produce_requested_data done [14:32:17]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33280,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398} [14:32:17]process_action_free close_receipt [14:32:17]json_value_free [14:32:17]json_value_free done [14:32:17]process_json_proto returns [14:32:17]Send response to host [14:32:17]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33280,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398}}} [14:32:17]free response buf [14:32:17]execute_script done [14:32:17]execute_script returns [14:32:17]free content buf [14:32:17]Sock 7.Close socket [14:32:17]Sock 7.Thread stoped [14:32:21]OFD Sender: No OFD packet to send [14:32:26]OFD Sender: No OFD packet to send [14:32:31]OFD Sender: No OFD packet to send [14:32:36]OFD Sender: No OFD packet to send [14:32:41]OFD Sender: No OFD packet to send [14:32:46]OFD Sender: No OFD packet to send [14:32:51]OFD Sender: No OFD packet to send [14:32:56]OFD Sender: No OFD packet to send [14:33:01]OFD Sender: No OFD packet to send [14:33:06]OFD Sender: No OFD packet to send [14:33:11]OFD Sender: No OFD packet to send [14:33:16]OFD Sender: No OFD packet to send [14:33:21]OFD Sender: No OFD packet to send [14:33:26]OFD Sender: No OFD packet to send [14:33:31]OFD Sender: No OFD packet to send [14:33:36]OFD Sender: No OFD packet to send [14:33:41]OFD Sender: No OFD packet to send [14:33:46]OFD Sender: No OFD packet to send [14:33:51]OFD Sender: No OFD packet to send [14:33:56]OFD Sender: No OFD packet to send [14:34:01]OFD Sender: No OFD packet to send [14:34:06]OFD Sender: No OFD packet to send [14:34:11]OFD Sender: No OFD packet to send [14:34:16]OFD Sender: No OFD packet to send [14:34:21]OFD Sender: No OFD packet to send [14:34:26]OFD Sender: No OFD packet to send [14:34:31]OFD Sender: No OFD packet to send [14:34:36]OFD Sender: No OFD packet to send [14:34:41]OFD Sender: No OFD packet to send [14:34:46]OFD Sender: No OFD packet to send [14:34:51]OFD Sender: No OFD packet to send [14:34:56]OFD Sender: No OFD packet to send [14:35:01]OFD Sender: No OFD packet to send [14:35:06]OFD Sender: No OFD packet to send [14:35:11]OFD Sender: No OFD packet to send [14:35:16]OFD Sender: No OFD packet to send [14:35:21]OFD Sender: No OFD packet to send [14:35:26]OFD Sender: No OFD packet to send [14:35:31]OFD Sender: No OFD packet to send [14:35:36]OFD Sender: No OFD packet to send [14:35:41]OFD Sender: No OFD packet to send [14:35:46]OFD Sender: No OFD packet to send [14:35:51]OFD Sender: No OFD packet to send [14:35:56]OFD Sender: No OFD packet to send [14:36:01]OFD Sender: No OFD packet to send [14:36:06]OFD Sender: No OFD packet to send [14:36:11]OFD Sender: No OFD packet to send [14:36:16]OFD Sender: No OFD packet to send [14:36:21]OFD Sender: No OFD packet to send [14:36:26]OFD Sender: No OFD packet to send [14:36:31]OFD Sender: No OFD packet to send [14:36:36]OFD Sender: No OFD packet to send [14:36:41]OFD Sender: No OFD packet to send [14:36:46]OFD Sender: No OFD packet to send [14:36:51]OFD Sender: No OFD packet to send [14:36:56]OFD Sender: No OFD packet to send [14:37:01]OFD Sender: No OFD packet to send [14:37:06]OFD Sender: No OFD packet to send [14:37:11]OFD Sender: No OFD packet to send [14:37:16]OFD Sender: No OFD packet to send [14:37:21]OFD Sender: No OFD packet to send [14:37:26]OFD Sender: No OFD packet to send [14:37:31]OFD Sender: No OFD packet to send [14:37:36]OFD Sender: No OFD packet to send [14:37:41]OFD Sender: No OFD packet to send [14:37:46]OFD Sender: No OFD packet to send [14:37:51]OFD Sender: No OFD packet to send [14:37:56]OFD Sender: No OFD packet to send [14:38:01]OFD Sender: No OFD packet to send [14:38:06]OFD Sender: No OFD packet to send [14:38:11]OFD Sender: No OFD packet to send [14:38:16]OFD Sender: No OFD packet to send [14:38:21]OFD Sender: No OFD packet to send [14:38:26]OFD Sender: No OFD packet to send [14:38:31]OFD Sender: No OFD packet to send [14:38:36]OFD Sender: No OFD packet to send [14:38:41]OFD Sender: No OFD packet to send [14:38:46]OFD Sender: No OFD packet to send [14:38:51]OFD Sender: No OFD packet to send [14:38:56]OFD Sender: No OFD packet to send [14:39:01]OFD Sender: No OFD packet to send [14:39:06]OFD Sender: No OFD packet to send [14:39:11]OFD Sender: No OFD packet to send [14:39:16]OFD Sender: No OFD packet to send [14:39:21]OFD Sender: No OFD packet to send [14:39:26]OFD Sender: No OFD packet to send [14:39:31]OFD Sender: No OFD packet to send [14:39:36]OFD Sender: No OFD packet to send [14:39:41]OFD Sender: No OFD packet to send [14:39:46]OFD Sender: No OFD packet to send [14:39:51]OFD Sender: No OFD packet to send [14:39:56]OFD Sender: No OFD packet to send [14:40:01]OFD Sender: No OFD packet to send [14:40:06]OFD Sender: No OFD packet to send [14:40:11]OFD Sender: No OFD packet to send [14:40:16]OFD Sender: No OFD packet to send [14:40:21]OFD Sender: No OFD packet to send [14:40:26]OFD Sender: No OFD packet to send [14:40:31]OFD Sender: No OFD packet to send [14:40:36]OFD Sender: No OFD packet to send [14:40:41]OFD Sender: No OFD packet to send [14:40:46]OFD Sender: No OFD packet to send [14:40:51]OFD Sender: No OFD packet to send [14:40:56]accept exits with 9 [14:40:56]New connection [14:40:56]New thread 3066793316 created [14:40:56]Thread 3066936676 joined [14:40:56]Waiting for new connection... [14:40:56] Sock 9.Parse request [14:40:56]Sock 9.Check first char [14:40:56]Sock 9.First char is OK [14:40:56]request: POST /json_proto HTTP/1.0 [14:40:56]Method: POST [14:40:56]URL: /json_proto [14:40:56]Method is POST - this is cgi request [14:40:56]url: /json_proto [14:40:56]query_string will be loaded in cgi processing [14:40:56]execute_cgi json_proto POST (null) [14:40:56]execute_cgi path=json_proto method=POST [14:40:56]POST find Content-Length [14:40:56]Host: 172.17.35.196:8080 [14:40:56]Content-Length: 1152 [14:40:56]Content-Type: application/json [14:40:56] [14:40:56]POST finish read [14:40:56]Found Content-Length = 1152 [14:40:56]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "print_text", "params" : { "text" : " *****\u0422\u041E\u0412\u0410\u0420\u041D\u042B\u0419 \u0427\u0415\u041A*****\u000A \u0410\u0417\u0421 77\u000A \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u043D\u0435\u0444\u0442\u044C\u000A 02508201610067\u000A\u041A\u0430\u0441\u0441\u0438\u0440 : \u0410\u0448\u0438\u0440\u043E\u0432\u0430 \u0414. \u000A\u0421\u0447\u0435\u0442 N : (1)5669676\u000A11.07.2024 14:34\u000A \u041F\u0420\u041E\u0414\u0410\u0416\u0410\u000A\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A): 13\u000A\u0412\u0438\u0434 \u0413\u0421\u041C : 2710124130\u000A\u0410\u0438-92-\u041A-5\u000A 20.000 x 66.30\u000A\u0418\u0422\u041E\u0413: 1326.00\u000A\u0422\u0438\u043F \u043E\u043F\u043B\u0430\u0442\u044B: \u0422\u0430\u043B\u043E\u043D\u044B: \u0422\u041A \u0413\u041F\u041D\u0410 Online\u000A30102281\u000A ______________________\u000A (\u043F\u043E\u0434\u043F\u0438\u0441\u044C)" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:40:56]execute_script... [14:40:56]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "print_text", "params" : { "text" : " *****\u0422\u041E\u0412\u0410\u0420\u041D\u042B\u0419 \u0427\u0415\u041A*****\u000A \u0410\u0417\u0421 77\u000A \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u043D\u0435\u0444\u0442\u044C\u000A 02508201610067\u000A\u041A\u0430\u0441\u0441\u0438\u0440 : \u0410\u0448\u0438\u0440\u043E\u0432\u0430 \u0414. \u000A\u0421\u0447\u0435\u0442 N : (1)5669676\u000A11.07.2024 14:34\u000A \u041F\u0420\u041E\u0414\u0410\u0416\u0410\u000A\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A): 13\u000A\u0412\u0438\u0434 \u0413\u0421\u041C : 2710124130\u000A\u0410\u0438-92-\u041A-5\u000A 20.000 x 66.30\u000A\u0418\u0422\u041E\u0413: 1326.00\u000A\u0422\u0438\u043F \u043E\u043F\u043B\u0430\u0442\u044B: \u0422\u0430\u043B\u043E\u043D\u044B: \u0422\u041A \u0413\u041F\u041D\u0410 Online\u000A30102281\u000A ______________________\u000A (\u043F\u043E\u0434\u043F\u0438\u0441\u044C)" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:40:56]POST & json_proto [14:40:56]process_json_proto [14:40:56]json parsed OK: [14:40:56]protocol is kg_v1.0 [14:40:56]action value=print_text [14:40:56]process_action print_text [14:40:56]cmd_print_text [14:40:56]ExternCall_PrintAddStr [14:40:56]wPrintStart [14:40:56]Write to MH i2c: 01 00 00 7B 03 7E [14:40:56]Write i2c OK [14:40:56]MH_I2C_Read... [14:40:56]Read from MH i2c: 01 [14:40:56]MH_I2C_Read... [14:40:56]Read from MH i2c: 01 07 00 [14:40:56]MH_I2C_Read... [14:40:56]Read from MH i2c: 01 07 00 7B 03 00 00 00 00 00 FF 0F 93 [14:40:56]RasterBufferAndPrint [14:40:56]line *****ТОВАРНЫЙ ЧЕК***** [14:40:56]line АЗС 77 [14:40:56]line Партнер нефть [14:40:56]line 02508201610067 [14:40:56]line Кассир : Аширова Д. [14:40:56]line Счет N : (1)5669676 [14:40:56]line 11.07.2024 14:34 [14:40:56]line ПРОДАЖА [14:40:56]line ТРК (МРК, ГНК): 13 [14:40:56]line Вид ГСМ : 2710124130 [14:40:56]line Аи-92-К-5 [14:40:56]line 20.000 x 66.30 [14:40:56]line ИТОГ: 1326.00 [14:40:56]line Тип оплаты: Талоны: ТК ГПНА Online [14:40:56]line 30102281 [14:40:56]line ______________________ [14:40:56]line (подпись) [14:40:56]written 0, free lines is 4095 [14:40:56]Write to MH i2c: 01 00 00 8F 03 92 [14:40:56]Write i2c OK [14:40:56]MH_I2C_Read... [14:40:56]Read from MH i2c: 01 [14:40:56]MH_I2C_Read... [14:40:56]Read from MH i2c: 01 07 00 [14:40:56]MH_I2C_Read... [14:40:56]Read from MH i2c: 01 07 00 8F 03 00 00 00 00 00 0F 0E B6 [14:40:56]RasterBufferAndPrint [14:40:56]line [14:40:56]line [14:40:56]line [14:40:56]line [14:40:56]line [14:40:56]written 0, free lines is 3600 [14:40:56]MH_Cut [14:40:56]Write to MH i2c: D1 01 00 96 03 01 6B [14:40:56]Write i2c OK [14:40:56]MH_I2C_Read... [14:40:56]Read from MH i2c: D1 [14:40:56]MH_I2C_Read... [14:40:56]Read from MH i2c: D1 01 00 [14:40:56]MH_I2C_Read... [14:40:56]Read from MH i2c: D1 01 00 96 03 00 6A [14:40:56]Write to MH i2c: 01 00 00 97 03 9A [14:40:56]Write i2c OK [14:40:56]MH_I2C_Read... [14:40:56]*** Cut start [14:40:56]*** Partial cut [14:40:56]*** CUTSNS_PIN = 1 [14:40:56]*** CUTSNS_PIN = 0 [14:40:56]OFD Sender: No OFD packet to send [14:40:57]*** Brake cut motor [14:40:57]Read from MH i2c: 01 [14:40:57]MH_I2C_Read... [14:40:57]Read from MH i2c: 01 07 00 [14:40:57]MH_I2C_Read... [14:40:57]*** Stop cut motor [14:40:57]*** Cut end [14:40:57]Read from MH i2c: 01 07 00 97 03 00 00 00 00 00 FF 0F AF [14:40:57]process_action print_text done [14:40:57]requested_data is exist [14:40:57]produce_requested_data [14:40:57]requested_item fm.sn is exist - process it [14:40:57]wFMCommunicate request_size=4 [14:40:57]MH_SAM_APDU [14:40:57]CAPDU: 80 11 00 00 [14:40:57]Write to MH i2c: E2 08 00 98 03 80 11 00 00 00 00 00 00 15 [14:40:57]Write i2c OK [14:40:57]MH_I2C_Read... [14:40:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:40:57]Read from MH i2c: E2 [14:40:57]MH_I2C_Read... [14:40:57]Read from MH i2c: E2 17 00 [14:40:57]MH_I2C_Read... [14:40:57]Read from MH i2c: E2 17 00 98 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 61 [14:40:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [14:40:57]wFMCommunicate OK [14:40:57]requested_item fd.num is exist - process it [14:40:57]SAM_PROTO_GetFieldsCounters [14:40:57]wFMCommunicate request_size=4 [14:40:57]MH_SAM_APDU [14:40:57]CAPDU: 80 13 00 00 [14:40:57]Write to MH i2c: E2 08 00 99 03 80 13 00 00 00 00 00 00 18 [14:40:57]Write i2c OK [14:40:57]MH_I2C_Read... [14:40:57]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:40:57]Read from MH i2c: E2 [14:40:57]MH_I2C_Read... [14:40:57]Read from MH i2c: E2 62 00 [14:40:57]MH_I2C_Read... [14:40:57]Read from MH i2c: E2 62 00 99 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 00 82 00 00 0E 04 04 00 B0 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 C7 [14:40:57]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 00 82 00 00 0E 04 04 00 B0 01 00 00 12 04 04 00 23 00 00 00 5E 04 04 00 23 00 00 00 57 04 04 00 24 00 00 00 19 04 04 00 00 00 00 00 90 00 [14:40:57]wFMCommunicate OK [14:40:57]SAM_PROTO_GetFieldsCounters done [14:40:57]requested_item shift.num is exist - process it [14:40:57]requested_item shift.opened is exist - process it [14:40:57]req_shift_opened [14:40:57]FM_GetShiftState [14:40:57]SAM_PROTO_GetShiftState [14:40:57]wFMCommunicate request_size=4 [14:40:57]MH_SAM_APDU [14:40:57]CAPDU: 80 13 01 00 [14:40:57]Write to MH i2c: E2 08 00 9A 03 80 13 01 00 00 00 00 00 1A [14:40:57]Write i2c OK [14:40:57]MH_I2C_Read... [14:40:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:40:57]Read from MH i2c: E2 [14:40:57]MH_I2C_Read... [14:40:57]Read from MH i2c: E2 0E 00 [14:40:57]MH_I2C_Read... [14:40:57]Read from MH i2c: E2 0E 00 9A 03 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 4B [14:40:57]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [14:40:57]wFMCommunicate OK [14:40:57]SAM_PROTO_GetShiftState done [14:40:57]FM_GetShiftState done [14:40:57]req_shift_opened done [14:40:57]requested_item shift.open_date is exist - process it [14:40:57]req_shift_open_date [14:40:57]req_shift_open_date done [14:40:57]produce_requested_data done [14:40:57]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33280,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398} [14:40:57]process_action_free print_text [14:40:57]json_value_free [14:40:57]json_value_free done [14:40:57]process_json_proto returns [14:40:57]Send response to host [14:40:57]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33280,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398}}} [14:40:57]free response buf [14:40:57]execute_script done [14:40:57]execute_script returns [14:40:57]free content buf [14:40:57]Sock 9.Close socket [14:40:57]Sock 9.Thread stoped [14:41:01]OFD Sender: No OFD packet to send [14:41:06]OFD Sender: No OFD packet to send [14:41:11]OFD Sender: No OFD packet to send [14:41:16]OFD Sender: No OFD packet to send [14:41:21]OFD Sender: No OFD packet to send [14:41:26]OFD Sender: No OFD packet to send [14:41:31]OFD Sender: No OFD packet to send [14:41:32]accept exits with 7 [14:41:32]New connection [14:41:32]New thread 3066936676 created [14:41:32]Thread 3066793316 joined [14:41:32]Waiting for new connection... [14:41:32] Sock 7.Parse request [14:41:32]Sock 7.Check first char [14:41:32]Sock 7.First char is OK [14:41:32]request: POST /json_proto HTTP/1.0 [14:41:32]Method: POST [14:41:32]URL: /json_proto [14:41:32]Method is POST - this is cgi request [14:41:32]url: /json_proto [14:41:32]query_string will be loaded in cgi processing [14:41:32]execute_cgi json_proto POST (null) [14:41:32]execute_cgi path=json_proto method=POST [14:41:32]POST find Content-Length [14:41:32]Host: 172.17.35.196:8080 [14:41:32]Content-Length: 674 [14:41:32]Content-Type: application/json [14:41:32] [14:41:32]POST finish read [14:41:32]Found Content-Length = 674 [14:41:32]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)5669677", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.30, "quantity" : 1.210, "sum" : 80.22, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 80.00, "total" : 80.00, "payments": [ { "type": 0, "sum" : 80.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:41:32]execute_script... [14:41:32]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)5669677", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.30, "quantity" : 1.210, "sum" : 80.22, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 80.00, "total" : 80.00, "payments": [ { "type": 0, "sum" : 80.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:41:32]POST & json_proto [14:41:32]process_json_proto [14:41:32]json parsed OK: [14:41:32]protocol is kg_v1.0 [14:41:32]action value=close_receipt [14:41:32]process_action close_receipt [14:41:32]cmd_close_receipt [14:41:32]MH_GetDate [14:41:32]Write to MH i2c: F0 00 00 9B 03 8D [14:41:32]Write i2c OK [14:41:32]MH_I2C_Read... [14:41:32]Read from MH i2c: F0 [14:41:32]MH_I2C_Read... [14:41:32]Read from MH i2c: F0 09 00 [14:41:32]MH_I2C_Read... [14:41:32]Read from MH i2c: F0 09 00 9B 03 00 1D EF 8F 66 AD 14 F4 65 B1 [14:41:32]GetLastDocTimeStamp 1720708334 [14:41:32]current date 1720708893 [14:41:32]FM_GetShiftState [14:41:32]SAM_PROTO_GetShiftState [14:41:32]wFMCommunicate request_size=4 [14:41:32]MH_SAM_APDU [14:41:32]CAPDU: 80 13 01 00 [14:41:32]Write to MH i2c: E2 08 00 9C 03 80 13 01 00 00 00 00 00 1C [14:41:32]Write i2c OK [14:41:32]MH_I2C_Read... [14:41:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:41:32]Read from MH i2c: E2 [14:41:32]MH_I2C_Read... [14:41:32]Read from MH i2c: E2 0E 00 [14:41:32]MH_I2C_Read... [14:41:32]Read from MH i2c: E2 0E 00 9C 03 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 4D [14:41:32]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [14:41:32]wFMCommunicate OK [14:41:32]SAM_PROTO_GetShiftState done [14:41:32]FM_GetShiftState done [14:41:32]opened in 1720656398 [14:41:32]opened+sec_in_day 1720742798 [14:41:32]quantity*price = 8022 [14:41:32]sum+1 = 8023 [14:41:32]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.22 ИТОГО: 80.00 Внесено: 80.00 СДАЧА: 0.00 НСП 1% : 0.71 НДС 12% : 8.52 Наличными: 80.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 36 11.07.2024 14:41 Смена: 432 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33281 ФПД: 47469226209018 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T144133&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33281&fm=47469226209018&tin=02508201610067®Number=0000000000093033&sum=8000 [14:41:33]StoreToDocumentArchive [14:41:33]shift 432 fd 33281 [14:41:33]save to /storage/0432/doc_00033281 [14:41:33]save last doc name /storage/0432/doc_00033281 to /storage/kkm_last_doc_name [14:41:33]save OK [14:41:33]Clear old archive folders... [14:41:33]ProcessDocumentItem done err = 0, tmpTLVsize=251 [14:41:33]tlvbuf is 01C8EDB0 [14:41:33]SAM_PROTO_ClearQueue [14:41:33]wFMCommunicate request_size=4 [14:41:33]MH_SAM_APDU [14:41:33]CAPDU: 80 09 00 00 [14:41:33]Write to MH i2c: E2 08 00 A9 03 80 09 00 00 00 00 00 00 1E [14:41:33]Write i2c OK [14:41:33]MH_I2C_Read... [14:41:34]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:41:34]Read from MH i2c: E2 [14:41:34]MH_I2C_Read... [14:41:34]Read from MH i2c: E2 03 00 [14:41:34]MH_I2C_Read... [14:41:34]Read from MH i2c: E2 03 00 A9 03 00 90 00 20 [14:41:34]RAPDU: 90 00 [14:41:34]wFMCommunicate OK [14:41:34]SAM_PROTO_ClearQueue done [14:41:34]KKMCreateOFDPacket [14:41:34]OFDProtocolAddRootSTLVToBuf [14:41:34]FM_MakeSignedData [14:41:34]FM_MakeSignedData [14:41:34]SAM_PROTO_SignData [14:41:34]wFMCommunicate request_size=4 [14:41:34]MH_SAM_APDU [14:41:34]CAPDU: 80 0D 01 02 [14:41:34]Write to MH i2c: E2 08 00 AA 03 80 0D 01 02 00 00 00 00 26 [14:41:34]Write i2c OK [14:41:34]MH_I2C_Read... [14:41:34]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:41:34]Read from MH i2c: E2 [14:41:34]MH_I2C_Read... [14:41:34]Read from MH i2c: E2 03 00 [14:41:34]MH_I2C_Read... [14:41:34]Read from MH i2c: E2 03 00 AA 03 00 90 00 21 [14:41:34]RAPDU: 90 00 [14:41:34]wFMCommunicate OK [14:41:34]wFMCommunicate request_size=255 [14:41:34]MH_SAM_APDU [14:41:34]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 BA 04 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 56 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 54 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 24 00 00 00 F4 03 04 00 1D EF 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 01 82 00 00 35 04 06 00 2B [14:41:34]Write to MH i2c: E2 02 01 AB 03 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 BA 04 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 56 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 54 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 24 00 00 00 F4 03 04 00 1D EF 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 01 82 00 00 35 04 06 00 2B 00 00 34 [14:41:34]Write i2c OK [14:41:34]MH_I2C_Read... [14:41:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:41:34]Read from MH i2c: E2 [14:41:34]MH_I2C_Read... [14:41:34]Read from MH i2c: E2 03 00 [14:41:34]MH_I2C_Read... [14:41:34]Read from MH i2c: E2 03 00 AB 03 00 90 00 22 [14:41:34]RAPDU: 90 00 [14:41:34]wFMCommunicate OK [14:41:34]wFMCommunicate request_size=10 [14:41:34]MH_SAM_APDU [14:41:34]CAPDU: 80 0D 02 02 05 2C 4A 5D AE FA [14:41:34]Write to MH i2c: E2 0D 00 AC 03 80 0D 02 02 05 00 2C 4A 5D AE FA 00 00 AE [14:41:34]Write i2c OK [14:41:34]MH_I2C_Read... [14:41:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:41:34]Read from MH i2c: E2 [14:41:34]MH_I2C_Read... [14:41:34]Read from MH i2c: E2 03 00 [14:41:34]MH_I2C_Read... [14:41:34]Read from MH i2c: E2 03 00 AC 03 00 90 00 23 [14:41:34]RAPDU: 90 00 [14:41:34]wFMCommunicate OK [14:41:34]wFMCommunicate request_size=4 [14:41:34]MH_SAM_APDU [14:41:34]CAPDU: 80 0D 03 02 [14:41:34]Write to MH i2c: E2 08 00 AD 03 80 0D 03 02 00 00 00 00 2B [14:41:34]Write i2c OK [14:41:34]MH_I2C_Read... [14:41:34]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:41:34]Read from MH i2c: E2 [14:41:34]MH_I2C_Read... [14:41:34]Read from MH i2c: E2 0B 00 [14:41:34]MH_I2C_Read... [14:41:34]Read from MH i2c: E2 0B 00 AD 03 00 3A 93 94 C5 3F 35 D6 BC 90 00 58 [14:41:34]RAPDU: 3A 93 94 C5 3F 35 D6 BC 90 00 [14:41:34]wFMCommunicate OK [14:41:34]SAM_PROTO_SignData done [14:41:34]FM_MakeSignedData done [14:41:34]CreateOFDProtocolMessage [14:41:34]wFMCommunicate request_size=4 [14:41:34]MH_SAM_APDU [14:41:34]CAPDU: 80 11 00 00 [14:41:34]Write to MH i2c: E2 08 00 AE 03 80 11 00 00 00 00 00 00 2B [14:41:34]Write i2c OK [14:41:34]MH_I2C_Read... [14:41:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:41:34]Read from MH i2c: E2 [14:41:34]MH_I2C_Read... [14:41:34]Read from MH i2c: E2 17 00 [14:41:34]MH_I2C_Read... [14:41:34]Read from MH i2c: E2 17 00 AE 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 77 [14:41:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [14:41:34]wFMCommunicate OK [14:41:34]CreateOFDProtocolMessage done [14:41:34]OFDSenderStorePacket 33281 [14:41:34]StoreOFDPacket docnum=33281 [14:41:34]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0F 01 00 00 11 8B 07 01 61 8C 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 BA 04 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 56 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 54 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 24 00 00 00 F4 03 04 00 1D EF 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 01 82 00 00 35 04 06 00 2B 2C 4A 5D AE FA 3A 93 94 C5 3F 35 D6 BC [14:41:34]CheckFolder [14:41:34]dirname=/storage/ofd_packets [14:41:34]CheckFolder done [14:41:34]ProducePacketName [14:41:34]name=ofd_packets/00033281 [14:41:34]NVStorageSaveData ofd_packets/00033281 [14:41:34]File name is /storage/ofd_packets/00033281 [14:41:34]Write 301 bytes [14:41:34]NVStorageSaveData done [14:41:34]OFDSenderStorePacket done [14:41:34]KKMCreateOFDPacket done [14:41:34]NVStorageSaveData kkm_last_timestamp [14:41:34]File name is /storage/kkm_last_timestamp [14:41:34]Write 4 bytes [14:41:34]NVStorageSaveData done [14:41:34]ExternCall_PrintAddStr [14:41:34]wPrintStart [14:41:34]Write to MH i2c: 01 00 00 AF 03 B2 [14:41:34]Write i2c OK [14:41:34]MH_I2C_Read... [14:41:34]Read from MH i2c: 01 [14:41:34]MH_I2C_Read... [14:41:34]Read from MH i2c: 01 07 00 [14:41:34]MH_I2C_Read... [14:41:34]Read from MH i2c: 01 07 00 AF 03 00 00 00 00 00 FF 0F C7 [14:41:34]RasterBufferAndPrint [14:41:34]line Счет N : (1)5669677 [14:41:34]line ИНН: 02508201610067 [14:41:34]line Контрольно-Кассовый Чек [14:41:34]line ПРОДАЖА [14:41:34]line ТРК (МРК, ГНК) : 43 [14:41:34]line Товар: 2710124130 [14:41:34]line Аи-92-К-5 [14:41:34]line 1.210 * 66.30 [14:41:34]line = 80.22 [14:41:34]line НДС 12% НСП 1% [14:41:34]line > о реализуемом товаре [14:41:34]line ОКРУГЛЕНИЕ: -0.22 [14:41:34]line ИТОГО: 80.00 [14:41:34]line Внесено: 80.00 [14:41:34]line СДАЧА: 0.00 [14:41:34]line НСП 1% : 0.71 [14:41:34]line НДС 12% : 8.52 [14:41:34]line Наличными: 80.00 [14:41:34]line Безнал.: 0.00 [14:41:34]line Место: АЗС № 77 "Партнер Нефть" [14:41:34]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [14:41:34]line СНО: Общий режим [14:41:34]line Чек 36 11.07.2024 14:41 [14:41:34]line Смена: 432 ФФД: 1.0 [14:41:34]line ЗНМ: 0300000122 [14:41:34]line РНМ: 0000000000093033 [14:41:34]line Версия ККМ: 001 [14:41:34]line ФМ: 0000000000875104 [14:41:34]line ФД: 33281 [14:41:34]line ФПД: 47469226209018 [14:41:34]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T144133&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33281&fm=47469226209018&tin=02508201610067®Number=0000000000093033&sum=8000 [14:41:34]OFD Sender: Processing packet 33281 [packets to send 6, broken 5] [14:41:34]ProducePacketName [14:41:34]name=ofd_packets/00033281 [14:41:34]OFD Sender: To server: pG, [14:41:34]CommunicateWithHost lk.salyk.kg:30040 [14:41:34]ConnectInit lk.salyk.kg [14:41:34]written 0, free lines is 4095 [14:41:34]Connected sock=10 [14:41:34]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0F 01 00 00 11 8B 07 01 61 8C 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 BA 04 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 56 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 54 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 24 00 00 00 F4 03 04 00 1D EF 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 01 82 00 00 35 04 06 00 2B 2C 4A 5D AE FA 3A 93 94 C5 3F 35 D6 BC [14:41:35]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 13 E9 47 00 85 07 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 35 31 30 34 10 04 04 00 01 82 00 00 F4 03 04 00 CD 99 8F 66 B6 04 01 00 00 62 85 CF 33 9F 59 2E E5 [14:41:35]CommunicateWithHost err = 0 [14:41:35]CheckOFDResponse [14:41:35]1017 (14) - 77093643461234 [14:41:35]1041 (16) - 0000000000875104 [14:41:35]1040 (4) - 33281 [14:41:35]1012 (4) - 11.07.2024 08:37 [14:41:35]1206 (1) - 0 [14:41:35]OFD Sender: Remove packet 33281 [14:41:35]ProducePacketName [14:41:35]name=ofd_packets/00033281 [14:41:35]NVStorageDeleteData [14:41:35]Write to MH i2c: 01 00 00 DA 03 DD [14:41:35]Write i2c OK [14:41:35]MH_I2C_Read... [14:41:35]Read from MH i2c: 01 [14:41:35]MH_I2C_Read... [14:41:35]Read from MH i2c: 01 07 00 [14:41:35]MH_I2C_Read... [14:41:35]Read from MH i2c: 01 07 00 DA 03 00 00 00 00 00 D6 0C C6 [14:41:35]RasterBufferAndPrint [14:41:35]line [14:41:35]line [14:41:35]line [14:41:35]line [14:41:35]line [14:41:35]written 0, free lines is 3289 [14:41:35]MH_Cut [14:41:35]Write to MH i2c: D1 01 00 E1 03 01 B6 [14:41:35]Write i2c OK [14:41:35]MH_I2C_Read... [14:41:35]Read from MH i2c: D1 [14:41:35]MH_I2C_Read... [14:41:35]Read from MH i2c: D1 01 00 [14:41:35]MH_I2C_Read... [14:41:35]Read from MH i2c: D1 01 00 E1 03 00 B5 [14:41:35]Write to MH i2c: 01 00 00 E2 03 E5 [14:41:35]Write i2c OK [14:41:35]MH_I2C_Read... [14:41:35]OFD Sender: No OFD packet to send [14:41:36]*** Cut start [14:41:36]*** Partial cut [14:41:36]*** CUTSNS_PIN = 1 [14:41:36]*** CUTSNS_PIN = 0 [14:41:36]*** Brake cut motor [14:41:36]Read from MH i2c: 01 [14:41:36]MH_I2C_Read... [14:41:36]*** Stop cut motor [14:41:36]*** Cut end [14:41:36]Read from MH i2c: 01 07 00 [14:41:36]MH_I2C_Read... [14:41:36]Read from MH i2c: 01 07 00 E2 03 00 00 00 00 00 FF 0F FA [14:41:36]process_action close_receipt done [14:41:36]requested_data is exist [14:41:36]produce_requested_data [14:41:36]requested_item fm.sn is exist - process it [14:41:36]wFMCommunicate request_size=4 [14:41:36]MH_SAM_APDU [14:41:36]CAPDU: 80 11 00 00 [14:41:36]Write to MH i2c: E2 08 00 E3 03 80 11 00 00 00 00 00 00 60 [14:41:36]Write i2c OK [14:41:36]MH_I2C_Read... [14:41:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:41:36]Read from MH i2c: E2 [14:41:36]MH_I2C_Read... [14:41:36]Read from MH i2c: E2 17 00 [14:41:36]MH_I2C_Read... [14:41:36]Read from MH i2c: E2 17 00 E3 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 AC [14:41:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [14:41:36]wFMCommunicate OK [14:41:36]requested_item fd.num is exist - process it [14:41:36]SAM_PROTO_GetFieldsCounters [14:41:36]wFMCommunicate request_size=4 [14:41:36]MH_SAM_APDU [14:41:36]CAPDU: 80 13 00 00 [14:41:36]Write to MH i2c: E2 08 00 E4 03 80 13 00 00 00 00 00 00 63 [14:41:36]Write i2c OK [14:41:36]MH_I2C_Read... [14:41:36]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:41:36]Read from MH i2c: E2 [14:41:36]MH_I2C_Read... [14:41:36]Read from MH i2c: E2 62 00 [14:41:36]MH_I2C_Read... [14:41:36]Read from MH i2c: E2 62 00 E4 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 01 82 00 00 0E 04 04 00 B0 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 16 [14:41:36]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 01 82 00 00 0E 04 04 00 B0 01 00 00 12 04 04 00 24 00 00 00 5E 04 04 00 24 00 00 00 57 04 04 00 25 00 00 00 19 04 04 00 00 00 00 00 90 00 [14:41:36]wFMCommunicate OK [14:41:36]SAM_PROTO_GetFieldsCounters done [14:41:36]requested_item shift.num is exist - process it [14:41:36]requested_item shift.opened is exist - process it [14:41:36]req_shift_opened [14:41:36]FM_GetShiftState [14:41:36]SAM_PROTO_GetShiftState [14:41:36]wFMCommunicate request_size=4 [14:41:36]MH_SAM_APDU [14:41:36]CAPDU: 80 13 01 00 [14:41:36]Write to MH i2c: E2 08 00 E5 03 80 13 01 00 00 00 00 00 65 [14:41:36]Write i2c OK [14:41:36]MH_I2C_Read... [14:41:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:41:36]Read from MH i2c: E2 [14:41:36]MH_I2C_Read... [14:41:36]Read from MH i2c: E2 0E 00 [14:41:36]MH_I2C_Read... [14:41:36]Read from MH i2c: E2 0E 00 E5 03 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 96 [14:41:36]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [14:41:36]wFMCommunicate OK [14:41:36]SAM_PROTO_GetShiftState done [14:41:36]FM_GetShiftState done [14:41:36]req_shift_opened done [14:41:36]requested_item shift.open_date is exist - process it [14:41:36]req_shift_open_date [14:41:36]req_shift_open_date done [14:41:36]produce_requested_data done [14:41:36]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33281,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398} [14:41:36]process_action_free close_receipt [14:41:36]json_value_free [14:41:36]json_value_free done [14:41:36]process_json_proto returns [14:41:36]Send response to host [14:41:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33281,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398}}} [14:41:36]free response buf [14:41:36]execute_script done [14:41:36]execute_script returns [14:41:36]free content buf [14:41:36]Sock 7.Close socket [14:41:36]Sock 7.Thread stoped [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:51]accept exits with 9 [14:43:51]New connection [14:43:51]New thread 3066793316 created [14:43:51]Thread 3066936676 joined [14:43:51]Waiting for new connection... [14:43:51] Sock 9.Parse request [14:43:51]Sock 9.Check first char [14:43:51]Sock 9.First char is OK [14:43:51]request: POST /json_proto HTTP/1.0 [14:43:51]Method: POST [14:43:51]URL: /json_proto [14:43:51]Method is POST - this is cgi request [14:43:51]url: /json_proto [14:43:51]query_string will be loaded in cgi processing [14:43:51]execute_cgi json_proto POST (null) [14:43:51]execute_cgi path=json_proto method=POST [14:43:51]POST find Content-Length [14:43:51]Host: 172.17.35.196:8080 [14:43:51]Content-Length: 807 [14:43:51]Content-Type: application/json [14:43:51] [14:43:51]POST finish read [14:43:51]Found Content-Length = 807 [14:43:51]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169116", "tax_sys" : 0, "items" : [ { "code": "4680036914937", "name": "Gorilla \u044D\u043D \u043D\u0430\u043F 0,275\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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 90.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:43:51]execute_script... [14:43: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)169116", "tax_sys" : 0, "items" : [ { "code": "4680036914937", "name": "Gorilla \u044D\u043D \u043D\u0430\u043F 0,275\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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 90.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:43:51]POST & json_proto [14:43:51]process_json_proto [14:43:51]json parsed OK: [14:43:51]protocol is kg_v1.0 [14:43:51]action value=close_receipt [14:43:51]process_action close_receipt [14:43:51]cmd_close_receipt [14:43:51]MH_GetDate [14:43:51]Write to MH i2c: F0 00 00 E6 03 D8 [14:43:51]Write i2c OK [14:43:51]MH_I2C_Read... [14:43:51]Read from MH i2c: F0 [14:43:51]MH_I2C_Read... [14:43:51]Read from MH i2c: F0 09 00 [14:43:51]MH_I2C_Read... [14:43:51]Read from MH i2c: F0 09 00 E6 03 00 A7 EF 8F 66 AD 14 F4 65 86 [14:43:51]GetLastDocTimeStamp 1720708893 [14:43:51]current date 1720709031 [14:43:51]FM_GetShiftState [14:43:51]SAM_PROTO_GetShiftState [14:43:51]wFMCommunicate request_size=4 [14:43:51]MH_SAM_APDU [14:43:51]CAPDU: 80 13 01 00 [14:43:51]Write to MH i2c: E2 08 00 E7 03 80 13 01 00 00 00 00 00 67 [14:43:51]Write i2c OK [14:43:51]MH_I2C_Read... [14:43:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:43:51]Read from MH i2c: E2 [14:43:51]MH_I2C_Read... [14:43:51]Read from MH i2c: E2 0E 00 [14:43:51]MH_I2C_Read... [14:43:51]Read from MH i2c: E2 0E 00 E7 03 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 98 [14:43:51]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [14:43:51]wFMCommunicate OK [14:43:51]SAM_PROTO_GetShiftState done [14:43:51]FM_GetShiftState done [14:43:51]opened in 1720656398 [14:43:51]opened+sec_in_day 1720742798 [14:43:51]quantity*price = 9000 [14:43:51]sum+1 = 9001 [14:43:51]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 90.00 НСП 1% : 0.80 НДС 12% : 9.56 Наличными: 0.00 Безнал.: 90.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 37 11.07.2024 14:43 Смена: 432 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000875104 ФД: 33282 ФПД: 211155210947105 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T144351&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33282&fm=211155210947105&tin=02508201610067®Number=0000000000093033&sum=9000 0 [14:43:52]StoreToDocumentArchive [14:43:52]shift 432 fd 33282 [14:43:52]save to /storage/0432/doc_00033282 [14:43:52]save last doc name /storage/0432/doc_00033282 to /storage/kkm_last_doc_name [14:43:52]save OK [14:43:52]Clear old archive folders... [14:43:52]ProcessDocumentItem done err = 0, tmpTLVsize=269 [14:43:52]tlvbuf is 01CA9CA0 [14:43:52]SAM_PROTO_ClearQueue [14:43:52]wFMCommunicate request_size=4 [14:43:52]MH_SAM_APDU [14:43:52]CAPDU: 80 09 00 00 [14:43:52]Write to MH i2c: E2 08 00 F4 03 80 09 00 00 00 00 00 00 69 [14:43:52]Write i2c OK [14:43:52]MH_I2C_Read... [14:43:52]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:43:52]Read from MH i2c: E2 [14:43:52]MH_I2C_Read... [14:43:52]Read from MH i2c: E2 03 00 [14:43:52]MH_I2C_Read... [14:43:52]Read from MH i2c: E2 03 00 F4 03 00 90 00 6B [14:43:52]RAPDU: 90 00 [14:43:52]wFMCommunicate OK [14:43:52]SAM_PROTO_ClearQueue done [14:43:52]KKMCreateOFDPacket [14:43:52]OFDProtocolAddRootSTLVToBuf [14:43:52]FM_MakeSignedData [14:43:52]FM_MakeSignedData [14:43:52]SAM_PROTO_SignData [14:43:52]wFMCommunicate request_size=4 [14:43:52]MH_SAM_APDU [14:43:52]CAPDU: 80 0D 01 02 [14:43:52]Write to MH i2c: E2 08 00 F5 03 80 0D 01 02 00 00 00 00 71 [14:43:52]Write i2c OK [14:43:52]MH_I2C_Read... [14:43:52]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:43:52]Read from MH i2c: E2 [14:43:52]MH_I2C_Read... [14:43:52]Read from MH i2c: E2 03 00 [14:43:52]MH_I2C_Read... [14:43:52]Read from MH i2c: E2 03 00 F5 03 00 90 00 6C [14:43:52]RAPDU: 90 00 [14:43:52]wFMCommunicate OK [14:43:52]wFMCommunicate request_size=255 [14:43:52]MH_SAM_APDU [14:43:52]CAPDU: 80 0D 02 02 FA 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 36 38 30 30 33 36 39 31 34 39 33 37 06 04 1B 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 30 2C 32 37 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 25 00 00 00 F4 03 04 00 A7 EF 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 [14:43:52]Write to MH i2c: E2 02 01 F6 03 80 0D 02 02 FA 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 36 38 30 30 33 36 39 31 34 39 33 37 06 04 1B 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 30 2C 32 37 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 25 00 00 00 F4 03 04 00 A7 EF 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 00 00 47 [14:43:52]Write i2c OK [14:43:52]MH_I2C_Read... [14:43:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:43:52]Read from MH i2c: E2 [14:43:52]MH_I2C_Read... [14:43:52]Read from MH i2c: E2 03 00 [14:43:52]MH_I2C_Read... [14:43:52]Read from MH i2c: E2 03 00 F6 03 00 90 00 6D [14:43:52]RAPDU: 90 00 [14:43:52]wFMCommunicate OK [14:43:52]wFMCommunicate request_size=28 [14:43:52]MH_SAM_APDU [14:43:52]CAPDU: 80 0D 02 02 17 37 35 31 30 34 10 04 04 00 02 82 00 00 35 04 06 00 C0 0B 67 57 4A 21 [14:43:52]Write to MH i2c: E2 1F 00 F7 03 80 0D 02 02 17 00 37 35 31 30 34 10 04 04 00 02 82 00 00 35 04 06 00 C0 0B 67 57 4A 21 00 00 72 [14:43:52]Write i2c OK [14:43:52]MH_I2C_Read... [14:43:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:43:52]Read from MH i2c: E2 [14:43:52]MH_I2C_Read... [14:43:52]Read from MH i2c: E2 03 00 [14:43:52]MH_I2C_Read... [14:43:52]Read from MH i2c: E2 03 00 F7 03 00 90 00 6E [14:43:52]RAPDU: 90 00 [14:43:52]wFMCommunicate OK [14:43:52]wFMCommunicate request_size=4 [14:43:52]MH_SAM_APDU [14:43:52]CAPDU: 80 0D 03 02 [14:43:52]Write to MH i2c: E2 08 00 F8 03 80 0D 03 02 00 00 00 00 76 [14:43:52]Write i2c OK [14:43:52]MH_I2C_Read... [14:43:52]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:43:52]Read from MH i2c: E2 [14:43:52]MH_I2C_Read... [14:43:52]Read from MH i2c: E2 0B 00 [14:43:52]MH_I2C_Read... [14:43:52]Read from MH i2c: E2 0B 00 F8 03 00 15 A1 C0 B2 93 51 43 FF 90 00 C5 [14:43:52]RAPDU: 15 A1 C0 B2 93 51 43 FF 90 00 [14:43:52]wFMCommunicate OK [14:43:52]SAM_PROTO_SignData done [14:43:52]FM_MakeSignedData done [14:43:52]CreateOFDProtocolMessage [14:43:52]wFMCommunicate request_size=4 [14:43:52]MH_SAM_APDU [14:43:52]CAPDU: 80 11 00 00 [14:43:52]Write to MH i2c: E2 08 00 F9 03 80 11 00 00 00 00 00 00 76 [14:43:52]Write i2c OK [14:43:52]MH_I2C_Read... [14:43:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:43:52]Read from MH i2c: E2 [14:43:52]MH_I2C_Read... [14:43:52]Read from MH i2c: E2 17 00 [14:43:52]MH_I2C_Read... [14:43:52]Read from MH i2c: E2 17 00 F9 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 C2 [14:43:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [14:43:52]wFMCommunicate OK [14:43:52]CreateOFDProtocolMessage done [14:43:52]OFDSenderStorePacket 33282 [14:43:52]StoreOFDPacket docnum=33282 [14:43:52]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 21 01 00 00 6A 48 19 01 3A 7D 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 36 38 30 30 33 36 39 31 34 39 33 37 06 04 1B 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 30 2C 32 37 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 25 00 00 00 F4 03 04 00 A7 EF 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 02 82 00 00 35 04 06 00 C0 0B 67 57 4A 21 15 A1 C0 B2 93 51 43 FF [14:43:52]CheckFolder [14:43:52]dirname=/storage/ofd_packets [14:43:52]CheckFolder done [14:43:52]ProducePacketName [14:43:52]name=ofd_packets/00033282 [14:43:52]NVStorageSaveData ofd_packets/00033282 [14:43:52]File name is /storage/ofd_packets/00033282 [14:43:52]Write 319 bytes [14:43:52]NVStorageSaveData done [14:43:52]OFDSenderStorePacket done [14:43:52]KKMCreateOFDPacket done [14:43:52]NVStorageSaveData kkm_last_timestamp [14:43:52]File name is /storage/kkm_last_timestamp [14:43:52]Write 4 bytes [14:43:52]NVStorageSaveData done [14:43:52]ExternCall_PrintAddStr [14:43:52]wPrintStart [14:43:52]Write to MH i2c: 01 00 00 FA 03 FD [14:43:52]OFD Sender: Processing packet 33282 [packets to send 6, broken 5] [14:43:52]ProducePacketName [14:43:52]name=ofd_packets/00033282 [14:43:52]OFD Sender: To server: pG, [14:43:52]CommunicateWithHost lk.salyk.kg:30040 [14:43:52]ConnectInit lk.salyk.kg [14:43:52]Write i2c OK [14:43:52]MH_I2C_Read... [14:43:52]Read from MH i2c: 01 [14:43:52]MH_I2C_Read... [14:43:52]Read from MH i2c: 01 07 00 [14:43:52]MH_I2C_Read... [14:43:52]Read from MH i2c: 01 07 00 FA 03 00 00 00 00 00 FF 0F 12 [14:43:52]RasterBufferAndPrint [14:43:52]line Счет N : (3)169116 [14:43:52]line ИНН: 02508201610067 [14:43:52]line Контрольно-Кассовый Чек [14:43:52]line ПРОДАЖА [14:43:52]line Товар: 4680036914937 [14:43:52]line Gorilla эн нап 0,275л [14:43:52]line 1.000 * 90.00 [14:43:52]line = 90.00 [14:43:52]line НДС 12% НСП 1% [14:43:52]line > о реализуемом товаре [14:43:52]line ИТОГО: 90.00 [14:43:52]line НСП 1% : 0.80 [14:43:52]line НДС 12% : 9.56 [14:43:52]line Наличными: 0.00 [14:43:52]line Безнал.: 90.00 [14:43:52]line Место: АЗС № 77 "Партнер Нефть" [14:43:52]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [14:43:52]line СНО: Общий режим [14:43:52]line Чек 37 11.07.2024 14:43 [14:43:52]line Смена: 432 ФФД: 1.0 [14:43:52]line ЗНМ: 0300000122 [14:43:52]line РНМ: 0000000000093033 [14:43:52]line Версия ККМ: 001 [14:43:52]line Платежная система: АКБ Кыргызстан [14:43:52]line ФМ: 0000000000875104 [14:43:52]line ФД: 33282 [14:43:52]line ФПД: 211155210947105 [14:43:53]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T144351&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33282&fm=211155210947105&tin=02508201610067®Number=0000000000093033&sum=9000 [14:43:53]line 0 [14:43:53]Connected sock=10 [14:43:53]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 21 01 00 00 6A 48 19 01 3A 7D 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 36 38 30 30 33 36 39 31 34 39 33 37 06 04 1B 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 30 2C 32 37 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 25 00 00 00 F4 03 04 00 A7 EF 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 02 82 00 00 35 04 06 00 C0 0B 67 57 4A 21 15 A1 C0 B2 93 51 43 FF [14:43:53]written 0, free lines is 4095 [14:43:53]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 EF 9E 47 00 13 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 35 31 30 34 10 04 04 00 02 82 00 00 F4 03 04 00 57 9A 8F 66 B6 04 01 00 00 21 9F DC 61 A2 5E FF 58 [14:43:53]CommunicateWithHost err = 0 [14:43:53]CheckOFDResponse [14:43:53]1017 (14) - 77093643461234 [14:43:53]1041 (16) - 0000000000875104 [14:43:53]1040 (4) - 33282 [14:43:53]1012 (4) - 11.07.2024 08:39 [14:43:53]1206 (1) - 0 [14:43:53]OFD Sender: Remove packet 33282 [14:43:53]ProducePacketName [14:43:53]name=ofd_packets/00033282 [14:43:53]NVStorageDeleteData [14:43:53]Write to MH i2c: 01 00 00 24 04 28 [14:43:53]Write i2c OK [14:43:53]MH_I2C_Read... [14:43:53]Read from MH i2c: 01 [14:43:53]MH_I2C_Read... [14:43:53]Read from MH i2c: 01 07 00 [14:43:53]MH_I2C_Read... [14:43:53]Read from MH i2c: 01 07 00 24 04 00 00 00 00 00 E0 0C 1B [14:43:53]RasterBufferAndPrint [14:43:53]line [14:43:53]line [14:43:53]line [14:43:53]line [14:43:53]line [14:43:53]written 0, free lines is 3302 [14:43:53]MH_Cut [14:43:53]Write to MH i2c: D1 01 00 2B 04 01 01 [14:43:53]Write i2c OK [14:43:53]MH_I2C_Read... [14:43:53]Read from MH i2c: D1 [14:43:53]MH_I2C_Read... [14:43:53]Read from MH i2c: D1 01 00 [14:43:53]MH_I2C_Read... [14:43:53]Read from MH i2c: D1 01 00 2B 04 00 00 [14:43:53]Write to MH i2c: 01 00 00 2C 04 30 [14:43:53]Write i2c OK [14:43:53]MH_I2C_Read... [14:43:53]OFD Sender: No OFD packet to send [14:43:54]*** Cut start [14:43:54]*** Partial cut [14:43:54]*** CUTSNS_PIN = 1 [14:43:54]*** CUTSNS_PIN = 0 [14:43:54]*** Brake cut motor [14:43:54]Read from MH i2c: 01 [14:43:54]MH_I2C_Read... [14:43:54]*** Stop cut motor [14:43:54]*** Cut end [14:43:54]Read from MH i2c: 01 07 00 [14:43:54]MH_I2C_Read... [14:43:54]Read from MH i2c: 01 07 00 2C 04 00 00 00 00 00 FF 0F 45 [14:43:54]process_action close_receipt done [14:43:54]requested_data is exist [14:43:54]produce_requested_data [14:43:54]requested_item fm.sn is exist - process it [14:43:54]wFMCommunicate request_size=4 [14:43:54]MH_SAM_APDU [14:43:54]CAPDU: 80 11 00 00 [14:43:54]Write to MH i2c: E2 08 00 2D 04 80 11 00 00 00 00 00 00 AB [14:43:54]Write i2c OK [14:43:54]MH_I2C_Read... [14:43:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:43:54]Read from MH i2c: E2 [14:43:54]MH_I2C_Read... [14:43:54]Read from MH i2c: E2 17 00 [14:43:54]MH_I2C_Read... [14:43:54]Read from MH i2c: E2 17 00 2D 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 F7 [14:43:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [14:43:54]wFMCommunicate OK [14:43:54]requested_item fd.num is exist - process it [14:43:54]SAM_PROTO_GetFieldsCounters [14:43:54]wFMCommunicate request_size=4 [14:43:54]MH_SAM_APDU [14:43:54]CAPDU: 80 13 00 00 [14:43:54]Write to MH i2c: E2 08 00 2E 04 80 13 00 00 00 00 00 00 AE [14:43:54]Write i2c OK [14:43:54]MH_I2C_Read... [14:43:55]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:43:55]Read from MH i2c: E2 [14:43:55]MH_I2C_Read... [14:43:55]Read from MH i2c: E2 62 00 [14:43:55]MH_I2C_Read... [14:43:55]Read from MH i2c: E2 62 00 2E 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 02 82 00 00 0E 04 04 00 B0 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 65 [14:43: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 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 02 82 00 00 0E 04 04 00 B0 01 00 00 12 04 04 00 25 00 00 00 5E 04 04 00 25 00 00 00 57 04 04 00 26 00 00 00 19 04 04 00 00 00 00 00 90 00 [14:43:55]wFMCommunicate OK [14:43:55]SAM_PROTO_GetFieldsCounters done [14:43:55]requested_item shift.num is exist - process it [14:43:55]requested_item shift.opened is exist - process it [14:43:55]req_shift_opened [14:43:55]FM_GetShiftState [14:43:55]SAM_PROTO_GetShiftState [14:43:55]wFMCommunicate request_size=4 [14:43:55]MH_SAM_APDU [14:43:55]CAPDU: 80 13 01 00 [14:43:55]Write to MH i2c: E2 08 00 2F 04 80 13 01 00 00 00 00 00 B0 [14:43:55]Write i2c OK [14:43:55]MH_I2C_Read... [14:43:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:43:55]Read from MH i2c: E2 [14:43:55]MH_I2C_Read... [14:43:55]Read from MH i2c: E2 0E 00 [14:43:55]MH_I2C_Read... [14:43:55]Read from MH i2c: E2 0E 00 2F 04 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 E1 [14:43:55]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [14:43:55]wFMCommunicate OK [14:43:55]SAM_PROTO_GetShiftState done [14:43:55]FM_GetShiftState done [14:43:55]req_shift_opened done [14:43:55]requested_item shift.open_date is exist - process it [14:43:55]req_shift_open_date [14:43:55]req_shift_open_date done [14:43:55]produce_requested_data done [14:43:55]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33282,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398} [14:43:55]process_action_free close_receipt [14:43:55]json_value_free [14:43:55]json_value_free done [14:43:55]process_json_proto returns [14:43:55]Send response to host [14:43:55]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33282,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398}}} [14:43:55]free response buf [14:43:55]execute_script done [14:43:55]execute_script returns [14:43:55]free content buf [14:43:55]Sock 9.Close socket [14:43:55]Sock 9.Thread stoped [14:43:58]OFD Sender: No OFD packet to send [14:44:03]OFD Sender: No OFD packet to send [14:44:08]OFD Sender: No OFD packet to send [14:44:13]OFD Sender: No OFD packet to send [14:44:18]OFD Sender: No OFD packet to send [14:44:23]OFD Sender: No OFD packet to send [14:44:28]OFD Sender: No OFD packet to send [14:44:33]OFD Sender: No OFD packet to send [14:44:38]OFD Sender: No OFD packet to send [14:44:43]OFD Sender: No OFD packet to send [14:44:48]OFD Sender: No OFD packet to send [14:44:53]OFD Sender: No OFD packet to send [14:44:58]OFD Sender: No OFD packet to send [14:45:03]OFD Sender: No OFD packet to send [14:45:08]OFD Sender: No OFD packet to send [14:45:13]OFD Sender: No OFD packet to send [14:45:18]OFD Sender: No OFD packet to send [14:45:23]OFD Sender: No OFD packet to send [14:45:28]OFD Sender: No OFD packet to send [14:45:33]OFD Sender: No OFD packet to send [14:45:38]OFD Sender: No OFD packet to send [14:45:43]OFD Sender: No OFD packet to send [14:45:48]OFD Sender: No OFD packet to send [14:45:53]OFD Sender: No OFD packet to send [14:45:58]OFD Sender: No OFD packet to send [14:46:03]OFD Sender: No OFD packet to send [14:46:08]OFD Sender: No OFD packet to send [14:46:13]OFD Sender: No OFD packet to send [14:46:18]OFD Sender: No OFD packet to send [14:46:23]OFD Sender: No OFD packet to send [14:46:28]OFD Sender: No OFD packet to send [14:46:33]OFD Sender: No OFD packet to send [14:46:38]OFD Sender: No OFD packet to send [14:46:43]OFD Sender: No OFD packet to send [14:46:48]OFD Sender: No OFD packet to send [14:46:53]OFD Sender: No OFD packet to send [14:46:58]OFD Sender: No OFD packet to send [14:47:03]OFD Sender: No OFD packet to send [14:47:08]OFD Sender: No OFD packet to send [14:47:13]OFD Sender: No OFD packet to send [14:47:18]OFD Sender: No OFD packet to send [14:47:23]OFD Sender: No OFD packet to send [14:47:28]OFD Sender: No OFD packet to send [14:47:33]OFD Sender: No OFD packet to send [14:47:38]OFD Sender: No OFD packet to send [14:47:43]OFD Sender: No OFD packet to send [14:47:48]OFD Sender: No OFD packet to send [14:47:53]OFD Sender: No OFD packet to send [14:47:58]OFD Sender: No OFD packet to send [14:48:03]OFD Sender: No OFD packet to send [14:48:08]OFD Sender: No OFD packet to send [14:48:13]OFD Sender: No OFD packet to send [14:48:18]OFD Sender: No OFD packet to send [14:48:23]OFD Sender: No OFD packet to send [14:48:28]OFD Sender: No OFD packet to send [14:48:33]OFD Sender: No OFD packet to send [14:48:38]OFD Sender: No OFD packet to send [14:48:43]OFD Sender: No OFD packet to send [14:48:49]OFD Sender: No OFD packet to send [14:48:54]OFD Sender: No OFD packet to send [14:48:59]OFD Sender: No OFD packet to send [14:49:04]OFD Sender: No OFD packet to send [14:49:09]OFD Sender: No OFD packet to send [14:49:14]OFD Sender: No OFD packet to send [14:49:19]OFD Sender: No OFD packet to send [14:49:24]OFD Sender: No OFD packet to send [14:49:29]OFD Sender: No OFD packet to send [14:49:34]OFD Sender: No OFD packet to send [14:49:39]OFD Sender: No OFD packet to send [14:49:44]OFD Sender: No OFD packet to send [14:49:49]OFD Sender: No OFD packet to send [14:49:54]OFD Sender: No OFD packet to send [14:49:59]OFD Sender: No OFD packet to send [14:50:04]OFD Sender: No OFD packet to send [14:50:09]OFD Sender: No OFD packet to send [14:50:14]OFD Sender: No OFD packet to send [14:50:19]OFD Sender: No OFD packet to send [14:50:24]OFD Sender: No OFD packet to send [14:50:29]OFD Sender: No OFD packet to send [14:50:34]OFD Sender: No OFD packet to send [14:50:39]OFD Sender: No OFD packet to send [14:50:44]OFD Sender: No OFD packet to send [14:50:49]OFD Sender: No OFD packet to send [14:50:54]OFD Sender: No OFD packet to send [14:50:59]OFD Sender: No OFD packet to send [14:51:04]OFD Sender: No OFD packet to send [14:51:09]OFD Sender: No OFD packet to send [14:51:14]OFD Sender: No OFD packet to send [14:51:19]OFD Sender: No OFD packet to send [14:51:24]OFD Sender: No OFD packet to send [14:51:29]OFD Sender: No OFD packet to send [14:51:34]OFD Sender: No OFD packet to send [14:51:39]OFD Sender: No OFD packet to send [14:51:44]OFD Sender: No OFD packet to send [14:51:49]OFD Sender: No OFD packet to send [14:51:54]OFD Sender: No OFD packet to send [14:51:59]OFD Sender: No OFD packet to send [14:52:04]OFD Sender: No OFD packet to send [14:52:09]OFD Sender: No OFD packet to send [14:52:14]OFD Sender: No OFD packet to send [14:52:19]OFD Sender: No OFD packet to send [14:52:24]OFD Sender: No OFD packet to send [14:52:29]OFD Sender: No OFD packet to send [14:52:34]OFD Sender: No OFD packet to send [14:52:39]OFD Sender: No OFD packet to send [14:52:44]OFD Sender: No OFD packet to send [14:52:49]OFD Sender: No OFD packet to send [14:52:54]OFD Sender: No OFD packet to send [14:52:59]OFD Sender: No OFD packet to send [14:53:04]OFD Sender: No OFD packet to send [14:53:09]OFD Sender: No OFD packet to send [14:53:14]OFD Sender: No OFD packet to send [14:53:19]OFD Sender: No OFD packet to send [14:53:24]OFD Sender: No OFD packet to send [14:53:29]OFD Sender: No OFD packet to send [14:53:34]OFD Sender: No OFD packet to send [14:53:39]OFD Sender: No OFD packet to send [14:53:44]OFD Sender: No OFD packet to send [14:53:49]OFD Sender: No OFD packet to send [14:53:54]OFD Sender: No OFD packet to send [14:53:59]OFD Sender: No OFD packet to send [14:54:04]OFD Sender: No OFD packet to send [14:54:09]OFD Sender: No OFD packet to send [14:54:14]OFD Sender: No OFD packet to send [14:54:19]OFD Sender: No OFD packet to send [14:54:24]OFD Sender: No OFD packet to send [14:54:29]OFD Sender: No OFD packet to send [14:54:34]OFD Sender: No OFD packet to send [14:54:39]OFD Sender: No OFD packet to send [14:54:44]OFD Sender: No OFD packet to send [14:54:49]OFD Sender: No OFD packet to send [14:54:54]OFD Sender: No OFD packet to send [14:54:59]OFD Sender: No OFD packet to send [14:55:04]OFD Sender: No OFD packet to send [14:55:09]OFD Sender: No OFD packet to send [14:55:14]OFD Sender: No OFD packet to send [14:55:19]OFD Sender: No OFD packet to send [14:55:24]OFD Sender: No OFD packet to send [14:55:29]OFD Sender: No OFD packet to send [14:55:34]OFD Sender: No OFD packet to send [14:55:39]OFD Sender: No OFD packet to send [14:55:44]OFD Sender: No OFD packet to send [14:55:49]OFD Sender: No OFD packet to send [14:55:54]OFD Sender: No OFD packet to send [14:55:59]OFD Sender: No OFD packet to send [14:56:04]OFD Sender: No OFD packet to send [14:56:09]OFD Sender: No OFD packet to send [14:56:14]OFD Sender: No OFD packet to send [14:56:19]OFD Sender: No OFD packet to send [14:56:24]OFD Sender: No OFD packet to send [14:56:29]OFD Sender: No OFD packet to send [14:56:34]OFD Sender: No OFD packet to send [14:56:39]OFD Sender: No OFD packet to send [14:56:44]OFD Sender: No OFD packet to send [14:56:49]OFD Sender: No OFD packet to send [14:56:54]OFD Sender: No OFD packet to send [14:56:59]OFD Sender: No OFD packet to send [14:57:04]OFD Sender: No OFD packet to send [14:57:09]OFD Sender: No OFD packet to send [14:57:14]OFD Sender: No OFD packet to send [14:57:19]OFD Sender: No OFD packet to send [14:57:24]OFD Sender: No OFD packet to send [14:57:29]OFD Sender: No OFD packet to send [14:57:34]OFD Sender: No OFD packet to send [14:57:39]OFD Sender: No OFD packet to send [14:57:44]OFD Sender: No OFD packet to send [14:57:49]OFD Sender: No OFD packet to send [14:57:54]OFD Sender: No OFD packet to send [14:57:59]OFD Sender: No OFD packet to send [14:58:04]OFD Sender: No OFD packet to send [14:58:09]OFD Sender: No OFD packet to send [14:58:14]OFD Sender: No OFD packet to send [14:58:19]OFD Sender: No OFD packet to send [14:58:24]OFD Sender: No OFD packet to send [14:58:29]OFD Sender: No OFD packet to send [14:58:34]OFD Sender: No OFD packet to send [14:58:39]OFD Sender: No OFD packet to send [14:58:44]OFD Sender: No OFD packet to send [14:58:49]OFD Sender: No OFD packet to send [14:58:54]OFD Sender: No OFD packet to send [14:58:59]OFD Sender: No OFD packet to send [14:59:04]OFD Sender: No OFD packet to send [14:59:09]OFD Sender: No OFD packet to send [14:59:14]OFD Sender: No OFD packet to send [14:59:19]OFD Sender: No OFD packet to send [14:59:24]OFD Sender: No OFD packet to send [14:59:29]OFD Sender: No OFD packet to send [14:59:34]OFD Sender: No OFD packet to send [14:59:39]OFD Sender: No OFD packet to send [14:59:44]OFD Sender: No OFD packet to send [14:59:49]OFD Sender: No OFD packet to send [14:59:54]OFD Sender: No OFD packet to send [14:59:59]OFD Sender: No OFD packet to send [15:00:04]OFD Sender: No OFD packet to send [15:00:09]OFD Sender: No OFD packet to send [15:00:14]OFD Sender: No OFD packet to send [15:00:19]OFD Sender: No OFD packet to send [15:00:24]OFD Sender: No OFD packet to send [15:00:29]OFD Sender: No OFD packet to send [15:00:34]OFD Sender: No OFD packet to send [15:00:39]OFD Sender: No OFD packet to send [15:00:44]OFD Sender: No OFD packet to send [15:00:49]OFD Sender: No OFD packet to send [15:00:54]OFD Sender: No OFD packet to send [15:00:59]OFD Sender: No OFD packet to send [15:01:04]OFD Sender: No OFD packet to send [15:01:09]OFD Sender: No OFD packet to send [15:01:14]OFD Sender: No OFD packet to send [15:01:19]OFD Sender: No OFD packet to send [15:01:24]OFD Sender: No OFD packet to send [15:01:29]OFD Sender: No OFD packet to send [15:01:34]OFD Sender: No OFD packet to send [15:01:39]OFD Sender: No OFD packet to send [15:01:44]OFD Sender: No OFD packet to send [15:01:49]OFD Sender: No OFD packet to send [15:01:54]OFD Sender: No OFD packet to send [15:01:59]OFD Sender: No OFD packet to send [15:02:04]OFD Sender: No OFD packet to send [15:02:09]OFD Sender: No OFD packet to send [15:02:14]OFD Sender: No OFD packet to send [15:02:19]OFD Sender: No OFD packet to send [15:02:24]OFD Sender: No OFD packet to send [15:02:29]OFD Sender: No OFD packet to send [15:02:34]OFD Sender: No OFD packet to send [15:02:39]OFD Sender: No OFD packet to send [15:02:44]OFD Sender: No OFD packet to send [15:02:49]OFD Sender: No OFD packet to send [15:02:54]OFD Sender: No OFD packet to send [15:02:59]OFD Sender: No OFD packet to send [15:03:04]OFD Sender: No OFD packet to send [15:03:09]OFD Sender: No OFD packet to send [15:03:14]OFD Sender: No OFD packet to send [15:03:19]OFD Sender: No OFD packet to send [15:03:24]OFD Sender: No OFD packet to send [15:03:29]OFD Sender: No OFD packet to send [15:03:34]OFD Sender: No OFD packet to send [15:03:39]OFD Sender: No OFD packet to send [15:03:44]OFD Sender: No OFD packet to send [15:03:49]OFD Sender: No OFD packet to send [15:03:54]OFD Sender: No OFD packet to send [15:03:59]OFD Sender: No OFD packet to send [15:04:04]OFD Sender: No OFD packet to send [15:04:09]OFD Sender: No OFD packet to send [15:04:14]OFD Sender: No OFD packet to send [15:04:19]OFD Sender: No OFD packet to send [15:04:24]OFD Sender: No OFD packet to send [15:04:29]OFD Sender: No OFD packet to send [15:04:34]OFD Sender: No OFD packet to send [15:04:39]OFD Sender: No OFD packet to send [15:04:44]OFD Sender: No OFD packet to send [15:04:49]OFD Sender: No OFD packet to send [15:04:54]OFD Sender: No OFD packet to send [15:04:59]OFD Sender: No OFD packet to send [15:05:04]OFD Sender: No OFD packet to send [15:05:09]OFD Sender: No OFD packet to send [15:05:14]OFD Sender: No OFD packet to send [15:05:19]OFD Sender: No OFD packet to send [15:05:24]OFD Sender: No OFD packet to send [15:05:29]OFD Sender: No OFD packet to send [15:05:34]OFD Sender: No OFD packet to send [15:05:39]OFD Sender: No OFD packet to send [15:05:44]OFD Sender: No OFD packet to send [15:05:49]OFD Sender: No OFD packet to send [15:05:54]OFD Sender: No OFD packet to send [15:05:59]OFD Sender: No OFD packet to send [15:06:04]OFD Sender: No OFD packet to send [15:06:09]OFD Sender: No OFD packet to send [15:06:14]OFD Sender: No OFD packet to send [15:06:19]OFD Sender: No OFD packet to send [15:06:24]OFD Sender: No OFD packet to send [15:06:29]OFD Sender: No OFD packet to send [15:06:34]OFD Sender: No OFD packet to send [15:06:39]OFD Sender: No OFD packet to send [15:06:44]OFD Sender: No OFD packet to send [15:06:49]OFD Sender: No OFD packet to send [15:06:54]OFD Sender: No OFD packet to send [15:06:59]OFD Sender: No OFD packet to send [15:07:04]OFD Sender: No OFD packet to send [15:07:09]OFD Sender: No OFD packet to send [15:07:14]OFD Sender: No OFD packet to send [15:07:19]OFD Sender: No OFD packet to send [15:07:24]OFD Sender: No OFD packet to send [15:07:29]OFD Sender: No OFD packet to send [15:07:34]OFD Sender: No OFD packet to send [15:07:39]OFD Sender: No OFD packet to send [15:07:44]OFD Sender: No OFD packet to send [15:07:49]OFD Sender: No OFD packet to send [15:07:54]OFD Sender: No OFD packet to send [15:07:59]OFD Sender: No OFD packet to send [15:08:04]OFD Sender: No OFD packet to send [15:08:09]OFD Sender: No OFD packet to send [15:08:14]OFD Sender: No OFD packet to send [15:08:19]OFD Sender: No OFD packet to send [15:08:24]OFD Sender: No OFD packet to send [15:08:29]OFD Sender: No OFD packet to send [15:08:34]OFD Sender: No OFD packet to send [15:08:39]OFD Sender: No OFD packet to send [15:08:44]OFD Sender: No OFD packet to send [15:08:49]OFD Sender: No OFD packet to send [15:08:54]OFD Sender: No OFD packet to send [15:08:59]OFD Sender: No OFD packet to send [15:09:04]OFD Sender: No OFD packet to send [15:09:09]OFD Sender: No OFD packet to send [15:09:14]OFD Sender: No OFD packet to send [15:09:19]OFD Sender: No OFD packet to send [15:09:24]OFD Sender: No OFD packet to send [15:09:29]OFD Sender: No OFD packet to send [15:09:34]OFD Sender: No OFD packet to send [15:09:39]OFD Sender: No OFD packet to send [15:09:44]OFD Sender: No OFD packet to send [15:09:49]OFD Sender: No OFD packet to send [15:09:54]OFD Sender: No OFD packet to send [15:09:59]OFD Sender: No OFD packet to send [15:10:04]OFD Sender: No OFD packet to send [15:10:10]OFD Sender: No OFD packet to send [15:10:15]OFD Sender: No OFD packet to send [15:10:20]OFD Sender: No OFD packet to send [15:10:25]OFD Sender: No OFD packet to send [15:10:30]OFD Sender: No OFD packet to send [15:10:35]OFD Sender: No OFD packet to send [15:10:40]OFD Sender: No OFD packet to send [15:10:45]OFD Sender: No OFD packet to send [15:10:50]OFD Sender: No OFD packet to send [15:10:55]OFD Sender: No OFD packet to send [15:11:00]OFD Sender: No OFD packet to send [15:11:05]OFD Sender: No OFD packet to send [15:11:10]OFD Sender: No OFD packet to send [15:11:15]OFD Sender: No OFD packet to send [15:11:20]OFD Sender: No OFD packet to send [15:11:25]OFD Sender: No OFD packet to send [15:11:30]OFD Sender: No OFD packet to send [15:11:35]OFD Sender: No OFD packet to send [15:11:40]OFD Sender: No OFD packet to send [15:11:45]OFD Sender: No OFD packet to send [15:11:50]OFD Sender: No OFD packet to send [15:11:55]OFD Sender: No OFD packet to send [15:12:00]OFD Sender: No OFD packet to send [15:12:05]OFD Sender: No OFD packet to send [15:12:10]OFD Sender: No OFD packet to send [15:12:15]OFD Sender: No OFD packet to send [15:12:20]OFD Sender: No OFD packet to send [15:12:25]OFD Sender: No OFD packet to send [15:12:30]OFD Sender: No OFD packet to send [15:12:35]OFD Sender: No OFD packet to send [15:12:40]OFD Sender: No OFD packet to send [15:12:45]OFD Sender: No OFD packet to send [15:12:50]OFD Sender: No OFD packet to send [15:12:55]OFD Sender: No OFD packet to send [15:13:00]OFD Sender: No OFD packet to send [15:13:05]OFD Sender: No OFD packet to send [15:13:10]OFD Sender: No OFD packet to send [15:13:15]OFD Sender: No OFD packet to send [15:13:20]OFD Sender: No OFD packet to send [15:13:25]OFD Sender: No OFD packet to send [15:13:30]OFD Sender: No OFD packet to send [15:13:35]OFD Sender: No OFD packet to send [15:13:40]OFD Sender: No OFD packet to send [15:13:45]OFD Sender: No OFD packet to send [15:13:50]OFD Sender: No OFD packet to send [15:13:55]OFD Sender: No OFD packet to send [15:14:00]OFD Sender: No OFD packet to send [15:14:05]OFD Sender: No OFD packet to send [15:14:10]OFD Sender: No OFD packet to send [15:14:15]OFD Sender: No OFD packet to send [15:14:20]OFD Sender: No OFD packet to send [15:14:25]OFD Sender: No OFD packet to send [15:14:30]OFD Sender: No OFD packet to send [15:14:35]OFD Sender: No OFD packet to send [15:14:40]OFD Sender: No OFD packet to send [15:14:45]OFD Sender: No OFD packet to send [15:14:50]OFD Sender: No OFD packet to send [15:14:55]OFD Sender: No OFD packet to send [15:15:00]OFD Sender: No OFD packet to send [15:15:05]OFD Sender: No OFD packet to send [15:15:10]OFD Sender: No OFD packet to send [15:15:15]OFD Sender: No OFD packet to send [15:15:20]OFD Sender: No OFD packet to send [15:15:25]OFD Sender: No OFD packet to send [15:15:30]OFD Sender: No OFD packet to send [15:15:35]OFD Sender: No OFD packet to send [15:15:40]OFD Sender: No OFD packet to send [15:15:45]OFD Sender: No OFD packet to send [15:15:50]OFD Sender: No OFD packet to send [15:15:55]OFD Sender: No OFD packet to send [15:16:00]OFD Sender: No OFD packet to send [15:16:05]OFD Sender: No OFD packet to send [15:16:10]OFD Sender: No OFD packet to send [15:16:15]OFD Sender: No OFD packet to send [15:16:20]OFD Sender: No OFD packet to send [15:16:25]OFD Sender: No OFD packet to send [15:16:30]OFD Sender: No OFD packet to send [15:16:35]OFD Sender: No OFD packet to send [15:16:40]OFD Sender: No OFD packet to send [15:16:45]OFD Sender: No OFD packet to send [15:16:50]OFD Sender: No OFD packet to send [15:16:55]OFD Sender: No OFD packet to send [15:17:00]OFD Sender: No OFD packet to send [15:17:05]OFD Sender: No OFD packet to send [15:17:10]OFD Sender: No OFD packet to send [15:17:15]OFD Sender: No OFD packet to send [15:17:20]OFD Sender: No OFD packet to send [15:17:25]OFD Sender: No OFD packet to send [15:17:30]OFD Sender: No OFD packet to send [15:17:35]OFD Sender: No OFD packet to send [15:17:40]OFD Sender: No OFD packet to send [15:17:45]OFD Sender: No OFD packet to send [15:17:50]OFD Sender: No OFD packet to send [15:17:55]OFD Sender: No OFD packet to send [15:18:00]OFD Sender: No OFD packet to send [15:18:05]OFD Sender: No OFD packet to send [15:18:10]OFD Sender: No OFD packet to send [15:18:15]OFD Sender: No OFD packet to send [15:18:20]OFD Sender: No OFD packet to send [15:18:25]OFD Sender: No OFD packet to send [15:18:30]OFD Sender: No OFD packet to send [15:18:35]OFD Sender: No OFD packet to send [15:18:40]OFD Sender: No OFD packet to send [15:18:45]OFD Sender: No OFD packet to send [15:18:50]OFD Sender: No OFD packet to send [15:18:55]OFD Sender: No OFD packet to send [15:19:00]OFD Sender: No OFD packet to send [15:19:05]OFD Sender: No OFD packet to send [15:19:10]OFD Sender: No OFD packet to send [15:19:15]OFD Sender: No OFD packet to send [15:19:20]OFD Sender: No OFD packet to send [15:19:25]OFD Sender: No OFD packet to send [15:19:30]OFD Sender: No OFD packet to send [15:19:35]OFD Sender: No OFD packet to send [15:19:40]OFD Sender: No OFD packet to send [15:19:45]OFD Sender: No OFD packet to send [15:19:50]OFD Sender: No OFD packet to send [15:19:55]OFD Sender: No OFD packet to send [15:20:00]OFD Sender: No OFD packet to send [15:20:05]OFD Sender: No OFD packet to send [15:20:10]OFD Sender: No OFD packet to send [15:20:15]OFD Sender: No OFD packet to send [15:20:20]OFD Sender: No OFD packet to send [15:20:25]OFD Sender: No OFD packet to send [15:20:30]OFD Sender: No OFD packet to send [15:20:35]OFD Sender: No OFD packet to send [15:20:40]OFD Sender: No OFD packet to send [15:20:45]OFD Sender: No OFD packet to send [15:20:50]OFD Sender: No OFD packet to send [15:20:55]OFD Sender: No OFD packet to send [15:21:00]OFD Sender: No OFD packet to send [15:21:05]OFD Sender: No OFD packet to send [15:21:10]OFD Sender: No OFD packet to send [15:21:15]OFD Sender: No OFD packet to send [15:21:20]OFD Sender: No OFD packet to send [15:21:25]OFD Sender: No OFD packet to send [15:21:30]OFD Sender: No OFD packet to send [15:21:35]OFD Sender: No OFD packet to send [15:21:40]OFD Sender: No OFD packet to send [15:21:45]OFD Sender: No OFD packet to send [15:21:50]OFD Sender: No OFD packet to send [15:21:55]OFD Sender: No OFD packet to send [15:22:00]OFD Sender: No OFD packet to send [15:22:05]OFD Sender: No OFD packet to send [15:22:10]OFD Sender: No OFD packet to send [15:22:15]OFD Sender: No OFD packet to send [15:22:20]OFD Sender: No OFD packet to send [15:22:25]OFD Sender: No OFD packet to send [15:22:30]OFD Sender: No OFD packet to send [15:22:35]OFD Sender: No OFD packet to send [15:22:40]OFD Sender: No OFD packet to send [15:22:45]OFD Sender: No OFD packet to send [15:22:50]OFD Sender: No OFD packet to send [15:22:55]OFD Sender: No OFD packet to send [15:23:00]OFD Sender: No OFD packet to send [15:23:05]OFD Sender: No OFD packet to send [15:23:10]OFD Sender: No OFD packet to send [15:23:15]OFD Sender: No OFD packet to send [15:23:20]OFD Sender: No OFD packet to send [15:23:25]OFD Sender: No OFD packet to send [15:23:30]OFD Sender: No OFD packet to send [15:23:35]OFD Sender: No OFD packet to send [15:23:40]OFD Sender: No OFD packet to send [15:23:45]OFD Sender: No OFD packet to send [15:23:50]OFD Sender: No OFD packet to send [15:23:55]OFD Sender: No OFD packet to send [15:24:00]OFD Sender: No OFD packet to send [15:24:05]OFD Sender: No OFD packet to send [15:24:10]OFD Sender: No OFD packet to send [15:24:15]OFD Sender: No OFD packet to send [15:24:20]OFD Sender: No OFD packet to send [15:24:25]OFD Sender: No OFD packet to send [15:24:30]OFD Sender: No OFD packet to send [15:24:35]OFD Sender: No OFD packet to send [15:24:39]accept exits with 7 [15:24:39]New connection [15:24:39]New thread 3066936676 created [15:24:39]Thread 3066793316 joined [15:24:39]Waiting for new connection... [15:24:39] Sock 7.Parse request [15:24:39]Sock 7.Check first char [15:24:39]Sock 7.First char is OK [15:24:39]request: POST /json_proto HTTP/1.0 [15:24:39]Method: POST [15:24:39]URL: /json_proto [15:24:39]Method is POST - this is cgi request [15:24:39]url: /json_proto [15:24:39]query_string will be loaded in cgi processing [15:24:39]execute_cgi json_proto POST (null) [15:24:39]execute_cgi path=json_proto method=POST [15:24:39]POST find Content-Length [15:24:39]Host: 172.17.35.196:8080 [15:24:39]Content-Length: 626 [15:24:39]Content-Type: application/json [15:24:39] [15:24:39]POST finish read [15:24:39]Found Content-Length = 626 [15:24:39]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169117", "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 }]} ], "payments": [ { "type": 0, "sum" : 138.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:24:39]execute_script... [15:24: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)169117", "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 }]} ], "payments": [ { "type": 0, "sum" : 138.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:24:39]POST & json_proto [15:24:39]process_json_proto [15:24:39]json parsed OK: [15:24:39]protocol is kg_v1.0 [15:24:39]action value=close_receipt [15:24:39]process_action close_receipt [15:24:39]cmd_close_receipt [15:24:39]MH_GetDate [15:24:39]Write to MH i2c: F0 00 00 30 04 23 [15:24:39]Write i2c OK [15:24:39]MH_I2C_Read... [15:24:39]Read from MH i2c: F0 [15:24:39]MH_I2C_Read... [15:24:39]Read from MH i2c: F0 09 00 [15:24:39]MH_I2C_Read... [15:24:39]Read from MH i2c: F0 09 00 30 04 00 37 F9 8F 66 AD 14 F4 65 6B [15:24:39]GetLastDocTimeStamp 1720709031 [15:24:39]current date 1720711479 [15:24:39]FM_GetShiftState [15:24:39]SAM_PROTO_GetShiftState [15:24:39]wFMCommunicate request_size=4 [15:24:39]MH_SAM_APDU [15:24:39]CAPDU: 80 13 01 00 [15:24:39]Write to MH i2c: E2 08 00 31 04 80 13 01 00 00 00 00 00 B2 [15:24:39]Write i2c OK [15:24:39]MH_I2C_Read... [15:24:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:24:39]Read from MH i2c: E2 [15:24:39]MH_I2C_Read... [15:24:39]Read from MH i2c: E2 0E 00 [15:24:39]MH_I2C_Read... [15:24:39]Read from MH i2c: E2 0E 00 31 04 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 E3 [15:24:39]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [15:24:39]wFMCommunicate OK [15:24:39]SAM_PROTO_GetShiftState done [15:24:39]FM_GetShiftState done [15:24:39]opened in 1720656398 [15:24:39]opened+sec_in_day 1720742798 [15:24:39]quantity*price = 13800 [15:24:39]sum+1 = 13801 [15:24:39]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 138.00 НСП 1% : 1.22 НДС 12% : 14.65 Наличными: 138.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 38 11.07.2024 15:24 Смена: 432 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33283 ФПД: 279427432775153 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T152439&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33283&fm=279427432775153&tin=02508201610067®Number=0000000000093033&sum=13800 0 [15:24:40]StoreToDocumentArchive [15:24:40]shift 432 fd 33283 [15:24:40]save to /storage/0432/doc_00033283 [15:24:40]save last doc name /storage/0432/doc_00033283 to /storage/kkm_last_doc_name [15:24:40]save OK [15:24:40]Clear old archive folders... [15:24:40]ProcessDocumentItem done err = 0, tmpTLVsize=278 [15:24:40]tlvbuf is 01CB6750 [15:24:40]SAM_PROTO_ClearQueue [15:24:40]wFMCommunicate request_size=4 [15:24:40]MH_SAM_APDU [15:24:40]CAPDU: 80 09 00 00 [15:24:40]Write to MH i2c: E2 08 00 3E 04 80 09 00 00 00 00 00 00 B4 [15:24:40]Write i2c OK [15:24:40]MH_I2C_Read... [15:24:40]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:24:40]Read from MH i2c: E2 [15:24:40]MH_I2C_Read... [15:24:40]Read from MH i2c: E2 03 00 [15:24:40]MH_I2C_Read... [15:24:40]Read from MH i2c: E2 03 00 3E 04 00 90 00 B6 [15:24:40]RAPDU: 90 00 [15:24:40]wFMCommunicate OK [15:24:40]SAM_PROTO_ClearQueue done [15:24:40]KKMCreateOFDPacket [15:24:40]OFDProtocolAddRootSTLVToBuf [15:24:40]FM_MakeSignedData [15:24:40]FM_MakeSignedData [15:24:40]SAM_PROTO_SignData [15:24:40]wFMCommunicate request_size=4 [15:24:40]MH_SAM_APDU [15:24:40]CAPDU: 80 0D 01 02 [15:24:40]Write to MH i2c: E2 08 00 3F 04 80 0D 01 02 00 00 00 00 BC [15:24:40]Write i2c OK [15:24:40]MH_I2C_Read... [15:24:40]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:24:40]Read from MH i2c: E2 [15:24:40]MH_I2C_Read... [15:24:40]Read from MH i2c: E2 03 00 [15:24:40]MH_I2C_Read... [15:24:40]Read from MH i2c: E2 03 00 3F 04 00 90 00 B7 [15:24:40]RAPDU: 90 00 [15:24:40]wFMCommunicate OK [15:24:40]wFMCommunicate request_size=255 [15:24:40]MH_SAM_APDU [15:24:40]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 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 26 00 00 00 F4 03 04 00 37 F9 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 [15:24:40]Write to MH i2c: E2 02 01 40 04 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 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 26 00 00 00 F4 03 04 00 37 F9 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 00 00 76 [15:24:40]Write i2c OK [15:24:40]MH_I2C_Read... [15:24:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:24:40]Read from MH i2c: E2 [15:24:40]MH_I2C_Read... [15:24:40]Read from MH i2c: E2 03 00 [15:24:40]MH_I2C_Read... [15:24:40]Read from MH i2c: E2 03 00 40 04 00 90 00 B8 [15:24:40]RAPDU: 90 00 [15:24:40]wFMCommunicate OK [15:24:40]wFMCommunicate request_size=37 [15:24:40]MH_SAM_APDU [15:24:40]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 03 82 00 00 35 04 06 00 FE 23 44 DE FD F1 [15:24:40]Write to MH i2c: E2 28 00 41 04 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 03 82 00 00 35 04 06 00 FE 23 44 DE FD F1 00 00 C5 [15:24:40]Write i2c OK [15:24:40]MH_I2C_Read... [15:24:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:24:40]Read from MH i2c: E2 [15:24:40]MH_I2C_Read... [15:24:40]Read from MH i2c: E2 03 00 [15:24:40]MH_I2C_Read... [15:24:40]Read from MH i2c: E2 03 00 41 04 00 90 00 B9 [15:24:40]RAPDU: 90 00 [15:24:40]wFMCommunicate OK [15:24:40]wFMCommunicate request_size=4 [15:24:40]MH_SAM_APDU [15:24:40]CAPDU: 80 0D 03 02 [15:24:40]Write to MH i2c: E2 08 00 42 04 80 0D 03 02 00 00 00 00 C1 [15:24:40]Write i2c OK [15:24:40]MH_I2C_Read... [15:24:40]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:24:40]Read from MH i2c: E2 [15:24:40]MH_I2C_Read... [15:24:40]Read from MH i2c: E2 0B 00 [15:24:40]MH_I2C_Read... [15:24:40]Read from MH i2c: E2 0B 00 42 04 00 04 86 30 13 0D 50 84 10 90 00 80 [15:24:40]RAPDU: 04 86 30 13 0D 50 84 10 90 00 [15:24:40]wFMCommunicate OK [15:24:40]SAM_PROTO_SignData done [15:24:40]FM_MakeSignedData done [15:24:40]CreateOFDProtocolMessage [15:24:40]wFMCommunicate request_size=4 [15:24:40]MH_SAM_APDU [15:24:40]CAPDU: 80 11 00 00 [15:24:40]Write to MH i2c: E2 08 00 43 04 80 11 00 00 00 00 00 00 C1 [15:24:40]Write i2c OK [15:24:40]MH_I2C_Read... [15:24:40]OFD Sender: No OFD packet to send [15:24:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:24:40]Read from MH i2c: E2 [15:24:40]MH_I2C_Read... [15:24:40]Read from MH i2c: E2 17 00 [15:24:40]MH_I2C_Read... [15:24:40]Read from MH i2c: E2 17 00 43 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 0D [15:24:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [15:24:40]wFMCommunicate OK [15:24:40]CreateOFDProtocolMessage done [15:24:40]OFDSenderStorePacket 33283 [15:24:40]StoreOFDPacket docnum=33283 [15:24:40]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 2A 01 00 00 A0 F2 22 01 01 0A 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 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 26 00 00 00 F4 03 04 00 37 F9 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 03 82 00 00 35 04 06 00 FE 23 44 DE FD F1 04 86 30 13 0D 50 84 10 [15:24:40]CheckFolder [15:24:40]dirname=/storage/ofd_packets [15:24:40]CheckFolder done [15:24:40]ProducePacketName [15:24:40]name=ofd_packets/00033283 [15:24:40]NVStorageSaveData ofd_packets/00033283 [15:24:40]File name is /storage/ofd_packets/00033283 [15:24:40]Write 328 bytes [15:24:40]NVStorageSaveData done [15:24:40]OFDSenderStorePacket done [15:24:40]KKMCreateOFDPacket done [15:24:40]NVStorageSaveData kkm_last_timestamp [15:24:40]File name is /storage/kkm_last_timestamp [15:24:40]Write 4 bytes [15:24:40]NVStorageSaveData done [15:24:40]ExternCall_PrintAddStr [15:24:40]wPrintStart [15:24:40]Write to MH i2c: 01 00 00 44 04 48 [15:24:40]Write i2c OK [15:24:40]MH_I2C_Read... [15:24:40]Read from MH i2c: 01 [15:24:40]MH_I2C_Read... [15:24:40]Read from MH i2c: 01 07 00 [15:24:40]MH_I2C_Read... [15:24:40]Read from MH i2c: 01 07 00 44 04 00 00 00 00 00 FF 0F 5D [15:24:40]RasterBufferAndPrint [15:24:40]line Счет N : (3)169117 [15:24:40]line ИНН: 02508201610067 [15:24:40]line Контрольно-Кассовый Чек [15:24:40]line ПРОДАЖА [15:24:40]line Товар: 4640030092499 [15:24:40]line Сигареты ESSE SENSE Himalaya [15:24:40]line 1.000 * 138.00 [15:24:40]line = 138.00 [15:24:40]line НДС 12% НСП 1% [15:24:40]line > о реализуемом товаре [15:24:40]line ИТОГО: 138.00 [15:24:40]line НСП 1% : 1.22 [15:24:40]line НДС 12% : 14.65 [15:24:40]line Наличными: 138.00 [15:24:40]line Безнал.: 0.00 [15:24:40]line Место: АЗС № 77 "Партнер Нефть" [15:24:40]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [15:24:40]line СНО: Общий режим [15:24:40]line Чек 38 11.07.2024 15:24 [15:24:40]line Смена: 432 ФФД: 1.0 [15:24:40]line ЗНМ: 0300000122 [15:24:40]line РНМ: 0000000000093033 [15:24:40]line Версия ККМ: 001 [15:24:40]line ФМ: 0000000000875104 [15:24:40]line ФД: 33283 [15:24:40]line ФПД: 279427432775153 [15:24:41]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T152439&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33283&fm=279427432775153&tin=02508201610067®Number=0000000000093033&sum=13800 [15:24:41]line 0 [15:24:41]OFD Sender: Processing packet 33283 [packets to send 6, broken 5] [15:24:41]ProducePacketName [15:24:41]name=ofd_packets/00033283 [15:24:41]OFD Sender: To server: pG, [15:24:41]CommunicateWithHost lk.salyk.kg:30040 [15:24:41]ConnectInit lk.salyk.kg [15:24:41]written 0, free lines is 4095 [15:24:41]Connected sock=10 [15:24:41]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 2A 01 00 00 A0 F2 22 01 01 0A 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 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 26 00 00 00 F4 03 04 00 37 F9 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 03 82 00 00 35 04 06 00 FE 23 44 DE FD F1 04 86 30 13 0D 50 84 10 [15:24:41]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 50 A3 47 00 10 84 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 03 82 00 00 F4 03 04 00 E7 A3 8F 66 B6 04 01 00 00 8D 30 58 17 A5 A4 7D 88 [15:24:41]CommunicateWithHost err = 0 [15:24:41]CheckOFDResponse [15:24:41]1017 (14) - 77093643461234 [15:24:41]1041 (16) - 0000000000875104 [15:24:41]1040 (4) - 33283 [15:24:41]1012 (4) - 11.07.2024 09:20 [15:24:41]1206 (1) - 0 [15:24:41]OFD Sender: Remove packet 33283 [15:24:41]ProducePacketName [15:24:41]name=ofd_packets/00033283 [15:24:41]NVStorageDeleteData [15:24:41]Write to MH i2c: 01 00 00 6D 04 71 [15:24:41]Write i2c OK [15:24:41]MH_I2C_Read... [15:24:41]Read from MH i2c: 01 [15:24:41]MH_I2C_Read... [15:24:41]Read from MH i2c: 01 07 00 [15:24:41]MH_I2C_Read... [15:24:41]Read from MH i2c: 01 07 00 6D 04 00 00 00 00 00 F0 0C 74 [15:24:41]RasterBufferAndPrint [15:24:41]line [15:24:41]line [15:24:41]line [15:24:41]line [15:24:41]line [15:24:41]written 0, free lines is 3318 [15:24:41]MH_Cut [15:24:41]Write to MH i2c: D1 01 00 74 04 01 4A [15:24:41]Write i2c OK [15:24:41]MH_I2C_Read... [15:24:41]Read from MH i2c: D1 [15:24:41]MH_I2C_Read... [15:24:41]Read from MH i2c: D1 01 00 [15:24:41]MH_I2C_Read... [15:24:41]Read from MH i2c: D1 01 00 74 04 00 49 [15:24:41]Write to MH i2c: 01 00 00 75 04 79 [15:24:41]Write i2c OK [15:24:41]MH_I2C_Read... [15:24:41]OFD Sender: No OFD packet to send [15:24:42]*** Cut start [15:24:42]*** Partial cut [15:24:42]*** CUTSNS_PIN = 1 [15:24:42]*** CUTSNS_PIN = 0 [15:24:42]*** Brake cut motor [15:24:42]Read from MH i2c: 01 [15:24:42]MH_I2C_Read... [15:24:42]*** Stop cut motor [15:24:42]*** Cut end [15:24:42]Read from MH i2c: 01 07 00 [15:24:42]MH_I2C_Read... [15:24:42]Read from MH i2c: 01 07 00 75 04 00 00 00 00 00 FF 0F 8E [15:24:42]process_action close_receipt done [15:24:42]requested_data is exist [15:24:42]produce_requested_data [15:24:42]requested_item fm.sn is exist - process it [15:24:42]wFMCommunicate request_size=4 [15:24:42]MH_SAM_APDU [15:24:42]CAPDU: 80 11 00 00 [15:24:42]Write to MH i2c: E2 08 00 76 04 80 11 00 00 00 00 00 00 F4 [15:24:42]Write i2c OK [15:24:42]MH_I2C_Read... [15:24:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:24:42]Read from MH i2c: E2 [15:24:42]MH_I2C_Read... [15:24:42]Read from MH i2c: E2 17 00 [15:24:42]MH_I2C_Read... [15:24:42]Read from MH i2c: E2 17 00 76 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 40 [15:24:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [15:24:42]wFMCommunicate OK [15:24:42]requested_item fd.num is exist - process it [15:24:42]SAM_PROTO_GetFieldsCounters [15:24:42]wFMCommunicate request_size=4 [15:24:42]MH_SAM_APDU [15:24:42]CAPDU: 80 13 00 00 [15:24:42]Write to MH i2c: E2 08 00 77 04 80 13 00 00 00 00 00 00 F7 [15:24:42]Write i2c OK [15:24:42]MH_I2C_Read... [15:24:43]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:24:43]Read from MH i2c: E2 [15:24:43]MH_I2C_Read... [15:24:43]Read from MH i2c: E2 62 00 [15:24:43]MH_I2C_Read... [15:24:43]Read from MH i2c: E2 62 00 77 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 03 82 00 00 0E 04 04 00 B0 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 B2 [15:24: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 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 03 82 00 00 0E 04 04 00 B0 01 00 00 12 04 04 00 26 00 00 00 5E 04 04 00 26 00 00 00 57 04 04 00 27 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:24:43]wFMCommunicate OK [15:24:43]SAM_PROTO_GetFieldsCounters done [15:24:43]requested_item shift.num is exist - process it [15:24:43]requested_item shift.opened is exist - process it [15:24:43]req_shift_opened [15:24:43]FM_GetShiftState [15:24:43]SAM_PROTO_GetShiftState [15:24:43]wFMCommunicate request_size=4 [15:24:43]MH_SAM_APDU [15:24:43]CAPDU: 80 13 01 00 [15:24:43]Write to MH i2c: E2 08 00 78 04 80 13 01 00 00 00 00 00 F9 [15:24:43]Write i2c OK [15:24:43]MH_I2C_Read... [15:24:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:24:43]Read from MH i2c: E2 [15:24:43]MH_I2C_Read... [15:24:43]Read from MH i2c: E2 0E 00 [15:24:43]MH_I2C_Read... [15:24:43]Read from MH i2c: E2 0E 00 78 04 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 2A [15:24:43]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [15:24:43]wFMCommunicate OK [15:24:43]SAM_PROTO_GetShiftState done [15:24:43]FM_GetShiftState done [15:24:43]req_shift_opened done [15:24:43]requested_item shift.open_date is exist - process it [15:24:43]req_shift_open_date [15:24:43]req_shift_open_date done [15:24:43]produce_requested_data done [15:24:43]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33283,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398} [15:24:43]process_action_free close_receipt [15:24:43]json_value_free [15:24:43]json_value_free done [15:24:43]process_json_proto returns [15:24:43]Send response to host [15:24:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33283,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398}}} [15:24:43]free response buf [15:24:43]execute_script done [15:24:43]execute_script returns [15:24:43]free content buf [15:24:43]Sock 7.Close socket [15:24:43]Sock 7.Thread stoped [15:24:46]OFD Sender: No OFD packet to send [15:24:51]OFD Sender: No OFD packet to send [15:24:56]OFD Sender: No OFD packet to send [15:25:01]OFD Sender: No OFD packet to send [15:25:06]OFD Sender: No OFD packet to send [15:25:11]OFD Sender: No OFD packet to send [15:25:16]OFD Sender: No OFD packet to send [15:25:21]OFD Sender: No OFD packet to send [15:25:26]OFD Sender: No OFD packet to send [15:25:31]OFD Sender: No OFD packet to send [15:25:36]OFD Sender: No OFD packet to send [15:25:41]OFD Sender: No OFD packet to send [15:25:46]OFD Sender: No OFD packet to send [15:25:51]OFD Sender: No OFD packet to send [15:25:56]OFD Sender: No OFD packet to send [15:26:01]OFD Sender: No OFD packet to send [15:26:06]OFD Sender: No OFD packet to send [15:26:11]OFD Sender: No OFD packet to send [15:26:16]OFD Sender: No OFD packet to send [15:26:21]OFD Sender: No OFD packet to send [15:26:26]OFD Sender: No OFD packet to send [15:26:31]OFD Sender: No OFD packet to send [15:26:36]OFD Sender: No OFD packet to send [15:26:41]OFD Sender: No OFD packet to send [15:26:46]OFD Sender: No OFD packet to send [15:26:51]OFD Sender: No OFD packet to send [15:26:56]OFD Sender: No OFD packet to send [15:27:01]OFD Sender: No OFD packet to send [15:27:06]OFD Sender: No OFD packet to send [15:27:11]OFD Sender: No OFD packet to send [15:27:16]OFD Sender: No OFD packet to send [15:27:21]OFD Sender: No OFD packet to send [15:27:26]OFD Sender: No OFD packet to send [15:27:31]OFD Sender: No OFD packet to send [15:27:36]OFD Sender: No OFD packet to send [15:27:41]OFD Sender: No OFD packet to send [15:27:46]OFD Sender: No OFD packet to send [15:27:51]OFD Sender: No OFD packet to send [15:27:56]OFD Sender: No OFD packet to send [15:28:01]OFD Sender: No OFD packet to send [15:28:06]OFD Sender: No OFD packet to send [15:28:12]OFD Sender: No OFD packet to send [15:28:17]OFD Sender: No OFD packet to send [15:28:22]OFD Sender: No OFD packet to send [15:28:27]OFD Sender: No OFD packet to send [15:28:32]OFD Sender: No OFD packet to send [15:28:37]OFD Sender: No OFD packet to send [15:28:42]OFD Sender: No OFD packet to send [15:28:47]OFD Sender: No OFD packet to send [15:28:52]OFD Sender: No OFD packet to send [15:28:57]OFD Sender: No OFD packet to send [15:29:02]OFD Sender: No OFD packet to send [15:29:07]OFD Sender: No OFD packet to send [15:29:12]OFD Sender: No OFD packet to send [15:29:17]OFD Sender: No OFD packet to send [15:29:22]OFD Sender: No OFD packet to send [15:29:27]OFD Sender: No OFD packet to send [15:29:32]OFD Sender: No OFD packet to send [15:29:37]OFD Sender: No OFD packet to send [15:29:42]OFD Sender: No OFD packet to send [15:29:47]OFD Sender: No OFD packet to send [15:29:52]OFD Sender: No OFD packet to send [15:29:57]OFD Sender: No OFD packet to send [15:30:02]OFD Sender: No OFD packet to send [15:30:07]OFD Sender: No OFD packet to send [15:30:12]OFD Sender: No OFD packet to send [15:30:17]OFD Sender: No OFD packet to send [15:30:22]OFD Sender: No OFD packet to send [15:30:27]OFD Sender: No OFD packet to send [15:30:32]OFD Sender: No OFD packet to send [15:30:37]OFD Sender: No OFD packet to send [15:30:42]OFD Sender: No OFD packet to send [15:30:47]OFD Sender: No OFD packet to send [15:30:52]OFD Sender: No OFD packet to send [15:30:57]OFD Sender: No OFD packet to send [15:31:02]OFD Sender: No OFD packet to send [15:31:07]OFD Sender: No OFD packet to send [15:31:12]OFD Sender: No OFD packet to send [15:31:17]OFD Sender: No OFD packet to send [15:31:22]OFD Sender: No OFD packet to send [15:31:27]OFD Sender: No OFD packet to send [15:31:32]OFD Sender: No OFD packet to send [15:31:37]OFD Sender: No OFD packet to send [15:31:42]OFD Sender: No OFD packet to send [15:31:47]OFD Sender: No OFD packet to send [15:31:52]OFD Sender: No OFD packet to send [15:31:57]OFD Sender: No OFD packet to send [15:32:02]OFD Sender: No OFD packet to send [15:32:07]OFD Sender: No OFD packet to send [15:32:12]OFD Sender: No OFD packet to send [15:32:17]OFD Sender: No OFD packet to send [15:32:22]OFD Sender: No OFD packet to send [15:32:27]OFD Sender: No OFD packet to send [15:32:32]OFD Sender: No OFD packet to send [15:32:37]OFD Sender: No OFD packet to send [15:32:42]OFD Sender: No OFD packet to send [15:32:47]OFD Sender: No OFD packet to send [15:32:52]OFD Sender: No OFD packet to send [15:32:57]OFD Sender: No OFD packet to send [15:33:02]OFD Sender: No OFD packet to send [15:33:07]OFD Sender: No OFD packet to send [15:33:12]OFD Sender: No OFD packet to send [15:33:17]OFD Sender: No OFD packet to send [15:33:22]OFD Sender: No OFD packet to send [15:33:27]OFD Sender: No OFD packet to send [15:33:32]OFD Sender: No OFD packet to send [15:33:37]OFD Sender: No OFD packet to send [15:33:42]OFD Sender: No OFD packet to send [15:33:47]OFD Sender: No OFD packet to send [15:33:52]OFD Sender: No OFD packet to send [15:33:57]OFD Sender: No OFD packet to send [15:34:00]accept exits with 9 [15:34:00]New connection [15:34:00]New thread 3066793316 created [15:34:00]Thread 3066936676 joined [15:34:00]Waiting for new connection... [15:34:00] Sock 9.Parse request [15:34:00]Sock 9.Check first char [15:34:00]Sock 9.First char is OK [15:34:00]request: POST /json_proto HTTP/1.0 [15:34:00]Method: POST [15:34:00]URL: /json_proto [15:34:00]Method is POST - this is cgi request [15:34:00]url: /json_proto [15:34:00]query_string will be loaded in cgi processing [15:34:00]execute_cgi json_proto POST (null) [15:34:00]execute_cgi path=json_proto method=POST [15:34:00]POST find Content-Length [15:34:00]Host: 172.17.35.196:8080 [15:34:00]Content-Length: 824 [15:34:00]Content-Type: application/json [15:34:00] [15:34:00]POST finish read [15:34:00]Found Content-Length = 824 [15:34:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169118", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 140.00, "quantity" : 1.000, "sum" : 140.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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:34:00]execute_script... [15:34:00]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169118", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 140.00, "quantity" : 1.000, "sum" : 140.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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:34:00]POST & json_proto [15:34:00]process_json_proto [15:34:00]json parsed OK: [15:34:00]protocol is kg_v1.0 [15:34:00]action value=close_receipt [15:34:00]process_action close_receipt [15:34:00]cmd_close_receipt [15:34:00]MH_GetDate [15:34:00]Write to MH i2c: F0 00 00 79 04 6C [15:34:00]Write i2c OK [15:34:00]MH_I2C_Read... [15:34:00]Read from MH i2c: F0 [15:34:00]MH_I2C_Read... [15:34:00]Read from MH i2c: F0 09 00 [15:34:00]MH_I2C_Read... [15:34:00]Read from MH i2c: F0 09 00 79 04 00 69 FB 8F 66 AD 14 F4 65 E8 [15:34:00]GetLastDocTimeStamp 1720711479 [15:34:00]current date 1720712041 [15:34:00]FM_GetShiftState [15:34:00]SAM_PROTO_GetShiftState [15:34:00]wFMCommunicate request_size=4 [15:34:00]MH_SAM_APDU [15:34:00]CAPDU: 80 13 01 00 [15:34:00]Write to MH i2c: E2 08 00 7A 04 80 13 01 00 00 00 00 00 FB [15:34:00]Write i2c OK [15:34:00]MH_I2C_Read... [15:34:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:34:00]Read from MH i2c: E2 [15:34:00]MH_I2C_Read... [15:34:00]Read from MH i2c: E2 0E 00 [15:34:00]MH_I2C_Read... [15:34:00]Read from MH i2c: E2 0E 00 7A 04 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 2C [15:34:00]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [15:34:00]wFMCommunicate OK [15:34:00]SAM_PROTO_GetShiftState done [15:34:00]FM_GetShiftState done [15:34:00]opened in 1720656398 [15:34:00]opened+sec_in_day 1720742798 [15:34:00]quantity*price = 14000 [15:34:00]sum+1 = 14001 [15:34:00]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 0.00 Безнал.: 140.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 39 11.07.2024 15:34 Смена: 432 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000875104 ФД: 33284 ФПД: 164515604798845 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T153401&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33284&fm=164515604798845&tin=02508201610067®Number=0000000000093033&sum=14000 0 [15:34:02]StoreToDocumentArchive [15:34:02]shift 432 fd 33284 [15:34:02]save to /storage/0432/doc_00033284 [15:34:02]save last doc name /storage/0432/doc_00033284 to /storage/kkm_last_doc_name [15:34:02]save OK [15:34:02]Clear old archive folders... [15:34:02]ProcessDocumentItem done err = 0, tmpTLVsize=275 [15:34:02]tlvbuf is 01CBCAB0 [15:34:02]SAM_PROTO_ClearQueue [15:34:02]wFMCommunicate request_size=4 [15:34:02]MH_SAM_APDU [15:34:02]CAPDU: 80 09 00 00 [15:34:02]Write to MH i2c: E2 08 00 87 04 80 09 00 00 00 00 00 00 FD [15:34:02]Write i2c OK [15:34:02]MH_I2C_Read... [15:34:02]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:34:02]Read from MH i2c: E2 [15:34:02]MH_I2C_Read... [15:34:02]Read from MH i2c: E2 03 00 [15:34:02]MH_I2C_Read... [15:34:02]Read from MH i2c: E2 03 00 87 04 00 90 00 FF [15:34:02]RAPDU: 90 00 [15:34:02]wFMCommunicate OK [15:34:02]SAM_PROTO_ClearQueue done [15:34:02]KKMCreateOFDPacket [15:34:02]OFDProtocolAddRootSTLVToBuf [15:34:02]FM_MakeSignedData [15:34:02]FM_MakeSignedData [15:34:02]SAM_PROTO_SignData [15:34:02]wFMCommunicate request_size=4 [15:34:02]MH_SAM_APDU [15:34:02]CAPDU: 80 0D 01 02 [15:34:02]Write to MH i2c: E2 08 00 88 04 80 0D 01 02 00 00 00 00 05 [15:34:02]Write i2c OK [15:34:02]MH_I2C_Read... [15:34:02]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:34:02]Read from MH i2c: E2 [15:34:02]MH_I2C_Read... [15:34:02]Read from MH i2c: E2 03 00 [15:34:02]MH_I2C_Read... [15:34:02]Read from MH i2c: E2 03 00 88 04 00 90 00 00 [15:34:02]RAPDU: 90 00 [15:34:02]wFMCommunicate OK [15:34:02]wFMCommunicate request_size=255 [15:34:02]MH_SAM_APDU [15:34:02]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 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 00 00 00 00 00 00 39 04 06 00 B0 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 69 FB 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 [15:34:02]Write to MH i2c: E2 02 01 89 04 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 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 00 00 00 00 00 00 39 04 06 00 B0 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 69 FB 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 00 00 BF [15:34:02]Write i2c OK [15:34:02]MH_I2C_Read... [15:34:02]OFD Sender: No OFD packet to send [15:34:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:34:02]Read from MH i2c: E2 [15:34:02]MH_I2C_Read... [15:34:02]Read from MH i2c: E2 03 00 [15:34:02]MH_I2C_Read... [15:34:02]Read from MH i2c: E2 03 00 89 04 00 90 00 01 [15:34:02]RAPDU: 90 00 [15:34:02]wFMCommunicate OK [15:34:02]wFMCommunicate request_size=34 [15:34:02]MH_SAM_APDU [15:34:02]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 04 82 00 00 35 04 06 00 95 A0 46 2F 1D 7D [15:34:02]Write to MH i2c: E2 25 00 8A 04 80 0D 02 02 1D 00 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 04 82 00 00 35 04 06 00 95 A0 46 2F 1D 7D 00 00 8C [15:34:02]Write i2c OK [15:34:02]MH_I2C_Read... [15:34:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:34:02]Read from MH i2c: E2 [15:34:02]MH_I2C_Read... [15:34:02]Read from MH i2c: E2 03 00 [15:34:02]MH_I2C_Read... [15:34:02]Read from MH i2c: E2 03 00 8A 04 00 90 00 02 [15:34:02]RAPDU: 90 00 [15:34:02]wFMCommunicate OK [15:34:02]wFMCommunicate request_size=4 [15:34:02]MH_SAM_APDU [15:34:02]CAPDU: 80 0D 03 02 [15:34:02]Write to MH i2c: E2 08 00 8B 04 80 0D 03 02 00 00 00 00 0A [15:34:02]Write i2c OK [15:34:02]MH_I2C_Read... [15:34:02]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:34:02]Read from MH i2c: E2 [15:34:02]MH_I2C_Read... [15:34:02]Read from MH i2c: E2 0B 00 [15:34:02]MH_I2C_Read... [15:34:02]Read from MH i2c: E2 0B 00 8B 04 00 CC 42 57 00 B4 89 AC 1D 90 00 76 [15:34:02]RAPDU: CC 42 57 00 B4 89 AC 1D 90 00 [15:34:02]wFMCommunicate OK [15:34:02]SAM_PROTO_SignData done [15:34:02]FM_MakeSignedData done [15:34:02]CreateOFDProtocolMessage [15:34:02]wFMCommunicate request_size=4 [15:34:02]MH_SAM_APDU [15:34:02]CAPDU: 80 11 00 00 [15:34:02]Write to MH i2c: E2 08 00 8C 04 80 11 00 00 00 00 00 00 0A [15:34:02]Write i2c OK [15:34:02]MH_I2C_Read... [15:34:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:34:02]Read from MH i2c: E2 [15:34:02]MH_I2C_Read... [15:34:02]Read from MH i2c: E2 17 00 [15:34:02]MH_I2C_Read... [15:34:02]Read from MH i2c: E2 17 00 8C 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 56 [15:34:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [15:34:02]wFMCommunicate OK [15:34:02]CreateOFDProtocolMessage done [15:34:02]OFDSenderStorePacket 33284 [15:34:02]StoreOFDPacket docnum=33284 [15:34:02]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 27 01 00 00 05 90 1F 01 27 FC 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 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 00 00 00 00 00 00 39 04 06 00 B0 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 69 FB 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 04 82 00 00 35 04 06 00 95 A0 46 2F 1D 7D CC 42 57 00 B4 89 AC 1D [15:34:02]CheckFolder [15:34:02]dirname=/storage/ofd_packets [15:34:02]CheckFolder done [15:34:02]ProducePacketName [15:34:02]name=ofd_packets/00033284 [15:34:02]NVStorageSaveData ofd_packets/00033284 [15:34:02]File name is /storage/ofd_packets/00033284 [15:34:02]Write 325 bytes [15:34:02]NVStorageSaveData done [15:34:02]OFDSenderStorePacket done [15:34:02]KKMCreateOFDPacket done [15:34:02]NVStorageSaveData kkm_last_timestamp [15:34:02]File name is /storage/kkm_last_timestamp [15:34:02]Write 4 bytes [15:34:02]NVStorageSaveData done [15:34:02]ExternCall_PrintAddStr [15:34:02]wPrintStart [15:34:02]Write to MH i2c: 01 00 00 8D 04 91 [15:34:02]Write i2c OK [15:34:02]MH_I2C_Read... [15:34:02]Read from MH i2c: 01 [15:34:02]MH_I2C_Read... [15:34:02]Read from MH i2c: 01 07 00 [15:34:02]MH_I2C_Read... [15:34:02]Read from MH i2c: 01 07 00 8D 04 00 00 00 00 00 FF 0F A6 [15:34:02]RasterBufferAndPrint [15:34:02]line Счет N : (3)169118 [15:34:02]line ИНН: 02508201610067 [15:34:02]line Контрольно-Кассовый Чек [15:34:02]line ПРОДАЖА [15:34:02]line Товар: 48743587 [15:34:02]line Сигареты Winston XStyle Silver [15:34:02]line 1.000 * 140.00 [15:34:02]line = 140.00 [15:34:02]line НДС 12% НСП 1% [15:34:02]line > о реализуемом товаре [15:34:02]line ИТОГО: 140.00 [15:34:02]line НСП 1% : 1.24 [15:34:02]line НДС 12% : 14.87 [15:34:02]line Наличными: 0.00 [15:34:02]line Безнал.: 140.00 [15:34:02]line Место: АЗС № 77 "Партнер Нефть" [15:34:02]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [15:34:02]line СНО: Общий режим [15:34:02]line Чек 39 11.07.2024 15:34 [15:34:02]line Смена: 432 ФФД: 1.0 [15:34:02]line ЗНМ: 0300000122 [15:34:02]line РНМ: 0000000000093033 [15:34:02]line Версия ККМ: 001 [15:34:02]line Платежная система: АКБ Кыргызстан [15:34:02]line ФМ: 0000000000875104 [15:34:02]line ФД: 33284 [15:34:02]line ФПД: 164515604798845 [15:34:02]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T153401&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33284&fm=164515604798845&tin=02508201610067®Number=0000000000093033&sum=14000 [15:34:02]line 0 [15:34:02]OFD Sender: Processing packet 33284 [packets to send 6, broken 5] [15:34:02]ProducePacketName [15:34:02]name=ofd_packets/00033284 [15:34:02]OFD Sender: To server: pG, [15:34:02]CommunicateWithHost lk.salyk.kg:30040 [15:34:02]ConnectInit lk.salyk.kg [15:34:03]written 0, free lines is 4095 [15:34:03]Connected sock=10 [15:34:03]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 27 01 00 00 05 90 1F 01 27 FC 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 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 00 00 00 00 00 00 39 04 06 00 B0 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 69 FB 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 04 82 00 00 35 04 06 00 95 A0 46 2F 1D 7D CC 42 57 00 B4 89 AC 1D [15:34:03]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 A5 88 47 00 77 47 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 35 31 30 34 10 04 04 00 04 82 00 00 F4 03 04 00 19 A6 8F 66 B6 04 01 00 00 DF 83 C8 68 0D AB 2F F6 [15:34:03]CommunicateWithHost err = 0 [15:34:03]CheckOFDResponse [15:34:03]1017 (14) - 77093643461234 [15:34:03]1041 (16) - 0000000000875104 [15:34:03]1040 (4) - 33284 [15:34:03]1012 (4) - 11.07.2024 09:30 [15:34:03]1206 (1) - 0 [15:34:03]OFD Sender: Remove packet 33284 [15:34:03]ProducePacketName [15:34:03]name=ofd_packets/00033284 [15:34:03]NVStorageDeleteData [15:34:03]Write to MH i2c: 01 00 00 B8 04 BC [15:34:03]Write i2c OK [15:34:03]MH_I2C_Read... [15:34:03]Read from MH i2c: 01 [15:34:03]MH_I2C_Read... [15:34:03]Read from MH i2c: 01 07 00 [15:34:03]MH_I2C_Read... [15:34:03]Read from MH i2c: 01 07 00 B8 04 00 00 00 00 00 C8 0C 97 [15:34:03]RasterBufferAndPrint [15:34:03]line [15:34:03]line [15:34:03]line [15:34:03]line [15:34:03]line [15:34:03]written 0, free lines is 3277 [15:34:03]MH_Cut [15:34:03]Write to MH i2c: D1 01 00 BF 04 01 95 [15:34:03]Write i2c OK [15:34:03]MH_I2C_Read... [15:34:03]Read from MH i2c: D1 [15:34:03]MH_I2C_Read... [15:34:03]Read from MH i2c: D1 01 00 [15:34:03]MH_I2C_Read... [15:34:03]Read from MH i2c: D1 01 00 BF 04 00 94 [15:34:03]Write to MH i2c: 01 00 00 C0 04 C4 [15:34:03]Write i2c OK [15:34:03]MH_I2C_Read... [15:34:03]OFD Sender: No OFD packet to send [15:34:04]*** Cut start [15:34:04]*** Partial cut [15:34:04]*** CUTSNS_PIN = 1 [15:34:04]*** CUTSNS_PIN = 0 [15:34:04]*** Brake cut motor [15:34:04]Read from MH i2c: 01 [15:34:04]MH_I2C_Read... [15:34:04]*** Stop cut motor [15:34:04]*** Cut end [15:34:04]Read from MH i2c: 01 07 00 [15:34:04]MH_I2C_Read... [15:34:04]Read from MH i2c: 01 07 00 C0 04 00 00 00 00 00 FF 0F D9 [15:34:04]process_action close_receipt done [15:34:04]requested_data is exist [15:34:04]produce_requested_data [15:34:04]requested_item fm.sn is exist - process it [15:34:04]wFMCommunicate request_size=4 [15:34:04]MH_SAM_APDU [15:34:04]CAPDU: 80 11 00 00 [15:34:04]Write to MH i2c: E2 08 00 C1 04 80 11 00 00 00 00 00 00 3F [15:34:04]Write i2c OK [15:34:04]MH_I2C_Read... [15:34:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:34:04]Read from MH i2c: E2 [15:34:04]MH_I2C_Read... [15:34:04]Read from MH i2c: E2 17 00 [15:34:04]MH_I2C_Read... [15:34:04]Read from MH i2c: E2 17 00 C1 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 8B [15:34:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [15:34:04]wFMCommunicate OK [15:34:04]requested_item fd.num is exist - process it [15:34:04]SAM_PROTO_GetFieldsCounters [15:34:04]wFMCommunicate request_size=4 [15:34:04]MH_SAM_APDU [15:34:04]CAPDU: 80 13 00 00 [15:34:04]Write to MH i2c: E2 08 00 C2 04 80 13 00 00 00 00 00 00 42 [15:34:04]Write i2c OK [15:34:04]MH_I2C_Read... [15:34:05]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:34:05]Read from MH i2c: E2 [15:34:05]MH_I2C_Read... [15:34:05]Read from MH i2c: E2 62 00 [15:34:05]MH_I2C_Read... [15:34:05]Read from MH i2c: E2 62 00 C2 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 04 82 00 00 0E 04 04 00 B0 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 01 [15:34: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 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 04 82 00 00 0E 04 04 00 B0 01 00 00 12 04 04 00 27 00 00 00 5E 04 04 00 27 00 00 00 57 04 04 00 28 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:34:05]wFMCommunicate OK [15:34:05]SAM_PROTO_GetFieldsCounters done [15:34:05]requested_item shift.num is exist - process it [15:34:05]requested_item shift.opened is exist - process it [15:34:05]req_shift_opened [15:34:05]FM_GetShiftState [15:34:05]SAM_PROTO_GetShiftState [15:34:05]wFMCommunicate request_size=4 [15:34:05]MH_SAM_APDU [15:34:05]CAPDU: 80 13 01 00 [15:34:05]Write to MH i2c: E2 08 00 C3 04 80 13 01 00 00 00 00 00 44 [15:34:05]Write i2c OK [15:34:05]MH_I2C_Read... [15:34:05]Read from MH i2c: E2 [15:34:05]MH_I2C_Read... [15:34:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:34:05]Read from MH i2c: E2 0E 00 [15:34:05]MH_I2C_Read... [15:34:05]Read from MH i2c: E2 0E 00 C3 04 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 75 [15:34:05]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [15:34:05]wFMCommunicate OK [15:34:05]SAM_PROTO_GetShiftState done [15:34:05]FM_GetShiftState done [15:34:05]req_shift_opened done [15:34:05]requested_item shift.open_date is exist - process it [15:34:05]req_shift_open_date [15:34:05]req_shift_open_date done [15:34:05]produce_requested_data done [15:34:05]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33284,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398} [15:34:05]process_action_free close_receipt [15:34:05]json_value_free [15:34:05]json_value_free done [15:34:05]process_json_proto returns [15:34:05]Send response to host [15:34:05]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33284,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398}}} [15:34:05]free response buf [15:34:05]execute_script done [15:34:05]execute_script returns [15:34:05]free content buf [15:34:05]Sock 9.Close socket [15:34:05]Sock 9.Thread stoped [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]accept exits with 7 [15:35:28]New connection [15:35:28]New thread 3066936676 created [15:35:28]Thread 3066793316 joined [15:35:28]Waiting for new connection... [15:35:28] Sock 7.Parse request [15:35:28]Sock 7.Check first char [15:35:28]Sock 7.First char is OK [15:35:28]request: POST /json_proto HTTP/1.0 [15:35:28]Method: POST [15:35:28]URL: /json_proto [15:35:28]Method is POST - this is cgi request [15:35:28]url: /json_proto [15:35:28]query_string will be loaded in cgi processing [15:35:28]execute_cgi json_proto POST (null) [15:35:28]execute_cgi path=json_proto method=POST [15:35:28]POST find Content-Length [15:35:28]Host: 172.17.35.196:8080 [15:35:28]Content-Length: 1701 [15:35:28]Content-Type: application/json [15:35:28] [15:35:28]POST finish read [15:35:28]Found Content-Length = 1701 [15:35:28]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169119", "tax_sys" : 0, "items" : [ { "code": "5449000176431", "name": "\u0421\u043E\u043A Piko Pulpy \u0430\u043F\u0435\u043B\u044C\u0441\u0438\u043D \u041F\u042D\u0422 0,5\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000273680", "name": "\u0421\u043E\u043A Piko Pulpy \u043A\u0440\u0430\u0441\u043D\u044B\u0439 \u0432\u0438\u043D\u043E\u0433\u0440\u0430\u0434 \u041F\u042D\u0422 0,5\u043B", "price" : 100.00, "quantity" : 1.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "50173822", "name": "\u0420/\u0436 Orbit \u0431/\u0441\u0430\u0445 \u043C\u044F\u0442\u0430 13,6\u0433", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000032780025", "name": "\u0421\u043E\u0441\u0438\u0441\u043A\u0430 \u0432 \u0442\u0435\u0441\u0442\u0435 DC 110\u0433", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 300.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:35:28]execute_script... [15:35: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)169119", "tax_sys" : 0, "items" : [ { "code": "5449000176431", "name": "\u0421\u043E\u043A Piko Pulpy \u0430\u043F\u0435\u043B\u044C\u0441\u0438\u043D \u041F\u042D\u0422 0,5\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000273680", "name": "\u0421\u043E\u043A Piko Pulpy \u043A\u0440\u0430\u0441\u043D\u044B\u0439 \u0432\u0438\u043D\u043E\u0433\u0440\u0430\u0434 \u041F\u042D\u0422 0,5\u043B", "price" : 100.00, "quantity" : 1.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "50173822", "name": "\u0420/\u0436 Orbit \u0431/\u0441\u0430\u0445 \u043C\u044F\u0442\u0430 13,6\u0433", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000032780025", "name": "\u0421\u043E\u0441\u0438\u0441\u043A\u0430 \u0432 \u0442\u0435\u0441\u0442\u0435 DC 110\u0433", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 300.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:35:29]POST & json_proto [15:35:29]process_json_proto [15:35:29]json parsed OK: [15:35:29]protocol is kg_v1.0 [15:35:29]action value=close_receipt [15:35:29]process_action close_receipt [15:35:29]cmd_close_receipt [15:35:29]MH_GetDate [15:35:29]Write to MH i2c: F0 00 00 C4 04 B7 [15:35:29]OFD Sender: No OFD packet to send [15:35:29]Write i2c OK [15:35:29]MH_I2C_Read... [15:35:29]Read from MH i2c: F0 [15:35:29]MH_I2C_Read... [15:35:29]Read from MH i2c: F0 09 00 [15:35:29]MH_I2C_Read... [15:35:29]Read from MH i2c: F0 09 00 C4 04 00 C1 FB 8F 66 AD 14 F4 65 8B [15:35:29]GetLastDocTimeStamp 1720712041 [15:35:29]current date 1720712129 [15:35:29]FM_GetShiftState [15:35:29]SAM_PROTO_GetShiftState [15:35:29]wFMCommunicate request_size=4 [15:35:29]MH_SAM_APDU [15:35:29]CAPDU: 80 13 01 00 [15:35:29]Write to MH i2c: E2 08 00 C5 04 80 13 01 00 00 00 00 00 46 [15:35:29]Write i2c OK [15:35:29]MH_I2C_Read... [15:35:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:35:29]Read from MH i2c: E2 [15:35:29]MH_I2C_Read... [15:35:29]Read from MH i2c: E2 0E 00 [15:35:29]MH_I2C_Read... [15:35:29]Read from MH i2c: E2 0E 00 C5 04 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 77 [15:35:29]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [15:35:29]wFMCommunicate OK [15:35:29]SAM_PROTO_GetShiftState done [15:35:29]FM_GetShiftState done [15:35:29]opened in 1720656398 [15:35:29]opened+sec_in_day 1720742798 [15:35:29]quantity*price = 9500 [15:35:29]sum+1 = 9501 [15:35:29]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5449000273680 Сок Piko Pulpy красный виноград ПЭТ 0,5л 1.000 * 100.00 = 100.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 50173822 Р/ж Orbit б/сах мята 13,6г 1.000 * 45.00 = 45.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 2000032780025 Сосиска в тесте DC 110г 1.000 * 60.00 = 60.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 300.00 НСП 1% : 2.65 НДС 12% : 31.86 Наличными: 0.00 Безнал.: 300.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 40 11.07.2024 15:35 Смена: 432 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000875104 ФД: 33285 ФПД: 229759818225710 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T153529&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33285&fm=229759818225710&tin=02508201610067®Number=0000000000093033&sum=30000 0 [15:35:30]StoreToDocumentArchive [15:35:30]shift 432 fd 33285 [15:35:30]save to /storage/0432/doc_00033285 [15:35:30]save last doc name /storage/0432/doc_00033285 to /storage/kkm_last_doc_name [15:35:30]save OK [15:35:30]Clear old archive folders... [15:35:30]ProcessDocumentItem done err = 0, tmpTLVsize=636 [15:35:30]tlvbuf is 01CB5D10 [15:35:30]SAM_PROTO_ClearQueue [15:35:30]wFMCommunicate request_size=4 [15:35:30]MH_SAM_APDU [15:35:30]CAPDU: 80 09 00 00 [15:35:30]Write to MH i2c: E2 08 00 D2 04 80 09 00 00 00 00 00 00 48 [15:35:30]Write i2c OK [15:35:30]MH_I2C_Read... [15:35:30]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:35:30]Read from MH i2c: E2 [15:35:30]MH_I2C_Read... [15:35:30]Read from MH i2c: E2 03 00 [15:35:30]MH_I2C_Read... [15:35:30]Read from MH i2c: E2 03 00 D2 04 00 90 00 4A [15:35:30]RAPDU: 90 00 [15:35:30]wFMCommunicate OK [15:35:30]SAM_PROTO_ClearQueue done [15:35:30]KKMCreateOFDPacket [15:35:30]OFDProtocolAddRootSTLVToBuf [15:35:30]FM_MakeSignedData [15:35:30]FM_MakeSignedData [15:35:30]SAM_PROTO_SignData [15:35:30]wFMCommunicate request_size=4 [15:35:30]MH_SAM_APDU [15:35:30]CAPDU: 80 0D 01 02 [15:35:30]Write to MH i2c: E2 08 00 D3 04 80 0D 01 02 00 00 00 00 50 [15:35:30]Write i2c OK [15:35:30]MH_I2C_Read... [15:35:30]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:35:30]Read from MH i2c: E2 [15:35:30]MH_I2C_Read... [15:35:30]Read from MH i2c: E2 03 00 [15:35:30]MH_I2C_Read... [15:35:30]Read from MH i2c: E2 03 00 D3 04 00 90 00 4B [15:35:30]RAPDU: 90 00 [15:35:30]wFMCommunicate OK [15:35:30]wFMCommunicate request_size=255 [15:35:30]MH_SAM_APDU [15:35:30]CAPDU: 80 0D 02 02 FA 03 00 7C 02 1E 04 01 00 01 23 04 73 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 33 31 06 04 2F 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 82 00 8A 04 0D 00 35 34 34 39 30 30 30 32 37 33 36 38 30 06 04 3E 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 BA D1 80 D0 B0 D1 81 D0 BD D1 8B D0 B9 20 D0 B2 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 [15:35:30]Write to MH i2c: E2 02 01 D4 04 80 0D 02 02 FA 00 03 00 7C 02 1E 04 01 00 01 23 04 73 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 33 31 06 04 2F 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 82 00 8A 04 0D 00 35 34 34 39 30 30 30 32 37 33 36 38 30 06 04 3E 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 BA D1 80 D0 B0 D1 81 D0 BD D1 8B D0 B9 20 D0 B2 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 00 27 [15:35:30]Write i2c OK [15:35:30]MH_I2C_Read... [15:35:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:35:30]Read from MH i2c: E2 [15:35:30]MH_I2C_Read... [15:35:30]Read from MH i2c: E2 03 00 [15:35:30]MH_I2C_Read... [15:35:30]Read from MH i2c: E2 03 00 D4 04 00 90 00 4C [15:35:30]RAPDU: 90 00 [15:35:30]wFMCommunicate OK [15:35:30]wFMCommunicate request_size=255 [15:35:30]MH_SAM_APDU [15:35:30]CAPDU: 80 0D 02 02 FA 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 08 00 35 30 31 37 33 38 32 32 06 04 25 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 D0 B1 2F D1 81 D0 B0 D1 85 20 D0 BC D1 8F D1 82 D0 B0 20 31 33 2C 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 69 00 8A 04 0D 00 32 30 30 30 30 33 32 37 38 30 30 32 35 06 04 25 00 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 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 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 [15:35:30]Write to MH i2c: E2 02 01 D5 04 80 0D 02 02 FA 00 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 08 00 35 30 31 37 33 38 32 32 06 04 25 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 D0 B1 2F D1 81 D0 B0 D1 85 20 D0 BC D1 8F D1 82 D0 B0 20 31 33 2C 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 69 00 8A 04 0D 00 32 30 30 30 30 33 32 37 38 30 30 32 35 06 04 25 00 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 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 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 00 00 53 [15:35:30]Write i2c OK [15:35:30]MH_I2C_Read... [15:35:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:35:30]Read from MH i2c: E2 [15:35:30]MH_I2C_Read... [15:35:30]Read from MH i2c: E2 03 00 [15:35:30]MH_I2C_Read... [15:35:30]Read from MH i2c: E2 03 00 D5 04 00 90 00 4D [15:35:30]RAPDU: 90 00 [15:35:30]wFMCommunicate OK [15:35:30]wFMCommunicate request_size=145 [15:35:30]MH_SAM_APDU [15:35:30]CAPDU: 80 0D 02 02 8C 06 00 09 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 72 0C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 30 75 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 C1 FB 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 05 82 00 00 35 04 06 00 D0 F7 20 59 58 2E [15:35:30]Write to MH i2c: E2 94 00 D6 04 80 0D 02 02 8C 00 06 00 09 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 72 0C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 30 75 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 C1 FB 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 05 82 00 00 35 04 06 00 D0 F7 20 59 58 2E 00 00 95 [15:35:30]Write i2c OK [15:35:30]MH_I2C_Read... [15:35:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:35:31]Read from MH i2c: E2 [15:35:31]MH_I2C_Read... [15:35:31]Read from MH i2c: E2 03 00 [15:35:31]MH_I2C_Read... [15:35:31]Read from MH i2c: E2 03 00 D6 04 00 90 00 4E [15:35:31]RAPDU: 90 00 [15:35:31]wFMCommunicate OK [15:35:31]wFMCommunicate request_size=4 [15:35:31]MH_SAM_APDU [15:35:31]CAPDU: 80 0D 03 02 [15:35:31]Write to MH i2c: E2 08 00 D7 04 80 0D 03 02 00 00 00 00 56 [15:35:31]Write i2c OK [15:35:31]MH_I2C_Read... [15:35:31]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:35:31]Read from MH i2c: E2 [15:35:31]MH_I2C_Read... [15:35:31]Read from MH i2c: E2 0B 00 [15:35:31]MH_I2C_Read... [15:35:31]Read from MH i2c: E2 0B 00 D7 04 00 88 30 19 1E 30 12 47 EC 90 00 BB [15:35:31]RAPDU: 88 30 19 1E 30 12 47 EC 90 00 [15:35:31]wFMCommunicate OK [15:35:31]SAM_PROTO_SignData done [15:35:31]FM_MakeSignedData done [15:35:31]CreateOFDProtocolMessage [15:35:31]wFMCommunicate request_size=4 [15:35:31]MH_SAM_APDU [15:35:31]CAPDU: 80 11 00 00 [15:35:31]Write to MH i2c: E2 08 00 D8 04 80 11 00 00 00 00 00 00 56 [15:35:31]Write i2c OK [15:35:31]MH_I2C_Read... [15:35:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:35:31]Read from MH i2c: E2 [15:35:31]MH_I2C_Read... [15:35:31]Read from MH i2c: E2 17 00 [15:35:31]MH_I2C_Read... [15:35:31]Read from MH i2c: E2 17 00 D8 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 A2 [15:35:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [15:35:31]wFMCommunicate OK [15:35:31]CreateOFDProtocolMessage done [15:35:31]OFDSenderStorePacket 33285 [15:35:31]StoreOFDPacket docnum=33285 [15:35:31]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 02 00 00 36 2D 88 02 62 8C 5A 03 01 00 03 00 7C 02 1E 04 01 00 01 23 04 73 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 33 31 06 04 2F 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 82 00 8A 04 0D 00 35 34 34 39 30 30 30 32 37 33 36 38 30 06 04 3E 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 BA D1 80 D0 B0 D1 81 D0 BD D1 8B D0 B9 20 D0 B2 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 08 00 35 30 31 37 33 38 32 32 06 04 25 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 D0 B1 2F D1 81 D0 B0 D1 85 20 D0 BC D1 8F D1 82 D0 B0 20 31 33 2C 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 69 00 8A 04 0D 00 32 30 30 30 30 33 32 37 38 30 30 32 35 06 04 25 00 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 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 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 72 0C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 30 75 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 C1 FB 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 05 82 00 00 35 04 06 00 D0 F7 20 59 58 2E 88 30 19 1E 30 12 47 EC [15:35:31]CheckFolder [15:35:31]dirname=/storage/ofd_packets [15:35:31]CheckFolder done [15:35:31]ProducePacketName [15:35:31]name=ofd_packets/00033285 [15:35:31]NVStorageSaveData ofd_packets/00033285 [15:35:31]File name is /storage/ofd_packets/00033285 [15:35:31]Write 686 bytes [15:35:31]NVStorageSaveData done [15:35:31]OFDSenderStorePacket done [15:35:31]KKMCreateOFDPacket done [15:35:31]NVStorageSaveData kkm_last_timestamp [15:35:31]File name is /storage/kkm_last_timestamp [15:35:31]Write 4 bytes [15:35:31]NVStorageSaveData done [15:35:31]ExternCall_PrintAddStr [15:35:31]wPrintStart [15:35:31]Write to MH i2c: 01 00 00 D9 04 DD [15:35:31]Write i2c OK [15:35:31]MH_I2C_Read... [15:35:31]Read from MH i2c: 01 [15:35:31]MH_I2C_Read... [15:35:31]Read from MH i2c: 01 07 00 [15:35:31]MH_I2C_Read... [15:35:31]Read from MH i2c: 01 07 00 D9 04 00 00 00 00 00 FF 0F F2 [15:35:31]RasterBufferAndPrint [15:35:31]line Счет N : (3)169119 [15:35:31]line ИНН: 02508201610067 [15:35:31]line Контрольно-Кассовый Чек [15:35:31]line ПРОДАЖА [15:35:31]line Товар: 5449000176431 [15:35:31]line Сок Piko Pulpy апельсин ПЭТ 0,5л [15:35:31]line 1.000 * 95.00 [15:35:31]line = 95.00 [15:35:31]line НДС 12% НСП 1% [15:35:31]line > о реализуемом товаре [15:35:31]line Товар: 5449000273680 [15:35:31]line Сок Piko Pulpy красный виноград ПЭТ 0,5л [15:35:31]line 1.000 * 100.00 [15:35:31]line = 100.00 [15:35:31]line НДС 12% НСП 1% [15:35:31]line > о реализуемом товаре [15:35:31]line Товар: 50173822 [15:35:31]line Р/ж Orbit б/сах мята 13,6г [15:35:31]line 1.000 * 45.00 [15:35:31]line = 45.00 [15:35:31]line НДС 12% НСП 1% [15:35:31]line > о реализуемом товаре [15:35:31]line Товар: 2000032780025 [15:35:31]line Сосиска в тесте DC 110г [15:35:31]line 1.000 * 60.00 [15:35:31]line = 60.00 [15:35:31]line НДС 12% НСП 1% [15:35:31]line > о реализуемом товаре [15:35:31]line ИТОГО: 300.00 [15:35:31]line НСП 1% : 2.65 [15:35:31]line НДС 12% : 31.86 [15:35:31]line Наличными: 0.00 [15:35:31]line Безнал.: 300.00 [15:35:31]line Место: АЗС № 77 "Партнер Нефть" [15:35:31]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [15:35:31]line СНО: Общий режим [15:35:31]line Чек 40 11.07.2024 15:35 [15:35:31]line Смена: 432 ФФД: 1.0 [15:35:31]line ЗНМ: 0300000122 [15:35:31]line РНМ: 0000000000093033 [15:35:31]line Версия ККМ: 001 [15:35:31]line Платежная система: АКБ Кыргызстан [15:35:31]line ФМ: 0000000000875104 [15:35:31]line ФД: 33285 [15:35:31]OFD Sender: Processing packet 33285 [packets to send 6, broken 5] [15:35:31]ProducePacketName [15:35:31]name=ofd_packets/00033285 [15:35:31]OFD Sender: To server: pG, [15:35:31]CommunicateWithHost lk.salyk.kg:30040 [15:35:31]ConnectInit lk.salyk.kg [15:35:31]line ФПД: 229759818225710 [15:35:31]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T153529&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33285&fm=229759818225710&tin=02508201610067®Number=0000000000093033&sum=30000 [15:35:31]line 0 [15:35:31]written 0, free lines is 4095 [15:35:31]Connected sock=10 [15:35:31]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 02 00 00 36 2D 88 02 62 8C 5A 03 01 00 03 00 7C 02 1E 04 01 00 01 23 04 73 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 33 31 06 04 2F 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 82 00 8A 04 0D 00 35 34 34 39 30 30 30 32 37 33 36 38 30 06 04 3E 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 BA D1 80 D0 B0 D1 81 D0 BD D1 8B D0 B9 20 D0 B2 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 08 00 35 30 31 37 33 38 32 32 06 04 25 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 D0 B1 2F D1 81 D0 B0 D1 85 20 D0 BC D1 8F D1 82 D0 B0 20 31 33 2C 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 69 00 8A 04 0D 00 32 30 30 30 30 33 32 37 38 30 30 32 35 06 04 25 00 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 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 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 72 0C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 30 75 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 C1 FB 8F 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 05 82 00 00 35 04 06 00 D0 F7 20 59 58 2E 88 30 19 1E 30 12 47 EC [15:35:31]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 A7 37 47 00 76 68 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 35 31 30 34 10 04 04 00 05 82 00 00 F4 03 04 00 72 A6 8F 66 B6 04 01 00 00 E2 46 CE 69 C5 8A AD 2F [15:35:31]CommunicateWithHost err = 0 [15:35:31]CheckOFDResponse [15:35:31]1017 (14) - 77093643461234 [15:35:31]1041 (16) - 0000000000875104 [15:35:31]1040 (4) - 33285 [15:35:31]1012 (4) - 11.07.2024 09:31 [15:35:31]1206 (1) - 0 [15:35:31]OFD Sender: Remove packet 33285 [15:35:31]ProducePacketName [15:35:31]name=ofd_packets/00033285 [15:35:31]NVStorageDeleteData [15:35:32]Write to MH i2c: 01 00 00 17 05 1C [15:35:32]Write i2c OK [15:35:32]MH_I2C_Read... [15:35:32]Read from MH i2c: 01 [15:35:32]MH_I2C_Read... [15:35:32]Read from MH i2c: 01 07 00 [15:35:32]MH_I2C_Read... [15:35:32]Read from MH i2c: 01 07 00 17 05 00 00 00 00 00 D2 0B 00 [15:35:32]RasterBufferAndPrint [15:35:32]line [15:35:32]line [15:35:32]line [15:35:32]line [15:35:32]line [15:35:32]written 0, free lines is 3032 [15:35:32]MH_Cut [15:35:32]Write to MH i2c: D1 01 00 1E 05 01 F5 [15:35:32]Write i2c OK [15:35:32]MH_I2C_Read... [15:35:32]Read from MH i2c: D1 [15:35:32]MH_I2C_Read... [15:35:32]Read from MH i2c: D1 01 00 [15:35:32]MH_I2C_Read... [15:35:32]Read from MH i2c: D1 01 00 1E 05 00 F4 [15:35:32]Write to MH i2c: 01 00 00 1F 05 24 [15:35:32]Write i2c OK [15:35:32]MH_I2C_Read... [15:35:32]OFD Sender: No OFD packet to send [15:35:33]*** Cut start [15:35:33]*** Partial cut [15:35:33]*** CUTSNS_PIN = 1 [15:35:33]*** CUTSNS_PIN = 0 [15:35:33]*** Brake cut motor [15:35:33]Read from MH i2c: 01 [15:35:33]MH_I2C_Read... [15:35:33]*** Stop cut motor [15:35:33]*** Cut end [15:35:33]Read from MH i2c: 01 07 00 [15:35:33]MH_I2C_Read... [15:35:33]Read from MH i2c: 01 07 00 1F 05 00 00 00 00 00 FF 0F 39 [15:35:33]process_action close_receipt done [15:35:33]requested_data is exist [15:35:33]produce_requested_data [15:35:33]requested_item fm.sn is exist - process it [15:35:33]wFMCommunicate request_size=4 [15:35:33]MH_SAM_APDU [15:35:33]CAPDU: 80 11 00 00 [15:35:33]Write to MH i2c: E2 08 00 20 05 80 11 00 00 00 00 00 00 9F [15:35:33]Write i2c OK [15:35:33]MH_I2C_Read... [15:35:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:35:33]Read from MH i2c: E2 [15:35:33]MH_I2C_Read... [15:35:33]Read from MH i2c: E2 17 00 [15:35:33]MH_I2C_Read... [15:35:33]Read from MH i2c: E2 17 00 20 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 EB [15:35:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [15:35:33]wFMCommunicate OK [15:35:33]requested_item fd.num is exist - process it [15:35:33]SAM_PROTO_GetFieldsCounters [15:35:33]wFMCommunicate request_size=4 [15:35:33]MH_SAM_APDU [15:35:33]CAPDU: 80 13 00 00 [15:35:33]Write to MH i2c: E2 08 00 21 05 80 13 00 00 00 00 00 00 A2 [15:35:33]Write i2c OK [15:35:33]MH_I2C_Read... [15:35:33]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:35:33]Read from MH i2c: E2 [15:35:33]MH_I2C_Read... [15:35:33]Read from MH i2c: E2 62 00 [15:35:33]MH_I2C_Read... [15:35:33]Read from MH i2c: E2 62 00 21 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 05 82 00 00 0E 04 04 00 B0 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 65 [15:35:33]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 05 82 00 00 0E 04 04 00 B0 01 00 00 12 04 04 00 28 00 00 00 5E 04 04 00 28 00 00 00 57 04 04 00 29 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:35:33]wFMCommunicate OK [15:35:33]SAM_PROTO_GetFieldsCounters done [15:35:33]requested_item shift.num is exist - process it [15:35:33]requested_item shift.opened is exist - process it [15:35:33]req_shift_opened [15:35:33]FM_GetShiftState [15:35:33]SAM_PROTO_GetShiftState [15:35:33]wFMCommunicate request_size=4 [15:35:33]MH_SAM_APDU [15:35:33]CAPDU: 80 13 01 00 [15:35:33]Write to MH i2c: E2 08 00 22 05 80 13 01 00 00 00 00 00 A4 [15:35:33]Write i2c OK [15:35:33]MH_I2C_Read... [15:35:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:35:34]Read from MH i2c: E2 [15:35:34]MH_I2C_Read... [15:35:34]Read from MH i2c: E2 0E 00 [15:35:34]MH_I2C_Read... [15:35:34]Read from MH i2c: E2 0E 00 22 05 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 D5 [15:35:34]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [15:35:34]wFMCommunicate OK [15:35:34]SAM_PROTO_GetShiftState done [15:35:34]FM_GetShiftState done [15:35:34]req_shift_opened done [15:35:34]requested_item shift.open_date is exist - process it [15:35:34]req_shift_open_date [15:35:34]req_shift_open_date done [15:35:34]produce_requested_data done [15:35:34]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33285,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398} [15:35:34]process_action_free close_receipt [15:35:34]json_value_free [15:35:34]json_value_free done [15:35:34]process_json_proto returns [15:35:34]Send response to host [15:35:34]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33285,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398}}} [15:35:34]free response buf [15:35:34]execute_script done [15:35:34]execute_script returns [15:35:34]free content buf [15:35:34]Sock 7.Close socket [15:35:34]Sock 7.Thread stoped [15:35:37]OFD Sender: No OFD packet to send [15:35:42]OFD Sender: No OFD packet to send [15:35:47]OFD Sender: No OFD packet to send [15:35:52]OFD Sender: No OFD packet to send [15:35:57]OFD Sender: No OFD packet to send [15:36:02]OFD Sender: No OFD packet to send [15:36:07]OFD Sender: No OFD packet to send [15:36:12]OFD Sender: No OFD packet to send [15:36:17]OFD Sender: No OFD packet to send [15:36:22]OFD Sender: No OFD packet to send [15:36:27]OFD Sender: No OFD packet to send [15:36:32]OFD Sender: No OFD packet to send [15:36:37]OFD Sender: No OFD packet to send [15:36:42]OFD Sender: No OFD packet to send [15:36:47]OFD Sender: No OFD packet to send [15:36:52]OFD Sender: No OFD packet to send [15:36:57]OFD Sender: No OFD packet to send [15:37:02]OFD Sender: No OFD packet to send [15:37:07]OFD Sender: No OFD packet to send [15:37:12]OFD Sender: No OFD packet to send [15:37:17]OFD Sender: No OFD packet to send [15:37:22]OFD Sender: No OFD packet to send [15:37:27]OFD Sender: No OFD packet to send [15:37:32]OFD Sender: No OFD packet to send [15:37:37]OFD Sender: No OFD packet to send [15:37:42]OFD Sender: No OFD packet to send [15:37:47]OFD Sender: No OFD packet to send [15:37:52]OFD Sender: No OFD packet to send [15:37:57]OFD Sender: No OFD packet to send [15:38:02]OFD Sender: No OFD packet to send [15:38:07]OFD Sender: No OFD packet to send [15:38:12]OFD Sender: No OFD packet to send [15:38:17]OFD Sender: No OFD packet to send [15:38:22]OFD Sender: No OFD packet to send [15:38:27]OFD Sender: No OFD packet to send [15:38:32]OFD Sender: No OFD packet to send [15:38:37]OFD Sender: No OFD packet to send [15:38:42]OFD Sender: No OFD packet to send [15:38:47]OFD Sender: No OFD packet to send [15:38:52]OFD Sender: No OFD packet to send [15:38:57]OFD Sender: No OFD packet to send [15:39:02]OFD Sender: No OFD packet to send [15:39:07]OFD Sender: No OFD packet to send [15:39:12]OFD Sender: No OFD packet to send [15:39:17]OFD Sender: No OFD packet to send [15:39:22]OFD Sender: No OFD packet to send [15:39:27]OFD Sender: No OFD packet to send [15:39:32]OFD Sender: No OFD packet to send [15:39:37]OFD Sender: No OFD packet to send [15:39:42]OFD Sender: No OFD packet to send [15:39:47]OFD Sender: No OFD packet to send [15:39:52]OFD Sender: No OFD packet to send [15:39:57]OFD Sender: No OFD packet to send [15:40:02]OFD Sender: No OFD packet to send [15:40:07]OFD Sender: No OFD packet to send [15:40:12]OFD Sender: No OFD packet to send [15:40:17]OFD Sender: No OFD packet to send [15:40:22]OFD Sender: No OFD packet to send [15:40:27]OFD Sender: No OFD packet to send [15:40:32]OFD Sender: No OFD packet to send [15:40:37]OFD Sender: No OFD packet to send [15:40:42]OFD Sender: No OFD packet to send [15:40:47]OFD Sender: No OFD packet to send [15:40:52]OFD Sender: No OFD packet to send [15:40:57]OFD Sender: No OFD packet to send [15:41:02]OFD Sender: No OFD packet to send [15:41:07]OFD Sender: No OFD packet to send [15:41:12]OFD Sender: No OFD packet to send [15:41:17]OFD Sender: No OFD packet to send [15:41:22]OFD Sender: No OFD packet to send [15:41:27]OFD Sender: No OFD packet to send [15:41:32]OFD Sender: No OFD packet to send [15:41:37]OFD Sender: No OFD packet to send [15:41:42]OFD Sender: No OFD packet to send [15:41:47]OFD Sender: No OFD packet to send [15:41:52]OFD Sender: No OFD packet to send [15:41:57]OFD Sender: No OFD packet to send [15:42:02]OFD Sender: No OFD packet to send [15:42:07]OFD Sender: No OFD packet to send [15:42:12]OFD Sender: No OFD packet to send [15:42:17]OFD Sender: No OFD packet to send [15:42:22]OFD Sender: No OFD packet to send [15:42:27]OFD Sender: No OFD packet to send [15:42:32]OFD Sender: No OFD packet to send [15:42:37]OFD Sender: No OFD packet to send [15:42:42]OFD Sender: No OFD packet to send [15:42:47]OFD Sender: No OFD packet to send [15:42:52]OFD Sender: No OFD packet to send [15:42:57]OFD Sender: No OFD packet to send [15:43:02]OFD Sender: No OFD packet to send [15:43:07]OFD Sender: No OFD packet to send [15:43:12]OFD Sender: No OFD packet to send [15:43:17]OFD Sender: No OFD packet to send [15:43:22]OFD Sender: No OFD packet to send [15:43:27]OFD Sender: No OFD packet to send [15:43:32]OFD Sender: No OFD packet to send [15:43:37]OFD Sender: No OFD packet to send [15:43:42]OFD Sender: No OFD packet to send [15:43:47]OFD Sender: No OFD packet to send [15:43:52]OFD Sender: No OFD packet to send [15:43:57]OFD Sender: No OFD packet to send [15:44:02]OFD Sender: No OFD packet to send [15:44:07]OFD Sender: No OFD packet to send [15:44:12]OFD Sender: No OFD packet to send [15:44:17]OFD Sender: No OFD packet to send [15:44:22]OFD Sender: No OFD packet to send [15:44:27]OFD Sender: No OFD packet to send [15:44:32]OFD Sender: No OFD packet to send [15:44:37]OFD Sender: No OFD packet to send [15:44:42]OFD Sender: No OFD packet to send [15:44:47]OFD Sender: No OFD packet to send [15:44:52]OFD Sender: No OFD packet to send [15:44:57]OFD Sender: No OFD packet to send [15:45:02]OFD Sender: No OFD packet to send [15:45:07]OFD Sender: No OFD packet to send [15:45:12]OFD Sender: No OFD packet to send [15:45:17]OFD Sender: No OFD packet to send [15:45:22]OFD Sender: No OFD packet to send [15:45:27]OFD Sender: No OFD packet to send [15:45:32]OFD Sender: No OFD packet to send [15:45:37]OFD Sender: No OFD packet to send [15:45:42]OFD Sender: No OFD packet to send [15:45:47]OFD Sender: No OFD packet to send [15:45:52]OFD Sender: No OFD packet to send [15:45:57]OFD Sender: No OFD packet to send [15:46:02]OFD Sender: No OFD packet to send [15:46:07]OFD Sender: No OFD packet to send [15:46:12]OFD Sender: No OFD packet to send [15:46:17]OFD Sender: No OFD packet to send [15:46:22]OFD Sender: No OFD packet to send [15:46:27]OFD Sender: No OFD packet to send [15:46:32]OFD Sender: No OFD packet to send [15:46:37]OFD Sender: No OFD packet to send [15:46:42]OFD Sender: No OFD packet to send [15:46:47]OFD Sender: No OFD packet to send [15:46:52]OFD Sender: No OFD packet to send [15:46:57]OFD Sender: No OFD packet to send [15:47:02]OFD Sender: No OFD packet to send [15:47:07]OFD Sender: No OFD packet to send [15:47:12]OFD Sender: No OFD packet to send [15:47:17]OFD Sender: No OFD packet to send [15:47:22]OFD Sender: No OFD packet to send [15:47:27]OFD Sender: No OFD packet to send [15:47:32]OFD Sender: No OFD packet to send [15:47:37]OFD Sender: No OFD packet to send [15:47:42]OFD Sender: No OFD packet to send [15:47:47]OFD Sender: No OFD packet to send [15:47:52]OFD Sender: No OFD packet to send [15:47:57]OFD Sender: No OFD packet to send [15:48:02]OFD Sender: No OFD packet to send [15:48:07]OFD Sender: No OFD packet to send [15:48:12]OFD Sender: No OFD packet to send [15:48:17]OFD Sender: No OFD packet to send [15:48:22]OFD Sender: No OFD packet to send [15:48:27]OFD Sender: No OFD packet to send [15:48:32]OFD Sender: No OFD packet to send [15:48:37]OFD Sender: No OFD packet to send [15:48:42]OFD Sender: No OFD packet to send [15:48:47]OFD Sender: No OFD packet to send [15:48:52]OFD Sender: No OFD packet to send [15:48:57]OFD Sender: No OFD packet to send [15:49:02]OFD Sender: No OFD packet to send [15:49:07]OFD Sender: No OFD packet to send [15:49:12]OFD Sender: No OFD packet to send [15:49:17]OFD Sender: No OFD packet to send [15:49:22]OFD Sender: No OFD packet to send [15:49:27]OFD Sender: No OFD packet to send [15:49:32]OFD Sender: No OFD packet to send [15:49:37]OFD Sender: No OFD packet to send [15:49:42]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:53]OFD Sender: No OFD packet to send [15:52:58]OFD Sender: No OFD packet to send [15:53:03]OFD Sender: No OFD packet to send [15:53:08]OFD Sender: No OFD packet to send [15:53:13]OFD Sender: No OFD packet to send [15:53:18]OFD Sender: No OFD packet to send [15:53:23]OFD Sender: No OFD packet to send [15:53:28]OFD Sender: No OFD packet to send [15:53:33]OFD Sender: No OFD packet to send [15:53:38]OFD Sender: No OFD packet to send [15:53:43]OFD Sender: No OFD packet to send [15:53:48]OFD Sender: No OFD packet to send [15:53:53]OFD Sender: No OFD packet to send [15:53:58]OFD Sender: No OFD packet to send [15:54:03]OFD Sender: No OFD packet to send [15:54:08]OFD Sender: No OFD packet to send [15:54:13]OFD Sender: No OFD packet to send [15:54:18]OFD Sender: No OFD packet to send [15:54:23]OFD Sender: No OFD packet to send [15:54:28]OFD Sender: No OFD packet to send [15:54:33]OFD Sender: No OFD packet to send [15:54:38]OFD Sender: No OFD packet to send [15:54:43]OFD Sender: No OFD packet to send [15:54:48]OFD Sender: No OFD packet to send [15:54:53]OFD Sender: No OFD packet to send [15:54:58]OFD Sender: No OFD packet to send [15:55:03]OFD Sender: No OFD packet to send [15:55:08]OFD Sender: No OFD packet to send [15:55:13]OFD Sender: No OFD packet to send [15:55:18]OFD Sender: No OFD packet to send [15:55:23]OFD Sender: No OFD packet to send [15:55:28]OFD Sender: No OFD packet to send [15:55:33]OFD Sender: No OFD packet to send [15:55:38]OFD Sender: No OFD packet to send [15:55:43]OFD Sender: No OFD packet to send [15:55:48]OFD Sender: No OFD packet to send [15:55:53]OFD Sender: No OFD packet to send [15:55:58]OFD Sender: No OFD packet to send [15:56:03]OFD Sender: No OFD packet to send [15:56:08]OFD Sender: No OFD packet to send [15:56:13]OFD Sender: No OFD packet to send [15:56:18]OFD Sender: No OFD packet to send [15:56:23]OFD Sender: No OFD packet to send [15:56:28]OFD Sender: No OFD packet to send [15:56:33]OFD Sender: No OFD packet to send [15:56:38]OFD Sender: No OFD packet to send [15:56:43]OFD Sender: No OFD packet to send [15:56:48]OFD Sender: No OFD packet to send [15:56:53]OFD Sender: No OFD packet to send [15:56:58]OFD Sender: No OFD packet to send [15:57:03]OFD Sender: No OFD packet to send [15:57:08]OFD Sender: No OFD packet to send [15:57:13]OFD Sender: No OFD packet to send [15:57:18]OFD Sender: No OFD packet to send [15:57:23]OFD Sender: No OFD packet to send [15:57:28]OFD Sender: No OFD packet to send [15:57:33]OFD Sender: No OFD packet to send [15:57:38]OFD Sender: No OFD packet to send [15:57:43]OFD Sender: No OFD packet to send [15:57:48]OFD Sender: No OFD packet to send [15:57:53]OFD Sender: No OFD packet to send [15:57:58]OFD Sender: No OFD packet to send [15:58:03]OFD Sender: No OFD packet to send [15:58:08]OFD Sender: No OFD packet to send [15:58:13]OFD Sender: No OFD packet to send [15:58:18]OFD Sender: No OFD packet to send [15:58:23]OFD Sender: No OFD packet to send [15:58:28]OFD Sender: No OFD packet to send [15:58:33]OFD Sender: No OFD packet to send [15:58:38]OFD Sender: No OFD packet to send [15:58:43]OFD Sender: No OFD packet to send [15:58:48]OFD Sender: No OFD packet to send [15:58:53]OFD Sender: No OFD packet to send [15:58:58]OFD Sender: No OFD packet to send [15:59:03]OFD Sender: No OFD packet to send [15:59:08]OFD Sender: No OFD packet to send [15:59:13]OFD Sender: No OFD packet to send [15:59:18]OFD Sender: No OFD packet to send [15:59:23]OFD Sender: No OFD packet to send [15:59:28]OFD Sender: No OFD packet to send [15:59:33]OFD Sender: No OFD packet to send [15:59:38]OFD Sender: No OFD packet to send [15:59:43]OFD Sender: No OFD packet to send [15:59:48]OFD Sender: No OFD packet to send [15:59:53]OFD Sender: No OFD packet to send [15:59:58]OFD Sender: No OFD packet to send [16:00:03]OFD Sender: No OFD packet to send [16:00:08]OFD Sender: No OFD packet to send [16:00:13]OFD Sender: No OFD packet to send [16:00:18]OFD Sender: No OFD packet to send [16:00:23]OFD Sender: No OFD packet to send [16:00:28]OFD Sender: No OFD packet to send [16:00:33]OFD Sender: No OFD packet to send [16:00:38]OFD Sender: No OFD packet to send [16:00:43]OFD Sender: No OFD packet to send [16:00:48]OFD Sender: No OFD packet to send [16:00:53]OFD Sender: No OFD packet to send [16:00:58]OFD Sender: No OFD packet to send [16:01:03]OFD Sender: No OFD packet to send [16:01:08]OFD Sender: No OFD packet to send [16:01:13]OFD Sender: No OFD packet to send [16:01:18]OFD Sender: No OFD packet to send [16:01:23]OFD Sender: No OFD packet to send [16:01:28]OFD Sender: No OFD packet to send [16:01:33]OFD Sender: No OFD packet to send [16:01:38]OFD Sender: No OFD packet to send [16:01:43]OFD Sender: No OFD packet to send [16:01:48]OFD Sender: No OFD packet to send [16:01:53]OFD Sender: No OFD packet to send [16:01:58]OFD Sender: No OFD packet to send [16:02:03]OFD Sender: No OFD packet to send [16:02:08]OFD Sender: No OFD packet to send [16:02:13]OFD Sender: No OFD packet to send [16:02:18]OFD Sender: No OFD packet to send [16:02:23]OFD Sender: No OFD packet to send [16:02:28]OFD Sender: No OFD packet to send [16:02:33]OFD Sender: No OFD packet to send [16:02:38]OFD Sender: No OFD packet to send [16:02:43]OFD Sender: No OFD packet to send [16:02:48]OFD Sender: No OFD packet to send [16:02:53]OFD Sender: No OFD packet to send [16:02:58]OFD Sender: No OFD packet to send [16:03:03]OFD Sender: No OFD packet to send [16:03:08]OFD Sender: No OFD packet to send [16:03:13]OFD Sender: No OFD packet to send [16:03:18]OFD Sender: No OFD packet to send [16:03:23]OFD Sender: No OFD packet to send [16:03:28]OFD Sender: No OFD packet to send [16:03:33]OFD Sender: No OFD packet to send [16:03:38]OFD Sender: No OFD packet to send [16:03:43]OFD Sender: No OFD packet to send [16:03:48]OFD Sender: No OFD packet to send [16:03:53]OFD Sender: No OFD packet to send [16:03:58]OFD Sender: No OFD packet to send [16:04:03]OFD Sender: No OFD packet to send [16:04:08]OFD Sender: No OFD packet to send [16:04:13]OFD Sender: No OFD packet to send [16:04:18]OFD Sender: No OFD packet to send [16:04:23]OFD Sender: No OFD packet to send [16:04:28]OFD Sender: No OFD packet to send [16:04:33]OFD Sender: No OFD packet to send [16:04:38]OFD Sender: No OFD packet to send [16:04:43]OFD Sender: No OFD packet to send [16:04:48]OFD Sender: No OFD packet to send [16:04:53]OFD Sender: No OFD packet to send [16:04:58]OFD Sender: No OFD packet to send [16:05:03]OFD Sender: No OFD packet to send [16:05:08]OFD Sender: No OFD packet to send [16:05:13]OFD Sender: No OFD packet to send [16:05:18]OFD Sender: No OFD packet to send [16:05:23]OFD Sender: No OFD packet to send [16:05:28]OFD Sender: No OFD packet to send [16:05:33]OFD Sender: No OFD packet to send [16:05:38]OFD Sender: No OFD packet to send [16:05:43]OFD Sender: No OFD packet to send [16:05:48]OFD Sender: No OFD packet to send [16:05:53]OFD Sender: No OFD packet to send [16:05:58]OFD Sender: No OFD packet to send [16:06:03]OFD Sender: No OFD packet to send [16:06:08]OFD Sender: No OFD packet to send [16:06:13]OFD Sender: No OFD packet to send [16:06:18]OFD Sender: No OFD packet to send [16:06:23]OFD Sender: No OFD packet to send [16:06:28]OFD Sender: No OFD packet to send [16:06:33]OFD Sender: No OFD packet to send [16:06:38]OFD Sender: No OFD packet to send [16:06:43]OFD Sender: No OFD packet to send [16:06:48]OFD Sender: No OFD packet to send [16:06:53]OFD Sender: No OFD packet to send [16:06:58]OFD Sender: No OFD packet to send [16:07:03]OFD Sender: No OFD packet to send [16:07:08]OFD Sender: No OFD packet to send [16:07:13]OFD Sender: No OFD packet to send [16:07:18]OFD Sender: No OFD packet to send [16:07:23]OFD Sender: No OFD packet to send [16:07:28]OFD Sender: No OFD packet to send [16:07:33]OFD Sender: No OFD packet to send [16:07:38]OFD Sender: No OFD packet to send [16:07:43]OFD Sender: No OFD packet to send [16:07:48]OFD Sender: No OFD packet to send [16:07:53]OFD Sender: No OFD packet to send [16:07:58]OFD Sender: No OFD packet to send [16:08:03]OFD Sender: No OFD packet to send [16:08:08]OFD Sender: No OFD packet to send [16:08:13]OFD Sender: No OFD packet to send [16:08:18]OFD Sender: No OFD packet to send [16:08:23]OFD Sender: No OFD packet to send [16:08:28]OFD Sender: No OFD packet to send [16:08:33]OFD Sender: No OFD packet to send [16:08:38]OFD Sender: No OFD packet to send [16:08:43]OFD Sender: No OFD packet to send [16:08:48]OFD Sender: No OFD packet to send [16:08:53]OFD Sender: No OFD packet to send [16:08:58]OFD Sender: No OFD packet to send [16:09:03]OFD Sender: No OFD packet to send [16:09:08]OFD Sender: No OFD packet to send [16:09:13]OFD Sender: No OFD packet to send [16:09:18]OFD Sender: No OFD packet to send [16:09:23]OFD Sender: No OFD packet to send [16:09:28]OFD Sender: No OFD packet to send [16:09:33]OFD Sender: No OFD packet to send [16:09:38]OFD Sender: No OFD packet to send [16:09:43]OFD Sender: No OFD packet to send [16:09:48]OFD Sender: No OFD packet to send [16:09:53]OFD Sender: No OFD packet to send [16:09:58]OFD Sender: No OFD packet to send [16:10:03]OFD Sender: No OFD packet to send [16:10:08]OFD Sender: No OFD packet to send [16:10:13]OFD Sender: No OFD packet to send [16:10:18]OFD Sender: No OFD packet to send [16:10:23]OFD Sender: No OFD packet to send [16:10:28]OFD Sender: No OFD packet to send [16:10:33]OFD Sender: No OFD packet to send [16:10:38]OFD Sender: No OFD packet to send [16:10:43]OFD Sender: No OFD packet to send [16:10:48]OFD Sender: No OFD packet to send [16:10:53]OFD Sender: No OFD packet to send [16:10:58]OFD Sender: No OFD packet to send [16:11:00]accept exits with 9 [16:11:00]New connection [16:11:00]New thread 3066793316 created [16:11:00]Thread 3066936676 joined [16:11:00]Waiting for new connection... [16:11:00] Sock 9.Parse request [16:11:00]Sock 9.Check first char [16:11:00]Sock 9.First char is OK [16:11:00]request: POST /json_proto HTTP/1.0 [16:11:00]Method: POST [16:11:00]URL: /json_proto [16:11:00]Method is POST - this is cgi request [16:11:00]url: /json_proto [16:11:00]query_string will be loaded in cgi processing [16:11:00]execute_cgi json_proto POST (null) [16:11:00]execute_cgi path=json_proto method=POST [16:11:00]POST find Content-Length [16:11:00]Host: 172.17.35.196:8080 [16:11:00]Content-Length: 669 [16:11:00]Content-Type: application/json [16:11:00] [16:11:00]POST finish read [16:11:00]Found Content-Length = 669 [16:11:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169120", "tax_sys" : 0, "items" : [ { "code": "4870022003305", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Gorilla \u044D\u043D \u043D\u0430\u0442 \u0436/\u0431 0,5/0,45\u043B", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 110.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:11:00]execute_script... [16:11:00]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169120", "tax_sys" : 0, "items" : [ { "code": "4870022003305", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Gorilla \u044D\u043D \u043D\u0430\u0442 \u0436/\u0431 0,5/0,45\u043B", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 110.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:11:00]POST & json_proto [16:11:00]process_json_proto [16:11:00]json parsed OK: [16:11:00]protocol is kg_v1.0 [16:11:00]action value=close_receipt [16:11:00]process_action close_receipt [16:11:00]cmd_close_receipt [16:11:00]MH_GetDate [16:11:00]Write to MH i2c: F0 00 00 23 05 17 [16:11:00]Write i2c OK [16:11:00]MH_I2C_Read... [16:11:00]Read from MH i2c: F0 [16:11:00]MH_I2C_Read... [16:11:00]Read from MH i2c: F0 09 00 [16:11:00]MH_I2C_Read... [16:11:00]Read from MH i2c: F0 09 00 23 05 00 15 04 90 66 AD 14 F4 65 49 [16:11:00]GetLastDocTimeStamp 1720712129 [16:11:00]current date 1720714261 [16:11:00]FM_GetShiftState [16:11:00]SAM_PROTO_GetShiftState [16:11:00]wFMCommunicate request_size=4 [16:11:00]MH_SAM_APDU [16:11:00]CAPDU: 80 13 01 00 [16:11:00]Write to MH i2c: E2 08 00 24 05 80 13 01 00 00 00 00 00 A6 [16:11:00]Write i2c OK [16:11:00]MH_I2C_Read... [16:11:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:11:00]Read from MH i2c: E2 [16:11:00]MH_I2C_Read... [16:11:00]Read from MH i2c: E2 0E 00 [16:11:00]MH_I2C_Read... [16:11:00]Read from MH i2c: E2 0E 00 24 05 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 D7 [16:11:00]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [16:11:00]wFMCommunicate OK [16:11:00]SAM_PROTO_GetShiftState done [16:11:00]FM_GetShiftState done [16:11:00]opened in 1720656398 [16:11:00]opened+sec_in_day 1720742798 [16:11:00]quantity*price = 11000 [16:11:00]sum+1 = 11001 [16:11:00]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 110.00 НСП 1% : 0.97 НДС 12% : 11.68 Наличными: 110.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 41 11.07.2024 16:11 Смена: 432 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33286 ФПД: 37984985675795 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T161101&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33286&fm=37984985675795&tin=02508201610067®Number=0000000000093033&sum=11000 0 [16:11:02]StoreToDocumentArchive [16:11:02]shift 432 fd 33286 [16:11:02]save to /storage/0432/doc_00033286 [16:11:02]save last doc name /storage/0432/doc_00033286 to /storage/kkm_last_doc_name [16:11:02]save OK [16:11:02]Clear old archive folders... [16:11:02]ProcessDocumentItem done err = 0, tmpTLVsize=293 [16:11:02]tlvbuf is 01CA6750 [16:11:02]SAM_PROTO_ClearQueue [16:11:02]wFMCommunicate request_size=4 [16:11:02]MH_SAM_APDU [16:11:02]CAPDU: 80 09 00 00 [16:11:02]Write to MH i2c: E2 08 00 31 05 80 09 00 00 00 00 00 00 A8 [16:11:02]Write i2c OK [16:11:02]MH_I2C_Read... [16:11:02]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:11:02]Read from MH i2c: E2 [16:11:02]MH_I2C_Read... [16:11:02]Read from MH i2c: E2 03 00 [16:11:02]MH_I2C_Read... [16:11:02]Read from MH i2c: E2 03 00 31 05 00 90 00 AA [16:11:02]RAPDU: 90 00 [16:11:02]wFMCommunicate OK [16:11:02]SAM_PROTO_ClearQueue done [16:11:02]KKMCreateOFDPacket [16:11:02]OFDProtocolAddRootSTLVToBuf [16:11:02]FM_MakeSignedData [16:11:02]FM_MakeSignedData [16:11:02]SAM_PROTO_SignData [16:11:02]wFMCommunicate request_size=4 [16:11:02]MH_SAM_APDU [16:11:02]CAPDU: 80 0D 01 02 [16:11:02]Write to MH i2c: E2 08 00 32 05 80 0D 01 02 00 00 00 00 B0 [16:11:02]Write i2c OK [16:11:02]MH_I2C_Read... [16:11:02]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:11:02]Read from MH i2c: E2 [16:11:02]MH_I2C_Read... [16:11:02]Read from MH i2c: E2 03 00 [16:11:02]MH_I2C_Read... [16:11:02]Read from MH i2c: E2 03 00 32 05 00 90 00 AB [16:11:02]RAPDU: 90 00 [16:11:02]wFMCommunicate OK [16:11:02]wFMCommunicate request_size=255 [16:11:02]MH_SAM_APDU [16:11:02]CAPDU: 80 0D 02 02 FA 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 30 35 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D1 82 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 F8 2A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 15 04 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 [16:11:02]Write to MH i2c: E2 02 01 33 05 80 0D 02 02 FA 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 30 35 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D1 82 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 F8 2A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 15 04 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 00 00 B3 [16:11:02]Write i2c OK [16:11:02]MH_I2C_Read... [16:11:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:11:02]Read from MH i2c: E2 [16:11:02]MH_I2C_Read... [16:11:02]Read from MH i2c: E2 03 00 [16:11:02]MH_I2C_Read... [16:11:02]Read from MH i2c: E2 03 00 33 05 00 90 00 AC [16:11:02]RAPDU: 90 00 [16:11:02]wFMCommunicate OK [16:11:02]wFMCommunicate request_size=52 [16:11:02]MH_SAM_APDU [16:11:02]CAPDU: 80 0D 02 02 2F 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 06 82 00 00 35 04 06 00 22 8C 11 93 F8 13 [16:11:02]Write to MH i2c: E2 37 00 34 05 80 0D 02 02 2F 00 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 06 82 00 00 35 04 06 00 22 8C 11 93 F8 13 00 00 4D [16:11:02]Write i2c OK [16:11:02]MH_I2C_Read... [16:11:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:11:02]Read from MH i2c: E2 [16:11:02]MH_I2C_Read... [16:11:02]Read from MH i2c: E2 03 00 [16:11:02]MH_I2C_Read... [16:11:02]Read from MH i2c: E2 03 00 34 05 00 90 00 AD [16:11:02]RAPDU: 90 00 [16:11:02]wFMCommunicate OK [16:11:02]wFMCommunicate request_size=4 [16:11:02]MH_SAM_APDU [16:11:02]CAPDU: 80 0D 03 02 [16:11:02]Write to MH i2c: E2 08 00 35 05 80 0D 03 02 00 00 00 00 B5 [16:11:02]Write i2c OK [16:11:02]MH_I2C_Read... [16:11:02]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:11:02]Read from MH i2c: E2 [16:11:02]MH_I2C_Read... [16:11:02]Read from MH i2c: E2 0B 00 [16:11:02]MH_I2C_Read... [16:11:02]Read from MH i2c: E2 0B 00 35 05 00 7E 65 4D 60 EB 62 6B 7A 90 00 78 [16:11:02]RAPDU: 7E 65 4D 60 EB 62 6B 7A 90 00 [16:11:02]wFMCommunicate OK [16:11:02]SAM_PROTO_SignData done [16:11:02]FM_MakeSignedData done [16:11:02]CreateOFDProtocolMessage [16:11:02]wFMCommunicate request_size=4 [16:11:02]MH_SAM_APDU [16:11:02]CAPDU: 80 11 00 00 [16:11:02]Write to MH i2c: E2 08 00 36 05 80 11 00 00 00 00 00 00 B5 [16:11:02]Write i2c OK [16:11:02]MH_I2C_Read... [16:11:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:11:02]Read from MH i2c: E2 [16:11:02]MH_I2C_Read... [16:11:02]Read from MH i2c: E2 17 00 [16:11:02]MH_I2C_Read... [16:11:02]Read from MH i2c: E2 17 00 36 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 01 [16:11:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [16:11:02]wFMCommunicate OK [16:11:02]CreateOFDProtocolMessage done [16:11:02]OFDSenderStorePacket 33286 [16:11:02]StoreOFDPacket docnum=33286 [16:11:02]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 39 01 00 00 D1 1B 31 01 D0 D5 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 30 35 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D1 82 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 F8 2A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 15 04 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 06 82 00 00 35 04 06 00 22 8C 11 93 F8 13 7E 65 4D 60 EB 62 6B 7A [16:11:02]CheckFolder [16:11:02]dirname=/storage/ofd_packets [16:11:02]CheckFolder done [16:11:02]ProducePacketName [16:11:02]name=ofd_packets/00033286 [16:11:02]NVStorageSaveData ofd_packets/00033286 [16:11:02]File name is /storage/ofd_packets/00033286 [16:11:02]Write 343 bytes [16:11:02]NVStorageSaveData done [16:11:02]OFDSenderStorePacket done [16:11:02]KKMCreateOFDPacket done [16:11:02]NVStorageSaveData kkm_last_timestamp [16:11:02]File name is /storage/kkm_last_timestamp [16:11:02]Write 4 bytes [16:11:02]NVStorageSaveData done [16:11:02]ExternCall_PrintAddStr [16:11:02]wPrintStart [16:11:02]Write to MH i2c: 01 00 00 37 05 3C [16:11:02]Write i2c OK [16:11:02]MH_I2C_Read... [16:11:02]Read from MH i2c: 01 [16:11:02]MH_I2C_Read... [16:11:02]Read from MH i2c: 01 07 00 [16:11:02]MH_I2C_Read... [16:11:02]Read from MH i2c: 01 07 00 37 05 00 00 00 00 00 FF 0F 51 [16:11:02]RasterBufferAndPrint [16:11:02]line Счет N : (3)169120 [16:11:02]line ИНН: 02508201610067 [16:11:02]line Контрольно-Кассовый Чек [16:11:02]line ПРОДАЖА [16:11:02]line Товар: 4870022003305 [16:11:02]line Напиток Gorilla эн нат ж/б 0,5/0,45л [16:11:02]line 1.000 * 110.00 [16:11:02]line = 110.00 [16:11:02]line НДС 12% НСП 1% [16:11:02]line > о реализуемом товаре [16:11:02]line ИТОГО: 110.00 [16:11:02]line НСП 1% : 0.97 [16:11:02]line НДС 12% : 11.68 [16:11:02]line Наличными: 110.00 [16:11:02]line Безнал.: 0.00 [16:11:02]line Место: АЗС № 77 "Партнер Нефть" [16:11:02]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [16:11:02]line СНО: Общий режим [16:11:02]line Чек 41 11.07.2024 16:11 [16:11:02]line Смена: 432 ФФД: 1.0 [16:11:02]line ЗНМ: 0300000122 [16:11:02]line РНМ: 0000000000093033 [16:11:02]line Версия ККМ: 001 [16:11:02]line ФМ: 0000000000875104 [16:11:02]line ФД: 33286 [16:11:02]line ФПД: 37984985675795 [16:11:02]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T161101&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33286&fm=37984985675795&tin=02508201610067®Number=0000000000093033&sum=11000 [16:11:03]OFD Sender: Processing packet 33286 [packets to send 6, broken 5] [16:11:03]ProducePacketName [16:11:03]name=ofd_packets/00033286 [16:11:03]OFD Sender: To server: pG, [16:11:03]CommunicateWithHost lk.salyk.kg:30040 [16:11:03]ConnectInit lk.salyk.kg [16:11:03]line 0 [16:11:03]written 0, free lines is 4095 [16:11:03]Connected sock=10 [16:11:03]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 39 01 00 00 D1 1B 31 01 D0 D5 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 30 35 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D1 82 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 F8 2A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 15 04 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 06 82 00 00 35 04 06 00 22 8C 11 93 F8 13 7E 65 4D 60 EB 62 6B 7A [16:11:03]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 38 7A 47 00 20 4E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 06 82 00 00 F4 03 04 00 C5 AE 8F 66 B6 04 01 00 00 57 65 18 1B 6C BC 59 CD [16:11:03]CommunicateWithHost err = 0 [16:11:03]CheckOFDResponse [16:11:03]1017 (14) - 77093643461234 [16:11:03]1041 (16) - 0000000000875104 [16:11:03]1040 (4) - 33286 [16:11:03]1012 (4) - 11.07.2024 10:07 [16:11:03]1206 (1) - 0 [16:11:03]OFD Sender: Remove packet 33286 [16:11:03]ProducePacketName [16:11:03]name=ofd_packets/00033286 [16:11:03]NVStorageDeleteData [16:11:03]Write to MH i2c: 01 00 00 60 05 65 [16:11:03]Write i2c OK [16:11:03]MH_I2C_Read... [16:11:03]Read from MH i2c: 01 [16:11:03]MH_I2C_Read... [16:11:03]Read from MH i2c: 01 07 00 [16:11:03]MH_I2C_Read... [16:11:03]Read from MH i2c: 01 07 00 60 05 00 00 00 00 00 DF 0C 57 [16:11:03]RasterBufferAndPrint [16:11:03]line [16:11:03]line [16:11:03]line [16:11:03]line [16:11:03]line [16:11:03]written 0, free lines is 3301 [16:11:03]MH_Cut [16:11:03]Write to MH i2c: D1 01 00 67 05 01 3E [16:11:03]Write i2c OK [16:11:03]MH_I2C_Read... [16:11:03]Read from MH i2c: D1 [16:11:03]MH_I2C_Read... [16:11:03]Read from MH i2c: D1 01 00 [16:11:03]MH_I2C_Read... [16:11:03]Read from MH i2c: D1 01 00 67 05 00 3D [16:11:03]Write to MH i2c: 01 00 00 68 05 6D [16:11:03]Write i2c OK [16:11:03]MH_I2C_Read... [16:11:03]OFD Sender: No OFD packet to send [16:11:04]*** Cut start [16:11:04]*** Partial cut [16:11:04]*** CUTSNS_PIN = 1 [16:11:04]*** CUTSNS_PIN = 0 [16:11:04]*** Brake cut motor [16:11:04]Read from MH i2c: 01 [16:11:04]MH_I2C_Read... [16:11:04]*** Stop cut motor [16:11:04]*** Cut end [16:11:04]Read from MH i2c: 01 07 00 [16:11:04]MH_I2C_Read... [16:11:04]Read from MH i2c: 01 07 00 68 05 00 00 00 00 00 FF 0F 82 [16:11:04]process_action close_receipt done [16:11:04]requested_data is exist [16:11:04]produce_requested_data [16:11:04]requested_item fm.sn is exist - process it [16:11:04]wFMCommunicate request_size=4 [16:11:04]MH_SAM_APDU [16:11:04]CAPDU: 80 11 00 00 [16:11:04]Write to MH i2c: E2 08 00 69 05 80 11 00 00 00 00 00 00 E8 [16:11:04]Write i2c OK [16:11:04]MH_I2C_Read... [16:11:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:11:04]Read from MH i2c: E2 [16:11:04]MH_I2C_Read... [16:11:04]Read from MH i2c: E2 17 00 [16:11:04]MH_I2C_Read... [16:11:04]Read from MH i2c: E2 17 00 69 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 34 [16:11:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [16:11:04]wFMCommunicate OK [16:11:04]requested_item fd.num is exist - process it [16:11:04]SAM_PROTO_GetFieldsCounters [16:11:04]wFMCommunicate request_size=4 [16:11:04]MH_SAM_APDU [16:11:04]CAPDU: 80 13 00 00 [16:11:04]Write to MH i2c: E2 08 00 6A 05 80 13 00 00 00 00 00 00 EB [16:11:04]Write i2c OK [16:11:04]MH_I2C_Read... [16:11:04]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:11:05]Read from MH i2c: E2 [16:11:05]MH_I2C_Read... [16:11:05]Read from MH i2c: E2 62 00 [16:11:05]MH_I2C_Read... [16:11:05]Read from MH i2c: E2 62 00 6A 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 06 82 00 00 0E 04 04 00 B0 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 B2 [16:11: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 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 06 82 00 00 0E 04 04 00 B0 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 [16:11:05]wFMCommunicate OK [16:11:05]SAM_PROTO_GetFieldsCounters done [16:11:05]requested_item shift.num is exist - process it [16:11:05]requested_item shift.opened is exist - process it [16:11:05]req_shift_opened [16:11:05]FM_GetShiftState [16:11:05]SAM_PROTO_GetShiftState [16:11:05]wFMCommunicate request_size=4 [16:11:05]MH_SAM_APDU [16:11:05]CAPDU: 80 13 01 00 [16:11:05]Write to MH i2c: E2 08 00 6B 05 80 13 01 00 00 00 00 00 ED [16:11:05]Write i2c OK [16:11:05]MH_I2C_Read... [16:11:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:11:05]Read from MH i2c: E2 [16:11:05]MH_I2C_Read... [16:11:05]Read from MH i2c: E2 0E 00 [16:11:05]MH_I2C_Read... [16:11:05]Read from MH i2c: E2 0E 00 6B 05 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 1E [16:11:05]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [16:11:05]wFMCommunicate OK [16:11:05]SAM_PROTO_GetShiftState done [16:11:05]FM_GetShiftState done [16:11:05]req_shift_opened done [16:11:05]requested_item shift.open_date is exist - process it [16:11:05]req_shift_open_date [16:11:05]req_shift_open_date done [16:11:05]produce_requested_data done [16:11:05]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33286,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398} [16:11:05]process_action_free close_receipt [16:11:05]json_value_free [16:11:05]json_value_free done [16:11:05]process_json_proto returns [16:11:05]Send response to host [16:11:05]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33286,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398}}} [16:11:05]free response buf [16:11:05]execute_script done [16:11:05]execute_script returns [16:11:05]free content buf [16:11:05]Sock 9.Close socket [16:11:05]Sock 9.Thread stoped [16:11:08]OFD Sender: No OFD packet to send [16:11:13]OFD Sender: No OFD packet to send [16:11:18]OFD Sender: No OFD packet to send [16:11:23]OFD Sender: No OFD packet to send [16:11:28]OFD Sender: No OFD packet to send [16:11:33]OFD Sender: No OFD packet to send [16:11:38]OFD Sender: No OFD packet to send [16:11:43]OFD Sender: No OFD packet to send [16:11:48]OFD Sender: No OFD packet to send [16:11:53]OFD Sender: No OFD packet to send [16:11:58]OFD Sender: No OFD packet to send [16:12:03]OFD Sender: No OFD packet to send [16:12:08]OFD Sender: No OFD packet to send [16:12:13]OFD Sender: No OFD packet to send [16:12:18]OFD Sender: No OFD packet to send [16:12:23]OFD Sender: No OFD packet to send [16:12:28]OFD Sender: No OFD packet to send [16:12:33]OFD Sender: No OFD packet to send [16:12:38]OFD Sender: No OFD packet to send [16:12:43]OFD Sender: No OFD packet to send [16:12:48]OFD Sender: No OFD packet to send [16:12:53]OFD Sender: No OFD packet to send [16:12:58]OFD Sender: No OFD packet to send [16:13:03]OFD Sender: No OFD packet to send [16:13:08]OFD Sender: No OFD packet to send [16:13:13]OFD Sender: No OFD packet to send [16:13:18]OFD Sender: No OFD packet to send [16:13:23]OFD Sender: No OFD packet to send [16:13:28]OFD Sender: No OFD packet to send [16:13:33]OFD Sender: No OFD packet to send [16:13:38]OFD Sender: No OFD packet to send [16:13:43]OFD Sender: No OFD packet to send [16:13:48]OFD Sender: No OFD packet to send [16:13:53]OFD Sender: No OFD packet to send [16:13:58]OFD Sender: No OFD packet to send [16:14:03]OFD Sender: No OFD packet to send [16:14:08]OFD Sender: No OFD packet to send [16:14:13]OFD Sender: No OFD packet to send [16:14:18]OFD Sender: No OFD packet to send [16:14:23]OFD Sender: No OFD packet to send [16:14:28]OFD Sender: No OFD packet to send [16:14:34]OFD Sender: No OFD packet to send [16:14:39]OFD Sender: No OFD packet to send [16:14:44]OFD Sender: No OFD packet to send [16:14:49]OFD Sender: No OFD packet to send [16:14:54]OFD Sender: No OFD packet to send [16:14:59]OFD Sender: No OFD packet to send [16:15:04]OFD Sender: No OFD packet to send [16:15:09]OFD Sender: No OFD packet to send [16:15:14]OFD Sender: No OFD packet to send [16:15:19]OFD Sender: No OFD packet to send [16:15:24]OFD Sender: No OFD packet to send [16:15:29]OFD Sender: No OFD packet to send [16:15:34]OFD Sender: No OFD packet to send [16:15:39]OFD Sender: No OFD packet to send [16:15:44]OFD Sender: No OFD packet to send [16:15:49]OFD Sender: No OFD packet to send [16:15:54]OFD Sender: No OFD packet to send [16:15:59]OFD Sender: No OFD packet to send [16:16:04]OFD Sender: No OFD packet to send [16:16:09]OFD Sender: No OFD packet to send [16:16:14]OFD Sender: No OFD packet to send [16:16:19]OFD Sender: No OFD packet to send [16:16:24]OFD Sender: No OFD packet to send [16:16:29]OFD Sender: No OFD packet to send [16:16:34]OFD Sender: No OFD packet to send [16:16:39]OFD Sender: No OFD packet to send [16:16:44]OFD Sender: No OFD packet to send [16:16:49]OFD Sender: No OFD packet to send [16:16:54]OFD Sender: No OFD packet to send [16:16:59]OFD Sender: No OFD packet to send [16:17:04]OFD Sender: No OFD packet to send [16:17:09]OFD Sender: No OFD packet to send [16:17:14]OFD Sender: No OFD packet to send [16:17:19]OFD Sender: No OFD packet to send [16:17:24]OFD Sender: No OFD packet to send [16:17:29]OFD Sender: No OFD packet to send [16:17:34]OFD Sender: No OFD packet to send [16:17:39]OFD Sender: No OFD packet to send [16:17:44]OFD Sender: No OFD packet to send [16:17:49]OFD Sender: No OFD packet to send [16:17:54]OFD Sender: No OFD packet to send [16:17:59]OFD Sender: No OFD packet to send [16:18:04]OFD Sender: No OFD packet to send [16:18:09]OFD Sender: No OFD packet to send [16:18:14]OFD Sender: No OFD packet to send [16:18:19]OFD Sender: No OFD packet to send [16:18:24]OFD Sender: No OFD packet to send [16:18:29]OFD Sender: No OFD packet to send [16:18:34]OFD Sender: No OFD packet to send [16:18:39]OFD Sender: No OFD packet to send [16:18:44]OFD Sender: No OFD packet to send [16:18:49]OFD Sender: No OFD packet to send [16:18:54]OFD Sender: No OFD packet to send [16:18:59]OFD Sender: No OFD packet to send [16:19:04]OFD Sender: No OFD packet to send [16:19:09]OFD Sender: No OFD packet to send [16:19:14]OFD Sender: No OFD packet to send [16:19:19]OFD Sender: No OFD packet to send [16:19:24]OFD Sender: No OFD packet to send [16:19:29]OFD Sender: No OFD packet to send [16:19:34]OFD Sender: No OFD packet to send [16:19:39]OFD Sender: No OFD packet to send [16:19:44]OFD Sender: No OFD packet to send [16:19:49]OFD Sender: No OFD packet to send [16:19:54]OFD Sender: No OFD packet to send [16:19:59]OFD Sender: No OFD packet to send [16:20:04]OFD Sender: No OFD packet to send [16:20:09]OFD Sender: No OFD packet to send [16:20:14]OFD Sender: No OFD packet to send [16:20:19]OFD Sender: No OFD packet to send [16:20:24]OFD Sender: No OFD packet to send [16:20:29]OFD Sender: No OFD packet to send [16:20:34]OFD Sender: No OFD packet to send [16:20:39]OFD Sender: No OFD packet to send [16:20:44]OFD Sender: No OFD packet to send [16:20:49]OFD Sender: No OFD packet to send [16:20:54]OFD Sender: No OFD packet to send [16:20:59]OFD Sender: No OFD packet to send [16:21:04]OFD Sender: No OFD packet to send [16:21:09]OFD Sender: No OFD packet to send [16:21:14]OFD Sender: No OFD packet to send [16:21:19]OFD Sender: No OFD packet to send [16:21:24]OFD Sender: No OFD packet to send [16:21:29]OFD Sender: No OFD packet to send [16:21:34]OFD Sender: No OFD packet to send [16:21:39]OFD Sender: No OFD packet to send [16:21:44]OFD Sender: No OFD packet to send [16:21:49]OFD Sender: No OFD packet to send [16:21:54]OFD Sender: No OFD packet to send [16:21:59]OFD Sender: No OFD packet to send [16:22:04]OFD Sender: No OFD packet to send [16:22:09]OFD Sender: No OFD packet to send [16:22:14]OFD Sender: No OFD packet to send [16:22:19]OFD Sender: No OFD packet to send [16:22:24]OFD Sender: No OFD packet to send [16:22:29]OFD Sender: No OFD packet to send [16:22:34]OFD Sender: No OFD packet to send [16:22:39]OFD Sender: No OFD packet to send [16:22:44]OFD Sender: No OFD packet to send [16:22:49]OFD Sender: No OFD packet to send [16:22:54]OFD Sender: No OFD packet to send [16:22:59]OFD Sender: No OFD packet to send [16:23:04]OFD Sender: No OFD packet to send [16:23:09]OFD Sender: No OFD packet to send [16:23:14]OFD Sender: No OFD packet to send [16:23:19]OFD Sender: No OFD packet to send [16:23:24]OFD Sender: No OFD packet to send [16:23:29]OFD Sender: No OFD packet to send [16:23:34]OFD Sender: No OFD packet to send [16:23:39]OFD Sender: No OFD packet to send [16:23:44]OFD Sender: No OFD packet to send [16:23:49]OFD Sender: No OFD packet to send [16:23:54]OFD Sender: No OFD packet to send [16:23:59]OFD Sender: No OFD packet to send [16:24:04]OFD Sender: No OFD packet to send [16:24:09]OFD Sender: No OFD packet to send [16:24:14]OFD Sender: No OFD packet to send [16:24:19]OFD Sender: No OFD packet to send [16:24:24]OFD Sender: No OFD packet to send [16:24:29]OFD Sender: No OFD packet to send [16:24:34]OFD Sender: No OFD packet to send [16:24:39]OFD Sender: No OFD packet to send [16:24:44]OFD Sender: No OFD packet to send [16:24:49]OFD Sender: No OFD packet to send [16:24:54]OFD Sender: No OFD packet to send [16:24:59]OFD Sender: No OFD packet to send [16:25:04]OFD Sender: No OFD packet to send [16:25:09]OFD Sender: No OFD packet to send [16:25:14]OFD Sender: No OFD packet to send [16:25:19]OFD Sender: No OFD packet to send [16:25:24]OFD Sender: No OFD packet to send [16:25:29]OFD Sender: No OFD packet to send [16:25:34]OFD Sender: No OFD packet to send [16:25:39]OFD Sender: No OFD packet to send [16:25:44]OFD Sender: No OFD packet to send [16:25:49]OFD Sender: No OFD packet to send [16:25:54]OFD Sender: No OFD packet to send [16:25:59]OFD Sender: No OFD packet to send [16:26:04]OFD Sender: No OFD packet to send [16:26:09]OFD Sender: No OFD packet to send [16:26:14]OFD Sender: No OFD packet to send [16:26:19]OFD Sender: No OFD packet to send [16:26:24]OFD Sender: No OFD packet to send [16:26:29]OFD Sender: No OFD packet to send [16:26:34]OFD Sender: No OFD packet to send [16:26:39]OFD Sender: No OFD packet to send [16:26:44]OFD Sender: No OFD packet to send [16:26:49]OFD Sender: No OFD packet to send [16:26:54]OFD Sender: No OFD packet to send [16:26:59]OFD Sender: No OFD packet to send [16:27:04]OFD Sender: No OFD packet to send [16:27:09]OFD Sender: No OFD packet to send [16:27:14]OFD Sender: No OFD packet to send [16:27:19]OFD Sender: No OFD packet to send [16:27:24]OFD Sender: No OFD packet to send [16:27:29]OFD Sender: No OFD packet to send [16:27:34]OFD Sender: No OFD packet to send [16:27:39]OFD Sender: No OFD packet to send [16:27:44]OFD Sender: No OFD packet to send [16:27:49]OFD Sender: No OFD packet to send [16:27:54]OFD Sender: No OFD packet to send [16:27:59]OFD Sender: No OFD packet to send [16:28:04]OFD Sender: No OFD packet to send [16:28:09]OFD Sender: No OFD packet to send [16:28:14]OFD Sender: No OFD packet to send [16:28:19]OFD Sender: No OFD packet to send [16:28:24]OFD Sender: No OFD packet to send [16:28:29]OFD Sender: No OFD packet to send [16:28:34]OFD Sender: No OFD packet to send [16:28:39]OFD Sender: No OFD packet to send [16:28:44]OFD Sender: No OFD packet to send [16:28:49]OFD Sender: No OFD packet to send [16:28:54]OFD Sender: No OFD packet to send [16:28:59]OFD Sender: No OFD packet to send [16:29:04]OFD Sender: No OFD packet to send [16:29:09]OFD Sender: No OFD packet to send [16:29:14]OFD Sender: No OFD packet to send [16:29:19]OFD Sender: No OFD packet to send [16:29:24]OFD Sender: No OFD packet to send [16:29:29]OFD Sender: No OFD packet to send [16:29:34]OFD Sender: No OFD packet to send [16:29:39]OFD Sender: No OFD packet to send [16:29:44]OFD Sender: No OFD packet to send [16:29:49]OFD Sender: No OFD packet to send [16:29:54]OFD Sender: No OFD packet to send [16:29:59]OFD Sender: No OFD packet to send [16:30:04]OFD Sender: No OFD packet to send [16:30:09]OFD Sender: No OFD packet to send [16:30:14]OFD Sender: No OFD packet to send [16:30:19]OFD Sender: No OFD packet to send [16:30:24]OFD Sender: No OFD packet to send [16:30:29]OFD Sender: No OFD packet to send [16:30:34]OFD Sender: No OFD packet to send [16:30:39]OFD Sender: No OFD packet to send [16:30:44]OFD Sender: No OFD packet to send [16:30:49]OFD Sender: No OFD packet to send [16:30:54]OFD Sender: No OFD packet to send [16:30:59]OFD Sender: No OFD packet to send [16:31:04]OFD Sender: No OFD packet to send [16:31:09]OFD Sender: No OFD packet to send [16:31:14]OFD Sender: No OFD packet to send [16:31:19]OFD Sender: No OFD packet to send [16:31:24]OFD Sender: No OFD packet to send [16:31:29]OFD Sender: No OFD packet to send [16:31:34]OFD Sender: No OFD packet to send [16:31:39]OFD Sender: No OFD packet to send [16:31:44]OFD Sender: No OFD packet to send [16:31:49]OFD Sender: No OFD packet to send [16:31:54]OFD Sender: No OFD packet to send [16:31:59]OFD Sender: No OFD packet to send [16:32:04]OFD Sender: No OFD packet to send [16:32:09]OFD Sender: No OFD packet to send [16:32:14]OFD Sender: No OFD packet to send [16:32:19]OFD Sender: No OFD packet to send [16:32:24]OFD Sender: No OFD packet to send [16:32:29]OFD Sender: No OFD packet to send [16:32:34]OFD Sender: No OFD packet to send [16:32:39]OFD Sender: No OFD packet to send [16:32:44]OFD Sender: No OFD packet to send [16:32:49]OFD Sender: No OFD packet to send [16:32:54]OFD Sender: No OFD packet to send [16:32:59]OFD Sender: No OFD packet to send [16:33:04]OFD Sender: No OFD packet to send [16:33:09]OFD Sender: No OFD packet to send [16:33:14]OFD Sender: No OFD packet to send [16:33:19]OFD Sender: No OFD packet to send [16:33:24]OFD Sender: No OFD packet to send [16:33:29]OFD Sender: No OFD packet to send [16:33:34]OFD Sender: No OFD packet to send [16:33:39]OFD Sender: No OFD packet to send [16:33:44]OFD Sender: No OFD packet to send [16:33:49]OFD Sender: No OFD packet to send [16:33:54]OFD Sender: No OFD packet to send [16:33:59]OFD Sender: No OFD packet to send [16:34:04]OFD Sender: No OFD packet to send [16:34:09]OFD Sender: No OFD packet to send [16:34:14]OFD Sender: No OFD packet to send [16:34:19]OFD Sender: No OFD packet to send [16:34:24]OFD Sender: No OFD packet to send [16:34:29]OFD Sender: No OFD packet to send [16:34:34]OFD Sender: No OFD packet to send [16:34:39]OFD Sender: No OFD packet to send [16:34:44]OFD Sender: No OFD packet to send [16:34:49]OFD Sender: No OFD packet to send [16:34:54]OFD Sender: No OFD packet to send [16:34:59]OFD Sender: No OFD packet to send [16:35:04]OFD Sender: No OFD packet to send [16:35:09]OFD Sender: No OFD packet to send [16:35:14]OFD Sender: No OFD packet to send [16:35:19]OFD Sender: No OFD packet to send [16:35:24]OFD Sender: No OFD packet to send [16:35:29]OFD Sender: No OFD packet to send [16:35:34]OFD Sender: No OFD packet to send [16:35:39]OFD Sender: No OFD packet to send [16:35:44]OFD Sender: No OFD packet to send [16:35:49]OFD Sender: No OFD packet to send [16:35:54]OFD Sender: No OFD packet to send [16:35:59]OFD Sender: No OFD packet to send [16:36:05]OFD Sender: No OFD packet to send [16:36:10]OFD Sender: No OFD packet to send [16:36:15]OFD Sender: No OFD packet to send [16:36:20]OFD Sender: No OFD packet to send [16:36:25]OFD Sender: No OFD packet to send [16:36:30]OFD Sender: No OFD packet to send [16:36:35]OFD Sender: No OFD packet to send [16:36:40]OFD Sender: No OFD packet to send [16:36:45]OFD Sender: No OFD packet to send [16:36:50]OFD Sender: No OFD packet to send [16:36:55]OFD Sender: No OFD packet to send [16:37:00]OFD Sender: No OFD packet to send [16:37:05]OFD Sender: No OFD packet to send [16:37:10]OFD Sender: No OFD packet to send [16:37:15]OFD Sender: No OFD packet to send [16:37:20]OFD Sender: No OFD packet to send [16:37:25]OFD Sender: No OFD packet to send [16:37:30]OFD Sender: No OFD packet to send [16:37:35]OFD Sender: No OFD packet to send [16:37:40]OFD Sender: No OFD packet to send [16:37:45]OFD Sender: No OFD packet to send [16:37:50]OFD Sender: No OFD packet to send [16:37:55]OFD Sender: No OFD packet to send [16:38:00]OFD Sender: No OFD packet to send [16:38:05]OFD Sender: No OFD packet to send [16:38:10]OFD Sender: No OFD packet to send [16:38:15]OFD Sender: No OFD packet to send [16:38:20]OFD Sender: No OFD packet to send [16:38:25]OFD Sender: No OFD packet to send [16:38:30]OFD Sender: No OFD packet to send [16:38:35]OFD Sender: No OFD packet to send [16:38:40]OFD Sender: No OFD packet to send [16:38:45]OFD Sender: No OFD packet to send [16:38:50]OFD Sender: No OFD packet to send [16:38:55]OFD Sender: No OFD packet to send [16:39:00]OFD Sender: No OFD packet to send [16:39:05]OFD Sender: No OFD packet to send [16:39:10]OFD Sender: No OFD packet to send [16:39:15]OFD Sender: No OFD packet to send [16:39:20]OFD Sender: No OFD packet to send [16:39:25]OFD Sender: No OFD packet to send [16:39:30]OFD Sender: No OFD packet to send [16:39:35]OFD Sender: No OFD packet to send [16:39:40]OFD Sender: No OFD packet to send [16:39:45]OFD Sender: No OFD packet to send [16:39:50]OFD Sender: No OFD packet to send [16:39:55]OFD Sender: No OFD packet to send [16:40:00]OFD Sender: No OFD packet to send [16:40:05]OFD Sender: No OFD packet to send [16:40:10]OFD Sender: No OFD packet to send [16:40:15]OFD Sender: No OFD packet to send [16:40:20]OFD Sender: No OFD packet to send [16:40:25]OFD Sender: No OFD packet to send [16:40:30]OFD Sender: No OFD packet to send [16:40:35]OFD Sender: No OFD packet to send [16:40:40]OFD Sender: No OFD packet to send [16:40:45]OFD Sender: No OFD packet to send [16:40:50]OFD Sender: No OFD packet to send [16:40:55]OFD Sender: No OFD packet to send [16:41:00]OFD Sender: No OFD packet to send [16:41:05]OFD Sender: No OFD packet to send [16:41:10]OFD Sender: No OFD packet to send [16:41:15]OFD Sender: No OFD packet to send [16:41:20]OFD Sender: No OFD packet to send [16:41:25]OFD Sender: No OFD packet to send [16:41:30]OFD Sender: No OFD packet to send [16:41:35]OFD Sender: No OFD packet to send [16:41:40]OFD Sender: No OFD packet to send [16:41:45]OFD Sender: No OFD packet to send [16:41:50]OFD Sender: No OFD packet to send [16:41:55]OFD Sender: No OFD packet to send [16:42:00]OFD Sender: No OFD packet to send [16:42:05]OFD Sender: No OFD packet to send [16:42:10]OFD Sender: No OFD packet to send [16:42:15]OFD Sender: No OFD packet to send [16:42:20]OFD Sender: No OFD packet to send [16:42:25]OFD Sender: No OFD packet to send [16:42:30]OFD Sender: No OFD packet to send [16:42:35]OFD Sender: No OFD packet to send [16:42:40]OFD Sender: No OFD packet to send [16:42:45]OFD Sender: No OFD packet to send [16:42:50]OFD Sender: No OFD packet to send [16:42:55]OFD Sender: No OFD packet to send [16:43:00]OFD Sender: No OFD packet to send [16:43:05]OFD Sender: No OFD packet to send [16:43:10]OFD Sender: No OFD packet to send [16:43:15]OFD Sender: No OFD packet to send [16:43:20]OFD Sender: No OFD packet to send [16:43:25]OFD Sender: No OFD packet to send [16:43:30]OFD Sender: No OFD packet to send [16:43:35]OFD Sender: No OFD packet to send [16:43:40]OFD Sender: No OFD packet to send [16:43:45]OFD Sender: No OFD packet to send [16:43:50]OFD Sender: No OFD packet to send [16:43:55]OFD Sender: No OFD packet to send [16:43:55]accept exits with 7 [16:43:55]New connection [16:43:55]New thread 3066936676 created [16:43:55]Thread 3066793316 joined [16:43:55]Waiting for new connection... [16:43:55] Sock 7.Parse request [16:43:55]Sock 7.Check first char [16:43:55]Sock 7.First char is OK [16:43:55]request: POST /json_proto HTTP/1.0 [16:43:55]Method: POST [16:43:55]URL: /json_proto [16:43:55]Method is POST - this is cgi request [16:43:55]url: /json_proto [16:43:55]query_string will be loaded in cgi processing [16:43:55]execute_cgi json_proto POST (null) [16:43:55]execute_cgi path=json_proto method=POST [16:43:55]POST find Content-Length [16:43:55]Host: 172.17.35.196:8080 [16:43:55]Content-Length: 874 [16:43:55]Content-Type: application/json [16:43:55] [16:43:55]POST finish read [16:43:55]Found Content-Length = 874 [16:43:55]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169121", "tax_sys" : 0, "items" : [ { "code": "4670003190051", "name": "\u0410\u043D\u0442\u0438\u0444\u0440\u0438\u0437 SIBIRIA ANTIFREEZE \u041E\u041640 \u043A\u0440\u0430\u0441 1\u043B", "price" : 225.00, "quantity" : 1.000, "sum" : 225.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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 225.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:43:55]execute_script... [16:43: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)169121", "tax_sys" : 0, "items" : [ { "code": "4670003190051", "name": "\u0410\u043D\u0442\u0438\u0444\u0440\u0438\u0437 SIBIRIA ANTIFREEZE \u041E\u041640 \u043A\u0440\u0430\u0441 1\u043B", "price" : 225.00, "quantity" : 1.000, "sum" : 225.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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 225.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:43:55]POST & json_proto [16:43:55]process_json_proto [16:43:55]json parsed OK: [16:43:55]protocol is kg_v1.0 [16:43:55]action value=close_receipt [16:43:55]process_action close_receipt [16:43:55]cmd_close_receipt [16:43:55]MH_GetDate [16:43:55]Write to MH i2c: F0 00 00 6C 05 60 [16:43:55]Write i2c OK [16:43:55]MH_I2C_Read... [16:43:55]Read from MH i2c: F0 [16:43:55]MH_I2C_Read... [16:43:55]Read from MH i2c: F0 09 00 [16:43:55]MH_I2C_Read... [16:43:55]Read from MH i2c: F0 09 00 6C 05 00 CC 0B 90 66 AD 14 F4 65 50 [16:43:55]GetLastDocTimeStamp 1720714261 [16:43:55]current date 1720716236 [16:43:55]FM_GetShiftState [16:43:55]SAM_PROTO_GetShiftState [16:43:55]wFMCommunicate request_size=4 [16:43:55]MH_SAM_APDU [16:43:55]CAPDU: 80 13 01 00 [16:43:55]Write to MH i2c: E2 08 00 6D 05 80 13 01 00 00 00 00 00 EF [16:43:55]Write i2c OK [16:43:55]MH_I2C_Read... [16:43:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:43:55]Read from MH i2c: E2 [16:43:55]MH_I2C_Read... [16:43:55]Read from MH i2c: E2 0E 00 [16:43:55]MH_I2C_Read... [16:43:55]Read from MH i2c: E2 0E 00 6D 05 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 20 [16:43:55]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [16:43:55]wFMCommunicate OK [16:43:55]SAM_PROTO_GetShiftState done [16:43:55]FM_GetShiftState done [16:43:55]opened in 1720656398 [16:43:55]opened+sec_in_day 1720742798 [16:43:55]quantity*price = 22500 [16:43:55]sum+1 = 22501 [16:43:55]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 225.00 НСП 1% : 1.99 НДС 12% : 23.89 Наличными: 0.00 Безнал.: 225.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 42 11.07.2024 16:43 Смена: 432 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000875104 ФД: 33287 ФПД: 157618782847009 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T164356&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33287&fm=157618782847009&tin=02508201610067®Number=0000000000093033&sum=22500 0 [16:43:56]StoreToDocumentArchive [16:43:56]shift 432 fd 33287 [16:43:56]save to /storage/0432/doc_00033287 [16:43:56]save last doc name /storage/0432/doc_00033287 to /storage/kkm_last_doc_name [16:43:56]save OK [16:43:56]Clear old archive folders... [16:43:57]ProcessDocumentItem done err = 0, tmpTLVsize=297 [16:43:57]tlvbuf is 01CAA940 [16:43:57]SAM_PROTO_ClearQueue [16:43:57]wFMCommunicate request_size=4 [16:43:57]MH_SAM_APDU [16:43:57]CAPDU: 80 09 00 00 [16:43:57]Write to MH i2c: E2 08 00 7A 05 80 09 00 00 00 00 00 00 F1 [16:43:57]Write i2c OK [16:43:57]MH_I2C_Read... [16:43:57]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:43:57]Read from MH i2c: E2 [16:43:57]MH_I2C_Read... [16:43:57]Read from MH i2c: E2 03 00 [16:43:57]MH_I2C_Read... [16:43:57]Read from MH i2c: E2 03 00 7A 05 00 90 00 F3 [16:43:57]RAPDU: 90 00 [16:43:57]wFMCommunicate OK [16:43:57]SAM_PROTO_ClearQueue done [16:43:57]KKMCreateOFDPacket [16:43:57]OFDProtocolAddRootSTLVToBuf [16:43:57]FM_MakeSignedData [16:43:57]FM_MakeSignedData [16:43:57]SAM_PROTO_SignData [16:43:57]wFMCommunicate request_size=4 [16:43:57]MH_SAM_APDU [16:43:57]CAPDU: 80 0D 01 02 [16:43:57]Write to MH i2c: E2 08 00 7B 05 80 0D 01 02 00 00 00 00 F9 [16:43:57]Write i2c OK [16:43:57]MH_I2C_Read... [16:43:57]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:43:57]Read from MH i2c: E2 [16:43:57]MH_I2C_Read... [16:43:57]Read from MH i2c: E2 03 00 [16:43:57]MH_I2C_Read... [16:43:57]Read from MH i2c: E2 03 00 7B 05 00 90 00 F4 [16:43:57]RAPDU: 90 00 [16:43:57]wFMCommunicate OK [16:43:57]wFMCommunicate request_size=255 [16:43:57]MH_SAM_APDU [16:43:57]CAPDU: 80 0D 02 02 FA 03 00 29 01 1E 04 01 00 01 23 04 7B 00 8A 04 0D 00 34 36 37 30 30 30 33 31 39 30 30 35 31 06 04 37 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 53 49 42 49 52 49 41 20 41 4E 54 49 46 52 45 45 5A 45 20 D0 9E D0 96 34 30 20 D0 BA D1 80 D0 B0 D1 81 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E4 57 00 00 00 00 13 04 06 00 E4 57 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 57 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 55 09 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E4 57 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 CC 0B 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 [16:43:57]Write to MH i2c: E2 02 01 7C 05 80 0D 02 02 FA 00 03 00 29 01 1E 04 01 00 01 23 04 7B 00 8A 04 0D 00 34 36 37 30 30 30 33 31 39 30 30 35 31 06 04 37 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 53 49 42 49 52 49 41 20 41 4E 54 49 46 52 45 45 5A 45 20 D0 9E D0 96 34 30 20 D0 BA D1 80 D0 B0 D1 81 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E4 57 00 00 00 00 13 04 06 00 E4 57 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 57 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 55 09 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E4 57 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 CC 0B 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 00 00 E1 [16:43:57]Write i2c OK [16:43:57]MH_I2C_Read... [16:43:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:43:57]Read from MH i2c: E2 [16:43:57]MH_I2C_Read... [16:43:57]Read from MH i2c: E2 03 00 [16:43:57]MH_I2C_Read... [16:43:57]Read from MH i2c: E2 03 00 7C 05 00 90 00 F5 [16:43:57]RAPDU: 90 00 [16:43:57]wFMCommunicate OK [16:43:57]wFMCommunicate request_size=56 [16:43:57]MH_SAM_APDU [16:43:57]CAPDU: 80 0D 02 02 33 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 07 82 00 00 35 04 06 00 8F 5A 7B 8F C0 21 [16:43:57]Write to MH i2c: E2 3B 00 7D 05 80 0D 02 02 33 00 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 07 82 00 00 35 04 06 00 8F 5A 7B 8F C0 21 00 00 D6 [16:43:57]Write i2c OK [16:43:57]MH_I2C_Read... [16:43:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:43:57]Read from MH i2c: E2 [16:43:57]MH_I2C_Read... [16:43:57]Read from MH i2c: E2 03 00 [16:43:57]MH_I2C_Read... [16:43:57]Read from MH i2c: E2 03 00 7D 05 00 90 00 F6 [16:43:57]RAPDU: 90 00 [16:43:57]wFMCommunicate OK [16:43:57]wFMCommunicate request_size=4 [16:43:57]MH_SAM_APDU [16:43:57]CAPDU: 80 0D 03 02 [16:43:57]Write to MH i2c: E2 08 00 7E 05 80 0D 03 02 00 00 00 00 FE [16:43:57]Write i2c OK [16:43:57]MH_I2C_Read... [16:43:57]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:43:57]Read from MH i2c: E2 [16:43:57]MH_I2C_Read... [16:43:57]Read from MH i2c: E2 0B 00 [16:43:57]MH_I2C_Read... [16:43:57]Read from MH i2c: E2 0B 00 7E 05 00 C6 78 92 1C 9E FA 9A F6 90 00 13 [16:43:57]RAPDU: C6 78 92 1C 9E FA 9A F6 90 00 [16:43:57]wFMCommunicate OK [16:43:57]SAM_PROTO_SignData done [16:43:57]FM_MakeSignedData done [16:43:57]CreateOFDProtocolMessage [16:43:57]wFMCommunicate request_size=4 [16:43:57]MH_SAM_APDU [16:43:57]CAPDU: 80 11 00 00 [16:43:57]Write to MH i2c: E2 08 00 7F 05 80 11 00 00 00 00 00 00 FE [16:43:57]Write i2c OK [16:43:57]MH_I2C_Read... [16:43:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:43:57]Read from MH i2c: E2 [16:43:57]MH_I2C_Read... [16:43:57]Read from MH i2c: E2 17 00 [16:43:57]MH_I2C_Read... [16:43:57]Read from MH i2c: E2 17 00 7F 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 4A [16:43:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [16:43:57]wFMCommunicate OK [16:43:57]CreateOFDProtocolMessage done [16:43:57]OFDSenderStorePacket 33287 [16:43:57]StoreOFDPacket docnum=33287 [16:43:57]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 3D 01 00 00 53 EA 35 01 76 7D 5A 03 01 00 03 00 29 01 1E 04 01 00 01 23 04 7B 00 8A 04 0D 00 34 36 37 30 30 30 33 31 39 30 30 35 31 06 04 37 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 53 49 42 49 52 49 41 20 41 4E 54 49 46 52 45 45 5A 45 20 D0 9E D0 96 34 30 20 D0 BA D1 80 D0 B0 D1 81 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E4 57 00 00 00 00 13 04 06 00 E4 57 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 57 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 55 09 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E4 57 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 CC 0B 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 07 82 00 00 35 04 06 00 8F 5A 7B 8F C0 21 C6 78 92 1C 9E FA 9A F6 [16:43:57]CheckFolder [16:43:57]dirname=/storage/ofd_packets [16:43:57]CheckFolder done [16:43:57]ProducePacketName [16:43:57]name=ofd_packets/00033287 [16:43:57]NVStorageSaveData ofd_packets/00033287 [16:43:57]File name is /storage/ofd_packets/00033287 [16:43:57]Write 347 bytes [16:43:57]NVStorageSaveData done [16:43:57]OFDSenderStorePacket done [16:43:57]KKMCreateOFDPacket done [16:43:57]NVStorageSaveData kkm_last_timestamp [16:43:57]File name is /storage/kkm_last_timestamp [16:43:57]Write 4 bytes [16:43:57]NVStorageSaveData done [16:43:57]ExternCall_PrintAddStr [16:43:57]wPrintStart [16:43:57]Write to MH i2c: 01 00 00 80 05 85 [16:43:57]Write i2c OK [16:43:57]MH_I2C_Read... [16:43:57]Read from MH i2c: 01 [16:43:57]MH_I2C_Read... [16:43:57]Read from MH i2c: 01 07 00 [16:43:57]MH_I2C_Read... [16:43:57]Read from MH i2c: 01 07 00 80 05 00 00 00 00 00 FF 0F 9A [16:43:57]RasterBufferAndPrint [16:43:57]line Счет N : (3)169121 [16:43:57]line ИНН: 02508201610067 [16:43:57]line Контрольно-Кассовый Чек [16:43:57]line ПРОДАЖА [16:43:57]line Товар: 4670003190051 [16:43:57]line Антифриз SIBIRIA ANTIFREEZE ОЖ40 крас 1л [16:43:57]line 1.000 * 225.00 [16:43:57]line = 225.00 [16:43:57]line НДС 12% НСП 1% [16:43:57]line > о реализуемом товаре [16:43:57]line ИТОГО: 225.00 [16:43:57]line НСП 1% : 1.99 [16:43:57]line НДС 12% : 23.89 [16:43:57]line Наличными: 0.00 [16:43:57]line Безнал.: 225.00 [16:43:57]line Место: АЗС № 77 "Партнер Нефть" [16:43:57]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [16:43:57]line СНО: Общий режим [16:43:57]line Чек 42 11.07.2024 16:43 [16:43:57]line Смена: 432 ФФД: 1.0 [16:43:57]line ЗНМ: 0300000122 [16:43:57]line РНМ: 0000000000093033 [16:43:57]line Версия ККМ: 001 [16:43:57]line Платежная система: АКБ Кыргызстан [16:43:57]line ФМ: 0000000000875104 [16:43:57]line ФД: 33287 [16:43:57]line ФПД: 157618782847009 [16:43:57]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T164356&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33287&fm=157618782847009&tin=02508201610067®Number=0000000000093033&sum=22500 [16:43:57]line 0 [16:43:57]OFD Sender: Processing packet 33287 [packets to send 6, broken 5] [16:43:57]ProducePacketName [16:43:57]name=ofd_packets/00033287 [16:43:57]OFD Sender: To server: pG, [16:43:57]CommunicateWithHost lk.salyk.kg:30040 [16:43:57]ConnectInit lk.salyk.kg [16:43:57]written 0, free lines is 4095 [16:43:58]Connected sock=10 [16:43:58]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 3D 01 00 00 53 EA 35 01 76 7D 5A 03 01 00 03 00 29 01 1E 04 01 00 01 23 04 7B 00 8A 04 0D 00 34 36 37 30 30 30 33 31 39 30 30 35 31 06 04 37 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 53 49 42 49 52 49 41 20 41 4E 54 49 46 52 45 45 5A 45 20 D0 9E D0 96 34 30 20 D0 BA D1 80 D0 B0 D1 81 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E4 57 00 00 00 00 13 04 06 00 E4 57 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 57 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 55 09 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E4 57 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 CC 0B 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 07 82 00 00 35 04 06 00 8F 5A 7B 8F C0 21 C6 78 92 1C 9E FA 9A F6 [16:43:58]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 F5 55 47 00 2D 40 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 35 31 30 34 10 04 04 00 07 82 00 00 F4 03 04 00 7C B6 8F 66 B6 04 01 00 00 53 E6 F8 15 91 81 69 46 [16:43:58]CommunicateWithHost err = 0 [16:43:58]CheckOFDResponse [16:43:58]1017 (14) - 77093643461234 [16:43:58]1041 (16) - 0000000000875104 [16:43:58]1040 (4) - 33287 [16:43:58]1012 (4) - 11.07.2024 10:39 [16:43:58]1206 (1) - 0 [16:43:58]OFD Sender: Remove packet 33287 [16:43:58]ProducePacketName [16:43:58]name=ofd_packets/00033287 [16:43:58]NVStorageDeleteData [16:43:58]Write to MH i2c: 01 00 00 AB 05 B0 [16:43:58]Write i2c OK [16:43:58]MH_I2C_Read... [16:43:58]Read from MH i2c: 01 [16:43:58]MH_I2C_Read... [16:43:58]Read from MH i2c: 01 07 00 [16:43:58]MH_I2C_Read... [16:43:58]Read from MH i2c: 01 07 00 AB 05 00 00 00 00 00 CF 0C 92 [16:43:58]RasterBufferAndPrint [16:43:58]line [16:43:58]line [16:43:58]line [16:43:58]line [16:43:58]line [16:43:58]written 0, free lines is 3287 [16:43:58]MH_Cut [16:43:58]Write to MH i2c: D1 01 00 B2 05 01 89 [16:43:58]Write i2c OK [16:43:58]MH_I2C_Read... [16:43:58]Read from MH i2c: D1 [16:43:58]MH_I2C_Read... [16:43:58]Read from MH i2c: D1 01 00 [16:43:58]MH_I2C_Read... [16:43:58]Read from MH i2c: D1 01 00 B2 05 00 88 [16:43:58]Write to MH i2c: 01 00 00 B3 05 B8 [16:43:58]Write i2c OK [16:43:58]MH_I2C_Read... [16:43:58]OFD Sender: No OFD packet to send [16:43:59]*** Cut start [16:43:59]*** Partial cut [16:43:59]*** CUTSNS_PIN = 1 [16:43:59]*** CUTSNS_PIN = 0 [16:43:59]*** Brake cut motor [16:43:59]Read from MH i2c: 01 [16:43:59]MH_I2C_Read... [16:43:59]*** Stop cut motor [16:43:59]*** Cut end [16:43:59]Read from MH i2c: 01 07 00 [16:43:59]MH_I2C_Read... [16:43:59]Read from MH i2c: 01 07 00 B3 05 00 00 00 00 00 FF 0F CD [16:43:59]process_action close_receipt done [16:43:59]requested_data is exist [16:43:59]produce_requested_data [16:43:59]requested_item fm.sn is exist - process it [16:43:59]wFMCommunicate request_size=4 [16:43:59]MH_SAM_APDU [16:43:59]CAPDU: 80 11 00 00 [16:43:59]Write to MH i2c: E2 08 00 B4 05 80 11 00 00 00 00 00 00 33 [16:43:59]Write i2c OK [16:43:59]MH_I2C_Read... [16:43:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:43:59]Read from MH i2c: E2 [16:43:59]MH_I2C_Read... [16:43:59]Read from MH i2c: E2 17 00 [16:43:59]MH_I2C_Read... [16:43:59]Read from MH i2c: E2 17 00 B4 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 7F [16:43:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [16:43:59]wFMCommunicate OK [16:43:59]requested_item fd.num is exist - process it [16:43:59]SAM_PROTO_GetFieldsCounters [16:43:59]wFMCommunicate request_size=4 [16:43:59]MH_SAM_APDU [16:43:59]CAPDU: 80 13 00 00 [16:43:59]Write to MH i2c: E2 08 00 B5 05 80 13 00 00 00 00 00 00 36 [16:43:59]Write i2c OK [16:43:59]MH_I2C_Read... [16:43:59]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:43:59]Read from MH i2c: E2 [16:43:59]MH_I2C_Read... [16:43:59]Read from MH i2c: E2 62 00 [16:43:59]MH_I2C_Read... [16:44:00]Read from MH i2c: E2 62 00 B5 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 07 82 00 00 0E 04 04 00 B0 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 01 [16:44: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 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 07 82 00 00 0E 04 04 00 B0 01 00 00 12 04 04 00 2A 00 00 00 5E 04 04 00 2A 00 00 00 57 04 04 00 2B 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:44:00]wFMCommunicate OK [16:44:00]SAM_PROTO_GetFieldsCounters done [16:44:00]requested_item shift.num is exist - process it [16:44:00]requested_item shift.opened is exist - process it [16:44:00]req_shift_opened [16:44:00]FM_GetShiftState [16:44:00]SAM_PROTO_GetShiftState [16:44:00]wFMCommunicate request_size=4 [16:44:00]MH_SAM_APDU [16:44:00]CAPDU: 80 13 01 00 [16:44:00]Write to MH i2c: E2 08 00 B6 05 80 13 01 00 00 00 00 00 38 [16:44:00]Write i2c OK [16:44:00]MH_I2C_Read... [16:44:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:44:00]Read from MH i2c: E2 [16:44:00]MH_I2C_Read... [16:44:00]Read from MH i2c: E2 0E 00 [16:44:00]MH_I2C_Read... [16:44:00]Read from MH i2c: E2 0E 00 B6 05 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 69 [16:44:00]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [16:44:00]wFMCommunicate OK [16:44:00]SAM_PROTO_GetShiftState done [16:44:00]FM_GetShiftState done [16:44:00]req_shift_opened done [16:44:00]requested_item shift.open_date is exist - process it [16:44:00]req_shift_open_date [16:44:00]req_shift_open_date done [16:44:00]produce_requested_data done [16:44:00]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33287,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398} [16:44:00]process_action_free close_receipt [16:44:00]json_value_free [16:44:00]json_value_free done [16:44:00]process_json_proto returns [16:44:00]Send response to host [16:44:00]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33287,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398}}} [16:44:00]free response buf [16:44:00]execute_script done [16:44:00]execute_script returns [16:44:00]free content buf [16:44:00]Sock 7.Close socket [16:44:00]Sock 7.Thread stoped [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:49]OFD Sender: No OFD packet to send [16:49:54]OFD Sender: No OFD packet to send [16:49:59]OFD Sender: No OFD packet to send [16:50:04]OFD Sender: No OFD packet to send [16:50:09]OFD Sender: No OFD packet to send [16:50:14]OFD Sender: No OFD packet to send [16:50:19]OFD Sender: No OFD packet to send [16:50:24]OFD Sender: No OFD packet to send [16:50:29]OFD Sender: No OFD packet to send [16:50:34]OFD Sender: No OFD packet to send [16:50:39]OFD Sender: No OFD packet to send [16:50:44]OFD Sender: No OFD packet to send [16:50:49]OFD Sender: No OFD packet to send [16:50:54]OFD Sender: No OFD packet to send [16:50:59]OFD Sender: No OFD packet to send [16:51:04]OFD Sender: No OFD packet to send [16:51:09]OFD Sender: No OFD packet to send [16:51:14]OFD Sender: No OFD packet to send [16:51:19]OFD Sender: No OFD packet to send [16:51:24]OFD Sender: No OFD packet to send [16:51:29]OFD Sender: No OFD packet to send [16:51:34]OFD Sender: No OFD packet to send [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:39]accept exits with 9 [16:53:39]New connection [16:53:39]New thread 3066793316 created [16:53:39]Thread 3066936676 joined [16:53:39]Waiting for new connection... [16:53:39] Sock 9.Parse request [16:53:39]Sock 9.Check first char [16:53:39]Sock 9.First char is OK [16:53:39]request: POST /json_proto HTTP/1.0 [16:53:39]Method: POST [16:53:39]URL: /json_proto [16:53:39]Method is POST - this is cgi request [16:53:39]url: /json_proto [16:53:39]query_string will be loaded in cgi processing [16:53:39]execute_cgi json_proto POST (null) [16:53:39]execute_cgi path=json_proto method=POST [16:53:39]POST find Content-Length [16:53:39]Host: 172.17.35.196:8080 [16:53:39]Content-Length: 665 [16:53:39]Content-Type: application/json [16:53:39] [16:53:39]POST finish read [16:53:39]Found Content-Length = 665 [16:53:39]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169122", "tax_sys" : 0, "items" : [ { "code": "46254931", "name": "\u0414\u0440\u0430\u0436\u0435 mentos \u0436\u0435\u0432 \u043C\u044F\u0442\u0430 \u0440\u043E\u043B\u043B 37\u0433", "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" ] } } [16:53:39]execute_script... [16:53: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)169122", "tax_sys" : 0, "items" : [ { "code": "46254931", "name": "\u0414\u0440\u0430\u0436\u0435 mentos \u0436\u0435\u0432 \u043C\u044F\u0442\u0430 \u0440\u043E\u043B\u043B 37\u0433", "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" ] } } [16:53:39]POST & json_proto [16:53:39]process_json_proto [16:53:39]json parsed OK: [16:53:39]protocol is kg_v1.0 [16:53:39]action value=close_receipt [16:53:39]process_action close_receipt [16:53:39]cmd_close_receipt [16:53:39]MH_GetDate [16:53:39]Write to MH i2c: F0 00 00 B7 05 AB [16:53:39]Write i2c OK [16:53:39]MH_I2C_Read... [16:53:39]Read from MH i2c: F0 [16:53:39]MH_I2C_Read... [16:53:39]Read from MH i2c: F0 09 00 [16:53:39]MH_I2C_Read... [16:53:39]Read from MH i2c: F0 09 00 B7 05 00 14 0E 90 66 AD 14 F4 65 E6 [16:53:39]GetLastDocTimeStamp 1720716236 [16:53:39]current date 1720716820 [16:53:39]FM_GetShiftState [16:53:39]SAM_PROTO_GetShiftState [16:53:39]wFMCommunicate request_size=4 [16:53:39]MH_SAM_APDU [16:53:39]CAPDU: 80 13 01 00 [16:53:39]Write to MH i2c: E2 08 00 B8 05 80 13 01 00 00 00 00 00 3A [16:53:39]Write i2c OK [16:53:39]MH_I2C_Read... [16:53:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:53:39]Read from MH i2c: E2 [16:53:39]MH_I2C_Read... [16:53:39]Read from MH i2c: E2 0E 00 [16:53:39]MH_I2C_Read... [16:53:39]Read from MH i2c: E2 0E 00 B8 05 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 6B [16:53:39]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [16:53:39]wFMCommunicate OK [16:53:39]SAM_PROTO_GetShiftState done [16:53:39]FM_GetShiftState done [16:53:39]opened in 1720656398 [16:53:39]opened+sec_in_day 1720742798 [16:53:39]quantity*price = 7500 [16:53:39]sum+1 = 7501 [16:53:39]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 75.00 НСП 1% : 0.66 НДС 12% : 7.96 Наличными: 75.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 43 11.07.2024 16:53 Смена: 432 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33288 ФПД: 239059962814777 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T165340&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33288&fm=239059962814777&tin=02508201610067®Number=0000000000093033&sum=7500 0 [16:53:40]StoreToDocumentArchive [16:53:40]shift 432 fd 33288 [16:53:40]save to /storage/0432/doc_00033288 [16:53:40]save last doc name /storage/0432/doc_00033288 to /storage/kkm_last_doc_name [16:53:40]save OK [16:53:40]Clear old archive folders... [16:53:40]ProcessDocumentItem done err = 0, tmpTLVsize=284 [16:53:40]tlvbuf is 01CA67A0 [16:53:40]SAM_PROTO_ClearQueue [16:53:40]wFMCommunicate request_size=4 [16:53:40]MH_SAM_APDU [16:53:40]CAPDU: 80 09 00 00 [16:53:40]Write to MH i2c: E2 08 00 C5 05 80 09 00 00 00 00 00 00 3C [16:53:40]Write i2c OK [16:53:40]MH_I2C_Read... [16:53:40]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:53:40]Read from MH i2c: E2 [16:53:40]MH_I2C_Read... [16:53:40]Read from MH i2c: E2 03 00 [16:53:40]MH_I2C_Read... [16:53:40]Read from MH i2c: E2 03 00 C5 05 00 90 00 3E [16:53:40]RAPDU: 90 00 [16:53:40]wFMCommunicate OK [16:53:40]SAM_PROTO_ClearQueue done [16:53:40]KKMCreateOFDPacket [16:53:40]OFDProtocolAddRootSTLVToBuf [16:53:40]FM_MakeSignedData [16:53:40]FM_MakeSignedData [16:53:40]SAM_PROTO_SignData [16:53:40]wFMCommunicate request_size=4 [16:53:40]MH_SAM_APDU [16:53:40]CAPDU: 80 0D 01 02 [16:53:40]Write to MH i2c: E2 08 00 C6 05 80 0D 01 02 00 00 00 00 44 [16:53:41]Write i2c OK [16:53:41]MH_I2C_Read... [16:53:41]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:53:41]Read from MH i2c: E2 [16:53:41]MH_I2C_Read... [16:53:41]Read from MH i2c: E2 03 00 [16:53:41]MH_I2C_Read... [16:53:41]Read from MH i2c: E2 03 00 C6 05 00 90 00 3F [16:53:41]RAPDU: 90 00 [16:53:41]wFMCommunicate OK [16:53:41]wFMCommunicate request_size=255 [16:53:41]MH_SAM_APDU [16:53:41]CAPDU: 80 0D 02 02 FA 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 08 00 34 36 32 35 34 39 33 31 06 04 2F 00 D0 94 D1 80 D0 B0 D0 B6 D0 B5 20 6D 65 6E 74 6F 73 20 D0 B6 D0 B5 D0 B2 20 D0 BC D1 8F D1 82 D0 B0 20 D1 80 D0 BE D0 BB D0 BB 20 33 37 D0 B3 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 2B 00 00 00 F4 03 04 00 14 0E 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 [16:53:41]Write to MH i2c: E2 02 01 C7 05 80 0D 02 02 FA 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 08 00 34 36 32 35 34 39 33 31 06 04 2F 00 D0 94 D1 80 D0 B0 D0 B6 D0 B5 20 6D 65 6E 74 6F 73 20 D0 B6 D0 B5 D0 B2 20 D0 BC D1 8F D1 82 D0 B0 20 D1 80 D0 BE D0 BB D0 BB 20 33 37 D0 B3 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 2B 00 00 00 F4 03 04 00 14 0E 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 00 00 CB [16:53:41]Write i2c OK [16:53:41]MH_I2C_Read... [16:53:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:53:41]Read from MH i2c: E2 [16:53:41]MH_I2C_Read... [16:53:41]Read from MH i2c: E2 03 00 [16:53:41]MH_I2C_Read... [16:53:41]Read from MH i2c: E2 03 00 C7 05 00 90 00 40 [16:53:41]RAPDU: 90 00 [16:53:41]wFMCommunicate OK [16:53:41]wFMCommunicate request_size=43 [16:53:41]MH_SAM_APDU [16:53:41]CAPDU: 80 0D 02 02 26 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 08 82 00 00 35 04 06 00 D9 6C 7C 29 E1 39 [16:53:41]Write to MH i2c: E2 2E 00 C8 05 80 0D 02 02 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 08 82 00 00 35 04 06 00 D9 6C 7C 29 E1 39 00 00 B6 [16:53:41]Write i2c OK [16:53:41]MH_I2C_Read... [16:53:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:53:41]Read from MH i2c: E2 [16:53:41]MH_I2C_Read... [16:53:41]Read from MH i2c: E2 03 00 [16:53:41]MH_I2C_Read... [16:53:41]Read from MH i2c: E2 03 00 C8 05 00 90 00 41 [16:53:41]RAPDU: 90 00 [16:53:41]wFMCommunicate OK [16:53:41]wFMCommunicate request_size=4 [16:53:41]MH_SAM_APDU [16:53:41]CAPDU: 80 0D 03 02 [16:53:41]Write to MH i2c: E2 08 00 C9 05 80 0D 03 02 00 00 00 00 49 [16:53:41]Write i2c OK [16:53:41]MH_I2C_Read... [16:53:41]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:53:41]Read from MH i2c: E2 [16:53:41]MH_I2C_Read... [16:53:41]Read from MH i2c: E2 0B 00 [16:53:41]MH_I2C_Read... [16:53:41]Read from MH i2c: E2 0B 00 C9 05 00 16 7F 1A 71 6F D4 5A E6 90 00 ED [16:53:41]RAPDU: 16 7F 1A 71 6F D4 5A E6 90 00 [16:53:41]wFMCommunicate OK [16:53:41]SAM_PROTO_SignData done [16:53:41]FM_MakeSignedData done [16:53:41]CreateOFDProtocolMessage [16:53:41]wFMCommunicate request_size=4 [16:53:41]MH_SAM_APDU [16:53:41]CAPDU: 80 11 00 00 [16:53:41]Write to MH i2c: E2 08 00 CA 05 80 11 00 00 00 00 00 00 49 [16:53:41]Write i2c OK [16:53:41]MH_I2C_Read... [16:53:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:53:41]Read from MH i2c: E2 [16:53:41]MH_I2C_Read... [16:53:41]Read from MH i2c: E2 17 00 [16:53:41]MH_I2C_Read... [16:53:41]Read from MH i2c: E2 17 00 CA 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 95 [16:53:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [16:53:41]wFMCommunicate OK [16:53:41]CreateOFDProtocolMessage done [16:53:41]OFDSenderStorePacket 33288 [16:53:41]StoreOFDPacket docnum=33288 [16:53:41]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 30 01 00 00 E3 1A 28 01 74 06 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 08 00 34 36 32 35 34 39 33 31 06 04 2F 00 D0 94 D1 80 D0 B0 D0 B6 D0 B5 20 6D 65 6E 74 6F 73 20 D0 B6 D0 B5 D0 B2 20 D0 BC D1 8F D1 82 D0 B0 20 D1 80 D0 BE D0 BB D0 BB 20 33 37 D0 B3 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 2B 00 00 00 F4 03 04 00 14 0E 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 08 82 00 00 35 04 06 00 D9 6C 7C 29 E1 39 16 7F 1A 71 6F D4 5A E6 [16:53:41]CheckFolder [16:53:41]dirname=/storage/ofd_packets [16:53:41]CheckFolder done [16:53:41]ProducePacketName [16:53:41]name=ofd_packets/00033288 [16:53:41]NVStorageSaveData ofd_packets/00033288 [16:53:41]File name is /storage/ofd_packets/00033288 [16:53:41]Write 334 bytes [16:53:41]NVStorageSaveData done [16:53:41]OFDSenderStorePacket done [16:53:41]KKMCreateOFDPacket done [16:53:41]NVStorageSaveData kkm_last_timestamp [16:53:41]File name is /storage/kkm_last_timestamp [16:53:41]Write 4 bytes [16:53:41]NVStorageSaveData done [16:53:41]ExternCall_PrintAddStr [16:53:41]wPrintStart [16:53:41]Write to MH i2c: 01 00 00 CB 05 D0 [16:53:41]Write i2c OK [16:53:41]MH_I2C_Read... [16:53:41]Read from MH i2c: 01 [16:53:41]MH_I2C_Read... [16:53:41]Read from MH i2c: 01 07 00 [16:53:41]MH_I2C_Read... [16:53:41]Read from MH i2c: 01 07 00 CB 05 00 00 00 00 00 FF 0F E5 [16:53:41]RasterBufferAndPrint [16:53:41]line Счет N : (3)169122 [16:53:41]line ИНН: 02508201610067 [16:53:41]line Контрольно-Кассовый Чек [16:53:41]line ПРОДАЖА [16:53:41]line Товар: 46254931 [16:53:41]line Драже mentos жев мята ролл 37г [16:53:41]line 1.000 * 75.00 [16:53:41]line = 75.00 [16:53:41]line НДС 12% НСП 1% [16:53:41]line > о реализуемом товаре [16:53:41]line ИТОГО: 75.00 [16:53:41]line НСП 1% : 0.66 [16:53:41]line НДС 12% : 7.96 [16:53:41]line Наличными: 75.00 [16:53:41]line Безнал.: 0.00 [16:53:41]line Место: АЗС № 77 "Партнер Нефть" [16:53:41]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [16:53:41]line СНО: Общий режим [16:53:41]line Чек 43 11.07.2024 16:53 [16:53:41]line Смена: 432 ФФД: 1.0 [16:53:41]line ЗНМ: 0300000122 [16:53:41]line РНМ: 0000000000093033 [16:53:41]line Версия ККМ: 001 [16:53:41]line ФМ: 0000000000875104 [16:53:41]line ФД: 33288 [16:53:41]line ФПД: 239059962814777 [16:53:41]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T165340&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33288&fm=239059962814777&tin=02508201610067®Number=0000000000093033&sum=7500 [16:53:41]line 0 [16:53:41]written 0, free lines is 4095 [16:53:41]OFD Sender: Processing packet 33288 [packets to send 6, broken 5] [16:53:41]ProducePacketName [16:53:41]name=ofd_packets/00033288 [16:53:41]OFD Sender: To server: pG, [16:53:41]CommunicateWithHost lk.salyk.kg:30040 [16:53:41]ConnectInit lk.salyk.kg [16:53:41]Connected sock=10 [16:53:41]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 30 01 00 00 E3 1A 28 01 74 06 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 08 00 34 36 32 35 34 39 33 31 06 04 2F 00 D0 94 D1 80 D0 B0 D0 B6 D0 B5 20 6D 65 6E 74 6F 73 20 D0 B6 D0 B5 D0 B2 20 D0 BC D1 8F D1 82 D0 B0 20 D1 80 D0 BE D0 BB D0 BB 20 33 37 D0 B3 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 2B 00 00 00 F4 03 04 00 14 0E 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 08 82 00 00 35 04 06 00 D9 6C 7C 29 E1 39 16 7F 1A 71 6F D4 5A E6 [16:53:41]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 29 19 47 00 BB D8 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 35 31 30 34 10 04 04 00 08 82 00 00 F4 03 04 00 C4 B8 8F 66 B6 04 01 00 00 1F 5D 0C 4F 8F F5 D2 23 [16:53:41]CommunicateWithHost err = 0 [16:53:41]CheckOFDResponse [16:53:41]1017 (14) - 77093643461234 [16:53:41]1041 (16) - 0000000000875104 [16:53:41]1040 (4) - 33288 [16:53:41]1012 (4) - 11.07.2024 10:49 [16:53:41]1206 (1) - 0 [16:53:41]OFD Sender: Remove packet 33288 [16:53:41]ProducePacketName [16:53:41]name=ofd_packets/00033288 [16:53:41]NVStorageDeleteData [16:53:41]Write to MH i2c: 01 00 00 F4 05 F9 [16:53:41]Write i2c OK [16:53:41]MH_I2C_Read... [16:53:41]Read from MH i2c: 01 [16:53:41]MH_I2C_Read... [16:53:41]Read from MH i2c: 01 07 00 [16:53:41]MH_I2C_Read... [16:53:41]Read from MH i2c: 01 07 00 F4 05 00 00 00 00 00 CF 0C DB [16:53:41]RasterBufferAndPrint [16:53:41]line [16:53:41]line [16:53:41]line [16:53:41]line [16:53:41]line [16:53:41]written 0, free lines is 3285 [16:53:41]MH_Cut [16:53:41]Write to MH i2c: D1 01 00 FB 05 01 D2 [16:53:41]Write i2c OK [16:53:41]MH_I2C_Read... [16:53:41]Read from MH i2c: D1 [16:53:41]MH_I2C_Read... [16:53:41]Read from MH i2c: D1 01 00 [16:53:41]MH_I2C_Read... [16:53:41]Read from MH i2c: D1 01 00 FB 05 00 D1 [16:53:41]Write to MH i2c: 01 00 00 FC 05 01 [16:53:41]Write i2c OK [16:53:41]MH_I2C_Read... [16:53:42]OFD Sender: No OFD packet to send [16:53:42]*** Cut start [16:53:42]*** Partial cut [16:53:42]*** CUTSNS_PIN = 1 [16:53:42]*** CUTSNS_PIN = 0 [16:53:42]*** Brake cut motor [16:53:43]Read from MH i2c: 01 [16:53:43]MH_I2C_Read... [16:53:43]*** Stop cut motor [16:53:43]*** Cut end [16:53:43]Read from MH i2c: 01 07 00 [16:53:43]MH_I2C_Read... [16:53:43]Read from MH i2c: 01 07 00 FC 05 00 00 00 00 00 FF 0F 16 [16:53:43]process_action close_receipt done [16:53:43]requested_data is exist [16:53:43]produce_requested_data [16:53:43]requested_item fm.sn is exist - process it [16:53:43]wFMCommunicate request_size=4 [16:53:43]MH_SAM_APDU [16:53:43]CAPDU: 80 11 00 00 [16:53:43]Write to MH i2c: E2 08 00 FD 05 80 11 00 00 00 00 00 00 7C [16:53:43]Write i2c OK [16:53:43]MH_I2C_Read... [16:53:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:53:43]Read from MH i2c: E2 [16:53:43]MH_I2C_Read... [16:53:43]Read from MH i2c: E2 17 00 [16:53:43]MH_I2C_Read... [16:53:43]Read from MH i2c: E2 17 00 FD 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 C8 [16:53:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [16:53:43]wFMCommunicate OK [16:53:43]requested_item fd.num is exist - process it [16:53:43]SAM_PROTO_GetFieldsCounters [16:53:43]wFMCommunicate request_size=4 [16:53:43]MH_SAM_APDU [16:53:43]CAPDU: 80 13 00 00 [16:53:43]Write to MH i2c: E2 08 00 FE 05 80 13 00 00 00 00 00 00 7F [16:53:43]Write i2c OK [16:53:43]MH_I2C_Read... [16:53:43]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:53:43]Read from MH i2c: E2 [16:53:43]MH_I2C_Read... [16:53:43]Read from MH i2c: E2 62 00 [16:53:43]MH_I2C_Read... [16:53:43]Read from MH i2c: E2 62 00 FE 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 08 82 00 00 0E 04 04 00 B0 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 4E [16:53: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 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 08 82 00 00 0E 04 04 00 B0 01 00 00 12 04 04 00 2B 00 00 00 5E 04 04 00 2B 00 00 00 57 04 04 00 2C 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:53:43]wFMCommunicate OK [16:53:43]SAM_PROTO_GetFieldsCounters done [16:53:43]requested_item shift.num is exist - process it [16:53:43]requested_item shift.opened is exist - process it [16:53:43]req_shift_opened [16:53:43]FM_GetShiftState [16:53:43]SAM_PROTO_GetShiftState [16:53:43]wFMCommunicate request_size=4 [16:53:43]MH_SAM_APDU [16:53:43]CAPDU: 80 13 01 00 [16:53:43]Write to MH i2c: E2 08 00 FF 05 80 13 01 00 00 00 00 00 81 [16:53:43]Write i2c OK [16:53:43]MH_I2C_Read... [16:53:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:53:43]Read from MH i2c: E2 [16:53:43]MH_I2C_Read... [16:53:43]Read from MH i2c: E2 0E 00 [16:53:43]MH_I2C_Read... [16:53:43]Read from MH i2c: E2 0E 00 FF 05 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 B2 [16:53:43]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [16:53:43]wFMCommunicate OK [16:53:43]SAM_PROTO_GetShiftState done [16:53:43]FM_GetShiftState done [16:53:43]req_shift_opened done [16:53:43]requested_item shift.open_date is exist - process it [16:53:43]req_shift_open_date [16:53:43]req_shift_open_date done [16:53:43]produce_requested_data done [16:53:43]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33288,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398} [16:53:43]process_action_free close_receipt [16:53:43]json_value_free [16:53:43]json_value_free done [16:53:43]process_json_proto returns [16:53:43]Send response to host [16:53:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33288,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398}}} [16:53:43]free response buf [16:53:43]execute_script done [16:53:43]execute_script returns [16:53:43]free content buf [16:53:43]Sock 9.Close socket [16:53:43]Sock 9.Thread stoped [16:53:47]OFD Sender: No OFD packet to send [16:53:52]OFD Sender: No OFD packet to send [16:53:57]OFD Sender: No OFD packet to send [16:54:02]OFD Sender: No OFD packet to send [16:54:07]OFD Sender: No OFD packet to send [16:54:12]OFD Sender: No OFD packet to send [16:54:17]OFD Sender: No OFD packet to send [16:54:22]OFD Sender: No OFD packet to send [16:54:27]OFD Sender: No OFD packet to send [16:54:32]OFD Sender: No OFD packet to send [16:54:37]OFD Sender: No OFD packet to send [16:54:42]OFD Sender: No OFD packet to send [16:54:47]OFD Sender: No OFD packet to send [16:54:52]OFD Sender: No OFD packet to send [16:54:53]accept exits with 7 [16:54:53]New connection [16:54:53]New thread 3066936676 created [16:54:53]Thread 3066793316 joined [16:54:53]Waiting for new connection... [16:54:53] Sock 7.Parse request [16:54:53]Sock 7.Check first char [16:54:53]Sock 7.First char is OK [16:54:53]request: POST /json_proto HTTP/1.0 [16:54:53]Method: POST [16:54:53]URL: /json_proto [16:54:53]Method is POST - this is cgi request [16:54:53]url: /json_proto [16:54:53]query_string will be loaded in cgi processing [16:54:53]execute_cgi json_proto POST (null) [16:54:53]execute_cgi path=json_proto method=POST [16:54:53]POST find Content-Length [16:54:53]Host: 172.17.35.196:8080 [16:54:53]Content-Length: 841 [16:54:53]Content-Type: application/json [16:54:53] [16:54:53]POST finish read [16:54:53]Found Content-Length = 841 [16:54:53]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)5669731", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 14", "code": "2710194210", "name": "\u0414\u0422-\u041A-4", "price" : 72.60, "quantity" : 20.000, "sum" : 1452.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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 1452.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:54:53]execute_script... [16:54:53]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)5669731", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 14", "code": "2710194210", "name": "\u0414\u0422-\u041A-4", "price" : 72.60, "quantity" : 20.000, "sum" : 1452.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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 1452.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:54:53]POST & json_proto [16:54:53]process_json_proto [16:54:53]json parsed OK: [16:54:53]protocol is kg_v1.0 [16:54:53]action value=close_receipt [16:54:53]process_action close_receipt [16:54:53]cmd_close_receipt [16:54:53]MH_GetDate [16:54:53]Write to MH i2c: F0 00 00 00 06 F5 [16:54:53]Write i2c OK [16:54:53]MH_I2C_Read... [16:54:53]Read from MH i2c: F0 [16:54:53]MH_I2C_Read... [16:54:53]Read from MH i2c: F0 09 00 [16:54:53]MH_I2C_Read... [16:54:53]Read from MH i2c: F0 09 00 00 06 00 5E 0E 90 66 AD 14 F4 65 7A [16:54:53]GetLastDocTimeStamp 1720716820 [16:54:53]current date 1720716894 [16:54:53]FM_GetShiftState [16:54:53]SAM_PROTO_GetShiftState [16:54:53]wFMCommunicate request_size=4 [16:54:53]MH_SAM_APDU [16:54:53]CAPDU: 80 13 01 00 [16:54:53]Write to MH i2c: E2 08 00 01 06 80 13 01 00 00 00 00 00 84 [16:54:53]Write i2c OK [16:54:53]MH_I2C_Read... [16:54:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:54:53]Read from MH i2c: E2 [16:54:53]MH_I2C_Read... [16:54:53]Read from MH i2c: E2 0E 00 [16:54:53]MH_I2C_Read... [16:54:53]Read from MH i2c: E2 0E 00 01 06 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 B5 [16:54:53]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [16:54:53]wFMCommunicate OK [16:54:53]SAM_PROTO_GetShiftState done [16:54:53]FM_GetShiftState done [16:54:53]opened in 1720656398 [16:54:53]opened+sec_in_day 1720742798 [16:54:53]quantity*price = 145200 [16:54:53]sum+1 = 145201 [16:54:53]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 1452.00 НСП 1% : 12.85 НДС 12% : 154.19 Наличными: 0.00 Безнал.: 1452.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 44 11.07.2024 16:54 Смена: 432 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000875104 ФД: 33289 ФПД: 133335456176527 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T165454&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33289&fm=133335456176527&tin=02508201610067®Number=0000000000093033&sum=145200 [16:54:54]StoreToDocumentArchive [16:54:54]shift 432 fd 33289 [16:54:54]save to /storage/0432/doc_00033289 [16:54:54]save last doc name /storage/0432/doc_00033289 to /storage/kkm_last_doc_name [16:54:54]save OK [16:54:54]Clear old archive folders... [16:54:54]ProcessDocumentItem done err = 0, tmpTLVsize=248 [16:54:54]tlvbuf is 01CB9850 [16:54:54]SAM_PROTO_ClearQueue [16:54:54]wFMCommunicate request_size=4 [16:54:54]MH_SAM_APDU [16:54:54]CAPDU: 80 09 00 00 [16:54:54]Write to MH i2c: E2 08 00 0E 06 80 09 00 00 00 00 00 00 86 [16:54:54]Write i2c OK [16:54:54]MH_I2C_Read... [16:54:54]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:54:54]Read from MH i2c: E2 [16:54:54]MH_I2C_Read... [16:54:54]Read from MH i2c: E2 03 00 [16:54:54]MH_I2C_Read... [16:54:54]Read from MH i2c: E2 03 00 0E 06 00 90 00 88 [16:54:54]RAPDU: 90 00 [16:54:54]wFMCommunicate OK [16:54:54]SAM_PROTO_ClearQueue done [16:54:54]KKMCreateOFDPacket [16:54:54]OFDProtocolAddRootSTLVToBuf [16:54:54]FM_MakeSignedData [16:54:54]FM_MakeSignedData [16:54:54]SAM_PROTO_SignData [16:54:54]wFMCommunicate request_size=4 [16:54:54]MH_SAM_APDU [16:54:54]CAPDU: 80 0D 01 02 [16:54:54]Write to MH i2c: E2 08 00 0F 06 80 0D 01 02 00 00 00 00 8E [16:54:54]Write i2c OK [16:54:54]MH_I2C_Read... [16:54:54]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:54:54]Read from MH i2c: E2 [16:54:54]MH_I2C_Read... [16:54:54]Read from MH i2c: E2 03 00 [16:54:54]MH_I2C_Read... [16:54:54]Read from MH i2c: E2 03 00 0F 06 00 90 00 89 [16:54:54]RAPDU: 90 00 [16:54:54]wFMCommunicate OK [16:54:54]wFMCommunicate request_size=255 [16:54:54]MH_SAM_APDU [16:54:54]CAPDU: 80 0D 02 02 FA 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 34 FF 03 08 00 03 20 4E 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 30 37 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 37 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 05 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3B 3C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 30 37 02 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 5E 0E 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 09 82 00 00 35 04 06 00 79 44 94 80 [16:54:54]Write to MH i2c: E2 02 01 10 06 80 0D 02 02 FA 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 34 FF 03 08 00 03 20 4E 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 30 37 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 37 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 05 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3B 3C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 30 37 02 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 5E 0E 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 09 82 00 00 35 04 06 00 79 44 94 80 00 00 19 [16:54:54]Write i2c OK [16:54:54]MH_I2C_Read... [16:54:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:54:54]Read from MH i2c: E2 [16:54:54]MH_I2C_Read... [16:54:54]Read from MH i2c: E2 03 00 [16:54:54]MH_I2C_Read... [16:54:54]Read from MH i2c: E2 03 00 10 06 00 90 00 8A [16:54:54]RAPDU: 90 00 [16:54:54]wFMCommunicate OK [16:54:54]wFMCommunicate request_size=7 [16:54:54]MH_SAM_APDU [16:54:54]CAPDU: 80 0D 02 02 02 59 8F [16:54:54]Write to MH i2c: E2 0A 00 11 06 80 0D 02 02 02 00 59 8F 00 00 7D [16:54:54]Write i2c OK [16:54:54]MH_I2C_Read... [16:54:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:54:54]Read from MH i2c: E2 [16:54:54]MH_I2C_Read... [16:54:54]Read from MH i2c: E2 03 00 [16:54:54]MH_I2C_Read... [16:54:54]Read from MH i2c: E2 03 00 11 06 00 90 00 8B [16:54:54]RAPDU: 90 00 [16:54:54]wFMCommunicate OK [16:54:54]wFMCommunicate request_size=4 [16:54:54]MH_SAM_APDU [16:54:54]CAPDU: 80 0D 03 02 [16:54:54]Write to MH i2c: E2 08 00 12 06 80 0D 03 02 00 00 00 00 93 [16:54:54]Write i2c OK [16:54:54]MH_I2C_Read... [16:54:55]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:54:55]Read from MH i2c: E2 [16:54:55]MH_I2C_Read... [16:54:55]Read from MH i2c: E2 0B 00 [16:54:55]MH_I2C_Read... [16:54:55]Read from MH i2c: E2 0B 00 12 06 00 DF 1F 6B E0 19 07 E2 4E 90 00 2D [16:54:55]RAPDU: DF 1F 6B E0 19 07 E2 4E 90 00 [16:54:55]wFMCommunicate OK [16:54:55]SAM_PROTO_SignData done [16:54:55]FM_MakeSignedData done [16:54:55]CreateOFDProtocolMessage [16:54:55]wFMCommunicate request_size=4 [16:54:55]MH_SAM_APDU [16:54:55]CAPDU: 80 11 00 00 [16:54:55]Write to MH i2c: E2 08 00 13 06 80 11 00 00 00 00 00 00 93 [16:54:55]Write i2c OK [16:54:55]MH_I2C_Read... [16:54:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:54:55]Read from MH i2c: E2 [16:54:55]MH_I2C_Read... [16:54:55]Read from MH i2c: E2 17 00 [16:54:55]MH_I2C_Read... [16:54:55]Read from MH i2c: E2 17 00 13 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 DF [16:54:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [16:54:55]wFMCommunicate OK [16:54:55]CreateOFDProtocolMessage done [16:54:55]OFDSenderStorePacket 33289 [16:54:55]StoreOFDPacket docnum=33289 [16:54:55]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0C 01 00 00 C9 84 04 01 DD 3B 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 34 FF 03 08 00 03 20 4E 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 30 37 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 37 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 05 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3B 3C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 30 37 02 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 5E 0E 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 09 82 00 00 35 04 06 00 79 44 94 80 59 8F DF 1F 6B E0 19 07 E2 4E [16:54:55]CheckFolder [16:54:55]dirname=/storage/ofd_packets [16:54:55]CheckFolder done [16:54:55]ProducePacketName [16:54:55]name=ofd_packets/00033289 [16:54:55]NVStorageSaveData ofd_packets/00033289 [16:54:55]File name is /storage/ofd_packets/00033289 [16:54:55]Write 298 bytes [16:54:55]NVStorageSaveData done [16:54:55]OFDSenderStorePacket done [16:54:55]KKMCreateOFDPacket done [16:54:55]NVStorageSaveData kkm_last_timestamp [16:54:55]File name is /storage/kkm_last_timestamp [16:54:55]Write 4 bytes [16:54:55]NVStorageSaveData done [16:54:55]ExternCall_PrintAddStr [16:54:55]wPrintStart [16:54:55]Write to MH i2c: 01 00 00 14 06 1A [16:54:55]Write i2c OK [16:54:55]MH_I2C_Read... [16:54:55]Read from MH i2c: 01 [16:54:55]MH_I2C_Read... [16:54:55]Read from MH i2c: 01 07 00 [16:54:55]MH_I2C_Read... [16:54:55]Read from MH i2c: 01 07 00 14 06 00 00 00 00 00 FF 0F 2F [16:54:55]RasterBufferAndPrint [16:54:55]line Счет N : (1)5669731 [16:54:55]line ИНН: 02508201610067 [16:54:55]line Контрольно-Кассовый Чек [16:54:55]line ПРОДАЖА [16:54:55]line ТРК (МРК, ГНК) : 14 [16:54:55]line Товар: 2710194210 [16:54:55]line ДТ-К-4 [16:54:55]line 20.000 * 72.60 [16:54:55]line = 1452.00 [16:54:55]line НДС 12% НСП 1% [16:54:55]line > о реализуемом товаре [16:54:55]line ИТОГО: 1452.00 [16:54:55]line НСП 1% : 12.85 [16:54:55]line НДС 12% : 154.19 [16:54:55]line Наличными: 0.00 [16:54:55]line Безнал.: 1452.00 [16:54:55]line Место: АЗС № 77 "Партнер Нефть" [16:54:55]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [16:54:55]line СНО: Общий режим [16:54:55]line Чек 44 11.07.2024 16:54 [16:54:55]line Смена: 432 ФФД: 1.0 [16:54:55]line ЗНМ: 0300000122 [16:54:55]line РНМ: 0000000000093033 [16:54:55]line Версия ККМ: 001 [16:54:55]line Платежная система: АКБ Кыргызстан [16:54:55]line ФМ: 0000000000875104 [16:54:55]line ФД: 33289 [16:54:55]line ФПД: 133335456176527 [16:54:55]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T165454&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33289&fm=133335456176527&tin=02508201610067®Number=0000000000093033&sum=145200 [16:54:55]OFD Sender: Processing packet 33289 [packets to send 6, broken 5] [16:54:55]ProducePacketName [16:54:55]name=ofd_packets/00033289 [16:54:55]OFD Sender: To server: pG, [16:54:55]CommunicateWithHost lk.salyk.kg:30040 [16:54:55]ConnectInit lk.salyk.kg [16:54:55]written 0, free lines is 4095 [16:54:55]Connected sock=10 [16:54:55]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0C 01 00 00 C9 84 04 01 DD 3B 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 34 FF 03 08 00 03 20 4E 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 30 37 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 37 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 05 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3B 3C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 30 37 02 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 5E 0E 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 09 82 00 00 35 04 06 00 79 44 94 80 59 8F DF 1F 6B E0 19 07 E2 4E [16:54:55]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 96 FA 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 35 31 30 34 10 04 04 00 09 82 00 00 F4 03 04 00 0E B9 8F 66 B6 04 01 00 00 88 BC 49 7A 69 9B FD EF [16:54:55]CommunicateWithHost err = 0 [16:54:55]CheckOFDResponse [16:54:55]1017 (14) - 77093643461234 [16:54:55]1041 (16) - 0000000000875104 [16:54:55]1040 (4) - 33289 [16:54:55]1012 (4) - 11.07.2024 10:50 [16:54:55]1206 (1) - 0 [16:54:55]OFD Sender: Remove packet 33289 [16:54:55]ProducePacketName [16:54:55]name=ofd_packets/00033289 [16:54:55]NVStorageDeleteData [16:54:55]Write to MH i2c: 01 00 00 3E 06 44 [16:54:55]Write i2c OK [16:54:55]MH_I2C_Read... [16:54:55]Read from MH i2c: 01 [16:54:55]MH_I2C_Read... [16:54:55]Read from MH i2c: 01 07 00 [16:54:55]MH_I2C_Read... [16:54:55]Read from MH i2c: 01 07 00 3E 06 00 00 00 00 00 E3 0C 3A [16:54:55]RasterBufferAndPrint [16:54:55]line [16:54:55]line [16:54:55]line [16:54:55]line [16:54:55]line [16:54:55]written 0, free lines is 3306 [16:54:55]MH_Cut [16:54:55]Write to MH i2c: D1 01 00 45 06 01 1D [16:54:55]Write i2c OK [16:54:55]MH_I2C_Read... [16:54:55]Read from MH i2c: D1 [16:54:55]MH_I2C_Read... [16:54:55]Read from MH i2c: D1 01 00 [16:54:55]MH_I2C_Read... [16:54:55]Read from MH i2c: D1 01 00 45 06 00 1C [16:54:55]Write to MH i2c: 01 00 00 46 06 4C [16:54:55]Write i2c OK [16:54:55]MH_I2C_Read... [16:54:56]OFD Sender: No OFD packet to send [16:54:56]*** Cut start [16:54:56]*** Partial cut [16:54:56]*** CUTSNS_PIN = 1 [16:54:56]*** CUTSNS_PIN = 0 [16:54:56]*** Brake cut motor [16:54:57]Read from MH i2c: 01 [16:54:57]MH_I2C_Read... [16:54:57]*** Stop cut motor [16:54:57]*** Cut end [16:54:57]Read from MH i2c: 01 07 00 [16:54:57]MH_I2C_Read... [16:54:57]Read from MH i2c: 01 07 00 46 06 00 00 00 00 00 FF 0F 61 [16:54:57]process_action close_receipt done [16:54:57]requested_data is exist [16:54:57]produce_requested_data [16:54:57]requested_item fm.sn is exist - process it [16:54:57]wFMCommunicate request_size=4 [16:54:57]MH_SAM_APDU [16:54:57]CAPDU: 80 11 00 00 [16:54:57]Write to MH i2c: E2 08 00 47 06 80 11 00 00 00 00 00 00 C7 [16:54:57]Write i2c OK [16:54:57]MH_I2C_Read... [16:54:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:54:57]Read from MH i2c: E2 [16:54:57]MH_I2C_Read... [16:54:57]Read from MH i2c: E2 17 00 [16:54:57]MH_I2C_Read... [16:54:57]Read from MH i2c: E2 17 00 47 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 13 [16:54:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [16:54:57]wFMCommunicate OK [16:54:57]requested_item fd.num is exist - process it [16:54:57]SAM_PROTO_GetFieldsCounters [16:54:57]wFMCommunicate request_size=4 [16:54:57]MH_SAM_APDU [16:54:57]CAPDU: 80 13 00 00 [16:54:57]Write to MH i2c: E2 08 00 48 06 80 13 00 00 00 00 00 00 CA [16:54:57]Write i2c OK [16:54:57]MH_I2C_Read... [16:54:57]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:54:57]Read from MH i2c: E2 [16:54:57]MH_I2C_Read... [16:54:57]Read from MH i2c: E2 62 00 [16:54:57]MH_I2C_Read... [16:54:57]Read from MH i2c: E2 62 00 48 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 09 82 00 00 0E 04 04 00 B0 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 9D [16:54:57]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 09 82 00 00 0E 04 04 00 B0 01 00 00 12 04 04 00 2C 00 00 00 5E 04 04 00 2C 00 00 00 57 04 04 00 2D 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:54:57]wFMCommunicate OK [16:54:57]SAM_PROTO_GetFieldsCounters done [16:54:57]requested_item shift.num is exist - process it [16:54:57]requested_item shift.opened is exist - process it [16:54:57]req_shift_opened [16:54:57]FM_GetShiftState [16:54:57]SAM_PROTO_GetShiftState [16:54:57]wFMCommunicate request_size=4 [16:54:57]MH_SAM_APDU [16:54:57]CAPDU: 80 13 01 00 [16:54:57]Write to MH i2c: E2 08 00 49 06 80 13 01 00 00 00 00 00 CC [16:54:57]Write i2c OK [16:54:57]MH_I2C_Read... [16:54:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:54:57]Read from MH i2c: E2 [16:54:57]MH_I2C_Read... [16:54:57]Read from MH i2c: E2 0E 00 [16:54:57]MH_I2C_Read... [16:54:57]Read from MH i2c: E2 0E 00 49 06 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 FD [16:54:57]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [16:54:57]wFMCommunicate OK [16:54:57]SAM_PROTO_GetShiftState done [16:54:57]FM_GetShiftState done [16:54:57]req_shift_opened done [16:54:57]requested_item shift.open_date is exist - process it [16:54:57]req_shift_open_date [16:54:57]req_shift_open_date done [16:54:57]produce_requested_data done [16:54:57]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33289,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398} [16:54:57]process_action_free close_receipt [16:54:57]json_value_free [16:54:57]json_value_free done [16:54:57]process_json_proto returns [16:54:57]Send response to host [16:54:57]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33289,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398}}} [16:54:57]free response buf [16:54:57]execute_script done [16:54:57]execute_script returns [16:54:57]free content buf [16:54:57]Sock 7.Close socket [16:54:57]Sock 7.Thread stoped [16:55:01]OFD Sender: No OFD packet to send [16:55:06]OFD Sender: No OFD packet to send [16:55:11]OFD Sender: No OFD packet to send [16:55:16]OFD Sender: No OFD packet to send [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:51]OFD Sender: No OFD packet to send [17:02:56]OFD Sender: No OFD packet to send [17:03:01]OFD Sender: No OFD packet to send [17:03:06]OFD Sender: No OFD packet to send [17:03:11]OFD Sender: No OFD packet to send [17:03:16]OFD Sender: No OFD packet to send [17:03:21]OFD Sender: No OFD packet to send [17:03:26]OFD Sender: No OFD packet to send [17:03:31]OFD Sender: No OFD packet to send [17:03:36]OFD Sender: No OFD packet to send [17:03:41]OFD Sender: No OFD packet to send [17:03:46]OFD Sender: No OFD packet to send [17:03:51]OFD Sender: No OFD packet to send [17:03:56]OFD Sender: No OFD packet to send [17:04:01]OFD Sender: No OFD packet to send [17:04:06]OFD Sender: No OFD packet to send [17:04:11]OFD Sender: No OFD packet to send [17:04:16]OFD Sender: No OFD packet to send [17:04:21]OFD Sender: No OFD packet to send [17:04:26]OFD Sender: No OFD packet to send [17:04:31]OFD Sender: No OFD packet to send [17:04:36]OFD Sender: No OFD packet to send [17:04:41]OFD Sender: No OFD packet to send [17:04:46]OFD Sender: No OFD packet to send [17:04:51]OFD Sender: No OFD packet to send [17:04:56]OFD Sender: No OFD packet to send [17:05:01]OFD Sender: No OFD packet to send [17:05:06]OFD Sender: No OFD packet to send [17:05:11]OFD Sender: No OFD packet to send [17:05:16]OFD Sender: No OFD packet to send [17:05:21]OFD Sender: No OFD packet to send [17:05:26]OFD Sender: No OFD packet to send [17:05:31]OFD Sender: No OFD packet to send [17:05:36]OFD Sender: No OFD packet to send [17:05:41]OFD Sender: No OFD packet to send [17:05:46]OFD Sender: No OFD packet to send [17:05:51]OFD Sender: No OFD packet to send [17:05:56]OFD Sender: No OFD packet to send [17:06:01]OFD Sender: No OFD packet to send [17:06:06]OFD Sender: No OFD packet to send [17:06:11]OFD Sender: No OFD packet to send [17:06:16]OFD Sender: No OFD packet to send [17:06:21]OFD Sender: No OFD packet to send [17:06:26]OFD Sender: No OFD packet to send [17:06:31]OFD Sender: No OFD packet to send [17:06:36]OFD Sender: No OFD packet to send [17:06:41]OFD Sender: No OFD packet to send [17:06:46]OFD Sender: No OFD packet to send [17:06:51]OFD Sender: No OFD packet to send [17:06:56]OFD Sender: No OFD packet to send [17:07:01]OFD Sender: No OFD packet to send [17:07:06]OFD Sender: No OFD packet to send [17:07:11]OFD Sender: No OFD packet to send [17:07:16]OFD Sender: No OFD packet to send [17:07:21]OFD Sender: No OFD packet to send [17:07:26]OFD Sender: No OFD packet to send [17:07:31]OFD Sender: No OFD packet to send [17:07:36]OFD Sender: No OFD packet to send [17:07:41]OFD Sender: No OFD packet to send [17:07:46]OFD Sender: No OFD packet to send [17:07:51]OFD Sender: No OFD packet to send [17:07:56]OFD Sender: No OFD packet to send [17:08:01]OFD Sender: No OFD packet to send [17:08:06]OFD Sender: No OFD packet to send [17:08:11]OFD Sender: No OFD packet to send [17:08:16]OFD Sender: No OFD packet to send [17:08:21]OFD Sender: No OFD packet to send [17:08:26]OFD Sender: No OFD packet to send [17:08:31]OFD Sender: No OFD packet to send [17:08:36]OFD Sender: No OFD packet to send [17:08:41]OFD Sender: No OFD packet to send [17:08:46]OFD Sender: No OFD packet to send [17:08:51]OFD Sender: No OFD packet to send [17:08:56]OFD Sender: No OFD packet to send [17:09:01]OFD Sender: No OFD packet to send [17:09:06]OFD Sender: No OFD packet to send [17:09:11]OFD Sender: No OFD packet to send [17:09:16]OFD Sender: No OFD packet to send [17:09:21]OFD Sender: No OFD packet to send [17:09:26]OFD Sender: No OFD packet to send [17:09:31]OFD Sender: No OFD packet to send [17:09:36]OFD Sender: No OFD packet to send [17:09:41]OFD Sender: No OFD packet to send [17:09:46]OFD Sender: No OFD packet to send [17:09:51]OFD Sender: No OFD packet to send [17:09:56]OFD Sender: No OFD packet to send [17:10:01]OFD Sender: No OFD packet to send [17:10:06]OFD Sender: No OFD packet to send [17:10:11]OFD Sender: No OFD packet to send [17:10:16]OFD Sender: No OFD packet to send [17:10:21]OFD Sender: No OFD packet to send [17:10:26]OFD Sender: No OFD packet to send [17:10:31]OFD Sender: No OFD packet to send [17:10:36]OFD Sender: No OFD packet to send [17:10:41]OFD Sender: No OFD packet to send [17:10:46]OFD Sender: No OFD packet to send [17:10:51]OFD Sender: No OFD packet to send [17:10:56]OFD Sender: No OFD packet to send [17:11:01]OFD Sender: No OFD packet to send [17:11:06]OFD Sender: No OFD packet to send [17:11:11]OFD Sender: No OFD packet to send [17:11:16]OFD Sender: No OFD packet to send [17:11:21]OFD Sender: No OFD packet to send [17:11:26]OFD Sender: No OFD packet to send [17:11:31]OFD Sender: No OFD packet to send [17:11:36]OFD Sender: No OFD packet to send [17:11:41]OFD Sender: No OFD packet to send [17:11:46]OFD Sender: No OFD packet to send [17:11:51]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:46]accept exits with 9 [17:16:46]New connection [17:16:46]New thread 3066793316 created [17:16:46]Thread 3066936676 joined [17:16:46]Waiting for new connection... [17:16:46] Sock 9.Parse request [17:16:46]Sock 9.Check first char [17:16:46]Sock 9.First char is OK [17:16:46]request: POST /json_proto HTTP/1.0 [17:16:46]Method: POST [17:16:46]URL: /json_proto [17:16:46]Method is POST - this is cgi request [17:16:46]url: /json_proto [17:16:46]query_string will be loaded in cgi processing [17:16:46]execute_cgi json_proto POST (null) [17:16:46]execute_cgi path=json_proto method=POST [17:16:46]POST find Content-Length [17:16:46]Host: 172.17.35.196:8080 [17:16:46]Content-Length: 883 [17:16:46]Content-Type: application/json [17:16:46] [17:16:46]POST finish read [17:16:46]Found Content-Length = 883 [17:16:46]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169123", "tax_sys" : 0, "items" : [ { "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 270.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:16:46]execute_script... [17:16: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)169123", "tax_sys" : 0, "items" : [ { "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 270.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:16:46]POST & json_proto [17:16:46]process_json_proto [17:16:46]json parsed OK: [17:16:46]protocol is kg_v1.0 [17:16:46]action value=close_receipt [17:16:46]process_action close_receipt [17:16:46]cmd_close_receipt [17:16:46]MH_GetDate [17:16:46]Write to MH i2c: F0 00 00 4A 06 3F [17:16:47]Write i2c OK [17:16:47]MH_I2C_Read... [17:16:47]Read from MH i2c: F0 [17:16:47]MH_I2C_Read... [17:16:47]Read from MH i2c: F0 09 00 [17:16:47]MH_I2C_Read... [17:16:47]Read from MH i2c: F0 09 00 4A 06 00 80 13 90 66 AD 14 F4 65 EB [17:16:47]GetLastDocTimeStamp 1720716894 [17:16:47]current date 1720718208 [17:16:47]FM_GetShiftState [17:16:47]SAM_PROTO_GetShiftState [17:16:47]wFMCommunicate request_size=4 [17:16:47]MH_SAM_APDU [17:16:47]CAPDU: 80 13 01 00 [17:16:47]Write to MH i2c: E2 08 00 4B 06 80 13 01 00 00 00 00 00 CE [17:16:47]Write i2c OK [17:16:47]MH_I2C_Read... [17:16:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:16:47]Read from MH i2c: E2 [17:16:47]MH_I2C_Read... [17:16:47]Read from MH i2c: E2 0E 00 [17:16:47]MH_I2C_Read... [17:16:47]Read from MH i2c: E2 0E 00 4B 06 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 FF [17:16:47]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [17:16:47]wFMCommunicate OK [17:16:47]SAM_PROTO_GetShiftState done [17:16:47]FM_GetShiftState done [17:16:47]opened in 1720656398 [17:16:47]opened+sec_in_day 1720742798 [17:16:47]quantity*price = 14000 [17:16:47]sum+1 = 14001 [17:16:47]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000036220012 Кофе Капучино XL(GABB TRADE) 1.000 * 130.00 = 130.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 270.00 НСП 1% : 2.39 НДС 12% : 28.67 Наличными: 270.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 45 11.07.2024 17:16 Смена: 432 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33290 ФПД: 161148304537762 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T171648&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33290&fm=161148304537762&tin=02508201610067®Number=0000000000093033&sum=27000 0 [17:16:48]StoreToDocumentArchive [17:16:48]shift 432 fd 33290 [17:16:48]save to /storage/0432/doc_00033290 [17:16:48]save last doc name /storage/0432/doc_00033290 to /storage/kkm_last_doc_name [17:16:48]save OK [17:16:48]Clear old archive folders... [17:16:48]ProcessDocumentItem done err = 0, tmpTLVsize=385 [17:16:48]tlvbuf is 01CB0B60 [17:16:48]SAM_PROTO_ClearQueue [17:16:48]wFMCommunicate request_size=4 [17:16:48]MH_SAM_APDU [17:16:48]CAPDU: 80 09 00 00 [17:16:48]Write to MH i2c: E2 08 00 58 06 80 09 00 00 00 00 00 00 D0 [17:16:48]Write i2c OK [17:16:48]MH_I2C_Read... [17:16:48]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:16:48]Read from MH i2c: E2 [17:16:48]MH_I2C_Read... [17:16:48]Read from MH i2c: E2 03 00 [17:16:48]MH_I2C_Read... [17:16:48]Read from MH i2c: E2 03 00 58 06 00 90 00 D2 [17:16:48]RAPDU: 90 00 [17:16:48]wFMCommunicate OK [17:16:48]SAM_PROTO_ClearQueue done [17:16:48]KKMCreateOFDPacket [17:16:48]OFDProtocolAddRootSTLVToBuf [17:16:48]FM_MakeSignedData [17:16:48]FM_MakeSignedData [17:16:48]SAM_PROTO_SignData [17:16:48]wFMCommunicate request_size=4 [17:16:48]MH_SAM_APDU [17:16:48]CAPDU: 80 0D 01 02 [17:16:48]Write to MH i2c: E2 08 00 59 06 80 0D 01 02 00 00 00 00 D8 [17:16:48]Write i2c OK [17:16:48]MH_I2C_Read... [17:16:48]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:16:48]Read from MH i2c: E2 [17:16:48]MH_I2C_Read... [17:16:48]Read from MH i2c: E2 03 00 [17:16:48]MH_I2C_Read... [17:16:48]Read from MH i2c: E2 03 00 59 06 00 90 00 D3 [17:16:48]RAPDU: 90 00 [17:16:48]wFMCommunicate OK [17:16:48]wFMCommunicate request_size=255 [17:16:48]MH_SAM_APDU [17:16:48]CAPDU: 80 0D 02 02 FA 03 00 81 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 69 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 [17:16:48]Write to MH i2c: E2 02 01 5A 06 80 0D 02 02 FA 00 03 00 81 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 69 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 33 [17:16:48]Write i2c OK [17:16:48]MH_I2C_Read... [17:16:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:16:48]Read from MH i2c: E2 [17:16:48]MH_I2C_Read... [17:16:48]Read from MH i2c: E2 03 00 [17:16:48]MH_I2C_Read... [17:16:48]Read from MH i2c: E2 03 00 5A 06 00 90 00 D4 [17:16:48]RAPDU: 90 00 [17:16:48]wFMCommunicate OK [17:16:48]wFMCommunicate request_size=144 [17:16:48]MH_SAM_APDU [17:16:48]CAPDU: 80 0D 02 02 8B 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 78 69 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 80 13 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 0A 82 00 00 35 04 06 00 92 90 43 72 B8 A2 [17:16:48]Write to MH i2c: E2 93 00 5B 06 80 0D 02 02 8B 00 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 78 69 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 80 13 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 0A 82 00 00 35 04 06 00 92 90 43 72 B8 A2 00 00 42 [17:16:48]Write i2c OK [17:16:48]MH_I2C_Read... [17:16:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:16:48]Read from MH i2c: E2 [17:16:48]MH_I2C_Read... [17:16:48]Read from MH i2c: E2 03 00 [17:16:48]MH_I2C_Read... [17:16:48]Read from MH i2c: E2 03 00 5B 06 00 90 00 D5 [17:16:48]RAPDU: 90 00 [17:16:48]wFMCommunicate OK [17:16:48]wFMCommunicate request_size=4 [17:16:48]MH_SAM_APDU [17:16:48]CAPDU: 80 0D 03 02 [17:16:48]Write to MH i2c: E2 08 00 5C 06 80 0D 03 02 00 00 00 00 DD [17:16:48]Write i2c OK [17:16:48]MH_I2C_Read... [17:16:48]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:16:48]Read from MH i2c: E2 [17:16:48]MH_I2C_Read... [17:16:48]Read from MH i2c: E2 0B 00 [17:16:48]MH_I2C_Read... [17:16:48]Read from MH i2c: E2 0B 00 5C 06 00 8B B1 C7 54 30 F9 1C 40 90 00 BA [17:16:48]RAPDU: 8B B1 C7 54 30 F9 1C 40 90 00 [17:16:48]wFMCommunicate OK [17:16:48]SAM_PROTO_SignData done [17:16:48]FM_MakeSignedData done [17:16:48]CreateOFDProtocolMessage [17:16:48]wFMCommunicate request_size=4 [17:16:48]MH_SAM_APDU [17:16:48]CAPDU: 80 11 00 00 [17:16:48]Write to MH i2c: E2 08 00 5D 06 80 11 00 00 00 00 00 00 DD [17:16:48]Write i2c OK [17:16:48]MH_I2C_Read... [17:16:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:16:48]Read from MH i2c: E2 [17:16:48]MH_I2C_Read... [17:16:48]Read from MH i2c: E2 17 00 [17:16:48]MH_I2C_Read... [17:16:48]Read from MH i2c: E2 17 00 5D 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 29 [17:16:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [17:16:48]wFMCommunicate OK [17:16:48]CreateOFDProtocolMessage done [17:16:48]OFDSenderStorePacket 33290 [17:16:48]StoreOFDPacket docnum=33290 [17:16:48]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 95 01 00 00 D4 78 8D 01 A7 BF 5A 03 01 00 03 00 81 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 78 69 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 80 13 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 0A 82 00 00 35 04 06 00 92 90 43 72 B8 A2 8B B1 C7 54 30 F9 1C 40 [17:16:48]CheckFolder [17:16:48]dirname=/storage/ofd_packets [17:16:48]CheckFolder done [17:16:48]ProducePacketName [17:16:48]name=ofd_packets/00033290 [17:16:48]NVStorageSaveData ofd_packets/00033290 [17:16:48]File name is /storage/ofd_packets/00033290 [17:16:48]Write 435 bytes [17:16:48]NVStorageSaveData done [17:16:48]OFDSenderStorePacket done [17:16:48]KKMCreateOFDPacket done [17:16:48]NVStorageSaveData kkm_last_timestamp [17:16:48]File name is /storage/kkm_last_timestamp [17:16:48]Write 4 bytes [17:16:48]NVStorageSaveData done [17:16:48]ExternCall_PrintAddStr [17:16:48]wPrintStart [17:16:48]Write to MH i2c: 01 00 00 5E 06 64 [17:16:48]Write i2c OK [17:16:48]MH_I2C_Read... [17:16:48]Read from MH i2c: 01 [17:16:48]MH_I2C_Read... [17:16:48]Read from MH i2c: 01 07 00 [17:16:48]MH_I2C_Read... [17:16:48]Read from MH i2c: 01 07 00 5E 06 00 00 00 00 00 FF 0F 79 [17:16:48]RasterBufferAndPrint [17:16:48]line Счет N : (3)169123 [17:16:48]line ИНН: 02508201610067 [17:16:48]line Контрольно-Кассовый Чек [17:16:48]line ПРОДАЖА [17:16:48]line Товар: 48747059 [17:16:48]line Сигареты Winston Legend Blue [17:16:48]line 1.000 * 140.00 [17:16:48]line = 140.00 [17:16:48]line НДС 12% НСП 1% [17:16:48]line > о реализуемом товаре [17:16:48]line Товар: 2000036220012 [17:16:48]line Кофе Капучино XL(GABB TRADE) [17:16:48]line 1.000 * 130.00 [17:16:49]line = 130.00 [17:16:49]line НДС 12% НСП 1% [17:16:49]line > о реализуемом товаре [17:16:49]line ИТОГО: 270.00 [17:16:49]line НСП 1% : 2.39 [17:16:49]line НДС 12% : 28.67 [17:16:49]line Наличными: 270.00 [17:16:49]line Безнал.: 0.00 [17:16:49]line Место: АЗС № 77 "Партнер Нефть" [17:16:49]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [17:16:49]line СНО: Общий режим [17:16:49]line Чек 45 11.07.2024 17:16 [17:16:49]line Смена: 432 ФФД: 1.0 [17:16:49]line ЗНМ: 0300000122 [17:16:49]line РНМ: 0000000000093033 [17:16:49]line Версия ККМ: 001 [17:16:49]line ФМ: 0000000000875104 [17:16:49]line ФД: 33290 [17:16:49]line ФПД: 161148304537762 [17:16:49]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T171648&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33290&fm=161148304537762&tin=02508201610067®Number=0000000000093033&sum=27000 [17:16:49]line 0 [17:16:49]OFD Sender: Processing packet 33290 [packets to send 6, broken 5] [17:16:49]ProducePacketName [17:16:49]name=ofd_packets/00033290 [17:16:49]OFD Sender: To server: pG, [17:16:49]CommunicateWithHost lk.salyk.kg:30040 [17:16:49]ConnectInit lk.salyk.kg [17:16:49]written 0, free lines is 4095 [17:16:49]Connected sock=10 [17:16:49]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 95 01 00 00 D4 78 8D 01 A7 BF 5A 03 01 00 03 00 81 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 78 69 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 80 13 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 0A 82 00 00 35 04 06 00 92 90 43 72 B8 A2 8B B1 C7 54 30 F9 1C 40 [17:16:49]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 1F EF 47 00 DF 48 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 35 31 30 34 10 04 04 00 0A 82 00 00 F4 03 04 00 2F BE 8F 66 B6 04 01 00 00 EC B1 D6 16 28 1C 7B 7C [17:16:49]CommunicateWithHost err = 0 [17:16:49]CheckOFDResponse [17:16:49]1017 (14) - 77093643461234 [17:16:49]1041 (16) - 0000000000875104 [17:16:49]1040 (4) - 33290 [17:16:49]1012 (4) - 11.07.2024 11:12 [17:16:49]1206 (1) - 0 [17:16:49]OFD Sender: Remove packet 33290 [17:16:49]ProducePacketName [17:16:49]name=ofd_packets/00033290 [17:16:49]NVStorageDeleteData [17:16:49]Write to MH i2c: 01 00 00 8E 06 94 [17:16:49]Write i2c OK [17:16:49]MH_I2C_Read... [17:16:49]Read from MH i2c: 01 [17:16:49]MH_I2C_Read... [17:16:49]Read from MH i2c: 01 07 00 [17:16:49]MH_I2C_Read... [17:16:49]Read from MH i2c: 01 07 00 8E 06 00 00 00 00 00 6F 0C 16 [17:16:49]RasterBufferAndPrint [17:16:49]line [17:16:49]line [17:16:49]line [17:16:49]line [17:16:49]line [17:16:49]written 0, free lines is 3189 [17:16:49]MH_Cut [17:16:49]Write to MH i2c: D1 01 00 95 06 01 6D [17:16:49]Write i2c OK [17:16:49]MH_I2C_Read... [17:16:49]Read from MH i2c: D1 [17:16:49]MH_I2C_Read... [17:16:49]Read from MH i2c: D1 01 00 [17:16:49]MH_I2C_Read... [17:16:49]Read from MH i2c: D1 01 00 95 06 00 6C [17:16:49]Write to MH i2c: 01 00 00 96 06 9C [17:16:49]Write i2c OK [17:16:49]MH_I2C_Read... [17:16:49]OFD Sender: No OFD packet to send [17:16:50]*** Cut start [17:16:50]*** Partial cut [17:16:50]*** CUTSNS_PIN = 1 [17:16:50]*** CUTSNS_PIN = 0 [17:16:50]*** Brake cut motor [17:16:51]Read from MH i2c: 01 [17:16:51]MH_I2C_Read... [17:16:51]*** Stop cut motor [17:16:51]*** Cut end [17:16:51]Read from MH i2c: 01 07 00 [17:16:51]MH_I2C_Read... [17:16:51]Read from MH i2c: 01 07 00 96 06 00 00 00 00 00 FF 0F B1 [17:16:51]process_action close_receipt done [17:16:51]requested_data is exist [17:16:51]produce_requested_data [17:16:51]requested_item fm.sn is exist - process it [17:16:51]wFMCommunicate request_size=4 [17:16:51]MH_SAM_APDU [17:16:51]CAPDU: 80 11 00 00 [17:16:51]Write to MH i2c: E2 08 00 97 06 80 11 00 00 00 00 00 00 17 [17:16:51]Write i2c OK [17:16:51]MH_I2C_Read... [17:16:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:16:51]Read from MH i2c: E2 [17:16:51]MH_I2C_Read... [17:16:51]Read from MH i2c: E2 17 00 [17:16:51]MH_I2C_Read... [17:16:51]Read from MH i2c: E2 17 00 97 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 63 [17:16:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [17:16:51]wFMCommunicate OK [17:16:51]requested_item fd.num is exist - process it [17:16:51]SAM_PROTO_GetFieldsCounters [17:16:51]wFMCommunicate request_size=4 [17:16:51]MH_SAM_APDU [17:16:51]CAPDU: 80 13 00 00 [17:16:51]Write to MH i2c: E2 08 00 98 06 80 13 00 00 00 00 00 00 1A [17:16:51]Write i2c OK [17:16:51]MH_I2C_Read... [17:16:51]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:16:51]Read from MH i2c: E2 [17:16:51]MH_I2C_Read... [17:16:51]Read from MH i2c: E2 62 00 [17:16:51]MH_I2C_Read... [17:16:51]Read from MH i2c: E2 62 00 98 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 0A 82 00 00 0E 04 04 00 B0 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 F1 [17:16: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 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 0A 82 00 00 0E 04 04 00 B0 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 [17:16:51]wFMCommunicate OK [17:16:51]SAM_PROTO_GetFieldsCounters done [17:16:51]requested_item shift.num is exist - process it [17:16:51]requested_item shift.opened is exist - process it [17:16:51]req_shift_opened [17:16:51]FM_GetShiftState [17:16:51]SAM_PROTO_GetShiftState [17:16:51]wFMCommunicate request_size=4 [17:16:51]MH_SAM_APDU [17:16:51]CAPDU: 80 13 01 00 [17:16:51]Write to MH i2c: E2 08 00 99 06 80 13 01 00 00 00 00 00 1C [17:16:51]Write i2c OK [17:16:51]MH_I2C_Read... [17:16:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:16:51]Read from MH i2c: E2 [17:16:51]MH_I2C_Read... [17:16:51]Read from MH i2c: E2 0E 00 [17:16:51]MH_I2C_Read... [17:16:51]Read from MH i2c: E2 0E 00 99 06 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 4D [17:16:51]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [17:16:51]wFMCommunicate OK [17:16:51]SAM_PROTO_GetShiftState done [17:16:51]FM_GetShiftState done [17:16:51]req_shift_opened done [17:16:51]requested_item shift.open_date is exist - process it [17:16:51]req_shift_open_date [17:16:51]req_shift_open_date done [17:16:51]produce_requested_data done [17:16:51]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33290,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398} [17:16:51]process_action_free close_receipt [17:16:51]json_value_free [17:16:51]json_value_free done [17:16:51]process_json_proto returns [17:16:51]Send response to host [17:16:51]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33290,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398}}} [17:16:51]free response buf [17:16:51]execute_script done [17:16:51]execute_script returns [17:16:51]free content buf [17:16:51]Sock 9.Close socket [17:16:51]Sock 9.Thread stoped [17:16:54]OFD Sender: No OFD packet to send [17:16:59]OFD Sender: No OFD packet to send [17:17:05]OFD Sender: No OFD packet to send [17:17:10]OFD Sender: No OFD packet to send [17:17:15]OFD Sender: No OFD packet to send [17:17:20]OFD Sender: No OFD packet to send [17:17:25]OFD Sender: No OFD packet to send [17:17:30]OFD Sender: No OFD packet to send [17:17:35]OFD Sender: No OFD packet to send [17:17:40]OFD Sender: No OFD packet to send [17:17:45]OFD Sender: No OFD packet to send [17:17:50]OFD Sender: No OFD packet to send [17:17:55]OFD Sender: No OFD packet to send [17:18:00]OFD Sender: No OFD packet to send [17:18:05]OFD Sender: No OFD packet to send [17:18:10]OFD Sender: No OFD packet to send [17:18:15]OFD Sender: No OFD packet to send [17:18:20]OFD Sender: No OFD packet to send [17:18:25]OFD Sender: No OFD packet to send [17:18:30]OFD Sender: No OFD packet to send [17:18:35]OFD Sender: No OFD packet to send [17:18:40]OFD Sender: No OFD packet to send [17:18:45]OFD Sender: No OFD packet to send [17:18:50]OFD Sender: No OFD packet to send [17:18:55]OFD Sender: No OFD packet to send [17:19:00]OFD Sender: No OFD packet to send [17:19:05]OFD Sender: No OFD packet to send [17:19:10]OFD Sender: No OFD packet to send [17:19:15]OFD Sender: No OFD packet to send [17:19:20]OFD Sender: No OFD packet to send [17:19:25]OFD Sender: No OFD packet to send [17:19:30]OFD Sender: No OFD packet to send [17:19:35]OFD Sender: No OFD packet to send [17:19:40]OFD Sender: No OFD packet to send [17:19:45]OFD Sender: No OFD packet to send [17:19:50]OFD Sender: No OFD packet to send [17:19:55]OFD Sender: No OFD packet to send [17:20:00]OFD Sender: No OFD packet to send [17:20:05]OFD Sender: No OFD packet to send [17:20:10]OFD Sender: No OFD packet to send [17:20:15]OFD Sender: No OFD packet to send [17:20:20]OFD Sender: No OFD packet to send [17:20:25]OFD Sender: No OFD packet to send [17:20:30]OFD Sender: No OFD packet to send [17:20:35]OFD Sender: No OFD packet to send [17:20:40]OFD Sender: No OFD packet to send [17:20:45]OFD Sender: No OFD packet to send [17:20:50]OFD Sender: No OFD packet to send [17:20:55]OFD Sender: No OFD packet to send [17:21:00]OFD Sender: No OFD packet to send [17:21:05]OFD Sender: No OFD packet to send [17:21:10]OFD Sender: No OFD packet to send [17:21:15]OFD Sender: No OFD packet to send [17:21:20]OFD Sender: No OFD packet to send [17:21:25]OFD Sender: No OFD packet to send [17:21:30]OFD Sender: No OFD packet to send [17:21:35]OFD Sender: No OFD packet to send [17:21:40]OFD Sender: No OFD packet to send [17:21:45]OFD Sender: No OFD packet to send [17:21:50]OFD Sender: No OFD packet to send [17:21:55]OFD Sender: No OFD packet to send [17:22:00]OFD Sender: No OFD packet to send [17:22:03]accept exits with 7 [17:22:03]New connection [17:22:03]New thread 3066936676 created [17:22:03]Thread 3066793316 joined [17:22:03]Waiting for new connection... [17:22:03] Sock 7.Parse request [17:22:03]Sock 7.Check first char [17:22:03]Sock 7.First char is OK [17:22:03]request: POST /json_proto HTTP/1.0 [17:22:03]Method: POST [17:22:03]URL: /json_proto [17:22:03]Method is POST - this is cgi request [17:22:03]url: /json_proto [17:22:03]query_string will be loaded in cgi processing [17:22:03]execute_cgi json_proto POST (null) [17:22:03]execute_cgi path=json_proto method=POST [17:22:03]POST find Content-Length [17:22:03]Host: 172.17.35.196:8080 [17:22:03]Content-Length: 1372 [17:22:03]Content-Type: application/json [17:22:03] [17:22:03]POST finish read [17:22:03]Found Content-Length = 1372 [17:22:03]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169124", "tax_sys" : 0, "items" : [ { "code": "4870112003925", "name": "\u041A\u043E\u043D\u0434 ULKER-Albeni 40gr (6*24)", "price" : 55.00, "quantity" : 1.000, "sum" : 55.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "40822426", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u043D\u0430\u043A\u0432\u0430 0,5\u043B \u0431/\u0433", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607120858977", "name": "\u0427\u0438\u043F\u0441\u044B \u0427\u0438\u043F\u0441\u043E\u043D\u044B \u043A\u0440\u0430\u0431 40\u0433", "price" : 36.00, "quantity" : 1.000, "sum" : 36.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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" : 211.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:22:03]execute_script... [17:22: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)169124", "tax_sys" : 0, "items" : [ { "code": "4870112003925", "name": "\u041A\u043E\u043D\u0434 ULKER-Albeni 40gr (6*24)", "price" : 55.00, "quantity" : 1.000, "sum" : 55.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "40822426", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u043D\u0430\u043A\u0432\u0430 0,5\u043B \u0431/\u0433", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607120858977", "name": "\u0427\u0438\u043F\u0441\u044B \u0427\u0438\u043F\u0441\u043E\u043D\u044B \u043A\u0440\u0430\u0431 40\u0433", "price" : 36.00, "quantity" : 1.000, "sum" : 36.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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" : 211.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:22:03]POST & json_proto [17:22:03]process_json_proto [17:22:03]json parsed OK: [17:22:03]protocol is kg_v1.0 [17:22:03]action value=close_receipt [17:22:03]process_action close_receipt [17:22:03]cmd_close_receipt [17:22:03]MH_GetDate [17:22:03]Write to MH i2c: F0 00 00 9A 06 8F [17:22:03]Write i2c OK [17:22:03]MH_I2C_Read... [17:22:03]Read from MH i2c: F0 [17:22:03]MH_I2C_Read... [17:22:03]Read from MH i2c: F0 09 00 [17:22:03]MH_I2C_Read... [17:22:03]Read from MH i2c: F0 09 00 9A 06 00 BC 14 90 66 AD 14 F4 65 78 [17:22:03]GetLastDocTimeStamp 1720718208 [17:22:03]current date 1720718524 [17:22:03]FM_GetShiftState [17:22:03]SAM_PROTO_GetShiftState [17:22:03]wFMCommunicate request_size=4 [17:22:03]MH_SAM_APDU [17:22:03]CAPDU: 80 13 01 00 [17:22:03]Write to MH i2c: E2 08 00 9B 06 80 13 01 00 00 00 00 00 1E [17:22:03]Write i2c OK [17:22:03]MH_I2C_Read... [17:22:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:22:03]Read from MH i2c: E2 [17:22:03]MH_I2C_Read... [17:22:03]Read from MH i2c: E2 0E 00 [17:22:03]MH_I2C_Read... [17:22:03]Read from MH i2c: E2 0E 00 9B 06 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 4F [17:22:03]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [17:22:03]wFMCommunicate OK [17:22:03]SAM_PROTO_GetShiftState done [17:22:03]FM_GetShiftState done [17:22:03]opened in 1720656398 [17:22:03]opened+sec_in_day 1720742798 [17:22:03]quantity*price = 5500 [17:22:03]sum+1 = 5501 [17:22:03]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 40822426 Вода Бонаква 0,5л б/г 1.000 * 40.00 = 40.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4607120858977 Чипсы Чипсоны краб 40г 1.000 * 36.00 = 36.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4870001570057 Напиток Pepsi 0,5л 1.000 * 80.00 = 80.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 211.00 НСП 1% : 1.87 НДС 12% : 22.41 Наличными: 211.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 46 11.07.2024 17:22 Смена: 432 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33291 ФПД: 260609293178661 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T172205&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33291&fm=260609293178661&tin=02508201610067®Number=0000000000093033&sum=21100 0 [17:22:04]StoreToDocumentArchive [17:22:04]shift 432 fd 33291 [17:22:04]save to /storage/0432/doc_00033291 [17:22:04]save last doc name /storage/0432/doc_00033291 to /storage/kkm_last_doc_name [17:22:04]save OK [17:22:04]Clear old archive folders... [17:22:04]ProcessDocumentItem done err = 0, tmpTLVsize=586 [17:22:04]tlvbuf is 01C9EBD0 [17:22:04]SAM_PROTO_ClearQueue [17:22:04]wFMCommunicate request_size=4 [17:22:04]MH_SAM_APDU [17:22:04]CAPDU: 80 09 00 00 [17:22:04]Write to MH i2c: E2 08 00 A8 06 80 09 00 00 00 00 00 00 20 [17:22:04]Write i2c OK [17:22:04]MH_I2C_Read... [17:22:05]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:22:05]Read from MH i2c: E2 [17:22:05]MH_I2C_Read... [17:22:05]Read from MH i2c: E2 03 00 [17:22:05]MH_I2C_Read... [17:22:05]Read from MH i2c: E2 03 00 A8 06 00 90 00 22 [17:22:05]RAPDU: 90 00 [17:22:05]wFMCommunicate OK [17:22:05]SAM_PROTO_ClearQueue done [17:22:05]KKMCreateOFDPacket [17:22:05]OFDProtocolAddRootSTLVToBuf [17:22:05]FM_MakeSignedData [17:22:05]FM_MakeSignedData [17:22:05]SAM_PROTO_SignData [17:22:05]wFMCommunicate request_size=4 [17:22:05]MH_SAM_APDU [17:22:05]CAPDU: 80 0D 01 02 [17:22:05]Write to MH i2c: E2 08 00 A9 06 80 0D 01 02 00 00 00 00 28 [17:22:05]Write i2c OK [17:22:05]MH_I2C_Read... [17:22:05]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:22:05]Read from MH i2c: E2 [17:22:05]MH_I2C_Read... [17:22:05]Read from MH i2c: E2 03 00 [17:22:05]MH_I2C_Read... [17:22:05]Read from MH i2c: E2 03 00 A9 06 00 90 00 23 [17:22:05]RAPDU: 90 00 [17:22:05]wFMCommunicate OK [17:22:05]wFMCommunicate request_size=255 [17:22:05]MH_SAM_APDU [17:22:05]CAPDU: 80 0D 02 02 FA 03 00 4A 02 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 32 35 06 04 21 00 D0 9A D0 BE D0 BD D0 B4 20 55 4C 4B 45 52 2D 41 6C 62 65 6E 69 20 34 30 67 72 20 28 36 2A 32 34 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 15 00 00 00 00 13 04 06 00 7C 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 08 00 34 30 38 32 32 34 32 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 30 2C 35 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 6B 00 8A 04 0D 00 34 36 30 37 31 32 30 38 35 38 39 37 37 06 04 27 00 D0 A7 D0 B8 D0 BF D1 81 D1 [17:22:05]Write to MH i2c: E2 02 01 AA 06 80 0D 02 02 FA 00 03 00 4A 02 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 32 35 06 04 21 00 D0 9A D0 BE D0 BD D0 B4 20 55 4C 4B 45 52 2D 41 6C 62 65 6E 69 20 34 30 67 72 20 28 36 2A 32 34 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 15 00 00 00 00 13 04 06 00 7C 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 08 00 34 30 38 32 32 34 32 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 30 2C 35 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 6B 00 8A 04 0D 00 34 36 30 37 31 32 30 38 35 38 39 37 37 06 04 27 00 D0 A7 D0 B8 D0 BF D1 81 D1 00 00 9C [17:22:05]Write i2c OK [17:22:05]MH_I2C_Read... [17:22:05]OFD Sender: No OFD packet to send [17:22:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:22:05]Read from MH i2c: E2 [17:22:05]MH_I2C_Read... [17:22:05]Read from MH i2c: E2 03 00 [17:22:05]MH_I2C_Read... [17:22:05]Read from MH i2c: E2 03 00 AA 06 00 90 00 24 [17:22:05]RAPDU: 90 00 [17:22:05]wFMCommunicate OK [17:22:05]wFMCommunicate request_size=255 [17:22:05]MH_SAM_APDU [17:22:05]CAPDU: 80 0D 02 02 FA 8B 20 D0 A7 D0 B8 D0 BF D1 81 D0 BE D0 BD D1 8B 20 D0 BA D1 80 D0 B0 D0 B1 20 34 30 D0 B3 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 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 6C 52 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C1 08 00 00 00 00 07 04 06 00 6C 52 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 [17:22:05]Write to MH i2c: E2 02 01 AB 06 80 0D 02 02 FA 00 8B 20 D0 A7 D0 B8 D0 BF D1 81 D0 BE D0 BD D1 8B 20 D0 BA D1 80 D0 B0 D0 B1 20 34 30 D0 B3 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 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 6C 52 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C1 08 00 00 00 00 07 04 06 00 6C 52 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 00 60 [17:22:05]Write i2c OK [17:22:05]MH_I2C_Read... [17:22:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:22:05]Read from MH i2c: E2 [17:22:05]MH_I2C_Read... [17:22:05]Read from MH i2c: E2 03 00 [17:22:05]MH_I2C_Read... [17:22:05]Read from MH i2c: E2 03 00 AB 06 00 90 00 25 [17:22:05]RAPDU: 90 00 [17:22:05]wFMCommunicate OK [17:22:05]wFMCommunicate request_size=95 [17:22:05]MH_SAM_APDU [17:22:05]CAPDU: 80 0D 02 02 5A 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 BD 14 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 0B 82 00 00 35 04 06 00 ED 05 D4 58 57 25 [17:22:05]Write to MH i2c: E2 62 00 AC 06 80 0D 02 02 5A 00 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 BD 14 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 0B 82 00 00 35 04 06 00 ED 05 D4 58 57 25 00 00 60 [17:22:05]Write i2c OK [17:22:05]MH_I2C_Read... [17:22:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:22:05]Read from MH i2c: E2 [17:22:05]MH_I2C_Read... [17:22:05]Read from MH i2c: E2 03 00 [17:22:05]MH_I2C_Read... [17:22:05]Read from MH i2c: E2 03 00 AC 06 00 90 00 26 [17:22:05]RAPDU: 90 00 [17:22:05]wFMCommunicate OK [17:22:05]wFMCommunicate request_size=4 [17:22:05]MH_SAM_APDU [17:22:05]CAPDU: 80 0D 03 02 [17:22:05]Write to MH i2c: E2 08 00 AD 06 80 0D 03 02 00 00 00 00 2E [17:22:05]Write i2c OK [17:22:05]MH_I2C_Read... [17:22:05]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:22:05]Read from MH i2c: E2 [17:22:05]MH_I2C_Read... [17:22:05]Read from MH i2c: E2 0B 00 [17:22:05]MH_I2C_Read... [17:22:05]Read from MH i2c: E2 0B 00 AD 06 00 5C 70 88 4E 37 33 F7 E7 90 00 19 [17:22:05]RAPDU: 5C 70 88 4E 37 33 F7 E7 90 00 [17:22:05]wFMCommunicate OK [17:22:05]SAM_PROTO_SignData done [17:22:05]FM_MakeSignedData done [17:22:05]CreateOFDProtocolMessage [17:22:05]wFMCommunicate request_size=4 [17:22:05]MH_SAM_APDU [17:22:05]CAPDU: 80 11 00 00 [17:22:05]Write to MH i2c: E2 08 00 AE 06 80 11 00 00 00 00 00 00 2E [17:22:05]Write i2c OK [17:22:05]MH_I2C_Read... [17:22:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:22:05]Read from MH i2c: E2 [17:22:05]MH_I2C_Read... [17:22:05]Read from MH i2c: E2 17 00 [17:22:05]MH_I2C_Read... [17:22:05]Read from MH i2c: E2 17 00 AE 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 7A [17:22:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [17:22:05]wFMCommunicate OK [17:22:05]CreateOFDProtocolMessage done [17:22:05]OFDSenderStorePacket 33291 [17:22:05]StoreOFDPacket docnum=33291 [17:22:05]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 5E 02 00 00 1E 46 56 02 43 FA 5A 03 01 00 03 00 4A 02 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 32 35 06 04 21 00 D0 9A D0 BE D0 BD D0 B4 20 55 4C 4B 45 52 2D 41 6C 62 65 6E 69 20 34 30 67 72 20 28 36 2A 32 34 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 15 00 00 00 00 13 04 06 00 7C 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 08 00 34 30 38 32 32 34 32 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 30 2C 35 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 6B 00 8A 04 0D 00 34 36 30 37 31 32 30 38 35 38 39 37 37 06 04 27 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 D0 A7 D0 B8 D0 BF D1 81 D0 BE D0 BD D1 8B 20 D0 BA D1 80 D0 B0 D0 B1 20 34 30 D0 B3 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 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 6C 52 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C1 08 00 00 00 00 07 04 06 00 6C 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 2E 00 00 00 F4 03 04 00 BD 14 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 0B 82 00 00 35 04 06 00 ED 05 D4 58 57 25 5C 70 88 4E 37 33 F7 E7 [17:22:05]CheckFolder [17:22:05]dirname=/storage/ofd_packets [17:22:05]CheckFolder done [17:22:05]ProducePacketName [17:22:05]name=ofd_packets/00033291 [17:22:05]NVStorageSaveData ofd_packets/00033291 [17:22:05]File name is /storage/ofd_packets/00033291 [17:22:05]Write 636 bytes [17:22:05]NVStorageSaveData done [17:22:05]OFDSenderStorePacket done [17:22:05]KKMCreateOFDPacket done [17:22:05]NVStorageSaveData kkm_last_timestamp [17:22:05]File name is /storage/kkm_last_timestamp [17:22:05]Write 4 bytes [17:22:05]NVStorageSaveData done [17:22:05]ExternCall_PrintAddStr [17:22:05]wPrintStart [17:22:05]Write to MH i2c: 01 00 00 AF 06 B5 [17:22:05]Write i2c OK [17:22:05]MH_I2C_Read... [17:22:05]Read from MH i2c: 01 [17:22:05]MH_I2C_Read... [17:22:05]Read from MH i2c: 01 07 00 [17:22:05]MH_I2C_Read... [17:22:05]Read from MH i2c: 01 07 00 AF 06 00 00 00 00 00 FF 0F CA [17:22:05]RasterBufferAndPrint [17:22:05]line Счет N : (3)169124 [17:22:05]line ИНН: 02508201610067 [17:22:05]line Контрольно-Кассовый Чек [17:22:05]line ПРОДАЖА [17:22:05]line Товар: 4870112003925 [17:22:05]line Конд ULKER-Albeni 40gr (6*24) [17:22:05]line 1.000 * 55.00 [17:22:05]line = 55.00 [17:22:05]line НДС 12% НСП 1% [17:22:05]line > о реализуемом товаре [17:22:05]line Товар: 40822426 [17:22:05]line Вода Бонаква 0,5л б/г [17:22:06]line 1.000 * 40.00 [17:22:06]line = 40.00 [17:22:06]line НДС 12% НСП 1% [17:22:06]line > о реализуемом товаре [17:22:06]line Товар: 4607120858977 [17:22:06]line Чипсы Чипсоны краб 40г [17:22:06]line 1.000 * 36.00 [17:22:06]line = 36.00 [17:22:06]line НДС 12% НСП 1% [17:22:06]line > о реализуемом товаре [17:22:06]line Товар: 4870001570057 [17:22:06]line Напиток Pepsi 0,5л [17:22:06]line 1.000 * 80.00 [17:22:06]line = 80.00 [17:22:06]line НДС 12% НСП 1% [17:22:06]line > о реализуемом товаре [17:22:06]line ИТОГО: 211.00 [17:22:06]line НСП 1% : 1.87 [17:22:06]line НДС 12% : 22.41 [17:22:06]line Наличными: 211.00 [17:22:06]line Безнал.: 0.00 [17:22:06]line Место: АЗС № 77 "Партнер Нефть" [17:22:06]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [17:22:06]line СНО: Общий режим [17:22:06]line Чек 46 11.07.2024 17:22 [17:22:06]line Смена: 432 ФФД: 1.0 [17:22:06]line ЗНМ: 0300000122 [17:22:06]line РНМ: 0000000000093033 [17:22:06]line Версия ККМ: 001 [17:22:06]line ФМ: 0000000000875104 [17:22:06]line ФД: 33291 [17:22:06]line ФПД: 260609293178661 [17:22:06]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T172205&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33291&fm=260609293178661&tin=02508201610067®Number=0000000000093033&sum=21100 [17:22:06]line 0 [17:22:06]OFD Sender: Processing packet 33291 [packets to send 6, broken 5] [17:22:06]ProducePacketName [17:22:06]name=ofd_packets/00033291 [17:22:06]OFD Sender: To server: pG, [17:22:06]CommunicateWithHost lk.salyk.kg:30040 [17:22:06]ConnectInit lk.salyk.kg [17:22:06]written 0, free lines is 4095 [17:22:06]Connected sock=10 [17:22:06]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 5E 02 00 00 1E 46 56 02 43 FA 5A 03 01 00 03 00 4A 02 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 32 35 06 04 21 00 D0 9A D0 BE D0 BD D0 B4 20 55 4C 4B 45 52 2D 41 6C 62 65 6E 69 20 34 30 67 72 20 28 36 2A 32 34 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 15 00 00 00 00 13 04 06 00 7C 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 08 00 34 30 38 32 32 34 32 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 30 2C 35 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 6B 00 8A 04 0D 00 34 36 30 37 31 32 30 38 35 38 39 37 37 06 04 27 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 D0 A7 D0 B8 D0 BF D1 81 D0 BE D0 BD D1 8B 20 D0 BA D1 80 D0 B0 D0 B1 20 34 30 D0 B3 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 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 6C 52 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C1 08 00 00 00 00 07 04 06 00 6C 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 2E 00 00 00 F4 03 04 00 BD 14 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 0B 82 00 00 35 04 06 00 ED 05 D4 58 57 25 5C 70 88 4E 37 33 F7 E7 [17:22:06]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 62 4A 47 00 76 B0 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 0B 82 00 00 F4 03 04 00 6C BF 8F 66 B6 04 01 00 00 00 55 BA 20 5B F6 A2 7A [17:22:06]CommunicateWithHost err = 0 [17:22:06]CheckOFDResponse [17:22:06]1017 (14) - 77093643461234 [17:22:06]1041 (16) - 0000000000875104 [17:22:06]1040 (4) - 33291 [17:22:06]1012 (4) - 11.07.2024 11:18 [17:22:06]1206 (1) - 0 [17:22:06]OFD Sender: Remove packet 33291 [17:22:06]ProducePacketName [17:22:06]name=ofd_packets/00033291 [17:22:06]NVStorageDeleteData [17:22:06]Write to MH i2c: 01 00 00 E9 06 EF [17:22:06]Write i2c OK [17:22:06]MH_I2C_Read... [17:22:06]Read from MH i2c: 01 [17:22:06]MH_I2C_Read... [17:22:06]Read from MH i2c: 01 07 00 [17:22:06]MH_I2C_Read... [17:22:06]Read from MH i2c: 01 07 00 E9 06 00 00 00 00 00 F6 0B F7 [17:22:06]RasterBufferAndPrint [17:22:06]line [17:22:06]line [17:22:06]line [17:22:06]line [17:22:06]line [17:22:06]written 0, free lines is 3067 [17:22:06]MH_Cut [17:22:06]Write to MH i2c: D1 01 00 F0 06 01 C8 [17:22:06]Write i2c OK [17:22:06]MH_I2C_Read... [17:22:06]Read from MH i2c: D1 [17:22:06]MH_I2C_Read... [17:22:06]Read from MH i2c: D1 01 00 [17:22:06]MH_I2C_Read... [17:22:06]Read from MH i2c: D1 01 00 F0 06 00 C7 [17:22:06]Write to MH i2c: 01 00 00 F1 06 F7 [17:22:06]Write i2c OK [17:22:06]MH_I2C_Read... [17:22:07]OFD Sender: No OFD packet to send [17:22:07]*** Cut start [17:22:07]*** Partial cut [17:22:07]*** CUTSNS_PIN = 1 [17:22:07]*** CUTSNS_PIN = 0 [17:22:08]*** Brake cut motor [17:22:08]Read from MH i2c: 01 [17:22:08]MH_I2C_Read... [17:22:08]*** Stop cut motor [17:22:08]*** Cut end [17:22:08]Read from MH i2c: 01 07 00 [17:22:08]MH_I2C_Read... [17:22:08]Read from MH i2c: 01 07 00 F1 06 00 00 00 00 00 FF 0F 0C [17:22:08]process_action close_receipt done [17:22:08]requested_data is exist [17:22:08]produce_requested_data [17:22:08]requested_item fm.sn is exist - process it [17:22:08]wFMCommunicate request_size=4 [17:22:08]MH_SAM_APDU [17:22:08]CAPDU: 80 11 00 00 [17:22:08]Write to MH i2c: E2 08 00 F2 06 80 11 00 00 00 00 00 00 72 [17:22:08]Write i2c OK [17:22:08]MH_I2C_Read... [17:22:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:22:08]Read from MH i2c: E2 [17:22:08]MH_I2C_Read... [17:22:08]Read from MH i2c: E2 17 00 [17:22:08]MH_I2C_Read... [17:22:08]Read from MH i2c: E2 17 00 F2 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 BE [17:22:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [17:22:08]wFMCommunicate OK [17:22:08]requested_item fd.num is exist - process it [17:22:08]SAM_PROTO_GetFieldsCounters [17:22:08]wFMCommunicate request_size=4 [17:22:08]MH_SAM_APDU [17:22:08]CAPDU: 80 13 00 00 [17:22:08]Write to MH i2c: E2 08 00 F3 06 80 13 00 00 00 00 00 00 75 [17:22:08]Write i2c OK [17:22:08]MH_I2C_Read... [17:22:08]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:22:08]Read from MH i2c: E2 [17:22:08]MH_I2C_Read... [17:22:08]Read from MH i2c: E2 62 00 [17:22:08]MH_I2C_Read... [17:22:08]Read from MH i2c: E2 62 00 F3 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 0B 82 00 00 0E 04 04 00 B0 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 50 [17:22: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 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 0B 82 00 00 0E 04 04 00 B0 01 00 00 12 04 04 00 2E 00 00 00 5E 04 04 00 2E 00 00 00 57 04 04 00 2F 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:22:08]wFMCommunicate OK [17:22:08]SAM_PROTO_GetFieldsCounters done [17:22:08]requested_item shift.num is exist - process it [17:22:08]requested_item shift.opened is exist - process it [17:22:08]req_shift_opened [17:22:08]FM_GetShiftState [17:22:08]SAM_PROTO_GetShiftState [17:22:08]wFMCommunicate request_size=4 [17:22:08]MH_SAM_APDU [17:22:08]CAPDU: 80 13 01 00 [17:22:08]Write to MH i2c: E2 08 00 F4 06 80 13 01 00 00 00 00 00 77 [17:22:08]Write i2c OK [17:22:08]MH_I2C_Read... [17:22:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:22:08]Read from MH i2c: E2 [17:22:08]MH_I2C_Read... [17:22:08]Read from MH i2c: E2 0E 00 [17:22:08]MH_I2C_Read... [17:22:08]Read from MH i2c: E2 0E 00 F4 06 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 A8 [17:22:08]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [17:22:08]wFMCommunicate OK [17:22:08]SAM_PROTO_GetShiftState done [17:22:08]FM_GetShiftState done [17:22:08]req_shift_opened done [17:22:08]requested_item shift.open_date is exist - process it [17:22:08]req_shift_open_date [17:22:08]req_shift_open_date done [17:22:08]produce_requested_data done [17:22:08]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33291,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398} [17:22:08]process_action_free close_receipt [17:22:08]json_value_free [17:22:08]json_value_free done [17:22:08]process_json_proto returns [17:22:08]Send response to host [17:22:08]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33291,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398}}} [17:22:08]free response buf [17:22:08]execute_script done [17:22:08]execute_script returns [17:22:08]free content buf [17:22:08]Sock 7.Close socket [17:22:08]Sock 7.Thread stoped [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]OFD Sender: No OFD packet to send [17:23:17]OFD Sender: No OFD packet to send [17:23:22]OFD Sender: No OFD packet to send [17:23:27]OFD Sender: No OFD packet to send [17:23:32]OFD Sender: No OFD packet to send [17:23:37]OFD Sender: No OFD packet to send [17:23:42]OFD Sender: No OFD packet to send [17:23:47]OFD Sender: No OFD packet to send [17:23:52]OFD Sender: No OFD packet to send [17:23:57]OFD Sender: No OFD packet to send [17:24:02]OFD Sender: No OFD packet to send [17:24:07]OFD Sender: No OFD packet to send [17:24:12]OFD Sender: No OFD packet to send [17:24:17]OFD Sender: No OFD packet to send [17:24:22]OFD Sender: No OFD packet to send [17:24:27]OFD Sender: No OFD packet to send [17:24:32]OFD Sender: No OFD packet to send [17:24:37]OFD Sender: No OFD packet to send [17:24:42]OFD Sender: No OFD packet to send [17:24:47]OFD Sender: No OFD packet to send [17:24:52]OFD Sender: No OFD packet to send [17:24:57]OFD Sender: No OFD packet to send [17:25:02]OFD Sender: No OFD packet to send [17:25:07]OFD Sender: No OFD packet to send [17:25:12]OFD Sender: No OFD packet to send [17:25:17]OFD Sender: No OFD packet to send [17:25:22]OFD Sender: No OFD packet to send [17:25:27]OFD Sender: No OFD packet to send [17:25:32]OFD Sender: No OFD packet to send [17:25:37]OFD Sender: No OFD packet to send [17:25:42]OFD Sender: No OFD packet to send [17:25:47]OFD Sender: No OFD packet to send [17:25:52]OFD Sender: No OFD packet to send [17:25:57]OFD Sender: No OFD packet to send [17:26:02]OFD Sender: No OFD packet to send [17:26:07]OFD Sender: No OFD packet to send [17:26:12]OFD Sender: No OFD packet to send [17:26:17]OFD Sender: No OFD packet to send [17:26:22]OFD Sender: No OFD packet to send [17:26:27]OFD Sender: No OFD packet to send [17:26:32]OFD Sender: No OFD packet to send [17:26:37]OFD Sender: No OFD packet to send [17:26:42]OFD Sender: No OFD packet to send [17:26:47]OFD Sender: No OFD packet to send [17:26:52]OFD Sender: No OFD packet to send [17:26:57]OFD Sender: No OFD packet to send [17:27:02]OFD Sender: No OFD packet to send [17:27:07]OFD Sender: No OFD packet to send [17:27:12]OFD Sender: No OFD packet to send [17:27:17]OFD Sender: No OFD packet to send [17:27:22]OFD Sender: No OFD packet to send [17:27:27]OFD Sender: No OFD packet to send [17:27:32]OFD Sender: No OFD packet to send [17:27:37]OFD Sender: No OFD packet to send [17:27:42]OFD Sender: No OFD packet to send [17:27:47]OFD Sender: No OFD packet to send [17:27:52]OFD Sender: No OFD packet to send [17:27:57]OFD Sender: No OFD packet to send [17:28:02]OFD Sender: No OFD packet to send [17:28:07]OFD Sender: No OFD packet to send [17:28:12]OFD Sender: No OFD packet to send [17:28:17]OFD Sender: No OFD packet to send [17:28:22]OFD Sender: No OFD packet to send [17:28:27]OFD Sender: No OFD packet to send [17:28:32]OFD Sender: No OFD packet to send [17:28:37]OFD Sender: No OFD packet to send [17:28:42]OFD Sender: No OFD packet to send [17:28:47]OFD Sender: No OFD packet to send [17:28:52]OFD Sender: No OFD packet to send [17:28:57]OFD Sender: No OFD packet to send [17:29:02]OFD Sender: No OFD packet to send [17:29:07]OFD Sender: No OFD packet to send [17:29:12]OFD Sender: No OFD packet to send [17:29:17]OFD Sender: No OFD packet to send [17:29:22]OFD Sender: No OFD packet to send [17:29:27]OFD Sender: No OFD packet to send [17:29:32]OFD Sender: No OFD packet to send [17:29:37]OFD Sender: No OFD packet to send [17:29:42]OFD Sender: No OFD packet to send [17:29:47]OFD Sender: No OFD packet to send [17:29:52]OFD Sender: No OFD packet to send [17:29:57]OFD Sender: No OFD packet to send [17:30:02]OFD Sender: No OFD packet to send [17:30:07]OFD Sender: No OFD packet to send [17:30:12]OFD Sender: No OFD packet to send [17:30:17]OFD Sender: No OFD packet to send [17:30:22]OFD Sender: No OFD packet to send [17:30:27]OFD Sender: No OFD packet to send [17:30:32]OFD Sender: No OFD packet to send [17:30:37]OFD Sender: No OFD packet to send [17:30:42]OFD Sender: No OFD packet to send [17:30:47]OFD Sender: No OFD packet to send [17:30:52]OFD Sender: No OFD packet to send [17:30:57]OFD Sender: No OFD packet to send [17:31:02]OFD Sender: No OFD packet to send [17:31:07]OFD Sender: No OFD packet to send [17:31:12]OFD Sender: No OFD packet to send [17:31:17]OFD Sender: No OFD packet to send [17:31:22]OFD Sender: No OFD packet to send [17:31:27]OFD Sender: No OFD packet to send [17:31:32]OFD Sender: No OFD packet to send [17:31:37]OFD Sender: No OFD packet to send [17:31:42]OFD Sender: No OFD packet to send [17:31:47]OFD Sender: No OFD packet to send [17:31:52]OFD Sender: No OFD packet to send [17:31:57]OFD Sender: No OFD packet to send [17:32:02]OFD Sender: No OFD packet to send [17:32:07]OFD Sender: No OFD packet to send [17:32:12]OFD Sender: No OFD packet to send [17:32:17]OFD Sender: No OFD packet to send [17:32:22]OFD Sender: No OFD packet to send [17:32:27]OFD Sender: No OFD packet to send [17:32:32]OFD Sender: No OFD packet to send [17:32:37]OFD Sender: No OFD packet to send [17:32:42]OFD Sender: No OFD packet to send [17:32:47]OFD Sender: No OFD packet to send [17:32:52]OFD Sender: No OFD packet to send [17:32:57]OFD Sender: No OFD packet to send [17:33:02]OFD Sender: No OFD packet to send [17:33:07]OFD Sender: No OFD packet to send [17:33:12]OFD Sender: No OFD packet to send [17:33:17]OFD Sender: No OFD packet to send [17:33:22]OFD Sender: No OFD packet to send [17:33:27]OFD Sender: No OFD packet to send [17:33:32]OFD Sender: No OFD packet to send [17:33:37]OFD Sender: No OFD packet to send [17:33:42]OFD Sender: No OFD packet to send [17:33:47]OFD Sender: No OFD packet to send [17:33:52]OFD Sender: No OFD packet to send [17:33:57]OFD Sender: No OFD packet to send [17:34:02]OFD Sender: No OFD packet to send [17:34:07]OFD Sender: No OFD packet to send [17:34:12]OFD Sender: No OFD packet to send [17:34:27]OFD Sender: No OFD packet to send [17:34:32]OFD Sender: No OFD packet to send [17:34:37]OFD Sender: No OFD packet to send [17:34:42]OFD Sender: No OFD packet to send [17:34:47]OFD Sender: No OFD packet to send [17:34:52]OFD Sender: No OFD packet to send [17:34:57]OFD Sender: No OFD packet to send [17:35:02]OFD Sender: No OFD packet to send [17:35:07]OFD Sender: No OFD packet to send [17:35:12]OFD Sender: No OFD packet to send [17:35:17]OFD Sender: No OFD packet to send [17:35:22]OFD Sender: No OFD packet to send [17:35:27]OFD Sender: No OFD packet to send [17:35:32]OFD Sender: No OFD packet to send [17:35:37]OFD Sender: No OFD packet to send [17:35:42]OFD Sender: No OFD packet to send [17:35:47]OFD Sender: No OFD packet to send [17:35:52]OFD Sender: No OFD packet to send [17:35:57]OFD Sender: No OFD packet to send [17:36:02]OFD Sender: No OFD packet to send [17:36:07]OFD Sender: No OFD packet to send [17:36:12]OFD Sender: No OFD packet to send [17:36:17]OFD Sender: No OFD packet to send [17:36:22]OFD Sender: No OFD packet to send [17:36:27]OFD Sender: No OFD packet to send [17:36:32]OFD Sender: No OFD packet to send [17:36:36]ConnectInit Can't connect to host [17:36:37]OFD Sender: No OFD packet to send [17:36:42]OFD Sender: No OFD packet to send [17:36:47]OFD Sender: No OFD packet to send [17:36:52]OFD Sender: No OFD packet to send [17:36:57]OFD Sender: No OFD packet to send [17:37:02]OFD Sender: No OFD packet to send [17:37:07]OFD Sender: No OFD packet to send [17:37:12]OFD Sender: No OFD packet to send [17:37:17]OFD Sender: No OFD packet to send [17:37:22]OFD Sender: No OFD packet to send [17:37:27]OFD Sender: No OFD packet to send [17:37:32]OFD Sender: No OFD packet to send [17:37:37]OFD Sender: No OFD packet to send [17:37:42]OFD Sender: No OFD packet to send [17:37:47]OFD Sender: No OFD packet to send [17:37:52]OFD Sender: No OFD packet to send [17:37:57]OFD Sender: No OFD packet to send [17:38:02]OFD Sender: No OFD packet to send [17:38:07]OFD Sender: No OFD packet to send [17:38:12]OFD Sender: No OFD packet to send [17:38:17]OFD Sender: No OFD packet to send [17:38:22]OFD Sender: No OFD packet to send [17:38:27]OFD Sender: No OFD packet to send [17:38:32]OFD Sender: No OFD packet to send [17:38:37]OFD Sender: No OFD packet to send [17:38:42]OFD Sender: No OFD packet to send [17:38:47]OFD Sender: No OFD packet to send [17:38:52]OFD Sender: No OFD packet to send [17:38:57]OFD Sender: No OFD packet to send [17:39:02]OFD Sender: No OFD packet to send [17:39:07]OFD Sender: No OFD packet to send [17:39:12]OFD Sender: No OFD packet to send [17:39:17]OFD Sender: No OFD packet to send [17:39:22]OFD Sender: No OFD packet to send [17:39:27]OFD Sender: No OFD packet to send [17:39:32]OFD Sender: No OFD packet to send [17:39:37]OFD Sender: No OFD packet to send [17:39:40]accept exits with 9 [17:39:40]New connection [17:39:40]New thread 3066793316 created [17:39:40]Thread 3066936676 joined [17:39:40]Waiting for new connection... [17:39:40] Sock 9.Parse request [17:39:40]Sock 9.Check first char [17:39:40]Sock 9.First char is OK [17:39:40]request: POST /json_proto HTTP/1.0 [17:39:40]Method: POST [17:39:40]URL: /json_proto [17:39:40]Method is POST - this is cgi request [17:39:40]url: /json_proto [17:39:40]query_string will be loaded in cgi processing [17:39:40]execute_cgi json_proto POST (null) [17:39:40]execute_cgi path=json_proto method=POST [17:39:40]POST find Content-Length [17:39:40]Host: 172.17.35.196:8080 [17:39:40]Content-Length: 215 [17:39:40]Content-Type: application/json [17:39:40] [17:39:40]POST finish read [17:39:40]Found Content-Length = 215 [17:39: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" ] } } [17:39:40]execute_script... [17:39: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" ] } } [17:39:40]POST & json_proto [17:39:40]process_json_proto [17:39:40]json parsed OK: [17:39:40]protocol is kg_v1.0 [17:39:40]action value=get_value [17:39:40]process_action get_value [17:39:40]cmd_get_value [17:39:40]process_action get_value done [17:39:40]requested_data is exist [17:39:40]produce_requested_data [17:39:40]requested_item kkm.sn is exist - process it [17:39:40]requested_item kkm.ver is exist - process it [17:39:40]requested_item fm.sn is exist - process it [17:39:40]wFMCommunicate request_size=4 [17:39:40]MH_SAM_APDU [17:39:40]CAPDU: 80 11 00 00 [17:39:40]Write to MH i2c: E2 08 00 F5 06 80 11 00 00 00 00 00 00 75 [17:39:40]Write i2c OK [17:39:40]MH_I2C_Read... [17:39:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:39:40]Read from MH i2c: E2 [17:39:40]MH_I2C_Read... [17:39:40]Read from MH i2c: E2 17 00 [17:39:40]MH_I2C_Read... [17:39:40]Read from MH i2c: E2 17 00 F5 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 C1 [17:39:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [17:39:40]wFMCommunicate OK [17:39:40]requested_item fd.num is exist - process it [17:39:40]SAM_PROTO_GetFieldsCounters [17:39:40]wFMCommunicate request_size=4 [17:39:40]MH_SAM_APDU [17:39:40]CAPDU: 80 13 00 00 [17:39:40]Write to MH i2c: E2 08 00 F6 06 80 13 00 00 00 00 00 00 78 [17:39:40]Write i2c OK [17:39:40]MH_I2C_Read... [17:39:40]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:39:40]Read from MH i2c: E2 [17:39:40]MH_I2C_Read... [17:39:40]Read from MH i2c: E2 62 00 [17:39:40]MH_I2C_Read... [17:39:40]Read from MH i2c: E2 62 00 F6 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 0B 82 00 00 0E 04 04 00 B0 01 00 00 12 04 04 00 2E 00 00 00 5E 04 04 00 2E 00 00 00 57 04 04 00 2F 00 00 00 19 04 04 00 00 00 00 00 90 00 53 [17:39: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 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 0B 82 00 00 0E 04 04 00 B0 01 00 00 12 04 04 00 2E 00 00 00 5E 04 04 00 2E 00 00 00 57 04 04 00 2F 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:39:40]wFMCommunicate OK [17:39:40]SAM_PROTO_GetFieldsCounters done [17:39:40]requested_item shift.num is exist - process it [17:39:40]requested_item shift.opened is exist - process it [17:39:40]req_shift_opened [17:39:40]FM_GetShiftState [17:39:40]SAM_PROTO_GetShiftState [17:39:40]wFMCommunicate request_size=4 [17:39:40]MH_SAM_APDU [17:39:40]CAPDU: 80 13 01 00 [17:39:40]Write to MH i2c: E2 08 00 F7 06 80 13 01 00 00 00 00 00 7A [17:39:40]Write i2c OK [17:39:40]MH_I2C_Read... [17:39:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:39:40]Read from MH i2c: E2 [17:39:40]MH_I2C_Read... [17:39:40]Read from MH i2c: E2 0E 00 [17:39:40]MH_I2C_Read... [17:39:40]Read from MH i2c: E2 0E 00 F7 06 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 AB [17:39:40]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [17:39:40]wFMCommunicate OK [17:39:40]SAM_PROTO_GetShiftState done [17:39:40]FM_GetShiftState done [17:39:40]req_shift_opened done [17:39:40]requested_item shift.open_date is exist - process it [17:39:40]req_shift_open_date [17:39:40]req_shift_open_date done [17:39:40]produce_requested_data done [17:39:40]produce_requested_data return {"kkm.sn":"0300000122","kkm.ver":"001","fm.sn":"0000000000875104","fd.num":33291,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398} [17:39:40]process_action_free get_value [17:39:40]json_value_free [17:39:40]json_value_free done [17:39:40]process_json_proto returns [17:39:40]Send response to host [17:39:40]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000122","kkm.ver":"001","fm.sn":"0000000000875104","fd.num":33291,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398}}} [17:39:40]free response buf [17:39:40]execute_script done [17:39:40]execute_script returns [17:39:40]free content buf [17:39:40]Sock 9.Close socket [17:39:40]Sock 9.Thread stoped [17:39:42]OFD Sender: No OFD packet to send [17:39:43]accept exits with 7 [17:39:43]New connection [17:39:43]New thread 3066936676 created [17:39:43]Thread 3066793316 joined [17:39:43]Waiting for new connection... [17:39:43] Sock 7.Parse request [17:39:43]Sock 7.Check first char [17:39:43]Sock 7.First char is OK [17:39:43]request: POST /json_proto HTTP/1.0 [17:39:43]Method: POST [17:39:43]URL: /json_proto [17:39:43]Method is POST - this is cgi request [17:39:43]url: /json_proto [17:39:43]query_string will be loaded in cgi processing [17:39:43]execute_cgi json_proto POST (null) [17:39:43]execute_cgi path=json_proto method=POST [17:39:43]POST find Content-Length [17:39:43]Host: 172.17.35.196:8080 [17:39:43]Content-Length: 331 [17:39:43]Content-Type: application/json [17:39:43] [17:39:43]POST finish read [17:39:43]Found Content-Length = 331 [17:39:43]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" ] } } [17:39:43]execute_script... [17:39:43]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" ] } } [17:39:43]POST & json_proto [17:39:43]process_json_proto [17:39:43]json parsed OK: [17:39:43]protocol is kg_v1.0 [17:39:43]action value=get_value [17:39:43]process_action get_value [17:39:43]cmd_get_value [17:39:43]process_action get_value done [17:39:43]requested_data is exist [17:39:43]produce_requested_data [17:39:43]requested_item fm.sale.total is exist - process it [17:39:43]SAM_PROTO_GetFMData [17:39:43]wFMCommunicate request_size=4 [17:39:43]MH_SAM_APDU [17:39:43]CAPDU: 80 13 03 00 [17:39:43]Write to MH i2c: E2 08 00 F8 06 80 13 03 00 00 00 00 00 7D [17:39:43]Write i2c OK [17:39:43]MH_I2C_Read... [17:39:44]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [17:39:44]Read from MH i2c: E2 [17:39:44]MH_I2C_Read... [17:39:44]Read from MH i2c: E2 FD 00 [17:39:44]MH_I2C_Read... [17:39:44]Read from MH i2c: E2 FD 00 F8 06 00 C4 04 85 04 C0 04 6E 04 04 00 AB 7E 00 00 69 04 A0 00 6F 04 04 00 CA 7D 00 00 B1 04 04 00 E0 EC 72 3F 70 04 04 00 E0 AB D6 34 72 04 04 00 00 41 9C 0A 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 C9 10 BD 06 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 CE B5 8F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 90 00 83 [17:39:44]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 AB 7E 00 00 69 04 A0 00 6F 04 04 00 CA 7D 00 00 B1 04 04 00 E0 EC 72 3F 70 04 04 00 E0 AB D6 34 72 04 04 00 00 41 9C 0A 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 C9 10 BD 06 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 CE B5 8F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 90 00 [17:39:44]wFMCommunicate OK [17:39:44]wFMCommunicate request_size=4 [17:39:44]MH_SAM_APDU [17:39:44]CAPDU: 80 17 00 00 [17:39:44]Write to MH i2c: E2 08 00 F9 06 80 17 00 00 00 00 00 00 7F [17:39:44]Write i2c OK [17:39:44]MH_I2C_Read... [17:39:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:39:44]Read from MH i2c: E2 [17:39:44]MH_I2C_Read... [17:39:44]Read from MH i2c: E2 FD 00 [17:39:44]MH_I2C_Read... [17:39:44]Read from MH i2c: E2 FD 00 F9 06 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 3C [17:39:44]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [17:39:44]wFMCommunicate OK [17:39:44]wFMCommunicate request_size=4 [17:39:44]MH_SAM_APDU [17:39:44]CAPDU: 80 17 00 00 [17:39:44]Write to MH i2c: E2 08 00 FA 06 80 17 00 00 00 00 00 00 80 [17:39:44]Write i2c OK [17:39:44]MH_I2C_Read... [17:39:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:39:44]Read from MH i2c: E2 [17:39:44]MH_I2C_Read... [17:39:44]Read from MH i2c: E2 FD 00 [17:39:44]MH_I2C_Read... [17:39:44]Read from MH i2c: E2 FD 00 FA 06 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 95 [17:39:44]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [17:39:44]wFMCommunicate OK [17:39:44]wFMCommunicate request_size=4 [17:39:44]MH_SAM_APDU [17:39:44]CAPDU: 80 17 00 00 [17:39:44]Write to MH i2c: E2 08 00 FB 06 80 17 00 00 00 00 00 00 81 [17:39:44]Write i2c OK [17:39:44]MH_I2C_Read... [17:39:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:39:44]Read from MH i2c: E2 [17:39:44]MH_I2C_Read... [17:39:44]Read from MH i2c: E2 FD 00 [17:39:45]MH_I2C_Read... [17:39:45]Read from MH i2c: E2 FD 00 FB 06 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 F9 [17:39:45]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [17:39:45]wFMCommunicate OK [17:39:45]wFMCommunicate request_size=4 [17:39:45]MH_SAM_APDU [17:39:45]CAPDU: 80 17 00 00 [17:39:45]Write to MH i2c: E2 08 00 FC 06 80 17 00 00 00 00 00 00 82 [17:39:45]Write i2c OK [17:39:45]MH_I2C_Read... [17:39:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [17:39:45]Read from MH i2c: E2 [17:39:45]MH_I2C_Read... [17:39:45]Read from MH i2c: E2 E1 00 [17:39:45]MH_I2C_Read... [17:39:45]Read from MH i2c: E2 E1 00 FC 06 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 70 [17:39:45]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [17:39:45]wFMCommunicate OK [17:39:45]SAM_PROTO_GetFMData done [17:39:45]requested_item fm.sale_refund.total is exist - process it [17:39:45]requested_item fm.buy.total is exist - process it [17:39:45]requested_item shift.sale.total is exist - process it [17:39:45]SAM_PROTO_GetShiftData [17:39:45]wFMCommunicate request_size=4 [17:39:45]MH_SAM_APDU [17:39:45]CAPDU: 80 13 02 00 [17:39:45]Write to MH i2c: E2 08 00 FD 06 80 13 02 00 00 00 00 00 81 [17:39:45]Write i2c OK [17:39:45]MH_I2C_Read... [17:39:45]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [17:39:45]Read from MH i2c: E2 [17:39:45]MH_I2C_Read... [17:39:45]Read from MH i2c: E2 FD 00 [17:39:45]MH_I2C_Read... [17:39:45]Read from MH i2c: E2 FD 00 FD 06 00 AE 04 AA 04 AA 04 6E 04 04 00 2E 00 00 00 69 04 9B 00 6F 04 04 00 2E 00 00 00 B1 04 03 00 87 1B 11 70 04 03 00 64 8C 0A 72 04 03 00 23 8F 06 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 2A D1 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 C3 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 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 E8 [17:39:45]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 2E 00 00 00 69 04 9B 00 6F 04 04 00 2E 00 00 00 B1 04 03 00 87 1B 11 70 04 03 00 64 8C 0A 72 04 03 00 23 8F 06 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 2A D1 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 C3 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 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [17:39:45]wFMCommunicate OK [17:39:45]wFMCommunicate request_size=4 [17:39:45]MH_SAM_APDU [17:39:45]CAPDU: 80 17 00 00 [17:39:45]Write to MH i2c: E2 08 00 FE 06 80 17 00 00 00 00 00 00 84 [17:39:45]Write i2c OK [17:39:45]MH_I2C_Read... [17:39:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:39:45]Read from MH i2c: E2 [17:39:45]MH_I2C_Read... [17:39:45]Read from MH i2c: E2 FD 00 [17:39:45]MH_I2C_Read... [17:39:46]Read from MH i2c: E2 FD 00 FE 06 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 A6 [17:39:46]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [17:39:46]wFMCommunicate OK [17:39:46]wFMCommunicate request_size=4 [17:39:46]MH_SAM_APDU [17:39:46]CAPDU: 80 17 00 00 [17:39:46]Write to MH i2c: E2 08 00 FF 06 80 17 00 00 00 00 00 00 85 [17:39:46]Write i2c OK [17:39:46]MH_I2C_Read... [17:39:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:39:46]Read from MH i2c: E2 [17:39:46]MH_I2C_Read... [17:39:46]Read from MH i2c: E2 FD 00 [17:39:46]MH_I2C_Read... [17:39:46]Read from MH i2c: E2 FD 00 FF 06 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 3C [17:39:46]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [17:39:46]wFMCommunicate OK [17:39:46]wFMCommunicate request_size=4 [17:39:46]MH_SAM_APDU [17:39:46]CAPDU: 80 17 00 00 [17:39:46]Write to MH i2c: E2 08 00 00 07 80 17 00 00 00 00 00 00 87 [17:39:46]Write i2c OK [17:39:46]MH_I2C_Read... [17:39:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:39:46]Read from MH i2c: E2 [17:39:46]MH_I2C_Read... [17:39:46]Read from MH i2c: E2 FD 00 [17:39:46]MH_I2C_Read... [17:39:46]Read from MH i2c: E2 FD 00 00 07 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 F9 [17:39:46]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [17:39:46]wFMCommunicate OK [17:39:46]wFMCommunicate request_size=4 [17:39:46]MH_SAM_APDU [17:39:46]CAPDU: 80 17 00 00 [17:39:46]Write to MH i2c: E2 08 00 01 07 80 17 00 00 00 00 00 00 88 [17:39:46]Write i2c OK [17:39:46]MH_I2C_Read... [17:39:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [17:39:46]Read from MH i2c: E2 [17:39:46]MH_I2C_Read... [17:39:46]Read from MH i2c: E2 CB 00 [17:39:46]MH_I2C_Read... [17:39:46]Read from MH i2c: E2 CB 00 01 07 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 71 [17:39:46]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [17:39:46]wFMCommunicate OK [17:39:46]SAM_PROTO_GetShiftData done [17:39:46]requested_item shift.sale.total_cash is exist - process it [17:39:46]requested_item shift.sale_refund.total is exist - process it [17:39:46]requested_item shift.sale_refund.total_cash is exist - process it [17:39:46]requested_item shift.buy.total is exist - process it [17:39:46]requested_item shift.buy.total_cash is exist - process it [17:39:46]produce_requested_data done [17:39:46]produce_requested_data return {"fm.sale.total":10644963.52,"fm.sale_refund.total":365383.00,"fm.buy.total":0.00,"shift.sale.total":11211.59,"shift.sale.total_cash":6913.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} [17:39:46]process_action_free get_value [17:39:46]json_value_free [17:39:46]json_value_free done [17:39:46]process_json_proto returns [17:39:46]Send response to host [17:39:46]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":10644963.52,"fm.sale_refund.total":365383.00,"fm.buy.total":0.00,"shift.sale.total":11211.59,"shift.sale.total_cash":6913.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}}} [17:39:46]free response buf [17:39:46]execute_script done [17:39:46]execute_script returns [17:39:46]free content buf [17:39:46]Sock 7.Close socket [17:39:46]Sock 7.Thread stoped [17:39:47]OFD Sender: No OFD packet to send [17:39:52]OFD Sender: No OFD packet to send [17:39:57]OFD Sender: No OFD packet to send [17:40:02]OFD Sender: No OFD packet to send [17:40:07]OFD Sender: No OFD packet to send [17:40:12]OFD Sender: No OFD packet to send [17:40:17]OFD Sender: No OFD packet to send [17:40:22]OFD Sender: No OFD packet to send [17:40:27]OFD Sender: No OFD packet to send [17:40:32]OFD Sender: No OFD packet to send [17:40:37]OFD Sender: No OFD packet to send [17:40:42]OFD Sender: No OFD packet to send [17:40:47]OFD Sender: No OFD packet to send [17:40:52]OFD Sender: No OFD packet to send [17:40:57]OFD Sender: No OFD packet to send [17:41:02]OFD Sender: No OFD packet to send [17:41:07]OFD Sender: No OFD packet to send [17:41:12]OFD Sender: No OFD packet to send [17:41:17]OFD Sender: No OFD packet to send [17:41:22]OFD Sender: No OFD packet to send [17:41:27]OFD Sender: No OFD packet to send [17:41:32]OFD Sender: No OFD packet to send [17:41:37]OFD Sender: No OFD packet to send [17:41:43]OFD Sender: No OFD packet to send [17:41:48]OFD Sender: No OFD packet to send [17:41:53]OFD Sender: No OFD packet to send [17:41:58]OFD Sender: No OFD packet to send [17:42:03]OFD Sender: No OFD packet to send [17:42:08]OFD Sender: No OFD packet to send [17:42:13]OFD Sender: No OFD packet to send [17:42:18]OFD Sender: No OFD packet to send [17:42:23]OFD Sender: No OFD packet to send [17:42:28]OFD Sender: No OFD packet to send [17:42:33]OFD Sender: No OFD packet to send [17:42:38]OFD Sender: No OFD packet to send [17:42:43]OFD Sender: No OFD packet to send [17:42:48]OFD Sender: No OFD packet to send [17:42:53]OFD Sender: No OFD packet to send [17:42:58]OFD Sender: No OFD packet to send [17:43:03]OFD Sender: No OFD packet to send [17:43:08]OFD Sender: No OFD packet to send [17:43:13]OFD Sender: No OFD packet to send [17:43:18]OFD Sender: No OFD packet to send [17:43:23]OFD Sender: No OFD packet to send [17:43:28]OFD Sender: No OFD packet to send [17:43:33]OFD Sender: No OFD packet to send [17:43:38]OFD Sender: No OFD packet to send [17:43:43]OFD Sender: No OFD packet to send [17:43:48]OFD Sender: No OFD packet to send [17:43:53]OFD Sender: No OFD packet to send [17:43:58]OFD Sender: No OFD packet to send [17:44:03]OFD Sender: No OFD packet to send [17:44:08]OFD Sender: No OFD packet to send [17:44:13]OFD Sender: No OFD packet to send [17:44:18]OFD Sender: No OFD packet to send [17:44:23]OFD Sender: No OFD packet to send [17:44:28]OFD Sender: No OFD packet to send [17:44:33]OFD Sender: No OFD packet to send [17:44:38]OFD Sender: No OFD packet to send [17:44:43]OFD Sender: No OFD packet to send [17:44:48]OFD Sender: No OFD packet to send [17:44:53]OFD Sender: No OFD packet to send [17:44:58]OFD Sender: No OFD packet to send [17:45:03]OFD Sender: No OFD packet to send [17:45:08]OFD Sender: No OFD packet to send [17:45:13]OFD Sender: No OFD packet to send [17:45:18]OFD Sender: No OFD packet to send [17:45:23]OFD Sender: No OFD packet to send [17:45:28]OFD Sender: No OFD packet to send [17:45:33]OFD Sender: No OFD packet to send [17:45:38]OFD Sender: No OFD packet to send [17:45:43]OFD Sender: No OFD packet to send [17:45:48]OFD Sender: No OFD packet to send [17:45:53]OFD Sender: No OFD packet to send [17:45:58]OFD Sender: No OFD packet to send [17:46:03]OFD Sender: No OFD packet to send [17:46:08]OFD Sender: No OFD packet to send [17:46:13]OFD Sender: No OFD packet to send [17:46:18]OFD Sender: No OFD packet to send [17:46:23]OFD Sender: No OFD packet to send [17:46:28]OFD Sender: No OFD packet to send [17:46:33]OFD Sender: No OFD packet to send [17:46:38]OFD Sender: No OFD packet to send [17:46:43]OFD Sender: No OFD packet to send [17:46:48]OFD Sender: No OFD packet to send [17:46:53]OFD Sender: No OFD packet to send [17:46:58]OFD Sender: No OFD packet to send [17:47:03]OFD Sender: No OFD packet to send [17:47:08]OFD Sender: No OFD packet to send [17:47:13]OFD Sender: No OFD packet to send [17:47:18]OFD Sender: No OFD packet to send [17:47:23]OFD Sender: No OFD packet to send [17:47:28]OFD Sender: No OFD packet to send [17:47:33]OFD Sender: No OFD packet to send [17:47:38]OFD Sender: No OFD packet to send [17:47:43]OFD Sender: No OFD packet to send [17:47:48]OFD Sender: No OFD packet to send [17:47:53]OFD Sender: No OFD packet to send [17:47:58]OFD Sender: No OFD packet to send [17:48:03]OFD Sender: No OFD packet to send [17:48:08]OFD Sender: No OFD packet to send [17:48:13]OFD Sender: No OFD packet to send [17:48:18]OFD Sender: No OFD packet to send [17:48:23]OFD Sender: No OFD packet to send [17:48:28]OFD Sender: No OFD packet to send [17:48:33]OFD Sender: No OFD packet to send [17:48:38]OFD Sender: No OFD packet to send [17:48:43]OFD Sender: No OFD packet to send [17:48:48]OFD Sender: No OFD packet to send [17:48:53]OFD Sender: No OFD packet to send [17:48:58]OFD Sender: No OFD packet to send [17:49:03]OFD Sender: No OFD packet to send [17:49:08]OFD Sender: No OFD packet to send [17:49:13]OFD Sender: No OFD packet to send [17:49:18]OFD Sender: No OFD packet to send [17:49:23]OFD Sender: No OFD packet to send [17:49:28]OFD Sender: No OFD packet to send [17:49:33]OFD Sender: No OFD packet to send [17:49:38]OFD Sender: No OFD packet to send [17:49:43]OFD Sender: No OFD packet to send [17:49:48]OFD Sender: No OFD packet to send [17:49:53]OFD Sender: No OFD packet to send [17:49:58]OFD Sender: No OFD packet to send [17:50:03]OFD Sender: No OFD packet to send [17:50:08]OFD Sender: No OFD packet to send [17:50:13]OFD Sender: No OFD packet to send [17:50:18]OFD Sender: No OFD packet to send [17:50:23]OFD Sender: No OFD packet to send [17:50:28]OFD Sender: No OFD packet to send [17:50:33]OFD Sender: No OFD packet to send [17:50:38]OFD Sender: No OFD packet to send [17:50:43]OFD Sender: No OFD packet to send [17:50:48]OFD Sender: No OFD packet to send [17:50:53]OFD Sender: No OFD packet to send [17:50:58]OFD Sender: No OFD packet to send [17:51:03]OFD Sender: No OFD packet to send [17:51:08]OFD Sender: No OFD packet to send [17:51:13]OFD Sender: No OFD packet to send [17:51:18]OFD Sender: No OFD packet to send [17:51:23]OFD Sender: No OFD packet to send [17:51:28]OFD Sender: No OFD packet to send [17:51:33]OFD Sender: No OFD packet to send [17:51:38]OFD Sender: No OFD packet to send [17:51:43]OFD Sender: No OFD packet to send [17:51:48]OFD Sender: No OFD packet to send [17:51:53]OFD Sender: No OFD packet to send [17:51:58]OFD Sender: No OFD packet to send [17:52:03]OFD Sender: No OFD packet to send [17:52:08]OFD Sender: No OFD packet to send [17:52:13]OFD Sender: No OFD packet to send [17:52:18]OFD Sender: No OFD packet to send [17:52:23]OFD Sender: No OFD packet to send [17:52:28]OFD Sender: No OFD packet to send [17:52:33]OFD Sender: No OFD packet to send [17:52:38]OFD Sender: No OFD packet to send [17:52:43]OFD Sender: No OFD packet to send [17:52:48]OFD Sender: No OFD packet to send [17:52:53]OFD Sender: No OFD packet to send [17:52:58]OFD Sender: No OFD packet to send [17:53:03]OFD Sender: No OFD packet to send [17:53:08]OFD Sender: No OFD packet to send [17:53:13]OFD Sender: No OFD packet to send [17:53:18]OFD Sender: No OFD packet to send [17:53:23]OFD Sender: No OFD packet to send [17:53:28]OFD Sender: No OFD packet to send [17:53:33]OFD Sender: No OFD packet to send [17:53:38]OFD Sender: No OFD packet to send [17:53:43]OFD Sender: No OFD packet to send [17:53:48]OFD Sender: No OFD packet to send [17:53:53]OFD Sender: No OFD packet to send [17:53:58]OFD Sender: No OFD packet to send [17:54:03]OFD Sender: No OFD packet to send [17:54:08]OFD Sender: No OFD packet to send [17:54:13]OFD Sender: No OFD packet to send [17:54:18]OFD Sender: No OFD packet to send [17:54:23]OFD Sender: No OFD packet to send [17:54:28]OFD Sender: No OFD packet to send [17:54:33]OFD Sender: No OFD packet to send [17:54:38]OFD Sender: No OFD packet to send [17:54:43]OFD Sender: No OFD packet to send [17:54:48]OFD Sender: No OFD packet to send [17:54:53]OFD Sender: No OFD packet to send [17:54:58]OFD Sender: No OFD packet to send [17:55:03]OFD Sender: No OFD packet to send [17:55:08]OFD Sender: No OFD packet to send [17:55:13]OFD Sender: No OFD packet to send [17:55:18]OFD Sender: No OFD packet to send [17:55:23]OFD Sender: No OFD packet to send [17:55:28]OFD Sender: No OFD packet to send [17:55:33]OFD Sender: No OFD packet to send [17:55:38]OFD Sender: No OFD packet to send [17:55:43]OFD Sender: No OFD packet to send [17:55:48]OFD Sender: No OFD packet to send [17:55:53]OFD Sender: No OFD packet to send [17:55:58]OFD Sender: No OFD packet to send [17:56:03]OFD Sender: No OFD packet to send [17:56:08]OFD Sender: No OFD packet to send [17:56:13]OFD Sender: No OFD packet to send [17:56:18]OFD Sender: No OFD packet to send [17:56:23]OFD Sender: No OFD packet to send [17:56:28]OFD Sender: No OFD packet to send [17:56:33]OFD Sender: No OFD packet to send [17:56:38]OFD Sender: No OFD packet to send [17:56:43]OFD Sender: No OFD packet to send [17:56:48]OFD Sender: No OFD packet to send [17:56:53]OFD Sender: No OFD packet to send [17:56:58]OFD Sender: No OFD packet to send [17:57:03]OFD Sender: No OFD packet to send [17:57:08]OFD Sender: No OFD packet to send [17:57:13]OFD Sender: No OFD packet to send [17:57:18]OFD Sender: No OFD packet to send [17:57:23]OFD Sender: No OFD packet to send [17:57:28]OFD Sender: No OFD packet to send [17:57:33]OFD Sender: No OFD packet to send [17:57:38]OFD Sender: No OFD packet to send [17:57:43]OFD Sender: No OFD packet to send [17:57:48]OFD Sender: No OFD packet to send [17:57:53]OFD Sender: No OFD packet to send [17:57:58]OFD Sender: No OFD packet to send [17:58:03]OFD Sender: No OFD packet to send [17:58:08]OFD Sender: No OFD packet to send [17:58:13]OFD Sender: No OFD packet to send [17:58:18]OFD Sender: No OFD packet to send [17:58:23]OFD Sender: No OFD packet to send [17:58:28]OFD Sender: No OFD packet to send [17:58:33]OFD Sender: No OFD packet to send [17:58:38]OFD Sender: No OFD packet to send [17:58:43]OFD Sender: No OFD packet to send [17:58:48]OFD Sender: No OFD packet to send [17:58:53]OFD Sender: No OFD packet to send [17:58:58]OFD Sender: No OFD packet to send [17:59:03]OFD Sender: No OFD packet to send [17:59:08]OFD Sender: No OFD packet to send [17:59:13]OFD Sender: No OFD packet to send [17:59:18]OFD Sender: No OFD packet to send [17:59:23]OFD Sender: No OFD packet to send [17:59:28]OFD Sender: No OFD packet to send [17:59:33]OFD Sender: No OFD packet to send [17:59:38]OFD Sender: No OFD packet to send [17:59:43]OFD Sender: No OFD packet to send [17:59:48]OFD Sender: No OFD packet to send [17:59:53]OFD Sender: No OFD packet to send [17:59:58]OFD Sender: No OFD packet to send [18:00:03]OFD Sender: No OFD packet to send [18:00:08]OFD Sender: No OFD packet to send [18:00:13]OFD Sender: No OFD packet to send [18:00:18]OFD Sender: No OFD packet to send [18:00:23]OFD Sender: No OFD packet to send [18:00:28]OFD Sender: No OFD packet to send [18:00:30]accept exits with 9 [18:00:30]New connection [18:00:30]New thread 3066793316 created [18:00:30]Thread 3066936676 joined [18:00:30]Waiting for new connection... [18:00:30] Sock 9.Parse request [18:00:30]Sock 9.Check first char [18:00:30]Sock 9.First char is OK [18:00:30]request: POST /json_proto HTTP/1.0 [18:00:30]Method: POST [18:00:30]URL: /json_proto [18:00:30]Method is POST - this is cgi request [18:00:30]url: /json_proto [18:00:30]query_string will be loaded in cgi processing [18:00:30]execute_cgi json_proto POST (null) [18:00:30]execute_cgi path=json_proto method=POST [18:00:30]POST find Content-Length [18:00:30]Host: 172.17.35.196:8080 [18:00:30]Content-Length: 642 [18:00:30]Content-Type: application/json [18:00:30] [18:00:30]POST finish read [18:00:30]Found Content-Length = 642 [18:00:30]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169125", "tax_sys" : 0, "items" : [ { "code": "46116482", "name": "\u0416\u0435\u0432 Orbit \u044F\u0433\u043E\u0434\u043D\u044B\u0439 \u043C\u0438\u043A\u0441", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 45.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:00:30]execute_script... [18:00: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)169125", "tax_sys" : 0, "items" : [ { "code": "46116482", "name": "\u0416\u0435\u0432 Orbit \u044F\u0433\u043E\u0434\u043D\u044B\u0439 \u043C\u0438\u043A\u0441", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 45.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:00:30]POST & json_proto [18:00:30]process_json_proto [18:00:30]json parsed OK: [18:00:30]protocol is kg_v1.0 [18:00:30]action value=close_receipt [18:00:30]process_action close_receipt [18:00:30]cmd_close_receipt [18:00:30]MH_GetDate [18:00:30]Write to MH i2c: F0 00 00 02 07 F8 [18:00:30]Write i2c OK [18:00:30]MH_I2C_Read... [18:00:30]Read from MH i2c: F0 [18:00:30]MH_I2C_Read... [18:00:30]Read from MH i2c: F0 09 00 [18:00:30]MH_I2C_Read... [18:00:30]Read from MH i2c: F0 09 00 02 07 00 BF 1D 90 66 AD 14 F4 65 ED [18:00:30]GetLastDocTimeStamp 1720718525 [18:00:30]current date 1720720831 [18:00:30]FM_GetShiftState [18:00:30]SAM_PROTO_GetShiftState [18:00:30]wFMCommunicate request_size=4 [18:00:30]MH_SAM_APDU [18:00:30]CAPDU: 80 13 01 00 [18:00:30]Write to MH i2c: E2 08 00 03 07 80 13 01 00 00 00 00 00 87 [18:00:30]Write i2c OK [18:00:30]MH_I2C_Read... [18:00:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:00:30]Read from MH i2c: E2 [18:00:30]MH_I2C_Read... [18:00:30]Read from MH i2c: E2 0E 00 [18:00:30]MH_I2C_Read... [18:00:30]Read from MH i2c: E2 0E 00 03 07 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 B8 [18:00:30]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [18:00:30]wFMCommunicate OK [18:00:30]SAM_PROTO_GetShiftState done [18:00:30]FM_GetShiftState done [18:00:30]opened in 1720656398 [18:00:30]opened+sec_in_day 1720742798 [18:00:30]quantity*price = 4500 [18:00:30]sum+1 = 4501 [18:00:30]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 45.00 НСП 1% : 0.40 НДС 12% : 4.78 Наличными: 45.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 47 11.07.2024 18:00 Смена: 432 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33292 ФПД: 73316501868697 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T180032&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33292&fm=73316501868697&tin=02508201610067®Number=0000000000093033&sum=4500 0 [18:00:31]StoreToDocumentArchive [18:00:31]shift 432 fd 33292 [18:00:31]save to /storage/0432/doc_00033292 [18:00:31]save last doc name /storage/0432/doc_00033292 to /storage/kkm_last_doc_name [18:00:31]save OK [18:00:31]Clear old archive folders... [18:00:31]ProcessDocumentItem done err = 0, tmpTLVsize=273 [18:00:31]tlvbuf is 01C3FD90 [18:00:31]SAM_PROTO_ClearQueue [18:00:31]wFMCommunicate request_size=4 [18:00:31]MH_SAM_APDU [18:00:31]CAPDU: 80 09 00 00 [18:00:31]Write to MH i2c: E2 08 00 10 07 80 09 00 00 00 00 00 00 89 [18:00:31]Write i2c OK [18:00:31]MH_I2C_Read... [18:00:31]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:00:31]Read from MH i2c: E2 [18:00:31]MH_I2C_Read... [18:00:31]Read from MH i2c: E2 03 00 [18:00:31]MH_I2C_Read... [18:00:31]Read from MH i2c: E2 03 00 10 07 00 90 00 8B [18:00:31]RAPDU: 90 00 [18:00:31]wFMCommunicate OK [18:00:31]SAM_PROTO_ClearQueue done [18:00:31]KKMCreateOFDPacket [18:00:31]OFDProtocolAddRootSTLVToBuf [18:00:31]FM_MakeSignedData [18:00:31]FM_MakeSignedData [18:00:31]SAM_PROTO_SignData [18:00:31]wFMCommunicate request_size=4 [18:00:31]MH_SAM_APDU [18:00:31]CAPDU: 80 0D 01 02 [18:00:31]Write to MH i2c: E2 08 00 11 07 80 0D 01 02 00 00 00 00 91 [18:00:31]Write i2c OK [18:00:31]MH_I2C_Read... [18:00:31]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:00:31]Read from MH i2c: E2 [18:00:31]MH_I2C_Read... [18:00:31]Read from MH i2c: E2 03 00 [18:00:31]MH_I2C_Read... [18:00:31]Read from MH i2c: E2 03 00 11 07 00 90 00 8C [18:00:31]RAPDU: 90 00 [18:00:31]wFMCommunicate OK [18:00:31]wFMCommunicate request_size=255 [18:00:31]MH_SAM_APDU [18:00:31]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 31 31 36 34 38 32 06 04 24 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D1 8F D0 B3 D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D0 BC D0 B8 D0 BA D1 81 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 C0 1D 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 [18:00:31]Write to MH i2c: E2 02 01 12 07 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 31 31 36 34 38 32 06 04 24 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D1 8F D0 B3 D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D0 BC D0 B8 D0 BA D1 81 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 C0 1D 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 00 00 3F [18:00:31]Write i2c OK [18:00:31]MH_I2C_Read... [18:00:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:00:32]Read from MH i2c: E2 [18:00:32]MH_I2C_Read... [18:00:32]Read from MH i2c: E2 03 00 [18:00:32]MH_I2C_Read... [18:00:32]Read from MH i2c: E2 03 00 12 07 00 90 00 8D [18:00:32]RAPDU: 90 00 [18:00:32]wFMCommunicate OK [18:00:32]wFMCommunicate request_size=32 [18:00:32]MH_SAM_APDU [18:00:32]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 35 31 30 34 10 04 04 00 0C 82 00 00 35 04 06 00 42 AE 54 0C D0 99 [18:00:32]Write to MH i2c: E2 23 00 13 07 80 0D 02 02 1B 00 30 30 30 38 37 35 31 30 34 10 04 04 00 0C 82 00 00 35 04 06 00 42 AE 54 0C D0 99 00 00 31 [18:00:32]Write i2c OK [18:00:32]MH_I2C_Read... [18:00:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:00:32]Read from MH i2c: E2 [18:00:32]MH_I2C_Read... [18:00:32]Read from MH i2c: E2 03 00 [18:00:32]MH_I2C_Read... [18:00:32]Read from MH i2c: E2 03 00 13 07 00 90 00 8E [18:00:32]RAPDU: 90 00 [18:00:32]wFMCommunicate OK [18:00:32]wFMCommunicate request_size=4 [18:00:32]MH_SAM_APDU [18:00:32]CAPDU: 80 0D 03 02 [18:00:32]Write to MH i2c: E2 08 00 14 07 80 0D 03 02 00 00 00 00 96 [18:00:32]Write i2c OK [18:00:32]MH_I2C_Read... [18:00:32]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:00:32]Read from MH i2c: E2 [18:00:32]MH_I2C_Read... [18:00:32]Read from MH i2c: E2 0B 00 [18:00:32]MH_I2C_Read... [18:00:32]Read from MH i2c: E2 0B 00 14 07 00 D6 E9 A5 3A 95 8F 1C 1A 90 00 8F [18:00:32]RAPDU: D6 E9 A5 3A 95 8F 1C 1A 90 00 [18:00:32]wFMCommunicate OK [18:00:32]SAM_PROTO_SignData done [18:00:32]FM_MakeSignedData done [18:00:32]CreateOFDProtocolMessage [18:00:32]wFMCommunicate request_size=4 [18:00:32]MH_SAM_APDU [18:00:32]CAPDU: 80 11 00 00 [18:00:32]Write to MH i2c: E2 08 00 15 07 80 11 00 00 00 00 00 00 96 [18:00:32]Write i2c OK [18:00:32]MH_I2C_Read... [18:00:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:00:32]Read from MH i2c: E2 [18:00:32]MH_I2C_Read... [18:00:32]Read from MH i2c: E2 17 00 [18:00:32]MH_I2C_Read... [18:00:32]Read from MH i2c: E2 17 00 15 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 E2 [18:00:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [18:00:32]wFMCommunicate OK [18:00:32]CreateOFDProtocolMessage done [18:00:32]OFDSenderStorePacket 33292 [18:00:32]StoreOFDPacket docnum=33292 [18:00:32]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 25 01 00 00 4E A4 1D 01 FC D9 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 31 31 36 34 38 32 06 04 24 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D1 8F D0 B3 D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D0 BC D0 B8 D0 BA D1 81 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 C0 1D 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 0C 82 00 00 35 04 06 00 42 AE 54 0C D0 99 D6 E9 A5 3A 95 8F 1C 1A [18:00:32]CheckFolder [18:00:32]dirname=/storage/ofd_packets [18:00:32]CheckFolder done [18:00:32]ProducePacketName [18:00:32]name=ofd_packets/00033292 [18:00:32]NVStorageSaveData ofd_packets/00033292 [18:00:32]File name is /storage/ofd_packets/00033292 [18:00:32]Write 323 bytes [18:00:32]NVStorageSaveData done [18:00:32]OFDSenderStorePacket done [18:00:32]KKMCreateOFDPacket done [18:00:32]NVStorageSaveData kkm_last_timestamp [18:00:32]File name is /storage/kkm_last_timestamp [18:00:32]Write 4 bytes [18:00:32]NVStorageSaveData done [18:00:32]ExternCall_PrintAddStr [18:00:32]wPrintStart [18:00:32]Write to MH i2c: 01 00 00 16 07 1D [18:00:32]Write i2c OK [18:00:32]MH_I2C_Read... [18:00:32]Read from MH i2c: 01 [18:00:32]MH_I2C_Read... [18:00:32]Read from MH i2c: 01 07 00 [18:00:32]MH_I2C_Read... [18:00:32]Read from MH i2c: 01 07 00 16 07 00 00 00 00 00 FF 0F 32 [18:00:32]RasterBufferAndPrint [18:00:32]line Счет N : (3)169125 [18:00:32]line ИНН: 02508201610067 [18:00:32]line Контрольно-Кассовый Чек [18:00:32]line ПРОДАЖА [18:00:32]line Товар: 46116482 [18:00:32]line Жев Orbit ягодный микс [18:00:32]line 1.000 * 45.00 [18:00:32]line = 45.00 [18:00:32]line НДС 12% НСП 1% [18:00:32]line > о реализуемом товаре [18:00:32]line ИТОГО: 45.00 [18:00:32]line НСП 1% : 0.40 [18:00:32]line НДС 12% : 4.78 [18:00:32]line Наличными: 45.00 [18:00:32]line Безнал.: 0.00 [18:00:32]line Место: АЗС № 77 "Партнер Нефть" [18:00:32]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [18:00:32]line СНО: Общий режим [18:00:32]line Чек 47 11.07.2024 18:00 [18:00:32]line Смена: 432 ФФД: 1.0 [18:00:32]line ЗНМ: 0300000122 [18:00:32]line РНМ: 0000000000093033 [18:00:32]line Версия ККМ: 001 [18:00:32]line ФМ: 0000000000875104 [18:00:32]line ФД: 33292 [18:00:32]line ФПД: 73316501868697 [18:00:32]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T180032&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33292&fm=73316501868697&tin=02508201610067®Number=0000000000093033&sum=4500 [18:00:32]OFD Sender: Processing packet 33292 [packets to send 6, broken 5] [18:00:32]ProducePacketName [18:00:32]name=ofd_packets/00033292 [18:00:32]OFD Sender: To server: pG, [18:00:32]CommunicateWithHost lk.salyk.kg:30040 [18:00:32]ConnectInit lk.salyk.kg [18:00:32]line 0 [18:00:32]written 0, free lines is 4095 [18:00:32]Connected sock=10 [18:00:32]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 25 01 00 00 4E A4 1D 01 FC D9 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 31 31 36 34 38 32 06 04 24 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D1 8F D0 B3 D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D0 BC D0 B8 D0 BA D1 81 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 C0 1D 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 0C 82 00 00 35 04 06 00 42 AE 54 0C D0 99 D6 E9 A5 3A 95 8F 1C 1A [18:00:32]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 A4 86 47 00 A8 FE A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 0C 82 00 00 F4 03 04 00 6F C8 8F 66 B6 04 01 00 00 61 B3 CA 29 0E 5C B2 3F [18:00:32]CommunicateWithHost err = 0 [18:00:32]CheckOFDResponse [18:00:32]1017 (14) - 77093643461234 [18:00:32]1041 (16) - 0000000000875104 [18:00:32]1040 (4) - 33292 [18:00:32]1012 (4) - 11.07.2024 11:56 [18:00:32]1206 (1) - 0 [18:00:32]OFD Sender: Remove packet 33292 [18:00:32]ProducePacketName [18:00:32]name=ofd_packets/00033292 [18:00:32]NVStorageDeleteData [18:00:33]Write to MH i2c: 01 00 00 3E 07 45 [18:00:33]Write i2c OK [18:00:33]MH_I2C_Read... [18:00:33]Read from MH i2c: 01 [18:00:33]MH_I2C_Read... [18:00:33]Read from MH i2c: 01 07 00 [18:00:33]MH_I2C_Read... [18:00:33]Read from MH i2c: 01 07 00 3E 07 00 00 00 00 00 FB 0C 53 [18:00:33]RasterBufferAndPrint [18:00:33]line [18:00:33]line [18:00:33]line [18:00:33]line [18:00:33]line [18:00:33]written 0, free lines is 3329 [18:00:33]MH_Cut [18:00:33]Write to MH i2c: D1 01 00 45 07 01 1E [18:00:33]Write i2c OK [18:00:33]MH_I2C_Read... [18:00:33]Read from MH i2c: D1 [18:00:33]MH_I2C_Read... [18:00:33]Read from MH i2c: D1 01 00 [18:00:33]MH_I2C_Read... [18:00:33]Read from MH i2c: D1 01 00 45 07 00 1D [18:00:33]Write to MH i2c: 01 00 00 46 07 4D [18:00:33]Write i2c OK [18:00:33]MH_I2C_Read... [18:00:33]OFD Sender: No OFD packet to send [18:00:33]*** Cut start [18:00:33]*** Partial cut [18:00:33]*** CUTSNS_PIN = 1 [18:00:33]*** CUTSNS_PIN = 0 [18:00:34]*** Brake cut motor [18:00:34]Read from MH i2c: 01 [18:00:34]MH_I2C_Read... [18:00:34]*** Stop cut motor [18:00:34]*** Cut end [18:00:34]Read from MH i2c: 01 07 00 [18:00:34]MH_I2C_Read... [18:00:34]Read from MH i2c: 01 07 00 46 07 00 00 00 00 00 FF 0F 62 [18:00:34]process_action close_receipt done [18:00:34]requested_data is exist [18:00:34]produce_requested_data [18:00:34]requested_item fm.sn is exist - process it [18:00:34]wFMCommunicate request_size=4 [18:00:34]MH_SAM_APDU [18:00:34]CAPDU: 80 11 00 00 [18:00:34]Write to MH i2c: E2 08 00 47 07 80 11 00 00 00 00 00 00 C8 [18:00:34]Write i2c OK [18:00:34]MH_I2C_Read... [18:00:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:00:34]Read from MH i2c: E2 [18:00:34]MH_I2C_Read... [18:00:34]Read from MH i2c: E2 17 00 [18:00:34]MH_I2C_Read... [18:00:34]Read from MH i2c: E2 17 00 47 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 14 [18:00:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [18:00:34]wFMCommunicate OK [18:00:34]requested_item fd.num is exist - process it [18:00:34]SAM_PROTO_GetFieldsCounters [18:00:34]wFMCommunicate request_size=4 [18:00:34]MH_SAM_APDU [18:00:34]CAPDU: 80 13 00 00 [18:00:34]Write to MH i2c: E2 08 00 48 07 80 13 00 00 00 00 00 00 CB [18:00:34]Write i2c OK [18:00:34]MH_I2C_Read... [18:00:34]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:00:34]Read from MH i2c: E2 [18:00:34]MH_I2C_Read... [18:00:34]Read from MH i2c: E2 62 00 [18:00:34]MH_I2C_Read... [18:00:34]Read from MH i2c: E2 62 00 48 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 0C 82 00 00 0E 04 04 00 B0 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 AA [18:00: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 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 0C 82 00 00 0E 04 04 00 B0 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 [18:00:34]wFMCommunicate OK [18:00:34]SAM_PROTO_GetFieldsCounters done [18:00:34]requested_item shift.num is exist - process it [18:00:34]requested_item shift.opened is exist - process it [18:00:34]req_shift_opened [18:00:34]FM_GetShiftState [18:00:34]SAM_PROTO_GetShiftState [18:00:34]wFMCommunicate request_size=4 [18:00:34]MH_SAM_APDU [18:00:34]CAPDU: 80 13 01 00 [18:00:34]Write to MH i2c: E2 08 00 49 07 80 13 01 00 00 00 00 00 CD [18:00:34]Write i2c OK [18:00:34]MH_I2C_Read... [18:00:34]Read from MH i2c: E2 [18:00:34]MH_I2C_Read... [18:00:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:00:34]Read from MH i2c: E2 0E 00 [18:00:34]MH_I2C_Read... [18:00:34]Read from MH i2c: E2 0E 00 49 07 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 FE [18:00:34]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [18:00:34]wFMCommunicate OK [18:00:34]SAM_PROTO_GetShiftState done [18:00:34]FM_GetShiftState done [18:00:34]req_shift_opened done [18:00:34]requested_item shift.open_date is exist - process it [18:00:34]req_shift_open_date [18:00:34]req_shift_open_date done [18:00:34]produce_requested_data done [18:00:34]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33292,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398} [18:00:34]process_action_free close_receipt [18:00:34]json_value_free [18:00:34]json_value_free done [18:00:34]process_json_proto returns [18:00:34]Send response to host [18:00:34]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33292,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398}}} [18:00:34]free response buf [18:00:34]execute_script done [18:00:34]execute_script returns [18:00:34]free content buf [18:00:34]Sock 9.Close socket [18:00:34]Sock 9.Thread stoped [18:00:38]OFD Sender: No OFD packet to send [18:00:43]OFD Sender: No OFD packet to send [18:00:48]OFD Sender: No OFD packet to send [18:00:53]OFD Sender: No OFD packet to send [18:00:58]OFD Sender: No OFD packet to send [18:01:03]OFD Sender: No OFD packet to send [18:01:08]OFD Sender: No OFD packet to send [18:01:13]OFD Sender: No OFD packet to send [18:01:18]OFD Sender: No OFD packet to send [18:01:23]OFD Sender: No OFD packet to send [18:01:28]OFD Sender: No OFD packet to send [18:01:33]OFD Sender: No OFD packet to send [18:01:38]OFD Sender: No OFD packet to send [18:01:43]OFD Sender: No OFD packet to send [18:01:48]OFD Sender: No OFD packet to send [18:01:53]OFD Sender: No OFD packet to send [18:01:58]OFD Sender: No OFD packet to send [18:02:03]OFD Sender: No OFD packet to send [18:02:08]OFD Sender: No OFD packet to send [18:02:13]OFD Sender: No OFD packet to send [18:02:18]OFD Sender: No OFD packet to send [18:02:23]OFD Sender: No OFD packet to send [18:02:28]OFD Sender: No OFD packet to send [18:02:33]OFD Sender: No OFD packet to send [18:02:38]OFD Sender: No OFD packet to send [18:02:43]OFD Sender: No OFD packet to send [18:02:48]OFD Sender: No OFD packet to send [18:02:53]OFD Sender: No OFD packet to send [18:02:58]OFD Sender: No OFD packet to send [18:03:03]OFD Sender: No OFD packet to send [18:03:08]OFD Sender: No OFD packet to send [18:03:13]OFD Sender: No OFD packet to send [18:03:18]OFD Sender: No OFD packet to send [18:03:23]OFD Sender: No OFD packet to send [18:03:28]OFD Sender: No OFD packet to send [18:03:33]OFD Sender: No OFD packet to send [18:03:38]OFD Sender: No OFD packet to send [18:03:43]OFD Sender: No OFD packet to send [18:03:48]OFD Sender: No OFD packet to send [18:03:53]OFD Sender: No OFD packet to send [18:03:58]OFD Sender: No OFD packet to send [18:04:03]OFD Sender: No OFD packet to send [18:04:08]OFD Sender: No OFD packet to send [18:04:13]OFD Sender: No OFD packet to send [18:04:18]OFD Sender: No OFD packet to send [18:04:23]OFD Sender: No OFD packet to send [18:04:28]OFD Sender: No OFD packet to send [18:04:33]OFD Sender: No OFD packet to send [18:04:38]OFD Sender: No OFD packet to send [18:04:43]OFD Sender: No OFD packet to send [18:04:48]OFD Sender: No OFD packet to send [18:04:53]OFD Sender: No OFD packet to send [18:04:58]OFD Sender: No OFD packet to send [18:05:03]OFD Sender: No OFD packet to send [18:05:08]OFD Sender: No OFD packet to send [18:05:13]OFD Sender: No OFD packet to send [18:05:18]OFD Sender: No OFD packet to send [18:05:23]OFD Sender: No OFD packet to send [18:05:28]OFD Sender: No OFD packet to send [18:05:33]OFD Sender: No OFD packet to send [18:05:38]OFD Sender: No OFD packet to send [18:05:43]OFD Sender: No OFD packet to send [18:05:48]OFD Sender: No OFD packet to send [18:05:53]OFD Sender: No OFD packet to send [18:05:58]OFD Sender: No OFD packet to send [18:06:03]OFD Sender: No OFD packet to send [18:06:08]OFD Sender: No OFD packet to send [18:06:13]OFD Sender: No OFD packet to send [18:06:18]OFD Sender: No OFD packet to send [18:06:23]OFD Sender: No OFD packet to send [18:06:28]OFD Sender: No OFD packet to send [18:06:33]OFD Sender: No OFD packet to send [18:06:38]OFD Sender: No OFD packet to send [18:06:43]OFD Sender: No OFD packet to send [18:06:48]OFD Sender: No OFD packet to send [18:06:53]OFD Sender: No OFD packet to send [18:06:58]OFD Sender: No OFD packet to send [18:07:03]OFD Sender: No OFD packet to send [18:07:08]OFD Sender: No OFD packet to send [18:07:13]OFD Sender: No OFD packet to send [18:07:18]OFD Sender: No OFD packet to send [18:07:23]OFD Sender: No OFD packet to send [18:07:28]OFD Sender: No OFD packet to send [18:07:33]OFD Sender: No OFD packet to send [18:07:38]OFD Sender: No OFD packet to send [18:07:43]OFD Sender: No OFD packet to send [18:07:48]OFD Sender: No OFD packet to send [18:07:53]OFD Sender: No OFD packet to send [18:07:58]OFD Sender: No OFD packet to send [18:08:03]OFD Sender: No OFD packet to send [18:08:08]OFD Sender: No OFD packet to send [18:08:12]accept exits with 7 [18:08:12]New connection [18:08:12]New thread 3066936676 created [18:08:12]Thread 3066793316 joined [18:08:12]Waiting for new connection... [18:08:12] Sock 7.Parse request [18:08:12]Sock 7.Check first char [18:08:12]Sock 7.First char is OK [18:08:12]request: POST /json_proto HTTP/1.0 [18:08:12]Method: POST [18:08:12]URL: /json_proto [18:08:12]Method is POST - this is cgi request [18:08:12]url: /json_proto [18:08:12]query_string will be loaded in cgi processing [18:08:12]execute_cgi json_proto POST (null) [18:08:12]execute_cgi path=json_proto method=POST [18:08:12]POST find Content-Length [18:08:12]Host: 172.17.35.196:8080 [18:08:12]Content-Length: 623 [18:08:12]Content-Type: application/json [18:08:12] [18:08:12]POST finish read [18:08:12]Found Content-Length = 623 [18:08:12]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169126", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:08:12]execute_script... [18:08: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)169126", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:08:12]POST & json_proto [18:08:12]process_json_proto [18:08:12]json parsed OK: [18:08:12]protocol is kg_v1.0 [18:08:12]action value=close_receipt [18:08:12]process_action close_receipt [18:08:12]cmd_close_receipt [18:08:12]MH_GetDate [18:08:12]Write to MH i2c: F0 00 00 4A 07 40 [18:08:12]Write i2c OK [18:08:12]MH_I2C_Read... [18:08:12]Read from MH i2c: F0 [18:08:12]MH_I2C_Read... [18:08:12]Read from MH i2c: F0 09 00 [18:08:12]MH_I2C_Read... [18:08:12]Read from MH i2c: F0 09 00 4A 07 00 8D 1F 90 66 AD 14 F4 65 05 [18:08:12]GetLastDocTimeStamp 1720720832 [18:08:12]current date 1720721293 [18:08:12]FM_GetShiftState [18:08:12]SAM_PROTO_GetShiftState [18:08:12]wFMCommunicate request_size=4 [18:08:12]MH_SAM_APDU [18:08:12]CAPDU: 80 13 01 00 [18:08:12]Write to MH i2c: E2 08 00 4B 07 80 13 01 00 00 00 00 00 CF [18:08:12]Write i2c OK [18:08:12]MH_I2C_Read... [18:08:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:08:12]Read from MH i2c: E2 [18:08:12]MH_I2C_Read... [18:08:12]Read from MH i2c: E2 0E 00 [18:08:12]MH_I2C_Read... [18:08:12]Read from MH i2c: E2 0E 00 4B 07 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 00 [18:08:12]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [18:08:12]wFMCommunicate OK [18:08:12]SAM_PROTO_GetShiftState done [18:08:12]FM_GetShiftState done [18:08:12]opened in 1720656398 [18:08:12]opened+sec_in_day 1720742798 [18:08:12]quantity*price = 14000 [18:08:12]sum+1 = 14001 [18:08:12]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 140.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 48 11.07.2024 18:08 Смена: 432 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33293 ФПД: 178631742396194 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T180814&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33293&fm=178631742396194&tin=02508201610067®Number=0000000000093033&sum=14000 0 [18:08:13]StoreToDocumentArchive [18:08:13]shift 432 fd 33293 [18:08:13]save to /storage/0432/doc_00033293 [18:08:13]save last doc name /storage/0432/doc_00033293 to /storage/kkm_last_doc_name [18:08:13]save OK [18:08:13]Clear old archive folders... [18:08:13]ProcessDocumentItem done err = 0, tmpTLVsize=275 [18:08:13]tlvbuf is 01C3FD50 [18:08:13]SAM_PROTO_ClearQueue [18:08:13]wFMCommunicate request_size=4 [18:08:13]MH_SAM_APDU [18:08:13]CAPDU: 80 09 00 00 [18:08:13]Write to MH i2c: E2 08 00 58 07 80 09 00 00 00 00 00 00 D1 [18:08:13]Write i2c OK [18:08:13]MH_I2C_Read... [18:08:13]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:08:13]Read from MH i2c: E2 [18:08:13]MH_I2C_Read... [18:08:13]Read from MH i2c: E2 03 00 [18:08:13]MH_I2C_Read... [18:08:13]Read from MH i2c: E2 03 00 58 07 00 90 00 D3 [18:08:13]RAPDU: 90 00 [18:08:13]wFMCommunicate OK [18:08:13]SAM_PROTO_ClearQueue done [18:08:13]KKMCreateOFDPacket [18:08:13]OFDProtocolAddRootSTLVToBuf [18:08:13]FM_MakeSignedData [18:08:13]FM_MakeSignedData [18:08:13]SAM_PROTO_SignData [18:08:13]wFMCommunicate request_size=4 [18:08:13]MH_SAM_APDU [18:08:13]CAPDU: 80 0D 01 02 [18:08:13]Write to MH i2c: E2 08 00 59 07 80 0D 01 02 00 00 00 00 D9 [18:08:13]Write i2c OK [18:08:13]MH_I2C_Read... [18:08:13]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:08:13]Read from MH i2c: E2 [18:08:13]MH_I2C_Read... [18:08:13]Read from MH i2c: E2 03 00 [18:08:13]MH_I2C_Read... [18:08:13]Read from MH i2c: E2 03 00 59 07 00 90 00 D4 [18:08:13]RAPDU: 90 00 [18:08:13]wFMCommunicate OK [18:08:13]wFMCommunicate request_size=255 [18:08:13]MH_SAM_APDU [18:08:13]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 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 30 00 00 00 F4 03 04 00 8E 1F 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 [18:08:13]Write to MH i2c: E2 02 01 5A 07 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 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 30 00 00 00 F4 03 04 00 8E 1F 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 00 00 E6 [18:08:13]Write i2c OK [18:08:13]MH_I2C_Read... [18:08:13]OFD Sender: No OFD packet to send [18:08:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:08:14]Read from MH i2c: E2 [18:08:14]MH_I2C_Read... [18:08:14]Read from MH i2c: E2 03 00 [18:08:14]MH_I2C_Read... [18:08:14]Read from MH i2c: E2 03 00 5A 07 00 90 00 D5 [18:08:14]RAPDU: 90 00 [18:08:14]wFMCommunicate OK [18:08:14]wFMCommunicate request_size=34 [18:08:14]MH_SAM_APDU [18:08:14]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 0D 82 00 00 35 04 06 00 A2 76 F1 8D 17 22 [18:08:14]Write to MH i2c: E2 25 00 5B 07 80 0D 02 02 1D 00 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 0D 82 00 00 35 04 06 00 A2 76 F1 8D 17 22 00 00 F4 [18:08:14]Write i2c OK [18:08:14]MH_I2C_Read... [18:08:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:08:14]Read from MH i2c: E2 [18:08:14]MH_I2C_Read... [18:08:14]Read from MH i2c: E2 03 00 [18:08:14]MH_I2C_Read... [18:08:14]Read from MH i2c: E2 03 00 5B 07 00 90 00 D6 [18:08:14]RAPDU: 90 00 [18:08:14]wFMCommunicate OK [18:08:14]wFMCommunicate request_size=4 [18:08:14]MH_SAM_APDU [18:08:14]CAPDU: 80 0D 03 02 [18:08:14]Write to MH i2c: E2 08 00 5C 07 80 0D 03 02 00 00 00 00 DE [18:08:14]Write i2c OK [18:08:14]MH_I2C_Read... [18:08:14]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:08:14]Read from MH i2c: E2 [18:08:14]MH_I2C_Read... [18:08:14]Read from MH i2c: E2 0B 00 [18:08:14]MH_I2C_Read... [18:08:14]Read from MH i2c: E2 0B 00 5C 07 00 F7 E4 71 B8 C0 88 A3 76 90 00 44 [18:08:14]RAPDU: F7 E4 71 B8 C0 88 A3 76 90 00 [18:08:14]wFMCommunicate OK [18:08:14]SAM_PROTO_SignData done [18:08:14]FM_MakeSignedData done [18:08:14]CreateOFDProtocolMessage [18:08:14]wFMCommunicate request_size=4 [18:08:14]MH_SAM_APDU [18:08:14]CAPDU: 80 11 00 00 [18:08:14]Write to MH i2c: E2 08 00 5D 07 80 11 00 00 00 00 00 00 DE [18:08:14]Write i2c OK [18:08:14]MH_I2C_Read... [18:08:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:08:14]Read from MH i2c: E2 [18:08:14]MH_I2C_Read... [18:08:14]Read from MH i2c: E2 17 00 [18:08:14]MH_I2C_Read... [18:08:14]Read from MH i2c: E2 17 00 5D 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 2A [18:08:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [18:08:14]wFMCommunicate OK [18:08:14]CreateOFDProtocolMessage done [18:08:14]OFDSenderStorePacket 33293 [18:08:14]StoreOFDPacket docnum=33293 [18:08:14]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 27 01 00 00 10 70 1F 01 30 3F 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 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 30 00 00 00 F4 03 04 00 8E 1F 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 0D 82 00 00 35 04 06 00 A2 76 F1 8D 17 22 F7 E4 71 B8 C0 88 A3 76 [18:08:14]CheckFolder [18:08:14]dirname=/storage/ofd_packets [18:08:14]CheckFolder done [18:08:14]ProducePacketName [18:08:14]name=ofd_packets/00033293 [18:08:14]NVStorageSaveData ofd_packets/00033293 [18:08:14]File name is /storage/ofd_packets/00033293 [18:08:14]Write 325 bytes [18:08:14]NVStorageSaveData done [18:08:14]OFDSenderStorePacket done [18:08:14]KKMCreateOFDPacket done [18:08:14]NVStorageSaveData kkm_last_timestamp [18:08:14]File name is /storage/kkm_last_timestamp [18:08:14]Write 4 bytes [18:08:14]NVStorageSaveData done [18:08:14]ExternCall_PrintAddStr [18:08:14]wPrintStart [18:08:14]Write to MH i2c: 01 00 00 5E 07 65 [18:08:14]Write i2c OK [18:08:14]MH_I2C_Read... [18:08:14]Read from MH i2c: 01 [18:08:14]MH_I2C_Read... [18:08:14]Read from MH i2c: 01 07 00 [18:08:14]MH_I2C_Read... [18:08:14]Read from MH i2c: 01 07 00 5E 07 00 00 00 00 00 FF 0F 7A [18:08:14]RasterBufferAndPrint [18:08:14]line Счет N : (3)169126 [18:08:14]line ИНН: 02508201610067 [18:08:14]line Контрольно-Кассовый Чек [18:08:14]line ПРОДАЖА [18:08:14]line Товар: 48743587 [18:08:14]line Сигареты Winston XStyle Silver [18:08:14]line 1.000 * 140.00 [18:08:14]line = 140.00 [18:08:14]line НДС 12% НСП 1% [18:08:14]line > о реализуемом товаре [18:08:14]line ИТОГО: 140.00 [18:08:14]line НСП 1% : 1.24 [18:08:14]line НДС 12% : 14.87 [18:08:14]line Наличными: 140.00 [18:08:14]line Безнал.: 0.00 [18:08:14]line Место: АЗС № 77 "Партнер Нефть" [18:08:14]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [18:08:14]line СНО: Общий режим [18:08:14]line Чек 48 11.07.2024 18:08 [18:08:14]line Смена: 432 ФФД: 1.0 [18:08:14]line ЗНМ: 0300000122 [18:08:14]line РНМ: 0000000000093033 [18:08:14]line Версия ККМ: 001 [18:08:14]line ФМ: 0000000000875104 [18:08:14]line ФД: 33293 [18:08:14]line ФПД: 178631742396194 [18:08:14]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T180814&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33293&fm=178631742396194&tin=02508201610067®Number=0000000000093033&sum=14000 [18:08:14]OFD Sender: Processing packet 33293 [packets to send 6, broken 5] [18:08:14]ProducePacketName [18:08:14]name=ofd_packets/00033293 [18:08:14]OFD Sender: To server: pG, [18:08:14]CommunicateWithHost lk.salyk.kg:30040 [18:08:14]ConnectInit lk.salyk.kg [18:08:14]line 0 [18:08:14]written 0, free lines is 4095 [18:08:14]Connected sock=10 [18:08:14]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 27 01 00 00 10 70 1F 01 30 3F 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 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 30 00 00 00 F4 03 04 00 8E 1F 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 0D 82 00 00 35 04 06 00 A2 76 F1 8D 17 22 F7 E4 71 B8 C0 88 A3 76 [18:08:14]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 40 1C 47 00 02 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 35 31 30 34 10 04 04 00 0D 82 00 00 F4 03 04 00 3D CA 8F 66 B6 04 01 00 00 84 C1 28 1D DC 7F CF 8F [18:08:14]CommunicateWithHost err = 0 [18:08:14]CheckOFDResponse [18:08:14]1017 (14) - 77093643461234 [18:08:14]1041 (16) - 0000000000875104 [18:08:14]1040 (4) - 33293 [18:08:14]1012 (4) - 11.07.2024 12:04 [18:08:14]1206 (1) - 0 [18:08:14]OFD Sender: Remove packet 33293 [18:08:14]ProducePacketName [18:08:14]name=ofd_packets/00033293 [18:08:14]NVStorageDeleteData [18:08:15]Write to MH i2c: 01 00 00 87 07 8E [18:08:15]Write i2c OK [18:08:15]MH_I2C_Read... [18:08:15]Read from MH i2c: 01 [18:08:15]MH_I2C_Read... [18:08:15]Read from MH i2c: 01 07 00 [18:08:15]MH_I2C_Read... [18:08:15]Read from MH i2c: 01 07 00 87 07 00 00 00 00 00 D7 0C 78 [18:08:15]RasterBufferAndPrint [18:08:15]line [18:08:15]line [18:08:15]line [18:08:15]line [18:08:15]line [18:08:15]written 0, free lines is 3292 [18:08:15]MH_Cut [18:08:15]Write to MH i2c: D1 01 00 8E 07 01 67 [18:08:15]Write i2c OK [18:08:15]MH_I2C_Read... [18:08:15]Read from MH i2c: D1 [18:08:15]MH_I2C_Read... [18:08:15]Read from MH i2c: D1 01 00 [18:08:15]MH_I2C_Read... [18:08:15]Read from MH i2c: D1 01 00 8E 07 00 66 [18:08:15]Write to MH i2c: 01 00 00 8F 07 96 [18:08:15]Write i2c OK [18:08:15]MH_I2C_Read... [18:08:15]OFD Sender: No OFD packet to send [18:08:15]*** Cut start [18:08:15]*** Partial cut [18:08:15]*** CUTSNS_PIN = 1 [18:08:15]*** CUTSNS_PIN = 0 [18:08:16]*** Brake cut motor [18:08:16]Read from MH i2c: 01 [18:08:16]MH_I2C_Read... [18:08:16]*** Stop cut motor [18:08:16]*** Cut end [18:08:16]Read from MH i2c: 01 07 00 [18:08:16]MH_I2C_Read... [18:08:16]Read from MH i2c: 01 07 00 8F 07 00 00 00 00 00 FF 0F AB [18:08:16]process_action close_receipt done [18:08:16]requested_data is exist [18:08:16]produce_requested_data [18:08:16]requested_item fm.sn is exist - process it [18:08:16]wFMCommunicate request_size=4 [18:08:16]MH_SAM_APDU [18:08:16]CAPDU: 80 11 00 00 [18:08:16]Write to MH i2c: E2 08 00 90 07 80 11 00 00 00 00 00 00 11 [18:08:16]Write i2c OK [18:08:16]MH_I2C_Read... [18:08:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:08:16]Read from MH i2c: E2 [18:08:16]MH_I2C_Read... [18:08:16]Read from MH i2c: E2 17 00 [18:08:16]MH_I2C_Read... [18:08:16]Read from MH i2c: E2 17 00 90 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 5D [18:08:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [18:08:16]wFMCommunicate OK [18:08:16]requested_item fd.num is exist - process it [18:08:16]SAM_PROTO_GetFieldsCounters [18:08:16]wFMCommunicate request_size=4 [18:08:16]MH_SAM_APDU [18:08:16]CAPDU: 80 13 00 00 [18:08:16]Write to MH i2c: E2 08 00 91 07 80 13 00 00 00 00 00 00 14 [18:08:16]Write i2c OK [18:08:16]MH_I2C_Read... [18:08:16]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:08:16]Read from MH i2c: E2 [18:08:16]MH_I2C_Read... [18:08:16]Read from MH i2c: E2 62 00 [18:08:16]MH_I2C_Read... [18:08:16]Read from MH i2c: E2 62 00 91 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 0D 82 00 00 0E 04 04 00 B0 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 F7 [18:08: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 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 0D 82 00 00 0E 04 04 00 B0 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 [18:08:16]wFMCommunicate OK [18:08:16]SAM_PROTO_GetFieldsCounters done [18:08:16]requested_item shift.num is exist - process it [18:08:16]requested_item shift.opened is exist - process it [18:08:16]req_shift_opened [18:08:16]FM_GetShiftState [18:08:16]SAM_PROTO_GetShiftState [18:08:16]wFMCommunicate request_size=4 [18:08:16]MH_SAM_APDU [18:08:16]CAPDU: 80 13 01 00 [18:08:16]Write to MH i2c: E2 08 00 92 07 80 13 01 00 00 00 00 00 16 [18:08:16]Write i2c OK [18:08:16]MH_I2C_Read... [18:08:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:08:16]Read from MH i2c: E2 [18:08:16]MH_I2C_Read... [18:08:16]Read from MH i2c: E2 0E 00 [18:08:16]MH_I2C_Read... [18:08:16]Read from MH i2c: E2 0E 00 92 07 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 47 [18:08:16]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [18:08:16]wFMCommunicate OK [18:08:16]SAM_PROTO_GetShiftState done [18:08:16]FM_GetShiftState done [18:08:16]req_shift_opened done [18:08:16]requested_item shift.open_date is exist - process it [18:08:16]req_shift_open_date [18:08:16]req_shift_open_date done [18:08:16]produce_requested_data done [18:08:16]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33293,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398} [18:08:16]process_action_free close_receipt [18:08:16]json_value_free [18:08:16]json_value_free done [18:08:16]process_json_proto returns [18:08:16]Send response to host [18:08:16]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33293,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398}}} [18:08:16]free response buf [18:08:16]execute_script done [18:08:16]execute_script returns [18:08:16]free content buf [18:08:16]Sock 7.Close socket [18:08:16]Sock 7.Thread stoped [18:08:20]OFD Sender: No OFD packet to send [18:08:25]OFD Sender: No OFD packet to send [18:08:30]OFD Sender: No OFD packet to send [18:08:35]OFD Sender: No OFD packet to send [18:08:40]OFD Sender: No OFD packet to send [18:08:45]OFD Sender: No OFD packet to send [18:08:50]OFD Sender: No OFD packet to send [18:08:55]OFD Sender: No OFD packet to send [18:09:00]OFD Sender: No OFD packet to send [18:09:05]OFD Sender: No OFD packet to send [18:09:10]OFD Sender: No OFD packet to send [18:09:15]OFD Sender: No OFD packet to send [18:09:20]OFD Sender: No OFD packet to send [18:09:25]OFD Sender: No OFD packet to send [18:09:30]OFD Sender: No OFD packet to send [18:09:35]OFD Sender: No OFD packet to send [18:09:40]OFD Sender: No OFD packet to send [18:09:45]OFD Sender: No OFD packet to send [18:09:50]OFD Sender: No OFD packet to send [18:09:55]OFD Sender: No OFD packet to send [18:10:00]OFD Sender: No OFD packet to send [18:10:05]OFD Sender: No OFD packet to send [18:10:10]OFD Sender: No OFD packet to send [18:10:15]OFD Sender: No OFD packet to send [18:10:20]OFD Sender: No OFD packet to send [18:10:25]OFD Sender: No OFD packet to send [18:10:30]OFD Sender: No OFD packet to send [18:10:35]OFD Sender: No OFD packet to send [18:10:40]OFD Sender: No OFD packet to send [18:10:45]OFD Sender: No OFD packet to send [18:10:50]OFD Sender: No OFD packet to send [18:10:55]OFD Sender: No OFD packet to send [18:11:00]OFD Sender: No OFD packet to send [18:11:05]OFD Sender: No OFD packet to send [18:11:10]OFD Sender: No OFD packet to send [18:11:15]OFD Sender: No OFD packet to send [18:11:20]OFD Sender: No OFD packet to send [18:11:25]OFD Sender: No OFD packet to send [18:11:30]OFD Sender: No OFD packet to send [18:11:35]OFD Sender: No OFD packet to send [18:11:40]OFD Sender: No OFD packet to send [18:11:45]OFD Sender: No OFD packet to send [18:11:50]OFD Sender: No OFD packet to send [18:11:55]OFD Sender: No OFD packet to send [18:12:00]OFD Sender: No OFD packet to send [18:12:05]OFD Sender: No OFD packet to send [18:12:10]OFD Sender: No OFD packet to send [18:12:15]OFD Sender: No OFD packet to send [18:12:20]OFD Sender: No OFD packet to send [18:12:25]OFD Sender: No OFD packet to send [18:12:30]OFD Sender: No OFD packet to send [18:12:35]OFD Sender: No OFD packet to send [18:12:40]OFD Sender: No OFD packet to send [18:12:45]OFD Sender: No OFD packet to send [18:12:50]OFD Sender: No OFD packet to send [18:12:55]OFD Sender: No OFD packet to send [18:13:00]OFD Sender: No OFD packet to send [18:13:05]OFD Sender: No OFD packet to send [18:13:10]OFD Sender: No OFD packet to send [18:13:15]OFD Sender: No OFD packet to send [18:13:20]OFD Sender: No OFD packet to send [18:13:25]OFD Sender: No OFD packet to send [18:13:30]OFD Sender: No OFD packet to send [18:13:35]OFD Sender: No OFD packet to send [18:13:40]OFD Sender: No OFD packet to send [18:13:45]OFD Sender: No OFD packet to send [18:13:50]OFD Sender: No OFD packet to send [18:13:55]OFD Sender: No OFD packet to send [18:14:05]OFD Sender: No OFD packet to send [18:14:10]OFD Sender: No OFD packet to send [18:14:15]OFD Sender: No OFD packet to send [18:14:20]OFD Sender: No OFD packet to send [18:14:25]OFD Sender: No OFD packet to send [18:14:30]OFD Sender: No OFD packet to send [18:14:35]OFD Sender: No OFD packet to send [18:14:40]OFD Sender: No OFD packet to send [18:14:45]OFD Sender: No OFD packet to send [18:14:50]OFD Sender: No OFD packet to send [18:14:55]OFD Sender: No OFD packet to send [18:15:00]OFD Sender: No OFD packet to send [18:15:05]OFD Sender: No OFD packet to send [18:15:10]OFD Sender: No OFD packet to send [18:15:15]OFD Sender: No OFD packet to send [18:15:20]OFD Sender: No OFD packet to send [18:15:25]OFD Sender: No OFD packet to send [18:15:30]OFD Sender: No OFD packet to send [18:15:35]OFD Sender: No OFD packet to send [18:15:40]OFD Sender: No OFD packet to send [18:15:45]OFD Sender: No OFD packet to send [18:15:50]OFD Sender: No OFD packet to send [18:15:55]OFD Sender: No OFD packet to send [18:16:00]OFD Sender: No OFD packet to send [18:16:05]OFD Sender: No OFD packet to send [18:16:10]OFD Sender: No OFD packet to send [18:16:12]ConnectInit Can't connect to host [18:16:15]OFD Sender: No OFD packet to send [18:16:20]OFD Sender: No OFD packet to send [18:16:25]OFD Sender: No OFD packet to send [18:16:30]OFD Sender: No OFD packet to send [18:16:34]accept exits with 9 [18:16:34]New connection [18:16:34]New thread 3066793316 created [18:16:34]Thread 3066936676 joined [18:16:34]Waiting for new connection... [18:16:34] Sock 9.Parse request [18:16:34]Sock 9.Check first char [18:16:34]Sock 9.First char is OK [18:16:34]request: POST /json_proto HTTP/1.0 [18:16:34]Method: POST [18:16:34]URL: /json_proto [18:16:34]Method is POST - this is cgi request [18:16:34]url: /json_proto [18:16:34]query_string will be loaded in cgi processing [18:16:34]execute_cgi json_proto POST (null) [18:16:34]execute_cgi path=json_proto method=POST [18:16:34]POST find Content-Length [18:16:34]Host: 172.17.35.196:8080 [18:16:34]Content-Length: 215 [18:16:34]Content-Type: application/json [18:16:34] [18:16:34]POST finish read [18:16:34]Found Content-Length = 215 [18:16: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" ] } } [18:16:34]execute_script... [18:16: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" ] } } [18:16:34]POST & json_proto [18:16:34]process_json_proto [18:16:34]json parsed OK: [18:16:34]protocol is kg_v1.0 [18:16:34]action value=get_value [18:16:34]process_action get_value [18:16:34]cmd_get_value [18:16:34]process_action get_value done [18:16:34]requested_data is exist [18:16:34]produce_requested_data [18:16:34]requested_item kkm.sn is exist - process it [18:16:34]requested_item kkm.ver is exist - process it [18:16:34]requested_item fm.sn is exist - process it [18:16:34]wFMCommunicate request_size=4 [18:16:34]MH_SAM_APDU [18:16:34]CAPDU: 80 11 00 00 [18:16:34]Write to MH i2c: E2 08 00 93 07 80 11 00 00 00 00 00 00 14 [18:16:34]Write i2c OK [18:16:34]MH_I2C_Read... [18:16:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:16:34]Read from MH i2c: E2 [18:16:34]MH_I2C_Read... [18:16:34]Read from MH i2c: E2 17 00 [18:16:34]MH_I2C_Read... [18:16:34]Read from MH i2c: E2 17 00 93 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 60 [18:16:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [18:16:34]wFMCommunicate OK [18:16:34]requested_item fd.num is exist - process it [18:16:34]SAM_PROTO_GetFieldsCounters [18:16:34]wFMCommunicate request_size=4 [18:16:34]MH_SAM_APDU [18:16:34]CAPDU: 80 13 00 00 [18:16:34]Write to MH i2c: E2 08 00 94 07 80 13 00 00 00 00 00 00 17 [18:16:34]Write i2c OK [18:16:34]MH_I2C_Read... [18:16:34]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:16:34]Read from MH i2c: E2 [18:16:34]MH_I2C_Read... [18:16:34]Read from MH i2c: E2 62 00 [18:16:34]MH_I2C_Read... [18:16:34]Read from MH i2c: E2 62 00 94 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 0D 82 00 00 0E 04 04 00 B0 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 FA [18: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 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 0D 82 00 00 0E 04 04 00 B0 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 [18:16:34]wFMCommunicate OK [18:16:34]SAM_PROTO_GetFieldsCounters done [18:16:34]requested_item shift.num is exist - process it [18:16:34]requested_item shift.opened is exist - process it [18:16:34]req_shift_opened [18:16:34]FM_GetShiftState [18:16:34]SAM_PROTO_GetShiftState [18:16:34]wFMCommunicate request_size=4 [18:16:34]MH_SAM_APDU [18:16:34]CAPDU: 80 13 01 00 [18:16:34]Write to MH i2c: E2 08 00 95 07 80 13 01 00 00 00 00 00 19 [18:16:34]Write i2c OK [18:16:34]MH_I2C_Read... [18:16:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:16:34]Read from MH i2c: E2 [18:16:34]MH_I2C_Read... [18:16:34]Read from MH i2c: E2 0E 00 [18:16:34]MH_I2C_Read... [18:16:34]Read from MH i2c: E2 0E 00 95 07 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 4A [18:16:34]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [18:16:34]wFMCommunicate OK [18:16:34]SAM_PROTO_GetShiftState done [18:16:34]FM_GetShiftState done [18:16:34]req_shift_opened done [18:16:34]requested_item shift.open_date is exist - process it [18:16:34]req_shift_open_date [18:16:34]req_shift_open_date done [18:16:34]produce_requested_data done [18:16:34]produce_requested_data return {"kkm.sn":"0300000122","kkm.ver":"001","fm.sn":"0000000000875104","fd.num":33293,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398} [18:16:34]process_action_free get_value [18:16:34]json_value_free [18:16:34]json_value_free done [18:16:34]process_json_proto returns [18:16:34]Send response to host [18:16:34]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000122","kkm.ver":"001","fm.sn":"0000000000875104","fd.num":33293,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398}}} [18:16:34]free response buf [18:16:34]execute_script done [18:16:34]execute_script returns [18:16:34]free content buf [18:16:34]Sock 9.Close socket [18:16:34]Sock 9.Thread stoped [18:16:35]OFD Sender: No OFD packet to send [18:16:37]accept exits with 7 [18:16:37]New connection [18:16:37]New thread 3066936676 created [18:16:37]Thread 3066793316 joined [18:16:37]Waiting for new connection... [18:16:37] Sock 7.Parse request [18:16:37]Sock 7.Check first char [18:16:37]Sock 7.First char is OK [18:16:37]request: POST /json_proto HTTP/1.0 [18:16:37]Method: POST [18:16:37]URL: /json_proto [18:16:37]Method is POST - this is cgi request [18:16:37]url: /json_proto [18:16:37]query_string will be loaded in cgi processing [18:16:37]execute_cgi json_proto POST (null) [18:16:37]execute_cgi path=json_proto method=POST [18:16:37]POST find Content-Length [18:16:37]Host: 172.17.35.196:8080 [18:16:37]Content-Length: 331 [18:16:37]Content-Type: application/json [18:16:37] [18:16:37]POST finish read [18:16:37]Found Content-Length = 331 [18:16:37]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [18:16:37]execute_script... [18:16:37]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [18:16:37]POST & json_proto [18:16:37]process_json_proto [18:16:37]json parsed OK: [18:16:37]protocol is kg_v1.0 [18:16:37]action value=get_value [18:16:37]process_action get_value [18:16:37]cmd_get_value [18:16:37]process_action get_value done [18:16:37]requested_data is exist [18:16:37]produce_requested_data [18:16:37]requested_item fm.sale.total is exist - process it [18:16:37]SAM_PROTO_GetFMData [18:16:37]wFMCommunicate request_size=4 [18:16:37]MH_SAM_APDU [18:16:37]CAPDU: 80 13 03 00 [18:16:37]Write to MH i2c: E2 08 00 96 07 80 13 03 00 00 00 00 00 1C [18:16:37]Write i2c OK [18:16:37]MH_I2C_Read... [18:16:37]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [18:16:37]Read from MH i2c: E2 [18:16:37]MH_I2C_Read... [18:16:37]Read from MH i2c: E2 FD 00 [18:16:37]MH_I2C_Read... [18:16:38]Read from MH i2c: E2 FD 00 96 07 00 C4 04 85 04 C0 04 6E 04 04 00 AD 7E 00 00 69 04 A0 00 6F 04 04 00 CC 7D 00 00 B1 04 04 00 24 35 73 3F 70 04 04 00 24 F4 D6 34 72 04 04 00 00 41 9C 0A 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 18 BD 06 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 72 B6 8F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 90 00 9B [18:16:38]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 AD 7E 00 00 69 04 A0 00 6F 04 04 00 CC 7D 00 00 B1 04 04 00 24 35 73 3F 70 04 04 00 24 F4 D6 34 72 04 04 00 00 41 9C 0A 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 18 BD 06 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 72 B6 8F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 90 00 [18:16:38]wFMCommunicate OK [18:16:38]wFMCommunicate request_size=4 [18:16:38]MH_SAM_APDU [18:16:38]CAPDU: 80 17 00 00 [18:16:38]Write to MH i2c: E2 08 00 97 07 80 17 00 00 00 00 00 00 1E [18:16:38]Write i2c OK [18:16:38]MH_I2C_Read... [18:16:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:16:38]Read from MH i2c: E2 [18:16:38]MH_I2C_Read... [18:16:38]Read from MH i2c: E2 FD 00 [18:16:38]MH_I2C_Read... [18:16:38]Read from MH i2c: E2 FD 00 97 07 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 DB [18:16:38]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [18:16:38]wFMCommunicate OK [18:16:38]wFMCommunicate request_size=4 [18:16:38]MH_SAM_APDU [18:16:38]CAPDU: 80 17 00 00 [18:16:38]Write to MH i2c: E2 08 00 98 07 80 17 00 00 00 00 00 00 1F [18:16:38]Write i2c OK [18:16:38]MH_I2C_Read... [18:16:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:16:38]Read from MH i2c: E2 [18:16:38]MH_I2C_Read... [18:16:38]Read from MH i2c: E2 FD 00 [18:16:38]MH_I2C_Read... [18:16:38]Read from MH i2c: E2 FD 00 98 07 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 34 [18:16:38]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [18:16:38]wFMCommunicate OK [18:16:38]wFMCommunicate request_size=4 [18:16:38]MH_SAM_APDU [18:16:38]CAPDU: 80 17 00 00 [18:16:38]Write to MH i2c: E2 08 00 99 07 80 17 00 00 00 00 00 00 20 [18:16:38]Write i2c OK [18:16:38]MH_I2C_Read... [18:16:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:16:38]Read from MH i2c: E2 [18:16:38]MH_I2C_Read... [18:16:38]Read from MH i2c: E2 FD 00 [18:16:38]MH_I2C_Read... [18:16:38]Read from MH i2c: E2 FD 00 99 07 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 98 [18:16:38]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [18:16:38]wFMCommunicate OK [18:16:38]wFMCommunicate request_size=4 [18:16:38]MH_SAM_APDU [18:16:38]CAPDU: 80 17 00 00 [18:16:38]Write to MH i2c: E2 08 00 9A 07 80 17 00 00 00 00 00 00 21 [18:16:38]Write i2c OK [18:16:38]MH_I2C_Read... [18:16:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [18:16:39]Read from MH i2c: E2 [18:16:39]MH_I2C_Read... [18:16:39]Read from MH i2c: E2 E1 00 [18:16:39]MH_I2C_Read... [18:16:39]Read from MH i2c: E2 E1 00 9A 07 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 0F [18:16:39]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [18:16:39]wFMCommunicate OK [18:16:39]SAM_PROTO_GetFMData done [18:16:39]requested_item fm.sale_refund.total is exist - process it [18:16:39]requested_item fm.buy.total is exist - process it [18:16:39]requested_item shift.sale.total is exist - process it [18:16:39]SAM_PROTO_GetShiftData [18:16:39]wFMCommunicate request_size=4 [18:16:39]MH_SAM_APDU [18:16:39]CAPDU: 80 13 02 00 [18:16:39]Write to MH i2c: E2 08 00 9B 07 80 13 02 00 00 00 00 00 20 [18:16:39]Write i2c OK [18:16:39]MH_I2C_Read... [18:16:39]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [18:16:39]Read from MH i2c: E2 [18:16:39]MH_I2C_Read... [18:16:39]Read from MH i2c: E2 FD 00 [18:16:39]MH_I2C_Read... [18:16:39]Read from MH i2c: E2 FD 00 9B 07 00 AE 04 AA 04 AA 04 6E 04 04 00 30 00 00 00 69 04 9B 00 6F 04 04 00 30 00 00 00 B1 04 03 00 CB 63 11 70 04 03 00 A8 D4 0A 72 04 03 00 23 8F 06 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 D7 D8 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 67 27 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 FC [18:16:39]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 30 00 00 00 69 04 9B 00 6F 04 04 00 30 00 00 00 B1 04 03 00 CB 63 11 70 04 03 00 A8 D4 0A 72 04 03 00 23 8F 06 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 D7 D8 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 67 27 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [18:16:39]wFMCommunicate OK [18:16:39]wFMCommunicate request_size=4 [18:16:39]MH_SAM_APDU [18:16:39]CAPDU: 80 17 00 00 [18:16:39]Write to MH i2c: E2 08 00 9C 07 80 17 00 00 00 00 00 00 23 [18:16:39]Write i2c OK [18:16:39]MH_I2C_Read... [18:16:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:16:39]Read from MH i2c: E2 [18:16:39]MH_I2C_Read... [18:16:39]Read from MH i2c: E2 FD 00 [18:16:39]MH_I2C_Read... [18:16:39]Read from MH i2c: E2 FD 00 9C 07 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 45 [18:16:39]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [18:16:39]wFMCommunicate OK [18:16:39]wFMCommunicate request_size=4 [18:16:39]MH_SAM_APDU [18:16:39]CAPDU: 80 17 00 00 [18:16:39]Write to MH i2c: E2 08 00 9D 07 80 17 00 00 00 00 00 00 24 [18:16:39]Write i2c OK [18:16:39]MH_I2C_Read... [18:16:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:16:40]Read from MH i2c: E2 [18:16:40]MH_I2C_Read... [18:16:40]Read from MH i2c: E2 FD 00 [18:16:40]MH_I2C_Read... [18:16:40]Read from MH i2c: E2 FD 00 9D 07 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 DB [18:16:40]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [18:16:40]wFMCommunicate OK [18:16:40]wFMCommunicate request_size=4 [18:16:40]MH_SAM_APDU [18:16:40]CAPDU: 80 17 00 00 [18:16:40]Write to MH i2c: E2 08 00 9E 07 80 17 00 00 00 00 00 00 25 [18:16:40]Write i2c OK [18:16:40]MH_I2C_Read... [18:16:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:16:40]Read from MH i2c: E2 [18:16:40]MH_I2C_Read... [18:16:40]Read from MH i2c: E2 FD 00 [18:16:40]MH_I2C_Read... [18:16:40]Read from MH i2c: E2 FD 00 9E 07 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 97 [18:16:40]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [18:16:40]wFMCommunicate OK [18:16:40]wFMCommunicate request_size=4 [18:16:40]MH_SAM_APDU [18:16:40]CAPDU: 80 17 00 00 [18:16:40]Write to MH i2c: E2 08 00 9F 07 80 17 00 00 00 00 00 00 26 [18:16:40]Write i2c OK [18:16:40]MH_I2C_Read... [18:16:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [18:16:40]Read from MH i2c: E2 [18:16:40]MH_I2C_Read... [18:16:40]Read from MH i2c: E2 CB 00 [18:16:40]MH_I2C_Read... [18:16:40]Read from MH i2c: E2 CB 00 9F 07 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 0F [18:16:40]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [18:16:40]wFMCommunicate OK [18:16:40]SAM_PROTO_GetShiftData done [18:16:40]requested_item shift.sale.total_cash is exist - process it [18:16:40]requested_item shift.sale_refund.total is exist - process it [18:16:40]requested_item shift.sale_refund.total_cash is exist - process it [18:16:40]requested_item shift.buy.total is exist - process it [18:16:40]requested_item shift.buy.total_cash is exist - process it [18:16:40]produce_requested_data done [18:16:40]produce_requested_data return {"fm.sale.total":10645148.52,"fm.sale_refund.total":365383.00,"fm.buy.total":0.00,"shift.sale.total":11396.59,"shift.sale.total_cash":7098.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [18:16:40]process_action_free get_value [18:16:40]json_value_free [18:16:40]json_value_free done [18:16:40]process_json_proto returns [18:16:40]Send response to host [18:16:40]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":10645148.52,"fm.sale_refund.total":365383.00,"fm.buy.total":0.00,"shift.sale.total":11396.59,"shift.sale.total_cash":7098.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [18:16:40]free response buf [18:16:40]execute_script done [18:16:40]execute_script returns [18:16:40]free content buf [18:16:40]Sock 7.Close socket [18:16:40]Sock 7.Thread stoped [18:16:40]OFD Sender: No OFD packet to send [18:16:45]OFD Sender: No OFD packet to send [18:16:50]OFD Sender: No OFD packet to send [18:16:55]OFD Sender: No OFD packet to send [18:17:00]OFD Sender: No OFD packet to send [18:17:05]OFD Sender: No OFD packet to send [18:17:10]OFD Sender: No OFD packet to send [18:17:15]OFD Sender: No OFD packet to send [18:17:20]OFD Sender: No OFD packet to send [18:17:25]OFD Sender: No OFD packet to send [18:17:30]OFD Sender: No OFD packet to send [18:17:35]OFD Sender: No OFD packet to send [18:17:40]OFD Sender: No OFD packet to send [18:17:45]OFD Sender: No OFD packet to send [18:17:50]OFD Sender: No OFD packet to send [18:17:55]OFD Sender: No OFD packet to send [18:18:00]OFD Sender: No OFD packet to send [18:18:05]OFD Sender: No OFD packet to send [18:18:10]OFD Sender: No OFD packet to send [18:18:15]OFD Sender: No OFD packet to send [18:18:20]OFD Sender: No OFD packet to send [18:18:25]OFD Sender: No OFD packet to send [18:18:30]OFD Sender: No OFD packet to send [18:18:35]OFD Sender: No OFD packet to send [18:18:40]OFD Sender: No OFD packet to send [18:18:45]OFD Sender: No OFD packet to send [18:18:50]OFD Sender: No OFD packet to send [18:18:55]OFD Sender: No OFD packet to send [18:19:00]OFD Sender: No OFD packet to send [18:19:05]OFD Sender: No OFD packet to send [18:19:10]OFD Sender: No OFD packet to send [18:19:15]OFD Sender: No OFD packet to send [18:19:20]OFD Sender: No OFD packet to send [18:19:25]OFD Sender: No OFD packet to send [18:19:30]OFD Sender: No OFD packet to send [18:19:35]OFD Sender: No OFD packet to send [18:19:40]OFD Sender: No OFD packet to send [18:19:45]OFD Sender: No OFD packet to send [18:19:50]OFD Sender: No OFD packet to send [18:19:55]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:24]accept exits with 9 [18:21:24]New connection [18:21:24]New thread 3066793316 created [18:21:24]Thread 3066936676 joined [18:21:24]Waiting for new connection... [18:21:24] Sock 9.Parse request [18:21:24]Sock 9.Check first char [18:21:24]Sock 9.First char is OK [18:21:24]request: POST /json_proto HTTP/1.0 [18:21:24]Method: POST [18:21:24]URL: /json_proto [18:21:24]Method is POST - this is cgi request [18:21:24]url: /json_proto [18:21:24]query_string will be loaded in cgi processing [18:21:24]execute_cgi json_proto POST (null) [18:21:24]execute_cgi path=json_proto method=POST [18:21:24]POST find Content-Length [18:21:24]Host: 172.17.35.196:8080 [18:21:24]Content-Length: 678 [18:21:24]Content-Type: application/json [18:21:24] [18:21:24]POST finish read [18:21:24]Found Content-Length = 678 [18:21:24]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)5669776", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 23", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.30, "quantity" : 6.040, "sum" : 400.45, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 400.00, "total" : 400.00, "payments": [ { "type": 0, "sum" : 400.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:21:24]execute_script... [18:21:24]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)5669776", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 23", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.30, "quantity" : 6.040, "sum" : 400.45, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 400.00, "total" : 400.00, "payments": [ { "type": 0, "sum" : 400.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:21:24]POST & json_proto [18:21:24]process_json_proto [18:21:24]json parsed OK: [18:21:24]protocol is kg_v1.0 [18:21:24]action value=close_receipt [18:21:24]process_action close_receipt [18:21:24]cmd_close_receipt [18:21:24]MH_GetDate [18:21:24]Write to MH i2c: F0 00 00 A0 07 96 [18:21:24]Write i2c OK [18:21:24]MH_I2C_Read... [18:21:24]Read from MH i2c: F0 [18:21:24]MH_I2C_Read... [18:21:24]Read from MH i2c: F0 09 00 [18:21:24]MH_I2C_Read... [18:21:24]Read from MH i2c: F0 09 00 A0 07 00 A5 22 90 66 AD 14 F4 65 76 [18:21:24]GetLastDocTimeStamp 1720721294 [18:21:24]current date 1720722085 [18:21:24]FM_GetShiftState [18:21:24]SAM_PROTO_GetShiftState [18:21:24]wFMCommunicate request_size=4 [18:21:24]MH_SAM_APDU [18:21:24]CAPDU: 80 13 01 00 [18:21:24]Write to MH i2c: E2 08 00 A1 07 80 13 01 00 00 00 00 00 25 [18:21:24]Write i2c OK [18:21:24]MH_I2C_Read... [18:21:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:21:24]Read from MH i2c: E2 [18:21:24]MH_I2C_Read... [18:21:24]Read from MH i2c: E2 0E 00 [18:21:24]MH_I2C_Read... [18:21:24]Read from MH i2c: E2 0E 00 A1 07 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 56 [18:21:24]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [18:21:24]wFMCommunicate OK [18:21:24]SAM_PROTO_GetShiftState done [18:21:24]FM_GetShiftState done [18:21:24]opened in 1720656398 [18:21:24]opened+sec_in_day 1720742798 [18:21:24]quantity*price = 40045 [18:21:24]sum+1 = 40046 [18:21:24]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.45 ИТОГО: 400.00 Внесено: 400.00 СДАЧА: 0.00 НСП 1% : 3.54 НДС 12% : 42.53 Наличными: 400.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 49 11.07.2024 18:21 Смена: 432 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33294 ФПД: 107656643714397 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T182126&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33294&fm=107656643714397&tin=02508201610067®Number=0000000000093033&sum=40000 [18:21:25]StoreToDocumentArchive [18:21:25]shift 432 fd 33294 [18:21:25]save to /storage/0432/doc_00033294 [18:21:25]save last doc name /storage/0432/doc_00033294 to /storage/kkm_last_doc_name [18:21:25]save OK [18:21:25]Clear old archive folders... [18:21:25]ProcessDocumentItem done err = 0, tmpTLVsize=251 [18:21:25]tlvbuf is 01C3F690 [18:21:25]SAM_PROTO_ClearQueue [18:21:25]wFMCommunicate request_size=4 [18:21:25]MH_SAM_APDU [18:21:25]CAPDU: 80 09 00 00 [18:21:25]Write to MH i2c: E2 08 00 AE 07 80 09 00 00 00 00 00 00 27 [18:21:25]Write i2c OK [18:21:25]MH_I2C_Read... [18:21:25]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:21:25]Read from MH i2c: E2 [18:21:25]MH_I2C_Read... [18:21:25]Read from MH i2c: E2 03 00 [18:21:25]MH_I2C_Read... [18:21:25]Read from MH i2c: E2 03 00 AE 07 00 90 00 29 [18:21:25]RAPDU: 90 00 [18:21:25]wFMCommunicate OK [18:21:25]SAM_PROTO_ClearQueue done [18:21:25]KKMCreateOFDPacket [18:21:25]OFDProtocolAddRootSTLVToBuf [18:21:25]FM_MakeSignedData [18:21:25]FM_MakeSignedData [18:21:25]SAM_PROTO_SignData [18:21:25]wFMCommunicate request_size=4 [18:21:25]MH_SAM_APDU [18:21:25]CAPDU: 80 0D 01 02 [18:21:25]Write to MH i2c: E2 08 00 AF 07 80 0D 01 02 00 00 00 00 2F [18:21:25]Write i2c OK [18:21:25]MH_I2C_Read... [18:21:25]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:21:25]Read from MH i2c: E2 [18:21:25]MH_I2C_Read... [18:21:25]Read from MH i2c: E2 03 00 [18:21:25]MH_I2C_Read... [18:21:25]Read from MH i2c: E2 03 00 AF 07 00 90 00 2A [18:21:25]RAPDU: 90 00 [18:21:25]wFMCommunicate OK [18:21:25]wFMCommunicate request_size=255 [18:21:25]MH_SAM_APDU [18:21:25]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 98 17 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 6D 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9D 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 A6 22 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 0E 82 00 00 35 04 06 00 61 [18:21:25]Write to MH i2c: E2 02 01 B0 07 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 98 17 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 6D 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9D 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 A6 22 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 0E 82 00 00 35 04 06 00 61 00 00 3B [18:21:25]Write i2c OK [18:21:25]MH_I2C_Read... [18:21:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:21:26]Read from MH i2c: E2 [18:21:26]MH_I2C_Read... [18:21:26]Read from MH i2c: E2 03 00 [18:21:26]MH_I2C_Read... [18:21:26]Read from MH i2c: E2 03 00 B0 07 00 90 00 2B [18:21:26]RAPDU: 90 00 [18:21:26]wFMCommunicate OK [18:21:26]wFMCommunicate request_size=10 [18:21:26]MH_SAM_APDU [18:21:26]CAPDU: 80 0D 02 02 05 E9 C4 01 9D 5D [18:21:26]Write to MH i2c: E2 0D 00 B1 07 80 0D 02 02 05 00 E9 C4 01 9D 5D 00 00 E4 [18:21:26]Write i2c OK [18:21:26]MH_I2C_Read... [18:21:26]OFD Sender: No OFD packet to send [18:21:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:21:26]Read from MH i2c: E2 [18:21:26]MH_I2C_Read... [18:21:26]Read from MH i2c: E2 03 00 [18:21:26]MH_I2C_Read... [18:21:26]Read from MH i2c: E2 03 00 B1 07 00 90 00 2C [18:21:26]RAPDU: 90 00 [18:21:26]wFMCommunicate OK [18:21:26]wFMCommunicate request_size=4 [18:21:26]MH_SAM_APDU [18:21:26]CAPDU: 80 0D 03 02 [18:21:26]Write to MH i2c: E2 08 00 B2 07 80 0D 03 02 00 00 00 00 34 [18:21:26]Write i2c OK [18:21:26]MH_I2C_Read... [18:21:26]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:21:26]Read from MH i2c: E2 [18:21:26]MH_I2C_Read... [18:21:26]Read from MH i2c: E2 0B 00 [18:21:26]MH_I2C_Read... [18:21:26]Read from MH i2c: E2 0B 00 B2 07 00 43 70 7C BD 7D F6 91 EB 90 00 10 [18:21:26]RAPDU: 43 70 7C BD 7D F6 91 EB 90 00 [18:21:26]wFMCommunicate OK [18:21:26]SAM_PROTO_SignData done [18:21:26]FM_MakeSignedData done [18:21:26]CreateOFDProtocolMessage [18:21:26]wFMCommunicate request_size=4 [18:21:26]MH_SAM_APDU [18:21:26]CAPDU: 80 11 00 00 [18:21:26]Write to MH i2c: E2 08 00 B3 07 80 11 00 00 00 00 00 00 34 [18:21:26]Write i2c OK [18:21:26]MH_I2C_Read... [18:21:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:21:26]Read from MH i2c: E2 [18:21:26]MH_I2C_Read... [18:21:26]Read from MH i2c: E2 17 00 [18:21:26]MH_I2C_Read... [18:21:26]Read from MH i2c: E2 17 00 B3 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 80 [18:21:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [18:21:26]wFMCommunicate OK [18:21:26]CreateOFDProtocolMessage done [18:21:26]OFDSenderStorePacket 33294 [18:21:26]StoreOFDPacket docnum=33294 [18:21:26]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0F 01 00 00 BC 75 07 01 D3 BA 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 98 17 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 6D 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9D 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 A6 22 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 0E 82 00 00 35 04 06 00 61 E9 C4 01 9D 5D 43 70 7C BD 7D F6 91 EB [18:21:26]CheckFolder [18:21:26]dirname=/storage/ofd_packets [18:21:26]CheckFolder done [18:21:26]ProducePacketName [18:21:26]name=ofd_packets/00033294 [18:21:26]NVStorageSaveData ofd_packets/00033294 [18:21:26]File name is /storage/ofd_packets/00033294 [18:21:26]Write 301 bytes [18:21:26]NVStorageSaveData done [18:21:26]OFDSenderStorePacket done [18:21:26]KKMCreateOFDPacket done [18:21:26]NVStorageSaveData kkm_last_timestamp [18:21:26]File name is /storage/kkm_last_timestamp [18:21:26]Write 4 bytes [18:21:26]NVStorageSaveData done [18:21:26]ExternCall_PrintAddStr [18:21:26]wPrintStart [18:21:26]Write to MH i2c: 01 00 00 B4 07 BB [18:21:26]Write i2c OK [18:21:26]MH_I2C_Read... [18:21:26]Read from MH i2c: 01 [18:21:26]MH_I2C_Read... [18:21:26]Read from MH i2c: 01 07 00 [18:21:26]MH_I2C_Read... [18:21:26]Read from MH i2c: 01 07 00 B4 07 00 00 00 00 00 FF 0F D0 [18:21:26]RasterBufferAndPrint [18:21:26]line Счет N : (1)5669776 [18:21:26]line ИНН: 02508201610067 [18:21:26]line Контрольно-Кассовый Чек [18:21:26]line ПРОДАЖА [18:21:26]line ТРК (МРК, ГНК) : 23 [18:21:26]line Товар: 2710124130 [18:21:26]line Аи-92-К-5 [18:21:26]line 6.040 * 66.30 [18:21:26]line = 400.45 [18:21:26]line НДС 12% НСП 1% [18:21:26]line > о реализуемом товаре [18:21:26]line ОКРУГЛЕНИЕ: -0.45 [18:21:26]line ИТОГО: 400.00 [18:21:26]line Внесено: 400.00 [18:21:26]line СДАЧА: 0.00 [18:21:26]line НСП 1% : 3.54 [18:21:26]line НДС 12% : 42.53 [18:21:26]line Наличными: 400.00 [18:21:26]line Безнал.: 0.00 [18:21:26]line Место: АЗС № 77 "Партнер Нефть" [18:21:26]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [18:21:26]line СНО: Общий режим [18:21:26]line Чек 49 11.07.2024 18:21 [18:21:26]line Смена: 432 ФФД: 1.0 [18:21:26]line ЗНМ: 0300000122 [18:21:26]line РНМ: 0000000000093033 [18:21:26]line Версия ККМ: 001 [18:21:26]line ФМ: 0000000000875104 [18:21:26]line ФД: 33294 [18:21:26]line ФПД: 107656643714397 [18:21:26]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T182126&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33294&fm=107656643714397&tin=02508201610067®Number=0000000000093033&sum=40000 [18:21:26]OFD Sender: Processing packet 33294 [packets to send 6, broken 5] [18:21:26]ProducePacketName [18:21:26]name=ofd_packets/00033294 [18:21:26]OFD Sender: To server: pG, [18:21:26]CommunicateWithHost lk.salyk.kg:30040 [18:21:26]ConnectInit lk.salyk.kg [18:21:26]written 0, free lines is 4095 [18:21:26]Connected sock=10 [18:21:26]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0F 01 00 00 BC 75 07 01 D3 BA 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 98 17 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 6D 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9D 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 A6 22 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 0E 82 00 00 35 04 06 00 61 E9 C4 01 9D 5D 43 70 7C BD 7D F6 91 EB [18:21:26]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 F6 0A 47 00 B7 0C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 0E 82 00 00 F4 03 04 00 55 CD 8F 66 B6 04 01 00 00 C7 18 84 40 FB AF A1 FE [18:21:26]CommunicateWithHost err = 0 [18:21:26]CheckOFDResponse [18:21:26]1017 (14) - 77093643461234 [18:21:26]1041 (16) - 0000000000875104 [18:21:26]1040 (4) - 33294 [18:21:26]1012 (4) - 11.07.2024 12:17 [18:21:26]1206 (1) - 0 [18:21:26]OFD Sender: Remove packet 33294 [18:21:26]ProducePacketName [18:21:26]name=ofd_packets/00033294 [18:21:26]NVStorageDeleteData [18:21:27]Write to MH i2c: 01 00 00 DF 07 E6 [18:21:27]Write i2c OK [18:21:27]MH_I2C_Read... [18:21:27]Read from MH i2c: 01 [18:21:27]MH_I2C_Read... [18:21:27]Read from MH i2c: 01 07 00 [18:21:27]MH_I2C_Read... [18:21:27]Read from MH i2c: 01 07 00 DF 07 00 00 00 00 00 E4 0C DD [18:21:27]RasterBufferAndPrint [18:21:27]line [18:21:27]line [18:21:27]line [18:21:27]line [18:21:27]line [18:21:27]written 0, free lines is 3306 [18:21:27]MH_Cut [18:21:27]Write to MH i2c: D1 01 00 E6 07 01 BF [18:21:27]Write i2c OK [18:21:27]MH_I2C_Read... [18:21:27]Read from MH i2c: D1 [18:21:27]MH_I2C_Read... [18:21:27]Read from MH i2c: D1 01 00 [18:21:27]MH_I2C_Read... [18:21:27]Read from MH i2c: D1 01 00 E6 07 00 BE [18:21:27]Write to MH i2c: 01 00 00 E7 07 EE [18:21:27]Write i2c OK [18:21:27]MH_I2C_Read... [18:21:27]OFD Sender: No OFD packet to send [18:21:27]*** Cut start [18:21:27]*** Partial cut [18:21:27]*** CUTSNS_PIN = 1 [18:21:27]*** CUTSNS_PIN = 0 [18:21:28]*** Brake cut motor [18:21:28]Read from MH i2c: 01 [18:21:28]MH_I2C_Read... [18:21:28]*** Stop cut motor [18:21:28]*** Cut end [18:21:28]Read from MH i2c: 01 07 00 [18:21:28]MH_I2C_Read... [18:21:28]Read from MH i2c: 01 07 00 E7 07 00 00 00 00 00 FF 0F 03 [18:21:28]process_action close_receipt done [18:21:28]requested_data is exist [18:21:28]produce_requested_data [18:21:28]requested_item fm.sn is exist - process it [18:21:28]wFMCommunicate request_size=4 [18:21:28]MH_SAM_APDU [18:21:28]CAPDU: 80 11 00 00 [18:21:28]Write to MH i2c: E2 08 00 E8 07 80 11 00 00 00 00 00 00 69 [18:21:28]Write i2c OK [18:21:28]MH_I2C_Read... [18:21:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:21:28]Read from MH i2c: E2 [18:21:28]MH_I2C_Read... [18:21:28]Read from MH i2c: E2 17 00 [18:21:28]MH_I2C_Read... [18:21:28]Read from MH i2c: E2 17 00 E8 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 B5 [18:21:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [18:21:28]wFMCommunicate OK [18:21:28]requested_item fd.num is exist - process it [18:21:28]SAM_PROTO_GetFieldsCounters [18:21:28]wFMCommunicate request_size=4 [18:21:28]MH_SAM_APDU [18:21:28]CAPDU: 80 13 00 00 [18:21:28]Write to MH i2c: E2 08 00 E9 07 80 13 00 00 00 00 00 00 6C [18:21:28]Write i2c OK [18:21:28]MH_I2C_Read... [18:21:28]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:21:28]Read from MH i2c: E2 [18:21:28]MH_I2C_Read... [18:21:28]Read from MH i2c: E2 62 00 [18:21:28]MH_I2C_Read... [18:21:28]Read from MH i2c: E2 62 00 E9 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 0E 82 00 00 0E 04 04 00 B0 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 53 [18:21: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 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 0E 82 00 00 0E 04 04 00 B0 01 00 00 12 04 04 00 31 00 00 00 5E 04 04 00 31 00 00 00 57 04 04 00 32 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:21:28]wFMCommunicate OK [18:21:28]SAM_PROTO_GetFieldsCounters done [18:21:28]requested_item shift.num is exist - process it [18:21:28]requested_item shift.opened is exist - process it [18:21:28]req_shift_opened [18:21:28]FM_GetShiftState [18:21:28]SAM_PROTO_GetShiftState [18:21:28]wFMCommunicate request_size=4 [18:21:28]MH_SAM_APDU [18:21:28]CAPDU: 80 13 01 00 [18:21:28]Write to MH i2c: E2 08 00 EA 07 80 13 01 00 00 00 00 00 6E [18:21:28]Write i2c OK [18:21:28]MH_I2C_Read... [18:21:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:21:28]Read from MH i2c: E2 [18:21:28]MH_I2C_Read... [18:21:28]Read from MH i2c: E2 0E 00 [18:21:28]MH_I2C_Read... [18:21:28]Read from MH i2c: E2 0E 00 EA 07 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 9F [18:21:28]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [18:21:28]wFMCommunicate OK [18:21:28]SAM_PROTO_GetShiftState done [18:21:28]FM_GetShiftState done [18:21:28]req_shift_opened done [18:21:28]requested_item shift.open_date is exist - process it [18:21:28]req_shift_open_date [18:21:28]req_shift_open_date done [18:21:28]produce_requested_data done [18:21:28]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33294,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398} [18:21:28]process_action_free close_receipt [18:21:28]json_value_free [18:21:28]json_value_free done [18:21:28]process_json_proto returns [18:21:28]Send response to host [18:21:28]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33294,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398}}} [18:21:28]free response buf [18:21:28]execute_script done [18:21:28]execute_script returns [18:21:28]free content buf [18:21:28]Sock 9.Close socket [18:21:28]Sock 9.Thread stoped [18:21:32]OFD Sender: No OFD packet to send [18:21:37]OFD Sender: No OFD packet to send [18:21:42]OFD Sender: No OFD packet to send [18:21:47]OFD Sender: No OFD packet to send [18:21:52]OFD Sender: No OFD packet to send [18:21:57]OFD Sender: No OFD packet to send [18:22:02]OFD Sender: No OFD packet to send [18:22:07]OFD Sender: No OFD packet to send [18:22:12]OFD Sender: No OFD packet to send [18:22:17]OFD Sender: No OFD packet to send [18:22:22]OFD Sender: No OFD packet to send [18:22:27]OFD Sender: No OFD packet to send [18:22:32]OFD Sender: No OFD packet to send [18:22:37]OFD Sender: No OFD packet to send [18:22:42]OFD Sender: No OFD packet to send [18:22:43]accept exits with 7 [18:22:43]New connection [18:22:43]New thread 3066936676 created [18:22:43]Thread 3066793316 joined [18:22:43]Waiting for new connection... [18:22:43] Sock 7.Parse request [18:22:43]Sock 7.Check first char [18:22:43]Sock 7.First char is OK [18:22:43]request: POST /json_proto HTTP/1.0 [18:22:43]Method: POST [18:22:43]URL: /json_proto [18:22:43]Method is POST - this is cgi request [18:22:43]url: /json_proto [18:22:43]query_string will be loaded in cgi processing [18:22:43]execute_cgi json_proto POST (null) [18:22:43]execute_cgi path=json_proto method=POST [18:22:43]POST find Content-Length [18:22:43]Host: 172.17.35.196:8080 [18:22:43]Content-Length: 678 [18:22:43]Content-Type: application/json [18:22:43] [18:22:43]POST finish read [18:22:43]Found Content-Length = 678 [18:22:43]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)5669775", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.30, "quantity" : 6.040, "sum" : 400.45, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 400.00, "total" : 400.00, "payments": [ { "type": 0, "sum" : 400.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:22:43]execute_script... [18:22: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 : (1)5669775", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.30, "quantity" : 6.040, "sum" : 400.45, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 400.00, "total" : 400.00, "payments": [ { "type": 0, "sum" : 400.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:22:43]POST & json_proto [18:22:43]process_json_proto [18:22:43]json parsed OK: [18:22:43]protocol is kg_v1.0 [18:22:43]action value=close_receipt [18:22:43]process_action close_receipt [18:22:43]cmd_close_receipt [18:22:43]MH_GetDate [18:22:43]Write to MH i2c: F0 00 00 EB 07 E1 [18:22:43]Write i2c OK [18:22:43]MH_I2C_Read... [18:22:43]Read from MH i2c: F0 [18:22:43]MH_I2C_Read... [18:22:43]Read from MH i2c: F0 09 00 [18:22:43]MH_I2C_Read... [18:22:43]Read from MH i2c: F0 09 00 EB 07 00 F4 22 90 66 AD 14 F4 65 10 [18:22:43]GetLastDocTimeStamp 1720722086 [18:22:43]current date 1720722164 [18:22:43]FM_GetShiftState [18:22:43]SAM_PROTO_GetShiftState [18:22:43]wFMCommunicate request_size=4 [18:22:43]MH_SAM_APDU [18:22:43]CAPDU: 80 13 01 00 [18:22:43]Write to MH i2c: E2 08 00 EC 07 80 13 01 00 00 00 00 00 70 [18:22:43]Write i2c OK [18:22:43]MH_I2C_Read... [18:22:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:22:43]Read from MH i2c: E2 [18:22:43]MH_I2C_Read... [18:22:43]Read from MH i2c: E2 0E 00 [18:22:43]MH_I2C_Read... [18:22:43]Read from MH i2c: E2 0E 00 EC 07 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 A1 [18:22:43]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [18:22:43]wFMCommunicate OK [18:22:43]SAM_PROTO_GetShiftState done [18:22:43]FM_GetShiftState done [18:22:43]opened in 1720656398 [18:22:43]opened+sec_in_day 1720742798 [18:22:43]quantity*price = 40045 [18:22:43]sum+1 = 40046 [18:22:43]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.45 ИТОГО: 400.00 Внесено: 400.00 СДАЧА: 0.00 НСП 1% : 3.54 НДС 12% : 42.53 Наличными: 400.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 50 11.07.2024 18:22 Смена: 432 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33295 ФПД: 262101584240059 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T182244&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33295&fm=262101584240059&tin=02508201610067®Number=0000000000093033&sum=40000 [18:22:44]StoreToDocumentArchive [18:22:44]shift 432 fd 33295 [18:22:44]save to /storage/0432/doc_00033295 [18:22:44]save last doc name /storage/0432/doc_00033295 to /storage/kkm_last_doc_name [18:22:44]save OK [18:22:44]Clear old archive folders... [18:22:44]ProcessDocumentItem done err = 0, tmpTLVsize=251 [18:22:44]tlvbuf is 01C9AEC0 [18:22:44]SAM_PROTO_ClearQueue [18:22:44]wFMCommunicate request_size=4 [18:22:44]MH_SAM_APDU [18:22:44]CAPDU: 80 09 00 00 [18:22:44]Write to MH i2c: E2 08 00 F9 07 80 09 00 00 00 00 00 00 72 [18:22:44]Write i2c OK [18:22:44]MH_I2C_Read... [18:22:44]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:22:44]Read from MH i2c: E2 [18:22:44]MH_I2C_Read... [18:22:44]Read from MH i2c: E2 03 00 [18:22:44]MH_I2C_Read... [18:22:44]Read from MH i2c: E2 03 00 F9 07 00 90 00 74 [18:22:44]RAPDU: 90 00 [18:22:44]wFMCommunicate OK [18:22:44]SAM_PROTO_ClearQueue done [18:22:44]KKMCreateOFDPacket [18:22:44]OFDProtocolAddRootSTLVToBuf [18:22:44]FM_MakeSignedData [18:22:44]FM_MakeSignedData [18:22:44]SAM_PROTO_SignData [18:22:44]wFMCommunicate request_size=4 [18:22:44]MH_SAM_APDU [18:22:44]CAPDU: 80 0D 01 02 [18:22:44]Write to MH i2c: E2 08 00 FA 07 80 0D 01 02 00 00 00 00 7A [18:22:44]Write i2c OK [18:22:44]MH_I2C_Read... [18:22:44]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:22:44]Read from MH i2c: E2 [18:22:44]MH_I2C_Read... [18:22:44]Read from MH i2c: E2 03 00 [18:22:44]MH_I2C_Read... [18:22:44]Read from MH i2c: E2 03 00 FA 07 00 90 00 75 [18:22:44]RAPDU: 90 00 [18:22:44]wFMCommunicate OK [18:22:44]wFMCommunicate request_size=255 [18:22:44]MH_SAM_APDU [18:22:44]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 98 17 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 6D 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9D 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 F4 22 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 0F 82 00 00 35 04 06 00 EE [18:22:44]Write to MH i2c: E2 02 01 FB 07 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 98 17 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 6D 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9D 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 F4 22 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 0F 82 00 00 35 04 06 00 EE 00 00 63 [18:22:44]Write i2c OK [18:22:44]MH_I2C_Read... [18:22:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:22:45]Read from MH i2c: E2 [18:22:45]MH_I2C_Read... [18:22:45]Read from MH i2c: E2 03 00 [18:22:45]MH_I2C_Read... [18:22:45]Read from MH i2c: E2 03 00 FB 07 00 90 00 76 [18:22:45]RAPDU: 90 00 [18:22:45]wFMCommunicate OK [18:22:45]wFMCommunicate request_size=10 [18:22:45]MH_SAM_APDU [18:22:45]CAPDU: 80 0D 02 02 05 61 47 D2 DD BB [18:22:45]Write to MH i2c: E2 0D 00 FC 07 80 0D 02 02 05 00 61 47 D2 DD BB 00 00 99 [18:22:45]Write i2c OK [18:22:45]MH_I2C_Read... [18:22:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:22:45]Read from MH i2c: E2 [18:22:45]MH_I2C_Read... [18:22:45]Read from MH i2c: E2 03 00 [18:22:45]MH_I2C_Read... [18:22:45]Read from MH i2c: E2 03 00 FC 07 00 90 00 77 [18:22:45]RAPDU: 90 00 [18:22:45]wFMCommunicate OK [18:22:45]wFMCommunicate request_size=4 [18:22:45]MH_SAM_APDU [18:22:45]CAPDU: 80 0D 03 02 [18:22:45]Write to MH i2c: E2 08 00 FD 07 80 0D 03 02 00 00 00 00 7F [18:22:45]Write i2c OK [18:22:45]MH_I2C_Read... [18:22:45]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:22:45]Read from MH i2c: E2 [18:22:45]MH_I2C_Read... [18:22:45]Read from MH i2c: E2 0B 00 [18:22:45]MH_I2C_Read... [18:22:45]Read from MH i2c: E2 0B 00 FD 07 00 B6 40 A2 42 8A 9D D9 C6 90 00 20 [18:22:45]RAPDU: B6 40 A2 42 8A 9D D9 C6 90 00 [18:22:45]wFMCommunicate OK [18:22:45]SAM_PROTO_SignData done [18:22:45]FM_MakeSignedData done [18:22:45]CreateOFDProtocolMessage [18:22:45]wFMCommunicate request_size=4 [18:22:45]MH_SAM_APDU [18:22:45]CAPDU: 80 11 00 00 [18:22:45]Write to MH i2c: E2 08 00 FE 07 80 11 00 00 00 00 00 00 7F [18:22:45]Write i2c OK [18:22:45]MH_I2C_Read... [18:22:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:22:45]Read from MH i2c: E2 [18:22:45]MH_I2C_Read... [18:22:45]Read from MH i2c: E2 17 00 [18:22:45]MH_I2C_Read... [18:22:45]Read from MH i2c: E2 17 00 FE 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 CB [18:22:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [18:22:45]wFMCommunicate OK [18:22:45]CreateOFDProtocolMessage done [18:22:45]OFDSenderStorePacket 33295 [18:22:45]StoreOFDPacket docnum=33295 [18:22:45]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0F 01 00 00 98 5D 07 01 44 F4 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 98 17 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 6D 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9D 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 F4 22 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 0F 82 00 00 35 04 06 00 EE 61 47 D2 DD BB B6 40 A2 42 8A 9D D9 C6 [18:22:45]CheckFolder [18:22:45]dirname=/storage/ofd_packets [18:22:45]CheckFolder done [18:22:45]ProducePacketName [18:22:45]name=ofd_packets/00033295 [18:22:45]NVStorageSaveData ofd_packets/00033295 [18:22:45]File name is /storage/ofd_packets/00033295 [18:22:45]Write 301 bytes [18:22:45]NVStorageSaveData done [18:22:45]OFDSenderStorePacket done [18:22:45]KKMCreateOFDPacket done [18:22:45]NVStorageSaveData kkm_last_timestamp [18:22:45]File name is /storage/kkm_last_timestamp [18:22:45]Write 4 bytes [18:22:45]NVStorageSaveData done [18:22:45]ExternCall_PrintAddStr [18:22:45]wPrintStart [18:22:45]Write to MH i2c: 01 00 00 FF 07 06 [18:22:45]Write i2c OK [18:22:45]MH_I2C_Read... [18:22:45]Read from MH i2c: 01 [18:22:45]MH_I2C_Read... [18:22:45]Read from MH i2c: 01 07 00 [18:22:45]MH_I2C_Read... [18:22:45]Read from MH i2c: 01 07 00 FF 07 00 00 00 00 00 FF 0F 1B [18:22:45]RasterBufferAndPrint [18:22:45]line Счет N : (1)5669775 [18:22:45]line ИНН: 02508201610067 [18:22:45]line Контрольно-Кассовый Чек [18:22:45]line ПРОДАЖА [18:22:45]line ТРК (МРК, ГНК) : 43 [18:22:45]line Товар: 2710124130 [18:22:45]line Аи-92-К-5 [18:22:45]line 6.040 * 66.30 [18:22:45]line = 400.45 [18:22:45]line НДС 12% НСП 1% [18:22:45]line > о реализуемом товаре [18:22:45]line ОКРУГЛЕНИЕ: -0.45 [18:22:45]line ИТОГО: 400.00 [18:22:45]line Внесено: 400.00 [18:22:45]line СДАЧА: 0.00 [18:22:45]line НСП 1% : 3.54 [18:22:45]line НДС 12% : 42.53 [18:22:45]line Наличными: 400.00 [18:22:45]line Безнал.: 0.00 [18:22:45]line Место: АЗС № 77 "Партнер Нефть" [18:22:45]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [18:22:45]line СНО: Общий режим [18:22:45]line Чек 50 11.07.2024 18:22 [18:22:45]line Смена: 432 ФФД: 1.0 [18:22:45]line ЗНМ: 0300000122 [18:22:45]line РНМ: 0000000000093033 [18:22:45]line Версия ККМ: 001 [18:22:45]line ФМ: 0000000000875104 [18:22:45]line ФД: 33295 [18:22:45]line ФПД: 262101584240059 [18:22:45]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T182244&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33295&fm=262101584240059&tin=02508201610067®Number=0000000000093033&sum=40000 [18:22:45]written 0, free lines is 4095 [18:22:45]OFD Sender: Processing packet 33295 [packets to send 6, broken 5] [18:22:45]ProducePacketName [18:22:45]name=ofd_packets/00033295 [18:22:45]OFD Sender: To server: pG, [18:22:45]CommunicateWithHost lk.salyk.kg:30040 [18:22:45]ConnectInit lk.salyk.kg [18:22:45]Connected sock=10 [18:22:45]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0F 01 00 00 98 5D 07 01 44 F4 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 98 17 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 6D 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9D 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 F4 22 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 0F 82 00 00 35 04 06 00 EE 61 47 D2 DD BB B6 40 A2 42 8A 9D D9 C6 [18:22:45]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 D2 65 47 00 A6 26 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 0F 82 00 00 F4 03 04 00 A4 CD 8F 66 B6 04 01 00 00 34 EB 04 51 79 E8 12 03 [18:22:45]CommunicateWithHost err = 0 [18:22:45]CheckOFDResponse [18:22:45]1017 (14) - 77093643461234 [18:22:45]1041 (16) - 0000000000875104 [18:22:45]1040 (4) - 33295 [18:22:45]1012 (4) - 11.07.2024 12:18 [18:22:45]1206 (1) - 0 [18:22:45]OFD Sender: Remove packet 33295 [18:22:45]ProducePacketName [18:22:45]name=ofd_packets/00033295 [18:22:45]NVStorageDeleteData [18:22:45]Write to MH i2c: 01 00 00 2A 08 32 [18:22:45]Write i2c OK [18:22:45]MH_I2C_Read... [18:22:45]Read from MH i2c: 01 [18:22:45]MH_I2C_Read... [18:22:45]Read from MH i2c: 01 07 00 [18:22:45]MH_I2C_Read... [18:22:45]Read from MH i2c: 01 07 00 2A 08 00 00 00 00 00 D8 0C 1D [18:22:45]RasterBufferAndPrint [18:22:45]line [18:22:45]line [18:22:45]line [18:22:45]line [18:22:45]line [18:22:45]written 0, free lines is 3296 [18:22:45]MH_Cut [18:22:45]Write to MH i2c: D1 01 00 31 08 01 0B [18:22:45]Write i2c OK [18:22:45]MH_I2C_Read... [18:22:45]Read from MH i2c: D1 [18:22:45]MH_I2C_Read... [18:22:45]Read from MH i2c: D1 01 00 [18:22:45]MH_I2C_Read... [18:22:45]Read from MH i2c: D1 01 00 31 08 00 0A [18:22:46]Write to MH i2c: 01 00 00 32 08 3A [18:22:46]Write i2c OK [18:22:46]MH_I2C_Read... [18:22:46]OFD Sender: No OFD packet to send [18:22:46]*** Cut start [18:22:46]*** Partial cut [18:22:46]*** CUTSNS_PIN = 1 [18:22:46]*** CUTSNS_PIN = 0 [18:22:47]*** Brake cut motor [18:22:47]Read from MH i2c: 01 [18:22:47]MH_I2C_Read... [18:22:47]*** Stop cut motor [18:22:47]*** Cut end [18:22:47]Read from MH i2c: 01 07 00 [18:22:47]MH_I2C_Read... [18:22:47]Read from MH i2c: 01 07 00 32 08 00 00 00 00 00 FF 0F 4F [18:22:47]process_action close_receipt done [18:22:47]requested_data is exist [18:22:47]produce_requested_data [18:22:47]requested_item fm.sn is exist - process it [18:22:47]wFMCommunicate request_size=4 [18:22:47]MH_SAM_APDU [18:22:47]CAPDU: 80 11 00 00 [18:22:47]Write to MH i2c: E2 08 00 33 08 80 11 00 00 00 00 00 00 B5 [18:22:47]Write i2c OK [18:22:47]MH_I2C_Read... [18:22:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:22:47]Read from MH i2c: E2 [18:22:47]MH_I2C_Read... [18:22:47]Read from MH i2c: E2 17 00 [18:22:47]MH_I2C_Read... [18:22:47]Read from MH i2c: E2 17 00 33 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 01 [18:22:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [18:22:47]wFMCommunicate OK [18:22:47]requested_item fd.num is exist - process it [18:22:47]SAM_PROTO_GetFieldsCounters [18:22:47]wFMCommunicate request_size=4 [18:22:47]MH_SAM_APDU [18:22:47]CAPDU: 80 13 00 00 [18:22:47]Write to MH i2c: E2 08 00 34 08 80 13 00 00 00 00 00 00 B8 [18:22:47]Write i2c OK [18:22:47]MH_I2C_Read... [18:22:47]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:22:47]Read from MH i2c: E2 [18:22:47]MH_I2C_Read... [18:22:47]Read from MH i2c: E2 62 00 [18:22:47]MH_I2C_Read... [18:22:47]Read from MH i2c: E2 62 00 34 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 0F 82 00 00 0E 04 04 00 B0 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 A3 [18:22: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 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 0F 82 00 00 0E 04 04 00 B0 01 00 00 12 04 04 00 32 00 00 00 5E 04 04 00 32 00 00 00 57 04 04 00 33 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:22:47]wFMCommunicate OK [18:22:47]SAM_PROTO_GetFieldsCounters done [18:22:47]requested_item shift.num is exist - process it [18:22:47]requested_item shift.opened is exist - process it [18:22:47]req_shift_opened [18:22:47]FM_GetShiftState [18:22:47]SAM_PROTO_GetShiftState [18:22:47]wFMCommunicate request_size=4 [18:22:47]MH_SAM_APDU [18:22:47]CAPDU: 80 13 01 00 [18:22:47]Write to MH i2c: E2 08 00 35 08 80 13 01 00 00 00 00 00 BA [18:22:47]Write i2c OK [18:22:47]MH_I2C_Read... [18:22:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:22:47]Read from MH i2c: E2 [18:22:47]MH_I2C_Read... [18:22:47]Read from MH i2c: E2 0E 00 [18:22:47]MH_I2C_Read... [18:22:47]Read from MH i2c: E2 0E 00 35 08 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 EB [18:22:47]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [18:22:47]wFMCommunicate OK [18:22:47]SAM_PROTO_GetShiftState done [18:22:47]FM_GetShiftState done [18:22:47]req_shift_opened done [18:22:47]requested_item shift.open_date is exist - process it [18:22:47]req_shift_open_date [18:22:47]req_shift_open_date done [18:22:47]produce_requested_data done [18:22:47]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33295,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398} [18:22:47]process_action_free close_receipt [18:22:47]json_value_free [18:22:47]json_value_free done [18:22:47]process_json_proto returns [18:22:47]Send response to host [18:22:47]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33295,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398}}} [18:22:47]free response buf [18:22:47]execute_script done [18:22:47]execute_script returns [18:22:47]free content buf [18:22:47]Sock 7.Close socket [18:22:47]Sock 7.Thread stoped [18:22:51]OFD Sender: No OFD packet to send [18:22:56]OFD Sender: No OFD packet to send [18:23:01]OFD Sender: No OFD packet to send [18:23:06]OFD Sender: No OFD packet to send [18:23:11]OFD Sender: No OFD packet to send [18:23:16]OFD Sender: No OFD packet to send [18:23:21]OFD Sender: No OFD packet to send [18:23:26]OFD Sender: No OFD packet to send [18:23:31]OFD Sender: No OFD packet to send [18:23:36]OFD Sender: No OFD packet to send [18:23:41]OFD Sender: No OFD packet to send [18:23:46]OFD Sender: No OFD packet to send [18:23:51]OFD Sender: No OFD packet to send [18:23:56]OFD Sender: No OFD packet to send [18:24:01]OFD Sender: No OFD packet to send [18:24:06]OFD Sender: No OFD packet to send [18:24:11]OFD Sender: No OFD packet to send [18:24:16]OFD Sender: No OFD packet to send [18:24:21]OFD Sender: No OFD packet to send [18:24:26]OFD Sender: No OFD packet to send [18:24:31]OFD Sender: No OFD packet to send [18:24:36]OFD Sender: No OFD packet to send [18:24:41]OFD Sender: No OFD packet to send [18:24:46]OFD Sender: No OFD packet to send [18:24:51]OFD Sender: No OFD packet to send [18:24:56]OFD Sender: No OFD packet to send [18:25:01]OFD Sender: No OFD packet to send [18:25:06]OFD Sender: No OFD packet to send [18:25:11]OFD Sender: No OFD packet to send [18:25:16]OFD Sender: No OFD packet to send [18:25:21]OFD Sender: No OFD packet to send [18:25:26]OFD Sender: No OFD packet to send [18:25:31]OFD Sender: No OFD packet to send [18:25:36]OFD Sender: No OFD packet to send [18:25:41]OFD Sender: No OFD packet to send [18:25:44]accept exits with 9 [18:25:44]New connection [18:25:44]New thread 3066793316 created [18:25:44]Thread 3066936676 joined [18:25:44]Waiting for new connection... [18:25:44] Sock 9.Parse request [18:25:44]Sock 9.Check first char [18:25:44]Sock 9.First char is OK [18:25:44]request: POST /json_proto HTTP/1.0 [18:25:44]Method: POST [18:25:44]URL: /json_proto [18:25:44]Method is POST - this is cgi request [18:25:44]url: /json_proto [18:25:44]query_string will be loaded in cgi processing [18:25:44]execute_cgi json_proto POST (null) [18:25:44]execute_cgi path=json_proto method=POST [18:25:44]POST find Content-Length [18:25:44]Host: 172.17.35.196:8080 [18:25:44]Content-Length: 1163 [18:25:44]Content-Type: application/json [18:25:44] [18:25:44]POST finish read [18:25:44]Found Content-Length = 1163 [18:25:44]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169127", "tax_sys" : 0, "items" : [ { "code": "4631162227163", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0433\u0430\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0439 Mojito LEMON LIME \u0436", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000032780025", "name": "\u0421\u043E\u0441\u0438\u0441\u043A\u0430 \u0432 \u0442\u0435\u0441\u0442\u0435 DC 110\u0433", "price" : 60.00, "quantity" : 2.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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 215.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:25:44]execute_script... [18:25: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)169127", "tax_sys" : 0, "items" : [ { "code": "4631162227163", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0433\u0430\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0439 Mojito LEMON LIME \u0436", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000032780025", "name": "\u0421\u043E\u0441\u0438\u0441\u043A\u0430 \u0432 \u0442\u0435\u0441\u0442\u0435 DC 110\u0433", "price" : 60.00, "quantity" : 2.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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 215.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:25:44]POST & json_proto [18:25:44]process_json_proto [18:25:44]json parsed OK: [18:25:44]protocol is kg_v1.0 [18:25:44]action value=close_receipt [18:25:44]process_action close_receipt [18:25:44]cmd_close_receipt [18:25:44]MH_GetDate [18:25:44]Write to MH i2c: F0 00 00 36 08 2D [18:25:44]Write i2c OK [18:25:44]MH_I2C_Read... [18:25:44]Read from MH i2c: F0 [18:25:44]MH_I2C_Read... [18:25:44]Read from MH i2c: F0 09 00 [18:25:44]MH_I2C_Read... [18:25:44]Read from MH i2c: F0 09 00 36 08 00 A9 23 90 66 AD 14 F4 65 12 [18:25:44]GetLastDocTimeStamp 1720722164 [18:25:44]current date 1720722345 [18:25:44]FM_GetShiftState [18:25:44]SAM_PROTO_GetShiftState [18:25:44]wFMCommunicate request_size=4 [18:25:44]MH_SAM_APDU [18:25:44]CAPDU: 80 13 01 00 [18:25:44]Write to MH i2c: E2 08 00 37 08 80 13 01 00 00 00 00 00 BC [18:25:44]Write i2c OK [18:25:44]MH_I2C_Read... [18:25:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:25:44]Read from MH i2c: E2 [18:25:44]MH_I2C_Read... [18:25:44]Read from MH i2c: E2 0E 00 [18:25:44]MH_I2C_Read... [18:25:44]Read from MH i2c: E2 0E 00 37 08 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 ED [18:25:44]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [18:25:44]wFMCommunicate OK [18:25:44]SAM_PROTO_GetShiftState done [18:25:44]FM_GetShiftState done [18:25:44]opened in 1720656398 [18:25:44]opened+sec_in_day 1720742798 [18:25:44]quantity*price = 9500 [18:25:44]sum+1 = 9501 [18:25:44]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000032780025 Сосиска в тесте DC 110г 2.000 * 60.00 = 120.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 215.00 НСП 1% : 1.90 НДС 12% : 22.83 Наличными: 0.00 Безнал.: 215.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 51 11.07.2024 18:25 Смена: 432 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000875104 ФД: 33296 ФПД: 22952130893560 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T182546&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33296&fm=22952130893560&tin=02508201610067®Number=0000000000093033&sum=21500 0 [18:25:45]StoreToDocumentArchive [18:25:45]shift 432 fd 33296 [18:25:45]save to /storage/0432/doc_00033296 [18:25:45]save last doc name /storage/0432/doc_00033296 to /storage/kkm_last_doc_name [18:25:45]save OK [18:25:45]Clear old archive folders... [18:25:45]ProcessDocumentItem done err = 0, tmpTLVsize=411 [18:25:45]tlvbuf is 01C3FEB0 [18:25:45]SAM_PROTO_ClearQueue [18:25:45]wFMCommunicate request_size=4 [18:25:45]MH_SAM_APDU [18:25:45]CAPDU: 80 09 00 00 [18:25:45]Write to MH i2c: E2 08 00 44 08 80 09 00 00 00 00 00 00 BE [18:25:45]Write i2c OK [18:25:45]MH_I2C_Read... [18:25:45]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:25:45]Read from MH i2c: E2 [18:25:45]MH_I2C_Read... [18:25:45]Read from MH i2c: E2 03 00 [18:25:45]MH_I2C_Read... [18:25:45]Read from MH i2c: E2 03 00 44 08 00 90 00 C0 [18:25:45]RAPDU: 90 00 [18:25:45]wFMCommunicate OK [18:25:45]SAM_PROTO_ClearQueue done [18:25:45]KKMCreateOFDPacket [18:25:45]OFDProtocolAddRootSTLVToBuf [18:25:45]FM_MakeSignedData [18:25:45]FM_MakeSignedData [18:25:45]SAM_PROTO_SignData [18:25:45]wFMCommunicate request_size=4 [18:25:45]MH_SAM_APDU [18:25:45]CAPDU: 80 0D 01 02 [18:25:45]Write to MH i2c: E2 08 00 45 08 80 0D 01 02 00 00 00 00 C6 [18:25:45]Write i2c OK [18:25:45]MH_I2C_Read... [18:25:45]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:25:45]Read from MH i2c: E2 [18:25:45]MH_I2C_Read... [18:25:45]Read from MH i2c: E2 03 00 [18:25:45]MH_I2C_Read... [18:25:45]Read from MH i2c: E2 03 00 45 08 00 90 00 C1 [18:25:45]RAPDU: 90 00 [18:25:45]wFMCommunicate OK [18:25:45]wFMCommunicate request_size=255 [18:25:45]MH_SAM_APDU [18:25:45]CAPDU: 80 0D 02 02 FA 03 00 9B 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 36 33 31 31 36 32 32 32 37 31 36 33 06 04 3C 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 B3 D0 B0 D0 B7 D0 B8 D1 80 D0 BE D0 B2 D0 B0 D0 BD D0 BD D1 8B D0 B9 20 4D 6F 6A 69 74 6F 20 4C 45 4D 4F 4E 20 4C 49 4D 45 20 D0 B6 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 69 00 8A 04 0D 00 32 30 30 30 30 33 32 37 38 30 30 32 35 06 04 25 00 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 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 [18:25:45]Write to MH i2c: E2 02 01 46 08 80 0D 02 02 FA 00 03 00 9B 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 36 33 31 31 36 32 32 32 37 31 36 33 06 04 3C 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 B3 D0 B0 D0 B7 D0 B8 D1 80 D0 BE D0 B2 D0 B0 D0 BD D0 BD D1 8B D0 B9 20 4D 6F 6A 69 74 6F 20 4C 45 4D 4F 4E 20 4C 49 4D 45 20 D0 B6 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 69 00 8A 04 0D 00 32 30 30 30 30 33 32 37 38 30 30 32 35 06 04 25 00 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 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 00 00 12 [18:25:45]Write i2c OK [18:25:45]MH_I2C_Read... [18:25:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:25:46]Read from MH i2c: E2 [18:25:46]MH_I2C_Read... [18:25:46]Read from MH i2c: E2 03 00 [18:25:46]MH_I2C_Read... [18:25:46]Read from MH i2c: E2 03 00 46 08 00 90 00 C2 [18:25:46]RAPDU: 90 00 [18:25:46]wFMCommunicate OK [18:25:46]wFMCommunicate request_size=170 [18:25:46]MH_SAM_APDU [18:25:46]CAPDU: 80 0D 02 02 A5 FC 03 06 00 FC 53 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BE 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EB 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 FC 53 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 AA 23 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 10 82 00 00 35 04 06 00 14 DF F5 9B D6 F8 [18:25:46]Write to MH i2c: E2 AD 00 47 08 80 0D 02 02 A5 00 FC 03 06 00 FC 53 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BE 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EB 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 FC 53 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 AA 23 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 10 82 00 00 35 04 06 00 14 DF F5 9B D6 F8 00 00 20 [18:25:46]Write i2c OK [18:25:46]MH_I2C_Read... [18:25:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:25:46]Read from MH i2c: E2 [18:25:46]MH_I2C_Read... [18:25:46]Read from MH i2c: E2 03 00 [18:25:46]MH_I2C_Read... [18:25:46]Read from MH i2c: E2 03 00 47 08 00 90 00 C3 [18:25:46]RAPDU: 90 00 [18:25:46]wFMCommunicate OK [18:25:46]wFMCommunicate request_size=4 [18:25:46]MH_SAM_APDU [18:25:46]CAPDU: 80 0D 03 02 [18:25:46]Write to MH i2c: E2 08 00 48 08 80 0D 03 02 00 00 00 00 CB [18:25:46]Write i2c OK [18:25:46]MH_I2C_Read... [18:25:46]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:25:46]Read from MH i2c: E2 [18:25:46]MH_I2C_Read... [18:25:46]Read from MH i2c: E2 0B 00 [18:25:46]MH_I2C_Read... [18:25:46]Read from MH i2c: E2 0B 00 48 08 00 11 3C 1B BF C2 F7 38 B3 90 00 97 [18:25:46]RAPDU: 11 3C 1B BF C2 F7 38 B3 90 00 [18:25:46]wFMCommunicate OK [18:25:46]SAM_PROTO_SignData done [18:25:46]FM_MakeSignedData done [18:25:46]CreateOFDProtocolMessage [18:25:46]wFMCommunicate request_size=4 [18:25:46]MH_SAM_APDU [18:25:46]CAPDU: 80 11 00 00 [18:25:46]Write to MH i2c: E2 08 00 49 08 80 11 00 00 00 00 00 00 CB [18:25:46]Write i2c OK [18:25:46]MH_I2C_Read... [18:25:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:25:46]Read from MH i2c: E2 [18:25:46]MH_I2C_Read... [18:25:46]Read from MH i2c: E2 17 00 [18:25:46]MH_I2C_Read... [18:25:46]Read from MH i2c: E2 17 00 49 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 17 [18:25:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [18:25:46]wFMCommunicate OK [18:25:46]CreateOFDProtocolMessage done [18:25:46]OFDSenderStorePacket 33296 [18:25:46]StoreOFDPacket docnum=33296 [18:25:46]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 AF 01 00 00 4F 7C A7 01 00 5A 5A 03 01 00 03 00 9B 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 36 33 31 31 36 32 32 32 37 31 36 33 06 04 3C 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 B3 D0 B0 D0 B7 D0 B8 D1 80 D0 BE D0 B2 D0 B0 D0 BD D0 BD D1 8B D0 B9 20 4D 6F 6A 69 74 6F 20 4C 45 4D 4F 4E 20 4C 49 4D 45 20 D0 B6 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 69 00 8A 04 0D 00 32 30 30 30 30 33 32 37 38 30 30 32 35 06 04 25 00 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 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 FC 53 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BE 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EB 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 FC 53 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 AA 23 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 10 82 00 00 35 04 06 00 14 DF F5 9B D6 F8 11 3C 1B BF C2 F7 38 B3 [18:25:46]CheckFolder [18:25:46]dirname=/storage/ofd_packets [18:25:46]CheckFolder done [18:25:46]ProducePacketName [18:25:46]name=ofd_packets/00033296 [18:25:46]NVStorageSaveData ofd_packets/00033296 [18:25:46]File name is /storage/ofd_packets/00033296 [18:25:46]Write 461 bytes [18:25:46]NVStorageSaveData done [18:25:46]OFDSenderStorePacket done [18:25:46]KKMCreateOFDPacket done [18:25:46]NVStorageSaveData kkm_last_timestamp [18:25:46]File name is /storage/kkm_last_timestamp [18:25:46]Write 4 bytes [18:25:46]NVStorageSaveData done [18:25:46]ExternCall_PrintAddStr [18:25:46]wPrintStart [18:25:46]Write to MH i2c: 01 00 00 4A 08 52 [18:25:46]OFD Sender: No OFD packet to send [18:25:46]Write i2c OK [18:25:46]MH_I2C_Read... [18:25:46]Read from MH i2c: 01 [18:25:46]MH_I2C_Read... [18:25:46]Read from MH i2c: 01 07 00 [18:25:46]MH_I2C_Read... [18:25:46]Read from MH i2c: 01 07 00 4A 08 00 00 00 00 00 FF 0F 67 [18:25:46]RasterBufferAndPrint [18:25:46]line Счет N : (3)169127 [18:25:46]line ИНН: 02508201610067 [18:25:46]line Контрольно-Кассовый Чек [18:25:46]line ПРОДАЖА [18:25:46]line Товар: 4631162227163 [18:25:46]line Напиток газированный Mojito LEMON LIME ж [18:25:46]line 1.000 * 95.00 [18:25:46]line = 95.00 [18:25:46]line НДС 12% НСП 1% [18:25:46]line > о реализуемом товаре [18:25:46]line Товар: 2000032780025 [18:25:46]line Сосиска в тесте DC 110г [18:25:46]line 2.000 * 60.00 [18:25:46]line = 120.00 [18:25:46]line НДС 12% НСП 1% [18:25:46]line > о реализуемом товаре [18:25:46]line ИТОГО: 215.00 [18:25:46]line НСП 1% : 1.90 [18:25:46]line НДС 12% : 22.83 [18:25:46]line Наличными: 0.00 [18:25:46]line Безнал.: 215.00 [18:25:46]line Место: АЗС № 77 "Партнер Нефть" [18:25:46]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [18:25:46]line СНО: Общий режим [18:25:46]line Чек 51 11.07.2024 18:25 [18:25:46]line Смена: 432 ФФД: 1.0 [18:25:46]line ЗНМ: 0300000122 [18:25:46]line РНМ: 0000000000093033 [18:25:46]line Версия ККМ: 001 [18:25:46]line Платежная система: АКБ Кыргызстан [18:25:46]line ФМ: 0000000000875104 [18:25:46]line ФД: 33296 [18:25:46]line ФПД: 22952130893560 [18:25:46]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T182546&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33296&fm=22952130893560&tin=02508201610067®Number=0000000000093033&sum=21500 [18:25:46]line 0 [18:25:46]written 0, free lines is 4095 [18:25:46]OFD Sender: Processing packet 33296 [packets to send 6, broken 5] [18:25:46]ProducePacketName [18:25:46]name=ofd_packets/00033296 [18:25:46]OFD Sender: To server: pG, [18:25:46]CommunicateWithHost lk.salyk.kg:30040 [18:25:46]ConnectInit lk.salyk.kg [18:25:46]Connected sock=10 [18:25:46]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 AF 01 00 00 4F 7C A7 01 00 5A 5A 03 01 00 03 00 9B 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 36 33 31 31 36 32 32 32 37 31 36 33 06 04 3C 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 B3 D0 B0 D0 B7 D0 B8 D1 80 D0 BE D0 B2 D0 B0 D0 BD D0 BD D1 8B D0 B9 20 4D 6F 6A 69 74 6F 20 4C 45 4D 4F 4E 20 4C 49 4D 45 20 D0 B6 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 69 00 8A 04 0D 00 32 30 30 30 30 33 32 37 38 30 30 32 35 06 04 25 00 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 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 FC 53 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BE 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EB 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 FC 53 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 AA 23 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 10 82 00 00 35 04 06 00 14 DF F5 9B D6 F8 11 3C 1B BF C2 F7 38 B3 [18:25:47]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 E4 7E 47 00 34 36 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 35 31 30 34 10 04 04 00 10 82 00 00 F4 03 04 00 59 CE 8F 66 B6 04 01 00 00 74 68 4A FF 99 15 AD 48 [18:25:47]CommunicateWithHost err = 0 [18:25:47]CheckOFDResponse [18:25:47]1017 (14) - 77093643461234 [18:25:47]1041 (16) - 0000000000875104 [18:25:47]1040 (4) - 33296 [18:25:47]1012 (4) - 11.07.2024 12:21 [18:25:47]1206 (1) - 0 [18:25:47]OFD Sender: Remove packet 33296 [18:25:47]ProducePacketName [18:25:47]name=ofd_packets/00033296 [18:25:47]NVStorageDeleteData [18:25:47]Write to MH i2c: 01 00 00 7B 08 83 [18:25:47]Write i2c OK [18:25:47]MH_I2C_Read... [18:25:47]Read from MH i2c: 01 [18:25:47]MH_I2C_Read... [18:25:47]Read from MH i2c: 01 07 00 [18:25:47]MH_I2C_Read... [18:25:47]Read from MH i2c: 01 07 00 7B 08 00 00 00 00 00 73 0C 09 [18:25:47]RasterBufferAndPrint [18:25:47]line [18:25:47]line [18:25:47]line [18:25:47]line [18:25:47]line [18:25:47]written 0, free lines is 3193 [18:25:47]MH_Cut [18:25:47]Write to MH i2c: D1 01 00 82 08 01 5C [18:25:47]Write i2c OK [18:25:47]MH_I2C_Read... [18:25:47]Read from MH i2c: D1 [18:25:47]MH_I2C_Read... [18:25:47]Read from MH i2c: D1 01 00 [18:25:47]MH_I2C_Read... [18:25:47]Read from MH i2c: D1 01 00 82 08 00 5B [18:25:47]Write to MH i2c: 01 00 00 83 08 8B [18:25:47]Write i2c OK [18:25:47]MH_I2C_Read... [18:25:47]OFD Sender: No OFD packet to send [18:25:48]*** Cut start [18:25:48]*** Partial cut [18:25:48]*** CUTSNS_PIN = 1 [18:25:48]*** CUTSNS_PIN = 0 [18:25:48]*** Brake cut motor [18:25:48]Read from MH i2c: 01 [18:25:48]MH_I2C_Read... [18:25:48]*** Stop cut motor [18:25:48]*** Cut end [18:25:48]Read from MH i2c: 01 07 00 [18:25:48]MH_I2C_Read... [18:25:48]Read from MH i2c: 01 07 00 83 08 00 00 00 00 00 FF 0F A0 [18:25:48]process_action close_receipt done [18:25:48]requested_data is exist [18:25:48]produce_requested_data [18:25:48]requested_item fm.sn is exist - process it [18:25:48]wFMCommunicate request_size=4 [18:25:48]MH_SAM_APDU [18:25:48]CAPDU: 80 11 00 00 [18:25:48]Write to MH i2c: E2 08 00 84 08 80 11 00 00 00 00 00 00 06 [18:25:48]Write i2c OK [18:25:48]MH_I2C_Read... [18:25:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:25:48]Read from MH i2c: E2 [18:25:48]MH_I2C_Read... [18:25:48]Read from MH i2c: E2 17 00 [18:25:48]MH_I2C_Read... [18:25:48]Read from MH i2c: E2 17 00 84 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 52 [18:25:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [18:25:48]wFMCommunicate OK [18:25:48]requested_item fd.num is exist - process it [18:25:48]SAM_PROTO_GetFieldsCounters [18:25:48]wFMCommunicate request_size=4 [18:25:48]MH_SAM_APDU [18:25:48]CAPDU: 80 13 00 00 [18:25:48]Write to MH i2c: E2 08 00 85 08 80 13 00 00 00 00 00 00 09 [18:25:48]Write i2c OK [18:25:48]MH_I2C_Read... [18:25:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:25:48]Read from MH i2c: E2 [18:25:48]MH_I2C_Read... [18:25:48]Read from MH i2c: E2 62 00 [18:25:48]MH_I2C_Read... [18:25:48]Read from MH i2c: E2 62 00 85 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 10 82 00 00 0E 04 04 00 B0 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 F8 [18:25: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 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 10 82 00 00 0E 04 04 00 B0 01 00 00 12 04 04 00 33 00 00 00 5E 04 04 00 33 00 00 00 57 04 04 00 34 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:25:48]wFMCommunicate OK [18:25:48]SAM_PROTO_GetFieldsCounters done [18:25:48]requested_item shift.num is exist - process it [18:25:48]requested_item shift.opened is exist - process it [18:25:48]req_shift_opened [18:25:48]FM_GetShiftState [18:25:48]SAM_PROTO_GetShiftState [18:25:48]wFMCommunicate request_size=4 [18:25:48]MH_SAM_APDU [18:25:48]CAPDU: 80 13 01 00 [18:25:48]Write to MH i2c: E2 08 00 86 08 80 13 01 00 00 00 00 00 0B [18:25:48]Write i2c OK [18:25:48]MH_I2C_Read... [18:25:48]Read from MH i2c: E2 [18:25:48]MH_I2C_Read... [18:25:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:25:48]Read from MH i2c: E2 0E 00 [18:25:48]MH_I2C_Read... [18:25:48]Read from MH i2c: E2 0E 00 86 08 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 3C [18:25:48]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [18:25:48]wFMCommunicate OK [18:25:48]SAM_PROTO_GetShiftState done [18:25:48]FM_GetShiftState done [18:25:48]req_shift_opened done [18:25:48]requested_item shift.open_date is exist - process it [18:25:48]req_shift_open_date [18:25:48]req_shift_open_date done [18:25:48]produce_requested_data done [18:25:48]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33296,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398} [18:25:48]process_action_free close_receipt [18:25:48]json_value_free [18:25:48]json_value_free done [18:25:48]process_json_proto returns [18:25:48]Send response to host [18:25:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33296,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398}}} [18:25:48]free response buf [18:25:48]execute_script done [18:25:48]execute_script returns [18:25:48]free content buf [18:25:48]Sock 9.Close socket [18:25:48]Sock 9.Thread stoped [18:25:52]OFD Sender: No OFD packet to send [18:25:57]OFD Sender: No OFD packet to send [18:26:02]OFD Sender: No OFD packet to send [18:26:07]OFD Sender: No OFD packet to send [18:26:12]OFD Sender: No OFD packet to send [18:26:17]OFD Sender: No OFD packet to send [18:26:22]OFD Sender: No OFD packet to send [18:26:27]OFD Sender: No OFD packet to send [18:26:32]OFD Sender: No OFD packet to send [18:26:37]OFD Sender: No OFD packet to send [18:26:42]OFD Sender: No OFD packet to send [18:26:47]OFD Sender: No OFD packet to send [18:26:52]OFD Sender: No OFD packet to send [18:26:57]OFD Sender: No OFD packet to send [18:27:02]OFD Sender: No OFD packet to send [18:27:07]OFD Sender: No OFD packet to send [18:27:12]OFD Sender: No OFD packet to send [18:27:17]OFD Sender: No OFD packet to send [18:27:22]OFD Sender: No OFD packet to send [18:27:27]OFD Sender: No OFD packet to send [18:27:32]OFD Sender: No OFD packet to send [18:27:37]OFD Sender: No OFD packet to send [18:27:42]OFD Sender: No OFD packet to send [18:27:43]accept exits with 7 [18:27:43]New connection [18:27:43]New thread 3066936676 created [18:27:43]Thread 3066793316 joined [18:27:43]Waiting for new connection... [18:27:43] Sock 7.Parse request [18:27:43]Sock 7.Check first char [18:27:43]Sock 7.First char is OK [18:27:43]request: POST /json_proto HTTP/1.0 [18:27:43]Method: POST [18:27:43]URL: /json_proto [18:27:43]Method is POST - this is cgi request [18:27:43]url: /json_proto [18:27:43]query_string will be loaded in cgi processing [18:27:43]execute_cgi json_proto POST (null) [18:27:43]execute_cgi path=json_proto method=POST [18:27:43]POST find Content-Length [18:27:43]Host: 172.17.35.196:8080 [18:27:43]Content-Length: 632 [18:27:43]Content-Type: application/json [18:27:43] [18:27:43]POST finish read [18:27:43]Found Content-Length = 632 [18:27:43]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169128", "tax_sys" : 0, "items" : [ { "code": "48745031", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Superslims Expand Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:27:43]execute_script... [18:27: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)169128", "tax_sys" : 0, "items" : [ { "code": "48745031", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Superslims Expand Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:27:43]POST & json_proto [18:27:43]process_json_proto [18:27:43]json parsed OK: [18:27:43]protocol is kg_v1.0 [18:27:43]action value=close_receipt [18:27:43]process_action close_receipt [18:27:43]cmd_close_receipt [18:27:43]MH_GetDate [18:27:43]Write to MH i2c: F0 00 00 87 08 7E [18:27:43]Write i2c OK [18:27:43]MH_I2C_Read... [18:27:43]Read from MH i2c: F0 [18:27:43]MH_I2C_Read... [18:27:43]Read from MH i2c: F0 09 00 [18:27:43]MH_I2C_Read... [18:27:43]Read from MH i2c: F0 09 00 87 08 00 20 24 90 66 AD 14 F4 65 DB [18:27:43]GetLastDocTimeStamp 1720722346 [18:27:43]current date 1720722464 [18:27:43]FM_GetShiftState [18:27:43]SAM_PROTO_GetShiftState [18:27:43]wFMCommunicate request_size=4 [18:27:43]MH_SAM_APDU [18:27:43]CAPDU: 80 13 01 00 [18:27:43]Write to MH i2c: E2 08 00 88 08 80 13 01 00 00 00 00 00 0D [18:27:43]Write i2c OK [18:27:43]MH_I2C_Read... [18:27:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:27:43]Read from MH i2c: E2 [18:27:43]MH_I2C_Read... [18:27:43]Read from MH i2c: E2 0E 00 [18:27:43]MH_I2C_Read... [18:27:43]Read from MH i2c: E2 0E 00 88 08 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 3E [18:27:43]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [18:27:43]wFMCommunicate OK [18:27:43]SAM_PROTO_GetShiftState done [18:27:43]FM_GetShiftState done [18:27:43]opened in 1720656398 [18:27:43]opened+sec_in_day 1720742798 [18:27:43]quantity*price = 14000 [18:27:43]sum+1 = 14001 [18:27:43]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 140.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 52 11.07.2024 18:27 Смена: 432 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33297 ФПД: 193148964943526 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T182744&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33297&fm=193148964943526&tin=02508201610067®Number=0000000000093033&sum=14000 0 [18:27:44]StoreToDocumentArchive [18:27:44]shift 432 fd 33297 [18:27:44]save to /storage/0432/doc_00033297 [18:27:44]save last doc name /storage/0432/doc_00033297 to /storage/kkm_last_doc_name [18:27:44]save OK [18:27:44]Clear old archive folders... [18:27:44]ProcessDocumentItem done err = 0, tmpTLVsize=284 [18:27:44]tlvbuf is 01C997D0 [18:27:44]SAM_PROTO_ClearQueue [18:27:44]wFMCommunicate request_size=4 [18:27:44]MH_SAM_APDU [18:27:44]CAPDU: 80 09 00 00 [18:27:44]Write to MH i2c: E2 08 00 95 08 80 09 00 00 00 00 00 00 0F [18:27:44]Write i2c OK [18:27:44]MH_I2C_Read... [18:27:44]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:27:44]Read from MH i2c: E2 [18:27:44]MH_I2C_Read... [18:27:44]Read from MH i2c: E2 03 00 [18:27:44]MH_I2C_Read... [18:27:44]Read from MH i2c: E2 03 00 95 08 00 90 00 11 [18:27:44]RAPDU: 90 00 [18:27:44]wFMCommunicate OK [18:27:44]SAM_PROTO_ClearQueue done [18:27:44]KKMCreateOFDPacket [18:27:44]OFDProtocolAddRootSTLVToBuf [18:27:44]FM_MakeSignedData [18:27:44]FM_MakeSignedData [18:27:44]SAM_PROTO_SignData [18:27:44]wFMCommunicate request_size=4 [18:27:44]MH_SAM_APDU [18:27:44]CAPDU: 80 0D 01 02 [18:27:44]Write to MH i2c: E2 08 00 96 08 80 0D 01 02 00 00 00 00 17 [18:27:44]Write i2c OK [18:27:44]MH_I2C_Read... [18:27:44]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:27:44]Read from MH i2c: E2 [18:27:44]MH_I2C_Read... [18:27:44]Read from MH i2c: E2 03 00 [18:27:44]MH_I2C_Read... [18:27:44]Read from MH i2c: E2 03 00 96 08 00 90 00 12 [18:27:44]RAPDU: 90 00 [18:27:44]wFMCommunicate OK [18:27:44]wFMCommunicate request_size=255 [18:27:44]MH_SAM_APDU [18:27:44]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 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 34 00 00 00 F4 03 04 00 20 24 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 [18:27:44]Write to MH i2c: E2 02 01 97 08 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 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 34 00 00 00 F4 03 04 00 20 24 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 00 00 18 [18:27:44]Write i2c OK [18:27:44]MH_I2C_Read... [18:27:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:27:44]Read from MH i2c: E2 [18:27:44]MH_I2C_Read... [18:27:44]Read from MH i2c: E2 03 00 [18:27:44]MH_I2C_Read... [18:27:44]Read from MH i2c: E2 03 00 97 08 00 90 00 13 [18:27:44]RAPDU: 90 00 [18:27:44]wFMCommunicate OK [18:27:44]wFMCommunicate request_size=43 [18:27:44]MH_SAM_APDU [18:27:44]CAPDU: 80 0D 02 02 26 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 11 82 00 00 35 04 06 00 AF AA FF 71 B6 A6 [18:27:44]Write to MH i2c: E2 2E 00 98 08 80 0D 02 02 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 11 82 00 00 35 04 06 00 AF AA FF 71 B6 A6 00 00 B3 [18:27:44]Write i2c OK [18:27:44]MH_I2C_Read... [18:27:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:27:44]Read from MH i2c: E2 [18:27:44]MH_I2C_Read... [18:27:44]Read from MH i2c: E2 03 00 [18:27:44]MH_I2C_Read... [18:27:44]Read from MH i2c: E2 03 00 98 08 00 90 00 14 [18:27:44]RAPDU: 90 00 [18:27:44]wFMCommunicate OK [18:27:44]wFMCommunicate request_size=4 [18:27:44]MH_SAM_APDU [18:27:44]CAPDU: 80 0D 03 02 [18:27:44]Write to MH i2c: E2 08 00 99 08 80 0D 03 02 00 00 00 00 1C [18:27:44]Write i2c OK [18:27:44]MH_I2C_Read... [18:27:44]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:27:44]Read from MH i2c: E2 [18:27:44]MH_I2C_Read... [18:27:44]Read from MH i2c: E2 0B 00 [18:27:44]MH_I2C_Read... [18:27:44]Read from MH i2c: E2 0B 00 99 08 00 54 C1 25 4C B0 41 8F F4 90 00 17 [18:27:44]RAPDU: 54 C1 25 4C B0 41 8F F4 90 00 [18:27:44]wFMCommunicate OK [18:27:44]SAM_PROTO_SignData done [18:27:44]FM_MakeSignedData done [18:27:44]CreateOFDProtocolMessage [18:27:44]wFMCommunicate request_size=4 [18:27:44]MH_SAM_APDU [18:27:44]CAPDU: 80 11 00 00 [18:27:44]Write to MH i2c: E2 08 00 9A 08 80 11 00 00 00 00 00 00 1C [18:27:44]Write i2c OK [18:27:44]MH_I2C_Read... [18:27:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:27:44]Read from MH i2c: E2 [18:27:44]MH_I2C_Read... [18:27:44]Read from MH i2c: E2 17 00 [18:27:44]MH_I2C_Read... [18:27:44]Read from MH i2c: E2 17 00 9A 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 68 [18:27:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [18:27:44]wFMCommunicate OK [18:27:44]CreateOFDProtocolMessage done [18:27:44]OFDSenderStorePacket 33297 [18:27:44]StoreOFDPacket docnum=33297 [18:27:44]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 30 01 00 00 18 AC 28 01 46 87 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 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 34 00 00 00 F4 03 04 00 20 24 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 11 82 00 00 35 04 06 00 AF AA FF 71 B6 A6 54 C1 25 4C B0 41 8F F4 [18:27:44]CheckFolder [18:27:44]dirname=/storage/ofd_packets [18:27:44]CheckFolder done [18:27:44]ProducePacketName [18:27:44]name=ofd_packets/00033297 [18:27:44]NVStorageSaveData ofd_packets/00033297 [18:27:44]File name is /storage/ofd_packets/00033297 [18:27:44]Write 334 bytes [18:27:44]NVStorageSaveData done [18:27:44]OFDSenderStorePacket done [18:27:44]KKMCreateOFDPacket done [18:27:44]NVStorageSaveData kkm_last_timestamp [18:27:44]File name is /storage/kkm_last_timestamp [18:27:44]Write 4 bytes [18:27:44]NVStorageSaveData done [18:27:44]ExternCall_PrintAddStr [18:27:44]wPrintStart [18:27:44]Write to MH i2c: 01 00 00 9B 08 A3 [18:27:44]Write i2c OK [18:27:44]MH_I2C_Read... [18:27:44]Read from MH i2c: 01 [18:27:44]MH_I2C_Read... [18:27:44]Read from MH i2c: 01 07 00 [18:27:44]MH_I2C_Read... [18:27:44]Read from MH i2c: 01 07 00 9B 08 00 00 00 00 00 FF 0F B8 [18:27:44]RasterBufferAndPrint [18:27:44]line Счет N : (3)169128 [18:27:44]line ИНН: 02508201610067 [18:27:44]line Контрольно-Кассовый Чек [18:27:44]line ПРОДАЖА [18:27:44]line Товар: 48745031 [18:27:44]line Сигареты Winston Superslims Expand Blue [18:27:44]line 1.000 * 140.00 [18:27:44]line = 140.00 [18:27:44]line НДС 12% НСП 1% [18:27:44]line > о реализуемом товаре [18:27:44]line ИТОГО: 140.00 [18:27:44]line НСП 1% : 1.24 [18:27:44]line НДС 12% : 14.87 [18:27:44]line Наличными: 140.00 [18:27:44]line Безнал.: 0.00 [18:27:44]line Место: АЗС № 77 "Партнер Нефть" [18:27:44]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [18:27:44]line СНО: Общий режим [18:27:44]line Чек 52 11.07.2024 18:27 [18:27:44]line Смена: 432 ФФД: 1.0 [18:27:44]line ЗНМ: 0300000122 [18:27:44]line РНМ: 0000000000093033 [18:27:44]line Версия ККМ: 001 [18:27:44]line ФМ: 0000000000875104 [18:27:44]line ФД: 33297 [18:27:44]line ФПД: 193148964943526 [18:27:45]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T182744&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33297&fm=193148964943526&tin=02508201610067®Number=0000000000093033&sum=14000 [18:27:45]line 0 [18:27:45]OFD Sender: Processing packet 33297 [packets to send 6, broken 5] [18:27:45]ProducePacketName [18:27:45]name=ofd_packets/00033297 [18:27:45]OFD Sender: To server: pG, [18:27:45]CommunicateWithHost lk.salyk.kg:30040 [18:27:45]ConnectInit lk.salyk.kg [18:27:45]written 0, free lines is 4095 [18:27:45]Connected sock=9 [18:27:45]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 30 01 00 00 18 AC 28 01 46 87 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 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 34 00 00 00 F4 03 04 00 20 24 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 11 82 00 00 35 04 06 00 AF AA FF 71 B6 A6 54 C1 25 4C B0 41 8F F4 [18:27:45]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 A9 FA 47 00 D8 B8 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 11 82 00 00 F4 03 04 00 CF CE 8F 66 B6 04 01 00 00 3D FF C0 D5 CB 43 E0 38 [18:27:45]CommunicateWithHost err = 0 [18:27:45]CheckOFDResponse [18:27:45]1017 (14) - 77093643461234 [18:27:45]1041 (16) - 0000000000875104 [18:27:45]1040 (4) - 33297 [18:27:45]1012 (4) - 11.07.2024 12:23 [18:27:45]1206 (1) - 0 [18:27:45]OFD Sender: Remove packet 33297 [18:27:45]ProducePacketName [18:27:45]name=ofd_packets/00033297 [18:27:45]NVStorageDeleteData [18:27:45]Write to MH i2c: 01 00 00 C4 08 CC [18:27:45]Write i2c OK [18:27:45]MH_I2C_Read... [18:27:45]Read from MH i2c: 01 [18:27:45]MH_I2C_Read... [18:27:45]Read from MH i2c: 01 07 00 [18:27:45]MH_I2C_Read... [18:27:45]Read from MH i2c: 01 07 00 C4 08 00 00 00 00 00 DD 0C BC [18:27:45]RasterBufferAndPrint [18:27:45]line [18:27:45]line [18:27:45]line [18:27:45]line [18:27:45]line [18:27:45]written 0, free lines is 3302 [18:27:45]MH_Cut [18:27:45]Write to MH i2c: D1 01 00 CB 08 01 A5 [18:27:45]Write i2c OK [18:27:45]MH_I2C_Read... [18:27:45]Read from MH i2c: D1 [18:27:45]MH_I2C_Read... [18:27:45]Read from MH i2c: D1 01 00 [18:27:45]MH_I2C_Read... [18:27:45]Read from MH i2c: D1 01 00 CB 08 00 A4 [18:27:45]Write to MH i2c: 01 00 00 CC 08 D4 [18:27:45]Write i2c OK [18:27:45]MH_I2C_Read... [18:27:46]OFD Sender: No OFD packet to send [18:27:46]*** Cut start [18:27:46]*** Partial cut [18:27:46]*** CUTSNS_PIN = 1 [18:27:46]*** CUTSNS_PIN = 0 [18:27:46]*** Brake cut motor [18:27:47]Read from MH i2c: 01 [18:27:47]MH_I2C_Read... [18:27:47]*** Stop cut motor [18:27:47]*** Cut end [18:27:47]Read from MH i2c: 01 07 00 [18:27:47]MH_I2C_Read... [18:27:47]Read from MH i2c: 01 07 00 CC 08 00 00 00 00 00 FF 0F E9 [18:27:47]process_action close_receipt done [18:27:47]requested_data is exist [18:27:47]produce_requested_data [18:27:47]requested_item fm.sn is exist - process it [18:27:47]wFMCommunicate request_size=4 [18:27:47]MH_SAM_APDU [18:27:47]CAPDU: 80 11 00 00 [18:27:47]Write to MH i2c: E2 08 00 CD 08 80 11 00 00 00 00 00 00 4F [18:27:47]Write i2c OK [18:27:47]MH_I2C_Read... [18:27:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:27:47]Read from MH i2c: E2 [18:27:47]MH_I2C_Read... [18:27:47]Read from MH i2c: E2 17 00 [18:27:47]MH_I2C_Read... [18:27:47]Read from MH i2c: E2 17 00 CD 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 9B [18:27:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [18:27:47]wFMCommunicate OK [18:27:47]requested_item fd.num is exist - process it [18:27:47]SAM_PROTO_GetFieldsCounters [18:27:47]wFMCommunicate request_size=4 [18:27:47]MH_SAM_APDU [18:27:47]CAPDU: 80 13 00 00 [18:27:47]Write to MH i2c: E2 08 00 CE 08 80 13 00 00 00 00 00 00 52 [18:27:47]Write i2c OK [18:27:47]MH_I2C_Read... [18:27:47]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:27:47]Read from MH i2c: E2 [18:27:47]MH_I2C_Read... [18:27:47]Read from MH i2c: E2 62 00 [18:27:47]MH_I2C_Read... [18:27:47]Read from MH i2c: E2 62 00 CE 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 11 82 00 00 0E 04 04 00 B0 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 45 [18:27: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 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 11 82 00 00 0E 04 04 00 B0 01 00 00 12 04 04 00 34 00 00 00 5E 04 04 00 34 00 00 00 57 04 04 00 35 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:27:47]wFMCommunicate OK [18:27:47]SAM_PROTO_GetFieldsCounters done [18:27:47]requested_item shift.num is exist - process it [18:27:47]requested_item shift.opened is exist - process it [18:27:47]req_shift_opened [18:27:47]FM_GetShiftState [18:27:47]SAM_PROTO_GetShiftState [18:27:47]wFMCommunicate request_size=4 [18:27:47]MH_SAM_APDU [18:27:47]CAPDU: 80 13 01 00 [18:27:47]Write to MH i2c: E2 08 00 CF 08 80 13 01 00 00 00 00 00 54 [18:27:47]Write i2c OK [18:27:47]MH_I2C_Read... [18:27:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:27:47]Read from MH i2c: E2 [18:27:47]MH_I2C_Read... [18:27:47]Read from MH i2c: E2 0E 00 [18:27:47]MH_I2C_Read... [18:27:47]Read from MH i2c: E2 0E 00 CF 08 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 85 [18:27:47]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [18:27:47]wFMCommunicate OK [18:27:47]SAM_PROTO_GetShiftState done [18:27:47]FM_GetShiftState done [18:27:47]req_shift_opened done [18:27:47]requested_item shift.open_date is exist - process it [18:27:47]req_shift_open_date [18:27:47]req_shift_open_date done [18:27:47]produce_requested_data done [18:27:47]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33297,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398} [18:27:47]process_action_free close_receipt [18:27:47]json_value_free [18:27:47]json_value_free done [18:27:47]process_json_proto returns [18:27:47]Send response to host [18:27:47]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33297,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398}}} [18:27:47]free response buf [18:27:47]execute_script done [18:27:47]execute_script returns [18:27:47]free content buf [18:27:47]Sock 7.Close socket [18:27:47]Sock 7.Thread stoped [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:31]OFD Sender: No OFD packet to send [18:36:36]OFD Sender: No OFD packet to send [18:36:41]OFD Sender: No OFD packet to send [18:36:46]OFD Sender: No OFD packet to send [18:36:51]OFD Sender: No OFD packet to send [18:36:56]OFD Sender: No OFD packet to send [18:37:01]OFD Sender: No OFD packet to send [18:37:06]OFD Sender: No OFD packet to send [18:37:11]OFD Sender: No OFD packet to send [18:37:16]OFD Sender: No OFD packet to send [18:37:21]OFD Sender: No OFD packet to send [18:37:26]OFD Sender: No OFD packet to send [18:37:31]OFD Sender: No OFD packet to send [18:37:36]OFD Sender: No OFD packet to send [18:37:41]OFD Sender: No OFD packet to send [18:37:46]OFD Sender: No OFD packet to send [18:37:51]OFD Sender: No OFD packet to send [18:37:56]OFD Sender: No OFD packet to send [18:38:01]OFD Sender: No OFD packet to send [18:38:06]OFD Sender: No OFD packet to send [18:38:11]OFD Sender: No OFD packet to send [18:38:16]OFD Sender: No OFD packet to send [18:38:21]OFD Sender: No OFD packet to send [18:38:26]OFD Sender: No OFD packet to send [18:38:31]OFD Sender: No OFD packet to send [18:38:36]OFD Sender: No OFD packet to send [18:38:41]OFD Sender: No OFD packet to send [18:38:46]OFD Sender: No OFD packet to send [18:38:51]OFD Sender: No OFD packet to send [18:38:56]OFD Sender: No OFD packet to send [18:39:01]OFD Sender: No OFD packet to send [18:39:06]OFD Sender: No OFD packet to send [18:39:11]OFD Sender: No OFD packet to send [18:39:16]OFD Sender: No OFD packet to send [18:39:21]OFD Sender: No OFD packet to send [18:39:26]OFD Sender: No OFD packet to send [18:39:31]OFD Sender: No OFD packet to send [18:39:36]OFD Sender: No OFD packet to send [18:39:41]OFD Sender: No OFD packet to send [18:39:46]OFD Sender: No OFD packet to send [18:39:51]OFD Sender: No OFD packet to send [18:39:56]OFD Sender: No OFD packet to send [18:40:01]OFD Sender: No OFD packet to send [18:40:06]OFD Sender: No OFD packet to send [18:40:11]OFD Sender: No OFD packet to send [18:40:16]OFD Sender: No OFD packet to send [18:40:21]OFD Sender: No OFD packet to send [18:40:26]OFD Sender: No OFD packet to send [18:40:31]OFD Sender: No OFD packet to send [18:40:36]OFD Sender: No OFD packet to send [18:40:41]OFD Sender: No OFD packet to send [18:40:46]OFD Sender: No OFD packet to send [18:40:51]OFD Sender: No OFD packet to send [18:40:56]OFD Sender: No OFD packet to send [18:41:01]OFD Sender: No OFD packet to send [18:41:06]OFD Sender: No OFD packet to send [18:41:11]OFD Sender: No OFD packet to send [18:41:16]OFD Sender: No OFD packet to send [18:41:21]OFD Sender: No OFD packet to send [18:41:26]OFD Sender: No OFD packet to send [18:41:31]OFD Sender: No OFD packet to send [18:41:36]OFD Sender: No OFD packet to send [18:41:41]OFD Sender: No OFD packet to send [18:41:46]OFD Sender: No OFD packet to send [18:41:51]OFD Sender: No OFD packet to send [18:41:56]OFD Sender: No OFD packet to send [18:42:01]OFD Sender: No OFD packet to send [18:42:06]OFD Sender: No OFD packet to send [18:42:11]OFD Sender: No OFD packet to send [18:42:16]OFD Sender: No OFD packet to send [18:42:21]OFD Sender: No OFD packet to send [18:42:26]OFD Sender: No OFD packet to send [18:42:31]OFD Sender: No OFD packet to send [18:42:36]OFD Sender: No OFD packet to send [18:42:41]OFD Sender: No OFD packet to send [18:42:46]OFD Sender: No OFD packet to send [18:42:51]OFD Sender: No OFD packet to send [18:42:56]OFD Sender: No OFD packet to send [18:43:01]OFD Sender: No OFD packet to send [18:43:06]OFD Sender: No OFD packet to send [18:43:11]OFD Sender: No OFD packet to send [18:43:16]OFD Sender: No OFD packet to send [18:43:21]OFD Sender: No OFD packet to send [18:43:26]OFD Sender: No OFD packet to send [18:43:31]OFD Sender: No OFD packet to send [18:43:36]OFD Sender: No OFD packet to send [18:43:41]OFD Sender: No OFD packet to send [18:43:46]OFD Sender: No OFD packet to send [18:43:51]OFD Sender: No OFD packet to send [18:43:56]OFD Sender: No OFD packet to send [18:44:01]OFD Sender: No OFD packet to send [18:44:06]OFD Sender: No OFD packet to send [18:44:11]OFD Sender: No OFD packet to send [18:44:16]OFD Sender: No OFD packet to send [18:44:21]OFD Sender: No OFD packet to send [18:44:26]OFD Sender: No OFD packet to send [18:44:31]OFD Sender: No OFD packet to send [18:44:36]OFD Sender: No OFD packet to send [18:44:41]OFD Sender: No OFD packet to send [18:44:46]OFD Sender: No OFD packet to send [18:44:51]OFD Sender: No OFD packet to send [18:44:56]OFD Sender: No OFD packet to send [18:45:01]OFD Sender: No OFD packet to send [18:45:06]OFD Sender: No OFD packet to send [18:45:11]OFD Sender: No OFD packet to send [18:45:16]OFD Sender: No OFD packet to send [18:45:21]OFD Sender: No OFD packet to send [18:45:26]OFD Sender: No OFD packet to send [18:45:31]OFD Sender: No OFD packet to send [18:45:36]OFD Sender: No OFD packet to send [18:45:41]OFD Sender: No OFD packet to send [18:45:46]OFD Sender: No OFD packet to send [18:45:51]OFD Sender: No OFD packet to send [18:45:56]OFD Sender: No OFD packet to send [18:46:01]OFD Sender: No OFD packet to send [18:46:06]OFD Sender: No OFD packet to send [18:46:11]OFD Sender: No OFD packet to send [18:46:16]OFD Sender: No OFD packet to send [18:46:21]OFD Sender: No OFD packet to send [18:46:26]OFD Sender: No OFD packet to send [18:46:31]OFD Sender: No OFD packet to send [18:46:36]OFD Sender: No OFD packet to send [18:46:41]OFD Sender: No OFD packet to send [18:46:46]OFD Sender: No OFD packet to send [18:46:51]OFD Sender: No OFD packet to send [18:46:56]OFD Sender: No OFD packet to send [18:47:01]OFD Sender: No OFD packet to send [18:47:06]OFD Sender: No OFD packet to send [18:47:11]OFD Sender: No OFD packet to send [18:47:16]OFD Sender: No OFD packet to send [18:47:21]OFD Sender: No OFD packet to send [18:47:26]OFD Sender: No OFD packet to send [18:47:31]OFD Sender: No OFD packet to send [18:47:36]OFD Sender: No OFD packet to send [18:47:41]OFD Sender: No OFD packet to send [18:47:46]OFD Sender: No OFD packet to send [18:47:51]OFD Sender: No OFD packet to send [18:47:56]OFD Sender: No OFD packet to send [18:48:01]OFD Sender: No OFD packet to send [18:48:06]OFD Sender: No OFD packet to send [18:48:11]OFD Sender: No OFD packet to send [18:48:16]OFD Sender: No OFD packet to send [18:48:21]OFD Sender: No OFD packet to send [18:48:26]OFD Sender: No OFD packet to send [18:48:31]OFD Sender: No OFD packet to send [18:48:36]OFD Sender: No OFD packet to send [18:48:42]OFD Sender: No OFD packet to send [18:48:47]OFD Sender: No OFD packet to send [18:48:52]OFD Sender: No OFD packet to send [18:48:57]OFD Sender: No OFD packet to send [18:49:02]OFD Sender: No OFD packet to send [18:49:07]OFD Sender: No OFD packet to send [18:49:12]OFD Sender: No OFD packet to send [18:49:17]OFD Sender: No OFD packet to send [18:49:22]OFD Sender: No OFD packet to send [18:49:27]OFD Sender: No OFD packet to send [18:49:32]OFD Sender: No OFD packet to send [18:49:37]OFD Sender: No OFD packet to send [18:49:42]OFD Sender: No OFD packet to send [18:49:47]OFD Sender: No OFD packet to send [18:49:52]OFD Sender: No OFD packet to send [18:49:57]OFD Sender: No OFD packet to send [18:50:02]OFD Sender: No OFD packet to send [18:50:07]OFD Sender: No OFD packet to send [18:50:12]OFD Sender: No OFD packet to send [18:50:17]OFD Sender: No OFD packet to send [18:50:22]OFD Sender: No OFD packet to send [18:50:27]OFD Sender: No OFD packet to send [18:50:32]OFD Sender: No OFD packet to send [18:50:37]OFD Sender: No OFD packet to send [18:50:42]OFD Sender: No OFD packet to send [18:50:47]OFD Sender: No OFD packet to send [18:50:52]OFD Sender: No OFD packet to send [18:50:57]OFD Sender: No OFD packet to send [18:51:02]OFD Sender: No OFD packet to send [18:51:07]OFD Sender: No OFD packet to send [18:51:12]OFD Sender: No OFD packet to send [18:51:17]OFD Sender: No OFD packet to send [18:51:22]OFD Sender: No OFD packet to send [18:51:27]OFD Sender: No OFD packet to send [18:51:32]OFD Sender: No OFD packet to send [18:51:37]OFD Sender: No OFD packet to send [18:51:42]OFD Sender: No OFD packet to send [18:51:47]OFD Sender: No OFD packet to send [18:51:52]OFD Sender: No OFD packet to send [18:51:57]OFD Sender: No OFD packet to send [18:52:02]OFD Sender: No OFD packet to send [18:52:07]OFD Sender: No OFD packet to send [18:52:12]OFD Sender: No OFD packet to send [18:52:17]OFD Sender: No OFD packet to send [18:52:22]OFD Sender: No OFD packet to send [18:52:27]OFD Sender: No OFD packet to send [18:52:32]OFD Sender: No OFD packet to send [18:52:37]OFD Sender: No OFD packet to send [18:52:42]OFD Sender: No OFD packet to send [18:52:47]OFD Sender: No OFD packet to send [18:52:52]OFD Sender: No OFD packet to send [18:52:57]OFD Sender: No OFD packet to send [18:53:02]OFD Sender: No OFD packet to send [18:53:07]OFD Sender: No OFD packet to send [18:53:12]OFD Sender: No OFD packet to send [18:53:17]OFD Sender: No OFD packet to send [18:53:22]OFD Sender: No OFD packet to send [18:53:27]OFD Sender: No OFD packet to send [18:53:32]OFD Sender: No OFD packet to send [18:53:37]OFD Sender: No OFD packet to send [18:53:42]OFD Sender: No OFD packet to send [18:53:47]OFD Sender: No OFD packet to send [18:53:52]OFD Sender: No OFD packet to send [18:53:57]OFD Sender: No OFD packet to send [18:54:02]OFD Sender: No OFD packet to send [18:54:07]OFD Sender: No OFD packet to send [18:54:12]OFD Sender: No OFD packet to send [18:54:17]OFD Sender: No OFD packet to send [18:54:22]OFD Sender: No OFD packet to send [18:54:27]OFD Sender: No OFD packet to send [18:54:32]OFD Sender: No OFD packet to send [18:54:37]OFD Sender: No OFD packet to send [18:54:42]OFD Sender: No OFD packet to send [18:54:47]OFD Sender: No OFD packet to send [18:54:52]OFD Sender: No OFD packet to send [18:54:57]OFD Sender: No OFD packet to send [18:55:02]OFD Sender: No OFD packet to send [18:55:07]OFD Sender: No OFD packet to send [18:55:12]OFD Sender: No OFD packet to send [18:55:17]OFD Sender: No OFD packet to send [18:55:22]OFD Sender: No OFD packet to send [18:55:27]OFD Sender: No OFD packet to send [18:55:32]OFD Sender: No OFD packet to send [18:55:37]OFD Sender: No OFD packet to send [18:55:42]OFD Sender: No OFD packet to send [18:55:47]OFD Sender: No OFD packet to send [18:55:52]OFD Sender: No OFD packet to send [18:55:57]OFD Sender: No OFD packet to send [18:56:02]OFD Sender: No OFD packet to send [18:56:07]OFD Sender: No OFD packet to send [18:56:12]OFD Sender: No OFD packet to send [18:56:17]OFD Sender: No OFD packet to send [18:56:22]OFD Sender: No OFD packet to send [18:56:27]OFD Sender: No OFD packet to send [18:56:32]OFD Sender: No OFD packet to send [18:56:37]OFD Sender: No OFD packet to send [18:56:42]OFD Sender: No OFD packet to send [18:56:47]OFD Sender: No OFD packet to send [18:56:52]OFD Sender: No OFD packet to send [18:56:57]OFD Sender: No OFD packet to send [18:57:02]OFD Sender: No OFD packet to send [18:57:07]OFD Sender: No OFD packet to send [18:57:12]OFD Sender: No OFD packet to send [18:57:17]OFD Sender: No OFD packet to send [18:57:22]OFD Sender: No OFD packet to send [18:57:27]OFD Sender: No OFD packet to send [18:57:32]OFD Sender: No OFD packet to send [18:57:37]OFD Sender: No OFD packet to send [18:57:42]OFD Sender: No OFD packet to send [18:57:47]OFD Sender: No OFD packet to send [18:57:52]OFD Sender: No OFD packet to send [18:57:57]OFD Sender: No OFD packet to send [18:58:02]OFD Sender: No OFD packet to send [18:58:07]OFD Sender: No OFD packet to send [18:58:12]OFD Sender: No OFD packet to send [18:58:17]OFD Sender: No OFD packet to send [18:58:22]OFD Sender: No OFD packet to send [18:58:27]OFD Sender: No OFD packet to send [18:58:32]OFD Sender: No OFD packet to send [18:58:37]OFD Sender: No OFD packet to send [18:58:42]OFD Sender: No OFD packet to send [18:58:47]OFD Sender: No OFD packet to send [18:58:52]OFD Sender: No OFD packet to send [18:58:57]OFD Sender: No OFD packet to send [18:59:02]OFD Sender: No OFD packet to send [18:59:07]OFD Sender: No OFD packet to send [18:59:12]OFD Sender: No OFD packet to send [18:59:17]OFD Sender: No OFD packet to send [18:59:22]OFD Sender: No OFD packet to send [18:59:27]OFD Sender: No OFD packet to send [18:59:32]OFD Sender: No OFD packet to send [18:59:37]OFD Sender: No OFD packet to send [18:59:42]OFD Sender: No OFD packet to send [18:59:47]OFD Sender: No OFD packet to send [18:59:52]OFD Sender: No OFD packet to send [18:59:57]OFD Sender: No OFD packet to send [19:00:02]OFD Sender: No OFD packet to send [19:00:07]OFD Sender: No OFD packet to send [19:00:12]OFD Sender: No OFD packet to send [19:00:17]OFD Sender: No OFD packet to send [19:00:22]OFD Sender: No OFD packet to send [19:00:27]OFD Sender: No OFD packet to send [19:00:32]OFD Sender: No OFD packet to send [19:00:37]OFD Sender: No OFD packet to send [19:00:42]OFD Sender: No OFD packet to send [19:00:47]OFD Sender: No OFD packet to send [19:00:52]OFD Sender: No OFD packet to send [19:00:57]OFD Sender: No OFD packet to send [19:01:02]OFD Sender: No OFD packet to send [19:01:07]OFD Sender: No OFD packet to send [19:01:12]OFD Sender: No OFD packet to send [19:01:17]OFD Sender: No OFD packet to send [19:01:22]OFD Sender: No OFD packet to send [19:01:27]OFD Sender: No OFD packet to send [19:01:32]OFD Sender: No OFD packet to send [19:01:37]OFD Sender: No OFD packet to send [19:01:42]OFD Sender: No OFD packet to send [19:01:47]OFD Sender: No OFD packet to send [19:01:52]OFD Sender: No OFD packet to send [19:01:57]OFD Sender: No OFD packet to send [19:02:02]OFD Sender: No OFD packet to send [19:02:07]OFD Sender: No OFD packet to send [19:02:12]OFD Sender: No OFD packet to send [19:02:17]OFD Sender: No OFD packet to send [19:02:22]OFD Sender: No OFD packet to send [19:02:27]OFD Sender: No OFD packet to send [19:02:32]OFD Sender: No OFD packet to send [19:02:37]OFD Sender: No OFD packet to send [19:02:42]OFD Sender: No OFD packet to send [19:02:47]OFD Sender: No OFD packet to send [19:02:52]OFD Sender: No OFD packet to send [19:02:57]OFD Sender: No OFD packet to send [19:03:02]OFD Sender: No OFD packet to send [19:03:07]OFD Sender: No OFD packet to send [19:03:12]OFD Sender: No OFD packet to send [19:03:17]OFD Sender: No OFD packet to send [19:03:22]OFD Sender: No OFD packet to send [19:03:27]OFD Sender: No OFD packet to send [19:03:32]OFD Sender: No OFD packet to send [19:03:37]OFD Sender: No OFD packet to send [19:03:42]OFD Sender: No OFD packet to send [19:03:47]OFD Sender: No OFD packet to send [19:03:52]OFD Sender: No OFD packet to send [19:03:57]OFD Sender: No OFD packet to send [19:04:02]OFD Sender: No OFD packet to send [19:04:07]OFD Sender: No OFD packet to send [19:04:12]OFD Sender: No OFD packet to send [19:04:17]OFD Sender: No OFD packet to send [19:04:22]OFD Sender: No OFD packet to send [19:04:27]OFD Sender: No OFD packet to send [19:04:32]OFD Sender: No OFD packet to send [19:04:37]OFD Sender: No OFD packet to send [19:04:42]OFD Sender: No OFD packet to send [19:04:47]OFD Sender: No OFD packet to send [19:04:52]OFD Sender: No OFD packet to send [19:04:57]OFD Sender: No OFD packet to send [19:05:02]OFD Sender: No OFD packet to send [19:05:07]OFD Sender: No OFD packet to send [19:05:12]OFD Sender: No OFD packet to send [19:05:17]OFD Sender: No OFD packet to send [19:05:22]OFD Sender: No OFD packet to send [19:05:27]OFD Sender: No OFD packet to send [19:05:32]OFD Sender: No OFD packet to send [19:05:37]OFD Sender: No OFD packet to send [19:05:42]OFD Sender: No OFD packet to send [19:05:44]accept exits with 10 [19:05:44]New connection [19:05:44]New thread 3066793316 created [19:05:44]Thread 3066936676 joined [19:05:44]Waiting for new connection... [19:05:44] Sock 10.Parse request [19:05:44]Sock 10.Check first char [19:05:44]Sock 10.First char is OK [19:05:44]request: POST /json_proto HTTP/1.0 [19:05:44]Method: POST [19:05:44]URL: /json_proto [19:05:44]Method is POST - this is cgi request [19:05:44]url: /json_proto [19:05:44]query_string will be loaded in cgi processing [19:05:44]execute_cgi json_proto POST (null) [19:05:44]execute_cgi path=json_proto method=POST [19:05:44]POST find Content-Length [19:05:44]Host: 172.17.35.196:8080 [19:05:44]Content-Length: 678 [19:05:44]Content-Type: application/json [19:05:44] [19:05:44]POST finish read [19:05:44]Found Content-Length = 678 [19:05:44]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)5669803", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.30, "quantity" : 7.550, "sum" : 500.57, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:05:44]execute_script... [19:05: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 : (1)5669803", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.30, "quantity" : 7.550, "sum" : 500.57, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:05:44]POST & json_proto [19:05:44]process_json_proto [19:05:44]json parsed OK: [19:05:44]protocol is kg_v1.0 [19:05:44]action value=close_receipt [19:05:44]process_action close_receipt [19:05:44]cmd_close_receipt [19:05:44]MH_GetDate [19:05:44]Write to MH i2c: F0 00 00 D0 08 C7 [19:05:44]Write i2c OK [19:05:44]MH_I2C_Read... [19:05:44]Read from MH i2c: F0 [19:05:44]MH_I2C_Read... [19:05:44]Read from MH i2c: F0 09 00 [19:05:44]MH_I2C_Read... [19:05:44]Read from MH i2c: F0 09 00 D0 08 00 0A 2D 90 66 AD 14 F4 65 17 [19:05:44]GetLastDocTimeStamp 1720722464 [19:05:44]current date 1720724746 [19:05:44]FM_GetShiftState [19:05:44]SAM_PROTO_GetShiftState [19:05:44]wFMCommunicate request_size=4 [19:05:44]MH_SAM_APDU [19:05:44]CAPDU: 80 13 01 00 [19:05:44]Write to MH i2c: E2 08 00 D1 08 80 13 01 00 00 00 00 00 56 [19:05:44]Write i2c OK [19:05:44]MH_I2C_Read... [19:05:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:05:45]Read from MH i2c: E2 [19:05:45]MH_I2C_Read... [19:05:45]Read from MH i2c: E2 0E 00 [19:05:45]MH_I2C_Read... [19:05:45]Read from MH i2c: E2 0E 00 D1 08 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 87 [19:05:45]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [19:05:45]wFMCommunicate OK [19:05:45]SAM_PROTO_GetShiftState done [19:05:45]FM_GetShiftState done [19:05:45]opened in 1720656398 [19:05:45]opened+sec_in_day 1720742798 [19:05:45]quantity*price = 50056 [19:05:45]sum+1 = 50058 [19:05:45]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.57 ИТОГО: 500.00 Внесено: 500.00 СДАЧА: 0.00 НСП 1% : 4.43 НДС 12% : 53.16 Наличными: 500.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 53 11.07.2024 19:05 Смена: 432 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33298 ФПД: 278015026033405 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T190546&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33298&fm=278015026033405&tin=02508201610067®Number=0000000000093033&sum=50000 [19:05:46]StoreToDocumentArchive [19:05:46]shift 432 fd 33298 [19:05:46]save to /storage/0432/doc_00033298 [19:05:46]save last doc name /storage/0432/doc_00033298 to /storage/kkm_last_doc_name [19:05:46]save OK [19:05:46]Clear old archive folders... [19:05:46]ProcessDocumentItem done err = 0, tmpTLVsize=251 [19:05:46]tlvbuf is 01C9F950 [19:05:46]SAM_PROTO_ClearQueue [19:05:46]wFMCommunicate request_size=4 [19:05:46]MH_SAM_APDU [19:05:46]CAPDU: 80 09 00 00 [19:05:46]Write to MH i2c: E2 08 00 DE 08 80 09 00 00 00 00 00 00 58 [19:05:46]Write i2c OK [19:05:46]MH_I2C_Read... [19:05:46]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:05:46]Read from MH i2c: E2 [19:05:46]MH_I2C_Read... [19:05:46]Read from MH i2c: E2 03 00 [19:05:46]MH_I2C_Read... [19:05:46]Read from MH i2c: E2 03 00 DE 08 00 90 00 5A [19:05:46]RAPDU: 90 00 [19:05:46]wFMCommunicate OK [19:05:46]SAM_PROTO_ClearQueue done [19:05:46]KKMCreateOFDPacket [19:05:46]OFDProtocolAddRootSTLVToBuf [19:05:46]FM_MakeSignedData [19:05:46]FM_MakeSignedData [19:05:46]SAM_PROTO_SignData [19:05:46]wFMCommunicate request_size=4 [19:05:46]MH_SAM_APDU [19:05:46]CAPDU: 80 0D 01 02 [19:05:46]Write to MH i2c: E2 08 00 DF 08 80 0D 01 02 00 00 00 00 60 [19:05:46]Write i2c OK [19:05:46]MH_I2C_Read... [19:05:46]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:05:46]Read from MH i2c: E2 [19:05:46]MH_I2C_Read... [19:05:46]Read from MH i2c: E2 03 00 [19:05:46]MH_I2C_Read... [19:05:46]Read from MH i2c: E2 03 00 DF 08 00 90 00 5B [19:05:46]RAPDU: 90 00 [19:05:46]wFMCommunicate OK [19:05:46]wFMCommunicate request_size=255 [19:05:46]MH_SAM_APDU [19:05:46]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 7E 1D 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 89 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 14 00 00 00 00 07 04 06 00 50 C3 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 0A 2D 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 12 82 00 00 35 04 06 00 FC [19:05:46]Write to MH i2c: E2 02 01 E0 08 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 7E 1D 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 89 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 14 00 00 00 00 07 04 06 00 50 C3 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 0A 2D 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 12 82 00 00 35 04 06 00 FC 00 00 9F [19:05:46]Write i2c OK [19:05:46]MH_I2C_Read... [19:05:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:05:46]Read from MH i2c: E2 [19:05:46]MH_I2C_Read... [19:05:46]Read from MH i2c: E2 03 00 [19:05:46]MH_I2C_Read... [19:05:46]Read from MH i2c: E2 03 00 E0 08 00 90 00 5C [19:05:46]RAPDU: 90 00 [19:05:46]wFMCommunicate OK [19:05:46]wFMCommunicate request_size=10 [19:05:46]MH_SAM_APDU [19:05:46]CAPDU: 80 0D 02 02 05 DA 6A DE 72 FD [19:05:46]Write to MH i2c: E2 0D 00 E1 08 80 0D 02 02 05 00 DA 6A DE 72 FD 00 00 FE [19:05:46]Write i2c OK [19:05:46]MH_I2C_Read... [19:05:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:05:46]Read from MH i2c: E2 [19:05:46]MH_I2C_Read... [19:05:46]Read from MH i2c: E2 03 00 [19:05:46]MH_I2C_Read... [19:05:46]Read from MH i2c: E2 03 00 E1 08 00 90 00 5D [19:05:46]RAPDU: 90 00 [19:05:46]wFMCommunicate OK [19:05:46]wFMCommunicate request_size=4 [19:05:46]MH_SAM_APDU [19:05:46]CAPDU: 80 0D 03 02 [19:05:46]Write to MH i2c: E2 08 00 E2 08 80 0D 03 02 00 00 00 00 65 [19:05:46]Write i2c OK [19:05:46]MH_I2C_Read... [19:05:46]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:05:46]Read from MH i2c: E2 [19:05:46]MH_I2C_Read... [19:05:46]Read from MH i2c: E2 0B 00 [19:05:46]MH_I2C_Read... [19:05:46]Read from MH i2c: E2 0B 00 E2 08 00 C0 B8 8E 5C EE 04 90 C9 90 00 13 [19:05:46]RAPDU: C0 B8 8E 5C EE 04 90 C9 90 00 [19:05:46]wFMCommunicate OK [19:05:46]SAM_PROTO_SignData done [19:05:46]FM_MakeSignedData done [19:05:46]CreateOFDProtocolMessage [19:05:46]wFMCommunicate request_size=4 [19:05:46]MH_SAM_APDU [19:05:46]CAPDU: 80 11 00 00 [19:05:46]Write to MH i2c: E2 08 00 E3 08 80 11 00 00 00 00 00 00 65 [19:05:46]Write i2c OK [19:05:46]MH_I2C_Read... [19:05:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:05:46]Read from MH i2c: E2 [19:05:46]MH_I2C_Read... [19:05:46]Read from MH i2c: E2 17 00 [19:05:46]MH_I2C_Read... [19:05:46]Read from MH i2c: E2 17 00 E3 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 B1 [19:05:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [19:05:46]wFMCommunicate OK [19:05:46]CreateOFDProtocolMessage done [19:05:46]OFDSenderStorePacket 33298 [19:05:46]StoreOFDPacket docnum=33298 [19:05:46]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0F 01 00 00 5B 07 07 01 B8 E8 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 7E 1D 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 89 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 14 00 00 00 00 07 04 06 00 50 C3 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 0A 2D 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 12 82 00 00 35 04 06 00 FC DA 6A DE 72 FD C0 B8 8E 5C EE 04 90 C9 [19:05:46]CheckFolder [19:05:46]dirname=/storage/ofd_packets [19:05:46]CheckFolder done [19:05:46]ProducePacketName [19:05:46]name=ofd_packets/00033298 [19:05:46]NVStorageSaveData ofd_packets/00033298 [19:05:46]File name is /storage/ofd_packets/00033298 [19:05:46]Write 301 bytes [19:05:46]NVStorageSaveData done [19:05:46]OFDSenderStorePacket done [19:05:46]KKMCreateOFDPacket done [19:05:46]NVStorageSaveData kkm_last_timestamp [19:05:46]File name is /storage/kkm_last_timestamp [19:05:46]Write 4 bytes [19:05:46]NVStorageSaveData done [19:05:46]ExternCall_PrintAddStr [19:05:46]wPrintStart [19:05:46]Write to MH i2c: 01 00 00 E4 08 EC [19:05:46]Write i2c OK [19:05:46]MH_I2C_Read... [19:05:46]Read from MH i2c: 01 [19:05:46]MH_I2C_Read... [19:05:46]Read from MH i2c: 01 07 00 [19:05:46]MH_I2C_Read... [19:05:46]Read from MH i2c: 01 07 00 E4 08 00 00 00 00 00 FF 0F 01 [19:05:46]RasterBufferAndPrint [19:05:46]line Счет N : (1)5669803 [19:05:46]line ИНН: 02508201610067 [19:05:46]line Контрольно-Кассовый Чек [19:05:46]line ПРОДАЖА [19:05:46]line ТРК (МРК, ГНК) : 33 [19:05:46]line Товар: 2710124130 [19:05:46]line Аи-92-К-5 [19:05:46]line 7.550 * 66.30 [19:05:46]line = 500.57 [19:05:46]line НДС 12% НСП 1% [19:05:46]line > о реализуемом товаре [19:05:46]line ОКРУГЛЕНИЕ: -0.57 [19:05:46]line ИТОГО: 500.00 [19:05:46]line Внесено: 500.00 [19:05:46]line СДАЧА: 0.00 [19:05:46]line НСП 1% : 4.43 [19:05:46]line НДС 12% : 53.16 [19:05:46]line Наличными: 500.00 [19:05:46]line Безнал.: 0.00 [19:05:46]line Место: АЗС № 77 "Партнер Нефть" [19:05:46]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [19:05:46]line СНО: Общий режим [19:05:46]line Чек 53 11.07.2024 19:05 [19:05:46]line Смена: 432 ФФД: 1.0 [19:05:46]line ЗНМ: 0300000122 [19:05:46]line РНМ: 0000000000093033 [19:05:46]line Версия ККМ: 001 [19:05:46]line ФМ: 0000000000875104 [19:05:46]line ФД: 33298 [19:05:46]line ФПД: 278015026033405 [19:05:46]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T190546&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33298&fm=278015026033405&tin=02508201610067®Number=0000000000093033&sum=50000 [19:05:47]written 0, free lines is 4095 [19:05:47]OFD Sender: Processing packet 33298 [packets to send 6, broken 5] [19:05:47]ProducePacketName [19:05:47]name=ofd_packets/00033298 [19:05:47]OFD Sender: To server: pG, [19:05:47]CommunicateWithHost lk.salyk.kg:30040 [19:05:47]ConnectInit lk.salyk.kg [19:05:47]Connected sock=7 [19:05:47]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0F 01 00 00 5B 07 07 01 B8 E8 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 7E 1D 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 89 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 14 00 00 00 00 07 04 06 00 50 C3 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 0A 2D 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 12 82 00 00 35 04 06 00 FC DA 6A DE 72 FD C0 B8 8E 5C EE 04 90 C9 [19:05:47]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 A3 95 47 00 53 0B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 35 31 30 34 10 04 04 00 12 82 00 00 F4 03 04 00 B9 D7 8F 66 B6 04 01 00 00 46 2B 99 39 47 A0 1D 44 [19:05:47]CommunicateWithHost err = 0 [19:05:47]CheckOFDResponse [19:05:47]1017 (14) - 77093643461234 [19:05:47]1041 (16) - 0000000000875104 [19:05:47]1040 (4) - 33298 [19:05:47]1012 (4) - 11.07.2024 13:01 [19:05:47]1206 (1) - 0 [19:05:47]OFD Sender: Remove packet 33298 [19:05:47]ProducePacketName [19:05:47]name=ofd_packets/00033298 [19:05:47]NVStorageDeleteData [19:05:47]Write to MH i2c: 01 00 00 0F 09 18 [19:05:47]Write i2c OK [19:05:47]MH_I2C_Read... [19:05:47]Read from MH i2c: 01 [19:05:47]MH_I2C_Read... [19:05:47]Read from MH i2c: 01 07 00 [19:05:47]MH_I2C_Read... [19:05:47]Read from MH i2c: 01 07 00 0F 09 00 00 00 00 00 CD 0C F8 [19:05:47]RasterBufferAndPrint [19:05:47]line [19:05:47]line [19:05:47]line [19:05:47]line [19:05:47]line [19:05:47]written 0, free lines is 3283 [19:05:47]MH_Cut [19:05:47]Write to MH i2c: D1 01 00 16 09 01 F1 [19:05:47]Write i2c OK [19:05:47]MH_I2C_Read... [19:05:47]Read from MH i2c: D1 [19:05:47]MH_I2C_Read... [19:05:47]Read from MH i2c: D1 01 00 [19:05:47]MH_I2C_Read... [19:05:47]Read from MH i2c: D1 01 00 16 09 00 F0 [19:05:47]Write to MH i2c: 01 00 00 17 09 20 [19:05:47]Write i2c OK [19:05:47]MH_I2C_Read... [19:05:47]OFD Sender: No OFD packet to send [19:05:48]*** Cut start [19:05:48]*** Partial cut [19:05:48]*** CUTSNS_PIN = 1 [19:05:48]*** CUTSNS_PIN = 0 [19:05:48]*** Brake cut motor [19:05:48]Read from MH i2c: 01 [19:05:48]MH_I2C_Read... [19:05:48]*** Stop cut motor [19:05:48]*** Cut end [19:05:48]Read from MH i2c: 01 07 00 [19:05:48]MH_I2C_Read... [19:05:48]Read from MH i2c: 01 07 00 17 09 00 00 00 00 00 FF 0F 35 [19:05:48]process_action close_receipt done [19:05:48]requested_data is exist [19:05:48]produce_requested_data [19:05:48]requested_item fm.sn is exist - process it [19:05:48]wFMCommunicate request_size=4 [19:05:48]MH_SAM_APDU [19:05:48]CAPDU: 80 11 00 00 [19:05:48]Write to MH i2c: E2 08 00 18 09 80 11 00 00 00 00 00 00 9B [19:05:48]Write i2c OK [19:05:48]MH_I2C_Read... [19:05:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:05:48]Read from MH i2c: E2 [19:05:48]MH_I2C_Read... [19:05:48]Read from MH i2c: E2 17 00 [19:05:48]MH_I2C_Read... [19:05:48]Read from MH i2c: E2 17 00 18 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 E7 [19:05:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [19:05:48]wFMCommunicate OK [19:05:48]requested_item fd.num is exist - process it [19:05:48]SAM_PROTO_GetFieldsCounters [19:05:48]wFMCommunicate request_size=4 [19:05:48]MH_SAM_APDU [19:05:48]CAPDU: 80 13 00 00 [19:05:48]Write to MH i2c: E2 08 00 19 09 80 13 00 00 00 00 00 00 9E [19:05:48]Write i2c OK [19:05:48]MH_I2C_Read... [19:05:49]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:05:49]Read from MH i2c: E2 [19:05:49]MH_I2C_Read... [19:05:49]Read from MH i2c: E2 62 00 [19:05:49]MH_I2C_Read... [19:05:49]Read from MH i2c: E2 62 00 19 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 12 82 00 00 0E 04 04 00 B0 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 95 [19:05: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 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 12 82 00 00 0E 04 04 00 B0 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:05:49]wFMCommunicate OK [19:05:49]SAM_PROTO_GetFieldsCounters done [19:05:49]requested_item shift.num is exist - process it [19:05:49]requested_item shift.opened is exist - process it [19:05:49]req_shift_opened [19:05:49]FM_GetShiftState [19:05:49]SAM_PROTO_GetShiftState [19:05:49]wFMCommunicate request_size=4 [19:05:49]MH_SAM_APDU [19:05:49]CAPDU: 80 13 01 00 [19:05:49]Write to MH i2c: E2 08 00 1A 09 80 13 01 00 00 00 00 00 A0 [19:05:49]Write i2c OK [19:05:49]MH_I2C_Read... [19:05:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:05:49]Read from MH i2c: E2 [19:05:49]MH_I2C_Read... [19:05:49]Read from MH i2c: E2 0E 00 [19:05:49]MH_I2C_Read... [19:05:49]Read from MH i2c: E2 0E 00 1A 09 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 D1 [19:05:49]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [19:05:49]wFMCommunicate OK [19:05:49]SAM_PROTO_GetShiftState done [19:05:49]FM_GetShiftState done [19:05:49]req_shift_opened done [19:05:49]requested_item shift.open_date is exist - process it [19:05:49]req_shift_open_date [19:05:49]req_shift_open_date done [19:05:49]produce_requested_data done [19:05:49]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33298,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398} [19:05:49]process_action_free close_receipt [19:05:49]json_value_free [19:05:49]json_value_free done [19:05:49]process_json_proto returns [19:05:49]Send response to host [19:05:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33298,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398}}} [19:05:49]free response buf [19:05:49]execute_script done [19:05:49]execute_script returns [19:05:49]free content buf [19:05:49]Sock 10.Close socket [19:05:49]Sock 10.Thread stoped [19:05:52]OFD Sender: No OFD packet to send [19:05:57]OFD Sender: No OFD packet to send [19:06:02]OFD Sender: No OFD packet to send [19:06:07]OFD Sender: No OFD packet to send [19:06:12]OFD Sender: No OFD packet to send [19:06:17]OFD Sender: No OFD packet to send [19:06:22]OFD Sender: No OFD packet to send [19:06:27]OFD Sender: No OFD packet to send [19:06:32]OFD Sender: No OFD packet to send [19:06:37]OFD Sender: No OFD packet to send [19:06:42]OFD Sender: No OFD packet to send [19:06:47]OFD Sender: No OFD packet to send [19:06:52]OFD Sender: No OFD packet to send [19:06:57]OFD Sender: No OFD packet to send [19:07:02]OFD Sender: No OFD packet to send [19:07:07]OFD Sender: No OFD packet to send [19:07:12]OFD Sender: No OFD packet to send [19:07:17]OFD Sender: No OFD packet to send [19:07:22]OFD Sender: No OFD packet to send [19:07:27]OFD Sender: No OFD packet to send [19:07:32]OFD Sender: No OFD packet to send [19:07:37]OFD Sender: No OFD packet to send [19:07:42]OFD Sender: No OFD packet to send [19:07:47]OFD Sender: No OFD packet to send [19:07:52]OFD Sender: No OFD packet to send [19:07:57]OFD Sender: No OFD packet to send [19:08:02]OFD Sender: No OFD packet to send [19:08:07]OFD Sender: No OFD packet to send [19:08:12]OFD Sender: No OFD packet to send [19:08:17]OFD Sender: No OFD packet to send [19:08:22]OFD Sender: No OFD packet to send [19:08:27]OFD Sender: No OFD packet to send [19:08:32]OFD Sender: No OFD packet to send [19:08:37]OFD Sender: No OFD packet to send [19:08:42]OFD Sender: No OFD packet to send [19:08:47]OFD Sender: No OFD packet to send [19:08:52]OFD Sender: No OFD packet to send [19:08:57]OFD Sender: No OFD packet to send [19:09:03]OFD Sender: No OFD packet to send [19:09:08]OFD Sender: No OFD packet to send [19:09:13]OFD Sender: No OFD packet to send [19:09:18]OFD Sender: No OFD packet to send [19:09:23]OFD Sender: No OFD packet to send [19:09:28]OFD Sender: No OFD packet to send [19:09:33]OFD Sender: No OFD packet to send [19:09:38]OFD Sender: No OFD packet to send [19:09:43]OFD Sender: No OFD packet to send [19:09:48]OFD Sender: No OFD packet to send [19:09:53]OFD Sender: No OFD packet to send [19:09:58]OFD Sender: No OFD packet to send [19:10:03]OFD Sender: No OFD packet to send [19:10:08]OFD Sender: No OFD packet to send [19:10:13]OFD Sender: No OFD packet to send [19:10:18]OFD Sender: No OFD packet to send [19:10:23]OFD Sender: No OFD packet to send [19:10:28]OFD Sender: No OFD packet to send [19:10:33]OFD Sender: No OFD packet to send [19:10:38]OFD Sender: No OFD packet to send [19:10:43]OFD Sender: No OFD packet to send [19:10:45]accept exits with 9 [19:10:45]New connection [19:10:45]New thread 3066936676 created [19:10:45]Thread 3066793316 joined [19:10:45]Waiting for new connection... [19:10:45] Sock 9.Parse request [19:10:45]Sock 9.Check first char [19:10:45]Sock 9.First char is OK [19:10:45]request: POST /json_proto HTTP/1.0 [19:10:45]Method: POST [19:10:45]URL: /json_proto [19:10:45]Method is POST - this is cgi request [19:10:45]url: /json_proto [19:10:45]query_string will be loaded in cgi processing [19:10:45]execute_cgi json_proto POST (null) [19:10:45]execute_cgi path=json_proto method=POST [19:10:45]POST find Content-Length [19:10:45]Host: 172.17.35.196:8080 [19:10:45]Content-Length: 844 [19:10:45]Content-Type: application/json [19:10:45] [19:10:45]POST finish read [19:10:45]Found Content-Length = 844 [19:10:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)5669808", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 32", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 74.40, "quantity" : 40.330, "sum" : 3000.55, "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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 3000.55 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:10:45]execute_script... [19:10: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 : (1)5669808", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 32", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 74.40, "quantity" : 40.330, "sum" : 3000.55, "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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 3000.55 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:10:45]POST & json_proto [19:10:45]process_json_proto [19:10:45]json parsed OK: [19:10:45]protocol is kg_v1.0 [19:10:45]action value=close_receipt [19:10:45]process_action close_receipt [19:10:45]cmd_close_receipt [19:10:45]MH_GetDate [19:10:45]Write to MH i2c: F0 00 00 1B 09 13 [19:10:45]Write i2c OK [19:10:45]MH_I2C_Read... [19:10:45]Read from MH i2c: F0 [19:10:45]MH_I2C_Read... [19:10:45]Read from MH i2c: F0 09 00 [19:10:45]MH_I2C_Read... [19:10:45]Read from MH i2c: F0 09 00 1B 09 00 36 2E 90 66 AD 14 F4 65 90 [19:10:45]GetLastDocTimeStamp 1720724746 [19:10:45]current date 1720725046 [19:10:45]FM_GetShiftState [19:10:45]SAM_PROTO_GetShiftState [19:10:45]wFMCommunicate request_size=4 [19:10:45]MH_SAM_APDU [19:10:45]CAPDU: 80 13 01 00 [19:10:45]Write to MH i2c: E2 08 00 1C 09 80 13 01 00 00 00 00 00 A2 [19:10:45]Write i2c OK [19:10:45]MH_I2C_Read... [19:10:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:10:45]Read from MH i2c: E2 [19:10:45]MH_I2C_Read... [19:10:45]Read from MH i2c: E2 0E 00 [19:10:45]MH_I2C_Read... [19:10:45]Read from MH i2c: E2 0E 00 1C 09 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 D3 [19:10:45]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [19:10:45]wFMCommunicate OK [19:10:45]SAM_PROTO_GetShiftState done [19:10:45]FM_GetShiftState done [19:10:45]opened in 1720656398 [19:10:45]opened+sec_in_day 1720742798 [19:10:45]quantity*price = 300055 [19:10:45]sum+1 = 300056 [19:10:45]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 3000.55 НСП 1% : 26.55 НДС 12% : 318.64 Наличными: 0.00 Безнал.: 3000.55 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 54 11.07.2024 19:10 Смена: 432 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000875104 ФД: 33299 ФПД: 128232757252166 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T191047&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33299&fm=128232757252166&tin=02508201610067®Number=0000000000093033&sum=300055 [19:10:46]StoreToDocumentArchive [19:10:46]shift 432 fd 33299 [19:10:46]save to /storage/0432/doc_00033299 [19:10:46]save last doc name /storage/0432/doc_00033299 to /storage/kkm_last_doc_name [19:10:46]save OK [19:10:46]Clear old archive folders... [19:10:46]ProcessDocumentItem done err = 0, tmpTLVsize=251 [19:10:46]tlvbuf is 01CB6050 [19:10:46]SAM_PROTO_ClearQueue [19:10:46]wFMCommunicate request_size=4 [19:10:46]MH_SAM_APDU [19:10:46]CAPDU: 80 09 00 00 [19:10:46]Write to MH i2c: E2 08 00 29 09 80 09 00 00 00 00 00 00 A4 [19:10:46]Write i2c OK [19:10:46]MH_I2C_Read... [19:10:46]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:10:46]Read from MH i2c: E2 [19:10:46]MH_I2C_Read... [19:10:46]Read from MH i2c: E2 03 00 [19:10:46]MH_I2C_Read... [19:10:46]Read from MH i2c: E2 03 00 29 09 00 90 00 A6 [19:10:46]RAPDU: 90 00 [19:10:46]wFMCommunicate OK [19:10:46]SAM_PROTO_ClearQueue done [19:10:46]KKMCreateOFDPacket [19:10:46]OFDProtocolAddRootSTLVToBuf [19:10:46]FM_MakeSignedData [19:10:46]FM_MakeSignedData [19:10:46]SAM_PROTO_SignData [19:10:46]wFMCommunicate request_size=4 [19:10:46]MH_SAM_APDU [19:10:46]CAPDU: 80 0D 01 02 [19:10:46]Write to MH i2c: E2 08 00 2A 09 80 0D 01 02 00 00 00 00 AC [19:10:46]Write i2c OK [19:10:46]MH_I2C_Read... [19:10:46]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:10:46]Read from MH i2c: E2 [19:10:46]MH_I2C_Read... [19:10:46]Read from MH i2c: E2 03 00 [19:10:46]MH_I2C_Read... [19:10:46]Read from MH i2c: E2 03 00 2A 09 00 90 00 A7 [19:10:46]RAPDU: 90 00 [19:10:46]wFMCommunicate OK [19:10:46]wFMCommunicate request_size=255 [19:10:46]MH_SAM_APDU [19:10:46]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 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 8A 9D 00 00 00 00 00 37 04 06 00 10 1D 00 00 00 00 13 04 06 00 17 94 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 17 94 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 0A 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 78 7C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 17 94 04 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 37 2E 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 13 82 00 00 35 04 06 00 74 [19:10:46]Write to MH i2c: E2 02 01 2B 09 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 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 8A 9D 00 00 00 00 00 37 04 06 00 10 1D 00 00 00 00 13 04 06 00 17 94 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 17 94 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 0A 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 78 7C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 17 94 04 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 37 2E 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 13 82 00 00 35 04 06 00 74 00 00 B5 [19:10:46]Write i2c OK [19:10:46]MH_I2C_Read... [19:10:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:10:46]Read from MH i2c: E2 [19:10:46]MH_I2C_Read... [19:10:46]Read from MH i2c: E2 03 00 [19:10:46]MH_I2C_Read... [19:10:46]Read from MH i2c: E2 03 00 2B 09 00 90 00 A8 [19:10:46]RAPDU: 90 00 [19:10:46]wFMCommunicate OK [19:10:46]wFMCommunicate request_size=10 [19:10:46]MH_SAM_APDU [19:10:46]CAPDU: 80 0D 02 02 05 A0 83 F1 D0 46 [19:10:46]Write to MH i2c: E2 0D 00 2C 09 80 0D 02 02 05 00 A0 83 F1 D0 46 00 00 E3 [19:10:46]Write i2c OK [19:10:46]MH_I2C_Read... [19:10:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:10:46]Read from MH i2c: E2 [19:10:46]MH_I2C_Read... [19:10:46]Read from MH i2c: E2 03 00 [19:10:46]MH_I2C_Read... [19:10:46]Read from MH i2c: E2 03 00 2C 09 00 90 00 A9 [19:10:46]RAPDU: 90 00 [19:10:46]wFMCommunicate OK [19:10:46]wFMCommunicate request_size=4 [19:10:46]MH_SAM_APDU [19:10:46]CAPDU: 80 0D 03 02 [19:10:46]Write to MH i2c: E2 08 00 2D 09 80 0D 03 02 00 00 00 00 B1 [19:10:46]Write i2c OK [19:10:46]MH_I2C_Read... [19:10:46]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:10:46]Read from MH i2c: E2 [19:10:46]MH_I2C_Read... [19:10:46]Read from MH i2c: E2 0B 00 [19:10:46]MH_I2C_Read... [19:10:46]Read from MH i2c: E2 0B 00 2D 09 00 F2 27 63 06 BE C5 C3 3B 90 00 B5 [19:10:46]RAPDU: F2 27 63 06 BE C5 C3 3B 90 00 [19:10:46]wFMCommunicate OK [19:10:46]SAM_PROTO_SignData done [19:10:46]FM_MakeSignedData done [19:10:46]CreateOFDProtocolMessage [19:10:46]wFMCommunicate request_size=4 [19:10:46]MH_SAM_APDU [19:10:46]CAPDU: 80 11 00 00 [19:10:46]Write to MH i2c: E2 08 00 2E 09 80 11 00 00 00 00 00 00 B1 [19:10:46]Write i2c OK [19:10:46]MH_I2C_Read... [19:10:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:10:47]Read from MH i2c: E2 [19:10:47]MH_I2C_Read... [19:10:47]Read from MH i2c: E2 17 00 [19:10:47]MH_I2C_Read... [19:10:47]Read from MH i2c: E2 17 00 2E 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 FD [19:10:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [19:10:47]wFMCommunicate OK [19:10:47]CreateOFDProtocolMessage done [19:10:47]OFDSenderStorePacket 33299 [19:10:47]StoreOFDPacket docnum=33299 [19:10:47]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0F 01 00 00 78 E7 07 01 29 52 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 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 8A 9D 00 00 00 00 00 37 04 06 00 10 1D 00 00 00 00 13 04 06 00 17 94 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 17 94 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 0A 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 78 7C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 17 94 04 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 37 2E 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 13 82 00 00 35 04 06 00 74 A0 83 F1 D0 46 F2 27 63 06 BE C5 C3 3B [19:10:47]CheckFolder [19:10:47]dirname=/storage/ofd_packets [19:10:47]CheckFolder done [19:10:47]ProducePacketName [19:10:47]name=ofd_packets/00033299 [19:10:47]NVStorageSaveData ofd_packets/00033299 [19:10:47]File name is /storage/ofd_packets/00033299 [19:10:47]Write 301 bytes [19:10:47]NVStorageSaveData done [19:10:47]OFDSenderStorePacket done [19:10:47]KKMCreateOFDPacket done [19:10:47]NVStorageSaveData kkm_last_timestamp [19:10:47]File name is /storage/kkm_last_timestamp [19:10:47]Write 4 bytes [19:10:47]NVStorageSaveData done [19:10:47]ExternCall_PrintAddStr [19:10:47]wPrintStart [19:10:47]Write to MH i2c: 01 00 00 2F 09 38 [19:10:47]OFD Sender: Processing packet 33299 [packets to send 6, broken 5] [19:10:47]ProducePacketName [19:10:47]name=ofd_packets/00033299 [19:10:47]OFD Sender: To server: pG, [19:10:47]CommunicateWithHost lk.salyk.kg:30040 [19:10:47]ConnectInit lk.salyk.kg [19:10:47]Write i2c OK [19:10:47]MH_I2C_Read... [19:10:47]Read from MH i2c: 01 [19:10:47]MH_I2C_Read... [19:10:47]Read from MH i2c: 01 07 00 [19:10:47]MH_I2C_Read... [19:10:47]Read from MH i2c: 01 07 00 2F 09 00 00 00 00 00 FF 0F 4D [19:10:47]RasterBufferAndPrint [19:10:47]line Счет N : (1)5669808 [19:10:47]line ИНН: 02508201610067 [19:10:47]line Контрольно-Кассовый Чек [19:10:47]line ПРОДАЖА [19:10:47]line ТРК (МРК, ГНК) : 32 [19:10:47]line Товар: 2710124500 [19:10:47]line Аи-95-К-5 [19:10:47]line 40.330 * 74.40 [19:10:47]line = 3000.55 [19:10:47]line НДС 12% НСП 1% [19:10:47]line > о реализуемом товаре [19:10:47]line ИТОГО: 3000.55 [19:10:47]line НСП 1% : 26.55 [19:10:47]line НДС 12% : 318.64 [19:10:47]line Наличными: 0.00 [19:10:47]line Безнал.: 3000.55 [19:10:47]line Место: АЗС № 77 "Партнер Нефть" [19:10:47]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [19:10:47]line СНО: Общий режим [19:10:47]line Чек 54 11.07.2024 19:10 [19:10:47]line Смена: 432 ФФД: 1.0 [19:10:47]line ЗНМ: 0300000122 [19:10:47]line РНМ: 0000000000093033 [19:10:47]line Версия ККМ: 001 [19:10:47]line Платежная система: АКБ Кыргызстан [19:10:47]line ФМ: 0000000000875104 [19:10:47]line ФД: 33299 [19:10:47]line ФПД: 128232757252166 [19:10:47]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T191047&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33299&fm=128232757252166&tin=02508201610067®Number=0000000000093033&sum=300055 [19:10:47]written 0, free lines is 4095 [19:10:47]Connected sock=10 [19:10:47]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0F 01 00 00 78 E7 07 01 29 52 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 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 8A 9D 00 00 00 00 00 37 04 06 00 10 1D 00 00 00 00 13 04 06 00 17 94 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 17 94 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 0A 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 78 7C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 17 94 04 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 37 2E 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 13 82 00 00 35 04 06 00 74 A0 83 F1 D0 46 F2 27 63 06 BE C5 C3 3B [19:10:47]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 DF AB 47 00 1E 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 35 31 30 34 10 04 04 00 13 82 00 00 F4 03 04 00 E6 D8 8F 66 B6 04 01 00 00 0A 09 AF 72 18 2E 83 B1 [19:10:47]CommunicateWithHost err = 0 [19:10:47]CheckOFDResponse [19:10:47]1017 (14) - 77093643461234 [19:10:47]1041 (16) - 0000000000875104 [19:10:47]1040 (4) - 33299 [19:10:47]1012 (4) - 11.07.2024 13:06 [19:10:47]1206 (1) - 0 [19:10:47]OFD Sender: Remove packet 33299 [19:10:47]ProducePacketName [19:10:47]name=ofd_packets/00033299 [19:10:47]NVStorageDeleteData [19:10:47]Write to MH i2c: 01 00 00 59 09 62 [19:10:47]Write i2c OK [19:10:47]MH_I2C_Read... [19:10:47]Read from MH i2c: 01 [19:10:47]MH_I2C_Read... [19:10:47]Read from MH i2c: 01 07 00 [19:10:47]MH_I2C_Read... [19:10:47]Read from MH i2c: 01 07 00 59 09 00 00 00 00 00 EA 0C 5F [19:10:47]RasterBufferAndPrint [19:10:47]line [19:10:47]line [19:10:47]line [19:10:47]line [19:10:47]line [19:10:47]written 0, free lines is 3312 [19:10:47]MH_Cut [19:10:47]Write to MH i2c: D1 01 00 60 09 01 3B [19:10:47]Write i2c OK [19:10:47]MH_I2C_Read... [19:10:47]Read from MH i2c: D1 [19:10:47]MH_I2C_Read... [19:10:47]Read from MH i2c: D1 01 00 [19:10:47]MH_I2C_Read... [19:10:47]Read from MH i2c: D1 01 00 60 09 00 3A [19:10:47]Write to MH i2c: 01 00 00 61 09 6A [19:10:47]Write i2c OK [19:10:47]MH_I2C_Read... [19:10:48]OFD Sender: No OFD packet to send [19:10:48]*** Cut start [19:10:48]*** Partial cut [19:10:48]*** CUTSNS_PIN = 1 [19:10:48]*** CUTSNS_PIN = 0 [19:10:48]*** Brake cut motor [19:10:49]Read from MH i2c: 01 [19:10:49]MH_I2C_Read... [19:10:49]*** Stop cut motor [19:10:49]*** Cut end [19:10:49]Read from MH i2c: 01 07 00 [19:10:49]MH_I2C_Read... [19:10:49]Read from MH i2c: 01 07 00 61 09 00 00 00 00 00 FF 0F 7F [19:10:49]process_action close_receipt done [19:10:49]requested_data is exist [19:10:49]produce_requested_data [19:10:49]requested_item fm.sn is exist - process it [19:10:49]wFMCommunicate request_size=4 [19:10:49]MH_SAM_APDU [19:10:49]CAPDU: 80 11 00 00 [19:10:49]Write to MH i2c: E2 08 00 62 09 80 11 00 00 00 00 00 00 E5 [19:10:49]Write i2c OK [19:10:49]MH_I2C_Read... [19:10:49]Read from MH i2c: E2 [19:10:49]MH_I2C_Read... [19:10:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:10:49]Read from MH i2c: E2 17 00 [19:10:49]MH_I2C_Read... [19:10:49]Read from MH i2c: E2 17 00 62 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 31 [19:10:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [19:10:49]wFMCommunicate OK [19:10:49]requested_item fd.num is exist - process it [19:10:49]SAM_PROTO_GetFieldsCounters [19:10:49]wFMCommunicate request_size=4 [19:10:49]MH_SAM_APDU [19:10:49]CAPDU: 80 13 00 00 [19:10:49]Write to MH i2c: E2 08 00 63 09 80 13 00 00 00 00 00 00 E8 [19:10:49]Write i2c OK [19:10:49]MH_I2C_Read... [19:10:49]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:10:49]Read from MH i2c: E2 [19:10:49]MH_I2C_Read... [19:10:49]Read from MH i2c: E2 62 00 [19:10:49]MH_I2C_Read... [19:10:49]Read from MH i2c: E2 62 00 63 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 13 82 00 00 0E 04 04 00 B0 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 E3 [19:10: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 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 13 82 00 00 0E 04 04 00 B0 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:10:49]wFMCommunicate OK [19:10:49]SAM_PROTO_GetFieldsCounters done [19:10:49]requested_item shift.num is exist - process it [19:10:49]requested_item shift.opened is exist - process it [19:10:49]req_shift_opened [19:10:49]FM_GetShiftState [19:10:49]SAM_PROTO_GetShiftState [19:10:49]wFMCommunicate request_size=4 [19:10:49]MH_SAM_APDU [19:10:49]CAPDU: 80 13 01 00 [19:10:49]Write to MH i2c: E2 08 00 64 09 80 13 01 00 00 00 00 00 EA [19:10:49]Write i2c OK [19:10:49]MH_I2C_Read... [19:10:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:10:49]Read from MH i2c: E2 [19:10:49]MH_I2C_Read... [19:10:49]Read from MH i2c: E2 0E 00 [19:10:49]MH_I2C_Read... [19:10:49]Read from MH i2c: E2 0E 00 64 09 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 1B [19:10:49]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [19:10:49]wFMCommunicate OK [19:10:49]SAM_PROTO_GetShiftState done [19:10:49]FM_GetShiftState done [19:10:49]req_shift_opened done [19:10:49]requested_item shift.open_date is exist - process it [19:10:49]req_shift_open_date [19:10:49]req_shift_open_date done [19:10:49]produce_requested_data done [19:10:49]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33299,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398} [19:10:49]process_action_free close_receipt [19:10:49]json_value_free [19:10:49]json_value_free done [19:10:49]process_json_proto returns [19:10:49]Send response to host [19:10:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33299,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398}}} [19:10:49]free response buf [19:10:49]execute_script done [19:10:49]execute_script returns [19:10:49]free content buf [19:10:49]Sock 9.Close socket [19:10:49]Sock 9.Thread stoped [19:10:53]OFD Sender: No OFD packet to send [19:10:58]OFD Sender: No OFD packet to send [19:11:03]OFD Sender: No OFD packet to send [19:11:08]OFD Sender: No OFD packet to send [19:11:13]OFD Sender: No OFD packet to send [19:11:18]OFD Sender: No OFD packet to send [19:11:23]OFD Sender: No OFD packet to send [19:11:28]OFD Sender: No OFD packet to send [19:11:33]OFD Sender: No OFD packet to send [19:11:38]OFD Sender: No OFD packet to send [19:11:43]OFD Sender: No OFD packet to send [19:11:48]OFD Sender: No OFD packet to send [19:11:53]OFD Sender: No OFD packet to send [19:11:58]OFD Sender: No OFD packet to send [19:12:03]OFD Sender: No OFD packet to send [19:12:08]OFD Sender: No OFD packet to send [19:12:13]OFD Sender: No OFD packet to send [19:12:18]OFD Sender: No OFD packet to send [19:12:23]OFD Sender: No OFD packet to send [19:12:28]OFD Sender: No OFD packet to send [19:12:33]OFD Sender: No OFD packet to send [19:12:38]OFD Sender: No OFD packet to send [19:12:43]OFD Sender: No OFD packet to send [19:12:48]OFD Sender: No OFD packet to send [19:12:53]OFD Sender: No OFD packet to send [19:12:58]OFD Sender: No OFD packet to send [19:13:03]OFD Sender: No OFD packet to send [19:13:08]OFD Sender: No OFD packet to send [19:13:11]accept exits with 7 [19:13:11]New connection [19:13:11]New thread 3066793316 created [19:13:11]Thread 3066936676 joined [19:13:11]Waiting for new connection... [19:13:11] Sock 7.Parse request [19:13:11]Sock 7.Check first char [19:13:11]Sock 7.First char is OK [19:13:11]request: POST /json_proto HTTP/1.0 [19:13:11]Method: POST [19:13:11]URL: /json_proto [19:13:11]Method is POST - this is cgi request [19:13:11]url: /json_proto [19:13:11]query_string will be loaded in cgi processing [19:13:11]execute_cgi json_proto POST (null) [19:13:11]execute_cgi path=json_proto method=POST [19:13:11]POST find Content-Length [19:13:11]Host: 172.17.35.196:8080 [19:13:11]Content-Length: 841 [19:13:11]Content-Type: application/json [19:13:11] [19:13:11]POST finish read [19:13:11]Found Content-Length = 841 [19:13:11]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)5669812", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.30, "quantity" : 6.040, "sum" : 400.45, "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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 400.45 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:13:11]execute_script... [19:13:11]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)5669812", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.30, "quantity" : 6.040, "sum" : 400.45, "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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 400.45 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:13:11]POST & json_proto [19:13:11]process_json_proto [19:13:11]json parsed OK: [19:13:11]protocol is kg_v1.0 [19:13:11]action value=close_receipt [19:13:11]process_action close_receipt [19:13:11]cmd_close_receipt [19:13:11]MH_GetDate [19:13:11]Write to MH i2c: F0 00 00 65 09 5D [19:13:11]Write i2c OK [19:13:11]MH_I2C_Read... [19:13:11]Read from MH i2c: F0 [19:13:11]MH_I2C_Read... [19:13:11]Read from MH i2c: F0 09 00 [19:13:11]MH_I2C_Read... [19:13:11]Read from MH i2c: F0 09 00 65 09 00 C9 2E 90 66 AD 14 F4 65 6D [19:13:11]GetLastDocTimeStamp 1720725047 [19:13:11]current date 1720725193 [19:13:11]FM_GetShiftState [19:13:11]SAM_PROTO_GetShiftState [19:13:11]wFMCommunicate request_size=4 [19:13:11]MH_SAM_APDU [19:13:11]CAPDU: 80 13 01 00 [19:13:11]Write to MH i2c: E2 08 00 66 09 80 13 01 00 00 00 00 00 EC [19:13:11]Write i2c OK [19:13:11]MH_I2C_Read... [19:13:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:13:11]Read from MH i2c: E2 [19:13:11]MH_I2C_Read... [19:13:11]Read from MH i2c: E2 0E 00 [19:13:11]MH_I2C_Read... [19:13:11]Read from MH i2c: E2 0E 00 66 09 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 1D [19:13:11]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [19:13:11]wFMCommunicate OK [19:13:11]SAM_PROTO_GetShiftState done [19:13:11]FM_GetShiftState done [19:13:11]opened in 1720656398 [19:13:11]opened+sec_in_day 1720742798 [19:13:11]quantity*price = 40045 [19:13:11]sum+1 = 40046 [19:13:11]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 400.45 НСП 1% : 3.54 НДС 12% : 42.53 Наличными: 0.00 Безнал.: 400.45 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 55 11.07.2024 19:13 Смена: 432 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000875104 ФД: 33300 ФПД: 42529036881386 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T191313&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33300&fm=42529036881386&tin=02508201610067®Number=0000000000093033&sum=40045 [19:13:13]StoreToDocumentArchive [19:13:13]shift 432 fd 33300 [19:13:13]save to /storage/0432/doc_00033300 [19:13:13]save last doc name /storage/0432/doc_00033300 to /storage/kkm_last_doc_name [19:13:13]save OK [19:13:13]Clear old archive folders... [19:13:13]ProcessDocumentItem done err = 0, tmpTLVsize=251 [19:13:13]tlvbuf is 01C9A330 [19:13:13]SAM_PROTO_ClearQueue [19:13:13]wFMCommunicate request_size=4 [19:13:13]MH_SAM_APDU [19:13:13]CAPDU: 80 09 00 00 [19:13:13]Write to MH i2c: E2 08 00 73 09 80 09 00 00 00 00 00 00 EE [19:13:13]Write i2c OK [19:13:13]MH_I2C_Read... [19:13:13]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:13:13]Read from MH i2c: E2 [19:13:13]MH_I2C_Read... [19:13:13]Read from MH i2c: E2 03 00 [19:13:13]MH_I2C_Read... [19:13:13]Read from MH i2c: E2 03 00 73 09 00 90 00 F0 [19:13:13]RAPDU: 90 00 [19:13:13]wFMCommunicate OK [19:13:13]SAM_PROTO_ClearQueue done [19:13:13]KKMCreateOFDPacket [19:13:13]OFDProtocolAddRootSTLVToBuf [19:13:13]FM_MakeSignedData [19:13:13]FM_MakeSignedData [19:13:13]SAM_PROTO_SignData [19:13:13]wFMCommunicate request_size=4 [19:13:13]MH_SAM_APDU [19:13:13]CAPDU: 80 0D 01 02 [19:13:13]Write to MH i2c: E2 08 00 74 09 80 0D 01 02 00 00 00 00 F6 [19:13:13]Write i2c OK [19:13:13]MH_I2C_Read... [19:13:13]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:13:13]Read from MH i2c: E2 [19:13:13]MH_I2C_Read... [19:13:13]Read from MH i2c: E2 03 00 [19:13:13]MH_I2C_Read... [19:13:13]Read from MH i2c: E2 03 00 74 09 00 90 00 F1 [19:13:13]RAPDU: 90 00 [19:13:13]wFMCommunicate OK [19:13:13]wFMCommunicate request_size=255 [19:13:13]MH_SAM_APDU [19:13:13]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 98 17 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 6D 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6D 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9D 10 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 6D 9C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 C9 2E 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 14 82 00 00 35 04 06 00 26 [19:13:13]Write to MH i2c: E2 02 01 75 09 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 98 17 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 6D 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6D 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9D 10 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 6D 9C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 C9 2E 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 14 82 00 00 35 04 06 00 26 00 00 5C [19:13:13]Write i2c OK [19:13:13]MH_I2C_Read... [19:13:13]OFD Sender: No OFD packet to send [19:13:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:13:13]Read from MH i2c: E2 [19:13:13]MH_I2C_Read... [19:13:13]Read from MH i2c: E2 03 00 [19:13:13]MH_I2C_Read... [19:13:13]Read from MH i2c: E2 03 00 75 09 00 90 00 F2 [19:13:13]RAPDU: 90 00 [19:13:13]wFMCommunicate OK [19:13:13]wFMCommunicate request_size=10 [19:13:13]MH_SAM_APDU [19:13:13]CAPDU: 80 0D 02 02 05 AE 10 22 CD EA [19:13:13]Write to MH i2c: E2 0D 00 76 09 80 0D 02 02 05 00 AE 10 22 CD EA 00 00 9A [19:13:13]Write i2c OK [19:13:13]MH_I2C_Read... [19:13:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:13:13]Read from MH i2c: E2 [19:13:13]MH_I2C_Read... [19:13:13]Read from MH i2c: E2 03 00 [19:13:13]MH_I2C_Read... [19:13:13]Read from MH i2c: E2 03 00 76 09 00 90 00 F3 [19:13:13]RAPDU: 90 00 [19:13:13]wFMCommunicate OK [19:13:13]wFMCommunicate request_size=4 [19:13:13]MH_SAM_APDU [19:13:13]CAPDU: 80 0D 03 02 [19:13:13]Write to MH i2c: E2 08 00 77 09 80 0D 03 02 00 00 00 00 FB [19:13:13]Write i2c OK [19:13:13]MH_I2C_Read... [19:13:13]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:13:13]Read from MH i2c: E2 [19:13:13]MH_I2C_Read... [19:13:13]Read from MH i2c: E2 0B 00 [19:13:13]MH_I2C_Read... [19:13:13]Read from MH i2c: E2 0B 00 77 09 00 F5 1F 75 CD 74 A7 97 97 90 00 9B [19:13:13]RAPDU: F5 1F 75 CD 74 A7 97 97 90 00 [19:13:13]wFMCommunicate OK [19:13:13]SAM_PROTO_SignData done [19:13:13]FM_MakeSignedData done [19:13:13]CreateOFDProtocolMessage [19:13:13]wFMCommunicate request_size=4 [19:13:13]MH_SAM_APDU [19:13:13]CAPDU: 80 11 00 00 [19:13:13]Write to MH i2c: E2 08 00 78 09 80 11 00 00 00 00 00 00 FB [19:13:13]Write i2c OK [19:13:13]MH_I2C_Read... [19:13:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:13:13]Read from MH i2c: E2 [19:13:13]MH_I2C_Read... [19:13:13]Read from MH i2c: E2 17 00 [19:13:13]MH_I2C_Read... [19:13:13]Read from MH i2c: E2 17 00 78 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 47 [19:13:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [19:13:13]wFMCommunicate OK [19:13:13]CreateOFDProtocolMessage done [19:13:13]OFDSenderStorePacket 33300 [19:13:13]StoreOFDPacket docnum=33300 [19:13:13]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0F 01 00 00 5A 2B 07 01 FD FB 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 98 17 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 6D 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6D 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9D 10 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 6D 9C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 C9 2E 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 14 82 00 00 35 04 06 00 26 AE 10 22 CD EA F5 1F 75 CD 74 A7 97 97 [19:13:13]CheckFolder [19:13:13]dirname=/storage/ofd_packets [19:13:13]CheckFolder done [19:13:13]ProducePacketName [19:13:13]name=ofd_packets/00033300 [19:13:13]NVStorageSaveData ofd_packets/00033300 [19:13:13]File name is /storage/ofd_packets/00033300 [19:13:13]Write 301 bytes [19:13:13]NVStorageSaveData done [19:13:13]OFDSenderStorePacket done [19:13:13]KKMCreateOFDPacket done [19:13:13]NVStorageSaveData kkm_last_timestamp [19:13:13]File name is /storage/kkm_last_timestamp [19:13:13]Write 4 bytes [19:13:13]NVStorageSaveData done [19:13:13]ExternCall_PrintAddStr [19:13:13]wPrintStart [19:13:13]Write to MH i2c: 01 00 00 79 09 82 [19:13:13]Write i2c OK [19:13:13]MH_I2C_Read... [19:13:13]Read from MH i2c: 01 [19:13:13]MH_I2C_Read... [19:13:13]Read from MH i2c: 01 07 00 [19:13:13]MH_I2C_Read... [19:13:13]Read from MH i2c: 01 07 00 79 09 00 00 00 00 00 FF 0F 97 [19:13:13]RasterBufferAndPrint [19:13:13]line Счет N : (1)5669812 [19:13:13]line ИНН: 02508201610067 [19:13:13]line Контрольно-Кассовый Чек [19:13:13]line ПРОДАЖА [19:13:13]line ТРК (МРК, ГНК) : 33 [19:13:13]line Товар: 2710124130 [19:13:13]line Аи-92-К-5 [19:13:13]line 6.040 * 66.30 [19:13:13]line = 400.45 [19:13:13]line НДС 12% НСП 1% [19:13:13]line > о реализуемом товаре [19:13:13]line ИТОГО: 400.45 [19:13:13]line НСП 1% : 3.54 [19:13:13]line НДС 12% : 42.53 [19:13:13]line Наличными: 0.00 [19:13:13]line Безнал.: 400.45 [19:13:13]line Место: АЗС № 77 "Партнер Нефть" [19:13:13]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [19:13:13]line СНО: Общий режим [19:13:13]line Чек 55 11.07.2024 19:13 [19:13:13]line Смена: 432 ФФД: 1.0 [19:13:13]line ЗНМ: 0300000122 [19:13:13]line РНМ: 0000000000093033 [19:13:13]line Версия ККМ: 001 [19:13:13]line Платежная система: АКБ Кыргызстан [19:13:13]line ФМ: 0000000000875104 [19:13:13]line ФД: 33300 [19:13:13]line ФПД: 42529036881386 [19:13:13]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T191313&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33300&fm=42529036881386&tin=02508201610067®Number=0000000000093033&sum=40045 [19:13:13]OFD Sender: Processing packet 33300 [packets to send 6, broken 5] [19:13:13]ProducePacketName [19:13:13]name=ofd_packets/00033300 [19:13:13]OFD Sender: To server: pG, [19:13:13]CommunicateWithHost lk.salyk.kg:30040 [19:13:13]ConnectInit lk.salyk.kg [19:13:13]written 0, free lines is 4095 [19:13:14]Connected sock=10 [19:13:14]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0F 01 00 00 5A 2B 07 01 FD FB 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 98 17 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 6D 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6D 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9D 10 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 6D 9C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 C9 2E 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 14 82 00 00 35 04 06 00 26 AE 10 22 CD EA F5 1F 75 CD 74 A7 97 97 [19:13:14]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 C5 D2 47 00 CB 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 35 31 30 34 10 04 04 00 14 82 00 00 F4 03 04 00 78 D9 8F 66 B6 04 01 00 00 1B D7 A1 F6 8F 4E BD 40 [19:13:14]CommunicateWithHost err = 0 [19:13:14]CheckOFDResponse [19:13:14]1017 (14) - 77093643461234 [19:13:14]1041 (16) - 0000000000875104 [19:13:14]1040 (4) - 33300 [19:13:14]1012 (4) - 11.07.2024 13:09 [19:13:14]1206 (1) - 0 [19:13:14]OFD Sender: Remove packet 33300 [19:13:14]ProducePacketName [19:13:14]name=ofd_packets/00033300 [19:13:14]NVStorageDeleteData [19:13:14]Write to MH i2c: 01 00 00 A3 09 AC [19:13:14]Write i2c OK [19:13:14]MH_I2C_Read... [19:13:14]Read from MH i2c: 01 [19:13:14]MH_I2C_Read... [19:13:14]Read from MH i2c: 01 07 00 [19:13:14]MH_I2C_Read... [19:13:14]Read from MH i2c: 01 07 00 A3 09 00 00 00 00 00 F0 0C AF [19:13:14]RasterBufferAndPrint [19:13:14]line [19:13:14]line [19:13:14]line [19:13:14]line [19:13:14]line [19:13:14]written 0, free lines is 3319 [19:13:14]MH_Cut [19:13:14]Write to MH i2c: D1 01 00 AA 09 01 85 [19:13:14]Write i2c OK [19:13:14]MH_I2C_Read... [19:13:14]Read from MH i2c: D1 [19:13:14]MH_I2C_Read... [19:13:14]Read from MH i2c: D1 01 00 [19:13:14]MH_I2C_Read... [19:13:14]Read from MH i2c: D1 01 00 AA 09 00 84 [19:13:14]Write to MH i2c: 01 00 00 AB 09 B4 [19:13:14]Write i2c OK [19:13:14]MH_I2C_Read... [19:13:14]OFD Sender: No OFD packet to send [19:13:15]*** Cut start [19:13:15]*** Partial cut [19:13:15]*** CUTSNS_PIN = 1 [19:13:15]*** CUTSNS_PIN = 0 [19:13:15]*** Brake cut motor [19:13:15]Read from MH i2c: 01 [19:13:15]MH_I2C_Read... [19:13:15]*** Stop cut motor [19:13:15]*** Cut end [19:13:15]Read from MH i2c: 01 07 00 [19:13:15]MH_I2C_Read... [19:13:15]Read from MH i2c: 01 07 00 AB 09 00 00 00 00 00 FF 0F C9 [19:13:15]process_action close_receipt done [19:13:15]requested_data is exist [19:13:15]produce_requested_data [19:13:15]requested_item fm.sn is exist - process it [19:13:15]wFMCommunicate request_size=4 [19:13:15]MH_SAM_APDU [19:13:15]CAPDU: 80 11 00 00 [19:13:15]Write to MH i2c: E2 08 00 AC 09 80 11 00 00 00 00 00 00 2F [19:13:15]Write i2c OK [19:13:15]MH_I2C_Read... [19:13:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:13:15]Read from MH i2c: E2 [19:13:15]MH_I2C_Read... [19:13:15]Read from MH i2c: E2 17 00 [19:13:15]MH_I2C_Read... [19:13:15]Read from MH i2c: E2 17 00 AC 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 7B [19:13:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [19:13:15]wFMCommunicate OK [19:13:15]requested_item fd.num is exist - process it [19:13:15]SAM_PROTO_GetFieldsCounters [19:13:15]wFMCommunicate request_size=4 [19:13:15]MH_SAM_APDU [19:13:15]CAPDU: 80 13 00 00 [19:13:15]Write to MH i2c: E2 08 00 AD 09 80 13 00 00 00 00 00 00 32 [19:13:15]Write i2c OK [19:13:15]MH_I2C_Read... [19:13:15]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:13:15]Read from MH i2c: E2 [19:13:15]MH_I2C_Read... [19:13:15]Read from MH i2c: E2 62 00 [19:13:15]MH_I2C_Read... [19:13:15]Read from MH i2c: E2 62 00 AD 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 14 82 00 00 0E 04 04 00 B0 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 31 [19:13:15]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 14 82 00 00 0E 04 04 00 B0 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:13:15]wFMCommunicate OK [19:13:15]SAM_PROTO_GetFieldsCounters done [19:13:15]requested_item shift.num is exist - process it [19:13:15]requested_item shift.opened is exist - process it [19:13:15]req_shift_opened [19:13:15]FM_GetShiftState [19:13:15]SAM_PROTO_GetShiftState [19:13:15]wFMCommunicate request_size=4 [19:13:15]MH_SAM_APDU [19:13:15]CAPDU: 80 13 01 00 [19:13:15]Write to MH i2c: E2 08 00 AE 09 80 13 01 00 00 00 00 00 34 [19:13:15]Write i2c OK [19:13:15]MH_I2C_Read... [19:13:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:13:16]Read from MH i2c: E2 [19:13:16]MH_I2C_Read... [19:13:16]Read from MH i2c: E2 0E 00 [19:13:16]MH_I2C_Read... [19:13:16]Read from MH i2c: E2 0E 00 AE 09 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 65 [19:13:16]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [19:13:16]wFMCommunicate OK [19:13:16]SAM_PROTO_GetShiftState done [19:13:16]FM_GetShiftState done [19:13:16]req_shift_opened done [19:13:16]requested_item shift.open_date is exist - process it [19:13:16]req_shift_open_date [19:13:16]req_shift_open_date done [19:13:16]produce_requested_data done [19:13:16]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33300,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398} [19:13:16]process_action_free close_receipt [19:13:16]json_value_free [19:13:16]json_value_free done [19:13:16]process_json_proto returns [19:13:16]Send response to host [19:13:16]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33300,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398}}} [19:13:16]free response buf [19:13:16]execute_script done [19:13:16]execute_script returns [19:13:16]free content buf [19:13:16]Sock 7.Close socket [19:13:16]Sock 7.Thread stoped [19:13:19]OFD Sender: No OFD packet to send [19:13:24]OFD Sender: No OFD packet to send [19:13:29]OFD Sender: No OFD packet to send [19:13:34]OFD Sender: No OFD packet to send [19:13:39]accept exits with 9 [19:13:39]New connection [19:13:39]New thread 3066936676 created [19:13:39]Thread 3066793316 joined [19:13:39]Waiting for new connection... [19:13:39] Sock 9.Parse request [19:13:39]Sock 9.Check first char [19:13:39]Sock 9.First char is OK [19:13:39]request: POST /json_proto HTTP/1.0 [19:13:39]Method: POST [19:13:39]URL: /json_proto [19:13:39]Method is POST - this is cgi request [19:13:39]url: /json_proto [19:13:39]query_string will be loaded in cgi processing [19:13:39]execute_cgi json_proto POST (null) [19:13:39]execute_cgi path=json_proto method=POST [19:13:39]POST find Content-Length [19:13:39]Host: 172.17.35.196:8080 [19:13:39]Content-Length: 895 [19:13:39]Content-Type: application/json [19:13:39] [19:13:39]POST finish read [19:13:39]Found Content-Length = 895 [19:13:39]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169129", "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" : 157.00, "quantity" : 2.000, "sum" : 314.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" : 354.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:13:39]execute_script... [19:13: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)169129", "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" : 157.00, "quantity" : 2.000, "sum" : 314.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" : 354.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:13:39]POST & json_proto [19:13:39]process_json_proto [19:13:39]json parsed OK: [19:13:39]protocol is kg_v1.0 [19:13:39]action value=close_receipt [19:13:39]process_action close_receipt [19:13:39]cmd_close_receipt [19:13:39]MH_GetDate [19:13:39]Write to MH i2c: F0 00 00 AF 09 A7 [19:13:39]Write i2c OK [19:13:39]MH_I2C_Read... [19:13:39]Read from MH i2c: F0 [19:13:39]MH_I2C_Read... [19:13:39]Read from MH i2c: F0 09 00 [19:13:39]MH_I2C_Read... [19:13:39]Read from MH i2c: F0 09 00 AF 09 00 E5 2E 90 66 AD 14 F4 65 D3 [19:13:39]GetLastDocTimeStamp 1720725193 [19:13:39]current date 1720725221 [19:13:39]FM_GetShiftState [19:13:39]SAM_PROTO_GetShiftState [19:13:39]wFMCommunicate request_size=4 [19:13:39]MH_SAM_APDU [19:13:39]CAPDU: 80 13 01 00 [19:13:39]Write to MH i2c: E2 08 00 B0 09 80 13 01 00 00 00 00 00 36 [19:13:39]Write i2c OK [19:13:39]MH_I2C_Read... [19:13:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:13:39]Read from MH i2c: E2 [19:13:39]MH_I2C_Read... [19:13:39]Read from MH i2c: E2 0E 00 [19:13:39]MH_I2C_Read... [19:13:39]Read from MH i2c: E2 0E 00 B0 09 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 67 [19:13:39]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [19:13:39]wFMCommunicate OK [19:13:39]SAM_PROTO_GetShiftState done [19:13:39]FM_GetShiftState done [19:13:39]opened in 1720656398 [19:13:39]opened+sec_in_day 1720742798 [19:13:39]quantity*price = 31400 [19:13:39]sum+1 = 31401 [19:13:39]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000160211 Вода Легенда 0,5л 1.000 * 40.00 = 40.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 354.00 НСП 1% : 3.13 НДС 12% : 37.59 Наличными: 354.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 56 11.07.2024 19:13 Смена: 432 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33301 ФПД: 164389338823516 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T191341&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33301&fm=164389338823516&tin=02508201610067®Number=0000000000093033&sum=35400 0 [19:13:40]StoreToDocumentArchive [19:13:40]shift 432 fd 33301 [19:13:40]save to /storage/0432/doc_00033301 [19:13:40]save last doc name /storage/0432/doc_00033301 to /storage/kkm_last_doc_name [19:13:40]save OK [19:13:40]Clear old archive folders... [19:13:40]ProcessDocumentItem done err = 0, tmpTLVsize=379 [19:13:40]tlvbuf is 01C99F00 [19:13:40]SAM_PROTO_ClearQueue [19:13:40]wFMCommunicate request_size=4 [19:13:40]MH_SAM_APDU [19:13:40]CAPDU: 80 09 00 00 [19:13:40]Write to MH i2c: E2 08 00 BD 09 80 09 00 00 00 00 00 00 38 [19:13:40]Write i2c OK [19:13:40]MH_I2C_Read... [19:13:40]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:13:40]Read from MH i2c: E2 [19:13:40]MH_I2C_Read... [19:13:40]Read from MH i2c: E2 03 00 [19:13:40]MH_I2C_Read... [19:13:40]Read from MH i2c: E2 03 00 BD 09 00 90 00 3A [19:13:40]RAPDU: 90 00 [19:13:40]wFMCommunicate OK [19:13:40]SAM_PROTO_ClearQueue done [19:13:40]KKMCreateOFDPacket [19:13:40]OFDProtocolAddRootSTLVToBuf [19:13:40]FM_MakeSignedData [19:13:40]FM_MakeSignedData [19:13:40]SAM_PROTO_SignData [19:13:40]wFMCommunicate request_size=4 [19:13:40]MH_SAM_APDU [19:13:40]CAPDU: 80 0D 01 02 [19:13:40]Write to MH i2c: E2 08 00 BE 09 80 0D 01 02 00 00 00 00 40 [19:13:40]Write i2c OK [19:13:40]MH_I2C_Read... [19:13:40]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:13:40]Read from MH i2c: E2 [19:13:40]MH_I2C_Read... [19:13:40]Read from MH i2c: E2 03 00 [19:13:40]MH_I2C_Read... [19:13:40]Read from MH i2c: E2 03 00 BE 09 00 90 00 3B [19:13:40]RAPDU: 90 00 [19:13:40]wFMCommunicate OK [19:13:40]wFMCommunicate request_size=255 [19:13:40]MH_SAM_APDU [19:13:40]CAPDU: 80 0D 02 02 FA 03 00 7B 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 D0 07 00 00 00 00 00 37 04 06 00 54 3D 00 00 00 00 13 04 06 00 A8 7A 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 48 8A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 01 00 00 00 [19:13:40]Write to MH i2c: E2 02 01 BF 09 80 0D 02 02 FA 00 03 00 7B 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 D0 07 00 00 00 00 00 37 04 06 00 54 3D 00 00 00 00 13 04 06 00 A8 7A 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 48 8A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 01 00 00 00 00 00 31 [19:13:40]Write i2c OK [19:13:40]MH_I2C_Read... [19:13:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:13:40]Read from MH i2c: E2 [19:13:40]MH_I2C_Read... [19:13:40]Read from MH i2c: E2 03 00 [19:13:40]MH_I2C_Read... [19:13:40]Read from MH i2c: E2 03 00 BF 09 00 90 00 3C [19:13:40]RAPDU: 90 00 [19:13:40]wFMCommunicate OK [19:13:40]wFMCommunicate request_size=138 [19:13:40]MH_SAM_APDU [19:13:40]CAPDU: 80 0D 02 02 85 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AF 0E 00 00 00 00 07 04 06 00 48 8A 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 E5 2E 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 15 82 00 00 35 04 06 00 95 82 E0 25 3B 5C [19:13:40]Write to MH i2c: E2 8D 00 C0 09 80 0D 02 02 85 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AF 0E 00 00 00 00 07 04 06 00 48 8A 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 E5 2E 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 15 82 00 00 35 04 06 00 95 82 E0 25 3B 5C 00 00 37 [19:13:40]Write i2c OK [19:13:40]MH_I2C_Read... [19:13:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:13:41]Read from MH i2c: E2 [19:13:41]MH_I2C_Read... [19:13:41]Read from MH i2c: E2 03 00 [19:13:41]MH_I2C_Read... [19:13:41]Read from MH i2c: E2 03 00 C0 09 00 90 00 3D [19:13:41]RAPDU: 90 00 [19:13:41]wFMCommunicate OK [19:13:41]wFMCommunicate request_size=4 [19:13:41]MH_SAM_APDU [19:13:41]CAPDU: 80 0D 03 02 [19:13:41]Write to MH i2c: E2 08 00 C1 09 80 0D 03 02 00 00 00 00 45 [19:13:41]Write i2c OK [19:13:41]MH_I2C_Read... [19:13:41]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:13:41]Read from MH i2c: E2 [19:13:41]MH_I2C_Read... [19:13:41]Read from MH i2c: E2 0B 00 [19:13:41]MH_I2C_Read... [19:13:41]Read from MH i2c: E2 0B 00 C1 09 00 2E C5 53 19 18 1B B0 6F 90 00 F7 [19:13:41]RAPDU: 2E C5 53 19 18 1B B0 6F 90 00 [19:13:41]wFMCommunicate OK [19:13:41]SAM_PROTO_SignData done [19:13:41]FM_MakeSignedData done [19:13:41]CreateOFDProtocolMessage [19:13:41]wFMCommunicate request_size=4 [19:13:41]MH_SAM_APDU [19:13:41]CAPDU: 80 11 00 00 [19:13:41]Write to MH i2c: E2 08 00 C2 09 80 11 00 00 00 00 00 00 45 [19:13:41]Write i2c OK [19:13:41]MH_I2C_Read... [19:13:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:13:41]Read from MH i2c: E2 [19:13:41]MH_I2C_Read... [19:13:41]Read from MH i2c: E2 17 00 [19:13:41]MH_I2C_Read... [19:13:41]Read from MH i2c: E2 17 00 C2 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 91 [19:13:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [19:13:41]wFMCommunicate OK [19:13:41]CreateOFDProtocolMessage done [19:13:41]OFDSenderStorePacket 33301 [19:13:41]StoreOFDPacket docnum=33301 [19:13:41]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 8F 01 00 00 6E F9 87 01 DC 3F 5A 03 01 00 03 00 7B 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 D0 07 00 00 00 00 00 37 04 06 00 54 3D 00 00 00 00 13 04 06 00 A8 7A 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 48 8A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AF 0E 00 00 00 00 07 04 06 00 48 8A 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 E5 2E 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 15 82 00 00 35 04 06 00 95 82 E0 25 3B 5C 2E C5 53 19 18 1B B0 6F [19:13:41]CheckFolder [19:13:41]dirname=/storage/ofd_packets [19:13:41]CheckFolder done [19:13:41]ProducePacketName [19:13:41]name=ofd_packets/00033301 [19:13:41]NVStorageSaveData ofd_packets/00033301 [19:13:41]File name is /storage/ofd_packets/00033301 [19:13:41]Write 429 bytes [19:13:41]NVStorageSaveData done [19:13:41]OFDSenderStorePacket done [19:13:41]KKMCreateOFDPacket done [19:13:41]NVStorageSaveData kkm_last_timestamp [19:13:41]File name is /storage/kkm_last_timestamp [19:13:41]Write 4 bytes [19:13:41]NVStorageSaveData done [19:13:41]ExternCall_PrintAddStr [19:13:41]wPrintStart [19:13:41]Write to MH i2c: 01 00 00 C3 09 CC [19:13:41]Write i2c OK [19:13:41]MH_I2C_Read... [19:13:41]Read from MH i2c: 01 [19:13:41]MH_I2C_Read... [19:13:41]Read from MH i2c: 01 07 00 [19:13:41]MH_I2C_Read... [19:13:41]Read from MH i2c: 01 07 00 C3 09 00 00 00 00 00 FF 0F E1 [19:13:41]RasterBufferAndPrint [19:13:41]line Счет N : (3)169129 [19:13:41]line ИНН: 02508201610067 [19:13:41]line Контрольно-Кассовый Чек [19:13:41]line ПРОДАЖА [19:13:41]line Товар: 90162602 [19:13:41]line Энерг напиток Red bull 0,25л [19:13:41]line 2.000 * 157.00 [19:13:41]line = 314.00 [19:13:41]line НДС 12% НСП 1% [19:13:41]line > о реализуемом товаре [19:13:41]line Товар: 4700000160211 [19:13:41]line Вода Легенда 0,5л [19:13:41]line 1.000 * 40.00 [19:13:41]line = 40.00 [19:13:41]line НДС 12% НСП 1% [19:13:41]line > о реализуемом товаре [19:13:41]line ИТОГО: 354.00 [19:13:41]line НСП 1% : 3.13 [19:13:41]line НДС 12% : 37.59 [19:13:41]line Наличными: 354.00 [19:13:41]line Безнал.: 0.00 [19:13:41]line Место: АЗС № 77 "Партнер Нефть" [19:13:41]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [19:13:41]line СНО: Общий режим [19:13:41]line Чек 56 11.07.2024 19:13 [19:13:41]line Смена: 432 ФФД: 1.0 [19:13:41]line ЗНМ: 0300000122 [19:13:41]line РНМ: 0000000000093033 [19:13:41]line Версия ККМ: 001 [19:13:41]line ФМ: 0000000000875104 [19:13:41]line ФД: 33301 [19:13:41]line ФПД: 164389338823516 [19:13:41]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T191341&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33301&fm=164389338823516&tin=02508201610067®Number=0000000000093033&sum=35400 [19:13:41]line 0 [19:13:41]OFD Sender: Processing packet 33301 [packets to send 6, broken 5] [19:13:41]ProducePacketName [19:13:41]name=ofd_packets/00033301 [19:13:41]OFD Sender: To server: pG, [19:13:41]CommunicateWithHost lk.salyk.kg:30040 [19:13:41]ConnectInit lk.salyk.kg [19:13:41]written 0, free lines is 4095 [19:13:41]Connected sock=10 [19:13:41]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 8F 01 00 00 6E F9 87 01 DC 3F 5A 03 01 00 03 00 7B 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 D0 07 00 00 00 00 00 37 04 06 00 54 3D 00 00 00 00 13 04 06 00 A8 7A 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 48 8A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AF 0E 00 00 00 00 07 04 06 00 48 8A 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 E5 2E 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 15 82 00 00 35 04 06 00 95 82 E0 25 3B 5C 2E C5 53 19 18 1B B0 6F [19:13:41]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 96 5C 47 00 10 D0 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 15 82 00 00 F4 03 04 00 94 D9 8F 66 B6 04 01 00 00 01 C4 45 62 64 14 57 D7 [19:13:41]CommunicateWithHost err = 0 [19:13:41]CheckOFDResponse [19:13:41]1017 (14) - 77093643461234 [19:13:41]1041 (16) - 0000000000875104 [19:13:41]1040 (4) - 33301 [19:13:41]1012 (4) - 11.07.2024 13:09 [19:13:41]1206 (1) - 0 [19:13:41]OFD Sender: Remove packet 33301 [19:13:41]ProducePacketName [19:13:41]name=ofd_packets/00033301 [19:13:41]NVStorageDeleteData [19:13:42]Write to MH i2c: 01 00 00 F1 09 FA [19:13:42]Write i2c OK [19:13:42]MH_I2C_Read... [19:13:42]Read from MH i2c: 01 [19:13:42]MH_I2C_Read... [19:13:42]Read from MH i2c: 01 07 00 [19:13:42]MH_I2C_Read... [19:13:42]Read from MH i2c: 01 07 00 F1 09 00 00 00 00 00 AC 0C B9 [19:13:42]RasterBufferAndPrint [19:13:42]line [19:13:42]line [19:13:42]line [19:13:42]line [19:13:42]line [19:13:42]written 0, free lines is 3249 [19:13:42]MH_Cut [19:13:42]Write to MH i2c: D1 01 00 F8 09 01 D3 [19:13:42]Write i2c OK [19:13:42]MH_I2C_Read... [19:13:42]Read from MH i2c: D1 [19:13:42]MH_I2C_Read... [19:13:42]Read from MH i2c: D1 01 00 [19:13:42]MH_I2C_Read... [19:13:42]Read from MH i2c: D1 01 00 F8 09 00 D2 [19:13:42]Write to MH i2c: 01 00 00 F9 09 02 [19:13:42]Write i2c OK [19:13:42]MH_I2C_Read... [19:13:42]OFD Sender: No OFD packet to send [19:13:42]*** Cut start [19:13:42]*** Partial cut [19:13:42]*** CUTSNS_PIN = 1 [19:13:42]*** CUTSNS_PIN = 0 [19:13:43]*** Brake cut motor [19:13:43]Read from MH i2c: 01 [19:13:43]MH_I2C_Read... [19:13:43]*** Stop cut motor [19:13:43]*** Cut end [19:13:43]Read from MH i2c: 01 07 00 [19:13:43]MH_I2C_Read... [19:13:43]Read from MH i2c: 01 07 00 F9 09 00 00 00 00 00 FF 0F 17 [19:13:43]process_action close_receipt done [19:13:43]requested_data is exist [19:13:43]produce_requested_data [19:13:43]requested_item fm.sn is exist - process it [19:13:43]wFMCommunicate request_size=4 [19:13:43]MH_SAM_APDU [19:13:43]CAPDU: 80 11 00 00 [19:13:43]Write to MH i2c: E2 08 00 FA 09 80 11 00 00 00 00 00 00 7D [19:13:43]Write i2c OK [19:13:43]MH_I2C_Read... [19:13:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:13:43]Read from MH i2c: E2 [19:13:43]MH_I2C_Read... [19:13:43]Read from MH i2c: E2 17 00 [19:13:43]MH_I2C_Read... [19:13:43]Read from MH i2c: E2 17 00 FA 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 C9 [19:13:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [19:13:43]wFMCommunicate OK [19:13:43]requested_item fd.num is exist - process it [19:13:43]SAM_PROTO_GetFieldsCounters [19:13:43]wFMCommunicate request_size=4 [19:13:43]MH_SAM_APDU [19:13:43]CAPDU: 80 13 00 00 [19:13:43]Write to MH i2c: E2 08 00 FB 09 80 13 00 00 00 00 00 00 80 [19:13:43]Write i2c OK [19:13:43]MH_I2C_Read... [19:13:43]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:13:43]Read from MH i2c: E2 [19:13:43]MH_I2C_Read... [19:13:43]Read from MH i2c: E2 62 00 [19:13:43]MH_I2C_Read... [19:13:43]Read from MH i2c: E2 62 00 FB 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 15 82 00 00 0E 04 04 00 B0 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 83 [19:13: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 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 15 82 00 00 0E 04 04 00 B0 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:13:43]wFMCommunicate OK [19:13:43]SAM_PROTO_GetFieldsCounters done [19:13:43]requested_item shift.num is exist - process it [19:13:43]requested_item shift.opened is exist - process it [19:13:43]req_shift_opened [19:13:43]FM_GetShiftState [19:13:43]SAM_PROTO_GetShiftState [19:13:43]wFMCommunicate request_size=4 [19:13:43]MH_SAM_APDU [19:13:43]CAPDU: 80 13 01 00 [19:13:43]Write to MH i2c: E2 08 00 FC 09 80 13 01 00 00 00 00 00 82 [19:13:43]Write i2c OK [19:13:43]MH_I2C_Read... [19:13:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:13:43]Read from MH i2c: E2 [19:13:43]MH_I2C_Read... [19:13:43]Read from MH i2c: E2 0E 00 [19:13:43]MH_I2C_Read... [19:13:43]Read from MH i2c: E2 0E 00 FC 09 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 B3 [19:13:43]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [19:13:43]wFMCommunicate OK [19:13:43]SAM_PROTO_GetShiftState done [19:13:43]FM_GetShiftState done [19:13:43]req_shift_opened done [19:13:43]requested_item shift.open_date is exist - process it [19:13:43]req_shift_open_date [19:13:43]req_shift_open_date done [19:13:43]produce_requested_data done [19:13:43]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33301,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398} [19:13:43]process_action_free close_receipt [19:13:43]json_value_free [19:13:43]json_value_free done [19:13:43]process_json_proto returns [19:13:43]Send response to host [19:13:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33301,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398}}} [19:13:43]free response buf [19:13:43]execute_script done [19:13:43]execute_script returns [19:13:43]free content buf [19:13:43]Sock 9.Close socket [19:13:43]Sock 9.Thread stoped [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:23]accept exits with 7 [19:14:23]New connection [19:14:23]New thread 3066793316 created [19:14:23]Thread 3066936676 joined [19:14:23]Waiting for new connection... [19:14:23] Sock 7.Parse request [19:14:23]Sock 7.Check first char [19:14:23]Sock 7.First char is OK [19:14:23]request: POST /json_proto HTTP/1.0 [19:14:23]Method: POST [19:14:23]URL: /json_proto [19:14:23]Method is POST - this is cgi request [19:14:23]url: /json_proto [19:14:23]query_string will be loaded in cgi processing [19:14:23]execute_cgi json_proto POST (null) [19:14:23]execute_cgi path=json_proto method=POST [19:14:23]POST find Content-Length [19:14:23]Host: 172.17.35.196:8080 [19:14:23]Content-Length: 683 [19:14:23]Content-Type: application/json [19:14:23] [19:14:23]POST finish read [19:14:23]Found Content-Length = 683 [19:14:23]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)5669811", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 74.40, "quantity" : 26.890, "sum" : 2000.62, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 2000.00, "total" : 2000.00, "payments": [ { "type": 0, "sum" : 2000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:14:23]execute_script... [19:14: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 : (1)5669811", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 74.40, "quantity" : 26.890, "sum" : 2000.62, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 2000.00, "total" : 2000.00, "payments": [ { "type": 0, "sum" : 2000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:14:23]POST & json_proto [19:14:23]process_json_proto [19:14:23]json parsed OK: [19:14:23]protocol is kg_v1.0 [19:14:23]action value=close_receipt [19:14:23]process_action close_receipt [19:14:23]cmd_close_receipt [19:14:23]MH_GetDate [19:14:23]Write to MH i2c: F0 00 00 FD 09 F5 [19:14:23]Write i2c OK [19:14:23]MH_I2C_Read... [19:14:23]Read from MH i2c: F0 [19:14:23]MH_I2C_Read... [19:14:23]Read from MH i2c: F0 09 00 [19:14:23]MH_I2C_Read... [19:14:23]Read from MH i2c: F0 09 00 FD 09 00 11 2F 90 66 AD 14 F4 65 4E [19:14:23]GetLastDocTimeStamp 1720725221 [19:14:23]current date 1720725265 [19:14:23]FM_GetShiftState [19:14:23]SAM_PROTO_GetShiftState [19:14:23]wFMCommunicate request_size=4 [19:14:23]MH_SAM_APDU [19:14:23]CAPDU: 80 13 01 00 [19:14:23]Write to MH i2c: E2 08 00 FE 09 80 13 01 00 00 00 00 00 84 [19:14:23]Write i2c OK [19:14:23]MH_I2C_Read... [19:14:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:14:23]Read from MH i2c: E2 [19:14:23]MH_I2C_Read... [19:14:23]Read from MH i2c: E2 0E 00 [19:14:23]MH_I2C_Read... [19:14:23]Read from MH i2c: E2 0E 00 FE 09 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 B5 [19:14:23]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [19:14:23]wFMCommunicate OK [19:14:23]SAM_PROTO_GetShiftState done [19:14:23]FM_GetShiftState done [19:14:23]opened in 1720656398 [19:14:23]opened+sec_in_day 1720742798 [19:14:23]quantity*price = 200061 [19:14:23]sum+1 = 200063 [19:14:23]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.62 ИТОГО: 2000.00 Внесено: 2000.00 СДАЧА: 0.00 НСП 1% : 17.70 НДС 12% : 212.45 Наличными: 2000.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 57 11.07.2024 19:14 Смена: 432 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33302 ФПД: 277709351285930 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T191425&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33302&fm=277709351285930&tin=02508201610067®Number=0000000000093033&sum=200000 [19:14:25]StoreToDocumentArchive [19:14:25]shift 432 fd 33302 [19:14:25]save to /storage/0432/doc_00033302 [19:14:25]save last doc name /storage/0432/doc_00033302 to /storage/kkm_last_doc_name [19:14:25]save OK [19:14:25]Clear old archive folders... [19:14:25]ProcessDocumentItem done err = 0, tmpTLVsize=251 [19:14:25]tlvbuf is 01C994D0 [19:14:25]SAM_PROTO_ClearQueue [19:14:25]wFMCommunicate request_size=4 [19:14:25]MH_SAM_APDU [19:14:25]CAPDU: 80 09 00 00 [19:14:25]Write to MH i2c: E2 08 00 0B 0A 80 09 00 00 00 00 00 00 87 [19:14:25]Write i2c OK [19:14:25]MH_I2C_Read... [19:14:25]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:14:25]Read from MH i2c: E2 [19:14:25]MH_I2C_Read... [19:14:25]Read from MH i2c: E2 03 00 [19:14:25]MH_I2C_Read... [19:14:25]Read from MH i2c: E2 03 00 0B 0A 00 90 00 89 [19:14:25]RAPDU: 90 00 [19:14:25]wFMCommunicate OK [19:14:25]SAM_PROTO_ClearQueue done [19:14:25]KKMCreateOFDPacket [19:14:25]OFDProtocolAddRootSTLVToBuf [19:14:25]FM_MakeSignedData [19:14:25]FM_MakeSignedData [19:14:25]SAM_PROTO_SignData [19:14:25]wFMCommunicate request_size=4 [19:14:25]MH_SAM_APDU [19:14:25]CAPDU: 80 0D 01 02 [19:14:25]Write to MH i2c: E2 08 00 0C 0A 80 0D 01 02 00 00 00 00 8F [19:14:25]Write i2c OK [19:14:25]MH_I2C_Read... [19:14:25]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:14:25]Read from MH i2c: E2 [19:14:25]MH_I2C_Read... [19:14:25]Read from MH i2c: E2 03 00 [19:14:25]MH_I2C_Read... [19:14:25]Read from MH i2c: E2 03 00 0C 0A 00 90 00 8A [19:14:25]RAPDU: 90 00 [19:14:25]wFMCommunicate OK [19:14:25]wFMCommunicate request_size=255 [19:14:25]MH_SAM_APDU [19:14:25]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 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 0A 69 00 00 00 00 00 37 04 06 00 10 1D 00 00 00 00 13 04 06 00 7E 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 39 00 00 00 F4 03 04 00 11 2F 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 16 82 00 00 35 04 06 00 FC [19:14:25]Write to MH i2c: E2 02 01 0D 0A 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 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 0A 69 00 00 00 00 00 37 04 06 00 10 1D 00 00 00 00 13 04 06 00 7E 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 39 00 00 00 F4 03 04 00 11 2F 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 16 82 00 00 35 04 06 00 FC 00 00 50 [19:14:25]Write i2c OK [19:14:25]MH_I2C_Read... [19:14:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:14:25]Read from MH i2c: E2 [19:14:25]MH_I2C_Read... [19:14:25]Read from MH i2c: E2 03 00 [19:14:25]MH_I2C_Read... [19:14:25]Read from MH i2c: E2 03 00 0D 0A 00 90 00 8B [19:14:25]RAPDU: 90 00 [19:14:25]wFMCommunicate OK [19:14:25]wFMCommunicate request_size=10 [19:14:25]MH_SAM_APDU [19:14:25]CAPDU: 80 0D 02 02 05 93 3F 3B F4 AA [19:14:25]Write to MH i2c: E2 0D 00 0E 0A 80 0D 02 02 05 00 93 3F 3B F4 AA 00 00 47 [19:14:25]Write i2c OK [19:14:25]MH_I2C_Read... [19:14:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:14:25]Read from MH i2c: E2 [19:14:25]MH_I2C_Read... [19:14:25]Read from MH i2c: E2 03 00 [19:14:25]MH_I2C_Read... [19:14:25]Read from MH i2c: E2 03 00 0E 0A 00 90 00 8C [19:14:25]RAPDU: 90 00 [19:14:25]wFMCommunicate OK [19:14:25]wFMCommunicate request_size=4 [19:14:25]MH_SAM_APDU [19:14:25]CAPDU: 80 0D 03 02 [19:14:25]Write to MH i2c: E2 08 00 0F 0A 80 0D 03 02 00 00 00 00 94 [19:14:25]Write i2c OK [19:14:25]MH_I2C_Read... [19:14:25]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:14:25]Read from MH i2c: E2 [19:14:25]MH_I2C_Read... [19:14:25]Read from MH i2c: E2 0B 00 [19:14:25]MH_I2C_Read... [19:14:25]Read from MH i2c: E2 0B 00 0F 0A 00 83 35 C1 22 94 B8 53 11 90 00 E0 [19:14:25]RAPDU: 83 35 C1 22 94 B8 53 11 90 00 [19:14:25]wFMCommunicate OK [19:14:25]SAM_PROTO_SignData done [19:14:25]FM_MakeSignedData done [19:14:25]CreateOFDProtocolMessage [19:14:25]wFMCommunicate request_size=4 [19:14:25]MH_SAM_APDU [19:14:25]CAPDU: 80 11 00 00 [19:14:25]Write to MH i2c: E2 08 00 10 0A 80 11 00 00 00 00 00 00 94 [19:14:25]Write i2c OK [19:14:25]MH_I2C_Read... [19:14:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:14:25]Read from MH i2c: E2 [19:14:25]MH_I2C_Read... [19:14:25]Read from MH i2c: E2 17 00 [19:14:25]MH_I2C_Read... [19:14:25]Read from MH i2c: E2 17 00 10 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 E0 [19:14:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [19:14:25]wFMCommunicate OK [19:14:25]CreateOFDProtocolMessage done [19:14:25]OFDSenderStorePacket 33302 [19:14:25]StoreOFDPacket docnum=33302 [19:14:25]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0F 01 00 00 3E 3D 07 01 0F CC 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 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 0A 69 00 00 00 00 00 37 04 06 00 10 1D 00 00 00 00 13 04 06 00 7E 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 39 00 00 00 F4 03 04 00 11 2F 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 16 82 00 00 35 04 06 00 FC 93 3F 3B F4 AA 83 35 C1 22 94 B8 53 11 [19:14:25]CheckFolder [19:14:25]dirname=/storage/ofd_packets [19:14:25]CheckFolder done [19:14:25]ProducePacketName [19:14:25]name=ofd_packets/00033302 [19:14:25]NVStorageSaveData ofd_packets/00033302 [19:14:25]File name is /storage/ofd_packets/00033302 [19:14:25]Write 301 bytes [19:14:25]NVStorageSaveData done [19:14:25]OFDSenderStorePacket done [19:14:25]KKMCreateOFDPacket done [19:14:25]NVStorageSaveData kkm_last_timestamp [19:14:25]File name is /storage/kkm_last_timestamp [19:14:25]Write 4 bytes [19:14:25]NVStorageSaveData done [19:14:25]ExternCall_PrintAddStr [19:14:25]wPrintStart [19:14:25]Write to MH i2c: 01 00 00 11 0A 1B [19:14:25]Write i2c OK [19:14:25]MH_I2C_Read... [19:14:25]Read from MH i2c: 01 [19:14:25]MH_I2C_Read... [19:14:25]Read from MH i2c: 01 07 00 [19:14:25]MH_I2C_Read... [19:14:25]Read from MH i2c: 01 07 00 11 0A 00 00 00 00 00 FF 0F 30 [19:14:25]RasterBufferAndPrint [19:14:25]line Счет N : (1)5669811 [19:14:25]line ИНН: 02508201610067 [19:14:25]line Контрольно-Кассовый Чек [19:14:25]line ПРОДАЖА [19:14:25]line ТРК (МРК, ГНК) : 22 [19:14:25]line Товар: 2710124500 [19:14:25]line Аи-95-К-5 [19:14:25]line 26.890 * 74.40 [19:14:25]line = 2000.62 [19:14:25]line НДС 12% НСП 1% [19:14:25]line > о реализуемом товаре [19:14:25]line ОКРУГЛЕНИЕ: -0.62 [19:14:25]line ИТОГО: 2000.00 [19:14:25]line Внесено: 2000.00 [19:14:25]line СДАЧА: 0.00 [19:14:25]line НСП 1% : 17.70 [19:14:25]line НДС 12% : 212.45 [19:14:25]line Наличными: 2000.00 [19:14:25]line Безнал.: 0.00 [19:14:25]line Место: АЗС № 77 "Партнер Нефть" [19:14:25]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [19:14:25]line СНО: Общий режим [19:14:25]line Чек 57 11.07.2024 19:14 [19:14:25]line Смена: 432 ФФД: 1.0 [19:14:25]line ЗНМ: 0300000122 [19:14:25]line РНМ: 0000000000093033 [19:14:25]line Версия ККМ: 001 [19:14:25]line ФМ: 0000000000875104 [19:14:25]line ФД: 33302 [19:14:25]line ФПД: 277709351285930 [19:14:26]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T191425&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33302&fm=277709351285930&tin=02508201610067®Number=0000000000093033&sum=200000 [19:14:26]OFD Sender: Processing packet 33302 [packets to send 6, broken 5] [19:14:26]ProducePacketName [19:14:26]name=ofd_packets/00033302 [19:14:26]OFD Sender: To server: pG, [19:14:26]CommunicateWithHost lk.salyk.kg:30040 [19:14:26]ConnectInit lk.salyk.kg [19:14:26]written 0, free lines is 4095 [19:14:26]Connected sock=10 [19:14:26]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0F 01 00 00 3E 3D 07 01 0F CC 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 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 0A 69 00 00 00 00 00 37 04 06 00 10 1D 00 00 00 00 13 04 06 00 7E 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 39 00 00 00 F4 03 04 00 11 2F 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 16 82 00 00 35 04 06 00 FC 93 3F 3B F4 AA 83 35 C1 22 94 B8 53 11 [19:14:26]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 70 8C 47 00 1E 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 35 31 30 34 10 04 04 00 16 82 00 00 F4 03 04 00 C0 D9 8F 66 B6 04 01 00 00 F7 BB 19 09 01 0C D4 EF [19:14:26]CommunicateWithHost err = 0 [19:14:26]CheckOFDResponse [19:14:26]1017 (14) - 77093643461234 [19:14:26]1041 (16) - 0000000000875104 [19:14:26]1040 (4) - 33302 [19:14:26]1012 (4) - 11.07.2024 13:10 [19:14:26]1206 (1) - 0 [19:14:26]OFD Sender: Remove packet 33302 [19:14:26]ProducePacketName [19:14:26]name=ofd_packets/00033302 [19:14:26]NVStorageDeleteData [19:14:26]Write to MH i2c: 01 00 00 3C 0A 46 [19:14:26]Write i2c OK [19:14:26]MH_I2C_Read... [19:14:26]Read from MH i2c: 01 [19:14:26]MH_I2C_Read... [19:14:26]Read from MH i2c: 01 07 00 [19:14:26]MH_I2C_Read... [19:14:26]Read from MH i2c: 01 07 00 3C 0A 00 00 00 00 00 DE 0C 37 [19:14:26]RasterBufferAndPrint [19:14:26]line [19:14:26]line [19:14:26]line [19:14:26]line [19:14:26]line [19:14:26]written 0, free lines is 3301 [19:14:26]MH_Cut [19:14:26]Write to MH i2c: D1 01 00 43 0A 01 1F [19:14:26]Write i2c OK [19:14:26]MH_I2C_Read... [19:14:26]Read from MH i2c: D1 [19:14:26]MH_I2C_Read... [19:14:26]Read from MH i2c: D1 01 00 [19:14:26]MH_I2C_Read... [19:14:26]Read from MH i2c: D1 01 00 43 0A 00 1E [19:14:26]Write to MH i2c: 01 00 00 44 0A 4E [19:14:26]Write i2c OK [19:14:26]MH_I2C_Read... [19:14:26]OFD Sender: No OFD packet to send [19:14:27]*** Cut start [19:14:27]*** Partial cut [19:14:27]*** CUTSNS_PIN = 1 [19:14:27]*** CUTSNS_PIN = 0 [19:14:27]*** Brake cut motor [19:14:27]Read from MH i2c: 01 [19:14:27]MH_I2C_Read... [19:14:27]*** Stop cut motor [19:14:27]*** Cut end [19:14:27]Read from MH i2c: 01 07 00 [19:14:27]MH_I2C_Read... [19:14:27]Read from MH i2c: 01 07 00 44 0A 00 00 00 00 00 FF 0F 63 [19:14:27]process_action close_receipt done [19:14:27]requested_data is exist [19:14:27]produce_requested_data [19:14:27]requested_item fm.sn is exist - process it [19:14:27]wFMCommunicate request_size=4 [19:14:27]MH_SAM_APDU [19:14:27]CAPDU: 80 11 00 00 [19:14:27]Write to MH i2c: E2 08 00 45 0A 80 11 00 00 00 00 00 00 C9 [19:14:27]Write i2c OK [19:14:27]MH_I2C_Read... [19:14:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:14:27]Read from MH i2c: E2 [19:14:27]MH_I2C_Read... [19:14:27]Read from MH i2c: E2 17 00 [19:14:27]MH_I2C_Read... [19:14:27]Read from MH i2c: E2 17 00 45 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 15 [19:14:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [19:14:27]wFMCommunicate OK [19:14:27]requested_item fd.num is exist - process it [19:14:27]SAM_PROTO_GetFieldsCounters [19:14:27]wFMCommunicate request_size=4 [19:14:27]MH_SAM_APDU [19:14:27]CAPDU: 80 13 00 00 [19:14:27]Write to MH i2c: E2 08 00 46 0A 80 13 00 00 00 00 00 00 CC [19:14:27]Write i2c OK [19:14:27]MH_I2C_Read... [19:14:28]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:14:28]Read from MH i2c: E2 [19:14:28]MH_I2C_Read... [19:14:28]Read from MH i2c: E2 62 00 [19:14:28]MH_I2C_Read... [19:14:28]Read from MH i2c: E2 62 00 46 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 16 82 00 00 0E 04 04 00 B0 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 D3 [19:14: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 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 16 82 00 00 0E 04 04 00 B0 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:14:28]wFMCommunicate OK [19:14:28]SAM_PROTO_GetFieldsCounters done [19:14:28]requested_item shift.num is exist - process it [19:14:28]requested_item shift.opened is exist - process it [19:14:28]req_shift_opened [19:14:28]FM_GetShiftState [19:14:28]SAM_PROTO_GetShiftState [19:14:28]wFMCommunicate request_size=4 [19:14:28]MH_SAM_APDU [19:14:28]CAPDU: 80 13 01 00 [19:14:28]Write to MH i2c: E2 08 00 47 0A 80 13 01 00 00 00 00 00 CE [19:14:28]Write i2c OK [19:14:28]MH_I2C_Read... [19:14:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:14:28]Read from MH i2c: E2 [19:14:28]MH_I2C_Read... [19:14:28]Read from MH i2c: E2 0E 00 [19:14:28]MH_I2C_Read... [19:14:28]Read from MH i2c: E2 0E 00 47 0A 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 FF [19:14:28]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [19:14:28]wFMCommunicate OK [19:14:28]SAM_PROTO_GetShiftState done [19:14:28]FM_GetShiftState done [19:14:28]req_shift_opened done [19:14:28]requested_item shift.open_date is exist - process it [19:14:28]req_shift_open_date [19:14:28]req_shift_open_date done [19:14:28]produce_requested_data done [19:14:28]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33302,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398} [19:14:28]process_action_free close_receipt [19:14:28]json_value_free [19:14:28]json_value_free done [19:14:28]process_json_proto returns [19:14:28]Send response to host [19:14:28]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33302,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398}}} [19:14:28]free response buf [19:14:28]execute_script done [19:14:28]execute_script returns [19:14:28]free content buf [19:14:28]Sock 7.Close socket [19:14:28]Sock 7.Thread stoped [19:14:31]OFD Sender: No OFD packet to send [19:14:36]OFD Sender: No OFD packet to send [19:14:39]accept exits with 9 [19:14:39]New connection [19:14:39]New thread 3066936676 created [19:14:39]Thread 3066793316 joined [19:14:39]Waiting for new connection... [19:14:39] Sock 9.Parse request [19:14:39]Sock 9.Check first char [19:14:39]Sock 9.First char is OK [19:14:39]request: POST /json_proto HTTP/1.0 [19:14:39]Method: POST [19:14:39]URL: /json_proto [19:14:39]Method is POST - this is cgi request [19:14:39]url: /json_proto [19:14:39]query_string will be loaded in cgi processing [19:14:39]execute_cgi json_proto POST (null) [19:14:39]execute_cgi path=json_proto method=POST [19:14:39]POST find Content-Length [19:14:39]Host: 172.17.35.196:8080 [19:14:39]Content-Length: 841 [19:14:39]Content-Type: application/json [19:14:39] [19:14:39]POST finish read [19:14:39]Found Content-Length = 841 [19:14:39]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)5669813", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 13", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.30, "quantity" : 7.550, "sum" : 500.57, "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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 500.57 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:14:39]execute_script... [19:14: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 : (1)5669813", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 13", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.30, "quantity" : 7.550, "sum" : 500.57, "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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 500.57 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:14:39]POST & json_proto [19:14:39]process_json_proto [19:14:39]json parsed OK: [19:14:39]protocol is kg_v1.0 [19:14:39]action value=close_receipt [19:14:39]process_action close_receipt [19:14:39]cmd_close_receipt [19:14:39]MH_GetDate [19:14:39]Write to MH i2c: F0 00 00 48 0A 41 [19:14:39]Write i2c OK [19:14:39]MH_I2C_Read... [19:14:39]Read from MH i2c: F0 [19:14:39]MH_I2C_Read... [19:14:39]Read from MH i2c: F0 09 00 [19:14:39]MH_I2C_Read... [19:14:39]Read from MH i2c: F0 09 00 48 0A 00 21 2F 90 66 AD 14 F4 65 AA [19:14:39]GetLastDocTimeStamp 1720725265 [19:14:39]current date 1720725281 [19:14:39]FM_GetShiftState [19:14:39]SAM_PROTO_GetShiftState [19:14:39]wFMCommunicate request_size=4 [19:14:39]MH_SAM_APDU [19:14:39]CAPDU: 80 13 01 00 [19:14:39]Write to MH i2c: E2 08 00 49 0A 80 13 01 00 00 00 00 00 D0 [19:14:39]Write i2c OK [19:14:39]MH_I2C_Read... [19:14:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:14:39]Read from MH i2c: E2 [19:14:39]MH_I2C_Read... [19:14:39]Read from MH i2c: E2 0E 00 [19:14:39]MH_I2C_Read... [19:14:39]Read from MH i2c: E2 0E 00 49 0A 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 01 [19:14:39]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [19:14:39]wFMCommunicate OK [19:14:39]SAM_PROTO_GetShiftState done [19:14:39]FM_GetShiftState done [19:14:39]opened in 1720656398 [19:14:39]opened+sec_in_day 1720742798 [19:14:39]quantity*price = 50056 [19:14:39]sum+1 = 50058 [19:14:39]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 500.57 НСП 1% : 4.43 НДС 12% : 53.16 Наличными: 0.00 Безнал.: 500.57 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 58 11.07.2024 19:14 Смена: 432 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000875104 ФД: 33303 ФПД: 254138251166929 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T191441&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33303&fm=254138251166929&tin=02508201610067®Number=0000000000093033&sum=50057 [19:14:40]StoreToDocumentArchive [19:14:40]shift 432 fd 33303 [19:14:40]save to /storage/0432/doc_00033303 [19:14:40]save last doc name /storage/0432/doc_00033303 to /storage/kkm_last_doc_name [19:14:40]save OK [19:14:40]Clear old archive folders... [19:14:40]ProcessDocumentItem done err = 0, tmpTLVsize=251 [19:14:40]tlvbuf is 01C99400 [19:14:40]SAM_PROTO_ClearQueue [19:14:40]wFMCommunicate request_size=4 [19:14:40]MH_SAM_APDU [19:14:40]CAPDU: 80 09 00 00 [19:14:40]Write to MH i2c: E2 08 00 56 0A 80 09 00 00 00 00 00 00 D2 [19:14:40]Write i2c OK [19:14:40]MH_I2C_Read... [19:14:40]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:14:40]Read from MH i2c: E2 [19:14:40]MH_I2C_Read... [19:14:40]Read from MH i2c: E2 03 00 [19:14:40]MH_I2C_Read... [19:14:40]Read from MH i2c: E2 03 00 56 0A 00 90 00 D4 [19:14:40]RAPDU: 90 00 [19:14:40]wFMCommunicate OK [19:14:40]SAM_PROTO_ClearQueue done [19:14:40]KKMCreateOFDPacket [19:14:40]OFDProtocolAddRootSTLVToBuf [19:14:40]FM_MakeSignedData [19:14:40]FM_MakeSignedData [19:14:40]SAM_PROTO_SignData [19:14:40]wFMCommunicate request_size=4 [19:14:40]MH_SAM_APDU [19:14:40]CAPDU: 80 0D 01 02 [19:14:40]Write to MH i2c: E2 08 00 57 0A 80 0D 01 02 00 00 00 00 DA [19:14:40]Write i2c OK [19:14:40]MH_I2C_Read... [19:14:40]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:14:40]Read from MH i2c: E2 [19:14:40]MH_I2C_Read... [19:14:40]Read from MH i2c: E2 03 00 [19:14:40]MH_I2C_Read... [19:14:40]Read from MH i2c: E2 03 00 57 0A 00 90 00 D5 [19:14:40]RAPDU: 90 00 [19:14:40]wFMCommunicate OK [19:14:40]wFMCommunicate request_size=255 [19:14:40]MH_SAM_APDU [19:14:40]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 7E 1D 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 89 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 89 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 89 C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 21 2F 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 17 82 00 00 35 04 06 00 E7 [19:14:40]Write to MH i2c: E2 02 01 58 0A 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 7E 1D 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 89 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 89 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 89 C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 21 2F 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 17 82 00 00 35 04 06 00 E7 00 00 99 [19:14:40]Write i2c OK [19:14:40]MH_I2C_Read... [19:14:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:14:41]Read from MH i2c: E2 [19:14:41]MH_I2C_Read... [19:14:41]Read from MH i2c: E2 03 00 [19:14:41]MH_I2C_Read... [19:14:41]Read from MH i2c: E2 03 00 58 0A 00 90 00 D6 [19:14:41]RAPDU: 90 00 [19:14:41]wFMCommunicate OK [19:14:41]wFMCommunicate request_size=10 [19:14:41]MH_SAM_APDU [19:14:41]CAPDU: 80 0D 02 02 05 23 2C 2F 44 D1 [19:14:41]Write to MH i2c: E2 0D 00 59 0A 80 0D 02 02 05 00 23 2C 2F 44 D1 00 00 7A [19:14:41]Write i2c OK [19:14:41]MH_I2C_Read... [19:14:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:14:41]Read from MH i2c: E2 [19:14:41]MH_I2C_Read... [19:14:41]Read from MH i2c: E2 03 00 [19:14:41]MH_I2C_Read... [19:14:41]Read from MH i2c: E2 03 00 59 0A 00 90 00 D7 [19:14:41]RAPDU: 90 00 [19:14:41]wFMCommunicate OK [19:14:41]wFMCommunicate request_size=4 [19:14:41]MH_SAM_APDU [19:14:41]CAPDU: 80 0D 03 02 [19:14:41]Write to MH i2c: E2 08 00 5A 0A 80 0D 03 02 00 00 00 00 DF [19:14:41]Write i2c OK [19:14:41]MH_I2C_Read... [19:14:41]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:14:41]Read from MH i2c: E2 [19:14:41]MH_I2C_Read... [19:14:41]Read from MH i2c: E2 0B 00 [19:14:41]MH_I2C_Read... [19:14:41]Read from MH i2c: E2 0B 00 5A 0A 00 8E 9E 84 B8 A0 9D EC 47 90 00 B8 [19:14:41]RAPDU: 8E 9E 84 B8 A0 9D EC 47 90 00 [19:14:41]wFMCommunicate OK [19:14:41]SAM_PROTO_SignData done [19:14:41]FM_MakeSignedData done [19:14:41]CreateOFDProtocolMessage [19:14:41]wFMCommunicate request_size=4 [19:14:41]MH_SAM_APDU [19:14:41]CAPDU: 80 11 00 00 [19:14:41]Write to MH i2c: E2 08 00 5B 0A 80 11 00 00 00 00 00 00 DF [19:14:41]Write i2c OK [19:14:41]MH_I2C_Read... [19:14:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:14:41]Read from MH i2c: E2 [19:14:41]MH_I2C_Read... [19:14:41]Read from MH i2c: E2 17 00 [19:14:41]MH_I2C_Read... [19:14:41]Read from MH i2c: E2 17 00 5B 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 2B [19:14:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [19:14:41]wFMCommunicate OK [19:14:41]CreateOFDProtocolMessage done [19:14:41]OFDSenderStorePacket 33303 [19:14:41]StoreOFDPacket docnum=33303 [19:14:41]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0F 01 00 00 D7 F9 07 01 C3 84 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 7E 1D 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 89 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 89 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 89 C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 21 2F 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 17 82 00 00 35 04 06 00 E7 23 2C 2F 44 D1 8E 9E 84 B8 A0 9D EC 47 [19:14:41]CheckFolder [19:14:41]dirname=/storage/ofd_packets [19:14:41]CheckFolder done [19:14:41]ProducePacketName [19:14:41]name=ofd_packets/00033303 [19:14:41]NVStorageSaveData ofd_packets/00033303 [19:14:41]File name is /storage/ofd_packets/00033303 [19:14:41]Write 301 bytes [19:14:41]NVStorageSaveData done [19:14:41]OFDSenderStorePacket done [19:14:41]KKMCreateOFDPacket done [19:14:41]NVStorageSaveData kkm_last_timestamp [19:14:41]File name is /storage/kkm_last_timestamp [19:14:41]Write 4 bytes [19:14:41]NVStorageSaveData done [19:14:41]ExternCall_PrintAddStr [19:14:41]wPrintStart [19:14:41]Write to MH i2c: 01 00 00 5C 0A 66 [19:14:41]Write i2c OK [19:14:41]MH_I2C_Read... [19:14:41]Read from MH i2c: 01 [19:14:41]MH_I2C_Read... [19:14:41]Read from MH i2c: 01 07 00 [19:14:41]MH_I2C_Read... [19:14:41]Read from MH i2c: 01 07 00 5C 0A 00 00 00 00 00 FF 0F 7B [19:14:41]RasterBufferAndPrint [19:14:41]line Счет N : (1)5669813 [19:14:41]line ИНН: 02508201610067 [19:14:41]line Контрольно-Кассовый Чек [19:14:41]line ПРОДАЖА [19:14:41]line ТРК (МРК, ГНК) : 13 [19:14:41]line Товар: 2710124130 [19:14:41]line Аи-92-К-5 [19:14:41]line 7.550 * 66.30 [19:14:41]line = 500.57 [19:14:41]line НДС 12% НСП 1% [19:14:41]line > о реализуемом товаре [19:14:41]line ИТОГО: 500.57 [19:14:41]line НСП 1% : 4.43 [19:14:41]line НДС 12% : 53.16 [19:14:41]line Наличными: 0.00 [19:14:41]line Безнал.: 500.57 [19:14:41]line Место: АЗС № 77 "Партнер Нефть" [19:14:41]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [19:14:41]line СНО: Общий режим [19:14:41]line Чек 58 11.07.2024 19:14 [19:14:41]line Смена: 432 ФФД: 1.0 [19:14:41]line ЗНМ: 0300000122 [19:14:41]line РНМ: 0000000000093033 [19:14:41]line Версия ККМ: 001 [19:14:41]line Платежная система: АКБ Кыргызстан [19:14:41]line ФМ: 0000000000875104 [19:14:41]line ФД: 33303 [19:14:41]line ФПД: 254138251166929 [19:14:41]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T191441&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33303&fm=254138251166929&tin=02508201610067®Number=0000000000093033&sum=50057 [19:14:41]written 0, free lines is 4095 [19:14:41]OFD Sender: Processing packet 33303 [packets to send 6, broken 5] [19:14:41]ProducePacketName [19:14:41]name=ofd_packets/00033303 [19:14:41]OFD Sender: To server: pG, [19:14:41]CommunicateWithHost lk.salyk.kg:30040 [19:14:41]ConnectInit lk.salyk.kg [19:14:41]Connected sock=10 [19:14:41]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0F 01 00 00 D7 F9 07 01 C3 84 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 7E 1D 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 89 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 89 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 89 C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 21 2F 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 17 82 00 00 35 04 06 00 E7 23 2C 2F 44 D1 8E 9E 84 B8 A0 9D EC 47 [19:14:41]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 4F 45 47 00 C2 A5 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 17 82 00 00 F4 03 04 00 D0 D9 8F 66 B6 04 01 00 00 07 C2 EF A5 DF FA 3E 4C [19:14:41]CommunicateWithHost err = 0 [19:14:41]CheckOFDResponse [19:14:41]1017 (14) - 77093643461234 [19:14:41]1041 (16) - 0000000000875104 [19:14:41]1040 (4) - 33303 [19:14:41]1012 (4) - 11.07.2024 13:10 [19:14:41]1206 (1) - 0 [19:14:41]OFD Sender: Remove packet 33303 [19:14:41]ProducePacketName [19:14:41]name=ofd_packets/00033303 [19:14:41]NVStorageDeleteData [19:14:41]Write to MH i2c: 01 00 00 86 0A 90 [19:14:41]Write i2c OK [19:14:41]MH_I2C_Read... [19:14:41]Read from MH i2c: 01 [19:14:41]MH_I2C_Read... [19:14:41]Read from MH i2c: 01 07 00 [19:14:41]MH_I2C_Read... [19:14:41]Read from MH i2c: 01 07 00 86 0A 00 00 00 00 00 EA 0C 8D [19:14:41]RasterBufferAndPrint [19:14:41]line [19:14:41]line [19:14:41]line [19:14:41]line [19:14:41]line [19:14:41]written 0, free lines is 3312 [19:14:42]MH_Cut [19:14:42]Write to MH i2c: D1 01 00 8D 0A 01 69 [19:14:42]Write i2c OK [19:14:42]MH_I2C_Read... [19:14:42]Read from MH i2c: D1 [19:14:42]MH_I2C_Read... [19:14:42]Read from MH i2c: D1 01 00 [19:14:42]MH_I2C_Read... [19:14:42]Read from MH i2c: D1 01 00 8D 0A 00 68 [19:14:42]Write to MH i2c: 01 00 00 8E 0A 98 [19:14:42]Write i2c OK [19:14:42]MH_I2C_Read... [19:14:42]OFD Sender: No OFD packet to send [19:14:42]*** Cut start [19:14:42]*** Partial cut [19:14:42]*** CUTSNS_PIN = 1 [19:14:42]*** CUTSNS_PIN = 0 [19:14:43]*** Brake cut motor [19:14:43]Read from MH i2c: 01 [19:14:43]MH_I2C_Read... [19:14:43]*** Stop cut motor [19:14:43]*** Cut end [19:14:43]Read from MH i2c: 01 07 00 [19:14:43]MH_I2C_Read... [19:14:43]Read from MH i2c: 01 07 00 8E 0A 00 00 00 00 00 FF 0F AD [19:14:43]process_action close_receipt done [19:14:43]requested_data is exist [19:14:43]produce_requested_data [19:14:43]requested_item fm.sn is exist - process it [19:14:43]wFMCommunicate request_size=4 [19:14:43]MH_SAM_APDU [19:14:43]CAPDU: 80 11 00 00 [19:14:43]Write to MH i2c: E2 08 00 8F 0A 80 11 00 00 00 00 00 00 13 [19:14:43]Write i2c OK [19:14:43]MH_I2C_Read... [19:14:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:14:43]Read from MH i2c: E2 [19:14:43]MH_I2C_Read... [19:14:43]Read from MH i2c: E2 17 00 [19:14:43]MH_I2C_Read... [19:14:43]Read from MH i2c: E2 17 00 8F 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 5F [19:14:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [19:14:43]wFMCommunicate OK [19:14:43]requested_item fd.num is exist - process it [19:14:43]SAM_PROTO_GetFieldsCounters [19:14:43]wFMCommunicate request_size=4 [19:14:43]MH_SAM_APDU [19:14:43]CAPDU: 80 13 00 00 [19:14:43]Write to MH i2c: E2 08 00 90 0A 80 13 00 00 00 00 00 00 16 [19:14:43]Write i2c OK [19:14:43]MH_I2C_Read... [19:14:43]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:14:43]Read from MH i2c: E2 [19:14:43]MH_I2C_Read... [19:14:43]Read from MH i2c: E2 62 00 [19:14:43]MH_I2C_Read... [19:14:43]Read from MH i2c: E2 62 00 90 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 17 82 00 00 0E 04 04 00 B0 01 00 00 12 04 04 00 3A 00 00 00 5E 04 04 00 3A 00 00 00 57 04 04 00 3B 00 00 00 19 04 04 00 00 00 00 00 90 00 21 [19:14: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 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 17 82 00 00 0E 04 04 00 B0 01 00 00 12 04 04 00 3A 00 00 00 5E 04 04 00 3A 00 00 00 57 04 04 00 3B 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:14:43]wFMCommunicate OK [19:14:43]SAM_PROTO_GetFieldsCounters done [19:14:43]requested_item shift.num is exist - process it [19:14:43]requested_item shift.opened is exist - process it [19:14:43]req_shift_opened [19:14:43]FM_GetShiftState [19:14:43]SAM_PROTO_GetShiftState [19:14:43]wFMCommunicate request_size=4 [19:14:43]MH_SAM_APDU [19:14:43]CAPDU: 80 13 01 00 [19:14:43]Write to MH i2c: E2 08 00 91 0A 80 13 01 00 00 00 00 00 18 [19:14:43]Write i2c OK [19:14:43]MH_I2C_Read... [19:14:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:14:43]Read from MH i2c: E2 [19:14:43]MH_I2C_Read... [19:14:43]Read from MH i2c: E2 0E 00 [19:14:43]MH_I2C_Read... [19:14:43]Read from MH i2c: E2 0E 00 91 0A 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 49 [19:14:43]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [19:14:43]wFMCommunicate OK [19:14:43]SAM_PROTO_GetShiftState done [19:14:43]FM_GetShiftState done [19:14:43]req_shift_opened done [19:14:43]requested_item shift.open_date is exist - process it [19:14:43]req_shift_open_date [19:14:43]req_shift_open_date done [19:14:43]produce_requested_data done [19:14:43]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33303,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398} [19:14:43]process_action_free close_receipt [19:14:43]json_value_free [19:14:43]json_value_free done [19:14:43]process_json_proto returns [19:14:43]Send response to host [19:14:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33303,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398}}} [19:14:43]free response buf [19:14:43]execute_script done [19:14:43]execute_script returns [19:14:43]free content buf [19:14:43]Sock 9.Close socket [19:14:43]Sock 9.Thread stoped [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:29]accept exits with 7 [19:16:29]New connection [19:16:29]New thread 3066793316 created [19:16:29]Thread 3066936676 joined [19:16:29]Waiting for new connection... [19:16:29] Sock 7.Parse request [19:16:29]Sock 7.Check first char [19:16:29]Sock 7.First char is OK [19:16:29]request: POST /json_proto HTTP/1.0 [19:16:29]Method: POST [19:16:29]URL: /json_proto [19:16:29]Method is POST - this is cgi request [19:16:29]url: /json_proto [19:16:29]query_string will be loaded in cgi processing [19:16:29]execute_cgi json_proto POST (null) [19:16:29]execute_cgi path=json_proto method=POST [19:16:29]POST find Content-Length [19:16:29]Host: 172.17.35.196:8080 [19:16:29]Content-Length: 1213 [19:16:29]Content-Type: application/json [19:16:29] [19:16:29]POST finish read [19:16:29]Found Content-Length = 1213 [19:16:29]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169130", "tax_sys" : 0, "items" : [ { "code": "2000032710015", "name": "\u0421\u043E\u0447\u043D\u0438\u043A DC \u0442\u0432\u043E\u0440\u043E\u0433 75\u0433", "price" : 35.00, "quantity" : 1.000, "sum" : 35.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000032760017", "name": "\u0421\u043B\u043E\u0439\u043A\u0430 DC \u0442\u0440\u0435\u0443\u0433\u043E\u043B\u044C\u043D\u0430\u044F \u043C\u044F\u0441\u043E110\u0433", "price" : 65.00, "quantity" : 1.000, "sum" : 65.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 215.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:16:29]execute_script... [19:16:29]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169130", "tax_sys" : 0, "items" : [ { "code": "2000032710015", "name": "\u0421\u043E\u0447\u043D\u0438\u043A DC \u0442\u0432\u043E\u0440\u043E\u0433 75\u0433", "price" : 35.00, "quantity" : 1.000, "sum" : 35.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000032760017", "name": "\u0421\u043B\u043E\u0439\u043A\u0430 DC \u0442\u0440\u0435\u0443\u0433\u043E\u043B\u044C\u043D\u0430\u044F \u043C\u044F\u0441\u043E110\u0433", "price" : 65.00, "quantity" : 1.000, "sum" : 65.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 215.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:16:29]POST & json_proto [19:16:29]process_json_proto [19:16:29]json parsed OK: [19:16:29]protocol is kg_v1.0 [19:16:29]action value=close_receipt [19:16:29]process_action close_receipt [19:16:29]cmd_close_receipt [19:16:29]MH_GetDate [19:16:29]Write to MH i2c: F0 00 00 92 0A 8B [19:16:29]Write i2c OK [19:16:29]MH_I2C_Read... [19:16:29]Read from MH i2c: F0 [19:16:29]MH_I2C_Read... [19:16:29]Read from MH i2c: F0 09 00 [19:16:29]MH_I2C_Read... [19:16:29]Read from MH i2c: F0 09 00 92 0A 00 8F 2F 90 66 AD 14 F4 65 62 [19:16:29]GetLastDocTimeStamp 1720725281 [19:16:29]current date 1720725391 [19:16:29]FM_GetShiftState [19:16:29]SAM_PROTO_GetShiftState [19:16:29]wFMCommunicate request_size=4 [19:16:29]MH_SAM_APDU [19:16:29]CAPDU: 80 13 01 00 [19:16:29]Write to MH i2c: E2 08 00 93 0A 80 13 01 00 00 00 00 00 1A [19:16:29]Write i2c OK [19:16:29]MH_I2C_Read... [19:16:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:16:29]Read from MH i2c: E2 [19:16:29]MH_I2C_Read... [19:16:29]Read from MH i2c: E2 0E 00 [19:16:29]MH_I2C_Read... [19:16:29]Read from MH i2c: E2 0E 00 93 0A 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 4B [19:16:29]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [19:16:29]wFMCommunicate OK [19:16:29]SAM_PROTO_GetShiftState done [19:16:29]FM_GetShiftState done [19:16:29]opened in 1720656398 [19:16:29]opened+sec_in_day 1720742798 [19:16:29]quantity*price = 3500 [19:16:29]sum+1 = 3501 [19:16:29]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000036210013 Кофе Капучино (GABB TRADE) 1.000 * 115.00 = 115.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 2000032760017 Слойка DC треугольная мясо110г 1.000 * 65.00 = 65.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 215.00 НСП 1% : 1.90 НДС 12% : 22.83 Наличными: 215.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 59 11.07.2024 19:16 Смена: 432 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33304 ФПД: 196596552186447 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T191631&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33304&fm=196596552186447&tin=02508201610067®Number=0000000000093033&sum=21500 0 [19:16:30]StoreToDocumentArchive [19:16:30]shift 432 fd 33304 [19:16:30]save to /storage/0432/doc_00033304 [19:16:30]save last doc name /storage/0432/doc_00033304 to /storage/kkm_last_doc_name [19:16:30]save OK [19:16:30]Clear old archive folders... [19:16:30]ProcessDocumentItem done err = 0, tmpTLVsize=509 [19:16:30]tlvbuf is 01C539D0 [19:16:30]SAM_PROTO_ClearQueue [19:16:30]wFMCommunicate request_size=4 [19:16:30]MH_SAM_APDU [19:16:30]CAPDU: 80 09 00 00 [19:16:30]Write to MH i2c: E2 08 00 A0 0A 80 09 00 00 00 00 00 00 1C [19:16:30]Write i2c OK [19:16:30]MH_I2C_Read... [19:16:30]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:16:30]Read from MH i2c: E2 [19:16:30]MH_I2C_Read... [19:16:30]Read from MH i2c: E2 03 00 [19:16:30]MH_I2C_Read... [19:16:30]Read from MH i2c: E2 03 00 A0 0A 00 90 00 1E [19:16:30]RAPDU: 90 00 [19:16:30]wFMCommunicate OK [19:16:30]SAM_PROTO_ClearQueue done [19:16:30]KKMCreateOFDPacket [19:16:30]OFDProtocolAddRootSTLVToBuf [19:16:30]FM_MakeSignedData [19:16:30]FM_MakeSignedData [19:16:30]SAM_PROTO_SignData [19:16:30]wFMCommunicate request_size=4 [19:16:30]MH_SAM_APDU [19:16:30]CAPDU: 80 0D 01 02 [19:16:30]Write to MH i2c: E2 08 00 A1 0A 80 0D 01 02 00 00 00 00 24 [19:16:30]Write i2c OK [19:16:30]MH_I2C_Read... [19:16:30]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:16:30]Read from MH i2c: E2 [19:16:30]MH_I2C_Read... [19:16:30]Read from MH i2c: E2 03 00 [19:16:30]MH_I2C_Read... [19:16:30]Read from MH i2c: E2 03 00 A1 0A 00 90 00 1F [19:16:30]RAPDU: 90 00 [19:16:30]wFMCommunicate OK [19:16:30]wFMCommunicate request_size=255 [19:16:30]MH_SAM_APDU [19:16:30]CAPDU: 80 0D 02 02 FA 03 00 FD 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 32 30 30 30 30 33 32 37 31 30 30 31 35 06 04 21 00 D0 A1 D0 BE D1 87 D0 BD D0 B8 D0 BA 20 44 43 20 D1 82 D0 B2 D0 BE D1 80 D0 BE D0 B3 20 37 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 32 30 30 30 30 33 32 37 36 30 30 31 37 06 04 34 00 D0 [19:16:31]Write to MH i2c: E2 02 01 A2 0A 80 0D 02 02 FA 00 03 00 FD 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 32 30 30 30 30 33 32 37 31 30 30 31 35 06 04 21 00 D0 A1 D0 BE D1 87 D0 BD D0 B8 D0 BA 20 44 43 20 D1 82 D0 B2 D0 BE D1 80 D0 BE D0 B3 20 37 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 32 30 30 30 30 33 32 37 36 30 30 31 37 06 04 34 00 D0 00 00 D7 [19:16:31]Write i2c OK [19:16:31]MH_I2C_Read... [19:16:31]*** iso7816_exchange 80 0D 02 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 A2 0A 00 90 00 20 [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 A1 D0 BB D0 BE D0 B9 D0 BA D0 B0 20 44 43 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 31 31 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 53 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BE 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EB 08 00 00 00 00 07 04 06 00 FC 53 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 8F 2F 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 18 [19:16:31]Write to MH i2c: E2 02 01 A3 0A 80 0D 02 02 FA 00 A1 D0 BB D0 BE D0 B9 D0 BA D0 B0 20 44 43 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 31 31 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 53 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BE 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EB 08 00 00 00 00 07 04 06 00 FC 53 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 8F 2F 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 18 00 00 14 [19:16:31]Write i2c OK [19:16:31]MH_I2C_Read... [19:16:31]*** iso7816_exchange 80 0D 02 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 A3 0A 00 90 00 21 [19:16:31]RAPDU: 90 00 [19:16:31]wFMCommunicate OK [19:16:31]wFMCommunicate request_size=18 [19:16:31]MH_SAM_APDU [19:16:31]CAPDU: 80 0D 02 02 0D 82 00 00 35 04 06 00 B2 CD B3 A8 3A 4F [19:16:31]Write to MH i2c: E2 15 00 A4 0A 80 0D 02 02 0D 00 82 00 00 35 04 06 00 B2 CD B3 A8 3A 4F 00 00 66 [19:16:31]Write i2c OK [19:16:31]MH_I2C_Read... [19:16:31]*** iso7816_exchange 80 0D 02 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 A4 0A 00 90 00 22 [19:16:31]RAPDU: 90 00 [19:16:31]wFMCommunicate OK [19:16:31]wFMCommunicate request_size=4 [19:16:31]MH_SAM_APDU [19:16:31]CAPDU: 80 0D 03 02 [19:16:31]Write to MH i2c: E2 08 00 A5 0A 80 0D 03 02 00 00 00 00 2A [19:16:31]Write i2c OK [19:16:31]MH_I2C_Read... [19:16:31]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:16:31]Read from MH i2c: E2 [19:16:31]MH_I2C_Read... [19:16:31]Read from MH i2c: E2 0B 00 [19:16:31]MH_I2C_Read... [19:16:31]Read from MH i2c: E2 0B 00 A5 0A 00 15 55 2E 9E 9C E4 1B 50 90 00 4C [19:16:31]RAPDU: 15 55 2E 9E 9C E4 1B 50 90 00 [19:16:31]wFMCommunicate OK [19:16:31]SAM_PROTO_SignData done [19:16:31]FM_MakeSignedData done [19:16:31]CreateOFDProtocolMessage [19:16:31]wFMCommunicate request_size=4 [19:16:31]MH_SAM_APDU [19:16:31]CAPDU: 80 11 00 00 [19:16:31]Write to MH i2c: E2 08 00 A6 0A 80 11 00 00 00 00 00 00 2A [19:16:31]Write i2c OK [19:16:31]MH_I2C_Read... [19:16:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:16:31]Read from MH i2c: E2 [19:16:31]MH_I2C_Read... [19:16:31]Read from MH i2c: E2 17 00 [19:16:31]MH_I2C_Read... [19:16:31]Read from MH i2c: E2 17 00 A6 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 76 [19:16:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [19:16:31]wFMCommunicate OK [19:16:31]CreateOFDProtocolMessage done [19:16:31]OFDSenderStorePacket 33304 [19:16:31]StoreOFDPacket docnum=33304 [19:16:31]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 11 02 00 00 A5 82 09 02 D7 83 5A 03 01 00 03 00 FD 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 32 30 30 30 30 33 32 37 31 30 30 31 35 06 04 21 00 D0 A1 D0 BE D1 87 D0 BD D0 B8 D0 BA 20 44 43 20 D1 82 D0 B2 D0 BE D1 80 D0 BE D0 B3 20 37 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 32 30 30 30 30 33 32 37 36 30 30 31 37 06 04 34 00 D0 A1 D0 BB D0 BE D0 B9 D0 BA D0 B0 20 44 43 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 31 31 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 53 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BE 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EB 08 00 00 00 00 07 04 06 00 FC 53 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 8F 2F 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 18 82 00 00 35 04 06 00 B2 CD B3 A8 3A 4F 15 55 2E 9E 9C E4 1B 50 [19:16:31]CheckFolder [19:16:31]dirname=/storage/ofd_packets [19:16:31]CheckFolder done [19:16:31]ProducePacketName [19:16:31]name=ofd_packets/00033304 [19:16:31]NVStorageSaveData ofd_packets/00033304 [19:16:31]File name is /storage/ofd_packets/00033304 [19:16:31]Write 559 bytes [19:16:31]NVStorageSaveData done [19:16:31]OFDSenderStorePacket done [19:16:31]KKMCreateOFDPacket done [19:16:31]NVStorageSaveData kkm_last_timestamp [19:16:31]File name is /storage/kkm_last_timestamp [19:16:31]Write 4 bytes [19:16:31]NVStorageSaveData done [19:16:31]ExternCall_PrintAddStr [19:16:31]wPrintStart [19:16:31]Write to MH i2c: 01 00 00 A7 0A B1 [19:16:31]Write i2c OK [19:16:31]MH_I2C_Read... [19:16:31]Read from MH i2c: 01 [19:16:31]MH_I2C_Read... [19:16:31]Read from MH i2c: 01 07 00 [19:16:31]MH_I2C_Read... [19:16:31]Read from MH i2c: 01 07 00 A7 0A 00 00 00 00 00 FF 0F C6 [19:16:31]RasterBufferAndPrint [19:16:31]line Счет N : (3)169130 [19:16:31]line ИНН: 02508201610067 [19:16:31]line Контрольно-Кассовый Чек [19:16:31]line ПРОДАЖА [19:16:31]line Товар: 2000032710015 [19:16:31]line Сочник DC творог 75г [19:16:31]line 1.000 * 35.00 [19:16:31]line = 35.00 [19:16:31]line НДС 12% НСП 1% [19:16:31]line > о реализуемом товаре [19:16:31]line Товар: 2000036210013 [19:16:31]line Кофе Капучино (GABB TRADE) [19:16:31]line 1.000 * 115.00 [19:16:31]line = 115.00 [19:16:31]line НДС 12% НСП 1% [19:16:31]line > о реализуемом товаре [19:16:31]line Товар: 2000032760017 [19:16:31]line Слойка DC треугольная мясо110г [19:16:31]line 1.000 * 65.00 [19:16:31]line = 65.00 [19:16:31]line НДС 12% НСП 1% [19:16:31]line > о реализуемом товаре [19:16:31]line ИТОГО: 215.00 [19:16:31]line НСП 1% : 1.90 [19:16:31]line НДС 12% : 22.83 [19:16:31]line Наличными: 215.00 [19:16:31]line Безнал.: 0.00 [19:16:31]line Место: АЗС № 77 "Партнер Нефть" [19:16:31]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [19:16:31]line СНО: Общий режим [19:16:31]line Чек 59 11.07.2024 19:16 [19:16:31]line Смена: 432 ФФД: 1.0 [19:16:31]line ЗНМ: 0300000122 [19:16:31]line РНМ: 0000000000093033 [19:16:31]line Версия ККМ: 001 [19:16:31]line ФМ: 0000000000875104 [19:16:31]line ФД: 33304 [19:16:31]line ФПД: 196596552186447 [19:16:32]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T191631&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33304&fm=196596552186447&tin=02508201610067®Number=0000000000093033&sum=21500 [19:16:32]line 0 [19:16:32]OFD Sender: Processing packet 33304 [packets to send 6, broken 5] [19:16:32]ProducePacketName [19:16:32]name=ofd_packets/00033304 [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 35 31 30 34 11 02 00 00 A5 82 09 02 D7 83 5A 03 01 00 03 00 FD 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 32 30 30 30 30 33 32 37 31 30 30 31 35 06 04 21 00 D0 A1 D0 BE D1 87 D0 BD D0 B8 D0 BA 20 44 43 20 D1 82 D0 B2 D0 BE D1 80 D0 BE D0 B3 20 37 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 32 30 30 30 30 33 32 37 36 30 30 31 37 06 04 34 00 D0 A1 D0 BB D0 BE D0 B9 D0 BA D0 B0 20 44 43 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 31 31 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 53 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BE 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EB 08 00 00 00 00 07 04 06 00 FC 53 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 8F 2F 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 18 82 00 00 35 04 06 00 B2 CD B3 A8 3A 4F 15 55 2E 9E 9C E4 1B 50 [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 35 31 30 34 4F 00 00 00 C2 73 47 00 DB 74 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 18 82 00 00 F4 03 04 00 3F DA 8F 66 B6 04 01 00 00 4C B6 35 7C 86 31 68 CC [19:16:32]CommunicateWithHost err = 0 [19:16:32]CheckOFDResponse [19:16:32]1017 (14) - 77093643461234 [19:16:32]1041 (16) - 0000000000875104 [19:16:32]1040 (4) - 33304 [19:16:32]1012 (4) - 11.07.2024 13:12 [19:16:32]1206 (1) - 0 [19:16:32]OFD Sender: Remove packet 33304 [19:16:32]ProducePacketName [19:16:32]name=ofd_packets/00033304 [19:16:32]NVStorageDeleteData [19:16:32]Write to MH i2c: 01 00 00 DC 0A E6 [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 DC 0A 00 00 00 00 00 4D 0C 46 [19:16:32]RasterBufferAndPrint [19:16:32]line [19:16:32]line [19:16:32]line [19:16:32]line [19:16:32]line [19:16:32]written 0, free lines is 3155 [19:16:32]MH_Cut [19:16:32]Write to MH i2c: D1 01 00 E3 0A 01 BF [19:16:32]Write i2c OK [19:16:32]MH_I2C_Read... [19:16:32]Read from MH i2c: D1 [19:16:32]MH_I2C_Read... [19:16:32]Read from MH i2c: D1 01 00 [19:16:32]MH_I2C_Read... [19:16:32]Read from MH i2c: D1 01 00 E3 0A 00 BE [19:16:32]Write to MH i2c: 01 00 00 E4 0A EE [19:16:32]Write i2c OK [19:16:32]MH_I2C_Read... [19:16:32]OFD Sender: No OFD packet to send [19:16:33]*** Cut start [19:16:33]*** Partial cut [19:16:33]*** CUTSNS_PIN = 1 [19:16:33]*** CUTSNS_PIN = 0 [19:16:33]*** Brake cut motor [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 E4 0A 00 00 00 00 00 FF 0F 03 [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 E5 0A 80 11 00 00 00 00 00 00 69 [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 E5 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 B5 [19:16:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 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 E6 0A 80 13 00 00 00 00 00 00 6C [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 E6 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 18 82 00 00 0E 04 04 00 B0 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 7B [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 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 18 82 00 00 0E 04 04 00 B0 01 00 00 12 04 04 00 3B 00 00 00 5E 04 04 00 3B 00 00 00 57 04 04 00 3C 00 00 00 19 04 04 00 00 00 00 00 90 00 [19: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 E7 0A 80 13 01 00 00 00 00 00 6E [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 E7 0A 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 9F [19:16:34]RAPDU: 09 00 01 0E 22 8F 66 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":"0000000000875104","fd.num":33304,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398} [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":"0000000000875104","fd.num":33304,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398}}} [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:50]accept exits with 9 [19:16:50]New connection [19:16:50]New thread 3066936676 created [19:16:50]Thread 3066793316 joined [19:16:50]Waiting for new connection... [19:16:50] Sock 9.Parse request [19:16:50]Sock 9.Check first char [19:16:50]Sock 9.First char is OK [19:16:50]request: POST /json_proto HTTP/1.0 [19:16:50]Method: POST [19:16:50]URL: /json_proto [19:16:50]Method is POST - this is cgi request [19:16:50]url: /json_proto [19:16:50]query_string will be loaded in cgi processing [19:16:50]execute_cgi json_proto POST (null) [19:16:50]execute_cgi path=json_proto method=POST [19:16:50]POST find Content-Length [19:16:50]Host: 172.17.35.196:8080 [19:16:50]Content-Length: 709 [19:16:50]Content-Type: application/json [19:16:50] [19:16:50]POST finish read [19:16:50]Found Content-Length = 709 [19:16:50]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169131", "tax_sys" : 0, "items" : [ { "code": "4870112003956", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A ALBENI SUPER \u0410\u043B\u044C\u0431\u0435\u043D\u0438 \u0421\u0443\u043F\u0435\u0440", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 75.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:16:50]execute_script... [19:16: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)169131", "tax_sys" : 0, "items" : [ { "code": "4870112003956", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A ALBENI SUPER \u0410\u043B\u044C\u0431\u0435\u043D\u0438 \u0421\u0443\u043F\u0435\u0440", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 75.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:16:50]POST & json_proto [19:16:50]process_json_proto [19:16:50]json parsed OK: [19:16:50]protocol is kg_v1.0 [19:16:50]action value=close_receipt [19:16:50]process_action close_receipt [19:16:50]cmd_close_receipt [19:16:50]MH_GetDate [19:16:50]Write to MH i2c: F0 00 00 E8 0A E1 [19:16:50]Write i2c OK [19:16:50]MH_I2C_Read... [19:16:50]Read from MH i2c: F0 [19:16:50]MH_I2C_Read... [19:16:50]Read from MH i2c: F0 09 00 [19:16:50]MH_I2C_Read... [19:16:50]Read from MH i2c: F0 09 00 E8 0A 00 A3 2F 90 66 AD 14 F4 65 CC [19:16:50]GetLastDocTimeStamp 1720725391 [19:16:50]current date 1720725411 [19:16:50]FM_GetShiftState [19:16:50]SAM_PROTO_GetShiftState [19:16:50]wFMCommunicate request_size=4 [19:16:50]MH_SAM_APDU [19:16:50]CAPDU: 80 13 01 00 [19:16:50]Write to MH i2c: E2 08 00 E9 0A 80 13 01 00 00 00 00 00 70 [19:16:50]Write i2c OK [19:16:50]MH_I2C_Read... [19:16:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:16:50]Read from MH i2c: E2 [19:16:50]MH_I2C_Read... [19:16:50]Read from MH i2c: E2 0E 00 [19:16:50]MH_I2C_Read... [19:16:50]Read from MH i2c: E2 0E 00 E9 0A 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 A1 [19:16:50]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [19:16:50]wFMCommunicate OK [19:16:50]SAM_PROTO_GetShiftState done [19:16:50]FM_GetShiftState done [19:16:50]opened in 1720656398 [19:16:50]opened+sec_in_day 1720742798 [19:16:50]quantity*price = 7500 [19:16:50]sum+1 = 7501 [19:16:50]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 75.00 НСП 1% : 0.66 НДС 12% : 7.96 Наличными: 75.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 60 11.07.2024 19:16 Смена: 432 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33305 ФПД: 32132910332979 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T191651&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33305&fm=32132910332979&tin=02508201610067®Number=0000000000093033&sum=7500 0 [19:16:51]StoreToDocumentArchive [19:16:51]shift 432 fd 33305 [19:16:51]save to /storage/0432/doc_00033305 [19:16:51]save last doc name /storage/0432/doc_00033305 to /storage/kkm_last_doc_name [19:16:51]save OK [19:16:51]Clear old archive folders... [19:16:51]ProcessDocumentItem done err = 0, tmpTLVsize=304 [19:16:51]tlvbuf is 01C50450 [19:16:51]SAM_PROTO_ClearQueue [19:16:51]wFMCommunicate request_size=4 [19:16:51]MH_SAM_APDU [19:16:51]CAPDU: 80 09 00 00 [19:16:51]Write to MH i2c: E2 08 00 F6 0A 80 09 00 00 00 00 00 00 72 [19:16:51]Write i2c OK [19:16:51]MH_I2C_Read... [19:16:51]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:16:51]Read from MH i2c: E2 [19:16:51]MH_I2C_Read... [19:16:51]Read from MH i2c: E2 03 00 [19:16:51]MH_I2C_Read... [19:16:51]Read from MH i2c: E2 03 00 F6 0A 00 90 00 74 [19:16:51]RAPDU: 90 00 [19:16:51]wFMCommunicate OK [19:16:51]SAM_PROTO_ClearQueue done [19:16:51]KKMCreateOFDPacket [19:16:51]OFDProtocolAddRootSTLVToBuf [19:16:51]FM_MakeSignedData [19:16:51]FM_MakeSignedData [19:16:51]SAM_PROTO_SignData [19:16:51]wFMCommunicate request_size=4 [19:16:51]MH_SAM_APDU [19:16:51]CAPDU: 80 0D 01 02 [19:16:51]Write to MH i2c: E2 08 00 F7 0A 80 0D 01 02 00 00 00 00 7A [19:16:51]Write i2c OK [19:16:51]MH_I2C_Read... [19:16:51]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:16:51]Read from MH i2c: E2 [19:16:51]MH_I2C_Read... [19:16:51]Read from MH i2c: E2 03 00 [19:16:51]MH_I2C_Read... [19:16:51]Read from MH i2c: E2 03 00 F7 0A 00 90 00 75 [19:16:51]RAPDU: 90 00 [19:16:51]wFMCommunicate OK [19:16:51]wFMCommunicate request_size=255 [19:16:51]MH_SAM_APDU [19:16:51]CAPDU: 80 0D 02 02 FA 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 35 36 06 04 3E 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 41 4C 42 45 4E 49 20 53 55 50 45 52 20 D0 90 D0 BB D1 8C D0 B1 D0 B5 D0 BD D0 B8 20 D0 A1 D1 83 D0 BF D0 B5 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 3C 00 00 00 F4 03 04 00 A3 2F 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 [19:16:51]Write to MH i2c: E2 02 01 F8 0A 80 0D 02 02 FA 00 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 35 36 06 04 3E 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 41 4C 42 45 4E 49 20 53 55 50 45 52 20 D0 90 D0 BB D1 8C D0 B1 D0 B5 D0 BD D0 B8 20 D0 A1 D1 83 D0 BF D0 B5 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 3C 00 00 00 F4 03 04 00 A3 2F 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 00 00 F3 [19:16:51]Write i2c OK [19:16:51]MH_I2C_Read... [19:16:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:16:51]Read from MH i2c: E2 [19:16:51]MH_I2C_Read... [19:16:51]Read from MH i2c: E2 03 00 [19:16:51]MH_I2C_Read... [19:16:51]Read from MH i2c: E2 03 00 F8 0A 00 90 00 76 [19:16:51]RAPDU: 90 00 [19:16:51]wFMCommunicate OK [19:16:51]wFMCommunicate request_size=63 [19:16:51]MH_SAM_APDU [19:16:51]CAPDU: 80 0D 02 02 3A 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 19 82 00 00 35 04 06 00 1D 39 86 B4 BC 33 [19:16:51]Write to MH i2c: E2 42 00 F9 0A 80 0D 02 02 3A 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 19 82 00 00 35 04 06 00 1D 39 86 B4 BC 33 00 00 D3 [19:16:51]Write i2c OK [19:16:51]MH_I2C_Read... [19:16:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:16:51]Read from MH i2c: E2 [19:16:51]MH_I2C_Read... [19:16:51]Read from MH i2c: E2 03 00 [19:16:51]MH_I2C_Read... [19:16:51]Read from MH i2c: E2 03 00 F9 0A 00 90 00 77 [19:16:51]RAPDU: 90 00 [19:16:51]wFMCommunicate OK [19:16:51]wFMCommunicate request_size=4 [19:16:51]MH_SAM_APDU [19:16:51]CAPDU: 80 0D 03 02 [19:16:51]Write to MH i2c: E2 08 00 FA 0A 80 0D 03 02 00 00 00 00 7F [19:16:51]Write i2c OK [19:16:51]MH_I2C_Read... [19:16:51]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:16:51]Read from MH i2c: E2 [19:16:51]MH_I2C_Read... [19:16:51]Read from MH i2c: E2 0B 00 [19:16:51]MH_I2C_Read... [19:16:51]Read from MH i2c: E2 0B 00 FA 0A 00 28 7A CD 31 19 D5 9F D2 90 00 7F [19:16:51]RAPDU: 28 7A CD 31 19 D5 9F D2 90 00 [19:16:51]wFMCommunicate OK [19:16:51]SAM_PROTO_SignData done [19:16:51]FM_MakeSignedData done [19:16:51]CreateOFDProtocolMessage [19:16:51]wFMCommunicate request_size=4 [19:16:51]MH_SAM_APDU [19:16:51]CAPDU: 80 11 00 00 [19:16:51]Write to MH i2c: E2 08 00 FB 0A 80 11 00 00 00 00 00 00 7F [19:16:51]Write i2c OK [19:16:51]MH_I2C_Read... [19:16:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:16:51]Read from MH i2c: E2 [19:16:51]MH_I2C_Read... [19:16:51]Read from MH i2c: E2 17 00 [19:16:51]MH_I2C_Read... [19:16:51]Read from MH i2c: E2 17 00 FB 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 CB [19:16:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [19:16:51]wFMCommunicate OK [19:16:51]CreateOFDProtocolMessage done [19:16:51]OFDSenderStorePacket 33305 [19:16:51]StoreOFDPacket docnum=33305 [19:16:51]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 44 01 00 00 92 8F 3C 01 7D 5D 5A 03 01 00 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 35 36 06 04 3E 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 41 4C 42 45 4E 49 20 53 55 50 45 52 20 D0 90 D0 BB D1 8C D0 B1 D0 B5 D0 BD D0 B8 20 D0 A1 D1 83 D0 BF D0 B5 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 3C 00 00 00 F4 03 04 00 A3 2F 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 19 82 00 00 35 04 06 00 1D 39 86 B4 BC 33 28 7A CD 31 19 D5 9F D2 [19:16:51]CheckFolder [19:16:51]dirname=/storage/ofd_packets [19:16:51]CheckFolder done [19:16:51]ProducePacketName [19:16:51]name=ofd_packets/00033305 [19:16:51]NVStorageSaveData ofd_packets/00033305 [19:16:51]File name is /storage/ofd_packets/00033305 [19:16:51]Write 354 bytes [19:16:51]NVStorageSaveData done [19:16:51]OFDSenderStorePacket done [19:16:51]KKMCreateOFDPacket done [19:16:51]NVStorageSaveData kkm_last_timestamp [19:16:51]File name is /storage/kkm_last_timestamp [19:16:51]Write 4 bytes [19:16:51]NVStorageSaveData done [19:16:51]ExternCall_PrintAddStr [19:16:51]wPrintStart [19:16:51]Write to MH i2c: 01 00 00 FC 0A 06 [19:16:51]Write i2c OK [19:16:51]MH_I2C_Read... [19:16:51]Read from MH i2c: 01 [19:16:51]MH_I2C_Read... [19:16:51]Read from MH i2c: 01 07 00 [19:16:51]MH_I2C_Read... [19:16:51]Read from MH i2c: 01 07 00 FC 0A 00 00 00 00 00 FF 0F 1B [19:16:51]RasterBufferAndPrint [19:16:51]line Счет N : (3)169131 [19:16:51]line ИНН: 02508201610067 [19:16:51]line Контрольно-Кассовый Чек [19:16:51]line ПРОДАЖА [19:16:51]line Товар: 4870112003956 [19:16:51]line Шок батончик ALBENI SUPER Альбени Супер [19:16:51]line 1.000 * 75.00 [19:16:51]line = 75.00 [19:16:51]line НДС 12% НСП 1% [19:16:51]line > о реализуемом товаре [19:16:51]line ИТОГО: 75.00 [19:16:51]line НСП 1% : 0.66 [19:16:51]line НДС 12% : 7.96 [19:16:51]line Наличными: 75.00 [19:16:51]line Безнал.: 0.00 [19:16:51]line Место: АЗС № 77 "Партнер Нефть" [19:16:51]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [19:16:51]line СНО: Общий режим [19:16:51]line Чек 60 11.07.2024 19:16 [19:16:51]line Смена: 432 ФФД: 1.0 [19:16:51]line ЗНМ: 0300000122 [19:16:51]line РНМ: 0000000000093033 [19:16:51]line Версия ККМ: 001 [19:16:51]line ФМ: 0000000000875104 [19:16:51]line ФД: 33305 [19:16:51]line ФПД: 32132910332979 [19:16:52]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T191651&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33305&fm=32132910332979&tin=02508201610067®Number=0000000000093033&sum=7500 [19:16:52]line 0 [19:16:52]OFD Sender: Processing packet 33305 [packets to send 6, broken 5] [19:16:52]ProducePacketName [19:16:52]name=ofd_packets/00033305 [19:16:52]OFD Sender: To server: pG, [19:16:52]CommunicateWithHost lk.salyk.kg:30040 [19:16:52]ConnectInit lk.salyk.kg [19:16:52]written 0, free lines is 4095 [19:16:52]Connected sock=10 [19:16:52]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 44 01 00 00 92 8F 3C 01 7D 5D 5A 03 01 00 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 35 36 06 04 3E 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 41 4C 42 45 4E 49 20 53 55 50 45 52 20 D0 90 D0 BB D1 8C D0 B1 D0 B5 D0 BD D0 B8 20 D0 A1 D1 83 D0 BF D0 B5 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 3C 00 00 00 F4 03 04 00 A3 2F 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 19 82 00 00 35 04 06 00 1D 39 86 B4 BC 33 28 7A CD 31 19 D5 9F D2 [19:16:52]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 FE C1 47 00 FF 10 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 19 82 00 00 F4 03 04 00 53 DA 8F 66 B6 04 01 00 00 69 4A B5 67 D2 36 2B C7 [19:16:52]CommunicateWithHost err = 0 [19:16:52]CheckOFDResponse [19:16:52]1017 (14) - 77093643461234 [19:16:52]1041 (16) - 0000000000875104 [19:16:52]1040 (4) - 33305 [19:16:52]1012 (4) - 11.07.2024 13:12 [19:16:52]1206 (1) - 0 [19:16:52]OFD Sender: Remove packet 33305 [19:16:52]ProducePacketName [19:16:52]name=ofd_packets/00033305 [19:16:52]NVStorageDeleteData [19:16:52]Write to MH i2c: 01 00 00 25 0B 30 [19:16:52]Write i2c OK [19:16:52]MH_I2C_Read... [19:16:52]Read from MH i2c: 01 [19:16:52]MH_I2C_Read... [19:16:52]Read from MH i2c: 01 07 00 [19:16:52]MH_I2C_Read... [19:16:52]Read from MH i2c: 01 07 00 25 0B 00 00 00 00 00 D5 0C 18 [19:16:52]RasterBufferAndPrint [19:16:52]line [19:16:52]line [19:16:52]line [19:16:52]line [19:16:52]line [19:16:52]written 0, free lines is 3294 [19:16:52]MH_Cut [19:16:52]Write to MH i2c: D1 01 00 2C 0B 01 09 [19:16:52]Write i2c OK [19:16:52]MH_I2C_Read... [19:16:52]Read from MH i2c: D1 [19:16:52]MH_I2C_Read... [19:16:52]Read from MH i2c: D1 01 00 [19:16:52]MH_I2C_Read... [19:16:52]Read from MH i2c: D1 01 00 2C 0B 00 08 [19:16:52]Write to MH i2c: 01 00 00 2D 0B 38 [19:16:52]Write i2c OK [19:16:52]MH_I2C_Read... [19:16:53]OFD Sender: No OFD packet to send [19:16:53]*** Cut start [19:16:53]*** Partial cut [19:16:53]*** CUTSNS_PIN = 1 [19:16:53]*** CUTSNS_PIN = 0 [19:16:53]*** Brake cut motor [19:16:53]Read from MH i2c: 01 [19:16:54]MH_I2C_Read... [19:16:54]*** Stop cut motor [19:16:54]*** Cut end [19:16:54]Read from MH i2c: 01 07 00 [19:16:54]MH_I2C_Read... [19:16:54]Read from MH i2c: 01 07 00 2D 0B 00 00 00 00 00 FF 0F 4D [19:16:54]process_action close_receipt done [19:16:54]requested_data is exist [19:16:54]produce_requested_data [19:16:54]requested_item fm.sn is exist - process it [19:16:54]wFMCommunicate request_size=4 [19:16:54]MH_SAM_APDU [19:16:54]CAPDU: 80 11 00 00 [19:16:54]Write to MH i2c: E2 08 00 2E 0B 80 11 00 00 00 00 00 00 B3 [19:16:54]Write i2c OK [19:16:54]MH_I2C_Read... [19:16:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:16:54]Read from MH i2c: E2 [19:16:54]MH_I2C_Read... [19:16:54]Read from MH i2c: E2 17 00 [19:16:54]MH_I2C_Read... [19:16:54]Read from MH i2c: E2 17 00 2E 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 FF [19:16:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [19:16:54]wFMCommunicate OK [19:16:54]requested_item fd.num is exist - process it [19:16:54]SAM_PROTO_GetFieldsCounters [19:16:54]wFMCommunicate request_size=4 [19:16:54]MH_SAM_APDU [19:16:54]CAPDU: 80 13 00 00 [19:16:54]Write to MH i2c: E2 08 00 2F 0B 80 13 00 00 00 00 00 00 B6 [19:16:54]Write i2c OK [19:16:54]MH_I2C_Read... [19:16:54]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:16:54]Read from MH i2c: E2 [19:16:54]MH_I2C_Read... [19:16:54]Read from MH i2c: E2 62 00 [19:16:54]MH_I2C_Read... [19:16:54]Read from MH i2c: E2 62 00 2F 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 19 82 00 00 0E 04 04 00 B0 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 C9 [19:16: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 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 19 82 00 00 0E 04 04 00 B0 01 00 00 12 04 04 00 3C 00 00 00 5E 04 04 00 3C 00 00 00 57 04 04 00 3D 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:16:54]wFMCommunicate OK [19:16:54]SAM_PROTO_GetFieldsCounters done [19:16:54]requested_item shift.num is exist - process it [19:16:54]requested_item shift.opened is exist - process it [19:16:54]req_shift_opened [19:16:54]FM_GetShiftState [19:16:54]SAM_PROTO_GetShiftState [19:16:54]wFMCommunicate request_size=4 [19:16:54]MH_SAM_APDU [19:16:54]CAPDU: 80 13 01 00 [19:16:54]Write to MH i2c: E2 08 00 30 0B 80 13 01 00 00 00 00 00 B8 [19:16:54]Write i2c OK [19:16:54]MH_I2C_Read... [19:16:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:16:54]Read from MH i2c: E2 [19:16:54]MH_I2C_Read... [19:16:54]Read from MH i2c: E2 0E 00 [19:16:54]MH_I2C_Read... [19:16:54]Read from MH i2c: E2 0E 00 30 0B 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 E9 [19:16:54]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [19:16:54]wFMCommunicate OK [19:16:54]SAM_PROTO_GetShiftState done [19:16:54]FM_GetShiftState done [19:16:54]req_shift_opened done [19:16:54]requested_item shift.open_date is exist - process it [19:16:54]req_shift_open_date [19:16:54]req_shift_open_date done [19:16:54]produce_requested_data done [19:16:54]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33305,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398} [19:16:54]process_action_free close_receipt [19:16:54]json_value_free [19:16:54]json_value_free done [19:16:54]process_json_proto returns [19:16:54]Send response to host [19:16:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33305,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398}}} [19:16:54]free response buf [19:16:54]execute_script done [19:16:54]execute_script returns [19:16:54]free content buf [19:16:54]Sock 9.Close socket [19:16:54]Sock 9.Thread stoped [19:16:58]OFD Sender: No OFD packet to send [19:17:03]OFD Sender: No OFD packet to send [19:17:08]OFD Sender: No OFD packet to send [19:17:13]OFD Sender: No OFD packet to send [19:17:18]OFD Sender: No OFD packet to send [19:17:23]OFD Sender: No OFD packet to send [19:17:28]OFD Sender: No OFD packet to send [19:17:33]OFD Sender: No OFD packet to send [19:17:38]OFD Sender: No OFD packet to send [19:17:43]OFD Sender: No OFD packet to send [19:17:48]OFD Sender: No OFD packet to send [19:17:53]OFD Sender: No OFD packet to send [19:17:58]OFD Sender: No OFD packet to send [19:18:03]OFD Sender: No OFD packet to send [19:18:08]OFD Sender: No OFD packet to send [19:18:13]OFD Sender: No OFD packet to send [19:18:18]OFD Sender: No OFD packet to send [19:18:23]OFD Sender: No OFD packet to send [19:18:28]OFD Sender: No OFD packet to send [19:18:33]OFD Sender: No OFD packet to send [19:18:38]OFD Sender: No OFD packet to send [19:18:43]OFD Sender: No OFD packet to send [19:18:48]OFD Sender: No OFD packet to send [19:18:53]OFD Sender: No OFD packet to send [19:18:58]OFD Sender: No OFD packet to send [19:19:03]OFD Sender: No OFD packet to send [19:19:08]OFD Sender: No OFD packet to send [19:19:13]OFD Sender: No OFD packet to send [19:19:18]OFD Sender: No OFD packet to send [19:19:23]OFD Sender: No OFD packet to send [19:19:28]OFD Sender: No OFD packet to send [19:19:33]OFD Sender: No OFD packet to send [19:19:38]OFD Sender: No OFD packet to send [19:19:43]OFD Sender: No OFD packet to send [19:19:48]OFD Sender: No OFD packet to send [19:19:53]OFD Sender: No OFD packet to send [19:19:58]OFD Sender: No OFD packet to send [19:20:03]OFD Sender: No OFD packet to send [19:20:08]OFD Sender: No OFD packet to send [19:20:13]OFD Sender: No OFD packet to send [19:20:18]OFD Sender: No OFD packet to send [19:20:23]OFD Sender: No OFD packet to send [19:20:28]OFD Sender: No OFD packet to send [19:20:33]OFD Sender: No OFD packet to send [19:20:38]OFD Sender: No OFD packet to send [19:20:43]OFD Sender: No OFD packet to send [19:20:48]OFD Sender: No OFD packet to send [19:20:53]OFD Sender: No OFD packet to send [19:20:58]OFD Sender: No OFD packet to send [19:21:03]OFD Sender: No OFD packet to send [19:21:08]OFD Sender: No OFD packet to send [19:21:13]OFD Sender: No OFD packet to send [19:21:18]OFD Sender: No OFD packet to send [19:21:23]OFD Sender: No OFD packet to send [19:21:28]OFD Sender: No OFD packet to send [19:21:33]OFD Sender: No OFD packet to send [19:21:38]OFD Sender: No OFD packet to send [19:21:43]OFD Sender: No OFD packet to send [19:21:48]OFD Sender: No OFD packet to send [19:21:53]OFD Sender: No OFD packet to send [19:21:58]OFD Sender: No OFD packet to send [19:22:03]OFD Sender: No OFD packet to send [19:22:08]OFD Sender: No OFD packet to send [19:22:13]OFD Sender: No OFD packet to send [19:22:18]OFD Sender: No OFD packet to send [19:22:23]OFD Sender: No OFD packet to send [19:22:28]OFD Sender: No OFD packet to send [19:22:33]OFD Sender: No OFD packet to send [19:22:38]OFD Sender: No OFD packet to send [19:22:43]OFD Sender: No OFD packet to send [19:22:48]OFD Sender: No OFD packet to send [19:22:53]OFD Sender: No OFD packet to send [19:22:58]OFD Sender: No OFD packet to send [19:23:03]OFD Sender: No OFD packet to send [19:23:08]OFD Sender: No OFD packet to send [19:23:13]OFD Sender: No OFD packet to send [19:23:18]OFD Sender: No OFD packet to send [19:23:23]OFD Sender: No OFD packet to send [19:23:28]OFD Sender: No OFD packet to send [19:23:33]OFD Sender: No OFD packet to send [19:23:38]OFD Sender: No OFD packet to send [19:23:43]OFD Sender: No OFD packet to send [19:23:48]OFD Sender: No OFD packet to send [19:23:53]OFD Sender: No OFD packet to send [19:23:58]OFD Sender: No OFD packet to send [19:24:03]OFD Sender: No OFD packet to send [19:24:08]OFD Sender: No OFD packet to send [19:24:13]OFD Sender: No OFD packet to send [19:24:18]OFD Sender: No OFD packet to send [19:24:23]OFD Sender: No OFD packet to send [19:24:28]OFD Sender: No OFD packet to send [19:24:33]OFD Sender: No OFD packet to send [19:24:38]OFD Sender: No OFD packet to send [19:24:43]OFD Sender: No OFD packet to send [19:24:48]OFD Sender: No OFD packet to send [19:24:53]OFD Sender: No OFD packet to send [19:24:58]OFD Sender: No OFD packet to send [19:25:03]OFD Sender: No OFD packet to send [19:25:08]OFD Sender: No OFD packet to send [19:25:13]OFD Sender: No OFD packet to send [19:25:18]OFD Sender: No OFD packet to send [19:25:23]OFD Sender: No OFD packet to send [19:25:28]OFD Sender: No OFD packet to send [19:25:33]OFD Sender: No OFD packet to send [19:25:38]OFD Sender: No OFD packet to send [19:25:43]OFD Sender: No OFD packet to send [19:25:48]OFD Sender: No OFD packet to send [19:25:53]OFD Sender: No OFD packet to send [19:25:58]OFD Sender: No OFD packet to send [19:26:03]OFD Sender: No OFD packet to send [19:26:08]OFD Sender: No OFD packet to send [19:26:13]OFD Sender: No OFD packet to send [19:26:18]OFD Sender: No OFD packet to send [19:26:23]OFD Sender: No OFD packet to send [19:26:28]OFD Sender: No OFD packet to send [19:26:33]OFD Sender: No OFD packet to send [19:26:38]OFD Sender: No OFD packet to send [19:26:43]OFD Sender: No OFD packet to send [19:26:48]OFD Sender: No OFD packet to send [19:26:53]OFD Sender: No OFD packet to send [19:26:58]OFD Sender: No OFD packet to send [19:27:03]OFD Sender: No OFD packet to send [19:27:08]OFD Sender: No OFD packet to send [19:27:13]OFD Sender: No OFD packet to send [19:27:18]OFD Sender: No OFD packet to send [19:27:23]OFD Sender: No OFD packet to send [19:27:28]OFD Sender: No OFD packet to send [19:27:33]OFD Sender: No OFD packet to send [19:27:38]OFD Sender: No OFD packet to send [19:27:43]OFD Sender: No OFD packet to send [19:27:48]OFD Sender: No OFD packet to send [19:27:53]OFD Sender: No OFD packet to send [19:27:58]OFD Sender: No OFD packet to send [19:28:03]OFD Sender: No OFD packet to send [19:28:08]OFD Sender: No OFD packet to send [19:28:13]OFD Sender: No OFD packet to send [19:28:18]OFD Sender: No OFD packet to send [19:28:23]OFD Sender: No OFD packet to send [19:28:28]OFD Sender: No OFD packet to send [19:28:33]OFD Sender: No OFD packet to send [19:28:38]OFD Sender: No OFD packet to send [19:28:43]OFD Sender: No OFD packet to send [19:28:48]OFD Sender: No OFD packet to send [19:28:53]OFD Sender: No OFD packet to send [19:28:58]OFD Sender: No OFD packet to send [19:29:03]OFD Sender: No OFD packet to send [19:29:08]OFD Sender: No OFD packet to send [19:29:13]OFD Sender: No OFD packet to send [19:29:18]OFD Sender: No OFD packet to send [19:29:23]OFD Sender: No OFD packet to send [19:29:28]OFD Sender: No OFD packet to send [19:29:33]OFD Sender: No OFD packet to send [19:29:38]OFD Sender: No OFD packet to send [19:29:43]OFD Sender: No OFD packet to send [19:29:48]OFD Sender: No OFD packet to send [19:29:53]OFD Sender: No OFD packet to send [19:29:58]OFD Sender: No OFD packet to send [19:30:03]OFD Sender: No OFD packet to send [19:30:08]OFD Sender: No OFD packet to send [19:30:13]OFD Sender: No OFD packet to send [19:30:18]OFD Sender: No OFD packet to send [19:30:23]OFD Sender: No OFD packet to send [19:30:28]OFD Sender: No OFD packet to send [19:30:33]OFD Sender: No OFD packet to send [19:30:38]OFD Sender: No OFD packet to send [19:30:43]OFD Sender: No OFD packet to send [19:30:48]OFD Sender: No OFD packet to send [19:30:53]OFD Sender: No OFD packet to send [19:30:58]OFD Sender: No OFD packet to send [19:31:03]OFD Sender: No OFD packet to send [19:31:08]OFD Sender: No OFD packet to send [19:31:13]OFD Sender: No OFD packet to send [19:31:18]OFD Sender: No OFD packet to send [19:31:23]OFD Sender: No OFD packet to send [19:31:28]OFD Sender: No OFD packet to send [19:31:33]OFD Sender: No OFD packet to send [19:31:38]OFD Sender: No OFD packet to send [19:31:43]OFD Sender: No OFD packet to send [19:31:48]OFD Sender: No OFD packet to send [19:31:53]OFD Sender: No OFD packet to send [19:31:58]OFD Sender: No OFD packet to send [19:32:03]OFD Sender: No OFD packet to send [19:32:08]OFD Sender: No OFD packet to send [19:32:13]OFD Sender: No OFD packet to send [19:32:18]OFD Sender: No OFD packet to send [19:32:23]OFD Sender: No OFD packet to send [19:32:28]OFD Sender: No OFD packet to send [19:32:33]OFD Sender: No OFD packet to send [19:32:38]OFD Sender: No OFD packet to send [19:32:43]OFD Sender: No OFD packet to send [19:32:48]OFD Sender: No OFD packet to send [19:32:53]OFD Sender: No OFD packet to send [19:32:58]OFD Sender: No OFD packet to send [19:33:03]OFD Sender: No OFD packet to send [19:33:08]OFD Sender: No OFD packet to send [19:33:13]OFD Sender: No OFD packet to send [19:33:18]OFD Sender: No OFD packet to send [19:33:23]OFD Sender: No OFD packet to send [19:33:28]OFD Sender: No OFD packet to send [19:33:33]OFD Sender: No OFD packet to send [19:33:38]OFD Sender: No OFD packet to send [19:33:43]OFD Sender: No OFD packet to send [19:33:48]OFD Sender: No OFD packet to send [19:33:53]OFD Sender: No OFD packet to send [19:33:58]OFD Sender: No OFD packet to send [19:34:03]OFD Sender: No OFD packet to send [19:34:08]OFD Sender: No OFD packet to send [19:34:13]OFD Sender: No OFD packet to send [19:34:18]OFD Sender: No OFD packet to send [19:34:23]OFD Sender: No OFD packet to send [19:34:28]OFD Sender: No OFD packet to send [19:34:33]OFD Sender: No OFD packet to send [19:34:38]OFD Sender: No OFD packet to send [19:34:43]OFD Sender: No OFD packet to send [19:34:48]OFD Sender: No OFD packet to send [19:34:53]OFD Sender: No OFD packet to send [19:34:58]OFD Sender: No OFD packet to send [19:35:03]OFD Sender: No OFD packet to send [19:35:08]OFD Sender: No OFD packet to send [19:35:13]OFD Sender: No OFD packet to send [19:35:18]OFD Sender: No OFD packet to send [19:35:23]OFD Sender: No OFD packet to send [19:35:28]OFD Sender: No OFD packet to send [19:35:33]OFD Sender: No OFD packet to send [19:35:38]OFD Sender: No OFD packet to send [19:35:43]OFD Sender: No OFD packet to send [19:35:48]OFD Sender: No OFD packet to send [19:35:53]OFD Sender: No OFD packet to send [19:35:58]OFD Sender: No OFD packet to send [19:36:03]OFD Sender: No OFD packet to send [19:36:08]OFD Sender: No OFD packet to send [19:36:13]OFD Sender: No OFD packet to send [19:36:18]OFD Sender: No OFD packet to send [19:36:23]OFD Sender: No OFD packet to send [19:36:28]OFD Sender: No OFD packet to send [19:36:33]OFD Sender: No OFD packet to send [19:36:38]OFD Sender: No OFD packet to send [19:36:43]OFD Sender: No OFD packet to send [19:36:48]OFD Sender: No OFD packet to send [19:36:53]OFD Sender: No OFD packet to send [19:36:58]OFD Sender: No OFD packet to send [19:37:03]OFD Sender: No OFD packet to send [19:37:08]OFD Sender: No OFD packet to send [19:37:13]OFD Sender: No OFD packet to send [19:37:18]OFD Sender: No OFD packet to send [19:37:23]OFD Sender: No OFD packet to send [19:37:28]OFD Sender: No OFD packet to send [19:37:33]OFD Sender: No OFD packet to send [19:37:38]OFD Sender: No OFD packet to send [19:37:43]OFD Sender: No OFD packet to send [19:37:48]OFD Sender: No OFD packet to send [19:37:53]OFD Sender: No OFD packet to send [19:37:58]OFD Sender: No OFD packet to send [19:38:03]OFD Sender: No OFD packet to send [19:38:08]OFD Sender: No OFD packet to send [19:38:14]OFD Sender: No OFD packet to send [19:38:19]OFD Sender: No OFD packet to send [19:38:24]OFD Sender: No OFD packet to send [19:38:29]OFD Sender: No OFD packet to send [19:38:34]OFD Sender: No OFD packet to send [19:38:39]OFD Sender: No OFD packet to send [19:38:44]OFD Sender: No OFD packet to send [19:38:49]OFD Sender: No OFD packet to send [19:38:54]OFD Sender: No OFD packet to send [19:38:59]OFD Sender: No OFD packet to send [19:39:04]OFD Sender: No OFD packet to send [19:39:09]OFD Sender: No OFD packet to send [19:39:14]OFD Sender: No OFD packet to send [19:39:19]OFD Sender: No OFD packet to send [19:39:24]OFD Sender: No OFD packet to send [19:39:29]OFD Sender: No OFD packet to send [19:39:34]OFD Sender: No OFD packet to send [19:39:39]OFD Sender: No OFD packet to send [19:39:44]OFD Sender: No OFD packet to send [19:39:49]OFD Sender: No OFD packet to send [19:39:54]OFD Sender: No OFD packet to send [19:39:59]OFD Sender: No OFD packet to send [19:40:04]OFD Sender: No OFD packet to send [19:40:09]OFD Sender: No OFD packet to send [19:40:14]OFD Sender: No OFD packet to send [19:40:19]OFD Sender: No OFD packet to send [19:40:24]OFD Sender: No OFD packet to send [19:40:29]OFD Sender: No OFD packet to send [19:40:34]OFD Sender: No OFD packet to send [19:40:39]OFD Sender: No OFD packet to send [19:40:44]OFD Sender: No OFD packet to send [19:40:49]OFD Sender: No OFD packet to send [19:40:54]OFD Sender: No OFD packet to send [19:40:59]OFD Sender: No OFD packet to send [19:41:04]OFD Sender: No OFD packet to send [19:41:09]OFD Sender: No OFD packet to send [19:41:14]OFD Sender: No OFD packet to send [19:41:19]OFD Sender: No OFD packet to send [19:41:24]OFD Sender: No OFD packet to send [19:41:29]OFD Sender: No OFD packet to send [19:41:34]OFD Sender: No OFD packet to send [19:41:39]OFD Sender: No OFD packet to send [19:41:44]OFD Sender: No OFD packet to send [19:41:49]OFD Sender: No OFD packet to send [19:41:54]OFD Sender: No OFD packet to send [19:41:59]OFD Sender: No OFD packet to send [19:42:04]OFD Sender: No OFD packet to send [19:42:09]OFD Sender: No OFD packet to send [19:42:14]OFD Sender: No OFD packet to send [19:42:19]OFD Sender: No OFD packet to send [19:42:24]OFD Sender: No OFD packet to send [19:42:29]OFD Sender: No OFD packet to send [19:42:34]OFD Sender: No OFD packet to send [19:42:39]OFD Sender: No OFD packet to send [19:42:44]OFD Sender: No OFD packet to send [19:42:49]OFD Sender: No OFD packet to send [19:42:54]OFD Sender: No OFD packet to send [19:42:59]OFD Sender: No OFD packet to send [19:43:04]OFD Sender: No OFD packet to send [19:43:09]OFD Sender: No OFD packet to send [19:43:14]OFD Sender: No OFD packet to send [19:43:19]OFD Sender: No OFD packet to send [19:43:24]OFD Sender: No OFD packet to send [19:43:29]OFD Sender: No OFD packet to send [19:43:34]OFD Sender: No OFD packet to send [19:43:39]OFD Sender: No OFD packet to send [19:43:44]OFD Sender: No OFD packet to send [19:43:49]OFD Sender: No OFD packet to send [19:43:54]OFD Sender: No OFD packet to send [19:43:59]OFD Sender: No OFD packet to send [19:44:04]OFD Sender: No OFD packet to send [19:44:09]OFD Sender: No OFD packet to send [19:44:14]OFD Sender: No OFD packet to send [19:44:19]OFD Sender: No OFD packet to send [19:44:24]OFD Sender: No OFD packet to send [19:44:29]OFD Sender: No OFD packet to send [19:44:34]OFD Sender: No OFD packet to send [19:44:39]OFD Sender: No OFD packet to send [19:44:44]OFD Sender: No OFD packet to send [19:44:49]OFD Sender: No OFD packet to send [19:44:54]OFD Sender: No OFD packet to send [19:44:59]OFD Sender: No OFD packet to send [19:45:04]OFD Sender: No OFD packet to send [19:45:09]OFD Sender: No OFD packet to send [19:45:14]OFD Sender: No OFD packet to send [19:45:19]OFD Sender: No OFD packet to send [19:45:24]OFD Sender: No OFD packet to send [19:45:29]OFD Sender: No OFD packet to send [19:45:34]OFD Sender: No OFD packet to send [19:45:39]OFD Sender: No OFD packet to send [19:45:44]OFD Sender: No OFD packet to send [19:45:49]OFD Sender: No OFD packet to send [19:45:54]OFD Sender: No OFD packet to send [19:45:59]OFD Sender: No OFD packet to send [19:46:04]OFD Sender: No OFD packet to send [19:46:09]OFD Sender: No OFD packet to send [19:46:14]OFD Sender: No OFD packet to send [19:46:19]OFD Sender: No OFD packet to send [19:46:24]OFD Sender: No OFD packet to send [19:46:29]OFD Sender: No OFD packet to send [19:46:34]OFD Sender: No OFD packet to send [19:46:39]OFD Sender: No OFD packet to send [19:46:44]OFD Sender: No OFD packet to send [19:46:49]OFD Sender: No OFD packet to send [19:46:54]OFD Sender: No OFD packet to send [19:46:59]OFD Sender: No OFD packet to send [19:47:04]OFD Sender: No OFD packet to send [19:47:09]OFD Sender: No OFD packet to send [19:47:14]OFD Sender: No OFD packet to send [19:47:19]OFD Sender: No OFD packet to send [19:47:24]OFD Sender: No OFD packet to send [19:47:29]OFD Sender: No OFD packet to send [19:47:34]OFD Sender: No OFD packet to send [19:47:39]OFD Sender: No OFD packet to send [19:47:44]OFD Sender: No OFD packet to send [19:47:49]OFD Sender: No OFD packet to send [19:47:54]OFD Sender: No OFD packet to send [19:47:59]OFD Sender: No OFD packet to send [19:48:04]OFD Sender: No OFD packet to send [19:48:09]OFD Sender: No OFD packet to send [19:48:14]OFD Sender: No OFD packet to send [19:48:19]OFD Sender: No OFD packet to send [19:48:24]OFD Sender: No OFD packet to send [19:48:29]OFD Sender: No OFD packet to send [19:48:34]OFD Sender: No OFD packet to send [19:48:39]OFD Sender: No OFD packet to send [19:48:44]OFD Sender: No OFD packet to send [19:48:49]OFD Sender: No OFD packet to send [19:48:54]OFD Sender: No OFD packet to send [19:48:59]OFD Sender: No OFD packet to send [19:49:04]OFD Sender: No OFD packet to send [19:49:09]OFD Sender: No OFD packet to send [19:49:14]OFD Sender: No OFD packet to send [19:49:19]OFD Sender: No OFD packet to send [19:49:24]OFD Sender: No OFD packet to send [19:49:29]OFD Sender: No OFD packet to send [19:49:34]OFD Sender: No OFD packet to send [19:49:39]OFD Sender: No OFD packet to send [19:49:44]OFD Sender: No OFD packet to send [19:49:49]OFD Sender: No OFD packet to send [19:49:54]OFD Sender: No OFD packet to send [19:49:59]OFD Sender: No OFD packet to send [19:50:04]OFD Sender: No OFD packet to send [19:50:09]OFD Sender: No OFD packet to send [19:50:14]OFD Sender: No OFD packet to send [19:50:19]OFD Sender: No OFD packet to send [19:50:24]OFD Sender: No OFD packet to send [19:50:29]OFD Sender: No OFD packet to send [19:50:34]OFD Sender: No OFD packet to send [19:50:39]OFD Sender: No OFD packet to send [19:50:44]OFD Sender: No OFD packet to send [19:50:49]OFD Sender: No OFD packet to send [19:50:54]OFD Sender: No OFD packet to send [19:50:59]OFD Sender: No OFD packet to send [19:51:04]OFD Sender: No OFD packet to send [19:51:09]OFD Sender: No OFD packet to send [19:51:14]OFD Sender: No OFD packet to send [19:51:19]OFD Sender: No OFD packet to send [19:51:24]accept exits with 7 [19:51:24]New connection [19:51:24]New thread 3066793316 created [19:51:24]Thread 3066936676 joined [19:51:24]Waiting for new connection... [19:51:24] Sock 7.Parse request [19:51:24]Sock 7.Check first char [19:51:24]Sock 7.First char is OK [19:51:24]request: POST /json_proto HTTP/1.0 [19:51:24]Method: POST [19:51:24]URL: /json_proto [19:51:24]Method is POST - this is cgi request [19:51:24]url: /json_proto [19:51:24]query_string will be loaded in cgi processing [19:51:24]execute_cgi json_proto POST (null) [19:51:24]execute_cgi path=json_proto method=POST [19:51:24]POST find Content-Length [19:51:24]Host: 172.17.35.196:8080 [19:51:24]Content-Length: 683 [19:51:24]Content-Type: application/json [19:51:24] [19:51:24]POST finish read [19:51:24]Found Content-Length = 683 [19:51:24]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)5669825", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 32", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 74.40, "quantity" : 13.450, "sum" : 1000.68, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:51:24]execute_script... [19:51:24]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)5669825", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 32", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 74.40, "quantity" : 13.450, "sum" : 1000.68, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:51:24]POST & json_proto [19:51:24]process_json_proto [19:51:24]json parsed OK: [19:51:24]protocol is kg_v1.0 [19:51:24]action value=close_receipt [19:51:24]process_action close_receipt [19:51:24]cmd_close_receipt [19:51:24]MH_GetDate [19:51:24]Write to MH i2c: F0 00 00 31 0B 2B [19:51:24]Write i2c OK [19:51:24]MH_I2C_Read... [19:51:24]Read from MH i2c: F0 [19:51:24]MH_I2C_Read... [19:51:24]Read from MH i2c: F0 09 00 [19:51:24]MH_I2C_Read... [19:51:24]Read from MH i2c: F0 09 00 31 0B 00 BE 37 90 66 AD 14 F4 65 39 [19:51:24]GetLastDocTimeStamp 1720725411 [19:51:24]current date 1720727486 [19:51:24]FM_GetShiftState [19:51:24]SAM_PROTO_GetShiftState [19:51:24]wFMCommunicate request_size=4 [19:51:24]MH_SAM_APDU [19:51:24]CAPDU: 80 13 01 00 [19:51:24]Write to MH i2c: E2 08 00 32 0B 80 13 01 00 00 00 00 00 BA [19:51:24]Write i2c OK [19:51:24]MH_I2C_Read... [19:51:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:51:24]Read from MH i2c: E2 [19:51:24]MH_I2C_Read... [19:51:24]OFD Sender: No OFD packet to send [19:51:24]Read from MH i2c: E2 0E 00 [19:51:24]MH_I2C_Read... [19:51:24]Read from MH i2c: E2 0E 00 32 0B 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 EB [19:51:24]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [19:51:24]wFMCommunicate OK [19:51:24]SAM_PROTO_GetShiftState done [19:51:24]FM_GetShiftState done [19:51:24]opened in 1720656398 [19:51:24]opened+sec_in_day 1720742798 [19:51:24]quantity*price = 100068 [19:51:24]sum+1 = 100069 [19:51:24]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.68 ИТОГО: 1000.00 Внесено: 1000.00 СДАЧА: 0.00 НСП 1% : 8.86 НДС 12% : 106.27 Наличными: 1000.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 61 11.07.2024 19:51 Смена: 432 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33306 ФПД: 44630934667139 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T195126&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33306&fm=44630934667139&tin=02508201610067®Number=0000000000093033&sum=100000 [19:51:25]StoreToDocumentArchive [19:51:25]shift 432 fd 33306 [19:51:25]save to /storage/0432/doc_00033306 [19:51:25]save last doc name /storage/0432/doc_00033306 to /storage/kkm_last_doc_name [19:51:25]save OK [19:51:25]Clear old archive folders... [19:51:25]ProcessDocumentItem done err = 0, tmpTLVsize=251 [19:51:25]tlvbuf is 01C4EA80 [19:51:25]SAM_PROTO_ClearQueue [19:51:25]wFMCommunicate request_size=4 [19:51:25]MH_SAM_APDU [19:51:25]CAPDU: 80 09 00 00 [19:51:25]Write to MH i2c: E2 08 00 3F 0B 80 09 00 00 00 00 00 00 BC [19:51:25]Write i2c OK [19:51:25]MH_I2C_Read... [19:51:25]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:51:25]Read from MH i2c: E2 [19:51:25]MH_I2C_Read... [19:51:25]Read from MH i2c: E2 03 00 [19:51:25]MH_I2C_Read... [19:51:25]Read from MH i2c: E2 03 00 3F 0B 00 90 00 BE [19:51:25]RAPDU: 90 00 [19:51:25]wFMCommunicate OK [19:51:25]SAM_PROTO_ClearQueue done [19:51:25]KKMCreateOFDPacket [19:51:25]OFDProtocolAddRootSTLVToBuf [19:51:25]FM_MakeSignedData [19:51:25]FM_MakeSignedData [19:51:25]SAM_PROTO_SignData [19:51:25]wFMCommunicate request_size=4 [19:51:25]MH_SAM_APDU [19:51:25]CAPDU: 80 0D 01 02 [19:51:25]Write to MH i2c: E2 08 00 40 0B 80 0D 01 02 00 00 00 00 C4 [19:51:25]Write i2c OK [19:51:25]MH_I2C_Read... [19:51:25]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:51:25]Read from MH i2c: E2 [19:51:25]MH_I2C_Read... [19:51:25]Read from MH i2c: E2 03 00 [19:51:25]MH_I2C_Read... [19:51:25]Read from MH i2c: E2 03 00 40 0B 00 90 00 BF [19:51:25]RAPDU: 90 00 [19:51:25]wFMCommunicate OK [19:51:25]wFMCommunicate request_size=255 [19:51:25]MH_SAM_APDU [19:51:25]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 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 8A 34 00 00 00 00 00 37 04 06 00 10 1D 00 00 00 00 13 04 06 00 E4 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 76 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 83 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 BE 37 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 1A 82 00 00 35 04 06 00 28 [19:51:25]Write to MH i2c: E2 02 01 41 0B 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 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 8A 34 00 00 00 00 00 37 04 06 00 10 1D 00 00 00 00 13 04 06 00 E4 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 76 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 83 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 BE 37 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 1A 82 00 00 35 04 06 00 28 00 00 2A [19:51:25]Write i2c OK [19:51:25]MH_I2C_Read... [19:51:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:51:26]Read from MH i2c: E2 [19:51:26]MH_I2C_Read... [19:51:26]Read from MH i2c: E2 03 00 [19:51:26]MH_I2C_Read... [19:51:26]Read from MH i2c: E2 03 00 41 0B 00 90 00 C0 [19:51:26]RAPDU: 90 00 [19:51:26]wFMCommunicate OK [19:51:26]wFMCommunicate request_size=10 [19:51:26]MH_SAM_APDU [19:51:26]CAPDU: 80 0D 02 02 05 97 73 01 BF 83 [19:51:26]Write to MH i2c: E2 0D 00 42 0B 80 0D 02 02 05 00 97 73 01 BF 83 00 00 1E [19:51:26]Write i2c OK [19:51:26]MH_I2C_Read... [19:51:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:51:26]Read from MH i2c: E2 [19:51:26]MH_I2C_Read... [19:51:26]Read from MH i2c: E2 03 00 [19:51:26]MH_I2C_Read... [19:51:26]Read from MH i2c: E2 03 00 42 0B 00 90 00 C1 [19:51:26]RAPDU: 90 00 [19:51:26]wFMCommunicate OK [19:51:26]wFMCommunicate request_size=4 [19:51:26]MH_SAM_APDU [19:51:26]CAPDU: 80 0D 03 02 [19:51:26]Write to MH i2c: E2 08 00 43 0B 80 0D 03 02 00 00 00 00 C9 [19:51:26]Write i2c OK [19:51:26]MH_I2C_Read... [19:51:26]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:51:26]Read from MH i2c: E2 [19:51:26]MH_I2C_Read... [19:51:26]Read from MH i2c: E2 0B 00 [19:51:26]MH_I2C_Read... [19:51:26]Read from MH i2c: E2 0B 00 43 0B 00 B7 D4 56 89 45 87 75 5A 90 00 CF [19:51:26]RAPDU: B7 D4 56 89 45 87 75 5A 90 00 [19:51:26]wFMCommunicate OK [19:51:26]SAM_PROTO_SignData done [19:51:26]FM_MakeSignedData done [19:51:26]CreateOFDProtocolMessage [19:51:26]wFMCommunicate request_size=4 [19:51:26]MH_SAM_APDU [19:51:26]CAPDU: 80 11 00 00 [19:51:26]Write to MH i2c: E2 08 00 44 0B 80 11 00 00 00 00 00 00 C9 [19:51:26]Write i2c OK [19:51:26]MH_I2C_Read... [19:51:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:51:26]Read from MH i2c: E2 [19:51:26]MH_I2C_Read... [19:51:26]Read from MH i2c: E2 17 00 [19:51:26]MH_I2C_Read... [19:51:26]Read from MH i2c: E2 17 00 44 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 15 [19:51:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [19:51:26]wFMCommunicate OK [19:51:26]CreateOFDProtocolMessage done [19:51:26]OFDSenderStorePacket 33306 [19:51:26]StoreOFDPacket docnum=33306 [19:51:26]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0F 01 00 00 5C 82 07 01 09 4A 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 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 8A 34 00 00 00 00 00 37 04 06 00 10 1D 00 00 00 00 13 04 06 00 E4 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 76 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 83 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 BE 37 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 1A 82 00 00 35 04 06 00 28 97 73 01 BF 83 B7 D4 56 89 45 87 75 5A [19:51:26]CheckFolder [19:51:26]dirname=/storage/ofd_packets [19:51:26]CheckFolder done [19:51:26]ProducePacketName [19:51:26]name=ofd_packets/00033306 [19:51:26]NVStorageSaveData ofd_packets/00033306 [19:51:26]File name is /storage/ofd_packets/00033306 [19:51:26]Write 301 bytes [19:51:26]NVStorageSaveData done [19:51:26]OFDSenderStorePacket done [19:51:26]KKMCreateOFDPacket done [19:51:26]NVStorageSaveData kkm_last_timestamp [19:51:26]File name is /storage/kkm_last_timestamp [19:51:26]Write 4 bytes [19:51:26]NVStorageSaveData done [19:51:26]ExternCall_PrintAddStr [19:51:26]wPrintStart [19:51:26]Write to MH i2c: 01 00 00 45 0B 50 [19:51:26]Write i2c OK [19:51:26]MH_I2C_Read... [19:51:26]Read from MH i2c: 01 [19:51:26]MH_I2C_Read... [19:51:26]Read from MH i2c: 01 07 00 [19:51:26]MH_I2C_Read... [19:51:26]Read from MH i2c: 01 07 00 45 0B 00 00 00 00 00 FF 0F 65 [19:51:26]RasterBufferAndPrint [19:51:26]line Счет N : (1)5669825 [19:51:26]line ИНН: 02508201610067 [19:51:26]line Контрольно-Кассовый Чек [19:51:26]line ПРОДАЖА [19:51:26]line ТРК (МРК, ГНК) : 32 [19:51:26]line Товар: 2710124500 [19:51:26]line Аи-95-К-5 [19:51:26]line 13.450 * 74.40 [19:51:26]line = 1000.68 [19:51:26]line НДС 12% НСП 1% [19:51:26]line > о реализуемом товаре [19:51:26]line ОКРУГЛЕНИЕ: -0.68 [19:51:26]line ИТОГО: 1000.00 [19:51:26]line Внесено: 1000.00 [19:51:26]line СДАЧА: 0.00 [19:51:26]line НСП 1% : 8.86 [19:51:26]line НДС 12% : 106.27 [19:51:26]line Наличными: 1000.00 [19:51:26]line Безнал.: 0.00 [19:51:26]line Место: АЗС № 77 "Партнер Нефть" [19:51:26]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [19:51:26]line СНО: Общий режим [19:51:26]line Чек 61 11.07.2024 19:51 [19:51:26]line Смена: 432 ФФД: 1.0 [19:51:26]line ЗНМ: 0300000122 [19:51:26]line РНМ: 0000000000093033 [19:51:26]line Версия ККМ: 001 [19:51:26]line ФМ: 0000000000875104 [19:51:26]line ФД: 33306 [19:51:26]line ФПД: 44630934667139 [19:51:26]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T195126&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33306&fm=44630934667139&tin=02508201610067®Number=0000000000093033&sum=100000 [19:51:26]OFD Sender: Processing packet 33306 [packets to send 6, broken 5] [19:51:26]ProducePacketName [19:51:26]name=ofd_packets/00033306 [19:51:26]OFD Sender: To server: pG, [19:51:26]CommunicateWithHost lk.salyk.kg:30040 [19:51:26]ConnectInit lk.salyk.kg [19:51:26]written 0, free lines is 4095 [19:51:26]Connected sock=10 [19:51:26]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0F 01 00 00 5C 82 07 01 09 4A 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 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 8A 34 00 00 00 00 00 37 04 06 00 10 1D 00 00 00 00 13 04 06 00 E4 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 76 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 83 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 BE 37 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 1A 82 00 00 35 04 06 00 28 97 73 01 BF 83 B7 D4 56 89 45 87 75 5A [19:51:26]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 0F BD 47 00 3B EA A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 1A 82 00 00 F4 03 04 00 6D E2 8F 66 B6 04 01 00 00 4E D1 0F EC 52 52 B9 10 [19:51:26]CommunicateWithHost err = 0 [19:51:26]CheckOFDResponse [19:51:26]1017 (14) - 77093643461234 [19:51:26]1041 (16) - 0000000000875104 [19:51:26]1040 (4) - 33306 [19:51:26]1012 (4) - 11.07.2024 13:47 [19:51:26]1206 (1) - 0 [19:51:26]OFD Sender: Remove packet 33306 [19:51:26]ProducePacketName [19:51:26]name=ofd_packets/00033306 [19:51:26]NVStorageDeleteData [19:51:27]Write to MH i2c: 01 00 00 70 0B 7B [19:51:27]Write i2c OK [19:51:27]MH_I2C_Read... [19:51:27]Read from MH i2c: 01 [19:51:27]MH_I2C_Read... [19:51:27]Read from MH i2c: 01 07 00 [19:51:27]MH_I2C_Read... [19:51:27]Read from MH i2c: 01 07 00 70 0B 00 00 00 00 00 D3 0C 61 [19:51:27]RasterBufferAndPrint [19:51:27]line [19:51:27]line [19:51:27]line [19:51:27]line [19:51:27]line [19:51:27]written 0, free lines is 3290 [19:51:27]MH_Cut [19:51:27]Write to MH i2c: D1 01 00 77 0B 01 54 [19:51:27]Write i2c OK [19:51:27]MH_I2C_Read... [19:51:27]Read from MH i2c: D1 [19:51:27]MH_I2C_Read... [19:51:27]Read from MH i2c: D1 01 00 [19:51:27]MH_I2C_Read... [19:51:27]Read from MH i2c: D1 01 00 77 0B 00 53 [19:51:27]Write to MH i2c: 01 00 00 78 0B 83 [19:51:27]Write i2c OK [19:51:27]MH_I2C_Read... [19:51:27]OFD Sender: No OFD packet to send [19:51:27]*** Cut start [19:51:27]*** Partial cut [19:51:27]*** CUTSNS_PIN = 1 [19:51:27]*** CUTSNS_PIN = 0 [19:51:28]*** Brake cut motor [19:51:28]Read from MH i2c: 01 [19:51:28]MH_I2C_Read... [19:51:28]*** Stop cut motor [19:51:28]*** Cut end [19:51:28]Read from MH i2c: 01 07 00 [19:51:28]MH_I2C_Read... [19:51:28]Read from MH i2c: 01 07 00 78 0B 00 00 00 00 00 FF 0F 98 [19:51:28]process_action close_receipt done [19:51:28]requested_data is exist [19:51:28]produce_requested_data [19:51:28]requested_item fm.sn is exist - process it [19:51:28]wFMCommunicate request_size=4 [19:51:28]MH_SAM_APDU [19:51:28]CAPDU: 80 11 00 00 [19:51:28]Write to MH i2c: E2 08 00 79 0B 80 11 00 00 00 00 00 00 FE [19:51:28]Write i2c OK [19:51:28]MH_I2C_Read... [19:51:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:51:28]Read from MH i2c: E2 [19:51:28]MH_I2C_Read... [19:51:28]Read from MH i2c: E2 17 00 [19:51:28]MH_I2C_Read... [19:51:28]Read from MH i2c: E2 17 00 79 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 4A [19:51:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [19:51:28]wFMCommunicate OK [19:51:28]requested_item fd.num is exist - process it [19:51:28]SAM_PROTO_GetFieldsCounters [19:51:28]wFMCommunicate request_size=4 [19:51:28]MH_SAM_APDU [19:51:28]CAPDU: 80 13 00 00 [19:51:28]Write to MH i2c: E2 08 00 7A 0B 80 13 00 00 00 00 00 00 01 [19:51:28]Write i2c OK [19:51:28]MH_I2C_Read... [19:51:28]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:51:28]Read from MH i2c: E2 [19:51:28]MH_I2C_Read... [19:51:28]Read from MH i2c: E2 62 00 [19:51:28]MH_I2C_Read... [19:51:28]Read from MH i2c: E2 62 00 7A 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 1A 82 00 00 0E 04 04 00 B0 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 18 [19:51: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 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 1A 82 00 00 0E 04 04 00 B0 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 [19:51:28]wFMCommunicate OK [19:51:28]SAM_PROTO_GetFieldsCounters done [19:51:28]requested_item shift.num is exist - process it [19:51:28]requested_item shift.opened is exist - process it [19:51:28]req_shift_opened [19:51:28]FM_GetShiftState [19:51:28]SAM_PROTO_GetShiftState [19:51:28]wFMCommunicate request_size=4 [19:51:28]MH_SAM_APDU [19:51:28]CAPDU: 80 13 01 00 [19:51:28]Write to MH i2c: E2 08 00 7B 0B 80 13 01 00 00 00 00 00 03 [19:51:28]Write i2c OK [19:51:28]MH_I2C_Read... [19:51:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:51:28]Read from MH i2c: E2 [19:51:28]MH_I2C_Read... [19:51:28]Read from MH i2c: E2 0E 00 [19:51:28]MH_I2C_Read... [19:51:28]Read from MH i2c: E2 0E 00 7B 0B 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 34 [19:51:28]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [19:51:28]wFMCommunicate OK [19:51:28]SAM_PROTO_GetShiftState done [19:51:28]FM_GetShiftState done [19:51:28]req_shift_opened done [19:51:28]requested_item shift.open_date is exist - process it [19:51:28]req_shift_open_date [19:51:28]req_shift_open_date done [19:51:28]produce_requested_data done [19:51:28]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33306,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398} [19:51:28]process_action_free close_receipt [19:51:28]json_value_free [19:51:28]json_value_free done [19:51:28]process_json_proto returns [19:51:28]Send response to host [19:51:28]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33306,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398}}} [19:51:28]free response buf [19:51:28]execute_script done [19:51:28]execute_script returns [19:51:28]free content buf [19:51:28]Sock 7.Close socket [19:51:28]Sock 7.Thread stoped [19:51:32]OFD Sender: No OFD packet to send [19:51:37]OFD Sender: No OFD packet to send [19:51:42]OFD Sender: No OFD packet to send [19:51:47]OFD Sender: No OFD packet to send [19:51:52]OFD Sender: No OFD packet to send [19:51:57]OFD Sender: No OFD packet to send [19:52:02]OFD Sender: No OFD packet to send [19:52:07]OFD Sender: No OFD packet to send [19:52:12]OFD Sender: No OFD packet to send [19:52:17]OFD Sender: No OFD packet to send [19:52:22]OFD Sender: No OFD packet to send [19:52:27]OFD Sender: No OFD packet to send [19:52:32]OFD Sender: No OFD packet to send [19:52:37]OFD Sender: No OFD packet to send [19:52:42]OFD Sender: No OFD packet to send [19:52:47]OFD Sender: No OFD packet to send [19:52:52]OFD Sender: No OFD packet to send [19:52:57]OFD Sender: No OFD packet to send [19:53:02]OFD Sender: No OFD packet to send [19:53:07]OFD Sender: No OFD packet to send [19:53:12]OFD Sender: No OFD packet to send [19:53:17]OFD Sender: No OFD packet to send [19:53:22]OFD Sender: No OFD packet to send [19:53:27]OFD Sender: No OFD packet to send [19:53:32]OFD Sender: No OFD packet to send [19:53:37]OFD Sender: No OFD packet to send [19:53:42]OFD Sender: No OFD packet to send [19:53:47]OFD Sender: No OFD packet to send [19:53:52]OFD Sender: No OFD packet to send [19:53:57]OFD Sender: No OFD packet to send [19:54:02]OFD Sender: No OFD packet to send [19:54:07]OFD Sender: No OFD packet to send [19:54:12]OFD Sender: No OFD packet to send [19:54:17]OFD Sender: No OFD packet to send [19:54:22]OFD Sender: No OFD packet to send [19:54:27]OFD Sender: No OFD packet to send [19:54:32]OFD Sender: No OFD packet to send [19:54:37]OFD Sender: No OFD packet to send [19:54:42]OFD Sender: No OFD packet to send [19:54:47]OFD Sender: No OFD packet to send [19:54:52]OFD Sender: No OFD packet to send [19:54:57]OFD Sender: No OFD packet to send [19:55:02]OFD Sender: No OFD packet to send [19:55:07]OFD Sender: No OFD packet to send [19:55:12]OFD Sender: No OFD packet to send [19:55:17]OFD Sender: No OFD packet to send [19:55:22]OFD Sender: No OFD packet to send [19:55:27]OFD Sender: No OFD packet to send [19:55:32]OFD Sender: No OFD packet to send [19:55:37]OFD Sender: No OFD packet to send [19:55:42]OFD Sender: No OFD packet to send [19:55:47]OFD Sender: No OFD packet to send [19:55:52]OFD Sender: No OFD packet to send [19:55:57]OFD Sender: No OFD packet to send [19:56:02]OFD Sender: No OFD packet to send [19:56:07]OFD Sender: No OFD packet to send [19:56:12]OFD Sender: No OFD packet to send [19:56:17]OFD Sender: No OFD packet to send [19:56:22]OFD Sender: No OFD packet to send [19:56:27]OFD Sender: No OFD packet to send [19:56:32]OFD Sender: No OFD packet to send [19:56:37]OFD Sender: No OFD packet to send [19:56:42]OFD Sender: No OFD packet to send [19:56:47]OFD Sender: No OFD packet to send [19:56:52]OFD Sender: No OFD packet to send [19:56:57]OFD Sender: No OFD packet to send [19:57:02]OFD Sender: No OFD packet to send [19:57:07]OFD Sender: No OFD packet to send [19:57:12]OFD Sender: No OFD packet to send [19:57:17]OFD Sender: No OFD packet to send [19:57:22]OFD Sender: No OFD packet to send [19:57:27]OFD Sender: No OFD packet to send [19:57:32]OFD Sender: No OFD packet to send [19:57:37]OFD Sender: No OFD packet to send [19:57:42]OFD Sender: No OFD packet to send [19:57:47]OFD Sender: No OFD packet to send [19:57:52]OFD Sender: No OFD packet to send [19:57:57]OFD Sender: No OFD packet to send [19:58:02]OFD Sender: No OFD packet to send [19:58:07]OFD Sender: No OFD packet to send [19:58:12]OFD Sender: No OFD packet to send [19:58:17]OFD Sender: No OFD packet to send [19:58:22]OFD Sender: No OFD packet to send [19:58:27]OFD Sender: No OFD packet to send [19:58:32]OFD Sender: No OFD packet to send [19:58:37]OFD Sender: No OFD packet to send [19:58:42]OFD Sender: No OFD packet to send [19:58:47]OFD Sender: No OFD packet to send [19:58:52]OFD Sender: No OFD packet to send [19:58:57]OFD Sender: No OFD packet to send [19:59:02]OFD Sender: No OFD packet to send [19:59:07]OFD Sender: No OFD packet to send [19:59:12]OFD Sender: No OFD packet to send [19:59:17]OFD Sender: No OFD packet to send [19:59:22]OFD Sender: No OFD packet to send [19:59:27]OFD Sender: No OFD packet to send [19:59:32]OFD Sender: No OFD packet to send [19:59:37]OFD Sender: No OFD packet to send [19:59:42]OFD Sender: No OFD packet to send [19:59:47]OFD Sender: No OFD packet to send [19:59:52]OFD Sender: No OFD packet to send [19:59:57]OFD Sender: No OFD packet to send [20:00:02]OFD Sender: No OFD packet to send [20:00:07]OFD Sender: No OFD packet to send [20:00:12]OFD Sender: No OFD packet to send [20:00:17]OFD Sender: No OFD packet to send [20:00:22]OFD Sender: No OFD packet to send [20:00:27]OFD Sender: No OFD packet to send [20:00:32]OFD Sender: No OFD packet to send [20:00:37]OFD Sender: No OFD packet to send [20:00:42]OFD Sender: No OFD packet to send [20:00:47]OFD Sender: No OFD packet to send [20:00:52]OFD Sender: No OFD packet to send [20:00:57]OFD Sender: No OFD packet to send [20:01:02]OFD Sender: No OFD packet to send [20:01:07]OFD Sender: No OFD packet to send [20:01:12]OFD Sender: No OFD packet to send [20:01:17]OFD Sender: No OFD packet to send [20:01:22]OFD Sender: No OFD packet to send [20:01:27]OFD Sender: No OFD packet to send [20:01:32]OFD Sender: No OFD packet to send [20:01:37]OFD Sender: No OFD packet to send [20:01:42]OFD Sender: No OFD packet to send [20:01:47]OFD Sender: No OFD packet to send [20:01:52]OFD Sender: No OFD packet to send [20:01:57]OFD Sender: No OFD packet to send [20:02:02]OFD Sender: No OFD packet to send [20:02:07]OFD Sender: No OFD packet to send [20:02:12]OFD Sender: No OFD packet to send [20:02:17]OFD Sender: No OFD packet to send [20:02:22]OFD Sender: No OFD packet to send [20:02:27]OFD Sender: No OFD packet to send [20:02:32]OFD Sender: No OFD packet to send [20:02:37]OFD Sender: No OFD packet to send [20:02:42]OFD Sender: No OFD packet to send [20:02:48]OFD Sender: No OFD packet to send [20:02:53]OFD Sender: No OFD packet to send [20:02:58]OFD Sender: No OFD packet to send [20:03:03]OFD Sender: No OFD packet to send [20:03:08]OFD Sender: No OFD packet to send [20:03:13]OFD Sender: No OFD packet to send [20:03:18]OFD Sender: No OFD packet to send [20:03:23]OFD Sender: No OFD packet to send [20:03:28]OFD Sender: No OFD packet to send [20:03:33]accept exits with 9 [20:03:33]New connection [20:03:33]OFD Sender: No OFD packet to send [20:03:33]New thread 3066936676 created [20:03:33]Thread 3066793316 joined [20:03:33]Waiting for new connection... [20:03:33] Sock 9.Parse request [20:03:33]Sock 9.Check first char [20:03:33]Sock 9.First char is OK [20:03:33]request: POST /json_proto HTTP/1.0 [20:03:33]Method: POST [20:03:33]URL: /json_proto [20:03:33]Method is POST - this is cgi request [20:03:33]url: /json_proto [20:03:33]query_string will be loaded in cgi processing [20:03:33]execute_cgi json_proto POST (null) [20:03:33]execute_cgi path=json_proto method=POST [20:03:33]POST find Content-Length [20:03:33]Host: 172.17.35.196:8080 [20:03:33]Content-Length: 844 [20:03:33]Content-Type: application/json [20:03:33] [20:03:33]POST finish read [20:03:33]Found Content-Length = 844 [20:03:33]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)5669832", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.30, "quantity" : 15.090, "sum" : 1000.47, "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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 1000.47 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:03:33]execute_script... [20:03:33]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)5669832", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.30, "quantity" : 15.090, "sum" : 1000.47, "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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 1000.47 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:03:33]POST & json_proto [20:03:33]process_json_proto [20:03:33]json parsed OK: [20:03:33]protocol is kg_v1.0 [20:03:33]action value=close_receipt [20:03:33]process_action close_receipt [20:03:33]cmd_close_receipt [20:03:33]MH_GetDate [20:03:33]Write to MH i2c: F0 00 00 7C 0B 76 [20:03:33]Write i2c OK [20:03:33]MH_I2C_Read... [20:03:33]Read from MH i2c: F0 [20:03:33]MH_I2C_Read... [20:03:33]Read from MH i2c: F0 09 00 [20:03:33]MH_I2C_Read... [20:03:33]Read from MH i2c: F0 09 00 7C 0B 00 96 3A 90 66 AD 14 F4 65 5F [20:03:33]GetLastDocTimeStamp 1720727486 [20:03:33]current date 1720728214 [20:03:33]FM_GetShiftState [20:03:33]SAM_PROTO_GetShiftState [20:03:33]wFMCommunicate request_size=4 [20:03:33]MH_SAM_APDU [20:03:33]CAPDU: 80 13 01 00 [20:03:33]Write to MH i2c: E2 08 00 7D 0B 80 13 01 00 00 00 00 00 05 [20:03:33]Write i2c OK [20:03:33]MH_I2C_Read... [20:03:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:03:33]Read from MH i2c: E2 [20:03:33]MH_I2C_Read... [20:03:33]Read from MH i2c: E2 0E 00 [20:03:33]MH_I2C_Read... [20:03:33]Read from MH i2c: E2 0E 00 7D 0B 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 36 [20:03:33]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [20:03:33]wFMCommunicate OK [20:03:33]SAM_PROTO_GetShiftState done [20:03:33]FM_GetShiftState done [20:03:33]opened in 1720656398 [20:03:33]opened+sec_in_day 1720742798 [20:03:33]quantity*price = 100046 [20:03:33]sum+1 = 100048 [20:03:33]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 1000.47 НСП 1% : 8.85 НДС 12% : 106.24 Наличными: 0.00 Безнал.: 1000.47 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 62 11.07.2024 20:03 Смена: 432 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000875104 ФД: 33307 ФПД: 271694174010638 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T200334&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33307&fm=271694174010638&tin=02508201610067®Number=0000000000093033&sum=100047 [20:03:34]StoreToDocumentArchive [20:03:34]shift 432 fd 33307 [20:03:34]save to /storage/0432/doc_00033307 [20:03:34]save last doc name /storage/0432/doc_00033307 to /storage/kkm_last_doc_name [20:03:34]save OK [20:03:34]Clear old archive folders... [20:03:34]ProcessDocumentItem done err = 0, tmpTLVsize=251 [20:03:34]tlvbuf is 01C5CD40 [20:03:34]SAM_PROTO_ClearQueue [20:03:34]wFMCommunicate request_size=4 [20:03:34]MH_SAM_APDU [20:03:34]CAPDU: 80 09 00 00 [20:03:34]Write to MH i2c: E2 08 00 8A 0B 80 09 00 00 00 00 00 00 07 [20:03:34]Write i2c OK [20:03:34]MH_I2C_Read... [20:03:34]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:03:34]Read from MH i2c: E2 [20:03:34]MH_I2C_Read... [20:03:34]Read from MH i2c: E2 03 00 [20:03:34]MH_I2C_Read... [20:03:34]Read from MH i2c: E2 03 00 8A 0B 00 90 00 09 [20:03:34]RAPDU: 90 00 [20:03:34]wFMCommunicate OK [20:03:34]SAM_PROTO_ClearQueue done [20:03:34]KKMCreateOFDPacket [20:03:34]OFDProtocolAddRootSTLVToBuf [20:03:34]FM_MakeSignedData [20:03:34]FM_MakeSignedData [20:03:34]SAM_PROTO_SignData [20:03:34]wFMCommunicate request_size=4 [20:03:34]MH_SAM_APDU [20:03:34]CAPDU: 80 0D 01 02 [20:03:34]Write to MH i2c: E2 08 00 8B 0B 80 0D 01 02 00 00 00 00 0F [20:03:34]Write i2c OK [20:03:34]MH_I2C_Read... [20:03:34]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:03:34]Read from MH i2c: E2 [20:03:34]MH_I2C_Read... [20:03:34]Read from MH i2c: E2 03 00 [20:03:34]MH_I2C_Read... [20:03:34]Read from MH i2c: E2 03 00 8B 0B 00 90 00 0A [20:03:34]RAPDU: 90 00 [20:03:34]wFMCommunicate OK [20:03:34]wFMCommunicate request_size=255 [20:03:34]MH_SAM_APDU [20:03:34]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 F2 3A 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 CF 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CF 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 80 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 CF 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 96 3A 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 1B 82 00 00 35 04 06 00 F7 [20:03:34]Write to MH i2c: E2 02 01 8C 0B 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 F2 3A 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 CF 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CF 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 80 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 CF 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 96 3A 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 1B 82 00 00 35 04 06 00 F7 00 00 A2 [20:03:34]Write i2c OK [20:03:34]MH_I2C_Read... [20:03:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:03:34]Read from MH i2c: E2 [20:03:34]MH_I2C_Read... [20:03:34]Read from MH i2c: E2 03 00 [20:03:34]MH_I2C_Read... [20:03:34]Read from MH i2c: E2 03 00 8C 0B 00 90 00 0B [20:03:34]RAPDU: 90 00 [20:03:34]wFMCommunicate OK [20:03:34]wFMCommunicate request_size=10 [20:03:34]MH_SAM_APDU [20:03:34]CAPDU: 80 0D 02 02 05 1A BA BA BD 0E [20:03:34]Write to MH i2c: E2 0D 00 8D 0B 80 0D 02 02 05 00 1A BA BA BD 0E 00 00 75 [20:03:34]Write i2c OK [20:03:34]MH_I2C_Read... [20:03:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:03:34]Read from MH i2c: E2 [20:03:34]MH_I2C_Read... [20:03:34]Read from MH i2c: E2 03 00 [20:03:34]MH_I2C_Read... [20:03:34]Read from MH i2c: E2 03 00 8D 0B 00 90 00 0C [20:03:34]RAPDU: 90 00 [20:03:34]wFMCommunicate OK [20:03:34]wFMCommunicate request_size=4 [20:03:34]MH_SAM_APDU [20:03:34]CAPDU: 80 0D 03 02 [20:03:34]Write to MH i2c: E2 08 00 8E 0B 80 0D 03 02 00 00 00 00 14 [20:03:34]Write i2c OK [20:03:34]MH_I2C_Read... [20:03:34]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:03:34]Read from MH i2c: E2 [20:03:34]MH_I2C_Read... [20:03:34]Read from MH i2c: E2 0B 00 [20:03:34]MH_I2C_Read... [20:03:34]Read from MH i2c: E2 0B 00 8E 0B 00 69 8D A1 54 9F 9C B2 00 90 00 ED [20:03:34]RAPDU: 69 8D A1 54 9F 9C B2 00 90 00 [20:03:34]wFMCommunicate OK [20:03:34]SAM_PROTO_SignData done [20:03:34]FM_MakeSignedData done [20:03:34]CreateOFDProtocolMessage [20:03:34]wFMCommunicate request_size=4 [20:03:34]MH_SAM_APDU [20:03:34]CAPDU: 80 11 00 00 [20:03:34]Write to MH i2c: E2 08 00 8F 0B 80 11 00 00 00 00 00 00 14 [20:03:34]Write i2c OK [20:03:34]MH_I2C_Read... [20:03:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:03:34]Read from MH i2c: E2 [20:03:34]MH_I2C_Read... [20:03:34]Read from MH i2c: E2 17 00 [20:03:34]MH_I2C_Read... [20:03:34]Read from MH i2c: E2 17 00 8F 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 60 [20:03:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [20:03:34]wFMCommunicate OK [20:03:34]CreateOFDProtocolMessage done [20:03:34]OFDSenderStorePacket 33307 [20:03:34]StoreOFDPacket docnum=33307 [20:03:34]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0F 01 00 00 97 F2 07 01 71 9A 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 F2 3A 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 CF 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CF 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 80 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 CF 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 96 3A 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 1B 82 00 00 35 04 06 00 F7 1A BA BA BD 0E 69 8D A1 54 9F 9C B2 00 [20:03:34]CheckFolder [20:03:34]dirname=/storage/ofd_packets [20:03:34]CheckFolder done [20:03:34]ProducePacketName [20:03:34]name=ofd_packets/00033307 [20:03:34]NVStorageSaveData ofd_packets/00033307 [20:03:34]File name is /storage/ofd_packets/00033307 [20:03:34]Write 301 bytes [20:03:34]NVStorageSaveData done [20:03:34]OFDSenderStorePacket done [20:03:34]KKMCreateOFDPacket done [20:03:34]NVStorageSaveData kkm_last_timestamp [20:03:34]File name is /storage/kkm_last_timestamp [20:03:34]Write 4 bytes [20:03:34]NVStorageSaveData done [20:03:34]ExternCall_PrintAddStr [20:03:34]wPrintStart [20:03:34]Write to MH i2c: 01 00 00 90 0B 9B [20:03:34]Write i2c OK [20:03:34]MH_I2C_Read... [20:03:34]Read from MH i2c: 01 [20:03:34]MH_I2C_Read... [20:03:34]Read from MH i2c: 01 07 00 [20:03:34]MH_I2C_Read... [20:03:34]Read from MH i2c: 01 07 00 90 0B 00 00 00 00 00 FF 0F B0 [20:03:34]RasterBufferAndPrint [20:03:34]line Счет N : (1)5669832 [20:03:34]line ИНН: 02508201610067 [20:03:34]line Контрольно-Кассовый Чек [20:03:34]line ПРОДАЖА [20:03:34]line ТРК (МРК, ГНК) : 33 [20:03:34]line Товар: 2710124130 [20:03:34]line Аи-92-К-5 [20:03:34]line 15.090 * 66.30 [20:03:34]line = 1000.47 [20:03:34]line НДС 12% НСП 1% [20:03:34]line > о реализуемом товаре [20:03:34]line ИТОГО: 1000.47 [20:03:34]line НСП 1% : 8.85 [20:03:34]line НДС 12% : 106.24 [20:03:34]line Наличными: 0.00 [20:03:34]line Безнал.: 1000.47 [20:03:34]line Место: АЗС № 77 "Партнер Нефть" [20:03:34]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [20:03:34]line СНО: Общий режим [20:03:34]line Чек 62 11.07.2024 20:03 [20:03:34]line Смена: 432 ФФД: 1.0 [20:03:34]line ЗНМ: 0300000122 [20:03:34]line РНМ: 0000000000093033 [20:03:34]line Версия ККМ: 001 [20:03:34]line Платежная система: АКБ Кыргызстан [20:03:34]line ФМ: 0000000000875104 [20:03:34]line ФД: 33307 [20:03:34]line ФПД: 271694174010638 [20:03:34]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T200334&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33307&fm=271694174010638&tin=02508201610067®Number=0000000000093033&sum=100047 [20:03:35]OFD Sender: Processing packet 33307 [packets to send 6, broken 5] [20:03:35]ProducePacketName [20:03:35]name=ofd_packets/00033307 [20:03:35]OFD Sender: To server: pG, [20:03:35]CommunicateWithHost lk.salyk.kg:30040 [20:03:35]ConnectInit lk.salyk.kg [20:03:35]written 0, free lines is 4095 [20:03:35]Connected sock=10 [20:03:35]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0F 01 00 00 97 F2 07 01 71 9A 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 F2 3A 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 CF 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CF 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 80 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 CF 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 96 3A 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 1B 82 00 00 35 04 06 00 F7 1A BA BA BD 0E 69 8D A1 54 9F 9C B2 00 [20:03:35]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 D2 FF 47 00 72 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 35 31 30 34 10 04 04 00 1B 82 00 00 F4 03 04 00 46 E5 8F 66 B6 04 01 00 00 AC E8 3E 27 F6 E3 84 30 [20:03:35]CommunicateWithHost err = 0 [20:03:35]CheckOFDResponse [20:03:35]1017 (14) - 77093643461234 [20:03:35]1041 (16) - 0000000000875104 [20:03:35]1040 (4) - 33307 [20:03:35]1012 (4) - 11.07.2024 13:59 [20:03:35]1206 (1) - 0 [20:03:35]OFD Sender: Remove packet 33307 [20:03:35]ProducePacketName [20:03:35]name=ofd_packets/00033307 [20:03:35]NVStorageDeleteData [20:03:35]Write to MH i2c: 01 00 00 BA 0B C5 [20:03:35]Write i2c OK [20:03:35]MH_I2C_Read... [20:03:35]Read from MH i2c: 01 [20:03:35]MH_I2C_Read... [20:03:35]Read from MH i2c: 01 07 00 [20:03:35]MH_I2C_Read... [20:03:35]Read from MH i2c: 01 07 00 BA 0B 00 00 00 00 00 F9 0C D1 [20:03:35]RasterBufferAndPrint [20:03:35]line [20:03:35]line [20:03:35]line [20:03:35]line [20:03:35]line [20:03:35]written 0, free lines is 3328 [20:03:35]MH_Cut [20:03:35]Write to MH i2c: D1 01 00 C1 0B 01 9E [20:03:35]Write i2c OK [20:03:35]MH_I2C_Read... [20:03:35]Read from MH i2c: D1 [20:03:35]MH_I2C_Read... [20:03:35]Read from MH i2c: D1 01 00 [20:03:35]MH_I2C_Read... [20:03:35]Read from MH i2c: D1 01 00 C1 0B 00 9D [20:03:35]Write to MH i2c: 01 00 00 C2 0B CD [20:03:35]Write i2c OK [20:03:35]MH_I2C_Read... [20:03:35]OFD Sender: No OFD packet to send [20:03:36]*** Cut start [20:03:36]*** Partial cut [20:03:36]*** CUTSNS_PIN = 1 [20:03:36]*** CUTSNS_PIN = 0 [20:03:36]*** Brake cut motor [20:03:36]Read from MH i2c: 01 [20:03:36]MH_I2C_Read... [20:03:36]*** Stop cut motor [20:03:36]*** Cut end [20:03:36]Read from MH i2c: 01 07 00 [20:03:36]MH_I2C_Read... [20:03:36]Read from MH i2c: 01 07 00 C2 0B 00 00 00 00 00 FF 0F E2 [20:03:36]process_action close_receipt done [20:03:36]requested_data is exist [20:03:36]produce_requested_data [20:03:36]requested_item fm.sn is exist - process it [20:03:36]wFMCommunicate request_size=4 [20:03:36]MH_SAM_APDU [20:03:36]CAPDU: 80 11 00 00 [20:03:36]Write to MH i2c: E2 08 00 C3 0B 80 11 00 00 00 00 00 00 48 [20:03:36]Write i2c OK [20:03:36]MH_I2C_Read... [20:03:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:03:37]Read from MH i2c: E2 [20:03:37]MH_I2C_Read... [20:03:37]Read from MH i2c: E2 17 00 [20:03:37]MH_I2C_Read... [20:03:37]Read from MH i2c: E2 17 00 C3 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 94 [20:03:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [20:03:37]wFMCommunicate OK [20:03:37]requested_item fd.num is exist - process it [20:03:37]SAM_PROTO_GetFieldsCounters [20:03:37]wFMCommunicate request_size=4 [20:03:37]MH_SAM_APDU [20:03:37]CAPDU: 80 13 00 00 [20:03:37]Write to MH i2c: E2 08 00 C4 0B 80 13 00 00 00 00 00 00 4B [20:03:37]Write i2c OK [20:03:37]MH_I2C_Read... [20:03:37]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:03:37]Read from MH i2c: E2 [20:03:37]MH_I2C_Read... [20:03:37]Read from MH i2c: E2 62 00 [20:03:37]MH_I2C_Read... [20:03:37]Read from MH i2c: E2 62 00 C4 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 1B 82 00 00 0E 04 04 00 B0 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 66 [20:03:37]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 1B 82 00 00 0E 04 04 00 B0 01 00 00 12 04 04 00 3E 00 00 00 5E 04 04 00 3E 00 00 00 57 04 04 00 3F 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:03:37]wFMCommunicate OK [20:03:37]SAM_PROTO_GetFieldsCounters done [20:03:37]requested_item shift.num is exist - process it [20:03:37]requested_item shift.opened is exist - process it [20:03:37]req_shift_opened [20:03:37]FM_GetShiftState [20:03:37]SAM_PROTO_GetShiftState [20:03:37]wFMCommunicate request_size=4 [20:03:37]MH_SAM_APDU [20:03:37]CAPDU: 80 13 01 00 [20:03:37]Write to MH i2c: E2 08 00 C5 0B 80 13 01 00 00 00 00 00 4D [20:03:37]Write i2c OK [20:03:37]MH_I2C_Read... [20:03:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:03:37]Read from MH i2c: E2 [20:03:37]MH_I2C_Read... [20:03:37]Read from MH i2c: E2 0E 00 [20:03:37]MH_I2C_Read... [20:03:37]Read from MH i2c: E2 0E 00 C5 0B 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 7E [20:03:37]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [20:03:37]wFMCommunicate OK [20:03:37]SAM_PROTO_GetShiftState done [20:03:37]FM_GetShiftState done [20:03:37]req_shift_opened done [20:03:37]requested_item shift.open_date is exist - process it [20:03:37]req_shift_open_date [20:03:37]req_shift_open_date done [20:03:37]produce_requested_data done [20:03:37]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33307,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398} [20:03:37]process_action_free close_receipt [20:03:37]json_value_free [20:03:37]json_value_free done [20:03:37]process_json_proto returns [20:03:37]Send response to host [20:03:37]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33307,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398}}} [20:03:37]free response buf [20:03:37]execute_script done [20:03:37]execute_script returns [20:03:37]free content buf [20:03:37]Sock 9.Close socket [20:03:37]Sock 9.Thread stoped [20:03:40]OFD Sender: No OFD packet to send [20:03:45]OFD Sender: No OFD packet to send [20:03:50]OFD Sender: No OFD packet to send [20:03:52]accept exits with 7 [20:03:52]New connection [20:03:52]New thread 3066793316 created [20:03:52]Thread 3066936676 joined [20:03:52]Waiting for new connection... [20:03:52] Sock 7.Parse request [20:03:52]Sock 7.Check first char [20:03:52]Sock 7.First char is OK [20:03:52]request: POST /json_proto HTTP/1.0 [20:03:52]Method: POST [20:03:52]URL: /json_proto [20:03:52]Method is POST - this is cgi request [20:03:52]url: /json_proto [20:03:52]query_string will be loaded in cgi processing [20:03:52]execute_cgi json_proto POST (null) [20:03:52]execute_cgi path=json_proto method=POST [20:03:52]POST find Content-Length [20:03:52]Host: 172.17.35.196:8080 [20:03:52]Content-Length: 678 [20:03:52]Content-Type: application/json [20:03:52] [20:03:52]POST finish read [20:03:52]Found Content-Length = 678 [20:03:52]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)5669833", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.30, "quantity" : 6.040, "sum" : 400.45, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 400.00, "total" : 400.00, "payments": [ { "type": 0, "sum" : 400.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:03:52]execute_script... [20:03: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 : (1)5669833", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.30, "quantity" : 6.040, "sum" : 400.45, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 400.00, "total" : 400.00, "payments": [ { "type": 0, "sum" : 400.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:03:52]POST & json_proto [20:03:52]process_json_proto [20:03:52]json parsed OK: [20:03:52]protocol is kg_v1.0 [20:03:52]action value=close_receipt [20:03:52]process_action close_receipt [20:03:52]cmd_close_receipt [20:03:52]MH_GetDate [20:03:52]Write to MH i2c: F0 00 00 C6 0B C0 [20:03:52]Write i2c OK [20:03:52]MH_I2C_Read... [20:03:52]Read from MH i2c: F0 [20:03:52]MH_I2C_Read... [20:03:52]Read from MH i2c: F0 09 00 [20:03:52]MH_I2C_Read... [20:03:52]Read from MH i2c: F0 09 00 C6 0B 00 AA 3A 90 66 AD 14 F4 65 BD [20:03:52]GetLastDocTimeStamp 1720728214 [20:03:52]current date 1720728234 [20:03:52]FM_GetShiftState [20:03:52]SAM_PROTO_GetShiftState [20:03:52]wFMCommunicate request_size=4 [20:03:52]MH_SAM_APDU [20:03:52]CAPDU: 80 13 01 00 [20:03:52]Write to MH i2c: E2 08 00 C7 0B 80 13 01 00 00 00 00 00 4F [20:03:52]Write i2c OK [20:03:52]MH_I2C_Read... [20:03:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:03:52]Read from MH i2c: E2 [20:03:52]MH_I2C_Read... [20:03:52]Read from MH i2c: E2 0E 00 [20:03:52]MH_I2C_Read... [20:03:52]Read from MH i2c: E2 0E 00 C7 0B 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 80 [20:03:52]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [20:03:52]wFMCommunicate OK [20:03:52]SAM_PROTO_GetShiftState done [20:03:52]FM_GetShiftState done [20:03:52]opened in 1720656398 [20:03:52]opened+sec_in_day 1720742798 [20:03:52]quantity*price = 40045 [20:03:52]sum+1 = 40046 [20:03:52]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.45 ИТОГО: 400.00 Внесено: 400.00 СДАЧА: 0.00 НСП 1% : 3.54 НДС 12% : 42.53 Наличными: 400.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 63 11.07.2024 20:03 Смена: 432 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33308 ФПД: 42472859179433 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T200354&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33308&fm=42472859179433&tin=02508201610067®Number=0000000000093033&sum=40000 [20:03:53]StoreToDocumentArchive [20:03:53]shift 432 fd 33308 [20:03:53]save to /storage/0432/doc_00033308 [20:03:53]save last doc name /storage/0432/doc_00033308 to /storage/kkm_last_doc_name [20:03:53]save OK [20:03:53]Clear old archive folders... [20:03:53]ProcessDocumentItem done err = 0, tmpTLVsize=251 [20:03:53]tlvbuf is 01C91280 [20:03:53]SAM_PROTO_ClearQueue [20:03:53]wFMCommunicate request_size=4 [20:03:53]MH_SAM_APDU [20:03:53]CAPDU: 80 09 00 00 [20:03:53]Write to MH i2c: E2 08 00 D4 0B 80 09 00 00 00 00 00 00 51 [20:03:53]Write i2c OK [20:03:53]MH_I2C_Read... [20:03:53]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:03:53]Read from MH i2c: E2 [20:03:53]MH_I2C_Read... [20:03:53]Read from MH i2c: E2 03 00 [20:03:53]MH_I2C_Read... [20:03:53]Read from MH i2c: E2 03 00 D4 0B 00 90 00 53 [20:03:53]RAPDU: 90 00 [20:03:53]wFMCommunicate OK [20:03:53]SAM_PROTO_ClearQueue done [20:03:53]KKMCreateOFDPacket [20:03:53]OFDProtocolAddRootSTLVToBuf [20:03:53]FM_MakeSignedData [20:03:53]FM_MakeSignedData [20:03:53]SAM_PROTO_SignData [20:03:53]wFMCommunicate request_size=4 [20:03:53]MH_SAM_APDU [20:03:53]CAPDU: 80 0D 01 02 [20:03:53]Write to MH i2c: E2 08 00 D5 0B 80 0D 01 02 00 00 00 00 59 [20:03:53]Write i2c OK [20:03:53]MH_I2C_Read... [20:03:53]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:03:53]Read from MH i2c: E2 [20:03:53]MH_I2C_Read... [20:03:53]Read from MH i2c: E2 03 00 [20:03:53]MH_I2C_Read... [20:03:53]Read from MH i2c: E2 03 00 D5 0B 00 90 00 54 [20:03:53]RAPDU: 90 00 [20:03:53]wFMCommunicate OK [20:03:53]wFMCommunicate request_size=255 [20:03:53]MH_SAM_APDU [20:03:53]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 98 17 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 6D 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9D 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3F 00 00 00 F4 03 04 00 AA 3A 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 1C 82 00 00 35 04 06 00 26 [20:03:53]Write to MH i2c: E2 02 01 D6 0B 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 98 17 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 6D 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9D 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3F 00 00 00 F4 03 04 00 AA 3A 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 1C 82 00 00 35 04 06 00 26 00 00 62 [20:03:53]Write i2c OK [20:03:53]MH_I2C_Read... [20:03:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:03:53]Read from MH i2c: E2 [20:03:53]MH_I2C_Read... [20:03:53]Read from MH i2c: E2 03 00 [20:03:53]MH_I2C_Read... [20:03:53]Read from MH i2c: E2 03 00 D6 0B 00 90 00 55 [20:03:53]RAPDU: 90 00 [20:03:53]wFMCommunicate OK [20:03:53]wFMCommunicate request_size=10 [20:03:53]MH_SAM_APDU [20:03:53]CAPDU: 80 0D 02 02 05 A0 FB AF 19 A9 [20:03:53]Write to MH i2c: E2 0D 00 D7 0B 80 0D 02 02 05 00 A0 FB AF 19 A9 00 00 72 [20:03:53]Write i2c OK [20:03:53]MH_I2C_Read... [20:03:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:03:53]Read from MH i2c: E2 [20:03:53]MH_I2C_Read... [20:03:53]Read from MH i2c: E2 03 00 [20:03:53]MH_I2C_Read... [20:03:53]Read from MH i2c: E2 03 00 D7 0B 00 90 00 56 [20:03:53]RAPDU: 90 00 [20:03:53]wFMCommunicate OK [20:03:53]wFMCommunicate request_size=4 [20:03:53]MH_SAM_APDU [20:03:53]CAPDU: 80 0D 03 02 [20:03:53]Write to MH i2c: E2 08 00 D8 0B 80 0D 03 02 00 00 00 00 5E [20:03:53]Write i2c OK [20:03:53]MH_I2C_Read... [20:03:54]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:03:54]Read from MH i2c: E2 [20:03:54]MH_I2C_Read... [20:03:54]Read from MH i2c: E2 0B 00 [20:03:54]MH_I2C_Read... [20:03:54]Read from MH i2c: E2 0B 00 D8 0B 00 7D F0 E8 1F E6 72 02 2E 90 00 5B [20:03:54]RAPDU: 7D F0 E8 1F E6 72 02 2E 90 00 [20:03:54]wFMCommunicate OK [20:03:54]SAM_PROTO_SignData done [20:03:54]FM_MakeSignedData done [20:03:54]CreateOFDProtocolMessage [20:03:54]wFMCommunicate request_size=4 [20:03:54]MH_SAM_APDU [20:03:54]CAPDU: 80 11 00 00 [20:03:54]Write to MH i2c: E2 08 00 D9 0B 80 11 00 00 00 00 00 00 5E [20:03:54]Write i2c OK [20:03:54]MH_I2C_Read... [20:03:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:03:54]Read from MH i2c: E2 [20:03:54]MH_I2C_Read... [20:03:54]Read from MH i2c: E2 17 00 [20:03:54]MH_I2C_Read... [20:03:54]Read from MH i2c: E2 17 00 D9 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 AA [20:03:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [20:03:54]wFMCommunicate OK [20:03:54]CreateOFDProtocolMessage done [20:03:54]OFDSenderStorePacket 33308 [20:03:54]StoreOFDPacket docnum=33308 [20:03:54]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0F 01 00 00 22 11 07 01 3C 4C 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 98 17 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 6D 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9D 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3F 00 00 00 F4 03 04 00 AA 3A 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 1C 82 00 00 35 04 06 00 26 A0 FB AF 19 A9 7D F0 E8 1F E6 72 02 2E [20:03:54]CheckFolder [20:03:54]dirname=/storage/ofd_packets [20:03:54]CheckFolder done [20:03:54]ProducePacketName [20:03:54]name=ofd_packets/00033308 [20:03:54]NVStorageSaveData ofd_packets/00033308 [20:03:54]File name is /storage/ofd_packets/00033308 [20:03:54]Write 301 bytes [20:03:54]NVStorageSaveData done [20:03:54]OFDSenderStorePacket done [20:03:54]KKMCreateOFDPacket done [20:03:54]NVStorageSaveData kkm_last_timestamp [20:03:54]File name is /storage/kkm_last_timestamp [20:03:54]Write 4 bytes [20:03:54]NVStorageSaveData done [20:03:54]ExternCall_PrintAddStr [20:03:54]wPrintStart [20:03:54]Write to MH i2c: 01 00 00 DA 0B E5 [20:03:54]Write i2c OK [20:03:54]MH_I2C_Read... [20:03:54]Read from MH i2c: 01 [20:03:54]MH_I2C_Read... [20:03:54]Read from MH i2c: 01 07 00 [20:03:54]MH_I2C_Read... [20:03:54]Read from MH i2c: 01 07 00 DA 0B 00 00 00 00 00 FF 0F FA [20:03:54]RasterBufferAndPrint [20:03:54]line Счет N : (1)5669833 [20:03:54]line ИНН: 02508201610067 [20:03:54]line Контрольно-Кассовый Чек [20:03:54]line ПРОДАЖА [20:03:54]line ТРК (МРК, ГНК) : 43 [20:03:54]line Товар: 2710124130 [20:03:54]line Аи-92-К-5 [20:03:54]line 6.040 * 66.30 [20:03:54]line = 400.45 [20:03:54]line НДС 12% НСП 1% [20:03:54]line > о реализуемом товаре [20:03:54]line ОКРУГЛЕНИЕ: -0.45 [20:03:54]line ИТОГО: 400.00 [20:03:54]line Внесено: 400.00 [20:03:54]line СДАЧА: 0.00 [20:03:54]line НСП 1% : 3.54 [20:03:54]line НДС 12% : 42.53 [20:03:54]line Наличными: 400.00 [20:03:54]line Безнал.: 0.00 [20:03:54]line Место: АЗС № 77 "Партнер Нефть" [20:03:54]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [20:03:54]line СНО: Общий режим [20:03:54]line Чек 63 11.07.2024 20:03 [20:03:54]line Смена: 432 ФФД: 1.0 [20:03:54]line ЗНМ: 0300000122 [20:03:54]line РНМ: 0000000000093033 [20:03:54]line Версия ККМ: 001 [20:03:54]line ФМ: 0000000000875104 [20:03:54]line ФД: 33308 [20:03:54]line ФПД: 42472859179433 [20:03:54]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T200354&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33308&fm=42472859179433&tin=02508201610067®Number=0000000000093033&sum=40000 [20:03:54]written 0, free lines is 4095 [20:03:54]OFD Sender: Processing packet 33308 [packets to send 6, broken 5] [20:03:54]ProducePacketName [20:03:54]name=ofd_packets/00033308 [20:03:54]OFD Sender: To server: pG, [20:03:54]CommunicateWithHost lk.salyk.kg:30040 [20:03:54]ConnectInit lk.salyk.kg [20:03:54]Connected sock=10 [20: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 35 31 30 34 0F 01 00 00 22 11 07 01 3C 4C 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 98 17 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 6D 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9D 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3F 00 00 00 F4 03 04 00 AA 3A 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 1C 82 00 00 35 04 06 00 26 A0 FB AF 19 A9 7D F0 E8 1F E6 72 02 2E [20:03:54]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 15 3D 47 00 73 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 35 31 30 34 10 04 04 00 1C 82 00 00 F4 03 04 00 59 E5 8F 66 B6 04 01 00 00 42 35 DD 3F 62 2F 11 63 [20:03:54]CommunicateWithHost err = 0 [20:03:54]CheckOFDResponse [20:03:54]1017 (14) - 77093643461234 [20:03:54]1041 (16) - 0000000000875104 [20:03:54]1040 (4) - 33308 [20:03:54]1012 (4) - 11.07.2024 13:59 [20:03:54]1206 (1) - 0 [20:03:54]OFD Sender: Remove packet 33308 [20:03:54]ProducePacketName [20:03:54]name=ofd_packets/00033308 [20:03:54]NVStorageDeleteData [20:03:54]Write to MH i2c: 01 00 00 05 0C 11 [20:03:54]Write i2c OK [20:03:54]MH_I2C_Read... [20:03:54]Read from MH i2c: 01 [20:03:54]MH_I2C_Read... [20:03:54]Read from MH i2c: 01 07 00 [20:03:54]MH_I2C_Read... [20:03:54]Read from MH i2c: 01 07 00 05 0C 00 00 00 00 00 E1 0C 05 [20:03:54]RasterBufferAndPrint [20:03:54]line [20:03:54]line [20:03:54]line [20:03:54]line [20:03:54]line [20:03:54]written 0, free lines is 3303 [20:03:54]MH_Cut [20:03:54]Write to MH i2c: D1 01 00 0C 0C 01 EA [20:03:54]Write i2c OK [20:03:54]MH_I2C_Read... [20:03:54]Read from MH i2c: D1 [20:03:54]MH_I2C_Read... [20:03:54]Read from MH i2c: D1 01 00 [20:03:54]MH_I2C_Read... [20:03:54]Read from MH i2c: D1 01 00 0C 0C 00 E9 [20:03:54]Write to MH i2c: 01 00 00 0D 0C 19 [20:03:54]Write i2c OK [20:03:54]MH_I2C_Read... [20:03:55]OFD Sender: No OFD packet to send [20:03:55]*** Cut start [20:03:55]*** Partial cut [20:03:55]*** CUTSNS_PIN = 1 [20:03:55]*** CUTSNS_PIN = 0 [20:03:55]*** Brake cut motor [20:03:56]Read from MH i2c: 01 [20:03:56]MH_I2C_Read... [20:03:56]*** Stop cut motor [20:03:56]*** Cut end [20:03:56]Read from MH i2c: 01 07 00 [20:03:56]MH_I2C_Read... [20:03:56]Read from MH i2c: 01 07 00 0D 0C 00 00 00 00 00 FF 0F 2E [20:03:56]process_action close_receipt done [20:03:56]requested_data is exist [20:03:56]produce_requested_data [20:03:56]requested_item fm.sn is exist - process it [20:03:56]wFMCommunicate request_size=4 [20:03:56]MH_SAM_APDU [20:03:56]CAPDU: 80 11 00 00 [20:03:56]Write to MH i2c: E2 08 00 0E 0C 80 11 00 00 00 00 00 00 94 [20:03:56]Write i2c OK [20:03:56]MH_I2C_Read... [20:03:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:03:56]Read from MH i2c: E2 [20:03:56]MH_I2C_Read... [20:03:56]Read from MH i2c: E2 17 00 [20:03:56]MH_I2C_Read... [20:03:56]Read from MH i2c: E2 17 00 0E 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 E0 [20:03:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [20:03:56]wFMCommunicate OK [20:03:56]requested_item fd.num is exist - process it [20:03:56]SAM_PROTO_GetFieldsCounters [20:03:56]wFMCommunicate request_size=4 [20:03:56]MH_SAM_APDU [20:03:56]CAPDU: 80 13 00 00 [20:03:56]Write to MH i2c: E2 08 00 0F 0C 80 13 00 00 00 00 00 00 97 [20:03:56]Write i2c OK [20:03:56]MH_I2C_Read... [20:03:56]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:03:56]Read from MH i2c: E2 [20:03:56]MH_I2C_Read... [20:03:56]Read from MH i2c: E2 62 00 [20:03:56]MH_I2C_Read... [20:03:56]Read from MH i2c: E2 62 00 0F 0C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 1C 82 00 00 0E 04 04 00 B0 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 B6 [20:03: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 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 1C 82 00 00 0E 04 04 00 B0 01 00 00 12 04 04 00 3F 00 00 00 5E 04 04 00 3F 00 00 00 57 04 04 00 40 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:03:56]wFMCommunicate OK [20:03:56]SAM_PROTO_GetFieldsCounters done [20:03:56]requested_item shift.num is exist - process it [20:03:56]requested_item shift.opened is exist - process it [20:03:56]req_shift_opened [20:03:56]FM_GetShiftState [20:03:56]SAM_PROTO_GetShiftState [20:03:56]wFMCommunicate request_size=4 [20:03:56]MH_SAM_APDU [20:03:56]CAPDU: 80 13 01 00 [20:03:56]Write to MH i2c: E2 08 00 10 0C 80 13 01 00 00 00 00 00 99 [20:03:56]Write i2c OK [20:03:56]MH_I2C_Read... [20:03:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:03:56]Read from MH i2c: E2 [20:03:56]MH_I2C_Read... [20:03:56]Read from MH i2c: E2 0E 00 [20:03:56]MH_I2C_Read... [20:03:56]Read from MH i2c: E2 0E 00 10 0C 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 CA [20:03:56]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [20:03:56]wFMCommunicate OK [20:03:56]SAM_PROTO_GetShiftState done [20:03:56]FM_GetShiftState done [20:03:56]req_shift_opened done [20:03:56]requested_item shift.open_date is exist - process it [20:03:56]req_shift_open_date [20:03:56]req_shift_open_date done [20:03:56]produce_requested_data done [20:03:56]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33308,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398} [20:03:56]process_action_free close_receipt [20:03:56]json_value_free [20:03:56]json_value_free done [20:03:56]process_json_proto returns [20:03:56]Send response to host [20:03:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33308,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398}}} [20:03:56]free response buf [20:03:56]execute_script done [20:03:56]execute_script returns [20:03:56]free content buf [20:03:56]Sock 7.Close socket [20:03:56]Sock 7.Thread stoped [20:04:00]OFD Sender: No OFD packet to send [20:04:05]OFD Sender: No OFD packet to send [20:04:10]OFD Sender: No OFD packet to send [20:04:15]OFD Sender: No OFD packet to send [20:04:20]OFD Sender: No OFD packet to send [20:04:25]OFD Sender: No OFD packet to send [20:04:30]OFD Sender: No OFD packet to send [20:04:33]accept exits with 9 [20:04:33]New connection [20:04:33]New thread 3066936676 created [20:04:33]Thread 3066793316 joined [20:04:33]Waiting for new connection... [20:04:33] Sock 9.Parse request [20:04:33]Sock 9.Check first char [20:04:33]Sock 9.First char is OK [20:04:33]request: POST /json_proto HTTP/1.0 [20:04:33]Method: POST [20:04:33]URL: /json_proto [20:04:33]Method is POST - this is cgi request [20:04:33]url: /json_proto [20:04:33]query_string will be loaded in cgi processing [20:04:33]execute_cgi json_proto POST (null) [20:04:33]execute_cgi path=json_proto method=POST [20:04:33]POST find Content-Length [20:04:33]Host: 172.17.35.196:8080 [20:04:33]Content-Length: 984 [20:04:33]Content-Type: application/json [20:04:33] [20:04:33]POST finish read [20:04:33]Found Content-Length = 984 [20:04:33]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)5669835", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 13", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 65.30, "quantity" : 22.980, "sum" : 1500.59, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u000A\u0414\u0438\u0441\u043A\u043E\u043D\u0442\u043D\u0430\u044F \u043F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u0430\u000A\u0410\u0418-92\u000A\u043D\u043E\u043C\u0435\u0440 77\u000A\u0441\u044D\u043A\u043E\u043D\u043E\u043C\u043B\u0435\u043D\u043E 22.98 \u0441\u043E\u043C", "deposit" : 1500.00, "total" : 1500.00, "payments": [ { "type": 0, "sum" : 1500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:04:33]execute_script... [20:04:33]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)5669835", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 13", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 65.30, "quantity" : 22.980, "sum" : 1500.59, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u000A\u0414\u0438\u0441\u043A\u043E\u043D\u0442\u043D\u0430\u044F \u043F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u0430\u000A\u0410\u0418-92\u000A\u043D\u043E\u043C\u0435\u0440 77\u000A\u0441\u044D\u043A\u043E\u043D\u043E\u043C\u043B\u0435\u043D\u043E 22.98 \u0441\u043E\u043C", "deposit" : 1500.00, "total" : 1500.00, "payments": [ { "type": 0, "sum" : 1500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:04:33]POST & json_proto [20:04:33]process_json_proto [20:04:33]json parsed OK: [20:04:33]protocol is kg_v1.0 [20:04:33]action value=close_receipt [20:04:33]process_action close_receipt [20:04:33]cmd_close_receipt [20:04:33]MH_GetDate [20:04:33]Write to MH i2c: F0 00 00 11 0C 0C [20:04:33]Write i2c OK [20:04:33]MH_I2C_Read... [20:04:33]Read from MH i2c: F0 [20:04:33]MH_I2C_Read... [20:04:33]Read from MH i2c: F0 09 00 [20:04:33]MH_I2C_Read... [20:04:33]Read from MH i2c: F0 09 00 11 0C 00 D3 3A 90 66 AD 14 F4 65 32 [20:04:33]GetLastDocTimeStamp 1720728234 [20:04:33]current date 1720728275 [20:04:33]FM_GetShiftState [20:04:33]SAM_PROTO_GetShiftState [20:04:33]wFMCommunicate request_size=4 [20:04:33]MH_SAM_APDU [20:04:33]CAPDU: 80 13 01 00 [20:04:33]Write to MH i2c: E2 08 00 12 0C 80 13 01 00 00 00 00 00 9B [20:04:33]Write i2c OK [20:04:33]MH_I2C_Read... [20:04:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:04:33]Read from MH i2c: E2 [20:04:33]MH_I2C_Read... [20:04:33]Read from MH i2c: E2 0E 00 [20:04:33]MH_I2C_Read... [20:04:33]Read from MH i2c: E2 0E 00 12 0C 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 CC [20:04:33]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [20:04:33]wFMCommunicate OK [20:04:33]SAM_PROTO_GetShiftState done [20:04:33]FM_GetShiftState done [20:04:33]opened in 1720656398 [20:04:33]opened+sec_in_day 1720742798 [20:04:33]quantity*price = 150059 [20:04:33]sum+1 = 150060 [20:04:33]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.59 ИТОГО: 1500.00 Внесено: 1500.00 СДАЧА: 0.00 НСП 1% : 13.28 НДС 12% : 159.35 Наличными: 1500.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 64 11.07.2024 20:04 Смена: 432 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 Дисконтная программа АИ-92 номер 77 сэкономлено 22.98 сом ФМ: 0000000000875104 ФД: 33309 ФПД: 45023967268772 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T200435&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33309&fm=45023967268772&tin=02508201610067®Number=0000000000093033&sum=150000 [20:04:34]StoreToDocumentArchive [20:04:34]shift 432 fd 33309 [20:04:34]save to /storage/0432/doc_00033309 [20:04:34]save last doc name /storage/0432/doc_00033309 to /storage/kkm_last_doc_name [20:04:34]save OK [20:04:34]Clear old archive folders... [20:04:34]ProcessDocumentItem done err = 0, tmpTLVsize=251 [20:04:34]tlvbuf is 01CB6570 [20:04:34]SAM_PROTO_ClearQueue [20:04:34]wFMCommunicate request_size=4 [20:04:34]MH_SAM_APDU [20:04:34]CAPDU: 80 09 00 00 [20:04:34]Write to MH i2c: E2 08 00 1F 0C 80 09 00 00 00 00 00 00 9D [20:04:34]Write i2c OK [20:04:34]MH_I2C_Read... [20:04:34]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:04:34]Read from MH i2c: E2 [20:04:34]MH_I2C_Read... [20:04:34]Read from MH i2c: E2 03 00 [20:04:34]MH_I2C_Read... [20:04:34]Read from MH i2c: E2 03 00 1F 0C 00 90 00 9F [20:04:34]RAPDU: 90 00 [20:04:34]wFMCommunicate OK [20:04:34]SAM_PROTO_ClearQueue done [20:04:34]KKMCreateOFDPacket [20:04:34]OFDProtocolAddRootSTLVToBuf [20:04:34]FM_MakeSignedData [20:04:34]FM_MakeSignedData [20:04:34]SAM_PROTO_SignData [20:04:34]wFMCommunicate request_size=4 [20:04:34]MH_SAM_APDU [20:04:34]CAPDU: 80 0D 01 02 [20:04:34]Write to MH i2c: E2 08 00 20 0C 80 0D 01 02 00 00 00 00 A5 [20:04:34]Write i2c OK [20:04:34]MH_I2C_Read... [20:04:34]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:04:35]Read from MH i2c: E2 [20:04:35]MH_I2C_Read... [20:04:35]Read from MH i2c: E2 03 00 [20:04:35]MH_I2C_Read... [20:04:35]Read from MH i2c: E2 03 00 20 0C 00 90 00 A0 [20:04:35]RAPDU: 90 00 [20:04:35]wFMCommunicate OK [20:04:35]wFMCommunicate request_size=255 [20:04:35]MH_SAM_APDU [20:04:35]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 C4 59 00 00 00 00 00 37 04 06 00 82 19 00 00 00 00 13 04 06 00 2B 4A 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 49 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3F 3E 00 00 00 00 07 04 06 00 F0 49 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 D3 3A 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 1D 82 00 00 35 04 06 00 28 [20:04:35]Write to MH i2c: E2 02 01 21 0C 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 C4 59 00 00 00 00 00 37 04 06 00 82 19 00 00 00 00 13 04 06 00 2B 4A 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 49 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3F 3E 00 00 00 00 07 04 06 00 F0 49 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 D3 3A 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 1D 82 00 00 35 04 06 00 28 00 00 B3 [20:04:35]Write i2c OK [20:04:35]MH_I2C_Read... [20:04:35]OFD Sender: No OFD packet to send [20:04:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:04:35]Read from MH i2c: E2 [20:04:35]MH_I2C_Read... [20:04:35]Read from MH i2c: E2 03 00 [20:04:35]MH_I2C_Read... [20:04:35]Read from MH i2c: E2 03 00 21 0C 00 90 00 A1 [20:04:35]RAPDU: 90 00 [20:04:35]wFMCommunicate OK [20:04:35]wFMCommunicate request_size=10 [20:04:35]MH_SAM_APDU [20:04:35]CAPDU: 80 0D 02 02 05 F2 F5 93 4F A4 [20:04:35]Write to MH i2c: E2 0D 00 22 0C 80 0D 02 02 05 00 F2 F5 93 4F A4 00 00 1F [20:04:35]Write i2c OK [20:04:35]MH_I2C_Read... [20:04:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:04:35]Read from MH i2c: E2 [20:04:35]MH_I2C_Read... [20:04:35]Read from MH i2c: E2 03 00 [20:04:35]MH_I2C_Read... [20:04:35]Read from MH i2c: E2 03 00 22 0C 00 90 00 A2 [20:04:35]RAPDU: 90 00 [20:04:35]wFMCommunicate OK [20:04:35]wFMCommunicate request_size=4 [20:04:35]MH_SAM_APDU [20:04:35]CAPDU: 80 0D 03 02 [20:04:35]Write to MH i2c: E2 08 00 23 0C 80 0D 03 02 00 00 00 00 AA [20:04:35]Write i2c OK [20:04:35]MH_I2C_Read... [20:04:35]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:04:35]Read from MH i2c: E2 [20:04:35]MH_I2C_Read... [20:04:35]Read from MH i2c: E2 0B 00 [20:04:35]MH_I2C_Read... [20:04:35]Read from MH i2c: E2 0B 00 23 0C 00 EE 39 65 17 F1 1B 86 63 90 00 43 [20:04:35]RAPDU: EE 39 65 17 F1 1B 86 63 90 00 [20:04:35]wFMCommunicate OK [20:04:35]SAM_PROTO_SignData done [20:04:35]FM_MakeSignedData done [20:04:35]CreateOFDProtocolMessage [20:04:35]wFMCommunicate request_size=4 [20:04:35]MH_SAM_APDU [20:04:35]CAPDU: 80 11 00 00 [20:04:35]Write to MH i2c: E2 08 00 24 0C 80 11 00 00 00 00 00 00 AA [20:04:35]Write i2c OK [20:04:35]MH_I2C_Read... [20:04:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:04:35]Read from MH i2c: E2 [20:04:35]MH_I2C_Read... [20:04:35]Read from MH i2c: E2 17 00 [20:04:35]MH_I2C_Read... [20:04:35]Read from MH i2c: E2 17 00 24 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 F6 [20:04:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [20:04:35]wFMCommunicate OK [20:04:35]CreateOFDProtocolMessage done [20:04:35]OFDSenderStorePacket 33309 [20:04:35]StoreOFDPacket docnum=33309 [20:04:35]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0F 01 00 00 58 EF 07 01 2B 1D 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 C4 59 00 00 00 00 00 37 04 06 00 82 19 00 00 00 00 13 04 06 00 2B 4A 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 49 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3F 3E 00 00 00 00 07 04 06 00 F0 49 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 D3 3A 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 1D 82 00 00 35 04 06 00 28 F2 F5 93 4F A4 EE 39 65 17 F1 1B 86 63 [20:04:35]CheckFolder [20:04:35]dirname=/storage/ofd_packets [20:04:35]CheckFolder done [20:04:35]ProducePacketName [20:04:35]name=ofd_packets/00033309 [20:04:35]NVStorageSaveData ofd_packets/00033309 [20:04:35]File name is /storage/ofd_packets/00033309 [20:04:35]Write 301 bytes [20:04:35]NVStorageSaveData done [20:04:35]OFDSenderStorePacket done [20:04:35]KKMCreateOFDPacket done [20:04:35]NVStorageSaveData kkm_last_timestamp [20:04:35]File name is /storage/kkm_last_timestamp [20:04:35]Write 4 bytes [20:04:35]NVStorageSaveData done [20:04:35]ExternCall_PrintAddStr [20:04:35]wPrintStart [20:04:35]Write to MH i2c: 01 00 00 25 0C 31 [20:04:35]Write i2c OK [20:04:35]MH_I2C_Read... [20:04:35]Read from MH i2c: 01 [20:04:35]MH_I2C_Read... [20:04:35]Read from MH i2c: 01 07 00 [20:04:35]MH_I2C_Read... [20:04:35]Read from MH i2c: 01 07 00 25 0C 00 00 00 00 00 FF 0F 46 [20:04:35]RasterBufferAndPrint [20:04:35]line Счет N : (1)5669835 [20:04:35]line ИНН: 02508201610067 [20:04:35]line Контрольно-Кассовый Чек [20:04:35]line ПРОДАЖА [20:04:35]line ТРК (МРК, ГНК) : 13 [20:04:35]line Товар: 2710124130 [20:04:35]line Аи-92-К-5 [20:04:35]line 22.980 * 65.30 [20:04:35]line = 1500.59 [20:04:35]line НДС 12% НСП 1% [20:04:35]line > о реализуемом товаре [20:04:35]line ОКРУГЛЕНИЕ: -0.59 [20:04:35]line ИТОГО: 1500.00 [20:04:35]line Внесено: 1500.00 [20:04:35]line СДАЧА: 0.00 [20:04:35]line НСП 1% : 13.28 [20:04:35]line НДС 12% : 159.35 [20:04:35]line Наличными: 1500.00 [20:04:35]line Безнал.: 0.00 [20:04:35]line Место: АЗС № 77 "Партнер Нефть" [20:04:35]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [20:04:35]line СНО: Общий режим [20:04:35]line Чек 64 11.07.2024 20:04 [20:04:35]line Смена: 432 ФФД: 1.0 [20:04:35]line ЗНМ: 0300000122 [20:04:35]line РНМ: 0000000000093033 [20:04:35]line Версия ККМ: 001 [20:04:35]line [20:04:35]line Дисконтная программа [20:04:35]line АИ-92 [20:04:35]line номер 77 [20:04:35]line сэкономлено 22.98 сом [20:04:35]line ФМ: 0000000000875104 [20:04:35]line ФД: 33309 [20:04:35]line ФПД: 45023967268772 [20:04:35]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T200435&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33309&fm=45023967268772&tin=02508201610067®Number=0000000000093033&sum=150000 [20:04:35]OFD Sender: Processing packet 33309 [packets to send 6, broken 5] [20:04:35]ProducePacketName [20:04:35]name=ofd_packets/00033309 [20:04:35]OFD Sender: To server: pG, [20:04:35]CommunicateWithHost lk.salyk.kg:30040 [20:04:35]ConnectInit lk.salyk.kg [20:04:35]written 0, free lines is 4095 [20:04:35]Connected sock=10 [20:04:35]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0F 01 00 00 58 EF 07 01 2B 1D 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 C4 59 00 00 00 00 00 37 04 06 00 82 19 00 00 00 00 13 04 06 00 2B 4A 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 49 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3F 3E 00 00 00 00 07 04 06 00 F0 49 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 D3 3A 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 1D 82 00 00 35 04 06 00 28 F2 F5 93 4F A4 EE 39 65 17 F1 1B 86 63 [20:04:36]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 E5 20 47 00 5F 4F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 35 31 30 34 10 04 04 00 1D 82 00 00 F4 03 04 00 82 E5 8F 66 B6 04 01 00 00 28 FA 68 8C A2 0D 97 47 [20:04:36]CommunicateWithHost err = 0 [20:04:36]CheckOFDResponse [20:04:36]1017 (14) - 77093643461234 [20:04:36]1041 (16) - 0000000000875104 [20:04:36]1040 (4) - 33309 [20:04:36]1012 (4) - 11.07.2024 14:00 [20:04:36]1206 (1) - 0 [20:04:36]OFD Sender: Remove packet 33309 [20:04:36]ProducePacketName [20:04:36]name=ofd_packets/00033309 [20:04:36]NVStorageDeleteData [20:04:36]Write to MH i2c: 01 00 00 55 0C 61 [20:04:36]Write i2c OK [20:04:36]MH_I2C_Read... [20:04:36]Read from MH i2c: 01 [20:04:36]MH_I2C_Read... [20:04:36]Read from MH i2c: 01 07 00 [20:04:36]MH_I2C_Read... [20:04:36]Read from MH i2c: 01 07 00 55 0C 00 00 00 00 00 8D 0C 01 [20:04:36]RasterBufferAndPrint [20:04:36]line [20:04:36]line [20:04:36]line [20:04:36]line [20:04:36]line [20:04:36]written 0, free lines is 3220 [20:04:36]MH_Cut [20:04:36]Write to MH i2c: D1 01 00 5C 0C 01 3A [20:04:36]Write i2c OK [20:04:36]MH_I2C_Read... [20:04:36]Read from MH i2c: D1 [20:04:36]MH_I2C_Read... [20:04:36]Read from MH i2c: D1 01 00 [20:04:36]MH_I2C_Read... [20:04:36]Read from MH i2c: D1 01 00 5C 0C 00 39 [20:04:36]Write to MH i2c: 01 00 00 5D 0C 69 [20:04:36]Write i2c OK [20:04:36]MH_I2C_Read... [20:04:36]OFD Sender: No OFD packet to send [20:04:37]*** Cut start [20:04:37]*** Partial cut [20:04:37]*** CUTSNS_PIN = 1 [20:04:37]*** CUTSNS_PIN = 0 [20:04:37]*** Brake cut motor [20:04:37]Read from MH i2c: 01 [20:04:37]MH_I2C_Read... [20:04:37]*** Stop cut motor [20:04:37]*** Cut end [20:04:37]Read from MH i2c: 01 07 00 [20:04:37]MH_I2C_Read... [20:04:37]Read from MH i2c: 01 07 00 5D 0C 00 00 00 00 00 FF 0F 7E [20:04:37]process_action close_receipt done [20:04:37]requested_data is exist [20:04:37]produce_requested_data [20:04:37]requested_item fm.sn is exist - process it [20:04:37]wFMCommunicate request_size=4 [20:04:37]MH_SAM_APDU [20:04:37]CAPDU: 80 11 00 00 [20:04:37]Write to MH i2c: E2 08 00 5E 0C 80 11 00 00 00 00 00 00 E4 [20:04:37]Write i2c OK [20:04:37]MH_I2C_Read... [20:04:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:04:37]Read from MH i2c: E2 [20:04:37]MH_I2C_Read... [20:04:37]Read from MH i2c: E2 17 00 [20:04:37]MH_I2C_Read... [20:04:37]Read from MH i2c: E2 17 00 5E 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 30 [20:04:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [20:04:37]wFMCommunicate OK [20:04:37]requested_item fd.num is exist - process it [20:04:37]SAM_PROTO_GetFieldsCounters [20:04:37]wFMCommunicate request_size=4 [20:04:37]MH_SAM_APDU [20:04:37]CAPDU: 80 13 00 00 [20:04:37]Write to MH i2c: E2 08 00 5F 0C 80 13 00 00 00 00 00 00 E7 [20:04:37]Write i2c OK [20:04:37]MH_I2C_Read... [20:04:37]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:04:37]Read from MH i2c: E2 [20:04:37]MH_I2C_Read... [20:04:37]Read from MH i2c: E2 62 00 [20:04:37]MH_I2C_Read... [20:04:37]Read from MH i2c: E2 62 00 5F 0C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 1D 82 00 00 0E 04 04 00 B0 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 0A [20:04:37]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 1D 82 00 00 0E 04 04 00 B0 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 [20:04:37]wFMCommunicate OK [20:04:37]SAM_PROTO_GetFieldsCounters done [20:04:37]requested_item shift.num is exist - process it [20:04:37]requested_item shift.opened is exist - process it [20:04:37]req_shift_opened [20:04:37]FM_GetShiftState [20:04:37]SAM_PROTO_GetShiftState [20:04:37]wFMCommunicate request_size=4 [20:04:37]MH_SAM_APDU [20:04:37]CAPDU: 80 13 01 00 [20:04:37]Write to MH i2c: E2 08 00 60 0C 80 13 01 00 00 00 00 00 E9 [20:04:37]Write i2c OK [20:04:37]MH_I2C_Read... [20:04:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:04:38]Read from MH i2c: E2 [20:04:38]MH_I2C_Read... [20:04:38]Read from MH i2c: E2 0E 00 [20:04:38]MH_I2C_Read... [20:04:38]Read from MH i2c: E2 0E 00 60 0C 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 1A [20:04:38]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [20:04:38]wFMCommunicate OK [20:04:38]SAM_PROTO_GetShiftState done [20:04:38]FM_GetShiftState done [20:04:38]req_shift_opened done [20:04:38]requested_item shift.open_date is exist - process it [20:04:38]req_shift_open_date [20:04:38]req_shift_open_date done [20:04:38]produce_requested_data done [20:04:38]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33309,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398} [20:04:38]process_action_free close_receipt [20:04:38]json_value_free [20:04:38]json_value_free done [20:04:38]process_json_proto returns [20:04:38]Send response to host [20:04:38]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33309,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398}}} [20:04:38]free response buf [20:04:38]execute_script done [20:04:38]execute_script returns [20:04:38]free content buf [20:04:38]Sock 9.Close socket [20:04:38]Sock 9.Thread stoped [20:04:41]OFD Sender: No OFD packet to send [20:04:46]OFD Sender: No OFD packet to send [20:04:51]OFD Sender: No OFD packet to send [20:04:56]OFD Sender: No OFD packet to send [20:05:01]OFD Sender: No OFD packet to send [20:05:06]OFD Sender: No OFD packet to send [20:05:11]OFD Sender: No OFD packet to send [20:05:16]OFD Sender: No OFD packet to send [20:05:21]OFD Sender: No OFD packet to send [20:05:26]OFD Sender: No OFD packet to send [20:05:31]OFD Sender: No OFD packet to send [20:05:36]OFD Sender: No OFD packet to send [20:05:41]OFD Sender: No OFD packet to send [20:05:46]OFD Sender: No OFD packet to send [20:05:51]OFD Sender: No OFD packet to send [20:05:56]OFD Sender: No OFD packet to send [20:06:01]OFD Sender: No OFD packet to send [20:06:06]OFD Sender: No OFD packet to send [20:06:11]OFD Sender: No OFD packet to send [20:06:16]OFD Sender: No OFD packet to send [20:06:21]OFD Sender: No OFD packet to send [20:06:26]OFD Sender: No OFD packet to send [20:06:31]OFD Sender: No OFD packet to send [20:06:36]OFD Sender: No OFD packet to send [20:06:41]OFD Sender: No OFD packet to send [20:06:46]OFD Sender: No OFD packet to send [20:06:51]OFD Sender: No OFD packet to send [20:06:56]OFD Sender: No OFD packet to send [20:07:01]OFD Sender: No OFD packet to send [20:07:06]OFD Sender: No OFD packet to send [20:07:11]OFD Sender: No OFD packet to send [20:07:16]OFD Sender: No OFD packet to send [20:07:21]OFD Sender: No OFD packet to send [20:07:26]OFD Sender: No OFD packet to send [20:07:31]OFD Sender: No OFD packet to send [20:07:36]OFD Sender: No OFD packet to send [20:07:41]OFD Sender: No OFD packet to send [20:07:46]OFD Sender: No OFD packet to send [20:07:51]OFD Sender: No OFD packet to send [20:07:56]OFD Sender: No OFD packet to send [20:08:01]OFD Sender: No OFD packet to send [20:08:06]OFD Sender: No OFD packet to send [20:08:11]OFD Sender: No OFD packet to send [20:08:16]OFD Sender: No OFD packet to send [20:08:21]OFD Sender: No OFD packet to send [20:08:26]OFD Sender: No OFD packet to send [20:08:31]OFD Sender: No OFD packet to send [20:08:36]OFD Sender: No OFD packet to send [20:08:41]OFD Sender: No OFD packet to send [20:08:46]OFD Sender: No OFD packet to send [20:08:51]OFD Sender: No OFD packet to send [20:08:56]OFD Sender: No OFD packet to send [20:09:01]OFD Sender: No OFD packet to send [20:09:06]OFD Sender: No OFD packet to send [20:09:11]OFD Sender: No OFD packet to send [20:09:16]OFD Sender: No OFD packet to send [20:09:21]OFD Sender: No OFD packet to send [20:09:26]OFD Sender: No OFD packet to send [20:09:31]OFD Sender: No OFD packet to send [20:09:36]OFD Sender: No OFD packet to send [20:09:41]OFD Sender: No OFD packet to send [20:09:46]OFD Sender: No OFD packet to send [20:09:51]OFD Sender: No OFD packet to send [20:09:56]OFD Sender: No OFD packet to send [20:10:01]OFD Sender: No OFD packet to send [20:10:06]OFD Sender: No OFD packet to send [20:10:11]OFD Sender: No OFD packet to send [20:10:16]OFD Sender: No OFD packet to send [20:10:21]OFD Sender: No OFD packet to send [20:10:26]OFD Sender: No OFD packet to send [20:10:31]OFD Sender: No OFD packet to send [20:10:36]OFD Sender: No OFD packet to send [20:10:41]OFD Sender: No OFD packet to send [20:10:46]OFD Sender: No OFD packet to send [20:10:51]OFD Sender: No OFD packet to send [20:10:56]OFD Sender: No OFD packet to send [20:11:01]OFD Sender: No OFD packet to send [20:11:06]OFD Sender: No OFD packet to send [20:11:11]OFD Sender: No OFD packet to send [20:11:16]OFD Sender: No OFD packet to send [20:11:21]OFD Sender: No OFD packet to send [20:11:26]OFD Sender: No OFD packet to send [20:11:31]OFD Sender: No OFD packet to send [20:11:36]OFD Sender: No OFD packet to send [20:11:41]OFD Sender: No OFD packet to send [20:11:46]OFD Sender: No OFD packet to send [20:11:51]OFD Sender: No OFD packet to send [20:11:56]OFD Sender: No OFD packet to send [20:12:01]OFD Sender: No OFD packet to send [20:12:06]OFD Sender: No OFD packet to send [20:12:08]accept exits with 7 [20:12:08]New connection [20:12:08]New thread 3066793316 created [20:12:08]Thread 3066936676 joined [20:12:08]Waiting for new connection... [20:12:08] Sock 7.Parse request [20:12:08]Sock 7.Check first char [20:12:08]Sock 7.First char is OK [20:12:08]request: POST /json_proto HTTP/1.0 [20:12:08]Method: POST [20:12:08]URL: /json_proto [20:12:08]Method is POST - this is cgi request [20:12:08]url: /json_proto [20:12:08]query_string will be loaded in cgi processing [20:12:08]execute_cgi json_proto POST (null) [20:12:08]execute_cgi path=json_proto method=POST [20:12:08]POST find Content-Length [20:12:08]Host: 172.17.35.196:8080 [20:12:08]Content-Length: 624 [20:12:08]Content-Type: application/json [20:12:08] [20:12:08]POST finish read [20:12:08]Found Content-Length = 624 [20:12:08]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169132", "tax_sys" : 0, "items" : [ { "code": "48744683", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Caster+", "price" : 143.00, "quantity" : 1.000, "sum" : 143.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 143.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:12:08]execute_script... [20:12:08]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169132", "tax_sys" : 0, "items" : [ { "code": "48744683", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Caster+", "price" : 143.00, "quantity" : 1.000, "sum" : 143.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 143.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:12:08]POST & json_proto [20:12:08]process_json_proto [20:12:08]json parsed OK: [20:12:08]protocol is kg_v1.0 [20:12:08]action value=close_receipt [20:12:08]process_action close_receipt [20:12:08]cmd_close_receipt [20:12:08]MH_GetDate [20:12:08]Write to MH i2c: F0 00 00 61 0C 5C [20:12:08]Write i2c OK [20:12:08]MH_I2C_Read... [20:12:08]Read from MH i2c: F0 [20:12:08]MH_I2C_Read... [20:12:08]Read from MH i2c: F0 09 00 [20:12:08]MH_I2C_Read... [20:12:08]Read from MH i2c: F0 09 00 61 0C 00 9A 3C 90 66 AD 14 F4 65 4B [20:12:08]GetLastDocTimeStamp 1720728275 [20:12:08]current date 1720728730 [20:12:08]FM_GetShiftState [20:12:08]SAM_PROTO_GetShiftState [20:12:08]wFMCommunicate request_size=4 [20:12:08]MH_SAM_APDU [20:12:08]CAPDU: 80 13 01 00 [20:12:08]Write to MH i2c: E2 08 00 62 0C 80 13 01 00 00 00 00 00 EB [20:12:08]Write i2c OK [20:12:08]MH_I2C_Read... [20:12:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:12:08]Read from MH i2c: E2 [20:12:08]MH_I2C_Read... [20:12:08]Read from MH i2c: E2 0E 00 [20:12:08]MH_I2C_Read... [20:12:08]Read from MH i2c: E2 0E 00 62 0C 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 1C [20:12:08]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [20:12:08]wFMCommunicate OK [20:12:08]SAM_PROTO_GetShiftState done [20:12:08]FM_GetShiftState done [20:12:08]opened in 1720656398 [20:12:08]opened+sec_in_day 1720742798 [20:12:08]quantity*price = 14300 [20:12:08]sum+1 = 14301 [20:12:08]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 143.00 НСП 1% : 1.26 НДС 12% : 15.19 Наличными: 143.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 65 11.07.2024 20:12 Смена: 432 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33310 ФПД: 9504926420889 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T201210&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33310&fm=9504926420889&tin=02508201610067®Number=0000000000093033&sum=14300 0 [20:12:10]StoreToDocumentArchive [20:12:10]shift 432 fd 33310 [20:12:10]save to /storage/0432/doc_00033310 [20:12:10]save last doc name /storage/0432/doc_00033310 to /storage/kkm_last_doc_name [20:12:10]save OK [20:12:10]Clear old archive folders... [20:12:10]ProcessDocumentItem done err = 0, tmpTLVsize=276 [20:12:10]tlvbuf is 01C91AD0 [20:12:10]SAM_PROTO_ClearQueue [20:12:10]wFMCommunicate request_size=4 [20:12:10]MH_SAM_APDU [20:12:10]CAPDU: 80 09 00 00 [20:12:10]Write to MH i2c: E2 08 00 6F 0C 80 09 00 00 00 00 00 00 ED [20:12:10]Write i2c OK [20:12:10]MH_I2C_Read... [20:12:10]Read from MH i2c: E2 [20:12:10]MH_I2C_Read... [20:12:10]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:12:10]Read from MH i2c: E2 03 00 [20:12:10]MH_I2C_Read... [20:12:10]Read from MH i2c: E2 03 00 6F 0C 00 90 00 EF [20:12:10]RAPDU: 90 00 [20:12:10]wFMCommunicate OK [20:12:10]SAM_PROTO_ClearQueue done [20:12:10]KKMCreateOFDPacket [20:12:10]OFDProtocolAddRootSTLVToBuf [20:12:10]FM_MakeSignedData [20:12:10]FM_MakeSignedData [20:12:10]SAM_PROTO_SignData [20:12:10]wFMCommunicate request_size=4 [20:12:10]MH_SAM_APDU [20:12:10]CAPDU: 80 0D 01 02 [20:12:10]Write to MH i2c: E2 08 00 70 0C 80 0D 01 02 00 00 00 00 F5 [20:12:10]Write i2c OK [20:12:10]MH_I2C_Read... [20:12:10]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:12:10]Read from MH i2c: E2 [20:12:10]MH_I2C_Read... [20:12:10]Read from MH i2c: E2 03 00 [20:12:10]MH_I2C_Read... [20:12:10]Read from MH i2c: E2 03 00 70 0C 00 90 00 F0 [20:12:10]RAPDU: 90 00 [20:12:10]wFMCommunicate OK [20:12:10]wFMCommunicate request_size=255 [20:12:10]MH_SAM_APDU [20:12:10]CAPDU: 80 0D 02 02 FA 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 34 36 38 33 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 43 61 73 74 65 72 2B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 37 00 00 00 00 13 04 06 00 DC 37 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 37 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EF 05 00 00 00 00 07 04 06 00 DC 37 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 9A 3C 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 [20:12:10]Write to MH i2c: E2 02 01 71 0C 80 0D 02 02 FA 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 34 36 38 33 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 43 61 73 74 65 72 2B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 37 00 00 00 00 13 04 06 00 DC 37 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 37 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EF 05 00 00 00 00 07 04 06 00 DC 37 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 9A 3C 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 00 00 FB [20:12:10]Write i2c OK [20:12:10]MH_I2C_Read... [20:12:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:12:10]Read from MH i2c: E2 [20:12:10]MH_I2C_Read... [20:12:10]Read from MH i2c: E2 03 00 [20:12:10]MH_I2C_Read... [20:12:10]Read from MH i2c: E2 03 00 71 0C 00 90 00 F1 [20:12:10]RAPDU: 90 00 [20:12:10]wFMCommunicate OK [20:12:10]wFMCommunicate request_size=35 [20:12:10]MH_SAM_APDU [20:12:10]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 1E 82 00 00 35 04 06 00 08 A5 09 C3 4F 99 [20:12:10]Write to MH i2c: E2 26 00 72 0C 80 0D 02 02 1E 00 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 1E 82 00 00 35 04 06 00 08 A5 09 C3 4F 99 00 00 E5 [20:12:10]Write i2c OK [20:12:10]MH_I2C_Read... [20:12:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:12:10]Read from MH i2c: E2 [20:12:10]MH_I2C_Read... [20:12:10]Read from MH i2c: E2 03 00 [20:12:10]MH_I2C_Read... [20:12:10]Read from MH i2c: E2 03 00 72 0C 00 90 00 F2 [20:12:10]RAPDU: 90 00 [20:12:10]wFMCommunicate OK [20:12:10]wFMCommunicate request_size=4 [20:12:10]MH_SAM_APDU [20:12:10]CAPDU: 80 0D 03 02 [20:12:10]Write to MH i2c: E2 08 00 73 0C 80 0D 03 02 00 00 00 00 FA [20:12:10]Write i2c OK [20:12:10]MH_I2C_Read... [20:12:10]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:12:10]Read from MH i2c: E2 [20:12:10]MH_I2C_Read... [20:12:10]Read from MH i2c: E2 0B 00 [20:12:10]MH_I2C_Read... [20:12:10]Read from MH i2c: E2 0B 00 73 0C 00 7E 0D CB 97 09 FE 9E 2E 90 00 BB [20:12:10]RAPDU: 7E 0D CB 97 09 FE 9E 2E 90 00 [20:12:10]wFMCommunicate OK [20:12:10]SAM_PROTO_SignData done [20:12:10]FM_MakeSignedData done [20:12:10]CreateOFDProtocolMessage [20:12:10]wFMCommunicate request_size=4 [20:12:10]MH_SAM_APDU [20:12:10]CAPDU: 80 11 00 00 [20:12:10]Write to MH i2c: E2 08 00 74 0C 80 11 00 00 00 00 00 00 FA [20:12:10]Write i2c OK [20:12:10]MH_I2C_Read... [20:12:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:12:10]Read from MH i2c: E2 [20:12:10]MH_I2C_Read... [20:12:10]Read from MH i2c: E2 17 00 [20:12:10]MH_I2C_Read... [20:12:10]Read from MH i2c: E2 17 00 74 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 46 [20:12:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [20:12:10]wFMCommunicate OK [20:12:10]CreateOFDProtocolMessage done [20:12:10]OFDSenderStorePacket 33310 [20:12:10]StoreOFDPacket docnum=33310 [20:12:10]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 28 01 00 00 54 D9 20 01 AB 4A 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 34 36 38 33 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 43 61 73 74 65 72 2B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 37 00 00 00 00 13 04 06 00 DC 37 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 37 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EF 05 00 00 00 00 07 04 06 00 DC 37 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 9A 3C 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 1E 82 00 00 35 04 06 00 08 A5 09 C3 4F 99 7E 0D CB 97 09 FE 9E 2E [20:12:10]CheckFolder [20:12:10]dirname=/storage/ofd_packets [20:12:10]CheckFolder done [20:12:10]ProducePacketName [20:12:10]name=ofd_packets/00033310 [20:12:10]NVStorageSaveData ofd_packets/00033310 [20:12:10]File name is /storage/ofd_packets/00033310 [20:12:10]Write 326 bytes [20:12:10]NVStorageSaveData done [20:12:10]OFDSenderStorePacket done [20:12:10]KKMCreateOFDPacket done [20:12:10]NVStorageSaveData kkm_last_timestamp [20:12:10]File name is /storage/kkm_last_timestamp [20:12:10]Write 4 bytes [20:12:10]NVStorageSaveData done [20:12:10]ExternCall_PrintAddStr [20:12:10]wPrintStart [20:12:10]Write to MH i2c: 01 00 00 75 0C 81 [20:12:10]Write i2c OK [20:12:10]MH_I2C_Read... [20:12:10]Read from MH i2c: 01 [20:12:10]MH_I2C_Read... [20:12:10]Read from MH i2c: 01 07 00 [20:12:10]MH_I2C_Read... [20:12:10]Read from MH i2c: 01 07 00 75 0C 00 00 00 00 00 FF 0F 96 [20:12:10]RasterBufferAndPrint [20:12:10]line Счет N : (3)169132 [20:12:10]line ИНН: 02508201610067 [20:12:10]line Контрольно-Кассовый Чек [20:12:10]line ПРОДАЖА [20:12:10]line Товар: 48744683 [20:12:10]line Сигареты Winston XStyle Caster+ [20:12:10]line 1.000 * 143.00 [20:12:10]line = 143.00 [20:12:10]line НДС 12% НСП 1% [20:12:10]line > о реализуемом товаре [20:12:10]line ИТОГО: 143.00 [20:12:10]line НСП 1% : 1.26 [20:12:10]line НДС 12% : 15.19 [20:12:10]line Наличными: 143.00 [20:12:10]line Безнал.: 0.00 [20:12:10]line Место: АЗС № 77 "Партнер Нефть" [20:12:10]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [20:12:10]line СНО: Общий режим [20:12:10]line Чек 65 11.07.2024 20:12 [20:12:10]line Смена: 432 ФФД: 1.0 [20:12:10]line ЗНМ: 0300000122 [20:12:10]line РНМ: 0000000000093033 [20:12:10]line Версия ККМ: 001 [20:12:10]line ФМ: 0000000000875104 [20:12:10]line ФД: 33310 [20:12:10]line ФПД: 9504926420889 [20:12:10]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T201210&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33310&fm=9504926420889&tin=02508201610067®Number=0000000000093033&sum=14300 [20:12:10]line 0 [20:12:10]OFD Sender: Processing packet 33310 [packets to send 6, broken 5] [20:12:10]ProducePacketName [20:12:10]name=ofd_packets/00033310 [20:12:10]OFD Sender: To server: pG, [20:12:10]CommunicateWithHost lk.salyk.kg:30040 [20:12:10]ConnectInit lk.salyk.kg [20:12:10]written 0, free lines is 4095 [20:12:11]Connected sock=10 [20:12:11]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 28 01 00 00 54 D9 20 01 AB 4A 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 34 36 38 33 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 43 61 73 74 65 72 2B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 37 00 00 00 00 13 04 06 00 DC 37 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 37 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EF 05 00 00 00 00 07 04 06 00 DC 37 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 9A 3C 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 1E 82 00 00 35 04 06 00 08 A5 09 C3 4F 99 7E 0D CB 97 09 FE 9E 2E [20:12:11]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 E9 A4 47 00 E7 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 35 31 30 34 10 04 04 00 1E 82 00 00 F4 03 04 00 49 E7 8F 66 B6 04 01 00 00 58 90 4E 5C C8 E9 FC F0 [20:12:11]CommunicateWithHost err = 0 [20:12:11]CheckOFDResponse [20:12:11]1017 (14) - 77093643461234 [20:12:11]1041 (16) - 0000000000875104 [20:12:11]1040 (4) - 33310 [20:12:11]1012 (4) - 11.07.2024 14:08 [20:12:11]1206 (1) - 0 [20:12:11]OFD Sender: Remove packet 33310 [20:12:11]ProducePacketName [20:12:11]name=ofd_packets/00033310 [20:12:11]NVStorageDeleteData [20:12:11]Write to MH i2c: 01 00 00 9E 0C AA [20:12:11]Write i2c OK [20:12:11]MH_I2C_Read... [20:12:11]Read from MH i2c: 01 [20:12:11]MH_I2C_Read... [20:12:11]Read from MH i2c: 01 07 00 [20:12:11]MH_I2C_Read... [20:12:11]Read from MH i2c: 01 07 00 9E 0C 00 00 00 00 00 DF 0C 9C [20:12:11]RasterBufferAndPrint [20:12:11]line [20:12:11]line [20:12:11]line [20:12:11]line [20:12:11]line [20:12:11]written 0, free lines is 3304 [20:12:11]MH_Cut [20:12:11]Write to MH i2c: D1 01 00 A5 0C 01 83 [20:12:11]Write i2c OK [20:12:11]MH_I2C_Read... [20:12:11]Read from MH i2c: D1 [20:12:11]MH_I2C_Read... [20:12:11]Read from MH i2c: D1 01 00 [20:12:11]MH_I2C_Read... [20:12:11]Read from MH i2c: D1 01 00 A5 0C 00 82 [20:12:11]Write to MH i2c: 01 00 00 A6 0C B2 [20:12:11]Write i2c OK [20:12:11]MH_I2C_Read... [20:12:11]OFD Sender: No OFD packet to send [20:12:12]*** Cut start [20:12:12]*** Partial cut [20:12:12]*** CUTSNS_PIN = 1 [20:12:12]*** CUTSNS_PIN = 0 [20:12:12]*** Brake cut motor [20:12:12]Read from MH i2c: 01 [20:12:12]MH_I2C_Read... [20:12:12]*** Stop cut motor [20:12:12]*** Cut end [20:12:12]Read from MH i2c: 01 07 00 [20:12:12]MH_I2C_Read... [20:12:12]Read from MH i2c: 01 07 00 A6 0C 00 00 00 00 00 FF 0F C7 [20:12:12]process_action close_receipt done [20:12:12]requested_data is exist [20:12:12]produce_requested_data [20:12:12]requested_item fm.sn is exist - process it [20:12:12]wFMCommunicate request_size=4 [20:12:12]MH_SAM_APDU [20:12:12]CAPDU: 80 11 00 00 [20:12:12]Write to MH i2c: E2 08 00 A7 0C 80 11 00 00 00 00 00 00 2D [20:12:12]Write i2c OK [20:12:12]MH_I2C_Read... [20:12:12]Read from MH i2c: E2 [20:12:12]MH_I2C_Read... [20:12:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:12:12]Read from MH i2c: E2 17 00 [20:12:12]MH_I2C_Read... [20:12:12]Read from MH i2c: E2 17 00 A7 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 79 [20:12:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [20:12:12]wFMCommunicate OK [20:12:12]requested_item fd.num is exist - process it [20:12:12]SAM_PROTO_GetFieldsCounters [20:12:12]wFMCommunicate request_size=4 [20:12:12]MH_SAM_APDU [20:12:12]CAPDU: 80 13 00 00 [20:12:12]Write to MH i2c: E2 08 00 A8 0C 80 13 00 00 00 00 00 00 30 [20:12:12]Write i2c OK [20:12:12]MH_I2C_Read... [20:12:12]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:12:12]Read from MH i2c: E2 [20:12:12]MH_I2C_Read... [20:12:12]Read from MH i2c: E2 62 00 [20:12:12]MH_I2C_Read... [20:12:12]Read from MH i2c: E2 62 00 A8 0C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 1E 82 00 00 0E 04 04 00 B0 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 57 [20:12:12]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 1E 82 00 00 0E 04 04 00 B0 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 [20:12:12]wFMCommunicate OK [20:12:12]SAM_PROTO_GetFieldsCounters done [20:12:12]requested_item shift.num is exist - process it [20:12:12]requested_item shift.opened is exist - process it [20:12:12]req_shift_opened [20:12:12]FM_GetShiftState [20:12:12]SAM_PROTO_GetShiftState [20:12:12]wFMCommunicate request_size=4 [20:12:12]MH_SAM_APDU [20:12:12]CAPDU: 80 13 01 00 [20:12:12]Write to MH i2c: E2 08 00 A9 0C 80 13 01 00 00 00 00 00 32 [20:12:12]Write i2c OK [20:12:12]MH_I2C_Read... [20:12:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:12:13]Read from MH i2c: E2 [20:12:13]MH_I2C_Read... [20:12:13]Read from MH i2c: E2 0E 00 [20:12:13]MH_I2C_Read... [20:12:13]Read from MH i2c: E2 0E 00 A9 0C 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 63 [20:12:13]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [20:12:13]wFMCommunicate OK [20:12:13]SAM_PROTO_GetShiftState done [20:12:13]FM_GetShiftState done [20:12:13]req_shift_opened done [20:12:13]requested_item shift.open_date is exist - process it [20:12:13]req_shift_open_date [20:12:13]req_shift_open_date done [20:12:13]produce_requested_data done [20:12:13]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33310,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398} [20:12:13]process_action_free close_receipt [20:12:13]json_value_free [20:12:13]json_value_free done [20:12:13]process_json_proto returns [20:12:13]Send response to host [20:12:13]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33310,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398}}} [20:12:13]free response buf [20:12:13]execute_script done [20:12:13]execute_script returns [20:12:13]free content buf [20:12:13]Sock 7.Close socket [20:12:13]Sock 7.Thread stoped [20:12:16]OFD Sender: No OFD packet to send [20:12:21]OFD Sender: No OFD packet to send [20:12:26]OFD Sender: No OFD packet to send [20:12:31]OFD Sender: No OFD packet to send [20:12:36]OFD Sender: No OFD packet to send [20:12:41]OFD Sender: No OFD packet to send [20:12:46]OFD Sender: No OFD packet to send [20:12:51]OFD Sender: No OFD packet to send [20:12:56]OFD Sender: No OFD packet to send [20:13:01]OFD Sender: No OFD packet to send [20:13:06]OFD Sender: No OFD packet to send [20:13:11]OFD Sender: No OFD packet to send [20:13:16]OFD Sender: No OFD packet to send [20:13:21]OFD Sender: No OFD packet to send [20:13:26]OFD Sender: No OFD packet to send [20:13:31]OFD Sender: No OFD packet to send [20:13:36]OFD Sender: No OFD packet to send [20:13:41]OFD Sender: No OFD packet to send [20:13:46]OFD Sender: No OFD packet to send [20:13:51]OFD Sender: No OFD packet to send [20:13:56]OFD Sender: No OFD packet to send [20:14:01]OFD Sender: No OFD packet to send [20:14:06]OFD Sender: No OFD packet to send [20:14:11]OFD Sender: No OFD packet to send [20:14:16]OFD Sender: No OFD packet to send [20:14:21]OFD Sender: No OFD packet to send [20:14:26]OFD Sender: No OFD packet to send [20:14:31]OFD Sender: No OFD packet to send [20:14:36]OFD Sender: No OFD packet to send [20:14:41]OFD Sender: No OFD packet to send [20:14:46]OFD Sender: No OFD packet to send [20:14:51]OFD Sender: No OFD packet to send [20:14:56]OFD Sender: No OFD packet to send [20:15:01]OFD Sender: No OFD packet to send [20:15:06]OFD Sender: No OFD packet to send [20:15:11]OFD Sender: No OFD packet to send [20:15:16]OFD Sender: No OFD packet to send [20:15:21]OFD Sender: No OFD packet to send [20:15:26]OFD Sender: No OFD packet to send [20:15:31]OFD Sender: No OFD packet to send [20:15:35]accept exits with 9 [20:15:35]New connection [20:15:35]New thread 3066936676 created [20:15:35]Thread 3066793316 joined [20:15:35]Waiting for new connection... [20:15:35] Sock 9.Parse request [20:15:35]Sock 9.Check first char [20:15:35]Sock 9.First char is OK [20:15:35]request: POST /json_proto HTTP/1.0 [20:15:35]Method: POST [20:15:35]URL: /json_proto [20:15:35]Method is POST - this is cgi request [20:15:35]url: /json_proto [20:15:35]query_string will be loaded in cgi processing [20:15:35]execute_cgi json_proto POST (null) [20:15:35]execute_cgi path=json_proto method=POST [20:15:35]POST find Content-Length [20:15:35]Host: 172.17.35.196:8080 [20:15:35]Content-Length: 1219 [20:15:35]Content-Type: application/json [20:15:35] [20:15:35]POST finish read [20:15:35]Found Content-Length = 1219 [20:15:35]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169133", "tax_sys" : 0, "items" : [ { "code": "4600338001623", "name": "\u0412\u043E\u0434\u0430 \u0424\u0440\u0443\u0442\u043E \u041D\u042F\u041D\u042F \u043D\u0435\u0433\u0430\u0437\u0438\u0440 \u0434/\u0434\u0435\u0442\u0435\u0439 0,33\u043B", "price" : 80.00, "quantity" : 1.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870001151546", "name": "\u0421\u043E\u043A Da-Da 1\u043B \u0437\u0435\u043B.\u044F\u0431\u043B", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 280.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:15:35]execute_script... [20:15: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)169133", "tax_sys" : 0, "items" : [ { "code": "4600338001623", "name": "\u0412\u043E\u0434\u0430 \u0424\u0440\u0443\u0442\u043E \u041D\u042F\u041D\u042F \u043D\u0435\u0433\u0430\u0437\u0438\u0440 \u0434/\u0434\u0435\u0442\u0435\u0439 0,33\u043B", "price" : 80.00, "quantity" : 1.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870001151546", "name": "\u0421\u043E\u043A Da-Da 1\u043B \u0437\u0435\u043B.\u044F\u0431\u043B", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 280.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:15:35]POST & json_proto [20:15:35]process_json_proto [20:15:35]json parsed OK: [20:15:35]protocol is kg_v1.0 [20:15:35]action value=close_receipt [20:15:35]process_action close_receipt [20:15:35]cmd_close_receipt [20:15:35]MH_GetDate [20:15:35]Write to MH i2c: F0 00 00 AA 0C A5 [20:15:35]Write i2c OK [20:15:35]MH_I2C_Read... [20:15:35]Read from MH i2c: F0 [20:15:35]MH_I2C_Read... [20:15:35]Read from MH i2c: F0 09 00 [20:15:35]MH_I2C_Read... [20:15:35]Read from MH i2c: F0 09 00 AA 0C 00 69 3D 90 66 AD 14 F4 65 64 [20:15:35]GetLastDocTimeStamp 1720728730 [20:15:35]current date 1720728937 [20:15:35]FM_GetShiftState [20:15:35]SAM_PROTO_GetShiftState [20:15:35]wFMCommunicate request_size=4 [20:15:35]MH_SAM_APDU [20:15:35]CAPDU: 80 13 01 00 [20:15:35]Write to MH i2c: E2 08 00 AB 0C 80 13 01 00 00 00 00 00 34 [20:15:35]Write i2c OK [20:15:35]MH_I2C_Read... [20:15:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:15:35]Read from MH i2c: E2 [20:15:35]MH_I2C_Read... [20:15:35]Read from MH i2c: E2 0E 00 [20:15:35]MH_I2C_Read... [20:15:35]Read from MH i2c: E2 0E 00 AB 0C 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 65 [20:15:35]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [20:15:35]wFMCommunicate OK [20:15:35]SAM_PROTO_GetShiftState done [20:15:35]FM_GetShiftState done [20:15:35]opened in 1720656398 [20:15:35]opened+sec_in_day 1720742798 [20:15:35]quantity*price = 8000 [20:15:35]sum+1 = 8001 [20:15:35]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870001151546 Сок Da-Da 1л зел.ябл 1.000 * 150.00 = 150.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700000160358 Вода Легенда 1л 1.000 * 50.00 = 50.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 280.00 НСП 1% : 2.48 НДС 12% : 29.74 Наличными: 280.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 66 11.07.2024 20:15 Смена: 432 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33311 ФПД: 10359387863072 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T201537&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33311&fm=10359387863072&tin=02508201610067®Number=0000000000093033&sum=28000 0 [20:15:36]StoreToDocumentArchive [20:15:36]shift 432 fd 33311 [20:15:36]save to /storage/0432/doc_00033311 [20:15:36]save last doc name /storage/0432/doc_00033311 to /storage/kkm_last_doc_name [20:15:36]save OK [20:15:36]Clear old archive folders... [20:15:36]ProcessDocumentItem done err = 0, tmpTLVsize=507 [20:15:36]tlvbuf is 01C9A0C0 [20:15:36]SAM_PROTO_ClearQueue [20:15:36]wFMCommunicate request_size=4 [20:15:36]MH_SAM_APDU [20:15:36]CAPDU: 80 09 00 00 [20:15:36]Write to MH i2c: E2 08 00 B8 0C 80 09 00 00 00 00 00 00 36 [20:15:36]Write i2c OK [20:15:36]MH_I2C_Read... [20:15:36]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:15:36]Read from MH i2c: E2 [20:15:36]MH_I2C_Read... [20:15:36]Read from MH i2c: E2 03 00 [20:15:36]MH_I2C_Read... [20:15:36]Read from MH i2c: E2 03 00 B8 0C 00 90 00 38 [20:15:36]RAPDU: 90 00 [20:15:36]wFMCommunicate OK [20:15:36]SAM_PROTO_ClearQueue done [20:15:36]KKMCreateOFDPacket [20:15:36]OFDProtocolAddRootSTLVToBuf [20:15:36]FM_MakeSignedData [20:15:36]FM_MakeSignedData [20:15:36]SAM_PROTO_SignData [20:15:36]wFMCommunicate request_size=4 [20:15:36]MH_SAM_APDU [20:15:36]CAPDU: 80 0D 01 02 [20:15:36]Write to MH i2c: E2 08 00 B9 0C 80 0D 01 02 00 00 00 00 3E [20:15:36]Write i2c OK [20:15:36]MH_I2C_Read... [20:15:36]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:15:36]Read from MH i2c: E2 [20:15:36]MH_I2C_Read... [20:15:36]Read from MH i2c: E2 03 00 [20:15:36]MH_I2C_Read... [20:15:36]Read from MH i2c: E2 03 00 B9 0C 00 90 00 39 [20:15:36]RAPDU: 90 00 [20:15:36]wFMCommunicate OK [20:15:36]wFMCommunicate request_size=255 [20:15:36]MH_SAM_APDU [20:15:36]CAPDU: 80 0D 02 02 FA 03 00 FB 01 1E 04 01 00 01 23 04 84 00 8A 04 0D 00 34 36 30 30 33 33 38 30 30 31 36 32 33 06 04 40 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 A4 D1 80 D1 83 D1 82 D0 BE 20 D0 9D D0 AF D0 9D D0 AF 20 D0 BD D0 B5 D0 B3 D0 B0 D0 B7 D0 B8 D1 80 20 D0 B4 2F D0 B4 D0 B5 D1 82 D0 B5 D0 B9 20 30 2C 33 33 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 0D 00 34 38 37 30 30 30 31 31 35 31 35 34 36 06 04 1E 00 D0 A1 D0 BE D0 BA 20 44 61 2D 44 61 20 31 D0 BB 20 D0 B7 D0 B5 D0 BB 2E D1 8F D0 B1 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F [20:15:37]Write to MH i2c: E2 02 01 BA 0C 80 0D 02 02 FA 00 03 00 FB 01 1E 04 01 00 01 23 04 84 00 8A 04 0D 00 34 36 30 30 33 33 38 30 30 31 36 32 33 06 04 40 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 A4 D1 80 D1 83 D1 82 D0 BE 20 D0 9D D0 AF D0 9D D0 AF 20 D0 BD D0 B5 D0 B3 D0 B0 D0 B7 D0 B8 D1 80 20 D0 B4 2F D0 B4 D0 B5 D1 82 D0 B5 D0 B9 20 30 2C 33 33 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 0D 00 34 38 37 30 30 30 31 31 35 31 35 34 36 06 04 1E 00 D0 A1 D0 BE D0 BA 20 44 61 2D 44 61 20 31 D0 BB 20 D0 B7 D0 B5 D0 BB 2E D1 8F D0 B1 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 00 F0 [20:15:37]OFD Sender: No OFD packet to send [20:15:37]Write i2c OK [20:15:37]MH_I2C_Read... [20:15:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:15:37]Read from MH i2c: E2 [20:15:37]MH_I2C_Read... [20:15:37]Read from MH i2c: E2 03 00 [20:15:37]MH_I2C_Read... [20:15:37]Read from MH i2c: E2 03 00 BA 0C 00 90 00 3A [20:15:37]RAPDU: 90 00 [20:15:37]wFMCommunicate OK [20:15:37]wFMCommunicate request_size=255 [20:15:37]MH_SAM_APDU [20:15:37]CAPDU: 80 0D 02 02 FA 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 60 6D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9E 0B 00 00 00 00 07 04 06 00 60 6D 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 69 3D 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 1F 82 00 [20:15:37]Write to MH i2c: E2 02 01 BB 0C 80 0D 02 02 FA 00 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 60 6D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9E 0B 00 00 00 00 07 04 06 00 60 6D 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 69 3D 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 1F 82 00 00 00 A1 [20:15:37]Write i2c OK [20:15:37]MH_I2C_Read... [20:15:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:15:37]Read from MH i2c: E2 [20:15:37]MH_I2C_Read... [20:15:37]Read from MH i2c: E2 03 00 [20:15:37]MH_I2C_Read... [20:15:37]Read from MH i2c: E2 03 00 BB 0C 00 90 00 3B [20:15:37]RAPDU: 90 00 [20:15:37]wFMCommunicate OK [20:15:37]wFMCommunicate request_size=16 [20:15:37]MH_SAM_APDU [20:15:37]CAPDU: 80 0D 02 02 0B 00 35 04 06 00 09 6B FB A2 38 20 [20:15:37]Write to MH i2c: E2 13 00 BC 0C 80 0D 02 02 0B 00 00 35 04 06 00 09 6B FB A2 38 20 00 00 00 [20:15:37]Write i2c OK [20:15:37]MH_I2C_Read... [20:15:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:15:37]Read from MH i2c: E2 [20:15:37]MH_I2C_Read... [20:15:37]Read from MH i2c: E2 03 00 [20:15:37]MH_I2C_Read... [20:15:37]Read from MH i2c: E2 03 00 BC 0C 00 90 00 3C [20:15:37]RAPDU: 90 00 [20:15:37]wFMCommunicate OK [20:15:37]wFMCommunicate request_size=4 [20:15:37]MH_SAM_APDU [20:15:37]CAPDU: 80 0D 03 02 [20:15:37]Write to MH i2c: E2 08 00 BD 0C 80 0D 03 02 00 00 00 00 44 [20:15:37]Write i2c OK [20:15:37]MH_I2C_Read... [20:15:37]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:15:37]Read from MH i2c: E2 [20:15:37]MH_I2C_Read... [20:15:37]Read from MH i2c: E2 0B 00 [20:15:37]MH_I2C_Read... [20:15:37]Read from MH i2c: E2 0B 00 BD 0C 00 A3 EF A2 6F DF EE 4D D1 90 00 D3 [20:15:37]RAPDU: A3 EF A2 6F DF EE 4D D1 90 00 [20:15:37]wFMCommunicate OK [20:15:37]SAM_PROTO_SignData done [20:15:37]FM_MakeSignedData done [20:15:37]CreateOFDProtocolMessage [20:15:37]wFMCommunicate request_size=4 [20:15:37]MH_SAM_APDU [20:15:37]CAPDU: 80 11 00 00 [20:15:37]Write to MH i2c: E2 08 00 BE 0C 80 11 00 00 00 00 00 00 44 [20:15:37]Write i2c OK [20:15:37]MH_I2C_Read... [20:15:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:15:37]Read from MH i2c: E2 [20:15:37]MH_I2C_Read... [20:15:37]Read from MH i2c: E2 17 00 [20:15:37]MH_I2C_Read... [20:15:37]Read from MH i2c: E2 17 00 BE 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 90 [20:15:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [20:15:37]wFMCommunicate OK [20:15:37]CreateOFDProtocolMessage done [20:15:37]OFDSenderStorePacket 33311 [20:15:37]StoreOFDPacket docnum=33311 [20:15:37]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0F 02 00 00 46 9B 07 02 7F A6 5A 03 01 00 03 00 FB 01 1E 04 01 00 01 23 04 84 00 8A 04 0D 00 34 36 30 30 33 33 38 30 30 31 36 32 33 06 04 40 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 A4 D1 80 D1 83 D1 82 D0 BE 20 D0 9D D0 AF D0 9D D0 AF 20 D0 BD D0 B5 D0 B3 D0 B0 D0 B7 D0 B8 D1 80 20 D0 B4 2F D0 B4 D0 B5 D1 82 D0 B5 D0 B9 20 30 2C 33 33 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 0D 00 34 38 37 30 30 30 31 31 35 31 35 34 36 06 04 1E 00 D0 A1 D0 BE D0 BA 20 44 61 2D 44 61 20 31 D0 BB 20 D0 B7 D0 B5 D0 BB 2E D1 8F D0 B1 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 60 6D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9E 0B 00 00 00 00 07 04 06 00 60 6D 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 69 3D 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 1F 82 00 00 35 04 06 00 09 6B FB A2 38 20 A3 EF A2 6F DF EE 4D D1 [20:15:37]CheckFolder [20:15:37]dirname=/storage/ofd_packets [20:15:37]CheckFolder done [20:15:37]ProducePacketName [20:15:37]name=ofd_packets/00033311 [20:15:37]NVStorageSaveData ofd_packets/00033311 [20:15:37]File name is /storage/ofd_packets/00033311 [20:15:37]Write 557 bytes [20:15:37]NVStorageSaveData done [20:15:37]OFDSenderStorePacket done [20:15:37]KKMCreateOFDPacket done [20:15:37]NVStorageSaveData kkm_last_timestamp [20:15:37]File name is /storage/kkm_last_timestamp [20:15:37]Write 4 bytes [20:15:37]NVStorageSaveData done [20:15:37]ExternCall_PrintAddStr [20:15:37]wPrintStart [20:15:37]Write to MH i2c: 01 00 00 BF 0C CB [20:15:37]Write i2c OK [20:15:37]MH_I2C_Read... [20:15:37]Read from MH i2c: 01 [20:15:37]MH_I2C_Read... [20:15:37]Read from MH i2c: 01 07 00 [20:15:37]MH_I2C_Read... [20:15:37]Read from MH i2c: 01 07 00 BF 0C 00 00 00 00 00 FF 0F E0 [20:15:37]RasterBufferAndPrint [20:15:37]line Счет N : (3)169133 [20:15:37]line ИНН: 02508201610067 [20:15:37]line Контрольно-Кассовый Чек [20:15:37]line ПРОДАЖА [20:15:37]line Товар: 4600338001623 [20:15:37]line Вода Фруто НЯНЯ негазир д/детей 0,33л [20:15:37]line 1.000 * 80.00 [20:15:37]line = 80.00 [20:15:37]line НДС 12% НСП 1% [20:15:37]line > о реализуемом товаре [20:15:37]line Товар: 4870001151546 [20:15:37]line Сок Da-Da 1л зел.ябл [20:15:37]line 1.000 * 150.00 [20:15:37]line = 150.00 [20:15:37]line НДС 12% НСП 1% [20:15:37]line > о реализуемом товаре [20:15:37]line Товар: 4700000160358 [20:15:37]line Вода Легенда 1л [20:15:37]line 1.000 * 50.00 [20:15:37]line = 50.00 [20:15:37]line НДС 12% НСП 1% [20:15:37]line > о реализуемом товаре [20:15:37]line ИТОГО: 280.00 [20:15:37]line НСП 1% : 2.48 [20:15:37]line НДС 12% : 29.74 [20:15:37]line Наличными: 280.00 [20:15:37]line Безнал.: 0.00 [20:15:37]line Место: АЗС № 77 "Партнер Нефть" [20:15:37]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [20:15:37]line СНО: Общий режим [20:15:37]line Чек 66 11.07.2024 20:15 [20:15:37]line Смена: 432 ФФД: 1.0 [20:15:37]line ЗНМ: 0300000122 [20:15:37]line РНМ: 0000000000093033 [20:15:37]line Версия ККМ: 001 [20:15:37]line ФМ: 0000000000875104 [20:15:37]line ФД: 33311 [20:15:37]line ФПД: 10359387863072 [20:15:37]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T201537&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33311&fm=10359387863072&tin=02508201610067®Number=0000000000093033&sum=28000 [20:15:38]OFD Sender: Processing packet 33311 [packets to send 6, broken 5] [20:15:38]ProducePacketName [20:15:38]name=ofd_packets/00033311 [20:15:38]OFD Sender: To server: pG, [20:15:38]CommunicateWithHost lk.salyk.kg:30040 [20:15:38]ConnectInit lk.salyk.kg [20:15:38]line 0 [20:15:38]written 0, free lines is 4095 [20:15:38]Connected sock=10 [20:15:38]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0F 02 00 00 46 9B 07 02 7F A6 5A 03 01 00 03 00 FB 01 1E 04 01 00 01 23 04 84 00 8A 04 0D 00 34 36 30 30 33 33 38 30 30 31 36 32 33 06 04 40 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 A4 D1 80 D1 83 D1 82 D0 BE 20 D0 9D D0 AF D0 9D D0 AF 20 D0 BD D0 B5 D0 B3 D0 B0 D0 B7 D0 B8 D1 80 20 D0 B4 2F D0 B4 D0 B5 D1 82 D0 B5 D0 B9 20 30 2C 33 33 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 0D 00 34 38 37 30 30 30 31 31 35 31 35 34 36 06 04 1E 00 D0 A1 D0 BE D0 BA 20 44 61 2D 44 61 20 31 D0 BB 20 D0 B7 D0 B5 D0 BB 2E D1 8F D0 B1 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 60 6D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9E 0B 00 00 00 00 07 04 06 00 60 6D 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 69 3D 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 1F 82 00 00 35 04 06 00 09 6B FB A2 38 20 A3 EF A2 6F DF EE 4D D1 [20:15:38]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 D1 59 47 00 33 37 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 1F 82 00 00 F4 03 04 00 18 E8 8F 66 B6 04 01 00 00 8C 99 17 93 E6 28 19 C9 [20:15:38]CommunicateWithHost err = 0 [20:15:38]CheckOFDResponse [20:15:38]1017 (14) - 77093643461234 [20:15:38]1041 (16) - 0000000000875104 [20:15:38]1040 (4) - 33311 [20:15:38]1012 (4) - 11.07.2024 14:11 [20:15:38]1206 (1) - 0 [20:15:38]OFD Sender: Remove packet 33311 [20:15:38]ProducePacketName [20:15:38]name=ofd_packets/00033311 [20:15:38]NVStorageDeleteData [20:15:38]Write to MH i2c: 01 00 00 F4 0C 00 [20:15:38]Write i2c OK [20:15:38]MH_I2C_Read... [20:15:38]Read from MH i2c: 01 [20:15:38]MH_I2C_Read... [20:15:38]Read from MH i2c: 01 07 00 [20:15:38]MH_I2C_Read... [20:15:38]Read from MH i2c: 01 07 00 F4 0C 00 00 00 00 00 36 0C 49 [20:15:38]RasterBufferAndPrint [20:15:38]line [20:15:38]line [20:15:38]line [20:15:38]line [20:15:38]line [20:15:38]written 0, free lines is 3134 [20:15:38]MH_Cut [20:15:38]Write to MH i2c: D1 01 00 FB 0C 01 D9 [20:15:38]Write i2c OK [20:15:38]MH_I2C_Read... [20:15:38]Read from MH i2c: D1 [20:15:38]MH_I2C_Read... [20:15:38]Read from MH i2c: D1 01 00 [20:15:38]MH_I2C_Read... [20:15:38]Read from MH i2c: D1 01 00 FB 0C 00 D8 [20:15:38]Write to MH i2c: 01 00 00 FC 0C 08 [20:15:38]Write i2c OK [20:15:38]MH_I2C_Read... [20:15:38]OFD Sender: No OFD packet to send [20:15:39]*** Cut start [20:15:39]*** Partial cut [20:15:39]*** CUTSNS_PIN = 1 [20:15:39]*** CUTSNS_PIN = 0 [20:15:39]*** Brake cut motor [20:15:40]Read from MH i2c: 01 [20:15:40]MH_I2C_Read... [20:15:40]*** Stop cut motor [20:15:40]*** Cut end [20:15:40]Read from MH i2c: 01 07 00 [20:15:40]MH_I2C_Read... [20:15:40]Read from MH i2c: 01 07 00 FC 0C 00 00 00 00 00 FF 0F 1D [20:15:40]process_action close_receipt done [20:15:40]requested_data is exist [20:15:40]produce_requested_data [20:15:40]requested_item fm.sn is exist - process it [20:15:40]wFMCommunicate request_size=4 [20:15:40]MH_SAM_APDU [20:15:40]CAPDU: 80 11 00 00 [20:15:40]Write to MH i2c: E2 08 00 FD 0C 80 11 00 00 00 00 00 00 83 [20:15:40]Write i2c OK [20:15:40]MH_I2C_Read... [20:15:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:15:40]Read from MH i2c: E2 [20:15:40]MH_I2C_Read... [20:15:40]Read from MH i2c: E2 17 00 [20:15:40]MH_I2C_Read... [20:15:40]Read from MH i2c: E2 17 00 FD 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 CF [20:15:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [20:15:40]wFMCommunicate OK [20:15:40]requested_item fd.num is exist - process it [20:15:40]SAM_PROTO_GetFieldsCounters [20:15:40]wFMCommunicate request_size=4 [20:15:40]MH_SAM_APDU [20:15:40]CAPDU: 80 13 00 00 [20:15:40]Write to MH i2c: E2 08 00 FE 0C 80 13 00 00 00 00 00 00 86 [20:15:40]Write i2c OK [20:15:40]MH_I2C_Read... [20:15:40]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:15:40]Read from MH i2c: E2 [20:15:40]MH_I2C_Read... [20:15:40]Read from MH i2c: E2 62 00 [20:15:40]MH_I2C_Read... [20:15:40]Read from MH i2c: E2 62 00 FE 0C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 1F 82 00 00 0E 04 04 00 B0 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 B1 [20:15: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 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 1F 82 00 00 0E 04 04 00 B0 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 [20:15:40]wFMCommunicate OK [20:15:40]SAM_PROTO_GetFieldsCounters done [20:15:40]requested_item shift.num is exist - process it [20:15:40]requested_item shift.opened is exist - process it [20:15:40]req_shift_opened [20:15:40]FM_GetShiftState [20:15:40]SAM_PROTO_GetShiftState [20:15:40]wFMCommunicate request_size=4 [20:15:40]MH_SAM_APDU [20:15:40]CAPDU: 80 13 01 00 [20:15:40]Write to MH i2c: E2 08 00 FF 0C 80 13 01 00 00 00 00 00 88 [20:15:40]Write i2c OK [20:15:40]MH_I2C_Read... [20:15:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:15:40]Read from MH i2c: E2 [20:15:40]MH_I2C_Read... [20:15:40]Read from MH i2c: E2 0E 00 [20:15:40]MH_I2C_Read... [20:15:40]Read from MH i2c: E2 0E 00 FF 0C 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 B9 [20:15:40]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [20:15:40]wFMCommunicate OK [20:15:40]SAM_PROTO_GetShiftState done [20:15:40]FM_GetShiftState done [20:15:40]req_shift_opened done [20:15:40]requested_item shift.open_date is exist - process it [20:15:40]req_shift_open_date [20:15:40]req_shift_open_date done [20:15:40]produce_requested_data done [20:15:40]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33311,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398} [20:15:40]process_action_free close_receipt [20:15:40]json_value_free [20:15:40]json_value_free done [20:15:40]process_json_proto returns [20:15:40]Send response to host [20:15:40]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33311,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398}}} [20:15:40]free response buf [20:15:40]execute_script done [20:15:40]execute_script returns [20:15:40]free content buf [20:15:40]Sock 9.Close socket [20:15:40]Sock 9.Thread stoped [20:15:43]OFD Sender: No OFD packet to send [20:15:48]OFD Sender: No OFD packet to send [20:15:53]OFD Sender: No OFD packet to send [20:15:58]OFD Sender: No OFD packet to send [20:16:03]OFD Sender: No OFD packet to send [20:16:08]OFD Sender: No OFD packet to send [20:16:13]OFD Sender: No OFD packet to send [20:16:18]OFD Sender: No OFD packet to send [20:16:23]OFD Sender: No OFD packet to send [20:16:28]OFD Sender: No OFD packet to send [20:16:33]OFD Sender: No OFD packet to send [20:16:36]accept exits with 7 [20:16:36]New connection [20:16:36]New thread 3066793316 created [20:16:36]Thread 3066936676 joined [20:16:36]Waiting for new connection... [20:16:36] Sock 7.Parse request [20:16:36]Sock 7.Check first char [20:16:36]Sock 7.First char is OK [20:16:36]request: POST /json_proto HTTP/1.0 [20:16:36]Method: POST [20:16:36]URL: /json_proto [20:16:36]Method is POST - this is cgi request [20:16:36]url: /json_proto [20:16:36]query_string will be loaded in cgi processing [20:16:36]execute_cgi json_proto POST (null) [20:16:36]execute_cgi path=json_proto method=POST [20:16:36]POST find Content-Length [20:16:36]Host: 172.17.35.196:8080 [20:16:36]Content-Length: 640 [20:16:36]Content-Type: application/json [20:16:36] [20:16:36]POST finish read [20:16:36]Found Content-Length = 640 [20:16:36]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169134", "tax_sys" : 0, "items" : [ { "code": "2000032710015", "name": "\u0421\u043E\u0447\u043D\u0438\u043A DC \u0442\u0432\u043E\u0440\u043E\u0433 75\u0433", "price" : 35.00, "quantity" : 1.000, "sum" : 35.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 35.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:16:36]execute_script... [20:16: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)169134", "tax_sys" : 0, "items" : [ { "code": "2000032710015", "name": "\u0421\u043E\u0447\u043D\u0438\u043A DC \u0442\u0432\u043E\u0440\u043E\u0433 75\u0433", "price" : 35.00, "quantity" : 1.000, "sum" : 35.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 35.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:16:36]POST & json_proto [20:16:36]process_json_proto [20:16:36]json parsed OK: [20:16:36]protocol is kg_v1.0 [20:16:36]action value=close_receipt [20:16:36]process_action close_receipt [20:16:36]cmd_close_receipt [20:16:36]MH_GetDate [20:16:36]Write to MH i2c: F0 00 00 00 0D FC [20:16:36]Write i2c OK [20:16:36]MH_I2C_Read... [20:16:36]Read from MH i2c: F0 [20:16:36]MH_I2C_Read... [20:16:36]Read from MH i2c: F0 09 00 [20:16:36]MH_I2C_Read... [20:16:36]Read from MH i2c: F0 09 00 00 0D 00 A5 3D 90 66 AD 14 F4 65 F7 [20:16:36]GetLastDocTimeStamp 1720728937 [20:16:36]current date 1720728997 [20:16:36]FM_GetShiftState [20:16:36]SAM_PROTO_GetShiftState [20:16:36]wFMCommunicate request_size=4 [20:16:36]MH_SAM_APDU [20:16:36]CAPDU: 80 13 01 00 [20:16:36]Write to MH i2c: E2 08 00 01 0D 80 13 01 00 00 00 00 00 8B [20:16:36]Write i2c OK [20:16:36]MH_I2C_Read... [20:16:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:16:36]Read from MH i2c: E2 [20:16:36]MH_I2C_Read... [20:16:36]Read from MH i2c: E2 0E 00 [20:16:36]MH_I2C_Read... [20:16:36]Read from MH i2c: E2 0E 00 01 0D 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 BC [20:16:36]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [20:16:36]wFMCommunicate OK [20:16:36]SAM_PROTO_GetShiftState done [20:16:36]FM_GetShiftState done [20:16:36]opened in 1720656398 [20:16:36]opened+sec_in_day 1720742798 [20:16:36]quantity*price = 3500 [20:16:36]sum+1 = 3501 [20:16:36]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 35.00 НСП 1% : 0.31 НДС 12% : 3.72 Наличными: 35.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 67 11.07.2024 20:16 Смена: 432 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33312 ФПД: 277020213699705 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T201638&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33312&fm=277020213699705&tin=02508201610067®Number=0000000000093033&sum=3500 0 [20:16:37]StoreToDocumentArchive [20:16:37]shift 432 fd 33312 [20:16:37]save to /storage/0432/doc_00033312 [20:16:37]save last doc name /storage/0432/doc_00033312 to /storage/kkm_last_doc_name [20:16:37]save OK [20:16:37]Clear old archive folders... [20:16:37]ProcessDocumentItem done err = 0, tmpTLVsize=275 [20:16:37]tlvbuf is 01C5BEF0 [20:16:37]SAM_PROTO_ClearQueue [20:16:37]wFMCommunicate request_size=4 [20:16:37]MH_SAM_APDU [20:16:37]CAPDU: 80 09 00 00 [20:16:37]Write to MH i2c: E2 08 00 0E 0D 80 09 00 00 00 00 00 00 8D [20:16:37]Write i2c OK [20:16:37]MH_I2C_Read... [20:16:37]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:16:37]Read from MH i2c: E2 [20:16:37]MH_I2C_Read... [20:16:37]Read from MH i2c: E2 03 00 [20:16:37]MH_I2C_Read... [20:16:37]Read from MH i2c: E2 03 00 0E 0D 00 90 00 8F [20:16:37]RAPDU: 90 00 [20:16:37]wFMCommunicate OK [20:16:37]SAM_PROTO_ClearQueue done [20:16:37]KKMCreateOFDPacket [20:16:37]OFDProtocolAddRootSTLVToBuf [20:16:37]FM_MakeSignedData [20:16:37]FM_MakeSignedData [20:16:37]SAM_PROTO_SignData [20:16:37]wFMCommunicate request_size=4 [20:16:37]MH_SAM_APDU [20:16:37]CAPDU: 80 0D 01 02 [20:16:37]Write to MH i2c: E2 08 00 0F 0D 80 0D 01 02 00 00 00 00 95 [20:16:37]Write i2c OK [20:16:37]MH_I2C_Read... [20:16:37]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:16:37]Read from MH i2c: E2 [20:16:37]MH_I2C_Read... [20:16:37]Read from MH i2c: E2 03 00 [20:16:37]MH_I2C_Read... [20:16:37]Read from MH i2c: E2 03 00 0F 0D 00 90 00 90 [20:16:37]RAPDU: 90 00 [20:16:37]wFMCommunicate OK [20:16:37]wFMCommunicate request_size=255 [20:16:37]MH_SAM_APDU [20:16:37]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 32 30 30 30 30 33 32 37 31 30 30 31 35 06 04 21 00 D0 A1 D0 BE D1 87 D0 BD D0 B8 D0 BA 20 44 43 20 D1 82 D0 B2 D0 BE D1 80 D0 BE D0 B3 20 37 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AC 0D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 74 01 00 00 00 00 07 04 06 00 AC 0D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 A6 3D 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 [20:16:37]Write to MH i2c: E2 02 01 10 0D 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 32 30 30 30 30 33 32 37 31 30 30 31 35 06 04 21 00 D0 A1 D0 BE D1 87 D0 BD D0 B8 D0 BA 20 44 43 20 D1 82 D0 B2 D0 BE D1 80 D0 BE D0 B3 20 37 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AC 0D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 74 01 00 00 00 00 07 04 06 00 AC 0D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 A6 3D 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 00 00 32 [20:16:37]Write i2c OK [20:16:37]MH_I2C_Read... [20:16:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:16:37]Read from MH i2c: E2 [20:16:37]MH_I2C_Read... [20:16:37]Read from MH i2c: E2 03 00 [20:16:37]MH_I2C_Read... [20:16:37]Read from MH i2c: E2 03 00 10 0D 00 90 00 91 [20:16:37]RAPDU: 90 00 [20:16:37]wFMCommunicate OK [20:16:37]wFMCommunicate request_size=34 [20:16:37]MH_SAM_APDU [20:16:37]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 20 82 00 00 35 04 06 00 FB F2 CB 6E E4 79 [20:16:37]Write to MH i2c: E2 25 00 11 0D 80 0D 02 02 1D 00 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 20 82 00 00 35 04 06 00 FB F2 CB 6E E4 79 00 00 77 [20:16:37]Write i2c OK [20:16:37]MH_I2C_Read... [20:16:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:16:37]Read from MH i2c: E2 [20:16:37]MH_I2C_Read... [20:16:37]Read from MH i2c: E2 03 00 [20:16:37]MH_I2C_Read... [20:16:37]Read from MH i2c: E2 03 00 11 0D 00 90 00 92 [20:16:37]RAPDU: 90 00 [20:16:37]wFMCommunicate OK [20:16:37]wFMCommunicate request_size=4 [20:16:37]MH_SAM_APDU [20:16:37]CAPDU: 80 0D 03 02 [20:16:37]Write to MH i2c: E2 08 00 12 0D 80 0D 03 02 00 00 00 00 9A [20:16:37]Write i2c OK [20:16:37]MH_I2C_Read... [20:16:37]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:16:37]Read from MH i2c: E2 [20:16:37]MH_I2C_Read... [20:16:37]Read from MH i2c: E2 0B 00 [20:16:37]MH_I2C_Read... [20:16:37]Read from MH i2c: E2 0B 00 12 0D 00 0E F7 B1 2C 90 35 00 1B 90 00 5D [20:16:37]RAPDU: 0E F7 B1 2C 90 35 00 1B 90 00 [20:16:37]wFMCommunicate OK [20:16:37]SAM_PROTO_SignData done [20:16:37]FM_MakeSignedData done [20:16:37]CreateOFDProtocolMessage [20:16:37]wFMCommunicate request_size=4 [20:16:37]MH_SAM_APDU [20:16:37]CAPDU: 80 11 00 00 [20:16:37]Write to MH i2c: E2 08 00 13 0D 80 11 00 00 00 00 00 00 9A [20:16:37]Write i2c OK [20:16:37]MH_I2C_Read... [20:16:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:16:37]Read from MH i2c: E2 [20:16:37]MH_I2C_Read... [20:16:37]Read from MH i2c: E2 17 00 [20:16:37]MH_I2C_Read... [20:16:37]Read from MH i2c: E2 17 00 13 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 E6 [20:16:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [20:16:37]wFMCommunicate OK [20:16:37]CreateOFDProtocolMessage done [20:16:37]OFDSenderStorePacket 33312 [20:16:37]StoreOFDPacket docnum=33312 [20:16:37]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 27 01 00 00 3D 91 1F 01 68 0F 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 32 30 30 30 30 33 32 37 31 30 30 31 35 06 04 21 00 D0 A1 D0 BE D1 87 D0 BD D0 B8 D0 BA 20 44 43 20 D1 82 D0 B2 D0 BE D1 80 D0 BE D0 B3 20 37 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AC 0D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 74 01 00 00 00 00 07 04 06 00 AC 0D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 A6 3D 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 20 82 00 00 35 04 06 00 FB F2 CB 6E E4 79 0E F7 B1 2C 90 35 00 1B [20:16:37]CheckFolder [20:16:37]dirname=/storage/ofd_packets [20:16:37]CheckFolder done [20:16:37]ProducePacketName [20:16:37]name=ofd_packets/00033312 [20:16:37]NVStorageSaveData ofd_packets/00033312 [20:16:37]File name is /storage/ofd_packets/00033312 [20:16:37]Write 325 bytes [20:16:37]NVStorageSaveData done [20:16:37]OFDSenderStorePacket done [20:16:37]KKMCreateOFDPacket done [20:16:37]NVStorageSaveData kkm_last_timestamp [20:16:37]File name is /storage/kkm_last_timestamp [20:16:37]Write 4 bytes [20:16:37]NVStorageSaveData done [20:16:37]ExternCall_PrintAddStr [20:16:37]wPrintStart [20:16:37]Write to MH i2c: 01 00 00 14 0D 21 [20:16:37]Write i2c OK [20:16:37]MH_I2C_Read... [20:16:37]Read from MH i2c: 01 [20:16:37]MH_I2C_Read... [20:16:37]Read from MH i2c: 01 07 00 [20:16:37]MH_I2C_Read... [20:16:37]Read from MH i2c: 01 07 00 14 0D 00 00 00 00 00 FF 0F 36 [20:16:37]RasterBufferAndPrint [20:16:37]line Счет N : (3)169134 [20:16:37]line ИНН: 02508201610067 [20:16:37]line Контрольно-Кассовый Чек [20:16:37]line ПРОДАЖА [20:16:37]line Товар: 2000032710015 [20:16:37]line Сочник DC творог 75г [20:16:37]line 1.000 * 35.00 [20:16:37]line = 35.00 [20:16:37]line НДС 12% НСП 1% [20:16:37]line > о реализуемом товаре [20:16:37]line ИТОГО: 35.00 [20:16:37]line НСП 1% : 0.31 [20:16:37]line НДС 12% : 3.72 [20:16:37]line Наличными: 35.00 [20:16:37]line Безнал.: 0.00 [20:16:37]line Место: АЗС № 77 "Партнер Нефть" [20:16:37]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [20:16:37]line СНО: Общий режим [20:16:37]line Чек 67 11.07.2024 20:16 [20:16:37]line Смена: 432 ФФД: 1.0 [20:16:37]line ЗНМ: 0300000122 [20:16:37]line РНМ: 0000000000093033 [20:16:37]line Версия ККМ: 001 [20:16:37]line ФМ: 0000000000875104 [20:16:37]line ФД: 33312 [20:16:37]line ФПД: 277020213699705 [20:16:38]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T201638&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33312&fm=277020213699705&tin=02508201610067®Number=0000000000093033&sum=3500 [20:16:38]line 0 [20:16:38]OFD Sender: Processing packet 33312 [packets to send 6, broken 5] [20:16:38]ProducePacketName [20:16:38]name=ofd_packets/00033312 [20:16:38]OFD Sender: To server: pG, [20:16:38]CommunicateWithHost lk.salyk.kg:30040 [20:16:38]ConnectInit lk.salyk.kg [20:16:38]written 0, free lines is 4095 [20:16:38]Connected sock=10 [20:16:38]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 27 01 00 00 3D 91 1F 01 68 0F 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 32 30 30 30 30 33 32 37 31 30 30 31 35 06 04 21 00 D0 A1 D0 BE D1 87 D0 BD D0 B8 D0 BA 20 44 43 20 D1 82 D0 B2 D0 BE D1 80 D0 BE D0 B3 20 37 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AC 0D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 74 01 00 00 00 00 07 04 06 00 AC 0D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 A6 3D 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 20 82 00 00 35 04 06 00 FB F2 CB 6E E4 79 0E F7 B1 2C 90 35 00 1B [20:16:38]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 61 BF 47 00 12 AB A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 20 82 00 00 F4 03 04 00 55 E8 8F 66 B6 04 01 00 00 6C 99 62 FB AE E1 C5 78 [20:16:38]CommunicateWithHost err = 0 [20:16:38]CheckOFDResponse [20:16:38]1017 (14) - 77093643461234 [20:16:38]1041 (16) - 0000000000875104 [20:16:38]1040 (4) - 33312 [20:16:38]1012 (4) - 11.07.2024 14:12 [20:16:38]1206 (1) - 0 [20:16:38]OFD Sender: Remove packet 33312 [20:16:38]ProducePacketName [20:16:38]name=ofd_packets/00033312 [20:16:38]NVStorageDeleteData [20:16:38]Write to MH i2c: 01 00 00 3C 0D 49 [20:16:38]Write i2c OK [20:16:38]MH_I2C_Read... [20:16:38]Read from MH i2c: 01 [20:16:38]MH_I2C_Read... [20:16:38]Read from MH i2c: 01 07 00 [20:16:38]MH_I2C_Read... [20:16:38]Read from MH i2c: 01 07 00 3C 0D 00 00 00 00 00 F4 0C 50 [20:16:38]RasterBufferAndPrint [20:16:38]line [20:16:38]line [20:16:38]line [20:16:38]line [20:16:38]line [20:16:38]written 0, free lines is 3323 [20:16:38]MH_Cut [20:16:38]Write to MH i2c: D1 01 00 43 0D 01 22 [20:16:38]Write i2c OK [20:16:38]MH_I2C_Read... [20:16:38]Read from MH i2c: D1 [20:16:38]MH_I2C_Read... [20:16:38]Read from MH i2c: D1 01 00 [20:16:38]MH_I2C_Read... [20:16:38]Read from MH i2c: D1 01 00 43 0D 00 21 [20:16:38]Write to MH i2c: 01 00 00 44 0D 51 [20:16:38]Write i2c OK [20:16:38]MH_I2C_Read... [20:16:38]OFD Sender: No OFD packet to send [20:16:39]*** Cut start [20:16:39]*** Partial cut [20:16:39]*** CUTSNS_PIN = 1 [20:16:39]*** CUTSNS_PIN = 0 [20:16:39]*** Brake cut motor [20:16:39]Read from MH i2c: 01 [20:16:39]MH_I2C_Read... [20:16:39]*** Stop cut motor [20:16:39]*** Cut end [20:16:39]Read from MH i2c: 01 07 00 [20:16:39]MH_I2C_Read... [20:16:39]Read from MH i2c: 01 07 00 44 0D 00 00 00 00 00 FF 0F 66 [20:16:39]process_action close_receipt done [20:16:39]requested_data is exist [20:16:39]produce_requested_data [20:16:39]requested_item fm.sn is exist - process it [20:16:39]wFMCommunicate request_size=4 [20:16:39]MH_SAM_APDU [20:16:39]CAPDU: 80 11 00 00 [20:16:39]Write to MH i2c: E2 08 00 45 0D 80 11 00 00 00 00 00 00 CC [20:16:39]Write i2c OK [20:16:39]MH_I2C_Read... [20:16:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:16:39]Read from MH i2c: E2 [20:16:39]MH_I2C_Read... [20:16:39]Read from MH i2c: E2 17 00 [20:16:39]MH_I2C_Read... [20:16:39]Read from MH i2c: E2 17 00 45 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 18 [20:16:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [20:16:39]wFMCommunicate OK [20:16:39]requested_item fd.num is exist - process it [20:16:39]SAM_PROTO_GetFieldsCounters [20:16:39]wFMCommunicate request_size=4 [20:16:39]MH_SAM_APDU [20:16:39]CAPDU: 80 13 00 00 [20:16:39]Write to MH i2c: E2 08 00 46 0D 80 13 00 00 00 00 00 00 CF [20:16:40]Write i2c OK [20:16:40]MH_I2C_Read... [20:16:40]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:16:40]Read from MH i2c: E2 [20:16:40]MH_I2C_Read... [20:16:40]Read from MH i2c: E2 62 00 [20:16:40]MH_I2C_Read... [20:16:40]Read from MH i2c: E2 62 00 46 0D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 20 82 00 00 0E 04 04 00 B0 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 FE [20:16: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 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 20 82 00 00 0E 04 04 00 B0 01 00 00 12 04 04 00 43 00 00 00 5E 04 04 00 43 00 00 00 57 04 04 00 44 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:16:40]wFMCommunicate OK [20:16:40]SAM_PROTO_GetFieldsCounters done [20:16:40]requested_item shift.num is exist - process it [20:16:40]requested_item shift.opened is exist - process it [20:16:40]req_shift_opened [20:16:40]FM_GetShiftState [20:16:40]SAM_PROTO_GetShiftState [20:16:40]wFMCommunicate request_size=4 [20:16:40]MH_SAM_APDU [20:16:40]CAPDU: 80 13 01 00 [20:16:40]Write to MH i2c: E2 08 00 47 0D 80 13 01 00 00 00 00 00 D1 [20:16:40]Write i2c OK [20:16:40]MH_I2C_Read... [20:16:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:16:40]Read from MH i2c: E2 [20:16:40]MH_I2C_Read... [20:16:40]Read from MH i2c: E2 0E 00 [20:16:40]MH_I2C_Read... [20:16:40]Read from MH i2c: E2 0E 00 47 0D 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 02 [20:16:40]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [20:16:40]wFMCommunicate OK [20:16:40]SAM_PROTO_GetShiftState done [20:16:40]FM_GetShiftState done [20:16:40]req_shift_opened done [20:16:40]requested_item shift.open_date is exist - process it [20:16:40]req_shift_open_date [20:16:40]req_shift_open_date done [20:16:40]produce_requested_data done [20:16:40]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33312,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398} [20:16:40]process_action_free close_receipt [20:16:40]json_value_free [20:16:40]json_value_free done [20:16:40]process_json_proto returns [20:16:40]Send response to host [20:16:40]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33312,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398}}} [20:16:40]free response buf [20:16:40]execute_script done [20:16:40]execute_script returns [20:16:40]free content buf [20:16:40]Sock 7.Close socket [20:16:40]Sock 7.Thread stoped [20:16:43]OFD Sender: No OFD packet to send [20:16:48]OFD Sender: No OFD packet to send [20:16:53]OFD Sender: No OFD packet to send [20:16:58]OFD Sender: No OFD packet to send [20:17:03]OFD Sender: No OFD packet to send [20:17:08]OFD Sender: No OFD packet to send [20:17:13]OFD Sender: No OFD packet to send [20:17:18]OFD Sender: No OFD packet to send [20:17:23]OFD Sender: No OFD packet to send [20:17:28]OFD Sender: No OFD packet to send [20:17:33]OFD Sender: No OFD packet to send [20:17:38]OFD Sender: No OFD packet to send [20:17:43]OFD Sender: No OFD packet to send [20:17:48]OFD Sender: No OFD packet to send [20:17:53]OFD Sender: No OFD packet to send [20:17:58]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:15]accept exits with 9 [20:23:15]New connection [20:23:15]New thread 3066936676 created [20:23:15]Thread 3066793316 joined [20:23:15]Waiting for new connection... [20:23:15] Sock 9.Parse request [20:23:15]Sock 9.Check first char [20:23:15]Sock 9.First char is OK [20:23:15]request: POST /json_proto HTTP/1.0 [20:23:15]Method: POST [20:23:15]URL: /json_proto [20:23:15]Method is POST - this is cgi request [20:23:15]url: /json_proto [20:23:15]query_string will be loaded in cgi processing [20:23:15]execute_cgi json_proto POST (null) [20:23:15]execute_cgi path=json_proto method=POST [20:23:15]POST find Content-Length [20:23:15]Host: 172.17.35.196:8080 [20:23:15]Content-Length: 585 [20:23:15]Content-Type: application/json [20:23:15] [20:23:15]POST finish read [20:23:15]Found Content-Length = 585 [20:23:15]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169135", "tax_sys" : 0, "items" : [ { "code": "50173617", "name": "\u0416\u0435\u0432 Orbit Eucalyptus", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 45.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:23:15]execute_script... [20:23: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)169135", "tax_sys" : 0, "items" : [ { "code": "50173617", "name": "\u0416\u0435\u0432 Orbit Eucalyptus", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 45.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:23:15]POST & json_proto [20:23:15]process_json_proto [20:23:15]json parsed OK: [20:23:15]protocol is kg_v1.0 [20:23:15]action value=close_receipt [20:23:15]process_action close_receipt [20:23:15]cmd_close_receipt [20:23:15]MH_GetDate [20:23:15]Write to MH i2c: F0 00 00 48 0D 44 [20:23:15]Write i2c OK [20:23:15]MH_I2C_Read... [20:23:15]Read from MH i2c: F0 [20:23:15]MH_I2C_Read... [20:23:15]Read from MH i2c: F0 09 00 [20:23:15]MH_I2C_Read... [20:23:15]Read from MH i2c: F0 09 00 48 0D 00 34 3F 90 66 AD 14 F4 65 D0 [20:23:15]GetLastDocTimeStamp 1720728998 [20:23:15]current date 1720729396 [20:23:15]FM_GetShiftState [20:23:15]SAM_PROTO_GetShiftState [20:23:15]wFMCommunicate request_size=4 [20:23:15]MH_SAM_APDU [20:23:15]CAPDU: 80 13 01 00 [20:23:15]Write to MH i2c: E2 08 00 49 0D 80 13 01 00 00 00 00 00 D3 [20:23:15]Write i2c OK [20:23:15]MH_I2C_Read... [20:23:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:23:15]Read from MH i2c: E2 [20:23:15]MH_I2C_Read... [20:23:15]Read from MH i2c: E2 0E 00 [20:23:15]MH_I2C_Read... [20:23:15]Read from MH i2c: E2 0E 00 49 0D 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 04 [20:23:15]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [20:23:15]wFMCommunicate OK [20:23:15]SAM_PROTO_GetShiftState done [20:23:15]FM_GetShiftState done [20:23:15]opened in 1720656398 [20:23:15]opened+sec_in_day 1720742798 [20:23:15]quantity*price = 4500 [20:23:15]sum+1 = 4501 [20:23:15]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 45.00 НСП 1% : 0.40 НДС 12% : 4.78 Наличными: 45.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 68 11.07.2024 20:23 Смена: 432 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33313 ФПД: 57657543322763 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T202317&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33313&fm=57657543322763&tin=02508201610067®Number=0000000000093033&sum=4500 0 [20:23:16]StoreToDocumentArchive [20:23:16]shift 432 fd 33313 [20:23:16]save to /storage/0432/doc_00033313 [20:23:16]save last doc name /storage/0432/doc_00033313 to /storage/kkm_last_doc_name [20:23:16]save OK [20:23:16]Clear old archive folders... [20:23:16]ProcessDocumentItem done err = 0, tmpTLVsize=260 [20:23:16]tlvbuf is 01CA0B60 [20:23:16]SAM_PROTO_ClearQueue [20:23:16]wFMCommunicate request_size=4 [20:23:16]MH_SAM_APDU [20:23:16]CAPDU: 80 09 00 00 [20:23:16]Write to MH i2c: E2 08 00 56 0D 80 09 00 00 00 00 00 00 D5 [20:23:16]Write i2c OK [20:23:16]MH_I2C_Read... [20:23:16]Read from MH i2c: E2 [20:23:16]MH_I2C_Read... [20:23:16]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:23:16]Read from MH i2c: E2 03 00 [20:23:16]MH_I2C_Read... [20:23:16]Read from MH i2c: E2 03 00 56 0D 00 90 00 D7 [20:23:16]RAPDU: 90 00 [20:23:16]wFMCommunicate OK [20:23:16]SAM_PROTO_ClearQueue done [20:23:16]KKMCreateOFDPacket [20:23:16]OFDProtocolAddRootSTLVToBuf [20:23:16]FM_MakeSignedData [20:23:16]FM_MakeSignedData [20:23:16]SAM_PROTO_SignData [20:23:16]wFMCommunicate request_size=4 [20:23:16]MH_SAM_APDU [20:23:16]CAPDU: 80 0D 01 02 [20:23:16]Write to MH i2c: E2 08 00 57 0D 80 0D 01 02 00 00 00 00 DD [20:23:16]Write i2c OK [20:23:16]MH_I2C_Read... [20:23:16]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:23:16]Read from MH i2c: E2 [20:23:16]MH_I2C_Read... [20:23:16]Read from MH i2c: E2 03 00 [20:23:16]MH_I2C_Read... [20:23:16]Read from MH i2c: E2 03 00 57 0D 00 90 00 D8 [20:23:16]RAPDU: 90 00 [20:23:16]wFMCommunicate OK [20:23:16]wFMCommunicate request_size=255 [20:23:16]MH_SAM_APDU [20:23:16]CAPDU: 80 0D 02 02 FA 03 00 04 01 1E 04 01 00 01 23 04 56 00 8A 04 08 00 35 30 31 37 33 36 31 37 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 45 75 63 61 6C 79 70 74 75 73 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 35 3F 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 [20:23:16]Write to MH i2c: E2 02 01 58 0D 80 0D 02 02 FA 00 03 00 04 01 1E 04 01 00 01 23 04 56 00 8A 04 08 00 35 30 31 37 33 36 31 37 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 45 75 63 61 6C 79 70 74 75 73 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 35 3F 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 00 00 A7 [20:23:16]Write i2c OK [20:23:16]MH_I2C_Read... [20:23:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:23:16]Read from MH i2c: E2 [20:23:16]MH_I2C_Read... [20:23:16]Read from MH i2c: E2 03 00 [20:23:16]MH_I2C_Read... [20:23:16]Read from MH i2c: E2 03 00 58 0D 00 90 00 D9 [20:23:16]RAPDU: 90 00 [20:23:16]wFMCommunicate OK [20:23:16]wFMCommunicate request_size=19 [20:23:16]MH_SAM_APDU [20:23:16]CAPDU: 80 0D 02 02 0E 21 82 00 00 35 04 06 00 34 70 71 63 6C 8B [20:23:16]Write to MH i2c: E2 16 00 59 0D 80 0D 02 02 0E 00 21 82 00 00 35 04 06 00 34 70 71 63 6C 8B 00 00 4D [20:23:16]Write i2c OK [20:23:16]MH_I2C_Read... [20:23:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:23:16]Read from MH i2c: E2 [20:23:16]MH_I2C_Read... [20:23:16]Read from MH i2c: E2 03 00 [20:23:16]MH_I2C_Read... [20:23:16]Read from MH i2c: E2 03 00 59 0D 00 90 00 DA [20:23:16]RAPDU: 90 00 [20:23:16]wFMCommunicate OK [20:23:16]wFMCommunicate request_size=4 [20:23:16]MH_SAM_APDU [20:23:16]CAPDU: 80 0D 03 02 [20:23:16]Write to MH i2c: E2 08 00 5A 0D 80 0D 03 02 00 00 00 00 E2 [20:23:16]Write i2c OK [20:23:16]MH_I2C_Read... [20:23:16]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:23:16]Read from MH i2c: E2 [20:23:16]MH_I2C_Read... [20:23:16]Read from MH i2c: E2 0B 00 [20:23:16]MH_I2C_Read... [20:23:16]Read from MH i2c: E2 0B 00 5A 0D 00 93 79 A1 65 6A C9 2E D7 90 00 2D [20:23:16]RAPDU: 93 79 A1 65 6A C9 2E D7 90 00 [20:23:16]wFMCommunicate OK [20:23:16]SAM_PROTO_SignData done [20:23:16]FM_MakeSignedData done [20:23:16]CreateOFDProtocolMessage [20:23:16]wFMCommunicate request_size=4 [20:23:16]MH_SAM_APDU [20:23:16]CAPDU: 80 11 00 00 [20:23:16]Write to MH i2c: E2 08 00 5B 0D 80 11 00 00 00 00 00 00 E2 [20:23:16]Write i2c OK [20:23:16]MH_I2C_Read... [20:23:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:23:16]Read from MH i2c: E2 [20:23:16]MH_I2C_Read... [20:23:16]Read from MH i2c: E2 17 00 [20:23:16]MH_I2C_Read... [20:23:16]Read from MH i2c: E2 17 00 5B 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 2E [20:23:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [20:23:16]wFMCommunicate OK [20:23:16]CreateOFDProtocolMessage done [20:23:16]OFDSenderStorePacket 33313 [20:23:16]StoreOFDPacket docnum=33313 [20:23:16]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 18 01 00 00 5C B2 10 01 8F EB 5A 03 01 00 03 00 04 01 1E 04 01 00 01 23 04 56 00 8A 04 08 00 35 30 31 37 33 36 31 37 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 45 75 63 61 6C 79 70 74 75 73 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 35 3F 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 21 82 00 00 35 04 06 00 34 70 71 63 6C 8B 93 79 A1 65 6A C9 2E D7 [20:23:16]CheckFolder [20:23:16]dirname=/storage/ofd_packets [20:23:16]CheckFolder done [20:23:16]ProducePacketName [20:23:16]name=ofd_packets/00033313 [20:23:16]NVStorageSaveData ofd_packets/00033313 [20:23:16]File name is /storage/ofd_packets/00033313 [20:23:16]Write 310 bytes [20:23:16]NVStorageSaveData done [20:23:16]OFDSenderStorePacket done [20:23:16]KKMCreateOFDPacket done [20:23:16]NVStorageSaveData kkm_last_timestamp [20:23:16]File name is /storage/kkm_last_timestamp [20:23:16]Write 4 bytes [20:23:16]NVStorageSaveData done [20:23:16]ExternCall_PrintAddStr [20:23:16]wPrintStart [20:23:16]Write to MH i2c: 01 00 00 5C 0D 69 [20:23:16]Write i2c OK [20:23:16]MH_I2C_Read... [20:23:16]Read from MH i2c: 01 [20:23:16]MH_I2C_Read... [20:23:16]Read from MH i2c: 01 07 00 [20:23:16]MH_I2C_Read... [20:23:16]Read from MH i2c: 01 07 00 5C 0D 00 00 00 00 00 FF 0F 7E [20:23:16]RasterBufferAndPrint [20:23:16]line Счет N : (3)169135 [20:23:16]line ИНН: 02508201610067 [20:23:16]line Контрольно-Кассовый Чек [20:23:16]line ПРОДАЖА [20:23:16]line Товар: 50173617 [20:23:16]line Жев Orbit Eucalyptus [20:23:16]line 1.000 * 45.00 [20:23:16]line = 45.00 [20:23:16]line НДС 12% НСП 1% [20:23:16]line > о реализуемом товаре [20:23:16]line ИТОГО: 45.00 [20:23:16]line НСП 1% : 0.40 [20:23:16]line НДС 12% : 4.78 [20:23:16]line Наличными: 45.00 [20:23:16]line Безнал.: 0.00 [20:23:16]line Место: АЗС № 77 "Партнер Нефть" [20:23:16]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [20:23:16]line СНО: Общий режим [20:23:16]line Чек 68 11.07.2024 20:23 [20:23:16]line Смена: 432 ФФД: 1.0 [20:23:16]line ЗНМ: 0300000122 [20:23:16]line РНМ: 0000000000093033 [20:23:16]line Версия ККМ: 001 [20:23:16]line ФМ: 0000000000875104 [20:23:16]line ФД: 33313 [20:23:16]line ФПД: 57657543322763 [20:23:17]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T202317&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33313&fm=57657543322763&tin=02508201610067®Number=0000000000093033&sum=4500 [20:23:17]line 0 [20:23:17]OFD Sender: Processing packet 33313 [packets to send 6, broken 5] [20:23:17]ProducePacketName [20:23:17]name=ofd_packets/00033313 [20:23:17]OFD Sender: To server: pG, [20:23:17]CommunicateWithHost lk.salyk.kg:30040 [20:23:17]ConnectInit lk.salyk.kg [20:23:17]written 0, free lines is 4095 [20:23:17]Connected sock=10 [20:23:17]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 18 01 00 00 5C B2 10 01 8F EB 5A 03 01 00 03 00 04 01 1E 04 01 00 01 23 04 56 00 8A 04 08 00 35 30 31 37 33 36 31 37 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 45 75 63 61 6C 79 70 74 75 73 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 35 3F 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 21 82 00 00 35 04 06 00 34 70 71 63 6C 8B 93 79 A1 65 6A C9 2E D7 [20:23:17]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 40 54 47 00 E5 C1 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 21 82 00 00 F4 03 04 00 E4 E9 8F 66 B6 04 01 00 00 D6 4C 04 7F D8 50 0E 38 [20:23:17]CommunicateWithHost err = 0 [20:23:17]CheckOFDResponse [20:23:17]1017 (14) - 77093643461234 [20:23:17]1041 (16) - 0000000000875104 [20:23:17]1040 (4) - 33313 [20:23:17]1012 (4) - 11.07.2024 14:19 [20:23:17]1206 (1) - 0 [20:23:17]OFD Sender: Remove packet 33313 [20:23:17]ProducePacketName [20:23:17]name=ofd_packets/00033313 [20:23:17]NVStorageDeleteData [20:23:17]Write to MH i2c: 01 00 00 84 0D 91 [20:23:17]Write i2c OK [20:23:17]MH_I2C_Read... [20:23:17]Read from MH i2c: 01 [20:23:17]MH_I2C_Read... [20:23:17]Read from MH i2c: 01 07 00 [20:23:17]MH_I2C_Read... [20:23:17]Read from MH i2c: 01 07 00 84 0D 00 00 00 00 00 EF 0C 93 [20:23:17]RasterBufferAndPrint [20:23:17]line [20:23:17]line [20:23:17]line [20:23:17]line [20:23:17]line [20:23:17]written 0, free lines is 3320 [20:23:17]MH_Cut [20:23:17]Write to MH i2c: D1 01 00 8B 0D 01 6A [20:23:17]Write i2c OK [20:23:17]MH_I2C_Read... [20:23:17]Read from MH i2c: D1 [20:23:17]MH_I2C_Read... [20:23:17]Read from MH i2c: D1 01 00 [20:23:17]MH_I2C_Read... [20:23:17]Read from MH i2c: D1 01 00 8B 0D 00 69 [20:23:17]Write to MH i2c: 01 00 00 8C 0D 99 [20:23:17]Write i2c OK [20:23:17]MH_I2C_Read... [20:23:17]OFD Sender: No OFD packet to send [20:23:18]*** Cut start [20:23:18]*** Partial cut [20:23:18]*** CUTSNS_PIN = 1 [20:23:18]*** CUTSNS_PIN = 0 [20:23:18]*** Brake cut motor [20:23:18]Read from MH i2c: 01 [20:23:18]MH_I2C_Read... [20:23:18]*** Stop cut motor [20:23:18]*** Cut end [20:23:18]Read from MH i2c: 01 07 00 [20:23:18]MH_I2C_Read... [20:23:18]Read from MH i2c: 01 07 00 8C 0D 00 00 00 00 00 FF 0F AE [20:23:18]process_action close_receipt done [20:23:18]requested_data is exist [20:23:18]produce_requested_data [20:23:18]requested_item fm.sn is exist - process it [20:23:18]wFMCommunicate request_size=4 [20:23:18]MH_SAM_APDU [20:23:18]CAPDU: 80 11 00 00 [20:23:18]Write to MH i2c: E2 08 00 8D 0D 80 11 00 00 00 00 00 00 14 [20:23:18]Write i2c OK [20:23:18]MH_I2C_Read... [20:23:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:23:18]Read from MH i2c: E2 [20:23:18]MH_I2C_Read... [20:23:18]Read from MH i2c: E2 17 00 [20:23:18]MH_I2C_Read... [20:23:18]Read from MH i2c: E2 17 00 8D 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 60 [20:23:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [20:23:18]wFMCommunicate OK [20:23:18]requested_item fd.num is exist - process it [20:23:18]SAM_PROTO_GetFieldsCounters [20:23:18]wFMCommunicate request_size=4 [20:23:18]MH_SAM_APDU [20:23:18]CAPDU: 80 13 00 00 [20:23:18]Write to MH i2c: E2 08 00 8E 0D 80 13 00 00 00 00 00 00 17 [20:23:18]Write i2c OK [20:23:18]MH_I2C_Read... [20:23:19]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:23:19]Read from MH i2c: E2 [20:23:19]MH_I2C_Read... [20:23:19]Read from MH i2c: E2 62 00 [20:23:19]MH_I2C_Read... [20:23:19]Read from MH i2c: E2 62 00 8E 0D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 21 82 00 00 0E 04 04 00 B0 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 4A [20:23: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 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 21 82 00 00 0E 04 04 00 B0 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 [20:23:19]wFMCommunicate OK [20:23:19]SAM_PROTO_GetFieldsCounters done [20:23:19]requested_item shift.num is exist - process it [20:23:19]requested_item shift.opened is exist - process it [20:23:19]req_shift_opened [20:23:19]FM_GetShiftState [20:23:19]SAM_PROTO_GetShiftState [20:23:19]wFMCommunicate request_size=4 [20:23:19]MH_SAM_APDU [20:23:19]CAPDU: 80 13 01 00 [20:23:19]Write to MH i2c: E2 08 00 8F 0D 80 13 01 00 00 00 00 00 19 [20:23:19]Write i2c OK [20:23:19]MH_I2C_Read... [20:23:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:23:19]Read from MH i2c: E2 [20:23:19]MH_I2C_Read... [20:23:19]Read from MH i2c: E2 0E 00 [20:23:19]MH_I2C_Read... [20:23:19]Read from MH i2c: E2 0E 00 8F 0D 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 4A [20:23:19]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [20:23:19]wFMCommunicate OK [20:23:19]SAM_PROTO_GetShiftState done [20:23:19]FM_GetShiftState done [20:23:19]req_shift_opened done [20:23:19]requested_item shift.open_date is exist - process it [20:23:19]req_shift_open_date [20:23:19]req_shift_open_date done [20:23:19]produce_requested_data done [20:23:19]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33313,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398} [20:23:19]process_action_free close_receipt [20:23:19]json_value_free [20:23:19]json_value_free done [20:23:19]process_json_proto returns [20:23:19]Send response to host [20:23:19]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33313,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398}}} [20:23:19]free response buf [20:23:19]execute_script done [20:23:19]execute_script returns [20:23:19]free content buf [20:23:19]Sock 9.Close socket [20:23:19]Sock 9.Thread stoped [20:23:22]OFD Sender: No OFD packet to send [20:23:27]OFD Sender: No OFD packet to send [20:23:32]OFD Sender: No OFD packet to send [20:23:37]OFD Sender: No OFD packet to send [20:23:42]OFD Sender: No OFD packet to send [20:23:47]OFD Sender: No OFD packet to send [20:23:52]OFD Sender: No OFD packet to send [20:23:57]OFD Sender: No OFD packet to send [20:24:02]OFD Sender: No OFD packet to send [20:24:07]OFD Sender: No OFD packet to send [20:24:12]OFD Sender: No OFD packet to send [20:24:17]OFD Sender: No OFD packet to send [20:24:22]OFD Sender: No OFD packet to send [20:24:27]OFD Sender: No OFD packet to send [20:24:32]OFD Sender: No OFD packet to send [20:24:37]OFD Sender: No OFD packet to send [20:24:42]OFD Sender: No OFD packet to send [20:24:47]OFD Sender: No OFD packet to send [20:24:52]OFD Sender: No OFD packet to send [20:24:57]OFD Sender: No OFD packet to send [20:25:02]OFD Sender: No OFD packet to send [20:25:07]OFD Sender: No OFD packet to send [20:25:12]OFD Sender: No OFD packet to send [20:25:17]OFD Sender: No OFD packet to send [20:25:22]OFD Sender: No OFD packet to send [20:25:27]OFD Sender: No OFD packet to send [20:25:32]OFD Sender: No OFD packet to send [20:25:37]OFD Sender: No OFD packet to send [20:25:42]OFD Sender: No OFD packet to send [20:25:47]OFD Sender: No OFD packet to send [20:25:52]OFD Sender: No OFD packet to send [20:25:57]OFD Sender: No OFD packet to send [20:26:02]OFD Sender: No OFD packet to send [20:26:07]OFD Sender: No OFD packet to send [20:26:13]OFD Sender: No OFD packet to send [20:26:18]OFD Sender: No OFD packet to send [20:26:23]OFD Sender: No OFD packet to send [20:26:28]OFD Sender: No OFD packet to send [20:26:33]OFD Sender: No OFD packet to send [20:26:38]OFD Sender: No OFD packet to send [20:26:43]OFD Sender: No OFD packet to send [20:26:48]OFD Sender: No OFD packet to send [20:26:53]OFD Sender: No OFD packet to send [20:26:58]OFD Sender: No OFD packet to send [20:27:03]OFD Sender: No OFD packet to send [20:27:08]OFD Sender: No OFD packet to send [20:27:13]OFD Sender: No OFD packet to send [20:27:18]OFD Sender: No OFD packet to send [20:27:23]OFD Sender: No OFD packet to send [20:27:28]OFD Sender: No OFD packet to send [20:27:33]OFD Sender: No OFD packet to send [20:27:38]OFD Sender: No OFD packet to send [20:27:43]OFD Sender: No OFD packet to send [20:27:48]OFD Sender: No OFD packet to send [20:27:53]OFD Sender: No OFD packet to send [20:27:58]OFD Sender: No OFD packet to send [20:28:03]OFD Sender: No OFD packet to send [20:28:08]OFD Sender: No OFD packet to send [20:28:13]OFD Sender: No OFD packet to send [20:28:18]OFD Sender: No OFD packet to send [20:28:23]OFD Sender: No OFD packet to send [20:28:28]OFD Sender: No OFD packet to send [20:28:33]OFD Sender: No OFD packet to send [20:28:38]OFD Sender: No OFD packet to send [20:28:43]OFD Sender: No OFD packet to send [20:28:48]OFD Sender: No OFD packet to send [20:28:53]OFD Sender: No OFD packet to send [20:28:58]OFD Sender: No OFD packet to send [20:29:03]OFD Sender: No OFD packet to send [20:29:08]OFD Sender: No OFD packet to send [20:29:13]OFD Sender: No OFD packet to send [20:29:18]OFD Sender: No OFD packet to send [20:29:23]OFD Sender: No OFD packet to send [20:29:28]OFD Sender: No OFD packet to send [20:29:33]OFD Sender: No OFD packet to send [20:29:38]OFD Sender: No OFD packet to send [20:29:43]OFD Sender: No OFD packet to send [20:29:48]OFD Sender: No OFD packet to send [20:29:53]OFD Sender: No OFD packet to send [20:29:58]OFD Sender: No OFD packet to send [20:30:03]OFD Sender: No OFD packet to send [20:30:08]OFD Sender: No OFD packet to send [20:30:13]OFD Sender: No OFD packet to send [20:30:18]OFD Sender: No OFD packet to send [20:30:23]OFD Sender: No OFD packet to send [20:30:28]OFD Sender: No OFD packet to send [20:30:33]OFD Sender: No OFD packet to send [20:30:38]OFD Sender: No OFD packet to send [20:30:43]OFD Sender: No OFD packet to send [20:30:48]OFD Sender: No OFD packet to send [20:30:53]OFD Sender: No OFD packet to send [20:30:58]OFD Sender: No OFD packet to send [20:31:03]OFD Sender: No OFD packet to send [20:31:08]OFD Sender: No OFD packet to send [20:31:13]OFD Sender: No OFD packet to send [20:31:18]OFD Sender: No OFD packet to send [20:31:23]OFD Sender: No OFD packet to send [20:31:28]OFD Sender: No OFD packet to send [20:31:33]OFD Sender: No OFD packet to send [20:31:38]OFD Sender: No OFD packet to send [20:31:43]OFD Sender: No OFD packet to send [20:31:48]OFD Sender: No OFD packet to send [20:31:53]OFD Sender: No OFD packet to send [20:31:58]OFD Sender: No OFD packet to send [20:32:03]OFD Sender: No OFD packet to send [20:32:08]OFD Sender: No OFD packet to send [20:32:13]OFD Sender: No OFD packet to send [20:32:18]OFD Sender: No OFD packet to send [20:32:23]OFD Sender: No OFD packet to send [20:32:28]OFD Sender: No OFD packet to send [20:32:33]OFD Sender: No OFD packet to send [20:32:38]OFD Sender: No OFD packet to send [20:32:43]OFD Sender: No OFD packet to send [20:32:48]OFD Sender: No OFD packet to send [20:32:53]OFD Sender: No OFD packet to send [20:32:58]OFD Sender: No OFD packet to send [20:33:03]OFD Sender: No OFD packet to send [20:33:08]OFD Sender: No OFD packet to send [20:33:13]OFD Sender: No OFD packet to send [20:33:18]OFD Sender: No OFD packet to send [20:33:23]OFD Sender: No OFD packet to send [20:33:28]OFD Sender: No OFD packet to send [20:33:33]OFD Sender: No OFD packet to send [20:33:38]OFD Sender: No OFD packet to send [20:33:43]OFD Sender: No OFD packet to send [20:33:48]OFD Sender: No OFD packet to send [20:33:53]OFD Sender: No OFD packet to send [20:33:58]OFD Sender: No OFD packet to send [20:34:03]OFD Sender: No OFD packet to send [20:34:08]OFD Sender: No OFD packet to send [20:34:13]OFD Sender: No OFD packet to send [20:34:18]OFD Sender: No OFD packet to send [20:34:23]OFD Sender: No OFD packet to send [20:34:28]OFD Sender: No OFD packet to send [20:34:33]OFD Sender: No OFD packet to send [20:34:38]OFD Sender: No OFD packet to send [20:34:43]OFD Sender: No OFD packet to send [20:34:48]OFD Sender: No OFD packet to send [20:34:53]OFD Sender: No OFD packet to send [20:34:58]OFD Sender: No OFD packet to send [20:35:03]OFD Sender: No OFD packet to send [20:35:08]OFD Sender: No OFD packet to send [20:35:13]OFD Sender: No OFD packet to send [20:35:18]OFD Sender: No OFD packet to send [20:35:23]OFD Sender: No OFD packet to send [20:35:28]OFD Sender: No OFD packet to send [20:35:33]OFD Sender: No OFD packet to send [20:35:38]OFD Sender: No OFD packet to send [20:35:43]OFD Sender: No OFD packet to send [20:35:48]OFD Sender: No OFD packet to send [20:35:53]OFD Sender: No OFD packet to send [20:35:58]OFD Sender: No OFD packet to send [20:36:03]OFD Sender: No OFD packet to send [20:36:08]OFD Sender: No OFD packet to send [20:36:13]OFD Sender: No OFD packet to send [20:36:18]OFD Sender: No OFD packet to send [20:36:23]OFD Sender: No OFD packet to send [20:36:28]OFD Sender: No OFD packet to send [20:36:33]OFD Sender: No OFD packet to send [20:36:38]OFD Sender: No OFD packet to send [20:36:43]OFD Sender: No OFD packet to send [20:36:48]OFD Sender: No OFD packet to send [20:36:53]OFD Sender: No OFD packet to send [20:36:58]OFD Sender: No OFD packet to send [20:37:03]OFD Sender: No OFD packet to send [20:37:08]OFD Sender: No OFD packet to send [20:37:13]OFD Sender: No OFD packet to send [20:37:18]OFD Sender: No OFD packet to send [20:37:23]OFD Sender: No OFD packet to send [20:37:28]OFD Sender: No OFD packet to send [20:37:33]OFD Sender: No OFD packet to send [20:37:38]OFD Sender: No OFD packet to send [20:37:43]OFD Sender: No OFD packet to send [20:37:48]OFD Sender: No OFD packet to send [20:37:53]OFD Sender: No OFD packet to send [20:37:58]OFD Sender: No OFD packet to send [20:38:03]OFD Sender: No OFD packet to send [20:38:06]accept exits with 7 [20:38:06]New connection [20:38:06]New thread 3066793316 created [20:38:06]Thread 3066936676 joined [20:38:06]Waiting for new connection... [20:38:06] Sock 7.Parse request [20:38:06]Sock 7.Check first char [20:38:06]Sock 7.First char is OK [20:38:06]request: POST /json_proto HTTP/1.0 [20:38:06]Method: POST [20:38:06]URL: /json_proto [20:38:06]Method is POST - this is cgi request [20:38:06]url: /json_proto [20:38:06]query_string will be loaded in cgi processing [20:38:06]execute_cgi json_proto POST (null) [20:38:06]execute_cgi path=json_proto method=POST [20:38:06]POST find Content-Length [20:38:06]Host: 172.17.35.196:8080 [20:38:06]Content-Length: 847 [20:38:06]Content-Type: application/json [20:38:06] [20:38:06]POST finish read [20:38:06]Found Content-Length = 847 [20:38:06]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169136", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:38:06]execute_script... [20:38: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)169136", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:38:06]POST & json_proto [20:38:06]process_json_proto [20:38:06]json parsed OK: [20:38:06]protocol is kg_v1.0 [20:38:06]action value=close_receipt [20:38:06]process_action close_receipt [20:38:06]cmd_close_receipt [20:38:06]MH_GetDate [20:38:06]Write to MH i2c: F0 00 00 90 0D 8C [20:38:06]Write i2c OK [20:38:06]MH_I2C_Read... [20:38:06]Read from MH i2c: F0 [20:38:06]MH_I2C_Read... [20:38:06]Read from MH i2c: F0 09 00 [20:38:06]MH_I2C_Read... [20:38:06]Read from MH i2c: F0 09 00 90 0D 00 AF 42 90 66 AD 14 F4 65 96 [20:38:06]GetLastDocTimeStamp 1720729397 [20:38:06]current date 1720730287 [20:38:06]FM_GetShiftState [20:38:06]SAM_PROTO_GetShiftState [20:38:06]wFMCommunicate request_size=4 [20:38:06]MH_SAM_APDU [20:38:06]CAPDU: 80 13 01 00 [20:38:06]Write to MH i2c: E2 08 00 91 0D 80 13 01 00 00 00 00 00 1B [20:38:06]Write i2c OK [20:38:06]MH_I2C_Read... [20:38:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:38:06]Read from MH i2c: E2 [20:38:06]MH_I2C_Read... [20:38:06]Read from MH i2c: E2 0E 00 [20:38:06]MH_I2C_Read... [20:38:06]Read from MH i2c: E2 0E 00 91 0D 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 4C [20:38:06]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [20:38:06]wFMCommunicate OK [20:38:06]SAM_PROTO_GetShiftState done [20:38:06]FM_GetShiftState done [20:38:06]opened in 1720656398 [20:38:06]opened+sec_in_day 1720742798 [20:38:06]quantity*price = 13000 [20:38:06]sum+1 = 13001 [20:38:06]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 0.00 Безнал.: 130.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 69 11.07.2024 20:38 Смена: 432 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000875104 ФД: 33314 ФПД: 98432640687496 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T203808&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33314&fm=98432640687496&tin=02508201610067®Number=0000000000093033&sum=13000 0 [20:38:07]StoreToDocumentArchive [20:38:07]shift 432 fd 33314 [20:38:07]save to /storage/0432/doc_00033314 [20:38:07]save last doc name /storage/0432/doc_00033314 to /storage/kkm_last_doc_name [20:38:07]save OK [20:38:07]Clear old archive folders... [20:38:07]ProcessDocumentItem done err = 0, tmpTLVsize=282 [20:38:07]tlvbuf is 01CBB3C0 [20:38:07]SAM_PROTO_ClearQueue [20:38:07]wFMCommunicate request_size=4 [20:38:07]MH_SAM_APDU [20:38:07]CAPDU: 80 09 00 00 [20:38:07]Write to MH i2c: E2 08 00 9E 0D 80 09 00 00 00 00 00 00 1D [20:38:07]Write i2c OK [20:38:07]MH_I2C_Read... [20:38:07]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:38:07]Read from MH i2c: E2 [20:38:07]MH_I2C_Read... [20:38:07]Read from MH i2c: E2 03 00 [20:38:07]MH_I2C_Read... [20:38:07]Read from MH i2c: E2 03 00 9E 0D 00 90 00 1F [20:38:07]RAPDU: 90 00 [20:38:07]wFMCommunicate OK [20:38:07]SAM_PROTO_ClearQueue done [20:38:07]KKMCreateOFDPacket [20:38:07]OFDProtocolAddRootSTLVToBuf [20:38:07]FM_MakeSignedData [20:38:07]FM_MakeSignedData [20:38:07]SAM_PROTO_SignData [20:38:07]wFMCommunicate request_size=4 [20:38:07]MH_SAM_APDU [20:38:07]CAPDU: 80 0D 01 02 [20:38:07]Write to MH i2c: E2 08 00 9F 0D 80 0D 01 02 00 00 00 00 25 [20:38:07]Write i2c OK [20:38:07]MH_I2C_Read... [20:38:07]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:38:07]Read from MH i2c: E2 [20:38:07]MH_I2C_Read... [20:38:07]Read from MH i2c: E2 03 00 [20:38:07]MH_I2C_Read... [20:38:07]Read from MH i2c: E2 03 00 9F 0D 00 90 00 20 [20:38:07]RAPDU: 90 00 [20:38:07]wFMCommunicate OK [20:38:07]wFMCommunicate request_size=255 [20:38:07]MH_SAM_APDU [20:38:07]CAPDU: 80 0D 02 02 FA 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 45 00 00 00 F4 03 04 00 B0 42 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 [20:38:07]Write to MH i2c: E2 02 01 A0 0D 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 45 00 00 00 F4 03 04 00 B0 42 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 00 00 0B [20:38:07]Write i2c OK [20:38:07]MH_I2C_Read... [20:38:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:38:07]Read from MH i2c: E2 [20:38:07]MH_I2C_Read... [20:38:07]Read from MH i2c: E2 03 00 [20:38:07]MH_I2C_Read... [20:38:07]Read from MH i2c: E2 03 00 A0 0D 00 90 00 21 [20:38:07]RAPDU: 90 00 [20:38:07]wFMCommunicate OK [20:38:07]wFMCommunicate request_size=41 [20:38:07]MH_SAM_APDU [20:38:07]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 22 82 00 00 35 04 06 00 59 86 22 95 1D 88 [20:38:07]Write to MH i2c: E2 2C 00 A1 0D 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 22 82 00 00 35 04 06 00 59 86 22 95 1D 88 00 00 CF [20:38:07]Write i2c OK [20:38:07]MH_I2C_Read... [20:38:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:38:07]Read from MH i2c: E2 [20:38:07]MH_I2C_Read... [20:38:07]Read from MH i2c: E2 03 00 [20:38:07]MH_I2C_Read... [20:38:07]Read from MH i2c: E2 03 00 A1 0D 00 90 00 22 [20:38:07]RAPDU: 90 00 [20:38:07]wFMCommunicate OK [20:38:07]wFMCommunicate request_size=4 [20:38:07]MH_SAM_APDU [20:38:07]CAPDU: 80 0D 03 02 [20:38:07]Write to MH i2c: E2 08 00 A2 0D 80 0D 03 02 00 00 00 00 2A [20:38:07]Write i2c OK [20:38:07]MH_I2C_Read... [20:38:07]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:38:07]Read from MH i2c: E2 [20:38:07]MH_I2C_Read... [20:38:07]Read from MH i2c: E2 0B 00 [20:38:07]MH_I2C_Read... [20:38:07]Read from MH i2c: E2 0B 00 A2 0D 00 88 7E FB 6A 33 4E 6A 87 90 00 08 [20:38:07]RAPDU: 88 7E FB 6A 33 4E 6A 87 90 00 [20:38:07]wFMCommunicate OK [20:38:07]SAM_PROTO_SignData done [20:38:07]FM_MakeSignedData done [20:38:07]CreateOFDProtocolMessage [20:38:07]wFMCommunicate request_size=4 [20:38:07]MH_SAM_APDU [20:38:07]CAPDU: 80 11 00 00 [20:38:07]Write to MH i2c: E2 08 00 A3 0D 80 11 00 00 00 00 00 00 2A [20:38:07]Write i2c OK [20:38:07]MH_I2C_Read... [20:38:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:38:07]Read from MH i2c: E2 [20:38:07]MH_I2C_Read... [20:38:07]Read from MH i2c: E2 17 00 [20:38:07]MH_I2C_Read... [20:38:07]Read from MH i2c: E2 17 00 A3 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 76 [20:38:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [20:38:07]wFMCommunicate OK [20:38:07]CreateOFDProtocolMessage done [20:38:07]OFDSenderStorePacket 33314 [20:38:07]StoreOFDPacket docnum=33314 [20:38:07]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 2E 01 00 00 13 16 26 01 C0 60 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 45 00 00 00 F4 03 04 00 B0 42 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 22 82 00 00 35 04 06 00 59 86 22 95 1D 88 88 7E FB 6A 33 4E 6A 87 [20:38:07]CheckFolder [20:38:07]dirname=/storage/ofd_packets [20:38:07]CheckFolder done [20:38:07]ProducePacketName [20:38:07]name=ofd_packets/00033314 [20:38:07]NVStorageSaveData ofd_packets/00033314 [20:38:07]File name is /storage/ofd_packets/00033314 [20:38:07]Write 332 bytes [20:38:07]NVStorageSaveData done [20:38:07]OFDSenderStorePacket done [20:38:07]KKMCreateOFDPacket done [20:38:07]NVStorageSaveData kkm_last_timestamp [20:38:07]File name is /storage/kkm_last_timestamp [20:38:07]Write 4 bytes [20:38:07]NVStorageSaveData done [20:38:07]ExternCall_PrintAddStr [20:38:07]wPrintStart [20:38:07]Write to MH i2c: 01 00 00 A4 0D B1 [20:38:07]Write i2c OK [20:38:07]MH_I2C_Read... [20:38:07]Read from MH i2c: 01 [20:38:07]MH_I2C_Read... [20:38:07]Read from MH i2c: 01 07 00 [20:38:07]MH_I2C_Read... [20:38:07]Read from MH i2c: 01 07 00 A4 0D 00 00 00 00 00 FF 0F C6 [20:38:07]RasterBufferAndPrint [20:38:07]line Счет N : (3)169136 [20:38:07]line ИНН: 02508201610067 [20:38:07]line Контрольно-Кассовый Чек [20:38:07]line ПРОДАЖА [20:38:07]line Товар: 2000036220012 [20:38:07]line Кофе Капучино XL(GABB TRADE) [20:38:07]line 1.000 * 130.00 [20:38:07]line = 130.00 [20:38:07]line НДС 12% НСП 1% [20:38:07]line > о реализуемом товаре [20:38:07]line ИТОГО: 130.00 [20:38:07]line НСП 1% : 1.15 [20:38:07]line НДС 12% : 13.80 [20:38:07]line Наличными: 0.00 [20:38:07]line Безнал.: 130.00 [20:38:07]line Место: АЗС № 77 "Партнер Нефть" [20:38:07]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [20:38:07]line СНО: Общий режим [20:38:07]line Чек 69 11.07.2024 20:38 [20:38:07]line Смена: 432 ФФД: 1.0 [20:38:07]line ЗНМ: 0300000122 [20:38:07]line РНМ: 0000000000093033 [20:38:07]line Версия ККМ: 001 [20:38:07]line Платежная система: АКБ Кыргызстан [20:38:07]line ФМ: 0000000000875104 [20:38:07]line ФД: 33314 [20:38:07]line ФПД: 98432640687496 [20:38:08]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T203808&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33314&fm=98432640687496&tin=02508201610067®Number=0000000000093033&sum=13000 [20:38:08]line 0 [20:38:08]OFD Sender: Processing packet 33314 [packets to send 6, broken 5] [20:38:08]ProducePacketName [20:38:08]name=ofd_packets/00033314 [20:38:08]OFD Sender: To server: pG, [20:38:08]CommunicateWithHost lk.salyk.kg:30040 [20:38:08]ConnectInit lk.salyk.kg [20:38:08]written 0, free lines is 4095 [20:38:08]Connected sock=10 [20:38:08]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 2E 01 00 00 13 16 26 01 C0 60 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 45 00 00 00 F4 03 04 00 B0 42 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 22 82 00 00 35 04 06 00 59 86 22 95 1D 88 88 7E FB 6A 33 4E 6A 87 [20:38:08]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 D3 D9 47 00 92 95 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 35 31 30 34 10 04 04 00 22 82 00 00 F4 03 04 00 5F ED 8F 66 B6 04 01 00 00 01 BC 61 EF 33 7C 01 27 [20:38:08]CommunicateWithHost err = 0 [20:38:08]CheckOFDResponse [20:38:08]1017 (14) - 77093643461234 [20:38:08]1041 (16) - 0000000000875104 [20:38:08]1040 (4) - 33314 [20:38:08]1012 (4) - 11.07.2024 14:34 [20:38:08]1206 (1) - 0 [20:38:08]OFD Sender: Remove packet 33314 [20:38:08]ProducePacketName [20:38:08]name=ofd_packets/00033314 [20:38:08]NVStorageDeleteData [20:38:08]Write to MH i2c: 01 00 00 CF 0D DC [20:38:08]Write i2c OK [20:38:08]MH_I2C_Read... [20:38:08]Read from MH i2c: 01 [20:38:08]MH_I2C_Read... [20:38:08]Read from MH i2c: 01 07 00 [20:38:08]MH_I2C_Read... [20:38:08]Read from MH i2c: 01 07 00 CF 0D 00 00 00 00 00 DA 0C C9 [20:38:08]RasterBufferAndPrint [20:38:08]line [20:38:08]line [20:38:08]line [20:38:08]line [20:38:08]line [20:38:08]written 0, free lines is 3298 [20:38:08]MH_Cut [20:38:08]Write to MH i2c: D1 01 00 D6 0D 01 B5 [20:38:08]Write i2c OK [20:38:08]MH_I2C_Read... [20:38:08]Read from MH i2c: D1 [20:38:08]MH_I2C_Read... [20:38:08]Read from MH i2c: D1 01 00 [20:38:08]MH_I2C_Read... [20:38:08]Read from MH i2c: D1 01 00 D6 0D 00 B4 [20:38:08]Write to MH i2c: 01 00 00 D7 0D E4 [20:38:08]Write i2c OK [20:38:08]MH_I2C_Read... [20:38:08]OFD Sender: No OFD packet to send [20:38:09]*** Cut start [20:38:09]*** Partial cut [20:38:09]*** CUTSNS_PIN = 1 [20:38:09]*** CUTSNS_PIN = 0 [20:38:09]*** Brake cut motor [20:38:09]Read from MH i2c: 01 [20:38:09]MH_I2C_Read... [20:38:09]*** Stop cut motor [20:38:09]*** Cut end [20:38:09]Read from MH i2c: 01 07 00 [20:38:09]MH_I2C_Read... [20:38:09]Read from MH i2c: 01 07 00 D7 0D 00 00 00 00 00 FF 0F F9 [20:38:09]process_action close_receipt done [20:38:09]requested_data is exist [20:38:09]produce_requested_data [20:38:09]requested_item fm.sn is exist - process it [20:38:09]wFMCommunicate request_size=4 [20:38:09]MH_SAM_APDU [20:38:09]CAPDU: 80 11 00 00 [20:38:09]Write to MH i2c: E2 08 00 D8 0D 80 11 00 00 00 00 00 00 5F [20:38:09]Write i2c OK [20:38:09]MH_I2C_Read... [20:38:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:38:10]Read from MH i2c: E2 [20:38:10]MH_I2C_Read... [20:38:10]Read from MH i2c: E2 17 00 [20:38:10]MH_I2C_Read... [20:38:10]Read from MH i2c: E2 17 00 D8 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 AB [20:38:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [20:38:10]wFMCommunicate OK [20:38:10]requested_item fd.num is exist - process it [20:38:10]SAM_PROTO_GetFieldsCounters [20:38:10]wFMCommunicate request_size=4 [20:38:10]MH_SAM_APDU [20:38:10]CAPDU: 80 13 00 00 [20:38:10]Write to MH i2c: E2 08 00 D9 0D 80 13 00 00 00 00 00 00 62 [20:38:10]Write i2c OK [20:38:10]MH_I2C_Read... [20:38:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:38:10]Read from MH i2c: E2 [20:38:10]MH_I2C_Read... [20:38:10]Read from MH i2c: E2 62 00 [20:38:10]MH_I2C_Read... [20:38:10]Read from MH i2c: E2 62 00 D9 0D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 22 82 00 00 0E 04 04 00 B0 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 99 [20:38: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 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 22 82 00 00 0E 04 04 00 B0 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 [20:38:10]wFMCommunicate OK [20:38:10]SAM_PROTO_GetFieldsCounters done [20:38:10]requested_item shift.num is exist - process it [20:38:10]requested_item shift.opened is exist - process it [20:38:10]req_shift_opened [20:38:10]FM_GetShiftState [20:38:10]SAM_PROTO_GetShiftState [20:38:10]wFMCommunicate request_size=4 [20:38:10]MH_SAM_APDU [20:38:10]CAPDU: 80 13 01 00 [20:38:10]Write to MH i2c: E2 08 00 DA 0D 80 13 01 00 00 00 00 00 64 [20:38:10]Write i2c OK [20:38:10]MH_I2C_Read... [20:38:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:38:10]Read from MH i2c: E2 [20:38:10]MH_I2C_Read... [20:38:10]Read from MH i2c: E2 0E 00 [20:38:10]MH_I2C_Read... [20:38:10]Read from MH i2c: E2 0E 00 DA 0D 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 95 [20:38:10]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [20:38:10]wFMCommunicate OK [20:38:10]SAM_PROTO_GetShiftState done [20:38:10]FM_GetShiftState done [20:38:10]req_shift_opened done [20:38:10]requested_item shift.open_date is exist - process it [20:38:10]req_shift_open_date [20:38:10]req_shift_open_date done [20:38:10]produce_requested_data done [20:38:10]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33314,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398} [20:38:10]process_action_free close_receipt [20:38:10]json_value_free [20:38:10]json_value_free done [20:38:10]process_json_proto returns [20:38:10]Send response to host [20:38:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33314,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398}}} [20:38:10]free response buf [20:38:10]execute_script done [20:38:10]execute_script returns [20:38:10]free content buf [20:38:10]Sock 7.Close socket [20:38:10]Sock 7.Thread stoped [20:38:13]OFD Sender: No OFD packet to send [20:38:18]OFD Sender: No OFD packet to send [20:38:23]OFD Sender: No OFD packet to send [20:38:28]OFD Sender: No OFD packet to send [20:38:33]OFD Sender: No OFD packet to send [20:38:38]OFD Sender: No OFD packet to send [20:38:43]OFD Sender: No OFD packet to send [20:38:48]OFD Sender: No OFD packet to send [20:38:53]OFD Sender: No OFD packet to send [20:38:58]OFD Sender: No OFD packet to send [20:39:03]OFD Sender: No OFD packet to send [20:39:08]OFD Sender: No OFD packet to send [20:39:13]OFD Sender: No OFD packet to send [20:39:18]OFD Sender: No OFD packet to send [20:39:23]OFD Sender: No OFD packet to send [20:39:28]OFD Sender: No OFD packet to send [20:39:33]OFD Sender: No OFD packet to send [20:39:38]OFD Sender: No OFD packet to send [20:39:43]OFD Sender: No OFD packet to send [20:39:48]OFD Sender: No OFD packet to send [20:39:53]OFD Sender: No OFD packet to send [20:39:58]OFD Sender: No OFD packet to send [20:40:03]OFD Sender: No OFD packet to send [20:40:08]OFD Sender: No OFD packet to send [20:40:13]OFD Sender: No OFD packet to send [20:40:19]OFD Sender: No OFD packet to send [20:40:24]OFD Sender: No OFD packet to send [20:40:29]OFD Sender: No OFD packet to send [20:40:34]OFD Sender: No OFD packet to send [20:40:39]OFD Sender: No OFD packet to send [20:40:44]OFD Sender: No OFD packet to send [20:40:49]OFD Sender: No OFD packet to send [20:40:54]OFD Sender: No OFD packet to send [20:40:59]OFD Sender: No OFD packet to send [20:41:04]OFD Sender: No OFD packet to send [20:41:09]OFD Sender: No OFD packet to send [20:41:14]OFD Sender: No OFD packet to send [20:41:19]OFD Sender: No OFD packet to send [20:41:24]OFD Sender: No OFD packet to send [20:41:29]OFD Sender: No OFD packet to send [20:41:34]OFD Sender: No OFD packet to send [20:41:39]OFD Sender: No OFD packet to send [20:41:44]OFD Sender: No OFD packet to send [20:41:49]OFD Sender: No OFD packet to send [20:41:54]OFD Sender: No OFD packet to send [20:41:59]OFD Sender: No OFD packet to send [20:42:04]OFD Sender: No OFD packet to send [20:42:09]OFD Sender: No OFD packet to send [20:42:14]OFD Sender: No OFD packet to send [20:42:19]OFD Sender: No OFD packet to send [20:42:24]OFD Sender: No OFD packet to send [20:42:29]OFD Sender: No OFD packet to send [20:42:34]OFD Sender: No OFD packet to send [20:42:39]OFD Sender: No OFD packet to send [20:42:44]OFD Sender: No OFD packet to send [20:42:49]OFD Sender: No OFD packet to send [20:42:54]OFD Sender: No OFD packet to send [20:42:59]OFD Sender: No OFD packet to send [20:43:04]OFD Sender: No OFD packet to send [20:43:09]OFD Sender: No OFD packet to send [20:43:14]OFD Sender: No OFD packet to send [20:43:19]OFD Sender: No OFD packet to send [20:43:24]OFD Sender: No OFD packet to send [20:43:29]OFD Sender: No OFD packet to send [20:43:34]OFD Sender: No OFD packet to send [20:43:39]OFD Sender: No OFD packet to send [20:43:44]OFD Sender: No OFD packet to send [20:43:49]OFD Sender: No OFD packet to send [20:43:54]OFD Sender: No OFD packet to send [20:43:59]OFD Sender: No OFD packet to send [20:44:04]OFD Sender: No OFD packet to send [20:44:09]OFD Sender: No OFD packet to send [20:44:14]OFD Sender: No OFD packet to send [20:44:19]OFD Sender: No OFD packet to send [20:44:24]OFD Sender: No OFD packet to send [20:44:29]OFD Sender: No OFD packet to send [20:44:34]OFD Sender: No OFD packet to send [20:44:39]OFD Sender: No OFD packet to send [20:44:44]OFD Sender: No OFD packet to send [20:44:49]OFD Sender: No OFD packet to send [20:44:54]OFD Sender: No OFD packet to send [20:44:59]OFD Sender: No OFD packet to send [20:45:04]OFD Sender: No OFD packet to send [20:45:09]OFD Sender: No OFD packet to send [20:45:14]OFD Sender: No OFD packet to send [20:45:19]OFD Sender: No OFD packet to send [20:45:24]OFD Sender: No OFD packet to send [20:45:29]OFD Sender: No OFD packet to send [20:45:34]OFD Sender: No OFD packet to send [20:45:39]OFD Sender: No OFD packet to send [20:45:44]OFD Sender: No OFD packet to send [20:45:49]OFD Sender: No OFD packet to send [20:45:54]OFD Sender: No OFD packet to send [20:45:59]OFD Sender: No OFD packet to send [20:46:04]OFD Sender: No OFD packet to send [20:46:09]OFD Sender: No OFD packet to send [20:46:14]OFD Sender: No OFD packet to send [20:46:19]OFD Sender: No OFD packet to send [20:46:24]OFD Sender: No OFD packet to send [20:46:29]OFD Sender: No OFD packet to send [20:46:34]OFD Sender: No OFD packet to send [20:46:39]OFD Sender: No OFD packet to send [20:46:44]OFD Sender: No OFD packet to send [20:46:49]OFD Sender: No OFD packet to send [20:46:54]OFD Sender: No OFD packet to send [20:46:59]OFD Sender: No OFD packet to send [20:47:04]OFD Sender: No OFD packet to send [20:47:09]OFD Sender: No OFD packet to send [20:47:14]OFD Sender: No OFD packet to send [20:47:19]OFD Sender: No OFD packet to send [20:47:24]OFD Sender: No OFD packet to send [20:47:29]OFD Sender: No OFD packet to send [20:47:34]OFD Sender: No OFD packet to send [20:47:39]OFD Sender: No OFD packet to send [20:47:44]OFD Sender: No OFD packet to send [20:47:49]OFD Sender: No OFD packet to send [20:47:54]OFD Sender: No OFD packet to send [20:47:59]OFD Sender: No OFD packet to send [20:48:04]OFD Sender: No OFD packet to send [20:48:09]OFD Sender: No OFD packet to send [20:48:14]OFD Sender: No OFD packet to send [20:48:19]OFD Sender: No OFD packet to send [20:48:24]OFD Sender: No OFD packet to send [20:48:29]OFD Sender: No OFD packet to send [20:48:34]OFD Sender: No OFD packet to send [20:48:39]OFD Sender: No OFD packet to send [20:48:44]OFD Sender: No OFD packet to send [20:48:49]OFD Sender: No OFD packet to send [20:48:54]OFD Sender: No OFD packet to send [20:48:59]OFD Sender: No OFD packet to send [20:49:04]OFD Sender: No OFD packet to send [20:49:09]OFD Sender: No OFD packet to send [20:49:14]OFD Sender: No OFD packet to send [20:49:19]OFD Sender: No OFD packet to send [20:49:24]OFD Sender: No OFD packet to send [20:49:29]OFD Sender: No OFD packet to send [20:49:34]OFD Sender: No OFD packet to send [20:49:39]OFD Sender: No OFD packet to send [20:49:44]OFD Sender: No OFD packet to send [20:49:49]OFD Sender: No OFD packet to send [20:49:54]OFD Sender: No OFD packet to send [20:49:59]OFD Sender: No OFD packet to send [20:50:04]OFD Sender: No OFD packet to send [20:50:09]OFD Sender: No OFD packet to send [20:50:14]OFD Sender: No OFD packet to send [20:50:19]OFD Sender: No OFD packet to send [20:50:24]OFD Sender: No OFD packet to send [20:50:29]OFD Sender: No OFD packet to send [20:50:34]OFD Sender: No OFD packet to send [20:50:39]OFD Sender: No OFD packet to send [20:50:44]OFD Sender: No OFD packet to send [20:50:49]OFD Sender: No OFD packet to send [20:50:54]OFD Sender: No OFD packet to send [20:50:59]OFD Sender: No OFD packet to send [20:51:04]OFD Sender: No OFD packet to send [20:51:09]OFD Sender: No OFD packet to send [20:51:14]OFD Sender: No OFD packet to send [20:51:19]OFD Sender: No OFD packet to send [20:51:24]OFD Sender: No OFD packet to send [20:51:29]OFD Sender: No OFD packet to send [20:51:34]OFD Sender: No OFD packet to send [20:51:39]OFD Sender: No OFD packet to send [20:51:44]OFD Sender: No OFD packet to send [20:51:49]OFD Sender: No OFD packet to send [20:51:54]OFD Sender: No OFD packet to send [20:51:59]OFD Sender: No OFD packet to send [20:52:04]OFD Sender: No OFD packet to send [20:52:09]OFD Sender: No OFD packet to send [20:52:14]OFD Sender: No OFD packet to send [20:52:19]OFD Sender: No OFD packet to send [20:52:24]OFD Sender: No OFD packet to send [20:52:29]OFD Sender: No OFD packet to send [20:52:34]OFD Sender: No OFD packet to send [20:52:39]OFD Sender: No OFD packet to send [20:52:44]OFD Sender: No OFD packet to send [20:52:49]OFD Sender: No OFD packet to send [20:52:54]OFD Sender: No OFD packet to send [20:52:59]OFD Sender: No OFD packet to send [20:53:04]OFD Sender: No OFD packet to send [20:53:09]OFD Sender: No OFD packet to send [20:53:14]OFD Sender: No OFD packet to send [20:53:19]OFD Sender: No OFD packet to send [20:53:24]OFD Sender: No OFD packet to send [20:53:29]OFD Sender: No OFD packet to send [20:53:34]OFD Sender: No OFD packet to send [20:53:39]OFD Sender: No OFD packet to send [20:53:44]OFD Sender: No OFD packet to send [20:53:49]OFD Sender: No OFD packet to send [20:53:54]OFD Sender: No OFD packet to send [20:53:59]OFD Sender: No OFD packet to send [20:54:04]OFD Sender: No OFD packet to send [20:54:09]OFD Sender: No OFD packet to send [20:54:14]OFD Sender: No OFD packet to send [20:54:19]OFD Sender: No OFD packet to send [20:54:24]OFD Sender: No OFD packet to send [20:54:29]OFD Sender: No OFD packet to send [20:54:34]OFD Sender: No OFD packet to send [20:54:39]OFD Sender: No OFD packet to send [20:54:44]OFD Sender: No OFD packet to send [20:54:49]OFD Sender: No OFD packet to send [20:54:54]OFD Sender: No OFD packet to send [20:54:59]OFD Sender: No OFD packet to send [20:55:04]OFD Sender: No OFD packet to send [20:55:09]OFD Sender: No OFD packet to send [20:55:14]OFD Sender: No OFD packet to send [20:55:19]OFD Sender: No OFD packet to send [20:55:24]OFD Sender: No OFD packet to send [20:55:29]OFD Sender: No OFD packet to send [20:55:34]OFD Sender: No OFD packet to send [20:55:39]OFD Sender: No OFD packet to send [20:55:44]OFD Sender: No OFD packet to send [20:55:49]OFD Sender: No OFD packet to send [20:55:54]OFD Sender: No OFD packet to send [20:55:59]OFD Sender: No OFD packet to send [20:56:04]OFD Sender: No OFD packet to send [20:56:09]OFD Sender: No OFD packet to send [20:56:14]OFD Sender: No OFD packet to send [20:56:19]OFD Sender: No OFD packet to send [20:56:24]OFD Sender: No OFD packet to send [20:56:29]OFD Sender: No OFD packet to send [20:56:34]OFD Sender: No OFD packet to send [20:56:39]OFD Sender: No OFD packet to send [20:56:44]OFD Sender: No OFD packet to send [20:56:49]OFD Sender: No OFD packet to send [20:56:54]OFD Sender: No OFD packet to send [20:56:59]OFD Sender: No OFD packet to send [20:57:04]OFD Sender: No OFD packet to send [20:57:09]OFD Sender: No OFD packet to send [20:57:14]OFD Sender: No OFD packet to send [20:57:19]OFD Sender: No OFD packet to send [20:57:24]OFD Sender: No OFD packet to send [20:57:29]OFD Sender: No OFD packet to send [20:57:34]OFD Sender: No OFD packet to send [20:57:39]OFD Sender: No OFD packet to send [20:57:44]OFD Sender: No OFD packet to send [20:57:49]OFD Sender: No OFD packet to send [20:57:54]OFD Sender: No OFD packet to send [20:57:59]OFD Sender: No OFD packet to send [20:58:04]OFD Sender: No OFD packet to send [20:58:09]OFD Sender: No OFD packet to send [20:58:14]OFD Sender: No OFD packet to send [20:58:19]OFD Sender: No OFD packet to send [20:58:24]OFD Sender: No OFD packet to send [20:58:29]OFD Sender: No OFD packet to send [20:58:34]OFD Sender: No OFD packet to send [20:58:39]OFD Sender: No OFD packet to send [20:58:44]OFD Sender: No OFD packet to send [20:58:49]OFD Sender: No OFD packet to send [20:58:54]OFD Sender: No OFD packet to send [20:58:59]OFD Sender: No OFD packet to send [20:59:04]OFD Sender: No OFD packet to send [20:59:09]OFD Sender: No OFD packet to send [20:59:14]OFD Sender: No OFD packet to send [20:59:19]OFD Sender: No OFD packet to send [20:59:24]OFD Sender: No OFD packet to send [20:59:29]OFD Sender: No OFD packet to send [20:59:34]OFD Sender: No OFD packet to send [20:59:39]OFD Sender: No OFD packet to send [20:59:44]OFD Sender: No OFD packet to send [20:59:49]OFD Sender: No OFD packet to send [20:59:54]OFD Sender: No OFD packet to send [20:59:59]OFD Sender: No OFD packet to send [21:00:04]OFD Sender: No OFD packet to send [21:00:09]OFD Sender: No OFD packet to send [21:00:14]OFD Sender: No OFD packet to send [21:00:19]OFD Sender: No OFD packet to send [21:00:24]OFD Sender: No OFD packet to send [21:00:29]OFD Sender: No OFD packet to send [21:00:34]OFD Sender: No OFD packet to send [21:00:39]OFD Sender: No OFD packet to send [21:00:44]OFD Sender: No OFD packet to send [21:00:49]OFD Sender: No OFD packet to send [21:00:54]OFD Sender: No OFD packet to send [21:00:59]OFD Sender: No OFD packet to send [21:01:04]OFD Sender: No OFD packet to send [21:01:09]OFD Sender: No OFD packet to send [21:01:14]OFD Sender: No OFD packet to send [21:01:19]OFD Sender: No OFD packet to send [21:01:24]OFD Sender: No OFD packet to send [21:01:29]OFD Sender: No OFD packet to send [21:01:34]OFD Sender: No OFD packet to send [21:01:40]OFD Sender: No OFD packet to send [21:01:45]OFD Sender: No OFD packet to send [21:01:50]OFD Sender: No OFD packet to send [21:01:55]OFD Sender: No OFD packet to send [21:02:00]OFD Sender: No OFD packet to send [21:02:05]OFD Sender: No OFD packet to send [21:02:10]OFD Sender: No OFD packet to send [21:02:15]OFD Sender: No OFD packet to send [21:02:20]OFD Sender: No OFD packet to send [21:02:25]OFD Sender: No OFD packet to send [21:02:30]OFD Sender: No OFD packet to send [21:02:35]OFD Sender: No OFD packet to send [21:02:40]OFD Sender: No OFD packet to send [21:02:45]OFD Sender: No OFD packet to send [21:02:50]OFD Sender: No OFD packet to send [21:02:55]OFD Sender: No OFD packet to send [21:03:00]OFD Sender: No OFD packet to send [21:03:05]OFD Sender: No OFD packet to send [21:03:10]OFD Sender: No OFD packet to send [21:03:15]OFD Sender: No OFD packet to send [21:03:20]OFD Sender: No OFD packet to send [21:03:25]OFD Sender: No OFD packet to send [21:03:30]OFD Sender: No OFD packet to send [21:03:35]OFD Sender: No OFD packet to send [21:03:40]OFD Sender: No OFD packet to send [21:03:45]OFD Sender: No OFD packet to send [21:03:50]OFD Sender: No OFD packet to send [21:03:53]accept exits with 9 [21:03:53]New connection [21:03:53]New thread 3066936676 created [21:03:53]Thread 3066793316 joined [21:03:53]Waiting for new connection... [21:03:53] Sock 9.Parse request [21:03:53]Sock 9.Check first char [21:03:53]Sock 9.First char is OK [21:03:53]request: POST /json_proto HTTP/1.0 [21:03:53]Method: POST [21:03:53]URL: /json_proto [21:03:53]Method is POST - this is cgi request [21:03:53]url: /json_proto [21:03:53]query_string will be loaded in cgi processing [21:03:53]execute_cgi json_proto POST (null) [21:03:53]execute_cgi path=json_proto method=POST [21:03:53]POST find Content-Length [21:03:53]Host: 172.17.35.196:8080 [21:03:53]Content-Length: 1513 [21:03:53]Content-Type: application/json [21:03:53] [21:03:53]POST finish read [21:03:53]Found Content-Length = 1513 [21:03:53]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169137", "tax_sys" : 0, "items" : [ { "code": "4870202521216", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u0437\u0435\u043B.\u043B\u0438\u043C\u043E\u043D (\u043D\u043E\u0432\u044B\u0439)", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4670003190037", "name": "\u0410\u043D\u0442\u0438\u0444\u0440\u0438\u0437 SIBIRIA ANTIFREEZE \u041E\u0416-40 \u0437\u0435\u043B 1\u043B", "price" : 225.00, "quantity" : 1.000, "sum" : 225.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607010740757", "name": "\u0427\u0438\u043F\u0441\u044B \u0427\u0438\u043F\u0441\u043E\u043D\u044B \u0441\u043C\u0435\u0442\u0430\u043D\u0430, \u043B\u0443\u043A 40\u0433", "price" : 41.00, "quantity" : 1.000, "sum" : 41.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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 376.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:03:53]execute_script... [21:03:53]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169137", "tax_sys" : 0, "items" : [ { "code": "4870202521216", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u0437\u0435\u043B.\u043B\u0438\u043C\u043E\u043D (\u043D\u043E\u0432\u044B\u0439)", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4670003190037", "name": "\u0410\u043D\u0442\u0438\u0444\u0440\u0438\u0437 SIBIRIA ANTIFREEZE \u041E\u0416-40 \u0437\u0435\u043B 1\u043B", "price" : 225.00, "quantity" : 1.000, "sum" : 225.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607010740757", "name": "\u0427\u0438\u043F\u0441\u044B \u0427\u0438\u043F\u0441\u043E\u043D\u044B \u0441\u043C\u0435\u0442\u0430\u043D\u0430, \u043B\u0443\u043A 40\u0433", "price" : 41.00, "quantity" : 1.000, "sum" : 41.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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 376.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:03:53]POST & json_proto [21:03:53]process_json_proto [21:03:53]json parsed OK: [21:03:53]protocol is kg_v1.0 [21:03:53]action value=close_receipt [21:03:53]process_action close_receipt [21:03:53]cmd_close_receipt [21:03:53]MH_GetDate [21:03:53]Write to MH i2c: F0 00 00 DB 0D D7 [21:03:53]Write i2c OK [21:03:53]MH_I2C_Read... [21:03:53]Read from MH i2c: F0 [21:03:53]MH_I2C_Read... [21:03:53]Read from MH i2c: F0 09 00 [21:03:53]MH_I2C_Read... [21:03:53]Read from MH i2c: F0 09 00 DB 0D 00 BB 48 90 66 AD 14 F4 65 F3 [21:03:53]GetLastDocTimeStamp 1720730288 [21:03:53]current date 1720731835 [21:03:53]FM_GetShiftState [21:03:53]SAM_PROTO_GetShiftState [21:03:53]wFMCommunicate request_size=4 [21:03:53]MH_SAM_APDU [21:03:53]CAPDU: 80 13 01 00 [21:03:53]Write to MH i2c: E2 08 00 DC 0D 80 13 01 00 00 00 00 00 66 [21:03:53]Write i2c OK [21:03:53]MH_I2C_Read... [21:03:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:03:53]Read from MH i2c: E2 [21:03:53]MH_I2C_Read... [21:03:53]Read from MH i2c: E2 0E 00 [21:03:53]MH_I2C_Read... [21:03:53]Read from MH i2c: E2 0E 00 DC 0D 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 97 [21:03:53]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [21:03:53]wFMCommunicate OK [21:03:53]SAM_PROTO_GetShiftState done [21:03:53]FM_GetShiftState done [21:03:53]opened in 1720656398 [21:03:53]opened+sec_in_day 1720742798 [21:03:53]quantity*price = 11000 [21:03:53]sum+1 = 11001 [21:03:53]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4670003190037 Антифриз SIBIRIA ANTIFREEZE ОЖ-40 зел 1л 1.000 * 225.00 = 225.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4607010740757 Чипсы Чипсоны сметана, лук 40г 1.000 * 41.00 = 41.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 376.00 НСП 1% : 3.32 НДС 12% : 39.92 Наличными: 0.00 Безнал.: 376.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 70 11.07.2024 21:03 Смена: 432 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000875104 ФД: 33315 ФПД: 75612749102877 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T210355&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33315&fm=75612749102877&tin=02508201610067®Number=0000000000093033&sum=37600 0 [21:03:54]StoreToDocumentArchive [21:03:54]shift 432 fd 33315 [21:03:54]save to /storage/0432/doc_00033315 [21:03:54]save last doc name /storage/0432/doc_00033315 to /storage/kkm_last_doc_name [21:03:54]save OK [21:03:54]Clear old archive folders... [21:03:54]ProcessDocumentItem done err = 0, tmpTLVsize=554 [21:03:54]tlvbuf is B6F547D0 [21:03:54]SAM_PROTO_ClearQueue [21:03:54]wFMCommunicate request_size=4 [21:03:54]MH_SAM_APDU [21:03:54]CAPDU: 80 09 00 00 [21:03:54]Write to MH i2c: E2 08 00 E9 0D 80 09 00 00 00 00 00 00 68 [21:03:54]Write i2c OK [21:03:54]MH_I2C_Read... [21:03:54]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:03:54]Read from MH i2c: E2 [21:03:54]MH_I2C_Read... [21:03:54]Read from MH i2c: E2 03 00 [21:03:54]MH_I2C_Read... [21:03:54]Read from MH i2c: E2 03 00 E9 0D 00 90 00 6A [21:03:54]RAPDU: 90 00 [21:03:54]wFMCommunicate OK [21:03:54]SAM_PROTO_ClearQueue done [21:03:54]KKMCreateOFDPacket [21:03:54]OFDProtocolAddRootSTLVToBuf [21:03:54]FM_MakeSignedData [21:03:54]FM_MakeSignedData [21:03:54]SAM_PROTO_SignData [21:03:54]wFMCommunicate request_size=4 [21:03:54]MH_SAM_APDU [21:03:54]CAPDU: 80 0D 01 02 [21:03:54]Write to MH i2c: E2 08 00 EA 0D 80 0D 01 02 00 00 00 00 70 [21:03:54]Write i2c OK [21:03:54]MH_I2C_Read... [21:03:54]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:03:54]Read from MH i2c: E2 [21:03:54]MH_I2C_Read... [21:03:54]Read from MH i2c: E2 03 00 [21:03:54]MH_I2C_Read... [21:03:54]Read from MH i2c: E2 03 00 EA 0D 00 90 00 6B [21:03:54]RAPDU: 90 00 [21:03:54]wFMCommunicate OK [21:03:54]wFMCommunicate request_size=255 [21:03:54]MH_SAM_APDU [21:03:54]CAPDU: 80 0D 02 02 FA 03 00 2A 02 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 31 36 06 04 3D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D0 B7 D0 B5 D0 BB 2E D0 BB D0 B8 D0 BC D0 BE D0 BD 20 28 D0 BD D0 BE D0 B2 D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 37 30 30 30 33 31 39 30 30 33 37 06 04 36 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 53 49 42 49 52 49 41 20 41 4E 54 49 46 52 45 45 5A 45 20 D0 9E D0 96 2D 34 30 20 D0 B7 D0 B5 D0 BB 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E4 57 00 00 00 00 13 04 06 00 E4 57 00 [21:03:54]Write to MH i2c: E2 02 01 EB 0D 80 0D 02 02 FA 00 03 00 2A 02 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 31 36 06 04 3D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D0 B7 D0 B5 D0 BB 2E D0 BB D0 B8 D0 BC D0 BE D0 BD 20 28 D0 BD D0 BE D0 B2 D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 37 30 30 30 33 31 39 30 30 33 37 06 04 36 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 53 49 42 49 52 49 41 20 41 4E 54 49 46 52 45 45 5A 45 20 D0 9E D0 96 2D 34 30 20 D0 B7 D0 B5 D0 BB 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E4 57 00 00 00 00 13 04 06 00 E4 57 00 00 00 4F [21:03:54]Write i2c OK [21:03:54]MH_I2C_Read... [21:03:55]OFD Sender: No OFD packet to send [21:03:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:03:55]Read from MH i2c: E2 [21:03:55]MH_I2C_Read... [21:03:55]Read from MH i2c: E2 03 00 [21:03:55]MH_I2C_Read... [21:03:55]Read from MH i2c: E2 03 00 EB 0D 00 90 00 6C [21:03:55]RAPDU: 90 00 [21:03:55]wFMCommunicate OK [21:03:55]wFMCommunicate request_size=255 [21:03:55]MH_SAM_APDU [21:03:55]CAPDU: 80 0D 02 02 FA 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 79 00 8A 04 0D 00 34 36 30 37 30 31 30 37 34 30 37 35 37 06 04 35 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 D0 A7 D0 B8 D0 BF D1 81 D0 BE D0 BD D1 8B 20 D1 81 D0 BC D0 B5 D1 82 D0 B0 D0 BD D0 B0 2C 20 D0 BB D1 83 D0 BA 20 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 10 00 00 00 00 13 04 06 00 04 10 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 92 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4C 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 0F 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E0 92 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 46 00 00 00 F4 03 04 00 BB 48 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 [21:03:55]Write to MH i2c: E2 02 01 EC 0D 80 0D 02 02 FA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 79 00 8A 04 0D 00 34 36 30 37 30 31 30 37 34 30 37 35 37 06 04 35 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 D0 A7 D0 B8 D0 BF D1 81 D0 BE D0 BD D1 8B 20 D1 81 D0 BC D0 B5 D1 82 D0 B0 D0 BD D0 B0 2C 20 D0 BB D1 83 D0 BA 20 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 10 00 00 00 00 13 04 06 00 04 10 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 92 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4C 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 0F 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E0 92 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 46 00 00 00 F4 03 04 00 BB 48 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 00 00 6E [21:03:55]Write i2c OK [21:03:55]MH_I2C_Read... [21:03:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:03:55]Read from MH i2c: E2 [21:03:55]MH_I2C_Read... [21:03:55]Read from MH i2c: E2 03 00 [21:03:55]MH_I2C_Read... [21:03:55]Read from MH i2c: E2 03 00 EC 0D 00 90 00 6D [21:03:55]RAPDU: 90 00 [21:03:55]wFMCommunicate OK [21:03:55]wFMCommunicate request_size=63 [21:03:55]MH_SAM_APDU [21:03:55]CAPDU: 80 0D 02 02 3A 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 23 82 00 00 35 04 06 00 44 C4 F7 0C FF 1D [21:03:55]Write to MH i2c: E2 42 00 ED 0D 80 0D 02 02 3A 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 23 82 00 00 35 04 06 00 44 C4 F7 0C FF 1D 00 00 7C [21:03:55]Write i2c OK [21:03:55]MH_I2C_Read... [21:03:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:03:55]Read from MH i2c: E2 [21:03:55]MH_I2C_Read... [21:03:55]Read from MH i2c: E2 03 00 [21:03:55]MH_I2C_Read... [21:03:55]Read from MH i2c: E2 03 00 ED 0D 00 90 00 6E [21:03:55]RAPDU: 90 00 [21:03:55]wFMCommunicate OK [21:03:55]wFMCommunicate request_size=4 [21:03:55]MH_SAM_APDU [21:03:55]CAPDU: 80 0D 03 02 [21:03:55]Write to MH i2c: E2 08 00 EE 0D 80 0D 03 02 00 00 00 00 76 [21:03:55]Write i2c OK [21:03:55]MH_I2C_Read... [21:03:55]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:03:55]Read from MH i2c: E2 [21:03:55]MH_I2C_Read... [21:03:55]Read from MH i2c: E2 0B 00 [21:03:55]MH_I2C_Read... [21:03:55]Read from MH i2c: E2 0B 00 EE 0D 00 58 48 6E B2 B6 F5 82 36 90 00 9A [21:03:55]RAPDU: 58 48 6E B2 B6 F5 82 36 90 00 [21:03:55]wFMCommunicate OK [21:03:55]SAM_PROTO_SignData done [21:03:55]FM_MakeSignedData done [21:03:55]CreateOFDProtocolMessage [21:03:55]wFMCommunicate request_size=4 [21:03:55]MH_SAM_APDU [21:03:55]CAPDU: 80 11 00 00 [21:03:55]Write to MH i2c: E2 08 00 EF 0D 80 11 00 00 00 00 00 00 76 [21:03:55]Write i2c OK [21:03:55]MH_I2C_Read... [21:03:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:03:55]Read from MH i2c: E2 [21:03:55]MH_I2C_Read... [21:03:55]Read from MH i2c: E2 17 00 [21:03:55]MH_I2C_Read... [21:03:55]Read from MH i2c: E2 17 00 EF 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 C2 [21:03:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [21:03:55]wFMCommunicate OK [21:03:55]CreateOFDProtocolMessage done [21:03:55]OFDSenderStorePacket 33315 [21:03:55]StoreOFDPacket docnum=33315 [21:03:55]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 3E 02 00 00 A8 66 36 02 F3 7B 5A 03 01 00 03 00 2A 02 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 31 36 06 04 3D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D0 B7 D0 B5 D0 BB 2E D0 BB D0 B8 D0 BC D0 BE D0 BD 20 28 D0 BD D0 BE D0 B2 D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 37 30 30 30 33 31 39 30 30 33 37 06 04 36 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 53 49 42 49 52 49 41 20 41 4E 54 49 46 52 45 45 5A 45 20 D0 9E D0 96 2D 34 30 20 D0 B7 D0 B5 D0 BB 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E4 57 00 00 00 00 13 04 06 00 E4 57 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 79 00 8A 04 0D 00 34 36 30 37 30 31 30 37 34 30 37 35 37 06 04 35 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 D0 A7 D0 B8 D0 BF D1 81 D0 BE D0 BD D1 8B 20 D1 81 D0 BC D0 B5 D1 82 D0 B0 D0 BD D0 B0 2C 20 D0 BB D1 83 D0 BA 20 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 10 00 00 00 00 13 04 06 00 04 10 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 92 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4C 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 0F 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E0 92 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 46 00 00 00 F4 03 04 00 BB 48 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 23 82 00 00 35 04 06 00 44 C4 F7 0C FF 1D 58 48 6E B2 B6 F5 82 36 [21:03:55]CheckFolder [21:03:55]dirname=/storage/ofd_packets [21:03:55]CheckFolder done [21:03:55]ProducePacketName [21:03:55]name=ofd_packets/00033315 [21:03:55]NVStorageSaveData ofd_packets/00033315 [21:03:55]File name is /storage/ofd_packets/00033315 [21:03:55]Write 604 bytes [21:03:55]NVStorageSaveData done [21:03:55]OFDSenderStorePacket done [21:03:55]KKMCreateOFDPacket done [21:03:55]NVStorageSaveData kkm_last_timestamp [21:03:55]File name is /storage/kkm_last_timestamp [21:03:55]Write 4 bytes [21:03:55]NVStorageSaveData done [21:03:55]ExternCall_PrintAddStr [21:03:55]wPrintStart [21:03:55]Write to MH i2c: 01 00 00 F0 0D FD [21:03:55]Write i2c OK [21:03:55]MH_I2C_Read... [21:03:55]Read from MH i2c: 01 [21:03:55]MH_I2C_Read... [21:03:55]Read from MH i2c: 01 07 00 [21:03:55]MH_I2C_Read... [21:03:55]Read from MH i2c: 01 07 00 F0 0D 00 00 00 00 00 FF 0F 12 [21:03:55]RasterBufferAndPrint [21:03:55]line Счет N : (3)169137 [21:03:55]line ИНН: 02508201610067 [21:03:55]line Контрольно-Кассовый Чек [21:03:55]line ПРОДАЖА [21:03:55]line Товар: 4870202521216 [21:03:55]line Напиток MAXI чай 1,2 зел.лимон (новый) [21:03:55]line 1.000 * 110.00 [21:03:55]line = 110.00 [21:03:55]line НДС 12% НСП 1% [21:03:55]line > о реализуемом товаре [21:03:55]line Товар: 4670003190037 [21:03:56]line Антифриз SIBIRIA ANTIFREEZE ОЖ-40 зел 1л [21:03:56]line 1.000 * 225.00 [21:03:56]line = 225.00 [21:03:56]line НДС 12% НСП 1% [21:03:56]line > о реализуемом товаре [21:03:56]line Товар: 4607010740757 [21:03:56]line Чипсы Чипсоны сметана, лук 40г [21:03:56]line 1.000 * 41.00 [21:03:56]line = 41.00 [21:03:56]line НДС 12% НСП 1% [21:03:56]line > о реализуемом товаре [21:03:56]line ИТОГО: 376.00 [21:03:56]line НСП 1% : 3.32 [21:03:56]line НДС 12% : 39.92 [21:03:56]line Наличными: 0.00 [21:03:56]line Безнал.: 376.00 [21:03:56]line Место: АЗС № 77 "Партнер Нефть" [21:03:56]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [21:03:56]line СНО: Общий режим [21:03:56]line Чек 70 11.07.2024 21:03 [21:03:56]line Смена: 432 ФФД: 1.0 [21:03:56]line ЗНМ: 0300000122 [21:03:56]line РНМ: 0000000000093033 [21:03:56]line Версия ККМ: 001 [21:03:56]line Платежная система: АКБ Кыргызстан [21:03:56]line ФМ: 0000000000875104 [21:03:56]line ФД: 33315 [21:03:56]line ФПД: 75612749102877 [21:03:56]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T210355&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33315&fm=75612749102877&tin=02508201610067®Number=0000000000093033&sum=37600 [21:03:56]line 0 [21:03:56]OFD Sender: Processing packet 33315 [packets to send 6, broken 5] [21:03:56]ProducePacketName [21:03:56]name=ofd_packets/00033315 [21:03:56]OFD Sender: To server: pG, [21:03:56]CommunicateWithHost lk.salyk.kg:30040 [21:03:56]ConnectInit lk.salyk.kg [21:03:56]written 0, free lines is 4095 [21:03:56]Connected sock=10 [21:03:56]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 3E 02 00 00 A8 66 36 02 F3 7B 5A 03 01 00 03 00 2A 02 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 31 36 06 04 3D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D0 B7 D0 B5 D0 BB 2E D0 BB D0 B8 D0 BC D0 BE D0 BD 20 28 D0 BD D0 BE D0 B2 D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 37 30 30 30 33 31 39 30 30 33 37 06 04 36 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 53 49 42 49 52 49 41 20 41 4E 54 49 46 52 45 45 5A 45 20 D0 9E D0 96 2D 34 30 20 D0 B7 D0 B5 D0 BB 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E4 57 00 00 00 00 13 04 06 00 E4 57 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 79 00 8A 04 0D 00 34 36 30 37 30 31 30 37 34 30 37 35 37 06 04 35 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 D0 A7 D0 B8 D0 BF D1 81 D0 BE D0 BD D1 8B 20 D1 81 D0 BC D0 B5 D1 82 D0 B0 D0 BD D0 B0 2C 20 D0 BB D1 83 D0 BA 20 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 10 00 00 00 00 13 04 06 00 04 10 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 92 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4C 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 0F 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E0 92 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 46 00 00 00 F4 03 04 00 BB 48 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 23 82 00 00 35 04 06 00 44 C4 F7 0C FF 1D 58 48 6E B2 B6 F5 82 36 [21:03:56]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 9D 46 47 00 3B 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 35 31 30 34 10 04 04 00 23 82 00 00 F4 03 04 00 6B F3 8F 66 B6 04 01 00 00 57 32 79 1C D5 B7 83 BF [21:03:56]CommunicateWithHost err = 0 [21:03:56]CheckOFDResponse [21:03:56]1017 (14) - 77093643461234 [21:03:56]1041 (16) - 0000000000875104 [21:03:56]1040 (4) - 33315 [21:03:56]1012 (4) - 11.07.2024 14:59 [21:03:56]1206 (1) - 0 [21:03:56]OFD Sender: Remove packet 33315 [21:03:56]ProducePacketName [21:03:56]name=ofd_packets/00033315 [21:03:56]NVStorageDeleteData [21:03:56]Write to MH i2c: 01 00 00 29 0E 37 [21:03:56]Write i2c OK [21:03:56]MH_I2C_Read... [21:03:56]Read from MH i2c: 01 [21:03:56]MH_I2C_Read... [21:03:56]Read from MH i2c: 01 07 00 [21:03:56]MH_I2C_Read... [21:03:56]Read from MH i2c: 01 07 00 29 0E 00 00 00 00 00 ED 0B 36 [21:03:56]RasterBufferAndPrint [21:03:56]line [21:03:56]line [21:03:56]line [21:03:56]line [21:03:56]line [21:03:56]written 0, free lines is 3059 [21:03:56]MH_Cut [21:03:56]Write to MH i2c: D1 01 00 30 0E 01 10 [21:03:56]Write i2c OK [21:03:56]MH_I2C_Read... [21:03:56]Read from MH i2c: D1 [21:03:56]MH_I2C_Read... [21:03:56]Read from MH i2c: D1 01 00 [21:03:56]MH_I2C_Read... [21:03:56]Read from MH i2c: D1 01 00 30 0E 00 0F [21:03:56]Write to MH i2c: 01 00 00 31 0E 3F [21:03:56]Write i2c OK [21:03:56]MH_I2C_Read... [21:03:56]OFD Sender: No OFD packet to send [21:03:57]*** Cut start [21:03:57]*** Partial cut [21:03:57]*** CUTSNS_PIN = 1 [21:03:57]*** CUTSNS_PIN = 0 [21:03:57]*** Brake cut motor [21:03:58]Read from MH i2c: 01 [21:03:58]MH_I2C_Read... [21:03:58]*** Stop cut motor [21:03:58]*** Cut end [21:03:58]Read from MH i2c: 01 07 00 [21:03:58]MH_I2C_Read... [21:03:58]Read from MH i2c: 01 07 00 31 0E 00 00 00 00 00 FF 0F 54 [21:03:58]process_action close_receipt done [21:03:58]requested_data is exist [21:03:58]produce_requested_data [21:03:58]requested_item fm.sn is exist - process it [21:03:58]wFMCommunicate request_size=4 [21:03:58]MH_SAM_APDU [21:03:58]CAPDU: 80 11 00 00 [21:03:58]Write to MH i2c: E2 08 00 32 0E 80 11 00 00 00 00 00 00 BA [21:03:58]Write i2c OK [21:03:58]MH_I2C_Read... [21:03:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:03:58]Read from MH i2c: E2 [21:03:58]MH_I2C_Read... [21:03:58]Read from MH i2c: E2 17 00 [21:03:58]MH_I2C_Read... [21:03:58]Read from MH i2c: E2 17 00 32 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 06 [21:03:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [21:03:58]wFMCommunicate OK [21:03:58]requested_item fd.num is exist - process it [21:03:58]SAM_PROTO_GetFieldsCounters [21:03:58]wFMCommunicate request_size=4 [21:03:58]MH_SAM_APDU [21:03:58]CAPDU: 80 13 00 00 [21:03:58]Write to MH i2c: E2 08 00 33 0E 80 13 00 00 00 00 00 00 BD [21:03:58]Write i2c OK [21:03:58]MH_I2C_Read... [21:03:58]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:03:58]Read from MH i2c: E2 [21:03:58]MH_I2C_Read... [21:03:58]Read from MH i2c: E2 62 00 [21:03:58]MH_I2C_Read... [21:03:58]Read from MH i2c: E2 62 00 33 0E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 23 82 00 00 0E 04 04 00 B0 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 F8 [21:03: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 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 23 82 00 00 0E 04 04 00 B0 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 [21:03:58]wFMCommunicate OK [21:03:58]SAM_PROTO_GetFieldsCounters done [21:03:58]requested_item shift.num is exist - process it [21:03:58]requested_item shift.opened is exist - process it [21:03:58]req_shift_opened [21:03:58]FM_GetShiftState [21:03:58]SAM_PROTO_GetShiftState [21:03:58]wFMCommunicate request_size=4 [21:03:58]MH_SAM_APDU [21:03:58]CAPDU: 80 13 01 00 [21:03:58]Write to MH i2c: E2 08 00 34 0E 80 13 01 00 00 00 00 00 BF [21:03:58]Write i2c OK [21:03:58]MH_I2C_Read... [21:03:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:03:58]Read from MH i2c: E2 [21:03:58]MH_I2C_Read... [21:03:58]Read from MH i2c: E2 0E 00 [21:03:58]MH_I2C_Read... [21:03:58]Read from MH i2c: E2 0E 00 34 0E 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 F0 [21:03:58]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [21:03:58]wFMCommunicate OK [21:03:58]SAM_PROTO_GetShiftState done [21:03:58]FM_GetShiftState done [21:03:58]req_shift_opened done [21:03:58]requested_item shift.open_date is exist - process it [21:03:58]req_shift_open_date [21:03:58]req_shift_open_date done [21:03:58]produce_requested_data done [21:03:58]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33315,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398} [21:03:58]process_action_free close_receipt [21:03:58]json_value_free [21:03:58]json_value_free done [21:03:58]process_json_proto returns [21:03:58]Send response to host [21:03:58]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33315,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398}}} [21:03:58]free response buf [21:03:58]execute_script done [21:03:58]execute_script returns [21:03:58]free content buf [21:03:58]Sock 9.Close socket [21:03:58]Sock 9.Thread stoped [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:32]OFD Sender: No OFD packet to send [21:06:37]OFD Sender: No OFD packet to send [21:06:42]OFD Sender: No OFD packet to send [21:06:47]OFD Sender: No OFD packet to send [21:06:52]OFD Sender: No OFD packet to send [21:06:57]OFD Sender: No OFD packet to send [21:07:02]OFD Sender: No OFD packet to send [21:07:07]OFD Sender: No OFD packet to send [21:07:12]OFD Sender: No OFD packet to send [21:07:17]OFD Sender: No OFD packet to send [21:07:22]OFD Sender: No OFD packet to send [21:07:27]OFD Sender: No OFD packet to send [21:07:32]OFD Sender: No OFD packet to send [21:07:37]OFD Sender: No OFD packet to send [21:07:42]OFD Sender: No OFD packet to send [21:07:47]OFD Sender: No OFD packet to send [21:07:52]OFD Sender: No OFD packet to send [21:07:57]OFD Sender: No OFD packet to send [21:08:02]OFD Sender: No OFD packet to send [21:08:07]OFD Sender: No OFD packet to send [21:08:12]OFD Sender: No OFD packet to send [21:08:17]OFD Sender: No OFD packet to send [21:08:22]OFD Sender: No OFD packet to send [21:08:27]OFD Sender: No OFD packet to send [21:08:32]OFD Sender: No OFD packet to send [21:08:37]OFD Sender: No OFD packet to send [21:08:42]OFD Sender: No OFD packet to send [21:08:47]OFD Sender: No OFD packet to send [21:08:52]OFD Sender: No OFD packet to send [21:08:57]OFD Sender: No OFD packet to send [21:09:02]OFD Sender: No OFD packet to send [21:09:07]OFD Sender: No OFD packet to send [21:09:12]OFD Sender: No OFD packet to send [21:09:17]OFD Sender: No OFD packet to send [21:09:22]OFD Sender: No OFD packet to send [21:09:27]OFD Sender: No OFD packet to send [21:09:32]OFD Sender: No OFD packet to send [21:09:37]OFD Sender: No OFD packet to send [21:09:42]OFD Sender: No OFD packet to send [21:09:47]OFD Sender: No OFD packet to send [21:09:52]OFD Sender: No OFD packet to send [21:09:57]OFD Sender: No OFD packet to send [21:10:02]OFD Sender: No OFD packet to send [21:10:07]OFD Sender: No OFD packet to send [21:10:12]OFD Sender: No OFD packet to send [21:10:12]accept exits with 7 [21:10:12]New connection [21:10:12]New thread 3066793316 created [21:10:12]Thread 3066936676 joined [21:10:12]Waiting for new connection... [21:10:12] Sock 7.Parse request [21:10:12]Sock 7.Check first char [21:10:12]Sock 7.First char is OK [21:10:12]request: POST /json_proto HTTP/1.0 [21:10:12]Method: POST [21:10:12]URL: /json_proto [21:10:12]Method is POST - this is cgi request [21:10:12]url: /json_proto [21:10:12]query_string will be loaded in cgi processing [21:10:12]execute_cgi json_proto POST (null) [21:10:12]execute_cgi path=json_proto method=POST [21:10:12]POST find Content-Length [21:10:12]Host: 172.17.35.196:8080 [21:10:12]Content-Length: 678 [21:10:12]Content-Type: application/json [21:10:12] [21:10:12]POST finish read [21:10:12]Found Content-Length = 678 [21:10:12]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)5669861", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.30, "quantity" : 7.550, "sum" : 500.57, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:10:12]execute_script... [21:10: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 : (1)5669861", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.30, "quantity" : 7.550, "sum" : 500.57, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:10:12]POST & json_proto [21:10:12]process_json_proto [21:10:12]json parsed OK: [21:10:12]protocol is kg_v1.0 [21:10:12]action value=close_receipt [21:10:12]process_action close_receipt [21:10:12]cmd_close_receipt [21:10:12]MH_GetDate [21:10:12]Write to MH i2c: F0 00 00 35 0E 32 [21:10:12]Write i2c OK [21:10:12]MH_I2C_Read... [21:10:12]Read from MH i2c: F0 [21:10:12]MH_I2C_Read... [21:10:12]Read from MH i2c: F0 09 00 [21:10:12]MH_I2C_Read... [21:10:12]Read from MH i2c: F0 09 00 35 0E 00 36 4A 90 66 AD 14 F4 65 CB [21:10:12]GetLastDocTimeStamp 1720731835 [21:10:12]current date 1720732214 [21:10:12]FM_GetShiftState [21:10:12]SAM_PROTO_GetShiftState [21:10:12]wFMCommunicate request_size=4 [21:10:12]MH_SAM_APDU [21:10:12]CAPDU: 80 13 01 00 [21:10:12]Write to MH i2c: E2 08 00 36 0E 80 13 01 00 00 00 00 00 C1 [21:10:12]Write i2c OK [21:10:12]MH_I2C_Read... [21:10:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:10:12]Read from MH i2c: E2 [21:10:12]MH_I2C_Read... [21:10:12]Read from MH i2c: E2 0E 00 [21:10:12]MH_I2C_Read... [21:10:12]Read from MH i2c: E2 0E 00 36 0E 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 F2 [21:10:12]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [21:10:12]wFMCommunicate OK [21:10:12]SAM_PROTO_GetShiftState done [21:10:12]FM_GetShiftState done [21:10:12]opened in 1720656398 [21:10:12]opened+sec_in_day 1720742798 [21:10:12]quantity*price = 50056 [21:10:12]sum+1 = 50058 [21:10:12]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.57 ИТОГО: 500.00 Внесено: 500.00 СДАЧА: 0.00 НСП 1% : 4.43 НДС 12% : 53.16 Наличными: 500.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 71 11.07.2024 21:10 Смена: 432 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33316 ФПД: 4755667635182 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T211015&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33316&fm=4755667635182&tin=02508201610067®Number=0000000000093033&sum=50000 [21:10:14]StoreToDocumentArchive [21:10:14]shift 432 fd 33316 [21:10:14]save to /storage/0432/doc_00033316 [21:10:14]save last doc name /storage/0432/doc_00033316 to /storage/kkm_last_doc_name [21:10:14]save OK [21:10:14]Clear old archive folders... [21:10:14]ProcessDocumentItem done err = 0, tmpTLVsize=251 [21:10:14]tlvbuf is 01C57AE0 [21:10:14]SAM_PROTO_ClearQueue [21:10:14]wFMCommunicate request_size=4 [21:10:14]MH_SAM_APDU [21:10:14]CAPDU: 80 09 00 00 [21:10:14]Write to MH i2c: E2 08 00 43 0E 80 09 00 00 00 00 00 00 C3 [21:10:14]Write i2c OK [21:10:14]MH_I2C_Read... [21:10:14]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:10:14]Read from MH i2c: E2 [21:10:14]MH_I2C_Read... [21:10:14]Read from MH i2c: E2 03 00 [21:10:14]MH_I2C_Read... [21:10:14]Read from MH i2c: E2 03 00 43 0E 00 90 00 C5 [21:10:14]RAPDU: 90 00 [21:10:14]wFMCommunicate OK [21:10:14]SAM_PROTO_ClearQueue done [21:10:14]KKMCreateOFDPacket [21:10:14]OFDProtocolAddRootSTLVToBuf [21:10:14]FM_MakeSignedData [21:10:14]FM_MakeSignedData [21:10:14]SAM_PROTO_SignData [21:10:14]wFMCommunicate request_size=4 [21:10:14]MH_SAM_APDU [21:10:14]CAPDU: 80 0D 01 02 [21:10:14]Write to MH i2c: E2 08 00 44 0E 80 0D 01 02 00 00 00 00 CB [21:10:14]Write i2c OK [21:10:14]MH_I2C_Read... [21:10:14]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:10:14]Read from MH i2c: E2 [21:10:14]MH_I2C_Read... [21:10:14]Read from MH i2c: E2 03 00 [21:10:14]MH_I2C_Read... [21:10:14]Read from MH i2c: E2 03 00 44 0E 00 90 00 C6 [21:10:14]RAPDU: 90 00 [21:10:14]wFMCommunicate OK [21:10:14]wFMCommunicate request_size=255 [21:10:14]MH_SAM_APDU [21:10:14]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 7E 1D 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 89 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 14 00 00 00 00 07 04 06 00 50 C3 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 37 4A 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 24 82 00 00 35 04 06 00 04 [21:10:14]Write to MH i2c: E2 02 01 45 0E 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 7E 1D 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 89 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 14 00 00 00 00 07 04 06 00 50 C3 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 37 4A 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 24 82 00 00 35 04 06 00 04 00 00 80 [21:10:14]Write i2c OK [21:10:14]MH_I2C_Read... [21:10:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:10:14]Read from MH i2c: E2 [21:10:14]MH_I2C_Read... [21:10:14]Read from MH i2c: E2 03 00 [21:10:14]MH_I2C_Read... [21:10:14]Read from MH i2c: E2 03 00 45 0E 00 90 00 C7 [21:10:14]RAPDU: 90 00 [21:10:14]wFMCommunicate OK [21:10:14]wFMCommunicate request_size=10 [21:10:14]MH_SAM_APDU [21:10:14]CAPDU: 80 0D 02 02 05 53 43 E1 4B EE [21:10:14]Write to MH i2c: E2 0D 00 46 0E 80 0D 02 02 05 00 53 43 E1 4B EE 00 00 88 [21:10:14]Write i2c OK [21:10:14]MH_I2C_Read... [21:10:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:10:14]Read from MH i2c: E2 [21:10:14]MH_I2C_Read... [21:10:14]Read from MH i2c: E2 03 00 [21:10:14]MH_I2C_Read... [21:10:14]Read from MH i2c: E2 03 00 46 0E 00 90 00 C8 [21:10:14]RAPDU: 90 00 [21:10:14]wFMCommunicate OK [21:10:14]wFMCommunicate request_size=4 [21:10:14]MH_SAM_APDU [21:10:14]CAPDU: 80 0D 03 02 [21:10:14]Write to MH i2c: E2 08 00 47 0E 80 0D 03 02 00 00 00 00 D0 [21:10:14]Write i2c OK [21:10:14]MH_I2C_Read... [21:10:14]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:10:14]Read from MH i2c: E2 [21:10:14]MH_I2C_Read... [21:10:14]Read from MH i2c: E2 0B 00 [21:10:14]MH_I2C_Read... [21:10:14]Read from MH i2c: E2 0B 00 47 0E 00 7A 57 93 7D 47 A0 49 78 90 00 5A [21:10:14]RAPDU: 7A 57 93 7D 47 A0 49 78 90 00 [21:10:14]wFMCommunicate OK [21:10:14]SAM_PROTO_SignData done [21:10:14]FM_MakeSignedData done [21:10:14]CreateOFDProtocolMessage [21:10:14]wFMCommunicate request_size=4 [21:10:14]MH_SAM_APDU [21:10:14]CAPDU: 80 11 00 00 [21:10:14]Write to MH i2c: E2 08 00 48 0E 80 11 00 00 00 00 00 00 D0 [21:10:14]Write i2c OK [21:10:14]MH_I2C_Read... [21:10:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:10:14]Read from MH i2c: E2 [21:10:14]MH_I2C_Read... [21:10:14]Read from MH i2c: E2 17 00 [21:10:14]MH_I2C_Read... [21:10:14]Read from MH i2c: E2 17 00 48 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 1C [21:10:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [21:10:14]wFMCommunicate OK [21:10:14]CreateOFDProtocolMessage done [21:10:14]OFDSenderStorePacket 33316 [21:10:14]StoreOFDPacket docnum=33316 [21:10:14]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0F 01 00 00 BC 80 07 01 B6 2A 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 7E 1D 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 89 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 14 00 00 00 00 07 04 06 00 50 C3 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 37 4A 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 24 82 00 00 35 04 06 00 04 53 43 E1 4B EE 7A 57 93 7D 47 A0 49 78 [21:10:14]CheckFolder [21:10:14]dirname=/storage/ofd_packets [21:10:14]CheckFolder done [21:10:14]ProducePacketName [21:10:14]name=ofd_packets/00033316 [21:10:14]NVStorageSaveData ofd_packets/00033316 [21:10:14]File name is /storage/ofd_packets/00033316 [21:10:14]Write 301 bytes [21:10:14]NVStorageSaveData done [21:10:14]OFDSenderStorePacket done [21:10:14]KKMCreateOFDPacket done [21:10:14]NVStorageSaveData kkm_last_timestamp [21:10:14]File name is /storage/kkm_last_timestamp [21:10:14]Write 4 bytes [21:10:14]NVStorageSaveData done [21:10:14]ExternCall_PrintAddStr [21:10:14]wPrintStart [21:10:14]Write to MH i2c: 01 00 00 49 0E 57 [21:10:14]Write i2c OK [21:10:14]MH_I2C_Read... [21:10:14]Read from MH i2c: 01 [21:10:14]MH_I2C_Read... [21:10:14]Read from MH i2c: 01 07 00 [21:10:14]MH_I2C_Read... [21:10:14]Read from MH i2c: 01 07 00 49 0E 00 00 00 00 00 FF 0F 6C [21:10:14]RasterBufferAndPrint [21:10:14]line Счет N : (1)5669861 [21:10:14]line ИНН: 02508201610067 [21:10:14]line Контрольно-Кассовый Чек [21:10:14]line ПРОДАЖА [21:10:14]line ТРК (МРК, ГНК) : 43 [21:10:14]line Товар: 2710124130 [21:10:14]line Аи-92-К-5 [21:10:14]line 7.550 * 66.30 [21:10:14]line = 500.57 [21:10:14]line НДС 12% НСП 1% [21:10:14]line > о реализуемом товаре [21:10:14]line ОКРУГЛЕНИЕ: -0.57 [21:10:14]line ИТОГО: 500.00 [21:10:14]line Внесено: 500.00 [21:10:14]line СДАЧА: 0.00 [21:10:14]line НСП 1% : 4.43 [21:10:14]line НДС 12% : 53.16 [21:10:14]line Наличными: 500.00 [21:10:14]line Безнал.: 0.00 [21:10:14]line Место: АЗС № 77 "Партнер Нефть" [21:10:14]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [21:10:14]line СНО: Общий режим [21:10:14]line Чек 71 11.07.2024 21:10 [21:10:14]line Смена: 432 ФФД: 1.0 [21:10:14]line ЗНМ: 0300000122 [21:10:14]line РНМ: 0000000000093033 [21:10:14]line Версия ККМ: 001 [21:10:14]line ФМ: 0000000000875104 [21:10:14]line ФД: 33316 [21:10:14]line ФПД: 4755667635182 [21:10:14]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T211015&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33316&fm=4755667635182&tin=02508201610067®Number=0000000000093033&sum=50000 [21:10:14]OFD Sender: Processing packet 33316 [packets to send 6, broken 5] [21:10:14]ProducePacketName [21:10:14]name=ofd_packets/00033316 [21:10:14]OFD Sender: To server: pG, [21:10:14]CommunicateWithHost lk.salyk.kg:30040 [21:10:14]ConnectInit lk.salyk.kg [21:10:14]written 0, free lines is 4095 [21:10:14]Connected sock=10 [21:10:14]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0F 01 00 00 BC 80 07 01 B6 2A 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 7E 1D 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 89 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 14 00 00 00 00 07 04 06 00 50 C3 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 37 4A 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 24 82 00 00 35 04 06 00 04 53 43 E1 4B EE 7A 57 93 7D 47 A0 49 78 [21:10:15]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 EF 58 47 00 2E 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 35 31 30 34 10 04 04 00 24 82 00 00 F4 03 04 00 E5 F4 8F 66 B6 04 01 00 00 1D B4 6F B9 FA 17 F9 A5 [21:10:15]CommunicateWithHost err = 0 [21:10:15]CheckOFDResponse [21:10:15]1017 (14) - 77093643461234 [21:10:15]1041 (16) - 0000000000875104 [21:10:15]1040 (4) - 33316 [21:10:15]1012 (4) - 11.07.2024 15:06 [21:10:15]1206 (1) - 0 [21:10:15]OFD Sender: Remove packet 33316 [21:10:15]ProducePacketName [21:10:15]name=ofd_packets/00033316 [21:10:15]NVStorageDeleteData [21:10:15]Write to MH i2c: 01 00 00 74 0E 82 [21:10:15]Write i2c OK [21:10:15]MH_I2C_Read... [21:10:15]Read from MH i2c: 01 [21:10:15]MH_I2C_Read... [21:10:15]Read from MH i2c: 01 07 00 [21:10:15]MH_I2C_Read... [21:10:15]Read from MH i2c: 01 07 00 74 0E 00 00 00 00 00 CC 0C 61 [21:10:15]RasterBufferAndPrint [21:10:15]line [21:10:15]line [21:10:15]line [21:10:15]line [21:10:15]line [21:10:15]written 0, free lines is 3282 [21:10:15]MH_Cut [21:10:15]Write to MH i2c: D1 01 00 7B 0E 01 5B [21:10:15]Write i2c OK [21:10:15]MH_I2C_Read... [21:10:15]Read from MH i2c: D1 [21:10:15]MH_I2C_Read... [21:10:15]Read from MH i2c: D1 01 00 [21:10:15]MH_I2C_Read... [21:10:15]Read from MH i2c: D1 01 00 7B 0E 00 5A [21:10:15]Write to MH i2c: 01 00 00 7C 0E 8A [21:10:15]Write i2c OK [21:10:15]MH_I2C_Read... [21:10:15]OFD Sender: No OFD packet to send [21:10:16]*** Cut start [21:10:16]*** Partial cut [21:10:16]*** CUTSNS_PIN = 1 [21:10:16]*** CUTSNS_PIN = 0 [21:10:16]*** Brake cut motor [21:10:16]Read from MH i2c: 01 [21:10:16]MH_I2C_Read... [21:10:16]*** Stop cut motor [21:10:16]*** Cut end [21:10:16]Read from MH i2c: 01 07 00 [21:10:16]MH_I2C_Read... [21:10:16]Read from MH i2c: 01 07 00 7C 0E 00 00 00 00 00 FF 0F 9F [21:10:16]process_action close_receipt done [21:10:16]requested_data is exist [21:10:16]produce_requested_data [21:10:16]requested_item fm.sn is exist - process it [21:10:16]wFMCommunicate request_size=4 [21:10:16]MH_SAM_APDU [21:10:16]CAPDU: 80 11 00 00 [21:10:16]Write to MH i2c: E2 08 00 7D 0E 80 11 00 00 00 00 00 00 05 [21:10:16]Write i2c OK [21:10:16]MH_I2C_Read... [21:10:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:10:16]Read from MH i2c: E2 [21:10:16]MH_I2C_Read... [21:10:16]Read from MH i2c: E2 17 00 [21:10:16]MH_I2C_Read... [21:10:16]Read from MH i2c: E2 17 00 7D 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 51 [21:10:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [21:10:16]wFMCommunicate OK [21:10:16]requested_item fd.num is exist - process it [21:10:16]SAM_PROTO_GetFieldsCounters [21:10:16]wFMCommunicate request_size=4 [21:10:16]MH_SAM_APDU [21:10:16]CAPDU: 80 13 00 00 [21:10:16]Write to MH i2c: E2 08 00 7E 0E 80 13 00 00 00 00 00 00 08 [21:10:16]Write i2c OK [21:10:16]MH_I2C_Read... [21:10:16]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:10:16]Read from MH i2c: E2 [21:10:16]MH_I2C_Read... [21:10:16]Read from MH i2c: E2 62 00 [21:10:16]MH_I2C_Read... [21:10:16]Read from MH i2c: E2 62 00 7E 0E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 24 82 00 00 0E 04 04 00 B0 01 00 00 12 04 04 00 47 00 00 00 5E 04 04 00 47 00 00 00 57 04 04 00 48 00 00 00 19 04 04 00 00 00 00 00 90 00 47 [21:10: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 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 24 82 00 00 0E 04 04 00 B0 01 00 00 12 04 04 00 47 00 00 00 5E 04 04 00 47 00 00 00 57 04 04 00 48 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:10:16]wFMCommunicate OK [21:10:16]SAM_PROTO_GetFieldsCounters done [21:10:16]requested_item shift.num is exist - process it [21:10:16]requested_item shift.opened is exist - process it [21:10:16]req_shift_opened [21:10:16]FM_GetShiftState [21:10:16]SAM_PROTO_GetShiftState [21:10:16]wFMCommunicate request_size=4 [21:10:16]MH_SAM_APDU [21:10:16]CAPDU: 80 13 01 00 [21:10:16]Write to MH i2c: E2 08 00 7F 0E 80 13 01 00 00 00 00 00 0A [21:10:16]Write i2c OK [21:10:16]MH_I2C_Read... [21:10:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:10:16]Read from MH i2c: E2 [21:10:16]MH_I2C_Read... [21:10:16]Read from MH i2c: E2 0E 00 [21:10:16]MH_I2C_Read... [21:10:16]Read from MH i2c: E2 0E 00 7F 0E 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 3B [21:10:16]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [21:10:16]wFMCommunicate OK [21:10:16]SAM_PROTO_GetShiftState done [21:10:16]FM_GetShiftState done [21:10:16]req_shift_opened done [21:10:16]requested_item shift.open_date is exist - process it [21:10:16]req_shift_open_date [21:10:16]req_shift_open_date done [21:10:16]produce_requested_data done [21:10:16]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33316,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398} [21:10:16]process_action_free close_receipt [21:10:16]json_value_free [21:10:16]json_value_free done [21:10:16]process_json_proto returns [21:10:16]Send response to host [21:10:16]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33316,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398}}} [21:10:16]free response buf [21:10:16]execute_script done [21:10:16]execute_script returns [21:10:16]free content buf [21:10:16]Sock 7.Close socket [21:10:16]Sock 7.Thread stoped [21:10:20]OFD Sender: No OFD packet to send [21:10:25]OFD Sender: No OFD packet to send [21:10:30]OFD Sender: No OFD packet to send [21:10:35]OFD Sender: No OFD packet to send [21:10:40]OFD Sender: No OFD packet to send [21:10:45]OFD Sender: No OFD packet to send [21:10:50]OFD Sender: No OFD packet to send [21:10:55]OFD Sender: No OFD packet to send [21:11:00]OFD Sender: No OFD packet to send [21:11:05]OFD Sender: No OFD packet to send [21:11:10]OFD Sender: No OFD packet to send [21:11:15]OFD Sender: No OFD packet to send [21:11:20]OFD Sender: No OFD packet to send [21:11:25]OFD Sender: No OFD packet to send [21:11:30]OFD Sender: No OFD packet to send [21:11:35]OFD Sender: No OFD packet to send [21:11:40]OFD Sender: No OFD packet to send [21:11:45]OFD Sender: No OFD packet to send [21:11:50]OFD Sender: No OFD packet to send [21:11:55]OFD Sender: No OFD packet to send [21:12:00]OFD Sender: No OFD packet to send [21:12:05]OFD Sender: No OFD packet to send [21:12:10]OFD Sender: No OFD packet to send [21:12:15]OFD Sender: No OFD packet to send [21:12:20]OFD Sender: No OFD packet to send [21:12:25]OFD Sender: No OFD packet to send [21:12:30]OFD Sender: No OFD packet to send [21:12:35]OFD Sender: No OFD packet to send [21:12:40]OFD Sender: No OFD packet to send [21:12:45]OFD Sender: No OFD packet to send [21:12:50]OFD Sender: No OFD packet to send [21:12:55]OFD Sender: No OFD packet to send [21:13:00]OFD Sender: No OFD packet to send [21:13:05]OFD Sender: No OFD packet to send [21:13:10]OFD Sender: No OFD packet to send [21:13:15]OFD Sender: No OFD packet to send [21:13:20]OFD Sender: No OFD packet to send [21:13:25]OFD Sender: No OFD packet to send [21:13:30]OFD Sender: No OFD packet to send [21:13:35]OFD Sender: No OFD packet to send [21:13:40]OFD Sender: No OFD packet to send [21:13:45]OFD Sender: No OFD packet to send [21:13:50]OFD Sender: No OFD packet to send [21:13:55]OFD Sender: No OFD packet to send [21:14:00]OFD Sender: No OFD packet to send [21:14:05]OFD Sender: No OFD packet to send [21:14:10]OFD Sender: No OFD packet to send [21:14:15]OFD Sender: No OFD packet to send [21:14:20]OFD Sender: No OFD packet to send [21:14:25]OFD Sender: No OFD packet to send [21:14:30]OFD Sender: No OFD packet to send [21:14:35]OFD Sender: No OFD packet to send [21:14:40]OFD Sender: No OFD packet to send [21:14:45]OFD Sender: No OFD packet to send [21:14:50]OFD Sender: No OFD packet to send [21:14:55]OFD Sender: No OFD packet to send [21:15:00]OFD Sender: No OFD packet to send [21:15:05]OFD Sender: No OFD packet to send [21:15:10]OFD Sender: No OFD packet to send [21:15:15]OFD Sender: No OFD packet to send [21:15:20]OFD Sender: No OFD packet to send [21:15:25]OFD Sender: No OFD packet to send [21:15:30]OFD Sender: No OFD packet to send [21:15:35]OFD Sender: No OFD packet to send [21:15:40]OFD Sender: No OFD packet to send [21:15:45]OFD Sender: No OFD packet to send [21:15:50]OFD Sender: No OFD packet to send [21:15:55]OFD Sender: No OFD packet to send [21:16:00]OFD Sender: No OFD packet to send [21:16:05]OFD Sender: No OFD packet to send [21:16:10]OFD Sender: No OFD packet to send [21:16:15]OFD Sender: No OFD packet to send [21:16:20]OFD Sender: No OFD packet to send [21:16:25]OFD Sender: No OFD packet to send [21:16:30]OFD Sender: No OFD packet to send [21:16:35]OFD Sender: No OFD packet to send [21:16:40]OFD Sender: No OFD packet to send [21:16:45]OFD Sender: No OFD packet to send [21:16:50]OFD Sender: No OFD packet to send [21:16:55]OFD Sender: No OFD packet to send [21:17:01]OFD Sender: No OFD packet to send [21:17:06]OFD Sender: No OFD packet to send [21:17:11]OFD Sender: No OFD packet to send [21:17:16]OFD Sender: No OFD packet to send [21:17:21]OFD Sender: No OFD packet to send [21:17:26]OFD Sender: No OFD packet to send [21:17:31]OFD Sender: No OFD packet to send [21:17:36]OFD Sender: No OFD packet to send [21:17:41]OFD Sender: No OFD packet to send [21:17:46]OFD Sender: No OFD packet to send [21:17:51]OFD Sender: No OFD packet to send [21:17:56]OFD Sender: No OFD packet to send [21:18:01]OFD Sender: No OFD packet to send [21:18:06]OFD Sender: No OFD packet to send [21:18:11]OFD Sender: No OFD packet to send [21:18:16]OFD Sender: No OFD packet to send [21:18:21]OFD Sender: No OFD packet to send [21:18:26]OFD Sender: No OFD packet to send [21:18:31]OFD Sender: No OFD packet to send [21:18:36]OFD Sender: No OFD packet to send [21:18:41]OFD Sender: No OFD packet to send [21:18:46]OFD Sender: No OFD packet to send [21:18:51]OFD Sender: No OFD packet to send [21:18:56]OFD Sender: No OFD packet to send [21:19:01]OFD Sender: No OFD packet to send [21:19:06]OFD Sender: No OFD packet to send [21:19:11]OFD Sender: No OFD packet to send [21:19:16]OFD Sender: No OFD packet to send [21:19:21]OFD Sender: No OFD packet to send [21:19:26]OFD Sender: No OFD packet to send [21:19:31]OFD Sender: No OFD packet to send [21:19:36]OFD Sender: No OFD packet to send [21:19:41]OFD Sender: No OFD packet to send [21:19:46]OFD Sender: No OFD packet to send [21:19:51]OFD Sender: No OFD packet to send [21:19:56]OFD Sender: No OFD packet to send [21:20:01]OFD Sender: No OFD packet to send [21:20:06]OFD Sender: No OFD packet to send [21:20:11]OFD Sender: No OFD packet to send [21:20:16]OFD Sender: No OFD packet to send [21:20:21]OFD Sender: No OFD packet to send [21:20:26]OFD Sender: No OFD packet to send [21:20:31]OFD Sender: No OFD packet to send [21:20:36]OFD Sender: No OFD packet to send [21:20:41]OFD Sender: No OFD packet to send [21:20:46]OFD Sender: No OFD packet to send [21:20:51]OFD Sender: No OFD packet to send [21:20:56]OFD Sender: No OFD packet to send [21:21:01]OFD Sender: No OFD packet to send [21:21:06]OFD Sender: No OFD packet to send [21:21:11]OFD Sender: No OFD packet to send [21:21:16]OFD Sender: No OFD packet to send [21:21:21]OFD Sender: No OFD packet to send [21:21:26]OFD Sender: No OFD packet to send [21:21:31]OFD Sender: No OFD packet to send [21:21:36]OFD Sender: No OFD packet to send [21:21:41]OFD Sender: No OFD packet to send [21:21:46]OFD Sender: No OFD packet to send [21:21:51]OFD Sender: No OFD packet to send [21:21:56]OFD Sender: No OFD packet to send [21:22:01]OFD Sender: No OFD packet to send [21:22:06]OFD Sender: No OFD packet to send [21:22:11]OFD Sender: No OFD packet to send [21:22:16]OFD Sender: No OFD packet to send [21:22:21]OFD Sender: No OFD packet to send [21:22:26]OFD Sender: No OFD packet to send [21:22:31]OFD Sender: No OFD packet to send [21:22:36]OFD Sender: No OFD packet to send [21:22:41]OFD Sender: No OFD packet to send [21:22:46]OFD Sender: No OFD packet to send [21:22:51]OFD Sender: No OFD packet to send [21:22:56]OFD Sender: No OFD packet to send [21:23:01]OFD Sender: No OFD packet to send [21:23:06]OFD Sender: No OFD packet to send [21:23:11]OFD Sender: No OFD packet to send [21:23:16]OFD Sender: No OFD packet to send [21:23:21]OFD Sender: No OFD packet to send [21:23:26]OFD Sender: No OFD packet to send [21:23:31]OFD Sender: No OFD packet to send [21:23:36]OFD Sender: No OFD packet to send [21:23:41]OFD Sender: No OFD packet to send [21:23:46]OFD Sender: No OFD packet to send [21:23:51]OFD Sender: No OFD packet to send [21:23:56]OFD Sender: No OFD packet to send [21:24:01]OFD Sender: No OFD packet to send [21:24:06]OFD Sender: No OFD packet to send [21:24:11]OFD Sender: No OFD packet to send [21:24:16]OFD Sender: No OFD packet to send [21:24:21]OFD Sender: No OFD packet to send [21:24:26]OFD Sender: No OFD packet to send [21:24:31]OFD Sender: No OFD packet to send [21:24:36]OFD Sender: No OFD packet to send [21:24:41]OFD Sender: No OFD packet to send [21:24:46]OFD Sender: No OFD packet to send [21:24:51]OFD Sender: No OFD packet to send [21:24:56]OFD Sender: No OFD packet to send [21:25:01]OFD Sender: No OFD packet to send [21:25:06]OFD Sender: No OFD packet to send [21:25:11]OFD Sender: No OFD packet to send [21:25:16]OFD Sender: No OFD packet to send [21:25:21]OFD Sender: No OFD packet to send [21:25:26]OFD Sender: No OFD packet to send [21:25:31]OFD Sender: No OFD packet to send [21:25:36]OFD Sender: No OFD packet to send [21:25:41]OFD Sender: No OFD packet to send [21:25:46]OFD Sender: No OFD packet to send [21:25:51]OFD Sender: No OFD packet to send [21:25:56]OFD Sender: No OFD packet to send [21:26:01]OFD Sender: No OFD packet to send [21:26:06]OFD Sender: No OFD packet to send [21:26:11]OFD Sender: No OFD packet to send [21:26:16]OFD Sender: No OFD packet to send [21:26:21]OFD Sender: No OFD packet to send [21:26:26]OFD Sender: No OFD packet to send [21:26:31]OFD Sender: No OFD packet to send [21:26:36]OFD Sender: No OFD packet to send [21:26:41]OFD Sender: No OFD packet to send [21:26:46]OFD Sender: No OFD packet to send [21:26:51]OFD Sender: No OFD packet to send [21:26:56]OFD Sender: No OFD packet to send [21:27:01]OFD Sender: No OFD packet to send [21:27:06]OFD Sender: No OFD packet to send [21:27:11]OFD Sender: No OFD packet to send [21:27:16]OFD Sender: No OFD packet to send [21:27:21]OFD Sender: No OFD packet to send [21:27:26]OFD Sender: No OFD packet to send [21:27:31]OFD Sender: No OFD packet to send [21:27:36]OFD Sender: No OFD packet to send [21:27:41]OFD Sender: No OFD packet to send [21:27:46]OFD Sender: No OFD packet to send [21:27:51]OFD Sender: No OFD packet to send [21:27:56]OFD Sender: No OFD packet to send [21:28:01]OFD Sender: No OFD packet to send [21:28:06]OFD Sender: No OFD packet to send [21:28:11]OFD Sender: No OFD packet to send [21:28:16]OFD Sender: No OFD packet to send [21:28:21]OFD Sender: No OFD packet to send [21:28:26]OFD Sender: No OFD packet to send [21:28:31]OFD Sender: No OFD packet to send [21:28:36]OFD Sender: No OFD packet to send [21:28:41]OFD Sender: No OFD packet to send [21:28:46]OFD Sender: No OFD packet to send [21:28:51]OFD Sender: No OFD packet to send [21:28:56]OFD Sender: No OFD packet to send [21:29:01]OFD Sender: No OFD packet to send [21:29:06]OFD Sender: No OFD packet to send [21:29:11]OFD Sender: No OFD packet to send [21:29:16]OFD Sender: No OFD packet to send [21:29:21]OFD Sender: No OFD packet to send [21:29:26]OFD Sender: No OFD packet to send [21:29:31]OFD Sender: No OFD packet to send [21:29:36]OFD Sender: No OFD packet to send [21:29:41]OFD Sender: No OFD packet to send [21:29:46]OFD Sender: No OFD packet to send [21:29:51]OFD Sender: No OFD packet to send [21:29:56]OFD Sender: No OFD packet to send [21:30:01]OFD Sender: No OFD packet to send [21:30:06]OFD Sender: No OFD packet to send [21:30:11]OFD Sender: No OFD packet to send [21:30:16]OFD Sender: No OFD packet to send [21:30:21]OFD Sender: No OFD packet to send [21:30:26]OFD Sender: No OFD packet to send [21:30:31]OFD Sender: No OFD packet to send [21:30:36]OFD Sender: No OFD packet to send [21:30:41]OFD Sender: No OFD packet to send [21:30:46]OFD Sender: No OFD packet to send [21:30:51]OFD Sender: No OFD packet to send [21:30:56]OFD Sender: No OFD packet to send [21:31:01]OFD Sender: No OFD packet to send [21:31:06]OFD Sender: No OFD packet to send [21:31:11]OFD Sender: No OFD packet to send [21:31:16]OFD Sender: No OFD packet to send [21:31:21]OFD Sender: No OFD packet to send [21:31:26]OFD Sender: No OFD packet to send [21:31:31]OFD Sender: No OFD packet to send [21:31:36]OFD Sender: No OFD packet to send [21:31:41]OFD Sender: No OFD packet to send [21:31:46]OFD Sender: No OFD packet to send [21:31:51]OFD Sender: No OFD packet to send [21:31:56]OFD Sender: No OFD packet to send [21:32:01]OFD Sender: No OFD packet to send [21:32:06]OFD Sender: No OFD packet to send [21:32:11]OFD Sender: No OFD packet to send [21:32:16]OFD Sender: No OFD packet to send [21:32:21]OFD Sender: No OFD packet to send [21:32:22]accept exits with 9 [21:32:22]New connection [21:32:22]New thread 3066936676 created [21:32:22]Thread 3066793316 joined [21:32:22]Waiting for new connection... [21:32:22] Sock 9.Parse request [21:32:22]Sock 9.Check first char [21:32:22]Sock 9.First char is OK [21:32:22]request: POST /json_proto HTTP/1.0 [21:32:22]Method: POST [21:32:22]URL: /json_proto [21:32:22]Method is POST - this is cgi request [21:32:22]url: /json_proto [21:32:22]query_string will be loaded in cgi processing [21:32:22]execute_cgi json_proto POST (null) [21:32:22]execute_cgi path=json_proto method=POST [21:32:22]POST find Content-Length [21:32:22]Host: 172.17.35.196:8080 [21:32:22]Content-Length: 728 [21:32:22]Content-Type: application/json [21:32:22] [21:32:22]POST finish read [21:32:22]Found Content-Length = 728 [21:32:22]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169138", "tax_sys" : 0, "items" : [ { "code": "5449000027474", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FuzeTea \u0437\u0435\u043B \u0447\u0430\u0439 \u043C\u0430\u043D\u0433\u043E,\u0440\u043E\u043C\u0430\u0448\u043A\u0430 1\u043B", "price" : 107.00, "quantity" : 1.000, "sum" : 107.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 107.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:32:22]execute_script... [21:32:22]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169138", "tax_sys" : 0, "items" : [ { "code": "5449000027474", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FuzeTea \u0437\u0435\u043B \u0447\u0430\u0439 \u043C\u0430\u043D\u0433\u043E,\u0440\u043E\u043C\u0430\u0448\u043A\u0430 1\u043B", "price" : 107.00, "quantity" : 1.000, "sum" : 107.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 107.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:32:22]POST & json_proto [21:32:22]process_json_proto [21:32:22]json parsed OK: [21:32:22]protocol is kg_v1.0 [21:32:22]action value=close_receipt [21:32:22]process_action close_receipt [21:32:22]cmd_close_receipt [21:32:22]MH_GetDate [21:32:22]Write to MH i2c: F0 00 00 80 0E 7D [21:32:22]Write i2c OK [21:32:22]MH_I2C_Read... [21:32:22]Read from MH i2c: F0 [21:32:22]MH_I2C_Read... [21:32:22]Read from MH i2c: F0 09 00 [21:32:22]MH_I2C_Read... [21:32:22]Read from MH i2c: F0 09 00 80 0E 00 69 4F 90 66 AD 14 F4 65 4E [21:32:22]GetLastDocTimeStamp 1720732215 [21:32:22]current date 1720733545 [21:32:22]FM_GetShiftState [21:32:22]SAM_PROTO_GetShiftState [21:32:22]wFMCommunicate request_size=4 [21:32:22]MH_SAM_APDU [21:32:22]CAPDU: 80 13 01 00 [21:32:22]Write to MH i2c: E2 08 00 81 0E 80 13 01 00 00 00 00 00 0C [21:32:22]Write i2c OK [21:32:22]MH_I2C_Read... [21:32:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:32:22]Read from MH i2c: E2 [21:32:22]MH_I2C_Read... [21:32:22]Read from MH i2c: E2 0E 00 [21:32:22]MH_I2C_Read... [21:32:22]Read from MH i2c: E2 0E 00 81 0E 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 3D [21:32:22]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [21:32:22]wFMCommunicate OK [21:32:22]SAM_PROTO_GetShiftState done [21:32:22]FM_GetShiftState done [21:32:22]opened in 1720656398 [21:32:22]opened+sec_in_day 1720742798 [21:32:22]quantity*price = 10700 [21:32:22]sum+1 = 10701 [21:32:22]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 107.00 НСП 1% : 0.95 НДС 12% : 11.36 Наличными: 107.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 72 11.07.2024 21:32 Смена: 432 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33317 ФПД: 245817975370737 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T213225&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33317&fm=245817975370737&tin=02508201610067®Number=0000000000093033&sum=10700 0 [21:32:24]StoreToDocumentArchive [21:32:24]shift 432 fd 33317 [21:32:24]save to /storage/0432/doc_00033317 [21:32:24]save last doc name /storage/0432/doc_00033317 to /storage/kkm_last_doc_name [21:32:24]save OK [21:32:24]Clear old archive folders... [21:32:24]ProcessDocumentItem done err = 0, tmpTLVsize=308 [21:32:24]tlvbuf is 01C23D00 [21:32:24]SAM_PROTO_ClearQueue [21:32:24]wFMCommunicate request_size=4 [21:32:24]MH_SAM_APDU [21:32:24]CAPDU: 80 09 00 00 [21:32:24]Write to MH i2c: E2 08 00 8E 0E 80 09 00 00 00 00 00 00 0E [21:32:24]Write i2c OK [21:32:24]MH_I2C_Read... [21:32:24]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:32:24]Read from MH i2c: E2 [21:32:24]MH_I2C_Read... [21:32:24]Read from MH i2c: E2 03 00 [21:32:24]MH_I2C_Read... [21:32:24]Read from MH i2c: E2 03 00 8E 0E 00 90 00 10 [21:32:24]RAPDU: 90 00 [21:32:24]wFMCommunicate OK [21:32:24]SAM_PROTO_ClearQueue done [21:32:24]KKMCreateOFDPacket [21:32:24]OFDProtocolAddRootSTLVToBuf [21:32:24]FM_MakeSignedData [21:32:24]FM_MakeSignedData [21:32:24]SAM_PROTO_SignData [21:32:24]wFMCommunicate request_size=4 [21:32:24]MH_SAM_APDU [21:32:24]CAPDU: 80 0D 01 02 [21:32:24]Write to MH i2c: E2 08 00 8F 0E 80 0D 01 02 00 00 00 00 16 [21:32:24]Write i2c OK [21:32:24]MH_I2C_Read... [21:32:24]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:32:24]Read from MH i2c: E2 [21:32:24]MH_I2C_Read... [21:32:24]Read from MH i2c: E2 03 00 [21:32:24]MH_I2C_Read... [21:32:24]Read from MH i2c: E2 03 00 8F 0E 00 90 00 11 [21:32:24]RAPDU: 90 00 [21:32:24]wFMCommunicate OK [21:32:24]wFMCommunicate request_size=255 [21:32:24]MH_SAM_APDU [21:32:24]CAPDU: 80 0D 02 02 FA 03 00 34 01 1E 04 01 00 01 23 04 86 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 37 34 06 04 42 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC D0 B0 D1 88 D0 BA D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC 29 00 00 00 00 13 04 06 00 CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CC 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 70 04 00 00 00 00 07 04 06 00 CC 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 48 00 00 00 F4 03 04 00 69 4F 90 66 0E 04 04 00 B0 01 00 00 B9 [21:32:24]Write to MH i2c: E2 02 01 90 0E 80 0D 02 02 FA 00 03 00 34 01 1E 04 01 00 01 23 04 86 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 37 34 06 04 42 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC D0 B0 D1 88 D0 BA D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC 29 00 00 00 00 13 04 06 00 CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CC 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 70 04 00 00 00 00 07 04 06 00 CC 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 48 00 00 00 F4 03 04 00 69 4F 90 66 0E 04 04 00 B0 01 00 00 B9 00 00 F4 [21:32:24]Write i2c OK [21:32:24]MH_I2C_Read... [21:32:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:32:24]Read from MH i2c: E2 [21:32:24]MH_I2C_Read... [21:32:24]Read from MH i2c: E2 03 00 [21:32:24]MH_I2C_Read... [21:32:24]Read from MH i2c: E2 03 00 90 0E 00 90 00 12 [21:32:24]RAPDU: 90 00 [21:32:24]wFMCommunicate OK [21:32:24]wFMCommunicate request_size=67 [21:32:24]MH_SAM_APDU [21:32:24]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 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 25 82 00 00 35 04 06 00 DF 91 F5 19 F3 F1 [21:32:24]Write to MH i2c: E2 46 00 91 0E 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 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 25 82 00 00 35 04 06 00 DF 91 F5 19 F3 F1 00 00 6C [21:32:24]Write i2c OK [21:32:24]MH_I2C_Read... [21:32:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:32:24]Read from MH i2c: E2 [21:32:24]MH_I2C_Read... [21:32:24]Read from MH i2c: E2 03 00 [21:32:24]MH_I2C_Read... [21:32:24]Read from MH i2c: E2 03 00 91 0E 00 90 00 13 [21:32:24]RAPDU: 90 00 [21:32:24]wFMCommunicate OK [21:32:24]wFMCommunicate request_size=4 [21:32:24]MH_SAM_APDU [21:32:24]CAPDU: 80 0D 03 02 [21:32:24]Write to MH i2c: E2 08 00 92 0E 80 0D 03 02 00 00 00 00 1B [21:32:24]Write i2c OK [21:32:24]MH_I2C_Read... [21:32:24]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:32:24]Read from MH i2c: E2 [21:32:24]MH_I2C_Read... [21:32:24]Read from MH i2c: E2 0B 00 [21:32:24]MH_I2C_Read... [21:32:24]Read from MH i2c: E2 0B 00 92 0E 00 9E 0A F4 F2 36 E2 21 62 90 00 45 [21:32:24]RAPDU: 9E 0A F4 F2 36 E2 21 62 90 00 [21:32:24]wFMCommunicate OK [21:32:24]SAM_PROTO_SignData done [21:32:24]FM_MakeSignedData done [21:32:24]CreateOFDProtocolMessage [21:32:24]wFMCommunicate request_size=4 [21:32:24]MH_SAM_APDU [21:32:24]CAPDU: 80 11 00 00 [21:32:24]Write to MH i2c: E2 08 00 93 0E 80 11 00 00 00 00 00 00 1B [21:32:24]Write i2c OK [21:32:24]MH_I2C_Read... [21:32:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:32:24]Read from MH i2c: E2 [21:32:24]MH_I2C_Read... [21:32:24]Read from MH i2c: E2 17 00 [21:32:24]MH_I2C_Read... [21:32:24]Read from MH i2c: E2 17 00 93 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 67 [21:32:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [21:32:24]wFMCommunicate OK [21:32:24]CreateOFDProtocolMessage done [21:32:24]OFDSenderStorePacket 33317 [21:32:24]StoreOFDPacket docnum=33317 [21:32:24]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 48 01 00 00 5C DE 40 01 C2 94 5A 03 01 00 03 00 34 01 1E 04 01 00 01 23 04 86 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 37 34 06 04 42 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC D0 B0 D1 88 D0 BA D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC 29 00 00 00 00 13 04 06 00 CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CC 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 70 04 00 00 00 00 07 04 06 00 CC 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 48 00 00 00 F4 03 04 00 69 4F 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 25 82 00 00 35 04 06 00 DF 91 F5 19 F3 F1 9E 0A F4 F2 36 E2 21 62 [21:32:24]CheckFolder [21:32:24]dirname=/storage/ofd_packets [21:32:24]CheckFolder done [21:32:24]ProducePacketName [21:32:24]name=ofd_packets/00033317 [21:32:24]NVStorageSaveData ofd_packets/00033317 [21:32:24]File name is /storage/ofd_packets/00033317 [21:32:24]Write 358 bytes [21:32:24]NVStorageSaveData done [21:32:24]OFDSenderStorePacket done [21:32:24]KKMCreateOFDPacket done [21:32:24]NVStorageSaveData kkm_last_timestamp [21:32:24]File name is /storage/kkm_last_timestamp [21:32:24]Write 4 bytes [21:32:24]NVStorageSaveData done [21:32:24]ExternCall_PrintAddStr [21:32:24]wPrintStart [21:32:24]Write to MH i2c: 01 00 00 94 0E A2 [21:32:24]Write i2c OK [21:32:24]MH_I2C_Read... [21:32:24]Read from MH i2c: 01 [21:32:24]MH_I2C_Read... [21:32:24]Read from MH i2c: 01 07 00 [21:32:24]MH_I2C_Read... [21:32:24]Read from MH i2c: 01 07 00 94 0E 00 00 00 00 00 FF 0F B7 [21:32:24]RasterBufferAndPrint [21:32:24]line Счет N : (3)169138 [21:32:24]line ИНН: 02508201610067 [21:32:24]line Контрольно-Кассовый Чек [21:32:24]line ПРОДАЖА [21:32:24]line Товар: 5449000027474 [21:32:24]line Напиток FuzeTea зел чай манго,ромашка 1л [21:32:24]line 1.000 * 107.00 [21:32:24]line = 107.00 [21:32:24]line НДС 12% НСП 1% [21:32:24]line > о реализуемом товаре [21:32:24]line ИТОГО: 107.00 [21:32:24]line НСП 1% : 0.95 [21:32:24]line НДС 12% : 11.36 [21:32:24]line Наличными: 107.00 [21:32:24]line Безнал.: 0.00 [21:32:24]line Место: АЗС № 77 "Партнер Нефть" [21:32:24]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [21:32:24]line СНО: Общий режим [21:32:24]line Чек 72 11.07.2024 21:32 [21:32:24]line Смена: 432 ФФД: 1.0 [21:32:24]line ЗНМ: 0300000122 [21:32:24]line РНМ: 0000000000093033 [21:32:24]line Версия ККМ: 001 [21:32:24]line ФМ: 0000000000875104 [21:32:24]line ФД: 33317 [21:32:24]line ФПД: 245817975370737 [21:32:25]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T213225&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33317&fm=245817975370737&tin=02508201610067®Number=0000000000093033&sum=10700 [21:32:25]line 0 [21:32:25]OFD Sender: Processing packet 33317 [packets to send 6, broken 5] [21:32:25]ProducePacketName [21:32:25]name=ofd_packets/00033317 [21:32:25]OFD Sender: To server: pG, [21:32:25]CommunicateWithHost lk.salyk.kg:30040 [21:32:25]ConnectInit lk.salyk.kg [21:32:25]written 0, free lines is 4095 [21:32:25]Connected sock=10 [21:32:25]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 48 01 00 00 5C DE 40 01 C2 94 5A 03 01 00 03 00 34 01 1E 04 01 00 01 23 04 86 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 37 34 06 04 42 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC D0 B0 D1 88 D0 BA D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC 29 00 00 00 00 13 04 06 00 CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CC 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 70 04 00 00 00 00 07 04 06 00 CC 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 48 00 00 00 F4 03 04 00 69 4F 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 25 82 00 00 35 04 06 00 DF 91 F5 19 F3 F1 9E 0A F4 F2 36 E2 21 62 [21:32:25]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 CB 8A 47 00 18 FC A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 25 82 00 00 F4 03 04 00 18 FA 8F 66 B6 04 01 00 00 1B DD 49 B1 71 32 09 69 [21:32:25]CommunicateWithHost err = 0 [21:32:25]CheckOFDResponse [21:32:25]1017 (14) - 77093643461234 [21:32:25]1041 (16) - 0000000000875104 [21:32:25]1040 (4) - 33317 [21:32:25]1012 (4) - 11.07.2024 15:28 [21:32:25]1206 (1) - 0 [21:32:25]OFD Sender: Remove packet 33317 [21:32:25]ProducePacketName [21:32:25]name=ofd_packets/00033317 [21:32:25]NVStorageDeleteData [21:32:25]Write to MH i2c: 01 00 00 BD 0E CB [21:32:25]Write i2c OK [21:32:25]MH_I2C_Read... [21:32:25]Read from MH i2c: 01 [21:32:25]MH_I2C_Read... [21:32:25]Read from MH i2c: 01 07 00 [21:32:25]MH_I2C_Read... [21:32:25]Read from MH i2c: 01 07 00 BD 0E 00 00 00 00 00 DF 0C BD [21:32:25]RasterBufferAndPrint [21:32:25]line [21:32:25]line [21:32:25]line [21:32:25]line [21:32:25]line [21:32:25]written 0, free lines is 3304 [21:32:25]MH_Cut [21:32:25]Write to MH i2c: D1 01 00 C4 0E 01 A4 [21:32:25]Write i2c OK [21:32:25]MH_I2C_Read... [21:32:25]Read from MH i2c: D1 [21:32:25]MH_I2C_Read... [21:32:25]Read from MH i2c: D1 01 00 [21:32:25]MH_I2C_Read... [21:32:25]Read from MH i2c: D1 01 00 C4 0E 00 A3 [21:32:25]Write to MH i2c: 01 00 00 C5 0E D3 [21:32:25]Write i2c OK [21:32:25]MH_I2C_Read... [21:32:25]OFD Sender: No OFD packet to send [21:32:26]*** Cut start [21:32:26]*** Partial cut [21:32:26]*** CUTSNS_PIN = 1 [21:32:26]*** CUTSNS_PIN = 0 [21:32:26]*** Brake cut motor [21:32:26]Read from MH i2c: 01 [21:32:26]MH_I2C_Read... [21:32:26]*** Stop cut motor [21:32:26]*** Cut end [21:32:26]Read from MH i2c: 01 07 00 [21:32:26]MH_I2C_Read... [21:32:26]Read from MH i2c: 01 07 00 C5 0E 00 00 00 00 00 FF 0F E8 [21:32:26]process_action close_receipt done [21:32:26]requested_data is exist [21:32:26]produce_requested_data [21:32:26]requested_item fm.sn is exist - process it [21:32:26]wFMCommunicate request_size=4 [21:32:26]MH_SAM_APDU [21:32:26]CAPDU: 80 11 00 00 [21:32:26]Write to MH i2c: E2 08 00 C6 0E 80 11 00 00 00 00 00 00 4E [21:32:26]Write i2c OK [21:32:26]MH_I2C_Read... [21:32:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:32:26]Read from MH i2c: E2 [21:32:26]MH_I2C_Read... [21:32:26]Read from MH i2c: E2 17 00 [21:32:26]MH_I2C_Read... [21:32:26]Read from MH i2c: E2 17 00 C6 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 9A [21:32:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [21:32:26]wFMCommunicate OK [21:32:26]requested_item fd.num is exist - process it [21:32:26]SAM_PROTO_GetFieldsCounters [21:32:26]wFMCommunicate request_size=4 [21:32:26]MH_SAM_APDU [21:32:26]CAPDU: 80 13 00 00 [21:32:26]Write to MH i2c: E2 08 00 C7 0E 80 13 00 00 00 00 00 00 51 [21:32:26]Write i2c OK [21:32:26]MH_I2C_Read... [21:32:27]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:32:27]Read from MH i2c: E2 [21:32:27]MH_I2C_Read... [21:32:27]Read from MH i2c: E2 62 00 [21:32:27]MH_I2C_Read... [21:32:27]Read from MH i2c: E2 62 00 C7 0E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 25 82 00 00 0E 04 04 00 B0 01 00 00 12 04 04 00 48 00 00 00 5E 04 04 00 48 00 00 00 57 04 04 00 49 00 00 00 19 04 04 00 00 00 00 00 90 00 94 [21:32: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 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 25 82 00 00 0E 04 04 00 B0 01 00 00 12 04 04 00 48 00 00 00 5E 04 04 00 48 00 00 00 57 04 04 00 49 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:32:27]wFMCommunicate OK [21:32:27]SAM_PROTO_GetFieldsCounters done [21:32:27]requested_item shift.num is exist - process it [21:32:27]requested_item shift.opened is exist - process it [21:32:27]req_shift_opened [21:32:27]FM_GetShiftState [21:32:27]SAM_PROTO_GetShiftState [21:32:27]wFMCommunicate request_size=4 [21:32:27]MH_SAM_APDU [21:32:27]CAPDU: 80 13 01 00 [21:32:27]Write to MH i2c: E2 08 00 C8 0E 80 13 01 00 00 00 00 00 53 [21:32:27]Write i2c OK [21:32:27]MH_I2C_Read... [21:32:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:32:27]Read from MH i2c: E2 [21:32:27]MH_I2C_Read... [21:32:27]Read from MH i2c: E2 0E 00 [21:32:27]MH_I2C_Read... [21:32:27]Read from MH i2c: E2 0E 00 C8 0E 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 84 [21:32:27]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [21:32:27]wFMCommunicate OK [21:32:27]SAM_PROTO_GetShiftState done [21:32:27]FM_GetShiftState done [21:32:27]req_shift_opened done [21:32:27]requested_item shift.open_date is exist - process it [21:32:27]req_shift_open_date [21:32:27]req_shift_open_date done [21:32:27]produce_requested_data done [21:32:27]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33317,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398} [21:32:27]process_action_free close_receipt [21:32:27]json_value_free [21:32:27]json_value_free done [21:32:27]process_json_proto returns [21:32:27]Send response to host [21:32:27]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33317,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398}}} [21:32:27]free response buf [21:32:27]execute_script done [21:32:27]execute_script returns [21:32:27]free content buf [21:32:27]Sock 9.Close socket [21:32:27]Sock 9.Thread stoped [21:32:30]OFD Sender: No OFD packet to send [21:32:35]OFD Sender: No OFD packet to send [21:32:40]OFD Sender: No OFD packet to send [21:32:45]OFD Sender: No OFD packet to send [21:32:50]OFD Sender: No OFD packet to send [21:32:55]OFD Sender: No OFD packet to send [21:33:00]OFD Sender: No OFD packet to send [21:33:05]OFD Sender: No OFD packet to send [21:33:10]OFD Sender: No OFD packet to send [21:33:15]OFD Sender: No OFD packet to send [21:33:20]OFD Sender: No OFD packet to send [21:33:25]OFD Sender: No OFD packet to send [21:33:30]OFD Sender: No OFD packet to send [21:33:35]OFD Sender: No OFD packet to send [21:33:40]OFD Sender: No OFD packet to send [21:33:45]OFD Sender: No OFD packet to send [21:33:50]OFD Sender: No OFD packet to send [21:33:55]OFD Sender: No OFD packet to send [21:34:00]OFD Sender: No OFD packet to send [21:34:05]OFD Sender: No OFD packet to send [21:34:10]OFD Sender: No OFD packet to send [21:34:15]OFD Sender: No OFD packet to send [21:34:20]OFD Sender: No OFD packet to send [21:34:25]OFD Sender: No OFD packet to send [21:34:30]OFD Sender: No OFD packet to send [21:34:35]OFD Sender: No OFD packet to send [21:34:40]OFD Sender: No OFD packet to send [21:34:45]OFD Sender: No OFD packet to send [21:34:50]OFD Sender: No OFD packet to send [21:34:55]OFD Sender: No OFD packet to send [21:35:00]OFD Sender: No OFD packet to send [21:35:05]OFD Sender: No OFD packet to send [21:35:10]OFD Sender: No OFD packet to send [21:35:15]OFD Sender: No OFD packet to send [21:35:20]OFD Sender: No OFD packet to send [21:35:25]OFD Sender: No OFD packet to send [21:35:30]OFD Sender: No OFD packet to send [21:35:35]OFD Sender: No OFD packet to send [21:35:41]OFD Sender: No OFD packet to send [21:35:46]OFD Sender: No OFD packet to send [21:35:51]OFD Sender: No OFD packet to send [21:35:56]OFD Sender: No OFD packet to send [21:36:01]OFD Sender: No OFD packet to send [21:36:06]OFD Sender: No OFD packet to send [21:36:11]OFD Sender: No OFD packet to send [21:36:16]OFD Sender: No OFD packet to send [21:36:21]OFD Sender: No OFD packet to send [21:36:26]OFD Sender: No OFD packet to send [21:36:31]OFD Sender: No OFD packet to send [21:36:36]OFD Sender: No OFD packet to send [21:36:41]OFD Sender: No OFD packet to send [21:36:46]OFD Sender: No OFD packet to send [21:36:51]OFD Sender: No OFD packet to send [21:36:56]OFD Sender: No OFD packet to send [21:37:01]OFD Sender: No OFD packet to send [21:37:06]OFD Sender: No OFD packet to send [21:37:11]OFD Sender: No OFD packet to send [21:37:16]OFD Sender: No OFD packet to send [21:37:21]OFD Sender: No OFD packet to send [21:37:26]OFD Sender: No OFD packet to send [21:37:31]OFD Sender: No OFD packet to send [21:37:36]OFD Sender: No OFD packet to send [21:37:41]OFD Sender: No OFD packet to send [21:37:46]OFD Sender: No OFD packet to send [21:37:51]OFD Sender: No OFD packet to send [21:37:56]OFD Sender: No OFD packet to send [21:38:01]OFD Sender: No OFD packet to send [21:38:06]OFD Sender: No OFD packet to send [21:38:11]OFD Sender: No OFD packet to send [21:38:16]OFD Sender: No OFD packet to send [21:38:21]OFD Sender: No OFD packet to send [21:38:26]OFD Sender: No OFD packet to send [21:38:31]OFD Sender: No OFD packet to send [21:38:36]OFD Sender: No OFD packet to send [21:38:41]OFD Sender: No OFD packet to send [21:38:46]OFD Sender: No OFD packet to send [21:38:51]OFD Sender: No OFD packet to send [21:38:56]OFD Sender: No OFD packet to send [21:39:01]OFD Sender: No OFD packet to send [21:39:06]OFD Sender: No OFD packet to send [21:39:11]OFD Sender: No OFD packet to send [21:39:16]OFD Sender: No OFD packet to send [21:39:21]OFD Sender: No OFD packet to send [21:39:26]OFD Sender: No OFD packet to send [21:39:31]OFD Sender: No OFD packet to send [21:39:36]OFD Sender: No OFD packet to send [21:39:41]OFD Sender: No OFD packet to send [21:39:46]OFD Sender: No OFD packet to send [21:39:51]OFD Sender: No OFD packet to send [21:39:56]OFD Sender: No OFD packet to send [21:40:01]OFD Sender: No OFD packet to send [21:40:06]OFD Sender: No OFD packet to send [21:40:11]OFD Sender: No OFD packet to send [21:40:16]OFD Sender: No OFD packet to send [21:40:21]OFD Sender: No OFD packet to send [21:40:26]OFD Sender: No OFD packet to send [21:40:31]OFD Sender: No OFD packet to send [21:40:36]OFD Sender: No OFD packet to send [21:40:41]OFD Sender: No OFD packet to send [21:40:46]OFD Sender: No OFD packet to send [21:40:51]OFD Sender: No OFD packet to send [21:40:56]OFD Sender: No OFD packet to send [21:41:01]OFD Sender: No OFD packet to send [21:41:06]OFD Sender: No OFD packet to send [21:41:11]OFD Sender: No OFD packet to send [21:41:16]OFD Sender: No OFD packet to send [21:41:21]OFD Sender: No OFD packet to send [21:41:26]OFD Sender: No OFD packet to send [21:41:31]OFD Sender: No OFD packet to send [21:41:36]OFD Sender: No OFD packet to send [21:41:41]OFD Sender: No OFD packet to send [21:41:46]OFD Sender: No OFD packet to send [21:41:51]OFD Sender: No OFD packet to send [21:41:56]OFD Sender: No OFD packet to send [21:42:01]OFD Sender: No OFD packet to send [21:42:06]OFD Sender: No OFD packet to send [21:42:11]OFD Sender: No OFD packet to send [21:42:16]OFD Sender: No OFD packet to send [21:42:21]OFD Sender: No OFD packet to send [21:42:26]OFD Sender: No OFD packet to send [21:42:31]OFD Sender: No OFD packet to send [21:42:36]OFD Sender: No OFD packet to send [21:42:41]OFD Sender: No OFD packet to send [21:42:46]OFD Sender: No OFD packet to send [21:42:51]OFD Sender: No OFD packet to send [21:42:56]OFD Sender: No OFD packet to send [21:43:01]OFD Sender: No OFD packet to send [21:43:06]OFD Sender: No OFD packet to send [21:43:11]OFD Sender: No OFD packet to send [21:43:16]OFD Sender: No OFD packet to send [21:43:21]OFD Sender: No OFD packet to send [21:43:26]OFD Sender: No OFD packet to send [21:43:31]OFD Sender: No OFD packet to send [21:43:36]OFD Sender: No OFD packet to send [21:43:41]OFD Sender: No OFD packet to send [21:43:46]OFD Sender: No OFD packet to send [21:43:51]OFD Sender: No OFD packet to send [21:43:56]OFD Sender: No OFD packet to send [21:44:01]OFD Sender: No OFD packet to send [21:44:06]OFD Sender: No OFD packet to send [21:44:11]OFD Sender: No OFD packet to send [21:44:16]OFD Sender: No OFD packet to send [21:44:21]OFD Sender: No OFD packet to send [21:44:26]OFD Sender: No OFD packet to send [21:44:31]OFD Sender: No OFD packet to send [21:44:36]OFD Sender: No OFD packet to send [21:44:41]OFD Sender: No OFD packet to send [21:44:46]OFD Sender: No OFD packet to send [21:44:51]OFD Sender: No OFD packet to send [21:44:56]OFD Sender: No OFD packet to send [21:45:01]OFD Sender: No OFD packet to send [21:45:06]OFD Sender: No OFD packet to send [21:45:11]OFD Sender: No OFD packet to send [21:45:16]OFD Sender: No OFD packet to send [21:45:21]OFD Sender: No OFD packet to send [21:45:26]OFD Sender: No OFD packet to send [21:45:31]OFD Sender: No OFD packet to send [21:45:36]OFD Sender: No OFD packet to send [21:45:41]OFD Sender: No OFD packet to send [21:45:46]OFD Sender: No OFD packet to send [21:45:51]OFD Sender: No OFD packet to send [21:45:56]OFD Sender: No OFD packet to send [21:46:01]OFD Sender: No OFD packet to send [21:46:06]OFD Sender: No OFD packet to send [21:46:11]OFD Sender: No OFD packet to send [21:46:16]OFD Sender: No OFD packet to send [21:46:21]OFD Sender: No OFD packet to send [21:46:26]OFD Sender: No OFD packet to send [21:46:31]OFD Sender: No OFD packet to send [21:46:36]OFD Sender: No OFD packet to send [21:46:41]OFD Sender: No OFD packet to send [21:46:46]OFD Sender: No OFD packet to send [21:46:51]OFD Sender: No OFD packet to send [21:46:56]OFD Sender: No OFD packet to send [21:47:01]OFD Sender: No OFD packet to send [21:47:06]OFD Sender: No OFD packet to send [21:47:11]OFD Sender: No OFD packet to send [21:47:16]OFD Sender: No OFD packet to send [21:47:21]OFD Sender: No OFD packet to send [21:47:26]OFD Sender: No OFD packet to send [21:47:31]OFD Sender: No OFD packet to send [21:47:36]OFD Sender: No OFD packet to send [21:47:41]OFD Sender: No OFD packet to send [21:47:46]OFD Sender: No OFD packet to send [21:47:51]OFD Sender: No OFD packet to send [21:47:56]OFD Sender: No OFD packet to send [21:48:01]OFD Sender: No OFD packet to send [21:48:06]OFD Sender: No OFD packet to send [21:48:11]OFD Sender: No OFD packet to send [21:48:16]OFD Sender: No OFD packet to send [21:48:21]OFD Sender: No OFD packet to send [21:48:26]OFD Sender: No OFD packet to send [21:48:31]OFD Sender: No OFD packet to send [21:48:36]OFD Sender: No OFD packet to send [21:48:41]OFD Sender: No OFD packet to send [21:48:46]OFD Sender: No OFD packet to send [21:48:51]OFD Sender: No OFD packet to send [21:48:56]OFD Sender: No OFD packet to send [21:49:00]accept exits with 7 [21:49:00]New connection [21:49:00]New thread 3066793316 created [21:49:00]Thread 3066936676 joined [21:49:00]Waiting for new connection... [21:49:00] Sock 7.Parse request [21:49:00]Sock 7.Check first char [21:49:00]Sock 7.First char is OK [21:49:00]request: POST /json_proto HTTP/1.0 [21:49:00]Method: POST [21:49:00]URL: /json_proto [21:49:00]Method is POST - this is cgi request [21:49:00]url: /json_proto [21:49:00]query_string will be loaded in cgi processing [21:49:00]execute_cgi json_proto POST (null) [21:49:00]execute_cgi path=json_proto method=POST [21:49:00]POST find Content-Length [21:49:00]Host: 172.17.35.196:8080 [21:49:00]Content-Length: 901 [21:49:00]Content-Type: application/json [21:49:00] [21:49:00]POST finish read [21:49:00]Found Content-Length = 901 [21:49:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169139", "tax_sys" : 0, "items" : [ { "code": "4870002325113", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A PEPSI \u0433\u0430\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0439 \u0441\u0442 0,25\u043B", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 90.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:49:00]execute_script... [21:49:00]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169139", "tax_sys" : 0, "items" : [ { "code": "4870002325113", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A PEPSI \u0433\u0430\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0439 \u0441\u0442 0,25\u043B", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 90.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:49:00]POST & json_proto [21:49:00]process_json_proto [21:49:00]json parsed OK: [21:49:00]protocol is kg_v1.0 [21:49:00]action value=close_receipt [21:49:00]process_action close_receipt [21:49:00]cmd_close_receipt [21:49:00]MH_GetDate [21:49:00]Write to MH i2c: F0 00 00 C9 0E C6 [21:49:00]Write i2c OK [21:49:00]MH_I2C_Read... [21:49:00]Read from MH i2c: F0 [21:49:00]MH_I2C_Read... [21:49:00]Read from MH i2c: F0 09 00 [21:49:00]MH_I2C_Read... [21:49:00]Read from MH i2c: F0 09 00 C9 0E 00 4F 53 90 66 AD 14 F4 65 81 [21:49:00]GetLastDocTimeStamp 1720733545 [21:49:00]current date 1720734543 [21:49:00]FM_GetShiftState [21:49:00]SAM_PROTO_GetShiftState [21:49:00]wFMCommunicate request_size=4 [21:49:00]MH_SAM_APDU [21:49:00]CAPDU: 80 13 01 00 [21:49:00]Write to MH i2c: E2 08 00 CA 0E 80 13 01 00 00 00 00 00 55 [21:49:00]Write i2c OK [21:49:00]MH_I2C_Read... [21:49:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:49:00]Read from MH i2c: E2 [21:49:00]MH_I2C_Read... [21:49:00]Read from MH i2c: E2 0E 00 [21:49:00]MH_I2C_Read... [21:49:00]Read from MH i2c: E2 0E 00 CA 0E 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 86 [21:49:00]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [21:49:00]wFMCommunicate OK [21:49:00]SAM_PROTO_GetShiftState done [21:49:00]FM_GetShiftState done [21:49:00]opened in 1720656398 [21:49:00]opened+sec_in_day 1720742798 [21:49:00]quantity*price = 9000 [21:49:00]sum+1 = 9001 [21:49:00]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 90.00 НСП 1% : 0.80 НДС 12% : 9.56 Наличными: 0.00 Безнал.: 90.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 73 11.07.2024 21:49 Смена: 432 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000875104 ФД: 33318 ФПД: 89098824011648 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T214903&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33318&fm=89098824011648&tin=02508201610067®Number=0000000000093033&sum=9000 0 [21:49:02]StoreToDocumentArchive [21:49:02]shift 432 fd 33318 [21:49:02]save to /storage/0432/doc_00033318 [21:49:02]save last doc name /storage/0432/doc_00033318 to /storage/kkm_last_doc_name [21:49:02]save OK [21:49:02]Clear old archive folders... [21:49:02]ProcessDocumentItem done err = 0, tmpTLVsize=299 [21:49:02]tlvbuf is B6F51090 [21:49:02]SAM_PROTO_ClearQueue [21:49:02]wFMCommunicate request_size=4 [21:49:02]MH_SAM_APDU [21:49:02]CAPDU: 80 09 00 00 [21:49:02]Write to MH i2c: E2 08 00 D7 0E 80 09 00 00 00 00 00 00 57 [21:49:02]Write i2c OK [21:49:02]MH_I2C_Read... [21:49:02]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:49:02]Read from MH i2c: E2 [21:49:02]MH_I2C_Read... [21:49:02]Read from MH i2c: E2 03 00 [21:49:02]MH_I2C_Read... [21:49:02]Read from MH i2c: E2 03 00 D7 0E 00 90 00 59 [21:49:02]RAPDU: 90 00 [21:49:02]wFMCommunicate OK [21:49:02]SAM_PROTO_ClearQueue done [21:49:02]KKMCreateOFDPacket [21:49:02]OFDProtocolAddRootSTLVToBuf [21:49:02]FM_MakeSignedData [21:49:02]FM_MakeSignedData [21:49:02]SAM_PROTO_SignData [21:49:02]wFMCommunicate request_size=4 [21:49:02]MH_SAM_APDU [21:49:02]CAPDU: 80 0D 01 02 [21:49:02]Write to MH i2c: E2 08 00 D8 0E 80 0D 01 02 00 00 00 00 5F [21:49:02]Write i2c OK [21:49:02]MH_I2C_Read... [21:49:02]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:49:02]Read from MH i2c: E2 [21:49:02]MH_I2C_Read... [21:49:02]Read from MH i2c: E2 03 00 [21:49:02]MH_I2C_Read... [21:49:02]Read from MH i2c: E2 03 00 D8 0E 00 90 00 5A [21:49:02]RAPDU: 90 00 [21:49:02]wFMCommunicate OK [21:49:02]wFMCommunicate request_size=255 [21:49:02]MH_SAM_APDU [21:49:02]CAPDU: 80 0D 02 02 FA 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 35 31 31 33 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 45 50 53 49 20 D0 B3 D0 B0 D0 B7 D0 B8 D1 80 D0 BE D0 B2 D0 B0 D0 BD D0 BD D1 8B D0 B9 20 D1 81 D1 82 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 23 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 03 00 00 00 00 07 04 06 00 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 49 00 00 00 F4 03 04 00 4F 53 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 [21:49:02]Write to MH i2c: E2 02 01 D9 0E 80 0D 02 02 FA 00 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 35 31 31 33 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 45 50 53 49 20 D0 B3 D0 B0 D0 B7 D0 B8 D1 80 D0 BE D0 B2 D0 B0 D0 BD D0 BD D1 8B D0 B9 20 D1 81 D1 82 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 23 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 03 00 00 00 00 07 04 06 00 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 49 00 00 00 F4 03 04 00 4F 53 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 00 00 A8 [21:49:02]Write i2c OK [21:49:02]MH_I2C_Read... [21:49:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:49:02]Read from MH i2c: E2 [21:49:02]MH_I2C_Read... [21:49:02]Read from MH i2c: E2 03 00 [21:49:02]MH_I2C_Read... [21:49:02]Read from MH i2c: E2 03 00 D9 0E 00 90 00 5B [21:49:02]RAPDU: 90 00 [21:49:02]wFMCommunicate OK [21:49:02]wFMCommunicate request_size=58 [21:49:02]MH_SAM_APDU [21:49:02]CAPDU: 80 0D 02 02 35 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 26 82 00 00 35 04 06 00 51 08 EF C1 4F 80 [21:49:02]Write to MH i2c: E2 3D 00 DA 0E 80 0D 02 02 35 00 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 26 82 00 00 35 04 06 00 51 08 EF C1 4F 80 00 00 C3 [21:49:02]Write i2c OK [21:49:02]MH_I2C_Read... [21:49:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:49:02]Read from MH i2c: E2 [21:49:02]MH_I2C_Read... [21:49:02]Read from MH i2c: E2 03 00 [21:49:02]MH_I2C_Read... [21:49:02]Read from MH i2c: E2 03 00 DA 0E 00 90 00 5C [21:49:02]RAPDU: 90 00 [21:49:02]wFMCommunicate OK [21:49:02]wFMCommunicate request_size=4 [21:49:02]MH_SAM_APDU [21:49:02]CAPDU: 80 0D 03 02 [21:49:02]Write to MH i2c: E2 08 00 DB 0E 80 0D 03 02 00 00 00 00 64 [21:49:02]Write i2c OK [21:49:02]MH_I2C_Read... [21:49:02]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:49:02]Read from MH i2c: E2 [21:49:02]MH_I2C_Read... [21:49:02]Read from MH i2c: E2 0B 00 [21:49:02]MH_I2C_Read... [21:49:02]Read from MH i2c: E2 0B 00 DB 0E 00 0A FA EB 34 E7 5C 89 41 90 00 95 [21:49:02]RAPDU: 0A FA EB 34 E7 5C 89 41 90 00 [21:49:02]wFMCommunicate OK [21:49:02]SAM_PROTO_SignData done [21:49:02]FM_MakeSignedData done [21:49:02]CreateOFDProtocolMessage [21:49:02]wFMCommunicate request_size=4 [21:49:02]MH_SAM_APDU [21:49:02]CAPDU: 80 11 00 00 [21:49:02]Write to MH i2c: E2 08 00 DC 0E 80 11 00 00 00 00 00 00 64 [21:49:02]Write i2c OK [21:49:02]MH_I2C_Read... [21:49:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:49:02]Read from MH i2c: E2 [21:49:02]MH_I2C_Read... [21:49:02]Read from MH i2c: E2 17 00 [21:49:02]MH_I2C_Read... [21:49:02]Read from MH i2c: E2 17 00 DC 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 B0 [21:49:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [21:49:02]wFMCommunicate OK [21:49:02]CreateOFDProtocolMessage done [21:49:02]OFDSenderStorePacket 33318 [21:49:02]StoreOFDPacket docnum=33318 [21:49:02]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 3F 01 00 00 BF 6D 37 01 2F 60 5A 03 01 00 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 35 31 31 33 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 45 50 53 49 20 D0 B3 D0 B0 D0 B7 D0 B8 D1 80 D0 BE D0 B2 D0 B0 D0 BD D0 BD D1 8B D0 B9 20 D1 81 D1 82 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 23 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 03 00 00 00 00 07 04 06 00 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 49 00 00 00 F4 03 04 00 4F 53 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 26 82 00 00 35 04 06 00 51 08 EF C1 4F 80 0A FA EB 34 E7 5C 89 41 [21:49:02]CheckFolder [21:49:02]dirname=/storage/ofd_packets [21:49:02]CheckFolder done [21:49:02]ProducePacketName [21:49:02]name=ofd_packets/00033318 [21:49:02]NVStorageSaveData ofd_packets/00033318 [21:49:02]File name is /storage/ofd_packets/00033318 [21:49:02]Write 349 bytes [21:49:02]NVStorageSaveData done [21:49:02]OFDSenderStorePacket done [21:49:02]KKMCreateOFDPacket done [21:49:02]NVStorageSaveData kkm_last_timestamp [21:49:02]File name is /storage/kkm_last_timestamp [21:49:02]Write 4 bytes [21:49:02]NVStorageSaveData done [21:49:02]ExternCall_PrintAddStr [21:49:02]wPrintStart [21:49:02]Write to MH i2c: 01 00 00 DD 0E EB [21:49:02]Write i2c OK [21:49:02]MH_I2C_Read... [21:49:02]Read from MH i2c: 01 [21:49:02]MH_I2C_Read... [21:49:02]Read from MH i2c: 01 07 00 [21:49:02]MH_I2C_Read... [21:49:02]Read from MH i2c: 01 07 00 DD 0E 00 00 00 00 00 FF 0F 00 [21:49:02]RasterBufferAndPrint [21:49:02]line Счет N : (3)169139 [21:49:02]line ИНН: 02508201610067 [21:49:02]line Контрольно-Кассовый Чек [21:49:02]line ПРОДАЖА [21:49:02]line Товар: 4870002325113 [21:49:02]line Напиток PEPSI газированный ст 0,25л [21:49:02]line 1.000 * 90.00 [21:49:02]line = 90.00 [21:49:02]line НДС 12% НСП 1% [21:49:02]line > о реализуемом товаре [21:49:02]line ИТОГО: 90.00 [21:49:02]line НСП 1% : 0.80 [21:49:02]line НДС 12% : 9.56 [21:49:02]line Наличными: 0.00 [21:49:02]line Безнал.: 90.00 [21:49:02]line Место: АЗС № 77 "Партнер Нефть" [21:49:02]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [21:49:02]line СНО: Общий режим [21:49:02]line Чек 73 11.07.2024 21:49 [21:49:02]line Смена: 432 ФФД: 1.0 [21:49:02]line ЗНМ: 0300000122 [21:49:02]line РНМ: 0000000000093033 [21:49:02]line Версия ККМ: 001 [21:49:02]line Платежная система: АКБ Кыргызстан [21:49:02]line ФМ: 0000000000875104 [21:49:02]line ФД: 33318 [21:49:02]line ФПД: 89098824011648 [21:49:02]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T214903&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33318&fm=89098824011648&tin=02508201610067®Number=0000000000093033&sum=9000 [21:49:02]line 0 [21:49:02]OFD Sender: Processing packet 33318 [packets to send 6, broken 5] [21:49:02]ProducePacketName [21:49:02]name=ofd_packets/00033318 [21:49:02]OFD Sender: To server: pG, [21:49:02]CommunicateWithHost lk.salyk.kg:30040 [21:49:02]ConnectInit lk.salyk.kg [21:49:02]written 0, free lines is 4095 [21:49:03]Connected sock=10 [21:49:03]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 3F 01 00 00 BF 6D 37 01 2F 60 5A 03 01 00 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 35 31 31 33 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 45 50 53 49 20 D0 B3 D0 B0 D0 B7 D0 B8 D1 80 D0 BE D0 B2 D0 B0 D0 BD D0 BD D1 8B D0 B9 20 D1 81 D1 82 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 23 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 03 00 00 00 00 07 04 06 00 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 49 00 00 00 F4 03 04 00 4F 53 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 26 82 00 00 35 04 06 00 51 08 EF C1 4F 80 0A FA EB 34 E7 5C 89 41 [21:49:03]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 46 52 47 00 66 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 35 31 30 34 10 04 04 00 26 82 00 00 F4 03 04 00 FE FD 8F 66 B6 04 01 00 00 93 84 CA 0A E0 82 E8 60 [21:49:03]CommunicateWithHost err = 0 [21:49:03]CheckOFDResponse [21:49:03]1017 (14) - 77093643461234 [21:49:03]1041 (16) - 0000000000875104 [21:49:03]1040 (4) - 33318 [21:49:03]1012 (4) - 11.07.2024 15:45 [21:49:03]1206 (1) - 0 [21:49:03]OFD Sender: Remove packet 33318 [21:49:03]ProducePacketName [21:49:03]name=ofd_packets/00033318 [21:49:03]NVStorageDeleteData [21:49:03]Write to MH i2c: 01 00 00 08 0F 17 [21:49:03]Write i2c OK [21:49:03]MH_I2C_Read... [21:49:03]Read from MH i2c: 01 [21:49:03]MH_I2C_Read... [21:49:03]Read from MH i2c: 01 07 00 [21:49:03]MH_I2C_Read... [21:49:03]Read from MH i2c: 01 07 00 08 0F 00 00 00 00 00 BE 0C E8 [21:49:03]RasterBufferAndPrint [21:49:03]line [21:49:03]line [21:49:03]line [21:49:03]line [21:49:03]line [21:49:03]written 0, free lines is 3267 [21:49:03]MH_Cut [21:49:03]Write to MH i2c: D1 01 00 0F 0F 01 F0 [21:49:03]Write i2c OK [21:49:03]MH_I2C_Read... [21:49:03]Read from MH i2c: D1 [21:49:03]MH_I2C_Read... [21:49:03]Read from MH i2c: D1 01 00 [21:49:03]MH_I2C_Read... [21:49:03]Read from MH i2c: D1 01 00 0F 0F 00 EF [21:49:03]Write to MH i2c: 01 00 00 10 0F 1F [21:49:03]Write i2c OK [21:49:03]MH_I2C_Read... [21:49:03]OFD Sender: No OFD packet to send [21:49:04]*** Cut start [21:49:04]*** Partial cut [21:49:04]*** CUTSNS_PIN = 1 [21:49:04]*** CUTSNS_PIN = 0 [21:49:04]*** Brake cut motor [21:49:04]Read from MH i2c: 01 [21:49:04]MH_I2C_Read... [21:49:04]*** Stop cut motor [21:49:04]*** Cut end [21:49:04]Read from MH i2c: 01 07 00 [21:49:04]MH_I2C_Read... [21:49:04]Read from MH i2c: 01 07 00 10 0F 00 00 00 00 00 FF 0F 34 [21:49:04]process_action close_receipt done [21:49:04]requested_data is exist [21:49:04]produce_requested_data [21:49:04]requested_item fm.sn is exist - process it [21:49:04]wFMCommunicate request_size=4 [21:49:04]MH_SAM_APDU [21:49:04]CAPDU: 80 11 00 00 [21:49:04]Write to MH i2c: E2 08 00 11 0F 80 11 00 00 00 00 00 00 9A [21:49:04]Write i2c OK [21:49:04]MH_I2C_Read... [21:49:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:49:04]Read from MH i2c: E2 [21:49:04]MH_I2C_Read... [21:49:04]Read from MH i2c: E2 17 00 [21:49:04]MH_I2C_Read... [21:49:04]Read from MH i2c: E2 17 00 11 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 E6 [21:49:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [21:49:04]wFMCommunicate OK [21:49:04]requested_item fd.num is exist - process it [21:49:04]SAM_PROTO_GetFieldsCounters [21:49:04]wFMCommunicate request_size=4 [21:49:04]MH_SAM_APDU [21:49:04]CAPDU: 80 13 00 00 [21:49:04]Write to MH i2c: E2 08 00 12 0F 80 13 00 00 00 00 00 00 9D [21:49:04]Write i2c OK [21:49:04]MH_I2C_Read... [21:49:04]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:49:05]Read from MH i2c: E2 [21:49:05]MH_I2C_Read... [21:49:05]Read from MH i2c: E2 62 00 [21:49:05]MH_I2C_Read... [21:49:05]Read from MH i2c: E2 62 00 12 0F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 26 82 00 00 0E 04 04 00 B0 01 00 00 12 04 04 00 49 00 00 00 5E 04 04 00 49 00 00 00 57 04 04 00 4A 00 00 00 19 04 04 00 00 00 00 00 90 00 E4 [21:49: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 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 26 82 00 00 0E 04 04 00 B0 01 00 00 12 04 04 00 49 00 00 00 5E 04 04 00 49 00 00 00 57 04 04 00 4A 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:49:05]wFMCommunicate OK [21:49:05]SAM_PROTO_GetFieldsCounters done [21:49:05]requested_item shift.num is exist - process it [21:49:05]requested_item shift.opened is exist - process it [21:49:05]req_shift_opened [21:49:05]FM_GetShiftState [21:49:05]SAM_PROTO_GetShiftState [21:49:05]wFMCommunicate request_size=4 [21:49:05]MH_SAM_APDU [21:49:05]CAPDU: 80 13 01 00 [21:49:05]Write to MH i2c: E2 08 00 13 0F 80 13 01 00 00 00 00 00 9F [21:49:05]Write i2c OK [21:49:05]MH_I2C_Read... [21:49:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:49:05]Read from MH i2c: E2 [21:49:05]MH_I2C_Read... [21:49:05]Read from MH i2c: E2 0E 00 [21:49:05]MH_I2C_Read... [21:49:05]Read from MH i2c: E2 0E 00 13 0F 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 D0 [21:49:05]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [21:49:05]wFMCommunicate OK [21:49:05]SAM_PROTO_GetShiftState done [21:49:05]FM_GetShiftState done [21:49:05]req_shift_opened done [21:49:05]requested_item shift.open_date is exist - process it [21:49:05]req_shift_open_date [21:49:05]req_shift_open_date done [21:49:05]produce_requested_data done [21:49:05]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33318,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398} [21:49:05]process_action_free close_receipt [21:49:05]json_value_free [21:49:05]json_value_free done [21:49:05]process_json_proto returns [21:49:05]Send response to host [21:49:05]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33318,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398}}} [21:49:05]free response buf [21:49:05]execute_script done [21:49:05]execute_script returns [21:49:05]free content buf [21:49:05]Sock 7.Close socket [21:49:05]Sock 7.Thread stoped [21:49:08]OFD Sender: No OFD packet to send [21:49:13]OFD Sender: No OFD packet to send [21:49:18]OFD Sender: No OFD packet to send [21:49:23]OFD Sender: No OFD packet to send [21:49:28]OFD Sender: No OFD packet to send [21:49:33]OFD Sender: No OFD packet to send [21:49:38]OFD Sender: No OFD packet to send [21:49:43]OFD Sender: No OFD packet to send [21:49:48]OFD Sender: No OFD packet to send [21:49:53]OFD Sender: No OFD packet to send [21:49:58]OFD Sender: No OFD packet to send [21:50:03]OFD Sender: No OFD packet to send [21:50:08]OFD Sender: No OFD packet to send [21:50:13]OFD Sender: No OFD packet to send [21:50:18]OFD Sender: No OFD packet to send [21:50:23]OFD Sender: No OFD packet to send [21:50:28]OFD Sender: No OFD packet to send [21:50:33]OFD Sender: No OFD packet to send [21:50:38]OFD Sender: No OFD packet to send [21:50:43]OFD Sender: No OFD packet to send [21:50:48]OFD Sender: No OFD packet to send [21:50:53]OFD Sender: No OFD packet to send [21:50:58]OFD Sender: No OFD packet to send [21:51:03]OFD Sender: No OFD packet to send [21:51:08]OFD Sender: No OFD packet to send [21:51:13]OFD Sender: No OFD packet to send [21:51:18]OFD Sender: No OFD packet to send [21:51:23]OFD Sender: No OFD packet to send [21:51:28]OFD Sender: No OFD packet to send [21:51:33]OFD Sender: No OFD packet to send [21:51:38]OFD Sender: No OFD packet to send [21:51:43]OFD Sender: No OFD packet to send [21:51:48]OFD Sender: No OFD packet to send [21:51:53]OFD Sender: No OFD packet to send [21:51:58]OFD Sender: No OFD packet to send [21:52:03]OFD Sender: No OFD packet to send [21:52:08]OFD Sender: No OFD packet to send [21:52:13]OFD Sender: No OFD packet to send [21:52:18]OFD Sender: No OFD packet to send [21:52:23]OFD Sender: No OFD packet to send [21:52:28]OFD Sender: No OFD packet to send [21:52:33]OFD Sender: No OFD packet to send [21:52:38]OFD Sender: No OFD packet to send [21:52:43]OFD Sender: No OFD packet to send [21:52:48]OFD Sender: No OFD packet to send [21:52:53]OFD Sender: No OFD packet to send [21:52:58]OFD Sender: No OFD packet to send [21:53:03]OFD Sender: No OFD packet to send [21:53:08]OFD Sender: No OFD packet to send [21:53:13]OFD Sender: No OFD packet to send [21:53:18]OFD Sender: No OFD packet to send [21:53:23]OFD Sender: No OFD packet to send [21:53:28]OFD Sender: No OFD packet to send [21:53:33]OFD Sender: No OFD packet to send [21:53:38]OFD Sender: No OFD packet to send [21:53:43]OFD Sender: No OFD packet to send [21:53:48]OFD Sender: No OFD packet to send [21:53:53]OFD Sender: No OFD packet to send [21:53:58]OFD Sender: No OFD packet to send [21:54:03]OFD Sender: No OFD packet to send [21:54:08]OFD Sender: No OFD packet to send [21:54:13]OFD Sender: No OFD packet to send [21:54:18]OFD Sender: No OFD packet to send [21:54:23]OFD Sender: No OFD packet to send [21:54:28]OFD Sender: No OFD packet to send [21:54:33]OFD Sender: No OFD packet to send [21:54:38]OFD Sender: No OFD packet to send [21:54:43]OFD Sender: No OFD packet to send [21:54:48]OFD Sender: No OFD packet to send [21:54:54]OFD Sender: No OFD packet to send [21:54:59]OFD Sender: No OFD packet to send [21:55:04]OFD Sender: No OFD packet to send [21:55:09]OFD Sender: No OFD packet to send [21:55:14]OFD Sender: No OFD packet to send [21:55:19]OFD Sender: No OFD packet to send [21:55:24]OFD Sender: No OFD packet to send [21:55:29]OFD Sender: No OFD packet to send [21:55:34]OFD Sender: No OFD packet to send [21:55:39]OFD Sender: No OFD packet to send [21:55:44]OFD Sender: No OFD packet to send [21:55:49]OFD Sender: No OFD packet to send [21:55:54]OFD Sender: No OFD packet to send [21:55:59]OFD Sender: No OFD packet to send [21:56:04]OFD Sender: No OFD packet to send [21:56:09]OFD Sender: No OFD packet to send [21:56:14]OFD Sender: No OFD packet to send [21:56:19]OFD Sender: No OFD packet to send [21:56:24]OFD Sender: No OFD packet to send [21:56:29]OFD Sender: No OFD packet to send [21:56:34]OFD Sender: No OFD packet to send [21:56:39]OFD Sender: No OFD packet to send [21:56:44]OFD Sender: No OFD packet to send [21:56:49]OFD Sender: No OFD packet to send [21:56:54]OFD Sender: No OFD packet to send [21:56:59]OFD Sender: No OFD packet to send [21:57:04]OFD Sender: No OFD packet to send [21:57:09]OFD Sender: No OFD packet to send [21:57:14]OFD Sender: No OFD packet to send [21:57:19]OFD Sender: No OFD packet to send [21:57:24]OFD Sender: No OFD packet to send [21:57:29]OFD Sender: No OFD packet to send [21:57:34]OFD Sender: No OFD packet to send [21:57:39]OFD Sender: No OFD packet to send [21:57:44]OFD Sender: No OFD packet to send [21:57:49]OFD Sender: No OFD packet to send [21:57:54]OFD Sender: No OFD packet to send [21:57:59]OFD Sender: No OFD packet to send [21:58:04]OFD Sender: No OFD packet to send [21:58:09]OFD Sender: No OFD packet to send [21:58:14]OFD Sender: No OFD packet to send [21:58:19]OFD Sender: No OFD packet to send [21:58:24]OFD Sender: No OFD packet to send [21:58:29]OFD Sender: No OFD packet to send [21:58:34]OFD Sender: No OFD packet to send [21:58:39]OFD Sender: No OFD packet to send [21:58:44]OFD Sender: No OFD packet to send [21:58:49]OFD Sender: No OFD packet to send [21:58:54]OFD Sender: No OFD packet to send [21:58:59]OFD Sender: No OFD packet to send [21:59:04]OFD Sender: No OFD packet to send [21:59:09]OFD Sender: No OFD packet to send [21:59:14]OFD Sender: No OFD packet to send [21:59:19]OFD Sender: No OFD packet to send [21:59:24]OFD Sender: No OFD packet to send [21:59:29]OFD Sender: No OFD packet to send [21:59:34]OFD Sender: No OFD packet to send [21:59:39]OFD Sender: No OFD packet to send [21:59:44]OFD Sender: No OFD packet to send [21:59:49]OFD Sender: No OFD packet to send [21:59:54]OFD Sender: No OFD packet to send [21:59:59]OFD Sender: No OFD packet to send [22:00:04]OFD Sender: No OFD packet to send [22:00:09]OFD Sender: No OFD packet to send [22:00:14]OFD Sender: No OFD packet to send [22:00:19]OFD Sender: No OFD packet to send [22:00:24]OFD Sender: No OFD packet to send [22:00:29]OFD Sender: No OFD packet to send [22:00:34]OFD Sender: No OFD packet to send [22:00:39]OFD Sender: No OFD packet to send [22:00:44]OFD Sender: No OFD packet to send [22:00:49]OFD Sender: No OFD packet to send [22:00:54]OFD Sender: No OFD packet to send [22:00:59]OFD Sender: No OFD packet to send [22:01:04]OFD Sender: No OFD packet to send [22:01:09]OFD Sender: No OFD packet to send [22:01:14]OFD Sender: No OFD packet to send [22:01:19]OFD Sender: No OFD packet to send [22:01:24]OFD Sender: No OFD packet to send [22:01:29]OFD Sender: No OFD packet to send [22:01:34]OFD Sender: No OFD packet to send [22:01:39]OFD Sender: No OFD packet to send [22:01:44]OFD Sender: No OFD packet to send [22:01:49]OFD Sender: No OFD packet to send [22:01:54]OFD Sender: No OFD packet to send [22:01:59]OFD Sender: No OFD packet to send [22:02:04]OFD Sender: No OFD packet to send [22:02:09]OFD Sender: No OFD packet to send [22:02:14]OFD Sender: No OFD packet to send [22:02:19]OFD Sender: No OFD packet to send [22:02:24]OFD Sender: No OFD packet to send [22:02:29]OFD Sender: No OFD packet to send [22:02:34]OFD Sender: No OFD packet to send [22:02:39]OFD Sender: No OFD packet to send [22:02:44]OFD Sender: No OFD packet to send [22:02:49]OFD Sender: No OFD packet to send [22:02:54]OFD Sender: No OFD packet to send [22:02:59]OFD Sender: No OFD packet to send [22:03:04]OFD Sender: No OFD packet to send [22:03:09]OFD Sender: No OFD packet to send [22:03:14]OFD Sender: No OFD packet to send [22:03:19]OFD Sender: No OFD packet to send [22:03:24]OFD Sender: No OFD packet to send [22:03:29]OFD Sender: No OFD packet to send [22:03:34]OFD Sender: No OFD packet to send [22:03:39]OFD Sender: No OFD packet to send [22:03:44]OFD Sender: No OFD packet to send [22:03:49]OFD Sender: No OFD packet to send [22:03:54]OFD Sender: No OFD packet to send [22:03:59]OFD Sender: No OFD packet to send [22:04:04]OFD Sender: No OFD packet to send [22:04:09]OFD Sender: No OFD packet to send [22:04:14]OFD Sender: No OFD packet to send [22:04:19]OFD Sender: No OFD packet to send [22:04:24]OFD Sender: No OFD packet to send [22:04:29]OFD Sender: No OFD packet to send [22:04:34]OFD Sender: No OFD packet to send [22:04:39]OFD Sender: No OFD packet to send [22:04:44]OFD Sender: No OFD packet to send [22:04:49]OFD Sender: No OFD packet to send [22:04:54]OFD Sender: No OFD packet to send [22:04:59]OFD Sender: No OFD packet to send [22:05:04]OFD Sender: No OFD packet to send [22:05:09]OFD Sender: No OFD packet to send [22:05:14]OFD Sender: No OFD packet to send [22:05:19]OFD Sender: No OFD packet to send [22:05:24]OFD Sender: No OFD packet to send [22:05:29]OFD Sender: No OFD packet to send [22:05:34]OFD Sender: No OFD packet to send [22:05:39]OFD Sender: No OFD packet to send [22:05:44]OFD Sender: No OFD packet to send [22:05:49]OFD Sender: No OFD packet to send [22:05:54]OFD Sender: No OFD packet to send [22:05:59]OFD Sender: No OFD packet to send [22:06:04]OFD Sender: No OFD packet to send [22:06:09]OFD Sender: No OFD packet to send [22:06:14]OFD Sender: No OFD packet to send [22:06:19]OFD Sender: No OFD packet to send [22:06:24]OFD Sender: No OFD packet to send [22:06:29]OFD Sender: No OFD packet to send [22:06:34]OFD Sender: No OFD packet to send [22:06:39]OFD Sender: No OFD packet to send [22:06:44]OFD Sender: No OFD packet to send [22:06:49]OFD Sender: No OFD packet to send [22:06:54]OFD Sender: No OFD packet to send [22:06:59]OFD Sender: No OFD packet to send [22:07:04]OFD Sender: No OFD packet to send [22:07:09]OFD Sender: No OFD packet to send [22:07:14]OFD Sender: No OFD packet to send [22:07:19]OFD Sender: No OFD packet to send [22:07:24]OFD Sender: No OFD packet to send [22:07:29]OFD Sender: No OFD packet to send [22:07:34]OFD Sender: No OFD packet to send [22:07:39]OFD Sender: No OFD packet to send [22:07:44]OFD Sender: No OFD packet to send [22:07:49]OFD Sender: No OFD packet to send [22:07:54]OFD Sender: No OFD packet to send [22:07:59]OFD Sender: No OFD packet to send [22:08:04]OFD Sender: No OFD packet to send [22:08:09]OFD Sender: No OFD packet to send [22:08:14]OFD Sender: No OFD packet to send [22:08:19]OFD Sender: No OFD packet to send [22:08:24]OFD Sender: No OFD packet to send [22:08:29]OFD Sender: No OFD packet to send [22:08:34]OFD Sender: No OFD packet to send [22:08:39]OFD Sender: No OFD packet to send [22:08:44]OFD Sender: No OFD packet to send [22:08:49]OFD Sender: No OFD packet to send [22:08:54]OFD Sender: No OFD packet to send [22:08:59]OFD Sender: No OFD packet to send [22:09:04]OFD Sender: No OFD packet to send [22:09:09]OFD Sender: No OFD packet to send [22:09:14]OFD Sender: No OFD packet to send [22:09:19]OFD Sender: No OFD packet to send [22:09:24]OFD Sender: No OFD packet to send [22:09:29]OFD Sender: No OFD packet to send [22:09:34]OFD Sender: No OFD packet to send [22:09:39]OFD Sender: No OFD packet to send [22:09:44]OFD Sender: No OFD packet to send [22:09:49]OFD Sender: No OFD packet to send [22:09:54]OFD Sender: No OFD packet to send [22:09:59]OFD Sender: No OFD packet to send [22:10:04]OFD Sender: No OFD packet to send [22:10:09]OFD Sender: No OFD packet to send [22:10:14]OFD Sender: No OFD packet to send [22:10:19]OFD Sender: No OFD packet to send [22:10:24]OFD Sender: No OFD packet to send [22:10:29]OFD Sender: No OFD packet to send [22:10:34]OFD Sender: No OFD packet to send [22:10:39]OFD Sender: No OFD packet to send [22:10:44]OFD Sender: No OFD packet to send [22:10:49]OFD Sender: No OFD packet to send [22:10:54]OFD Sender: No OFD packet to send [22:10:59]OFD Sender: No OFD packet to send [22:11:04]OFD Sender: No OFD packet to send [22:11:09]OFD Sender: No OFD packet to send [22:11:14]OFD Sender: No OFD packet to send [22:11:19]OFD Sender: No OFD packet to send [22:11:24]OFD Sender: No OFD packet to send [22:11:29]OFD Sender: No OFD packet to send [22:11:34]OFD Sender: No OFD packet to send [22:11:39]OFD Sender: No OFD packet to send [22:11:44]OFD Sender: No OFD packet to send [22:11:49]OFD Sender: No OFD packet to send [22:11:54]OFD Sender: No OFD packet to send [22:11:59]OFD Sender: No OFD packet to send [22:12:04]OFD Sender: No OFD packet to send [22:12:09]OFD Sender: No OFD packet to send [22:12:14]OFD Sender: No OFD packet to send [22:12:19]OFD Sender: No OFD packet to send [22:12:24]OFD Sender: No OFD packet to send [22:12:29]OFD Sender: No OFD packet to send [22:12:34]OFD Sender: No OFD packet to send [22:12:39]OFD Sender: No OFD packet to send [22:12:44]OFD Sender: No OFD packet to send [22:12:49]OFD Sender: No OFD packet to send [22:12:54]OFD Sender: No OFD packet to send [22:12:59]OFD Sender: No OFD packet to send [22:13:04]OFD Sender: No OFD packet to send [22:13:09]OFD Sender: No OFD packet to send [22:13:14]OFD Sender: No OFD packet to send [22:13:19]OFD Sender: No OFD packet to send [22:13:24]OFD Sender: No OFD packet to send [22:13:29]OFD Sender: No OFD packet to send [22:13:34]OFD Sender: No OFD packet to send [22:13:39]OFD Sender: No OFD packet to send [22:13:44]OFD Sender: No OFD packet to send [22:13:49]OFD Sender: No OFD packet to send [22:13:54]OFD Sender: No OFD packet to send [22:13:59]OFD Sender: No OFD packet to send [22:14:04]OFD Sender: No OFD packet to send [22:14:09]OFD Sender: No OFD packet to send [22:14:14]OFD Sender: No OFD packet to send [22:14:19]OFD Sender: No OFD packet to send [22:14:24]OFD Sender: No OFD packet to send [22:14:29]OFD Sender: No OFD packet to send [22:14:34]OFD Sender: No OFD packet to send [22:14:39]OFD Sender: No OFD packet to send [22:14:44]OFD Sender: No OFD packet to send [22:14:49]OFD Sender: No OFD packet to send [22:14:54]OFD Sender: No OFD packet to send [22:14:59]OFD Sender: No OFD packet to send [22:15:04]OFD Sender: No OFD packet to send [22:15:09]OFD Sender: No OFD packet to send [22:15:14]OFD Sender: No OFD packet to send [22:15:19]OFD Sender: No OFD packet to send [22:15:24]OFD Sender: No OFD packet to send [22:15:29]OFD Sender: No OFD packet to send [22:15:34]OFD Sender: No OFD packet to send [22:15:39]OFD Sender: No OFD packet to send [22:15:44]OFD Sender: No OFD packet to send [22:15:49]OFD Sender: No OFD packet to send [22:15:54]OFD Sender: No OFD packet to send [22:15:59]OFD Sender: No OFD packet to send [22:16:04]OFD Sender: No OFD packet to send [22:16:09]OFD Sender: No OFD packet to send [22:16:14]OFD Sender: No OFD packet to send [22:16:19]OFD Sender: No OFD packet to send [22:16:24]OFD Sender: No OFD packet to send [22:16:30]OFD Sender: No OFD packet to send [22:16:35]OFD Sender: No OFD packet to send [22:16:40]OFD Sender: No OFD packet to send [22:16:45]OFD Sender: No OFD packet to send [22:16:50]OFD Sender: No OFD packet to send [22:16:55]OFD Sender: No OFD packet to send [22:17:00]OFD Sender: No OFD packet to send [22:17:05]OFD Sender: No OFD packet to send [22:17:10]OFD Sender: No OFD packet to send [22:17:15]OFD Sender: No OFD packet to send [22:17:20]OFD Sender: No OFD packet to send [22:17:25]OFD Sender: No OFD packet to send [22:17:30]OFD Sender: No OFD packet to send [22:17:35]OFD Sender: No OFD packet to send [22:17:40]OFD Sender: No OFD packet to send [22:17:45]OFD Sender: No OFD packet to send [22:17:50]OFD Sender: No OFD packet to send [22:17:55]OFD Sender: No OFD packet to send [22:18:00]OFD Sender: No OFD packet to send [22:18:05]OFD Sender: No OFD packet to send [22:18:10]OFD Sender: No OFD packet to send [22:18:15]OFD Sender: No OFD packet to send [22:18:20]OFD Sender: No OFD packet to send [22:18:25]OFD Sender: No OFD packet to send [22:18:30]OFD Sender: No OFD packet to send [22:18:35]OFD Sender: No OFD packet to send [22:18:40]OFD Sender: No OFD packet to send [22:18:45]OFD Sender: No OFD packet to send [22:18:50]OFD Sender: No OFD packet to send [22:18:55]OFD Sender: No OFD packet to send [22:19:00]OFD Sender: No OFD packet to send [22:19:05]OFD Sender: No OFD packet to send [22:19:10]OFD Sender: No OFD packet to send [22:19:15]OFD Sender: No OFD packet to send [22:19:20]OFD Sender: No OFD packet to send [22:19:25]OFD Sender: No OFD packet to send [22:19:30]OFD Sender: No OFD packet to send [22:19:35]OFD Sender: No OFD packet to send [22:19:40]OFD Sender: No OFD packet to send [22:19:45]OFD Sender: No OFD packet to send [22:19:50]OFD Sender: No OFD packet to send [22:19:55]OFD Sender: No OFD packet to send [22:20:00]OFD Sender: No OFD packet to send [22:20:05]OFD Sender: No OFD packet to send [22:20:10]OFD Sender: No OFD packet to send [22:20:15]OFD Sender: No OFD packet to send [22:20:20]OFD Sender: No OFD packet to send [22:20:25]OFD Sender: No OFD packet to send [22:20:30]OFD Sender: No OFD packet to send [22:20:35]OFD Sender: No OFD packet to send [22:20:40]OFD Sender: No OFD packet to send [22:20:45]OFD Sender: No OFD packet to send [22:20:50]OFD Sender: No OFD packet to send [22:20:55]OFD Sender: No OFD packet to send [22:21:00]OFD Sender: No OFD packet to send [22:21:05]OFD Sender: No OFD packet to send [22:21:10]OFD Sender: No OFD packet to send [22:21:15]OFD Sender: No OFD packet to send [22:21:20]OFD Sender: No OFD packet to send [22:21:25]OFD Sender: No OFD packet to send [22:21:30]OFD Sender: No OFD packet to send [22:21:35]OFD Sender: No OFD packet to send [22:21:40]OFD Sender: No OFD packet to send [22:21:45]OFD Sender: No OFD packet to send [22:21:50]OFD Sender: No OFD packet to send [22:21:55]OFD Sender: No OFD packet to send [22:22:00]OFD Sender: No OFD packet to send [22:22:05]OFD Sender: No OFD packet to send [22:22:10]OFD Sender: No OFD packet to send [22:22:15]OFD Sender: No OFD packet to send [22:22:20]OFD Sender: No OFD packet to send [22:22:25]OFD Sender: No OFD packet to send [22:22:30]OFD Sender: No OFD packet to send [22:22:35]OFD Sender: No OFD packet to send [22:22:40]OFD Sender: No OFD packet to send [22:22:45]OFD Sender: No OFD packet to send [22:22:50]OFD Sender: No OFD packet to send [22:22:55]OFD Sender: No OFD packet to send [22:23:00]OFD Sender: No OFD packet to send [22:23:05]OFD Sender: No OFD packet to send [22:23:10]OFD Sender: No OFD packet to send [22:23:15]OFD Sender: No OFD packet to send [22:23:20]OFD Sender: No OFD packet to send [22:23:25]OFD Sender: No OFD packet to send [22:23:30]OFD Sender: No OFD packet to send [22:23:35]OFD Sender: No OFD packet to send [22:23:40]OFD Sender: No OFD packet to send [22:23:45]OFD Sender: No OFD packet to send [22:23:50]OFD Sender: No OFD packet to send [22:23:55]OFD Sender: No OFD packet to send [22:24:00]OFD Sender: No OFD packet to send [22:24:05]OFD Sender: No OFD packet to send [22:24:10]OFD Sender: No OFD packet to send [22:24:15]OFD Sender: No OFD packet to send [22:24:20]OFD Sender: No OFD packet to send [22:24:25]OFD Sender: No OFD packet to send [22:24:30]OFD Sender: No OFD packet to send [22:24:35]OFD Sender: No OFD packet to send [22:24:40]OFD Sender: No OFD packet to send [22:24:45]OFD Sender: No OFD packet to send [22:24:50]OFD Sender: No OFD packet to send [22:24:55]OFD Sender: No OFD packet to send [22:25:00]OFD Sender: No OFD packet to send [22:25:05]OFD Sender: No OFD packet to send [22:25:10]OFD Sender: No OFD packet to send [22:25:15]OFD Sender: No OFD packet to send [22:25:20]OFD Sender: No OFD packet to send [22:25:25]OFD Sender: No OFD packet to send [22:25:30]OFD Sender: No OFD packet to send [22:25:35]OFD Sender: No OFD packet to send [22:25:40]OFD Sender: No OFD packet to send [22:25:45]OFD Sender: No OFD packet to send [22:25:50]OFD Sender: No OFD packet to send [22:25:55]OFD Sender: No OFD packet to send [22:26:00]OFD Sender: No OFD packet to send [22:26:05]OFD Sender: No OFD packet to send [22:26:10]OFD Sender: No OFD packet to send [22:26:15]OFD Sender: No OFD packet to send [22:26:20]OFD Sender: No OFD packet to send [22:26:25]OFD Sender: No OFD packet to send [22:26:29]accept exits with 9 [22:26:29]New connection [22:26:29]New thread 3066936676 created [22:26:29]Thread 3066793316 joined [22:26:29]Waiting for new connection... [22:26:29] Sock 9.Parse request [22:26:29]Sock 9.Check first char [22:26:29]Sock 9.First char is OK [22:26:29]request: POST /json_proto HTTP/1.0 [22:26:29]Method: POST [22:26:29]URL: /json_proto [22:26:29]Method is POST - this is cgi request [22:26:29]url: /json_proto [22:26:29]query_string will be loaded in cgi processing [22:26:29]execute_cgi json_proto POST (null) [22:26:29]execute_cgi path=json_proto method=POST [22:26:29]POST find Content-Length [22:26:29]Host: 172.17.35.196:8080 [22:26:29]Content-Length: 620 [22:26:29]Content-Type: application/json [22:26:29] [22:26:29]POST finish read [22:26:29]Found Content-Length = 620 [22:26:29]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169140", "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" ] } } [22:26:29]execute_script... [22:26: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)169140", "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" ] } } [22:26:29]POST & json_proto [22:26:29]process_json_proto [22:26:29]json parsed OK: [22:26:29]protocol is kg_v1.0 [22:26:29]action value=close_receipt [22:26:29]process_action close_receipt [22:26:29]cmd_close_receipt [22:26:29]MH_GetDate [22:26:29]Write to MH i2c: F0 00 00 14 0F 12 [22:26:29]Write i2c OK [22:26:29]MH_I2C_Read... [22:26:29]Read from MH i2c: F0 [22:26:29]MH_I2C_Read... [22:26:29]Read from MH i2c: F0 09 00 [22:26:29]MH_I2C_Read... [22:26:29]Read from MH i2c: F0 09 00 14 0F 00 18 5C 90 66 AD 14 F4 65 9F [22:26:29]GetLastDocTimeStamp 1720734543 [22:26:29]current date 1720736792 [22:26:29]FM_GetShiftState [22:26:29]SAM_PROTO_GetShiftState [22:26:29]wFMCommunicate request_size=4 [22:26:29]MH_SAM_APDU [22:26:29]CAPDU: 80 13 01 00 [22:26:29]Write to MH i2c: E2 08 00 15 0F 80 13 01 00 00 00 00 00 A1 [22:26:29]Write i2c OK [22:26:29]MH_I2C_Read... [22:26:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:26:29]Read from MH i2c: E2 [22:26:29]MH_I2C_Read... [22:26:29]Read from MH i2c: E2 0E 00 [22:26:29]MH_I2C_Read... [22:26:29]Read from MH i2c: E2 0E 00 15 0F 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 D2 [22:26:29]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [22:26:29]wFMCommunicate OK [22:26:29]SAM_PROTO_GetShiftState done [22:26:29]FM_GetShiftState done [22:26:29]opened in 1720656398 [22:26:29]opened+sec_in_day 1720742798 [22:26:29]quantity*price = 13500 [22:26:29]sum+1 = 13501 [22:26:29]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 135.00 НСП 1% : 1.19 НДС 12% : 14.34 Наличными: 135.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 74 11.07.2024 22:26 Смена: 432 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33319 ФПД: 142197905777889 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T222632&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33319&fm=142197905777889&tin=02508201610067®Number=0000000000093033&sum=13500 0 [22:26:31]StoreToDocumentArchive [22:26:31]shift 432 fd 33319 [22:26:31]save to /storage/0432/doc_00033319 [22:26:31]save last doc name /storage/0432/doc_00033319 to /storage/kkm_last_doc_name [22:26:31]save OK [22:26:31]Clear old archive folders... [22:26:31]ProcessDocumentItem done err = 0, tmpTLVsize=272 [22:26:31]tlvbuf is 01CB6EC0 [22:26:31]SAM_PROTO_ClearQueue [22:26:31]wFMCommunicate request_size=4 [22:26:31]MH_SAM_APDU [22:26:31]CAPDU: 80 09 00 00 [22:26:31]Write to MH i2c: E2 08 00 22 0F 80 09 00 00 00 00 00 00 A3 [22:26:31]Write i2c OK [22:26:31]MH_I2C_Read... [22:26:31]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:26:31]Read from MH i2c: E2 [22:26:31]MH_I2C_Read... [22:26:31]Read from MH i2c: E2 03 00 [22:26:31]MH_I2C_Read... [22:26:31]Read from MH i2c: E2 03 00 22 0F 00 90 00 A5 [22:26:31]RAPDU: 90 00 [22:26:31]wFMCommunicate OK [22:26:31]SAM_PROTO_ClearQueue done [22:26:31]KKMCreateOFDPacket [22:26:31]OFDProtocolAddRootSTLVToBuf [22:26:31]FM_MakeSignedData [22:26:31]FM_MakeSignedData [22:26:31]SAM_PROTO_SignData [22:26:31]wFMCommunicate request_size=4 [22:26:31]MH_SAM_APDU [22:26:31]CAPDU: 80 0D 01 02 [22:26:31]Write to MH i2c: E2 08 00 23 0F 80 0D 01 02 00 00 00 00 AB [22:26:31]Write i2c OK [22:26:31]MH_I2C_Read... [22:26:31]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:26:31]Read from MH i2c: E2 [22:26:31]MH_I2C_Read... [22:26:31]Read from MH i2c: E2 03 00 [22:26:31]MH_I2C_Read... [22:26:31]Read from MH i2c: E2 03 00 23 0F 00 90 00 A6 [22:26:31]RAPDU: 90 00 [22:26:31]wFMCommunicate OK [22:26:31]wFMCommunicate request_size=255 [22:26:31]MH_SAM_APDU [22:26:31]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 4A 00 00 00 F4 03 04 00 18 5C 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 [22:26:31]Write to MH i2c: E2 02 01 24 0F 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 4A 00 00 00 F4 03 04 00 18 5C 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 00 00 C4 [22:26:31]Write i2c OK [22:26:31]MH_I2C_Read... [22:26:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:26:31]Read from MH i2c: E2 [22:26:31]MH_I2C_Read... [22:26:31]Read from MH i2c: E2 03 00 [22:26:31]MH_I2C_Read... [22:26:31]Read from MH i2c: E2 03 00 24 0F 00 90 00 A7 [22:26:31]RAPDU: 90 00 [22:26:31]wFMCommunicate OK [22:26:31]wFMCommunicate request_size=31 [22:26:31]MH_SAM_APDU [22:26:31]CAPDU: 80 0D 02 02 1A 30 30 38 37 35 31 30 34 10 04 04 00 27 82 00 00 35 04 06 00 81 54 07 A9 64 E1 [22:26:31]Write to MH i2c: E2 22 00 25 0F 80 0D 02 02 1A 00 30 30 38 37 35 31 30 34 10 04 04 00 27 82 00 00 35 04 06 00 81 54 07 A9 64 E1 00 00 45 [22:26:31]Write i2c OK [22:26:31]MH_I2C_Read... [22:26:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:26:31]Read from MH i2c: E2 [22:26:31]MH_I2C_Read... [22:26:31]Read from MH i2c: E2 03 00 [22:26:31]MH_I2C_Read... [22:26:31]Read from MH i2c: E2 03 00 25 0F 00 90 00 A8 [22:26:31]RAPDU: 90 00 [22:26:31]wFMCommunicate OK [22:26:31]wFMCommunicate request_size=4 [22:26:31]MH_SAM_APDU [22:26:31]CAPDU: 80 0D 03 02 [22:26:31]Write to MH i2c: E2 08 00 26 0F 80 0D 03 02 00 00 00 00 B0 [22:26:31]Write i2c OK [22:26:31]MH_I2C_Read... [22:26:31]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:26:31]Read from MH i2c: E2 [22:26:31]MH_I2C_Read... [22:26:31]Read from MH i2c: E2 0B 00 [22:26:31]MH_I2C_Read... [22:26:31]Read from MH i2c: E2 0B 00 26 0F 00 FE 4E 80 F9 2E 06 9F 0F 90 00 58 [22:26:31]RAPDU: FE 4E 80 F9 2E 06 9F 0F 90 00 [22:26:31]wFMCommunicate OK [22:26:31]SAM_PROTO_SignData done [22:26:31]FM_MakeSignedData done [22:26:31]CreateOFDProtocolMessage [22:26:31]wFMCommunicate request_size=4 [22:26:31]MH_SAM_APDU [22:26:31]CAPDU: 80 11 00 00 [22:26:31]Write to MH i2c: E2 08 00 27 0F 80 11 00 00 00 00 00 00 B0 [22:26:31]Write i2c OK [22:26:31]MH_I2C_Read... [22:26:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:26:31]Read from MH i2c: E2 [22:26:31]MH_I2C_Read... [22:26:31]Read from MH i2c: E2 17 00 [22:26:31]MH_I2C_Read... [22:26:31]Read from MH i2c: E2 17 00 27 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 FC [22:26:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [22:26:31]wFMCommunicate OK [22:26:31]CreateOFDProtocolMessage done [22:26:31]OFDSenderStorePacket 33319 [22:26:31]StoreOFDPacket docnum=33319 [22:26:31]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 24 01 00 00 D7 4B 1C 01 5A F0 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 4A 00 00 00 F4 03 04 00 18 5C 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 27 82 00 00 35 04 06 00 81 54 07 A9 64 E1 FE 4E 80 F9 2E 06 9F 0F [22:26:31]CheckFolder [22:26:31]dirname=/storage/ofd_packets [22:26:31]CheckFolder done [22:26:31]ProducePacketName [22:26:31]name=ofd_packets/00033319 [22:26:31]NVStorageSaveData ofd_packets/00033319 [22:26:31]File name is /storage/ofd_packets/00033319 [22:26:31]Write 322 bytes [22:26:31]NVStorageSaveData done [22:26:31]OFDSenderStorePacket done [22:26:31]KKMCreateOFDPacket done [22:26:31]NVStorageSaveData kkm_last_timestamp [22:26:31]File name is /storage/kkm_last_timestamp [22:26:31]Write 4 bytes [22:26:31]NVStorageSaveData done [22:26:31]ExternCall_PrintAddStr [22:26:31]wPrintStart [22:26:31]Write to MH i2c: 01 00 00 28 0F 37 [22:26:31]Write i2c OK [22:26:31]MH_I2C_Read... [22:26:31]Read from MH i2c: 01 [22:26:31]MH_I2C_Read... [22:26:31]Read from MH i2c: 01 07 00 [22:26:31]MH_I2C_Read... [22:26:31]Read from MH i2c: 01 07 00 28 0F 00 00 00 00 00 FF 0F 4C [22:26:31]RasterBufferAndPrint [22:26:31]line Счет N : (3)169140 [22:26:31]line ИНН: 02508201610067 [22:26:31]line Контрольно-Кассовый Чек [22:26:31]line ПРОДАЖА [22:26:31]line Товар: 48745000 [22:26:31]line Сигареты Winston Purple Mix [22:26:31]line 1.000 * 135.00 [22:26:31]line = 135.00 [22:26:31]line НДС 12% НСП 1% [22:26:31]line > о реализуемом товаре [22:26:31]line ИТОГО: 135.00 [22:26:31]line НСП 1% : 1.19 [22:26:31]line НДС 12% : 14.34 [22:26:31]line Наличными: 135.00 [22:26:31]line Безнал.: 0.00 [22:26:31]line Место: АЗС № 77 "Партнер Нефть" [22:26:31]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [22:26:31]line СНО: Общий режим [22:26:31]line Чек 74 11.07.2024 22:26 [22:26:31]line Смена: 432 ФФД: 1.0 [22:26:31]line ЗНМ: 0300000122 [22:26:31]line РНМ: 0000000000093033 [22:26:31]line Версия ККМ: 001 [22:26:31]line ФМ: 0000000000875104 [22:26:31]line ФД: 33319 [22:26:31]line ФПД: 142197905777889 [22:26:31]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T222632&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33319&fm=142197905777889&tin=02508201610067®Number=0000000000093033&sum=13500 [22:26:31]line 0 [22:26:31]OFD Sender: Processing packet 33319 [packets to send 6, broken 5] [22:26:31]ProducePacketName [22:26:31]name=ofd_packets/00033319 [22:26:31]OFD Sender: To server: pG, [22:26:31]CommunicateWithHost lk.salyk.kg:30040 [22:26:31]ConnectInit lk.salyk.kg [22:26:31]written 0, free lines is 4095 [22:26:32]Connected sock=10 [22:26:32]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 24 01 00 00 D7 4B 1C 01 5A F0 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 4A 00 00 00 F4 03 04 00 18 5C 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 27 82 00 00 35 04 06 00 81 54 07 A9 64 E1 FE 4E 80 F9 2E 06 9F 0F [22:26:32]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 23 26 47 00 A7 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 35 31 30 34 10 04 04 00 27 82 00 00 F4 03 04 00 C7 06 90 66 B6 04 01 00 00 58 53 38 47 85 9F 23 40 [22:26:32]CommunicateWithHost err = 0 [22:26:32]CheckOFDResponse [22:26:32]1017 (14) - 77093643461234 [22:26:32]1041 (16) - 0000000000875104 [22:26:32]1040 (4) - 33319 [22:26:32]1012 (4) - 11.07.2024 16:22 [22:26:32]1206 (1) - 0 [22:26:32]OFD Sender: Remove packet 33319 [22:26:32]ProducePacketName [22:26:32]name=ofd_packets/00033319 [22:26:32]NVStorageDeleteData [22:26:32]Write to MH i2c: 01 00 00 50 0F 5F [22:26:32]Write i2c OK [22:26:32]MH_I2C_Read... [22:26:32]Read from MH i2c: 01 [22:26:32]MH_I2C_Read... [22:26:32]Read from MH i2c: 01 07 00 [22:26:32]MH_I2C_Read... [22:26:32]Read from MH i2c: 01 07 00 50 0F 00 00 00 00 00 E2 0C 54 [22:26:32]RasterBufferAndPrint [22:26:32]line [22:26:32]line [22:26:32]line [22:26:32]line [22:26:32]line [22:26:32]written 0, free lines is 3304 [22:26:32]MH_Cut [22:26:32]Write to MH i2c: D1 01 00 57 0F 01 38 [22:26:32]Write i2c OK [22:26:32]MH_I2C_Read... [22:26:32]Read from MH i2c: D1 [22:26:32]MH_I2C_Read... [22:26:32]Read from MH i2c: D1 01 00 [22:26:32]MH_I2C_Read... [22:26:32]Read from MH i2c: D1 01 00 57 0F 00 37 [22:26:32]Write to MH i2c: 01 00 00 58 0F 67 [22:26:32]Write i2c OK [22:26:32]MH_I2C_Read... [22:26:32]OFD Sender: No OFD packet to send [22:26:33]*** Cut start [22:26:33]*** Partial cut [22:26:33]*** CUTSNS_PIN = 1 [22:26:33]*** CUTSNS_PIN = 0 [22:26:33]*** Brake cut motor [22:26:33]Read from MH i2c: 01 [22:26:33]MH_I2C_Read... [22:26:33]*** Stop cut motor [22:26:33]*** Cut end [22:26:33]Read from MH i2c: 01 07 00 [22:26:33]MH_I2C_Read... [22:26:33]Read from MH i2c: 01 07 00 58 0F 00 00 00 00 00 FF 0F 7C [22:26:33]process_action close_receipt done [22:26:33]requested_data is exist [22:26:33]produce_requested_data [22:26:33]requested_item fm.sn is exist - process it [22:26:33]wFMCommunicate request_size=4 [22:26:33]MH_SAM_APDU [22:26:33]CAPDU: 80 11 00 00 [22:26:33]Write to MH i2c: E2 08 00 59 0F 80 11 00 00 00 00 00 00 E2 [22:26:33]Write i2c OK [22:26:33]MH_I2C_Read... [22:26:33]Read from MH i2c: E2 [22:26:33]MH_I2C_Read... [22:26:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:26:33]Read from MH i2c: E2 17 00 [22:26:33]MH_I2C_Read... [22:26:33]Read from MH i2c: E2 17 00 59 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 2E [22:26:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [22:26:33]wFMCommunicate OK [22:26:33]requested_item fd.num is exist - process it [22:26:33]SAM_PROTO_GetFieldsCounters [22:26:33]wFMCommunicate request_size=4 [22:26:33]MH_SAM_APDU [22:26:33]CAPDU: 80 13 00 00 [22:26:33]Write to MH i2c: E2 08 00 5A 0F 80 13 00 00 00 00 00 00 E5 [22:26:33]Write i2c OK [22:26:33]MH_I2C_Read... [22:26:33]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:26:33]Read from MH i2c: E2 [22:26:33]MH_I2C_Read... [22:26:33]Read from MH i2c: E2 62 00 [22:26:33]MH_I2C_Read... [22:26:33]Read from MH i2c: E2 62 00 5A 0F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 27 82 00 00 0E 04 04 00 B0 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 30 [22:26: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 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 27 82 00 00 0E 04 04 00 B0 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:26:33]wFMCommunicate OK [22:26:33]SAM_PROTO_GetFieldsCounters done [22:26:33]requested_item shift.num is exist - process it [22:26:33]requested_item shift.opened is exist - process it [22:26:33]req_shift_opened [22:26:33]FM_GetShiftState [22:26:33]SAM_PROTO_GetShiftState [22:26:33]wFMCommunicate request_size=4 [22:26:33]MH_SAM_APDU [22:26:33]CAPDU: 80 13 01 00 [22:26:33]Write to MH i2c: E2 08 00 5B 0F 80 13 01 00 00 00 00 00 E7 [22:26:33]Write i2c OK [22:26:33]MH_I2C_Read... [22:26:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:26:33]Read from MH i2c: E2 [22:26:33]MH_I2C_Read... [22:26:33]Read from MH i2c: E2 0E 00 [22:26:33]MH_I2C_Read... [22:26:33]Read from MH i2c: E2 0E 00 5B 0F 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 18 [22:26:33]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [22:26:33]wFMCommunicate OK [22:26:33]SAM_PROTO_GetShiftState done [22:26:33]FM_GetShiftState done [22:26:33]req_shift_opened done [22:26:33]requested_item shift.open_date is exist - process it [22:26:33]req_shift_open_date [22:26:33]req_shift_open_date done [22:26:33]produce_requested_data done [22:26:33]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33319,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398} [22:26:33]process_action_free close_receipt [22:26:33]json_value_free [22:26:33]json_value_free done [22:26:33]process_json_proto returns [22:26:33]Send response to host [22:26:33]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33319,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398}}} [22:26:33]free response buf [22:26:33]execute_script done [22:26:33]execute_script returns [22:26:33]free content buf [22:26:33]Sock 9.Close socket [22:26:33]Sock 9.Thread stoped [22:26:37]OFD Sender: No OFD packet to send [22:26:42]OFD Sender: No OFD packet to send [22:26:47]OFD Sender: No OFD packet to send [22:26:52]OFD Sender: No OFD packet to send [22:26:57]OFD Sender: No OFD packet to send [22:27:02]OFD Sender: No OFD packet to send [22:27:07]OFD Sender: No OFD packet to send [22:27:12]OFD Sender: No OFD packet to send [22:27:17]OFD Sender: No OFD packet to send [22:27:22]OFD Sender: No OFD packet to send [22:27:27]OFD Sender: No OFD packet to send [22:27:32]OFD Sender: No OFD packet to send [22:27:37]OFD Sender: No OFD packet to send [22:27:42]OFD Sender: No OFD packet to send [22:27:47]OFD Sender: No OFD packet to send [22:27:52]OFD Sender: No OFD packet to send [22:27:57]OFD Sender: No OFD packet to send [22:28:02]OFD Sender: No OFD packet to send [22:28:07]OFD Sender: No OFD packet to send [22:28:12]OFD Sender: No OFD packet to send [22:28:17]OFD Sender: No OFD packet to send [22:28:22]OFD Sender: No OFD packet to send [22:28:27]OFD Sender: No OFD packet to send [22:28:32]OFD Sender: No OFD packet to send [22:28:37]OFD Sender: No OFD packet to send [22:28:42]OFD Sender: No OFD packet to send [22:28:47]OFD Sender: No OFD packet to send [22:28:52]OFD Sender: No OFD packet to send [22:28:57]OFD Sender: No OFD packet to send [22:29:02]OFD Sender: No OFD packet to send [22:29:07]OFD Sender: No OFD packet to send [22:29:12]OFD Sender: No OFD packet to send [22:29:17]OFD Sender: No OFD packet to send [22:29:22]OFD Sender: No OFD packet to send [22:29:27]OFD Sender: No OFD packet to send [22:29:32]OFD Sender: No OFD packet to send [22:29:37]OFD Sender: No OFD packet to send [22:29:42]OFD Sender: No OFD packet to send [22:29:47]OFD Sender: No OFD packet to send [22:29:52]OFD Sender: No OFD packet to send [22:29:57]OFD Sender: No OFD packet to send [22:30:02]OFD Sender: No OFD packet to send [22:30:07]OFD Sender: No OFD packet to send [22:30:12]OFD Sender: No OFD packet to send [22:30:17]OFD Sender: No OFD packet to send [22:30:22]OFD Sender: No OFD packet to send [22:30:27]OFD Sender: No OFD packet to send [22:30:32]OFD Sender: No OFD packet to send [22:30:37]OFD Sender: No OFD packet to send [22:30:42]OFD Sender: No OFD packet to send [22:30:47]OFD Sender: No OFD packet to send [22:30:52]OFD Sender: No OFD packet to send [22:30:57]OFD Sender: No OFD packet to send [22:31:02]OFD Sender: No OFD packet to send [22:31:07]OFD Sender: No OFD packet to send [22:31:12]OFD Sender: No OFD packet to send [22:31:17]OFD Sender: No OFD packet to send [22:31:22]OFD Sender: No OFD packet to send [22:31:27]OFD Sender: No OFD packet to send [22:31:32]OFD Sender: No OFD packet to send [22:31:37]OFD Sender: No OFD packet to send [22:31:42]OFD Sender: No OFD packet to send [22:31:47]OFD Sender: No OFD packet to send [22:31:52]OFD Sender: No OFD packet to send [22:31:57]OFD Sender: No OFD packet to send [22:32:02]OFD Sender: No OFD packet to send [22:32:07]OFD Sender: No OFD packet to send [22:32:12]OFD Sender: No OFD packet to send [22:32:17]OFD Sender: No OFD packet to send [22:32:23]OFD Sender: No OFD packet to send [22:32:28]OFD Sender: No OFD packet to send [22:32:33]OFD Sender: No OFD packet to send [22:32:38]OFD Sender: No OFD packet to send [22:32:43]OFD Sender: No OFD packet to send [22:32:48]OFD Sender: No OFD packet to send [22:32:53]OFD Sender: No OFD packet to send [22:32:58]OFD Sender: No OFD packet to send [22:33:03]OFD Sender: No OFD packet to send [22:33:08]OFD Sender: No OFD packet to send [22:33:13]OFD Sender: No OFD packet to send [22:33:18]OFD Sender: No OFD packet to send [22:33:23]OFD Sender: No OFD packet to send [22:33:28]OFD Sender: No OFD packet to send [22:33:33]OFD Sender: No OFD packet to send [22:33:38]OFD Sender: No OFD packet to send [22:33:43]OFD Sender: No OFD packet to send [22:33:48]OFD Sender: No OFD packet to send [22:33:53]OFD Sender: No OFD packet to send [22:33:58]OFD Sender: No OFD packet to send [22:34:03]OFD Sender: No OFD packet to send [22:34:08]OFD Sender: No OFD packet to send [22:34:13]OFD Sender: No OFD packet to send [22:34:18]OFD Sender: No OFD packet to send [22:34:23]OFD Sender: No OFD packet to send [22:34:28]OFD Sender: No OFD packet to send [22:34:33]OFD Sender: No OFD packet to send [22:34:38]OFD Sender: No OFD packet to send [22:34:43]OFD Sender: No OFD packet to send [22:34:48]OFD Sender: No OFD packet to send [22:34:53]OFD Sender: No OFD packet to send [22:34:58]OFD Sender: No OFD packet to send [22:35:03]OFD Sender: No OFD packet to send [22:35:08]OFD Sender: No OFD packet to send [22:35:13]OFD Sender: No OFD packet to send [22:35:18]OFD Sender: No OFD packet to send [22:35:23]OFD Sender: No OFD packet to send [22:35:28]OFD Sender: No OFD packet to send [22:35:33]OFD Sender: No OFD packet to send [22:35:38]OFD Sender: No OFD packet to send [22:35:43]OFD Sender: No OFD packet to send [22:35:48]OFD Sender: No OFD packet to send [22:35:53]OFD Sender: No OFD packet to send [22:35:58]OFD Sender: No OFD packet to send [22:36:03]OFD Sender: No OFD packet to send [22:36:08]OFD Sender: No OFD packet to send [22:36:13]OFD Sender: No OFD packet to send [22:36:18]OFD Sender: No OFD packet to send [22:36:23]OFD Sender: No OFD packet to send [22:36:28]OFD Sender: No OFD packet to send [22:36:30]accept exits with 7 [22:36:30]New connection [22:36:30]New thread 3066793316 created [22:36:30]Thread 3066936676 joined [22:36:30]Waiting for new connection... [22:36:30] Sock 7.Parse request [22:36:30]Sock 7.Check first char [22:36:30]Sock 7.First char is OK [22:36:30]request: POST /json_proto HTTP/1.0 [22:36:30]Method: POST [22:36:30]URL: /json_proto [22:36:30]Method is POST - this is cgi request [22:36:30]url: /json_proto [22:36:30]query_string will be loaded in cgi processing [22:36:30]execute_cgi json_proto POST (null) [22:36:30]execute_cgi path=json_proto method=POST [22:36:30]POST find Content-Length [22:36:30]Host: 172.17.35.196:8080 [22:36:30]Content-Length: 822 [22:36:30]Content-Type: application/json [22:36:30] [22:36:30]POST finish read [22:36:30]Found Content-Length = 822 [22:36:30]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169141", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 140.00, "quantity" : 2.000, "sum" : 280.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 280.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:36:30]execute_script... [22:36: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)169141", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 140.00, "quantity" : 2.000, "sum" : 280.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 280.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:36:30]POST & json_proto [22:36:30]process_json_proto [22:36:30]json parsed OK: [22:36:30]protocol is kg_v1.0 [22:36:30]action value=close_receipt [22:36:30]process_action close_receipt [22:36:30]cmd_close_receipt [22:36:30]MH_GetDate [22:36:30]Write to MH i2c: F0 00 00 5C 0F 5A [22:36:30]Write i2c OK [22:36:30]MH_I2C_Read... [22:36:30]Read from MH i2c: F0 [22:36:30]MH_I2C_Read... [22:36:30]Read from MH i2c: F0 09 00 [22:36:30]MH_I2C_Read... [22:36:30]Read from MH i2c: F0 09 00 5C 0F 00 71 5E 90 66 AD 14 F4 65 42 [22:36:30]GetLastDocTimeStamp 1720736792 [22:36:30]current date 1720737393 [22:36:30]FM_GetShiftState [22:36:30]SAM_PROTO_GetShiftState [22:36:30]wFMCommunicate request_size=4 [22:36:30]MH_SAM_APDU [22:36:30]CAPDU: 80 13 01 00 [22:36:30]Write to MH i2c: E2 08 00 5D 0F 80 13 01 00 00 00 00 00 E9 [22:36:30]Write i2c OK [22:36:30]MH_I2C_Read... [22:36:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:36:30]Read from MH i2c: E2 [22:36:30]MH_I2C_Read... [22:36:30]Read from MH i2c: E2 0E 00 [22:36:30]MH_I2C_Read... [22:36:30]Read from MH i2c: E2 0E 00 5D 0F 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 1A [22:36:30]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [22:36:30]wFMCommunicate OK [22:36:30]SAM_PROTO_GetShiftState done [22:36:30]FM_GetShiftState done [22:36:30]opened in 1720656398 [22:36:30]opened+sec_in_day 1720742798 [22:36:30]quantity*price = 28000 [22:36:30]sum+1 = 28001 [22:36:30]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 280.00 НСП 1% : 2.48 НДС 12% : 29.73 Наличными: 0.00 Безнал.: 280.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 75 11.07.2024 22:36 Смена: 432 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000875104 ФД: 33320 ФПД: 242389372787828 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T223633&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33320&fm=242389372787828&tin=02508201610067®Number=0000000000093033&sum=28000 0 [22:36:32]StoreToDocumentArchive [22:36:32]shift 432 fd 33320 [22:36:32]save to /storage/0432/doc_00033320 [22:36:32]save last doc name /storage/0432/doc_00033320 to /storage/kkm_last_doc_name [22:36:32]save OK [22:36:32]Clear old archive folders... [22:36:32]ProcessDocumentItem done err = 0, tmpTLVsize=273 [22:36:32]tlvbuf is B6F54CA0 [22:36:32]SAM_PROTO_ClearQueue [22:36:32]wFMCommunicate request_size=4 [22:36:32]MH_SAM_APDU [22:36:32]CAPDU: 80 09 00 00 [22:36:32]Write to MH i2c: E2 08 00 6A 0F 80 09 00 00 00 00 00 00 EB [22:36:32]Write i2c OK [22:36:32]MH_I2C_Read... [22:36:32]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:36:32]Read from MH i2c: E2 [22:36:32]MH_I2C_Read... [22:36:32]Read from MH i2c: E2 03 00 [22:36:32]MH_I2C_Read... [22:36:32]Read from MH i2c: E2 03 00 6A 0F 00 90 00 ED [22:36:32]RAPDU: 90 00 [22:36:32]wFMCommunicate OK [22:36:32]SAM_PROTO_ClearQueue done [22:36:32]KKMCreateOFDPacket [22:36:32]OFDProtocolAddRootSTLVToBuf [22:36:32]FM_MakeSignedData [22:36:32]FM_MakeSignedData [22:36:32]SAM_PROTO_SignData [22:36:32]wFMCommunicate request_size=4 [22:36:32]MH_SAM_APDU [22:36:32]CAPDU: 80 0D 01 02 [22:36:32]Write to MH i2c: E2 08 00 6B 0F 80 0D 01 02 00 00 00 00 F3 [22:36:32]Write i2c OK [22:36:32]MH_I2C_Read... [22:36:32]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:36:32]Read from MH i2c: E2 [22:36:32]MH_I2C_Read... [22:36:32]Read from MH i2c: E2 03 00 [22:36:32]MH_I2C_Read... [22:36:32]Read from MH i2c: E2 03 00 6B 0F 00 90 00 EE [22:36:32]RAPDU: 90 00 [22:36:32]wFMCommunicate OK [22:36:32]wFMCommunicate request_size=255 [22:36:32]MH_SAM_APDU [22:36:32]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 60 6D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 6D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9D 0B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 60 6D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4B 00 00 00 F4 03 04 00 71 5E 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 [22:36:32]Write to MH i2c: E2 02 01 6C 0F 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 60 6D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 6D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9D 0B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 60 6D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4B 00 00 00 F4 03 04 00 71 5E 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 00 00 93 [22:36:32]Write i2c OK [22:36:32]MH_I2C_Read... [22:36:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:36:32]Read from MH i2c: E2 [22:36:32]MH_I2C_Read... [22:36:32]Read from MH i2c: E2 03 00 [22:36:32]MH_I2C_Read... [22:36:32]Read from MH i2c: E2 03 00 6C 0F 00 90 00 EF [22:36:32]RAPDU: 90 00 [22:36:32]wFMCommunicate OK [22:36:32]wFMCommunicate request_size=32 [22:36:32]MH_SAM_APDU [22:36:32]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 35 31 30 34 10 04 04 00 28 82 00 00 35 04 06 00 DC 73 AC 76 5C 74 [22:36:32]Write to MH i2c: E2 23 00 6D 0F 80 0D 02 02 1B 00 30 30 30 38 37 35 31 30 34 10 04 04 00 28 82 00 00 35 04 06 00 DC 73 AC 76 5C 74 00 00 37 [22:36:32]Write i2c OK [22:36:32]MH_I2C_Read... [22:36:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:36:32]Read from MH i2c: E2 [22:36:32]MH_I2C_Read... [22:36:32]Read from MH i2c: E2 03 00 [22:36:32]MH_I2C_Read... [22:36:32]Read from MH i2c: E2 03 00 6D 0F 00 90 00 F0 [22:36:32]RAPDU: 90 00 [22:36:32]wFMCommunicate OK [22:36:32]wFMCommunicate request_size=4 [22:36:32]MH_SAM_APDU [22:36:32]CAPDU: 80 0D 03 02 [22:36:32]Write to MH i2c: E2 08 00 6E 0F 80 0D 03 02 00 00 00 00 F8 [22:36:32]Write i2c OK [22:36:32]MH_I2C_Read... [22:36:32]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:36:32]Read from MH i2c: E2 [22:36:32]MH_I2C_Read... [22:36:32]Read from MH i2c: E2 0B 00 [22:36:32]MH_I2C_Read... [22:36:32]Read from MH i2c: E2 0B 00 6E 0F 00 1F F6 F7 D9 4C DB 18 84 90 00 A1 [22:36:32]RAPDU: 1F F6 F7 D9 4C DB 18 84 90 00 [22:36:32]wFMCommunicate OK [22:36:32]SAM_PROTO_SignData done [22:36:32]FM_MakeSignedData done [22:36:32]CreateOFDProtocolMessage [22:36:32]wFMCommunicate request_size=4 [22:36:32]MH_SAM_APDU [22:36:32]CAPDU: 80 11 00 00 [22:36:32]Write to MH i2c: E2 08 00 6F 0F 80 11 00 00 00 00 00 00 F8 [22:36:32]Write i2c OK [22:36:32]MH_I2C_Read... [22:36:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:36:32]Read from MH i2c: E2 [22:36:32]MH_I2C_Read... [22:36:32]Read from MH i2c: E2 17 00 [22:36:32]MH_I2C_Read... [22:36:32]Read from MH i2c: E2 17 00 6F 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 44 [22:36:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [22:36:32]wFMCommunicate OK [22:36:32]CreateOFDProtocolMessage done [22:36:32]OFDSenderStorePacket 33320 [22:36:32]StoreOFDPacket docnum=33320 [22:36:32]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 25 01 00 00 8E 13 1D 01 10 90 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 60 6D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 6D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9D 0B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 60 6D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4B 00 00 00 F4 03 04 00 71 5E 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 28 82 00 00 35 04 06 00 DC 73 AC 76 5C 74 1F F6 F7 D9 4C DB 18 84 [22:36:32]CheckFolder [22:36:32]dirname=/storage/ofd_packets [22:36:32]CheckFolder done [22:36:32]ProducePacketName [22:36:32]name=ofd_packets/00033320 [22:36:32]NVStorageSaveData ofd_packets/00033320 [22:36:32]File name is /storage/ofd_packets/00033320 [22:36:32]Write 323 bytes [22:36:32]NVStorageSaveData done [22:36:32]OFDSenderStorePacket done [22:36:32]KKMCreateOFDPacket done [22:36:32]NVStorageSaveData kkm_last_timestamp [22:36:32]File name is /storage/kkm_last_timestamp [22:36:32]Write 4 bytes [22:36:32]NVStorageSaveData done [22:36:32]ExternCall_PrintAddStr [22:36:32]wPrintStart [22:36:32]Write to MH i2c: 01 00 00 70 0F 7F [22:36:32]Write i2c OK [22:36:32]MH_I2C_Read... [22:36:32]Read from MH i2c: 01 [22:36:32]MH_I2C_Read... [22:36:32]Read from MH i2c: 01 07 00 [22:36:32]MH_I2C_Read... [22:36:32]Read from MH i2c: 01 07 00 70 0F 00 00 00 00 00 FF 0F 94 [22:36:32]RasterBufferAndPrint [22:36:32]line Счет N : (3)169141 [22:36:32]line ИНН: 02508201610067 [22:36:32]line Контрольно-Кассовый Чек [22:36:32]line ПРОДАЖА [22:36:32]line Товар: 48743570 [22:36:32]line Сигареты Winston XStyle Blue [22:36:32]line 2.000 * 140.00 [22:36:32]line = 280.00 [22:36:32]line НДС 12% НСП 1% [22:36:32]line > о реализуемом товаре [22:36:32]line ИТОГО: 280.00 [22:36:32]line НСП 1% : 2.48 [22:36:32]line НДС 12% : 29.73 [22:36:32]line Наличными: 0.00 [22:36:32]line Безнал.: 280.00 [22:36:32]line Место: АЗС № 77 "Партнер Нефть" [22:36:32]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [22:36:32]line СНО: Общий режим [22:36:32]line Чек 75 11.07.2024 22:36 [22:36:32]line Смена: 432 ФФД: 1.0 [22:36:32]line ЗНМ: 0300000122 [22:36:32]line РНМ: 0000000000093033 [22:36:32]line Версия ККМ: 001 [22:36:32]line Платежная система: АКБ Кыргызстан [22:36:32]line ФМ: 0000000000875104 [22:36:32]line ФД: 33320 [22:36:32]line ФПД: 242389372787828 [22:36:32]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240711T223633&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33320&fm=242389372787828&tin=02508201610067®Number=0000000000093033&sum=28000 [22:36:32]line 0 [22:36:32]OFD Sender: Processing packet 33320 [packets to send 6, broken 5] [22:36:32]ProducePacketName [22:36:32]name=ofd_packets/00033320 [22:36:32]OFD Sender: To server: pG, [22:36:32]CommunicateWithHost lk.salyk.kg:30040 [22:36:32]ConnectInit lk.salyk.kg [22:36:32]written 0, free lines is 4095 [22:36:33]Connected sock=10 [22:36:33]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 25 01 00 00 8E 13 1D 01 10 90 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 60 6D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 6D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9D 0B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 60 6D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4B 00 00 00 F4 03 04 00 71 5E 90 66 0E 04 04 00 B0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 28 82 00 00 35 04 06 00 DC 73 AC 76 5C 74 1F F6 F7 D9 4C DB 18 84 [22:36:33]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 DE 82 47 00 57 03 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 28 82 00 00 F4 03 04 00 20 09 90 66 B6 04 01 00 00 BA 37 5B 3D BB 7C 17 76 [22:36:33]CommunicateWithHost err = 0 [22:36:33]CheckOFDResponse [22:36:33]1017 (14) - 77093643461234 [22:36:33]1041 (16) - 0000000000875104 [22:36:33]1040 (4) - 33320 [22:36:33]1012 (4) - 11.07.2024 16:32 [22:36:33]1206 (1) - 0 [22:36:33]OFD Sender: Remove packet 33320 [22:36:33]ProducePacketName [22:36:33]name=ofd_packets/00033320 [22:36:33]NVStorageDeleteData [22:36:33]Write to MH i2c: 01 00 00 9A 0F A9 [22:36:33]Write i2c OK [22:36:33]MH_I2C_Read... [22:36:33]Read from MH i2c: 01 [22:36:33]MH_I2C_Read... [22:36:33]Read from MH i2c: 01 07 00 [22:36:33]MH_I2C_Read... [22:36:33]Read from MH i2c: 01 07 00 9A 0F 00 00 00 00 00 E4 0C A0 [22:36:33]RasterBufferAndPrint [22:36:33]line [22:36:33]line [22:36:33]line [22:36:33]line [22:36:33]line [22:36:33]written 0, free lines is 3306 [22:36:33]MH_Cut [22:36:33]Write to MH i2c: D1 01 00 A1 0F 01 82 [22:36:33]Write i2c OK [22:36:33]MH_I2C_Read... [22:36:33]Read from MH i2c: D1 [22:36:33]MH_I2C_Read... [22:36:33]Read from MH i2c: D1 01 00 [22:36:33]MH_I2C_Read... [22:36:33]Read from MH i2c: D1 01 00 A1 0F 00 81 [22:36:33]Write to MH i2c: 01 00 00 A2 0F B1 [22:36:33]Write i2c OK [22:36:33]MH_I2C_Read... [22:36:33]OFD Sender: No OFD packet to send [22:36:34]*** Cut start [22:36:34]*** Partial cut [22:36:34]*** CUTSNS_PIN = 1 [22:36:34]*** CUTSNS_PIN = 0 [22:36:34]*** Brake cut motor [22:36:34]Read from MH i2c: 01 [22:36:34]MH_I2C_Read... [22:36:34]*** Stop cut motor [22:36:34]*** Cut end [22:36:34]Read from MH i2c: 01 07 00 [22:36:34]MH_I2C_Read... [22:36:34]Read from MH i2c: 01 07 00 A2 0F 00 00 00 00 00 FF 0F C6 [22:36:34]process_action close_receipt done [22:36:34]requested_data is exist [22:36:34]produce_requested_data [22:36:34]requested_item fm.sn is exist - process it [22:36:34]wFMCommunicate request_size=4 [22:36:34]MH_SAM_APDU [22:36:34]CAPDU: 80 11 00 00 [22:36:34]Write to MH i2c: E2 08 00 A3 0F 80 11 00 00 00 00 00 00 2C [22:36:34]Write i2c OK [22:36:34]MH_I2C_Read... [22:36:34]Read from MH i2c: E2 [22:36:34]MH_I2C_Read... [22:36:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:36:34]Read from MH i2c: E2 17 00 [22:36:34]MH_I2C_Read... [22:36:34]Read from MH i2c: E2 17 00 A3 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 78 [22:36:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [22:36:34]wFMCommunicate OK [22:36:34]requested_item fd.num is exist - process it [22:36:34]SAM_PROTO_GetFieldsCounters [22:36:34]wFMCommunicate request_size=4 [22:36:34]MH_SAM_APDU [22:36:34]CAPDU: 80 13 00 00 [22:36:34]Write to MH i2c: E2 08 00 A4 0F 80 13 00 00 00 00 00 00 2F [22:36:34]Write i2c OK [22:36:34]MH_I2C_Read... [22:36:34]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:36:34]Read from MH i2c: E2 [22:36:34]MH_I2C_Read... [22:36:34]Read from MH i2c: E2 62 00 [22:36:34]MH_I2C_Read... [22:36:34]Read from MH i2c: E2 62 00 A4 0F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 28 82 00 00 0E 04 04 00 B0 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 7E [22:36: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 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 28 82 00 00 0E 04 04 00 B0 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:34]wFMCommunicate OK [22:36:34]SAM_PROTO_GetFieldsCounters done [22:36:34]requested_item shift.num is exist - process it [22:36:34]requested_item shift.opened is exist - process it [22:36:34]req_shift_opened [22:36:34]FM_GetShiftState [22:36:34]SAM_PROTO_GetShiftState [22:36:34]wFMCommunicate request_size=4 [22:36:34]MH_SAM_APDU [22:36:34]CAPDU: 80 13 01 00 [22:36:34]Write to MH i2c: E2 08 00 A5 0F 80 13 01 00 00 00 00 00 31 [22:36:34]Write i2c OK [22:36:34]MH_I2C_Read... [22:36:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:36:35]Read from MH i2c: E2 [22:36:35]MH_I2C_Read... [22:36:35]Read from MH i2c: E2 0E 00 [22:36:35]MH_I2C_Read... [22:36:35]Read from MH i2c: E2 0E 00 A5 0F 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 62 [22:36:35]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [22:36:35]wFMCommunicate OK [22:36:35]SAM_PROTO_GetShiftState done [22:36:35]FM_GetShiftState done [22:36:35]req_shift_opened done [22:36:35]requested_item shift.open_date is exist - process it [22:36:35]req_shift_open_date [22:36:35]req_shift_open_date done [22:36:35]produce_requested_data done [22:36:35]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33320,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398} [22:36:35]process_action_free close_receipt [22:36:35]json_value_free [22:36:35]json_value_free done [22:36:35]process_json_proto returns [22:36:35]Send response to host [22:36:35]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33320,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398}}} [22:36:35]free response buf [22:36:35]execute_script done [22:36:35]execute_script returns [22:36:35]free content buf [22:36:35]Sock 7.Close socket [22:36:35]Sock 7.Thread stoped [22:36:38]OFD Sender: No OFD packet to send [22:36:43]OFD Sender: No OFD packet to send [22:36:48]OFD Sender: No OFD packet to send [22:36:53]OFD Sender: No OFD packet to send [22:36:58]OFD Sender: No OFD packet to send [22:37:03]OFD Sender: No OFD packet to send [22:37:08]OFD Sender: No OFD packet to send [22:37:13]OFD Sender: No OFD packet to send [22:37:18]OFD Sender: No OFD packet to send [22:37:23]OFD Sender: No OFD packet to send [22:37:28]OFD Sender: No OFD packet to send [22:37:33]OFD Sender: No OFD packet to send [22:37:38]OFD Sender: No OFD packet to send [22:37:43]OFD Sender: No OFD packet to send [22:37:48]OFD Sender: No OFD packet to send [22:37:53]OFD Sender: No OFD packet to send [22:37:58]OFD Sender: No OFD packet to send [22:38:03]OFD Sender: No OFD packet to send [22:38:08]OFD Sender: No OFD packet to send [22:38:13]OFD Sender: No OFD packet to send [22:38:18]OFD Sender: No OFD packet to send [22:38:23]OFD Sender: No OFD packet to send [22:38:28]OFD Sender: No OFD packet to send [22:38:33]OFD Sender: No OFD packet to send [22:38:38]OFD Sender: No OFD packet to send [22:38:43]OFD Sender: No OFD packet to send [22:38:48]OFD Sender: No OFD packet to send [22:38:53]OFD Sender: No OFD packet to send [22:38:58]OFD Sender: No OFD packet to send [22:39:03]OFD Sender: No OFD packet to send [22:39:08]OFD Sender: No OFD packet to send [22:39:13]OFD Sender: No OFD packet to send [22:39:18]OFD Sender: No OFD packet to send [22:39:23]OFD Sender: No OFD packet to send [22:39:28]OFD Sender: No OFD packet to send [22:39:33]OFD Sender: No OFD packet to send [22:39:38]OFD Sender: No OFD packet to send [22:39:43]OFD Sender: No OFD packet to send [22:39:48]OFD Sender: No OFD packet to send [22:39:53]OFD Sender: No OFD packet to send [22:39:58]OFD Sender: No OFD packet to send [22:40:03]OFD Sender: No OFD packet to send [22:40:08]OFD Sender: No OFD packet to send [22:40:13]OFD Sender: No OFD packet to send [22:40:18]OFD Sender: No OFD packet to send [22:40:23]OFD Sender: No OFD packet to send [22:40:28]OFD Sender: No OFD packet to send [22:40:34]OFD Sender: No OFD packet to send [22:40:39]OFD Sender: No OFD packet to send [22:40:44]OFD Sender: No OFD packet to send [22:40:49]OFD Sender: No OFD packet to send [22:40:54]OFD Sender: No OFD packet to send [22:40:59]OFD Sender: No OFD packet to send [22:41:04]OFD Sender: No OFD packet to send [22:41:09]OFD Sender: No OFD packet to send [22:41:14]OFD Sender: No OFD packet to send [22:41:19]OFD Sender: No OFD packet to send [22:41:24]OFD Sender: No OFD packet to send [22:41:29]OFD Sender: No OFD packet to send [22:41:34]OFD Sender: No OFD packet to send [22:41:39]OFD Sender: No OFD packet to send [22:41:44]OFD Sender: No OFD packet to send [22:41:49]OFD Sender: No OFD packet to send [22:41:54]OFD Sender: No OFD packet to send [22:41:59]OFD Sender: No OFD packet to send [22:42:04]OFD Sender: No OFD packet to send [22:42:09]OFD Sender: No OFD packet to send [22:42:14]OFD Sender: No OFD packet to send [22:42:19]OFD Sender: No OFD packet to send [22:42:24]OFD Sender: No OFD packet to send [22:42:29]OFD Sender: No OFD packet to send [22:42:34]OFD Sender: No OFD packet to send [22:42:39]OFD Sender: No OFD packet to send [22:42:44]OFD Sender: No OFD packet to send [22:42:49]OFD Sender: No OFD packet to send [22:42:54]OFD Sender: No OFD packet to send [22:42:59]OFD Sender: No OFD packet to send [22:43:04]OFD Sender: No OFD packet to send [22:43:09]OFD Sender: No OFD packet to send [22:43:14]OFD Sender: No OFD packet to send [22:43:19]OFD Sender: No OFD packet to send [22:43:24]OFD Sender: No OFD packet to send [22:43:29]OFD Sender: No OFD packet to send [22:43:34]OFD Sender: No OFD packet to send [22:43:39]OFD Sender: No OFD packet to send [22:43:44]OFD Sender: No OFD packet to send [22:43:49]OFD Sender: No OFD packet to send [22:43:54]OFD Sender: No OFD packet to send [22:43:59]OFD Sender: No OFD packet to send [22:44:04]OFD Sender: No OFD packet to send [22:44:09]OFD Sender: No OFD packet to send [22:44:14]OFD Sender: No OFD packet to send [22:44:19]OFD Sender: No OFD packet to send [22:44:24]OFD Sender: No OFD packet to send [22:44:29]OFD Sender: No OFD packet to send [22:44:34]OFD Sender: No OFD packet to send [22:44:39]OFD Sender: No OFD packet to send [22:44:44]OFD Sender: No OFD packet to send [22:44:49]OFD Sender: No OFD packet to send [22:44:54]OFD Sender: No OFD packet to send [22:44:59]OFD Sender: No OFD packet to send [22:45:04]OFD Sender: No OFD packet to send [22:45:09]OFD Sender: No OFD packet to send [22:45:14]OFD Sender: No OFD packet to send [22:45:19]OFD Sender: No OFD packet to send [22:45:24]OFD Sender: No OFD packet to send [22:45:29]OFD Sender: No OFD packet to send [22:45:34]OFD Sender: No OFD packet to send [22:45:39]OFD Sender: No OFD packet to send [22:45:44]OFD Sender: No OFD packet to send [22:45:49]OFD Sender: No OFD packet to send [22:45:54]OFD Sender: No OFD packet to send [22:45:59]OFD Sender: No OFD packet to send [22:46:04]OFD Sender: No OFD packet to send [22:46:09]OFD Sender: No OFD packet to send [22:46:14]OFD Sender: No OFD packet to send [22:46:19]OFD Sender: No OFD packet to send [22:46:24]OFD Sender: No OFD packet to send [22:46:29]OFD Sender: No OFD packet to send [22:46:34]OFD Sender: No OFD packet to send [22:46:39]OFD Sender: No OFD packet to send [22:46:44]OFD Sender: No OFD packet to send [22:46:49]OFD Sender: No OFD packet to send [22:46:54]OFD Sender: No OFD packet to send [22:46:59]OFD Sender: No OFD packet to send [22:47:04]OFD Sender: No OFD packet to send [22:47:09]OFD Sender: No OFD packet to send [22:47:14]OFD Sender: No OFD packet to send [22:47:19]OFD Sender: No OFD packet to send [22:47:24]OFD Sender: No OFD packet to send [22:47:29]OFD Sender: No OFD packet to send [22:47:34]OFD Sender: No OFD packet to send [22:47:39]OFD Sender: No OFD packet to send [22:47:44]OFD Sender: No OFD packet to send [22:47:49]OFD Sender: No OFD packet to send [22:47:54]OFD Sender: No OFD packet to send [22:47:59]OFD Sender: No OFD packet to send [22:48:04]OFD Sender: No OFD packet to send [22:48:09]OFD Sender: No OFD packet to send [22:48:14]OFD Sender: No OFD packet to send [22:48:19]OFD Sender: No OFD packet to send [22:48:24]OFD Sender: No OFD packet to send [22:48:29]OFD Sender: No OFD packet to send [22:48:34]OFD Sender: No OFD packet to send [22:48:39]OFD Sender: No OFD packet to send [22:48:44]OFD Sender: No OFD packet to send [22:48:49]OFD Sender: No OFD packet to send [22:48:54]OFD Sender: No OFD packet to send [22:48:59]OFD Sender: No OFD packet to send [22:49:04]OFD Sender: No OFD packet to send [22:49:09]OFD Sender: No OFD packet to send [22:49:14]OFD Sender: No OFD packet to send [22:49:19]OFD Sender: No OFD packet to send [22:49:24]OFD Sender: No OFD packet to send [22:49:29]OFD Sender: No OFD packet to send [22:49:34]OFD Sender: No OFD packet to send [22:49:39]OFD Sender: No OFD packet to send [22:49:44]OFD Sender: No OFD packet to send [22:49:49]OFD Sender: No OFD packet to send [22:49:54]OFD Sender: No OFD packet to send [22:49:59]OFD Sender: No OFD packet to send [22:50:04]OFD Sender: No OFD packet to send [22:50:09]OFD Sender: No OFD packet to send [22:50:14]OFD Sender: No OFD packet to send [22:50:19]OFD Sender: No OFD packet to send [22:50:24]OFD Sender: No OFD packet to send [22:50:29]OFD Sender: No OFD packet to send [22:50:34]OFD Sender: No OFD packet to send [22:50:39]OFD Sender: No OFD packet to send [22:50:44]OFD Sender: No OFD packet to send [22:50:49]OFD Sender: No OFD packet to send [22:50:54]OFD Sender: No OFD packet to send [22:50:59]OFD Sender: No OFD packet to send [22:51:04]OFD Sender: No OFD packet to send [22:51:09]OFD Sender: No OFD packet to send [22:51:14]OFD Sender: No OFD packet to send [22:51:19]OFD Sender: No OFD packet to send [22:51:24]OFD Sender: No OFD packet to send [22:51:29]OFD Sender: No OFD packet to send [22:51:34]OFD Sender: No OFD packet to send [22:51:39]OFD Sender: No OFD packet to send [22:51:44]OFD Sender: No OFD packet to send [22:51:49]OFD Sender: No OFD packet to send [22:51:54]OFD Sender: No OFD packet to send [22:51:59]OFD Sender: No OFD packet to send [22:52:04]OFD Sender: No OFD packet to send [22:52:09]OFD Sender: No OFD packet to send [22:52:14]OFD Sender: No OFD packet to send [22:52:19]OFD Sender: No OFD packet to send [22:52:24]OFD Sender: No OFD packet to send [22:52:29]OFD Sender: No OFD packet to send [22:52:34]OFD Sender: No OFD packet to send [22:52:39]OFD Sender: No OFD packet to send [22:52:44]OFD Sender: No OFD packet to send [22:52:49]OFD Sender: No OFD packet to send [22:52:54]OFD Sender: No OFD packet to send [22:52:59]OFD Sender: No OFD packet to send [22:53:04]OFD Sender: No OFD packet to send [22:53:09]OFD Sender: No OFD packet to send [22:53:14]OFD Sender: No OFD packet to send [22:53:19]OFD Sender: No OFD packet to send [22:53:24]OFD Sender: No OFD packet to send [22:53:29]OFD Sender: No OFD packet to send [22:53:34]OFD Sender: No OFD packet to send [22:53:39]OFD Sender: No OFD packet to send [22:53:44]OFD Sender: No OFD packet to send [22:53:49]OFD Sender: No OFD packet to send [22:53:54]OFD Sender: No OFD packet to send [22:53:59]OFD Sender: No OFD packet to send [22:54:04]OFD Sender: No OFD packet to send [22:54:09]OFD Sender: No OFD packet to send [22:54:14]OFD Sender: No OFD packet to send [22:54:19]OFD Sender: No OFD packet to send [22:54:24]OFD Sender: No OFD packet to send [22:54:29]OFD Sender: No OFD packet to send [22:54:34]OFD Sender: No OFD packet to send [22:54:39]OFD Sender: No OFD packet to send [22:54:44]OFD Sender: No OFD packet to send [22:54:49]OFD Sender: No OFD packet to send [22:54:54]OFD Sender: No OFD packet to send [22:54:59]OFD Sender: No OFD packet to send [22:55:04]OFD Sender: No OFD packet to send [22:55:09]OFD Sender: No OFD packet to send [22:55:14]OFD Sender: No OFD packet to send [22:55:19]OFD Sender: No OFD packet to send [22:55:24]OFD Sender: No OFD packet to send [22:55:29]OFD Sender: No OFD packet to send [22:55:34]OFD Sender: No OFD packet to send [22:55:39]OFD Sender: No OFD packet to send [22:55:44]OFD Sender: No OFD packet to send [22:55:49]OFD Sender: No OFD packet to send [22:55:54]OFD Sender: No OFD packet to send [22:55:59]OFD Sender: No OFD packet to send [22:56:04]OFD Sender: No OFD packet to send [22:56:09]OFD Sender: No OFD packet to send [22:56:14]OFD Sender: No OFD packet to send [22:56:19]OFD Sender: No OFD packet to send [22:56:24]OFD Sender: No OFD packet to send [22:56:29]OFD Sender: No OFD packet to send [22:56:34]OFD Sender: No OFD packet to send [22:56:39]OFD Sender: No OFD packet to send [22:56:44]OFD Sender: No OFD packet to send [22:56:49]OFD Sender: No OFD packet to send [22:56:54]OFD Sender: No OFD packet to send [22:56:59]OFD Sender: No OFD packet to send [22:57:04]OFD Sender: No OFD packet to send [22:57:09]OFD Sender: No OFD packet to send [22:57:14]OFD Sender: No OFD packet to send [22:57:19]OFD Sender: No OFD packet to send [22:57:24]OFD Sender: No OFD packet to send [22:57:29]OFD Sender: No OFD packet to send [22:57:34]OFD Sender: No OFD packet to send [22:57:39]OFD Sender: No OFD packet to send [22:57:44]OFD Sender: No OFD packet to send [22:57:49]OFD Sender: No OFD packet to send [22:57:54]OFD Sender: No OFD packet to send [22:57:59]OFD Sender: No OFD packet to send [22:58:04]OFD Sender: No OFD packet to send [22:58:09]OFD Sender: No OFD packet to send [22:58:14]OFD Sender: No OFD packet to send [22:58:19]OFD Sender: No OFD packet to send [22:58:24]OFD Sender: No OFD packet to send [22:58:29]OFD Sender: No OFD packet to send [22:58:34]OFD Sender: No OFD packet to send [22:58:39]OFD Sender: No OFD packet to send [22:58:44]OFD Sender: No OFD packet to send [22:58:49]OFD Sender: No OFD packet to send [22:58:54]OFD Sender: No OFD packet to send [22:58:59]OFD Sender: No OFD packet to send [22:59:04]OFD Sender: No OFD packet to send [22:59:09]OFD Sender: No OFD packet to send [22:59:14]OFD Sender: No OFD packet to send [22:59:19]OFD Sender: No OFD packet to send [22:59:24]OFD Sender: No OFD packet to send [22:59:29]OFD Sender: No OFD packet to send [22:59:34]OFD Sender: No OFD packet to send [22:59:39]OFD Sender: No OFD packet to send [22:59:44]OFD Sender: No OFD packet to send [22:59:49]OFD Sender: No OFD packet to send [22:59:54]OFD Sender: No OFD packet to send [22:59:59]OFD Sender: No OFD packet to send [23:00:04]OFD Sender: No OFD packet to send [23:00:09]OFD Sender: No OFD packet to send [23:00:14]OFD Sender: No OFD packet to send [23:00:19]OFD Sender: No OFD packet to send [23:00:24]OFD Sender: No OFD packet to send [23:00:29]OFD Sender: No OFD packet to send [23:00:34]OFD Sender: No OFD packet to send [23:00:39]OFD Sender: No OFD packet to send [23:00:44]OFD Sender: No OFD packet to send [23:00:49]OFD Sender: No OFD packet to send [23:00:54]OFD Sender: No OFD packet to send [23:00:59]OFD Sender: No OFD packet to send [23:01:04]OFD Sender: No OFD packet to send [23:01:09]OFD Sender: No OFD packet to send [23:01:14]OFD Sender: No OFD packet to send [23:01:19]OFD Sender: No OFD packet to send [23:01:24]OFD Sender: No OFD packet to send [23:01:29]OFD Sender: No OFD packet to send [23:01:34]OFD Sender: No OFD packet to send [23:01:39]OFD Sender: No OFD packet to send [23:01:44]OFD Sender: No OFD packet to send [23:01:49]OFD Sender: No OFD packet to send [23:01:54]OFD Sender: No OFD packet to send [23:01:59]OFD Sender: No OFD packet to send [23:02:05]OFD Sender: No OFD packet to send [23:02:10]OFD Sender: No OFD packet to send [23:02:15]OFD Sender: No OFD packet to send [23:02:20]OFD Sender: No OFD packet to send [23:02:25]OFD Sender: No OFD packet to send [23:02:30]OFD Sender: No OFD packet to send [23:02:35]OFD Sender: No OFD packet to send [23:02:40]OFD Sender: No OFD packet to send [23:02:45]OFD Sender: No OFD packet to send [23:02:50]OFD Sender: No OFD packet to send [23:02:55]OFD Sender: No OFD packet to send [23:03:00]OFD Sender: No OFD packet to send [23:03:05]OFD Sender: No OFD packet to send [23:03:10]OFD Sender: No OFD packet to send [23:03:15]OFD Sender: No OFD packet to send [23:03:20]OFD Sender: No OFD packet to send [23:03:25]OFD Sender: No OFD packet to send [23:03:30]OFD Sender: No OFD packet to send [23:03:35]OFD Sender: No OFD packet to send [23:03:40]OFD Sender: No OFD packet to send [23:03:45]OFD Sender: No OFD packet to send [23:03:50]OFD Sender: No OFD packet to send [23:03:55]OFD Sender: No OFD packet to send [23:04:00]OFD Sender: No OFD packet to send [23:04:05]OFD Sender: No OFD packet to send [23:04:10]OFD Sender: No OFD packet to send [23:04:15]OFD Sender: No OFD packet to send [23:04:20]OFD Sender: No OFD packet to send [23:04:25]OFD Sender: No OFD packet to send [23:04:30]OFD Sender: No OFD packet to send [23:04:35]OFD Sender: No OFD packet to send [23:04:40]OFD Sender: No OFD packet to send [23:04:45]OFD Sender: No OFD packet to send [23:04:50]OFD Sender: No OFD packet to send [23:04:55]OFD Sender: No OFD packet to send [23:05:00]OFD Sender: No OFD packet to send [23:05:05]OFD Sender: No OFD packet to send [23:05:10]OFD Sender: No OFD packet to send [23:05:15]OFD Sender: No OFD packet to send [23:05:20]OFD Sender: No OFD packet to send [23:05:25]OFD Sender: No OFD packet to send [23:05:30]OFD Sender: No OFD packet to send [23:05:35]OFD Sender: No OFD packet to send [23:05:40]OFD Sender: No OFD packet to send [23:05:45]OFD Sender: No OFD packet to send [23:05:50]OFD Sender: No OFD packet to send [23:05:55]OFD Sender: No OFD packet to send [23:06:00]OFD Sender: No OFD packet to send [23:06:05]OFD Sender: No OFD packet to send [23:06:10]OFD Sender: No OFD packet to send [23:06:15]OFD Sender: No OFD packet to send [23:06:20]OFD Sender: No OFD packet to send [23:06:25]OFD Sender: No OFD packet to send [23:06:30]OFD Sender: No OFD packet to send [23:06:35]OFD Sender: No OFD packet to send [23:06:40]OFD Sender: No OFD packet to send [23:06:45]OFD Sender: No OFD packet to send [23:06:50]OFD Sender: No OFD packet to send [23:06:55]OFD Sender: No OFD packet to send [23:07:00]OFD Sender: No OFD packet to send [23:07:05]OFD Sender: No OFD packet to send [23:07:10]OFD Sender: No OFD packet to send [23:07:15]OFD Sender: No OFD packet to send [23:07:20]OFD Sender: No OFD packet to send [23:07:25]OFD Sender: No OFD packet to send [23:07:30]OFD Sender: No OFD packet to send [23:07:35]OFD Sender: No OFD packet to send [23:07:40]OFD Sender: No OFD packet to send [23:07:45]OFD Sender: No OFD packet to send [23:07:50]OFD Sender: No OFD packet to send [23:07:55]OFD Sender: No OFD packet to send [23:08:00]OFD Sender: No OFD packet to send [23:08:05]OFD Sender: No OFD packet to send [23:08:10]OFD Sender: No OFD packet to send [23:08:15]OFD Sender: No OFD packet to send [23:08:20]OFD Sender: No OFD packet to send [23:08:25]OFD Sender: No OFD packet to send [23:08:30]OFD Sender: No OFD packet to send [23:08:35]OFD Sender: No OFD packet to send [23:08:40]OFD Sender: No OFD packet to send [23:08:45]OFD Sender: No OFD packet to send [23:08:50]OFD Sender: No OFD packet to send [23:08:55]OFD Sender: No OFD packet to send [23:09:00]OFD Sender: No OFD packet to send [23:09:05]OFD Sender: No OFD packet to send [23:09:10]OFD Sender: No OFD packet to send [23:09:15]OFD Sender: No OFD packet to send [23:09:20]OFD Sender: No OFD packet to send [23:09:25]OFD Sender: No OFD packet to send [23:09:30]OFD Sender: No OFD packet to send [23:09:35]OFD Sender: No OFD packet to send [23:09:40]OFD Sender: No OFD packet to send [23:09:45]OFD Sender: No OFD packet to send [23:09:50]OFD Sender: No OFD packet to send [23:09:55]OFD Sender: No OFD packet to send [23:10:00]OFD Sender: No OFD packet to send [23:10:05]OFD Sender: No OFD packet to send [23:10:10]OFD Sender: No OFD packet to send [23:10:15]OFD Sender: No OFD packet to send [23:10:20]OFD Sender: No OFD packet to send [23:10:25]OFD Sender: No OFD packet to send [23:10:30]OFD Sender: No OFD packet to send [23:10:35]OFD Sender: No OFD packet to send [23:10:40]OFD Sender: No OFD packet to send [23:10:45]OFD Sender: No OFD packet to send [23:10:50]OFD Sender: No OFD packet to send [23:10:55]OFD Sender: No OFD packet to send [23:11:00]OFD Sender: No OFD packet to send [23:11:05]OFD Sender: No OFD packet to send [23:11:10]OFD Sender: No OFD packet to send [23:11:15]OFD Sender: No OFD packet to send [23:11:20]OFD Sender: No OFD packet to send [23:11:25]OFD Sender: No OFD packet to send [23:11:30]OFD Sender: No OFD packet to send [23:11:35]OFD Sender: No OFD packet to send [23:11:40]OFD Sender: No OFD packet to send [23:11:45]OFD Sender: No OFD packet to send [23:11:50]OFD Sender: No OFD packet to send [23:11:55]OFD Sender: No OFD packet to send [23:12:00]OFD Sender: No OFD packet to send [23:12:05]OFD Sender: No OFD packet to send [23:12:10]OFD Sender: No OFD packet to send [23:12:15]OFD Sender: No OFD packet to send [23:12:20]OFD Sender: No OFD packet to send [23:12:25]OFD Sender: No OFD packet to send [23:12:30]OFD Sender: No OFD packet to send [23:12:35]OFD Sender: No OFD packet to send [23:12:40]OFD Sender: No OFD packet to send [23:12:45]OFD Sender: No OFD packet to send [23:12:50]OFD Sender: No OFD packet to send [23:12:55]OFD Sender: No OFD packet to send [23:13:00]OFD Sender: No OFD packet to send [23:13:05]OFD Sender: No OFD packet to send [23:13:10]OFD Sender: No OFD packet to send [23:13:15]OFD Sender: No OFD packet to send [23:13:20]OFD Sender: No OFD packet to send [23:13:25]OFD Sender: No OFD packet to send [23:13:30]OFD Sender: No OFD packet to send [23:13:35]OFD Sender: No OFD packet to send [23:13:40]OFD Sender: No OFD packet to send [23:13:45]OFD Sender: No OFD packet to send [23:13:50]OFD Sender: No OFD packet to send [23:13:55]OFD Sender: No OFD packet to send [23:14:00]OFD Sender: No OFD packet to send [23:14:05]OFD Sender: No OFD packet to send [23:14:10]OFD Sender: No OFD packet to send [23:14:15]OFD Sender: No OFD packet to send [23:14:20]OFD Sender: No OFD packet to send [23:14:25]OFD Sender: No OFD packet to send [23:14:30]OFD Sender: No OFD packet to send [23:14:35]OFD Sender: No OFD packet to send [23:14:40]OFD Sender: No OFD packet to send [23:14:45]OFD Sender: No OFD packet to send [23:14:50]OFD Sender: No OFD packet to send [23:14:55]OFD Sender: No OFD packet to send [23:15:00]OFD Sender: No OFD packet to send [23:15:05]OFD Sender: No OFD packet to send [23:15:10]OFD Sender: No OFD packet to send [23:15:15]OFD Sender: No OFD packet to send [23:15:20]OFD Sender: No OFD packet to send [23:15:25]OFD Sender: No OFD packet to send [23:15:30]OFD Sender: No OFD packet to send [23:15:35]OFD Sender: No OFD packet to send [23:15:40]OFD Sender: No OFD packet to send [23:15:45]OFD Sender: No OFD packet to send [23:15:50]OFD Sender: No OFD packet to send [23:15:55]OFD Sender: No OFD packet to send [23:16:00]OFD Sender: No OFD packet to send [23:16:05]OFD Sender: No OFD packet to send [23:16:10]OFD Sender: No OFD packet to send [23:16:15]OFD Sender: No OFD packet to send [23:16:20]OFD Sender: No OFD packet to send [23:16:25]OFD Sender: No OFD packet to send [23:16:30]OFD Sender: No OFD packet to send [23:16:35]OFD Sender: No OFD packet to send [23:16:40]OFD Sender: No OFD packet to send [23:16:45]OFD Sender: No OFD packet to send [23:16:50]OFD Sender: No OFD packet to send [23:16:55]OFD Sender: No OFD packet to send [23:17:00]OFD Sender: No OFD packet to send [23:17:05]OFD Sender: No OFD packet to send [23:17:10]OFD Sender: No OFD packet to send [23:17:15]OFD Sender: No OFD packet to send [23:17:20]OFD Sender: No OFD packet to send [23:17:25]OFD Sender: No OFD packet to send [23:17:30]OFD Sender: No OFD packet to send [23:17:35]OFD Sender: No OFD packet to send [23:17:40]OFD Sender: No OFD packet to send [23:17:45]OFD Sender: No OFD packet to send [23:17:50]OFD Sender: No OFD packet to send [23:17:55]OFD Sender: No OFD packet to send [23:18:00]OFD Sender: No OFD packet to send [23:18:05]OFD Sender: No OFD packet to send [23:18:10]OFD Sender: No OFD packet to send [23:18:15]OFD Sender: No OFD packet to send [23:18:20]OFD Sender: No OFD packet to send [23:18:25]OFD Sender: No OFD packet to send [23:18:30]OFD Sender: No OFD packet to send [23:18:35]OFD Sender: No OFD packet to send [23:18:40]OFD Sender: No OFD packet to send [23:18:45]OFD Sender: No OFD packet to send [23:18:50]OFD Sender: No OFD packet to send [23:18:55]OFD Sender: No OFD packet to send [23:19:00]OFD Sender: No OFD packet to send [23:19:05]OFD Sender: No OFD packet to send [23:19:10]OFD Sender: No OFD packet to send [23:19:15]OFD Sender: No OFD packet to send [23:19:20]OFD Sender: No OFD packet to send [23:19:25]OFD Sender: No OFD packet to send [23:19:30]OFD Sender: No OFD packet to send [23:19:35]OFD Sender: No OFD packet to send [23:19:40]OFD Sender: No OFD packet to send [23:19:45]OFD Sender: No OFD packet to send [23:19:50]OFD Sender: No OFD packet to send [23:19:55]OFD Sender: No OFD packet to send [23:20:00]OFD Sender: No OFD packet to send [23:20:05]OFD Sender: No OFD packet to send [23:20:10]OFD Sender: No OFD packet to send [23:20:15]OFD Sender: No OFD packet to send [23:20:20]OFD Sender: No OFD packet to send [23:20:25]OFD Sender: No OFD packet to send [23:20:30]OFD Sender: No OFD packet to send [23:20:35]OFD Sender: No OFD packet to send [23:20:40]OFD Sender: No OFD packet to send [23:20:45]OFD Sender: No OFD packet to send [23:20:50]OFD Sender: No OFD packet to send [23:20:55]OFD Sender: No OFD packet to send [23:21:00]OFD Sender: No OFD packet to send [23:21:05]OFD Sender: No OFD packet to send [23:21:10]OFD Sender: No OFD packet to send [23:21:15]OFD Sender: No OFD packet to send [23:21:20]OFD Sender: No OFD packet to send [23:21:25]OFD Sender: No OFD packet to send [23:21:30]OFD Sender: No OFD packet to send [23:21:35]OFD Sender: No OFD packet to send [23:21:40]OFD Sender: No OFD packet to send [23:21:45]OFD Sender: No OFD packet to send [23:21:50]OFD Sender: No OFD packet to send [23:21:55]OFD Sender: No OFD packet to send [23:22:00]OFD Sender: No OFD packet to send [23:22:05]OFD Sender: No OFD packet to send [23:22:10]OFD Sender: No OFD packet to send [23:22:15]OFD Sender: No OFD packet to send [23:22:20]OFD Sender: No OFD packet to send [23:22:25]OFD Sender: No OFD packet to send [23:22:30]OFD Sender: No OFD packet to send [23:22:35]OFD Sender: No OFD packet to send [23:22:40]OFD Sender: No OFD packet to send [23:22:45]OFD Sender: No OFD packet to send [23:22:50]OFD Sender: No OFD packet to send [23:22:55]OFD Sender: No OFD packet to send [23:23:00]OFD Sender: No OFD packet to send [23:23:05]OFD Sender: No OFD packet to send [23:23:10]OFD Sender: No OFD packet to send [23:23:15]OFD Sender: No OFD packet to send [23:23:20]OFD Sender: No OFD packet to send [23:23:25]OFD Sender: No OFD packet to send [23:23:30]OFD Sender: No OFD packet to send [23:23:36]OFD Sender: No OFD packet to send [23:23:41]OFD Sender: No OFD packet to send [23:23:46]OFD Sender: No OFD packet to send [23:23:51]OFD Sender: No OFD packet to send [23:23:56]OFD Sender: No OFD packet to send [23:24:01]OFD Sender: No OFD packet to send [23:24:06]OFD Sender: No OFD packet to send [23:24:11]OFD Sender: No OFD packet to send [23:24:16]OFD Sender: No OFD packet to send [23:24:21]OFD Sender: No OFD packet to send [23:24:26]OFD Sender: No OFD packet to send [23:24:31]OFD Sender: No OFD packet to send [23:24:36]OFD Sender: No OFD packet to send [23:24:41]OFD Sender: No OFD packet to send [23:24:46]OFD Sender: No OFD packet to send [23:24:51]OFD Sender: No OFD packet to send [23:24:56]OFD Sender: No OFD packet to send [23:25:01]OFD Sender: No OFD packet to send [23:25:06]OFD Sender: No OFD packet to send [23:25:11]OFD Sender: No OFD packet to send [23:25:16]OFD Sender: No OFD packet to send [23:25:21]OFD Sender: No OFD packet to send [23:25:26]OFD Sender: No OFD packet to send [23:25:31]OFD Sender: No OFD packet to send [23:25:36]OFD Sender: No OFD packet to send [23:25:41]OFD Sender: No OFD packet to send [23:25:46]OFD Sender: No OFD packet to send [23:25:51]OFD Sender: No OFD packet to send [23:25:56]OFD Sender: No OFD packet to send [23:26:01]OFD Sender: No OFD packet to send [23:26:06]OFD Sender: No OFD packet to send [23:26:11]OFD Sender: No OFD packet to send [23:26:16]OFD Sender: No OFD packet to send [23:26:21]OFD Sender: No OFD packet to send [23:26:26]OFD Sender: No OFD packet to send [23:26:31]OFD Sender: No OFD packet to send [23:26:36]OFD Sender: No OFD packet to send [23:26:41]OFD Sender: No OFD packet to send [23:26:46]OFD Sender: No OFD packet to send [23:26:51]OFD Sender: No OFD packet to send [23:26:56]OFD Sender: No OFD packet to send [23:27:01]OFD Sender: No OFD packet to send [23:27:06]OFD Sender: No OFD packet to send [23:27:11]OFD Sender: No OFD packet to send [23:27:16]OFD Sender: No OFD packet to send [23:27:21]OFD Sender: No OFD packet to send [23:27:26]OFD Sender: No OFD packet to send [23:27:31]OFD Sender: No OFD packet to send [23:27:36]OFD Sender: No OFD packet to send [23:27:41]OFD Sender: No OFD packet to send [23:27:46]OFD Sender: No OFD packet to send [23:27:51]OFD Sender: No OFD packet to send [23:27:56]OFD Sender: No OFD packet to send [23:28:01]OFD Sender: No OFD packet to send [23:28:06]OFD Sender: No OFD packet to send [23:28:11]OFD Sender: No OFD packet to send [23:28:16]OFD Sender: No OFD packet to send [23:28:21]OFD Sender: No OFD packet to send [23:28:26]OFD Sender: No OFD packet to send [23:28:31]OFD Sender: No OFD packet to send [23:28:36]OFD Sender: No OFD packet to send [23:28:41]OFD Sender: No OFD packet to send [23:28:46]OFD Sender: No OFD packet to send [23:28:51]OFD Sender: No OFD packet to send [23:28:56]OFD Sender: No OFD packet to send [23:29:01]OFD Sender: No OFD packet to send [23:29:06]OFD Sender: No OFD packet to send [23:29:11]OFD Sender: No OFD packet to send [23:29:16]OFD Sender: No OFD packet to send [23:29:21]OFD Sender: No OFD packet to send [23:29:26]OFD Sender: No OFD packet to send [23:29:31]OFD Sender: No OFD packet to send [23:29:36]OFD Sender: No OFD packet to send [23:29:41]OFD Sender: No OFD packet to send [23:29:46]OFD Sender: No OFD packet to send [23:29:51]OFD Sender: No OFD packet to send [23:29:56]OFD Sender: No OFD packet to send [23:30:01]OFD Sender: No OFD packet to send [23:30:06]OFD Sender: No OFD packet to send [23:30:11]OFD Sender: No OFD packet to send [23:30:16]OFD Sender: No OFD packet to send [23:30:21]OFD Sender: No OFD packet to send [23:30:26]OFD Sender: No OFD packet to send [23:30:31]OFD Sender: No OFD packet to send [23:30:36]OFD Sender: No OFD packet to send [23:30:41]OFD Sender: No OFD packet to send [23:30:46]OFD Sender: No OFD packet to send [23:30:51]OFD Sender: No OFD packet to send [23:30:56]OFD Sender: No OFD packet to send [23:31:01]OFD Sender: No OFD packet to send [23:31:06]OFD Sender: No OFD packet to send [23:31:11]OFD Sender: No OFD packet to send [23:31:16]OFD Sender: No OFD packet to send [23:31:21]OFD Sender: No OFD packet to send [23:31:26]OFD Sender: No OFD packet to send [23:31:31]OFD Sender: No OFD packet to send [23:31:36]OFD Sender: No OFD packet to send [23:31:41]OFD Sender: No OFD packet to send [23:31:46]OFD Sender: No OFD packet to send [23:31:51]OFD Sender: No OFD packet to send [23:31:56]OFD Sender: No OFD packet to send [23:32:01]OFD Sender: No OFD packet to send [23:32:06]OFD Sender: No OFD packet to send [23:32:11]OFD Sender: No OFD packet to send [23:32:16]OFD Sender: No OFD packet to send [23:32:21]OFD Sender: No OFD packet to send [23:32:26]OFD Sender: No OFD packet to send [23:32:31]OFD Sender: No OFD packet to send [23:32:36]OFD Sender: No OFD packet to send [23:32:41]OFD Sender: No OFD packet to send [23:32:46]OFD Sender: No OFD packet to send [23:32:51]OFD Sender: No OFD packet to send [23:32:56]OFD Sender: No OFD packet to send [23:33:01]OFD Sender: No OFD packet to send [23:33:06]OFD Sender: No OFD packet to send [23:33:11]OFD Sender: No OFD packet to send [23:33:16]OFD Sender: No OFD packet to send [23:33:21]OFD Sender: No OFD packet to send [23:33:26]OFD Sender: No OFD packet to send [23:33:31]OFD Sender: No OFD packet to send [23:33:36]OFD Sender: No OFD packet to send [23:33:41]OFD Sender: No OFD packet to send [23:33:46]OFD Sender: No OFD packet to send [23:33:51]OFD Sender: No OFD packet to send [23:33:56]OFD Sender: No OFD packet to send [23:34:01]OFD Sender: No OFD packet to send [23:34:06]OFD Sender: No OFD packet to send [23:34:11]OFD Sender: No OFD packet to send [23:34:16]OFD Sender: No OFD packet to send [23:34:21]OFD Sender: No OFD packet to send [23:34:26]OFD Sender: No OFD packet to send [23:34:31]OFD Sender: No OFD packet to send [23:34:36]OFD Sender: No OFD packet to send [23:34:41]OFD Sender: No OFD packet to send [23:34:46]OFD Sender: No OFD packet to send [23:34:51]OFD Sender: No OFD packet to send [23:34:56]OFD Sender: No OFD packet to send [23:35:01]OFD Sender: No OFD packet to send [23:35:06]OFD Sender: No OFD packet to send [23:35:11]OFD Sender: No OFD packet to send [23:35:16]OFD Sender: No OFD packet to send [23:35:21]OFD Sender: No OFD packet to send [23:35:26]OFD Sender: No OFD packet to send [23:35:31]OFD Sender: No OFD packet to send [23:35:36]OFD Sender: No OFD packet to send [23:35:41]OFD Sender: No OFD packet to send [23:35:46]OFD Sender: No OFD packet to send [23:35:51]OFD Sender: No OFD packet to send [23:35:56]OFD Sender: No OFD packet to send [23:36:01]OFD Sender: No OFD packet to send [23:36:06]OFD Sender: No OFD packet to send [23:36:11]OFD Sender: No OFD packet to send [23:36:16]OFD Sender: No OFD packet to send [23:36:21]OFD Sender: No OFD packet to send [23:36:26]OFD Sender: No OFD packet to send [23:36:31]OFD Sender: No OFD packet to send [23:36:36]OFD Sender: No OFD packet to send [23:36:41]OFD Sender: No OFD packet to send [23:36:46]OFD Sender: No OFD packet to send [23:36:51]OFD Sender: No OFD packet to send [23:36:56]OFD Sender: No OFD packet to send [23:37:01]OFD Sender: No OFD packet to send [23:37:06]OFD Sender: No OFD packet to send [23:37:11]OFD Sender: No OFD packet to send [23:37:16]OFD Sender: No OFD packet to send [23:37:21]OFD Sender: No OFD packet to send [23:37:26]OFD Sender: No OFD packet to send [23:37:31]OFD Sender: No OFD packet to send [23:37:36]OFD Sender: No OFD packet to send [23:37:41]OFD Sender: No OFD packet to send [23:37:46]OFD Sender: No OFD packet to send [23:37:51]OFD Sender: No OFD packet to send [23:37:56]OFD Sender: No OFD packet to send [23:38:01]OFD Sender: No OFD packet to send [23:38:06]OFD Sender: No OFD packet to send [23:38:11]OFD Sender: No OFD packet to send [23:38:16]OFD Sender: No OFD packet to send [23:38:21]OFD Sender: No OFD packet to send [23:38:26]OFD Sender: No OFD packet to send [23:38:31]OFD Sender: No OFD packet to send [23:38:36]OFD Sender: No OFD packet to send [23:38:41]OFD Sender: No OFD packet to send [23:38:46]OFD Sender: No OFD packet to send [23:38:51]OFD Sender: No OFD packet to send [23:38:56]OFD Sender: No OFD packet to send [23:39:01]OFD Sender: No OFD packet to send [23:39:06]OFD Sender: No OFD packet to send [23:39:11]OFD Sender: No OFD packet to send [23:39:16]OFD Sender: No OFD packet to send [23:39:21]OFD Sender: No OFD packet to send [23:39:26]OFD Sender: No OFD packet to send [23:39:31]OFD Sender: No OFD packet to send [23:39:36]OFD Sender: No OFD packet to send [23:39:41]OFD Sender: No OFD packet to send [23:39:46]OFD Sender: No OFD packet to send [23:39:51]OFD Sender: No OFD packet to send [23:39:56]OFD Sender: No OFD packet to send [23:40:01]OFD Sender: No OFD packet to send [23:40:06]OFD Sender: No OFD packet to send [23:40:11]OFD Sender: No OFD packet to send [23:40:16]OFD Sender: No OFD packet to send [23:40:21]OFD Sender: No OFD packet to send [23:40:26]OFD Sender: No OFD packet to send [23:40:31]OFD Sender: No OFD packet to send [23:40:36]OFD Sender: No OFD packet to send [23:40:41]OFD Sender: No OFD packet to send [23:40:46]OFD Sender: No OFD packet to send [23:40:51]OFD Sender: No OFD packet to send [23:40:56]OFD Sender: No OFD packet to send [23:41:01]OFD Sender: No OFD packet to send [23:41:06]OFD Sender: No OFD packet to send [23:41:11]OFD Sender: No OFD packet to send [23:41:16]OFD Sender: No OFD packet to send [23:41:21]OFD Sender: No OFD packet to send [23:41:26]OFD Sender: No OFD packet to send [23:41:31]OFD Sender: No OFD packet to send [23:41:36]OFD Sender: No OFD packet to send [23:41:41]OFD Sender: No OFD packet to send [23:41:46]OFD Sender: No OFD packet to send [23:41:51]OFD Sender: No OFD packet to send [23:41:56]OFD Sender: No OFD packet to send [23:42:01]OFD Sender: No OFD packet to send [23:42:06]OFD Sender: No OFD packet to send [23:42:11]OFD Sender: No OFD packet to send [23:42:16]OFD Sender: No OFD packet to send [23:42:21]OFD Sender: No OFD packet to send [23:42:26]OFD Sender: No OFD packet to send [23:42:31]OFD Sender: No OFD packet to send [23:42:36]OFD Sender: No OFD packet to send [23:42:41]OFD Sender: No OFD packet to send [23:42:46]OFD Sender: No OFD packet to send [23:42:51]OFD Sender: No OFD packet to send [23:42:56]OFD Sender: No OFD packet to send [23:43:01]OFD Sender: No OFD packet to send [23:43:06]OFD Sender: No OFD packet to send [23:43:11]OFD Sender: No OFD packet to send [23:43:16]OFD Sender: No OFD packet to send [23:43:21]OFD Sender: No OFD packet to send [23:43:26]OFD Sender: No OFD packet to send [23:43:31]OFD Sender: No OFD packet to send [23:43:36]OFD Sender: No OFD packet to send [23:43:41]OFD Sender: No OFD packet to send [23:43:46]OFD Sender: No OFD packet to send [23:43:51]OFD Sender: No OFD packet to send [23:43:56]OFD Sender: No OFD packet to send [23:44:01]OFD Sender: No OFD packet to send [23:44:06]OFD Sender: No OFD packet to send [23:44:11]OFD Sender: No OFD packet to send [23:44:16]OFD Sender: No OFD packet to send [23:44:21]OFD Sender: No OFD packet to send [23:44:26]OFD Sender: No OFD packet to send [23:44:31]OFD Sender: No OFD packet to send [23:44:36]OFD Sender: No OFD packet to send [23:44:41]OFD Sender: No OFD packet to send [23:44:46]OFD Sender: No OFD packet to send [23:44:51]OFD Sender: No OFD packet to send [23:44:56]OFD Sender: No OFD packet to send [23:45:01]OFD Sender: No OFD packet to send [23:45:06]OFD Sender: No OFD packet to send [23:45:12]OFD Sender: No OFD packet to send [23:45:17]OFD Sender: No OFD packet to send [23:45:22]OFD Sender: No OFD packet to send [23:45:27]OFD Sender: No OFD packet to send [23:45:32]OFD Sender: No OFD packet to send [23:45:37]OFD Sender: No OFD packet to send [23:45:42]OFD Sender: No OFD packet to send [23:45:47]OFD Sender: No OFD packet to send [23:45:52]OFD Sender: No OFD packet to send [23:45:57]OFD Sender: No OFD packet to send [23:46:02]OFD Sender: No OFD packet to send [23:46:07]OFD Sender: No OFD packet to send [23:46:12]OFD Sender: No OFD packet to send [23:46:17]OFD Sender: No OFD packet to send [23:46:22]OFD Sender: No OFD packet to send [23:46:27]OFD Sender: No OFD packet to send [23:46:32]OFD Sender: No OFD packet to send [23:46:37]OFD Sender: No OFD packet to send [23:46:42]OFD Sender: No OFD packet to send [23:46:47]OFD Sender: No OFD packet to send [23:46:52]OFD Sender: No OFD packet to send [23:46:57]OFD Sender: No OFD packet to send [23:47:02]OFD Sender: No OFD packet to send [23:47:07]OFD Sender: No OFD packet to send [23:47:12]OFD Sender: No OFD packet to send [23:47:17]OFD Sender: No OFD packet to send [23:47:22]OFD Sender: No OFD packet to send [23:47:27]OFD Sender: No OFD packet to send [23:47:32]OFD Sender: No OFD packet to send [23:47:37]OFD Sender: No OFD packet to send [23:47:42]OFD Sender: No OFD packet to send [23:47:47]OFD Sender: No OFD packet to send [23:47:52]OFD Sender: No OFD packet to send [23:47:57]OFD Sender: No OFD packet to send [23:48:02]OFD Sender: No OFD packet to send [23:48:07]OFD Sender: No OFD packet to send [23:48:12]OFD Sender: No OFD packet to send [23:48:17]OFD Sender: No OFD packet to send [23:48:22]OFD Sender: No OFD packet to send [23:48:27]OFD Sender: No OFD packet to send [23:48:32]OFD Sender: No OFD packet to send [23:48:37]OFD Sender: No OFD packet to send [23:48:42]OFD Sender: No OFD packet to send [23:48:47]OFD Sender: No OFD packet to send [23:48:52]OFD Sender: No OFD packet to send [23:48:57]OFD Sender: No OFD packet to send [23:49:02]OFD Sender: No OFD packet to send [23:49:07]OFD Sender: No OFD packet to send [23:49:12]OFD Sender: No OFD packet to send [23:49:17]OFD Sender: No OFD packet to send [23:49:22]OFD Sender: No OFD packet to send [23:49:27]OFD Sender: No OFD packet to send [23:49:32]OFD Sender: No OFD packet to send [23:49:37]OFD Sender: No OFD packet to send [23:49:42]OFD Sender: No OFD packet to send [23:49:47]OFD Sender: No OFD packet to send [23:49:52]OFD Sender: No OFD packet to send [23:49:57]OFD Sender: No OFD packet to send [23:50:02]OFD Sender: No OFD packet to send [23:50:07]OFD Sender: No OFD packet to send [23:50:12]OFD Sender: No OFD packet to send [23:50:17]OFD Sender: No OFD packet to send [23:50:22]OFD Sender: No OFD packet to send [23:50:27]OFD Sender: No OFD packet to send [23:50:32]OFD Sender: No OFD packet to send [23:50:37]OFD Sender: No OFD packet to send [23:50:42]OFD Sender: No OFD packet to send [23:50:47]OFD Sender: No OFD packet to send [23:50:52]OFD Sender: No OFD packet to send [23:50:57]OFD Sender: No OFD packet to send [23:51:02]OFD Sender: No OFD packet to send [23:51:07]OFD Sender: No OFD packet to send [23:51:12]OFD Sender: No OFD packet to send [23:51:17]OFD Sender: No OFD packet to send [23:51:22]OFD Sender: No OFD packet to send [23:51:27]OFD Sender: No OFD packet to send [23:51:32]OFD Sender: No OFD packet to send [23:51:37]OFD Sender: No OFD packet to send [23:51:42]OFD Sender: No OFD packet to send [23:51:47]OFD Sender: No OFD packet to send [23:51:52]OFD Sender: No OFD packet to send [23:51:57]OFD Sender: No OFD packet to send [23:52:02]OFD Sender: No OFD packet to send [23:52:07]OFD Sender: No OFD packet to send [23:52:12]OFD Sender: No OFD packet to send [23:52:17]OFD Sender: No OFD packet to send [23:52:22]OFD Sender: No OFD packet to send [23:52:27]OFD Sender: No OFD packet to send [23:52:32]OFD Sender: No OFD packet to send [23:52:37]OFD Sender: No OFD packet to send [23:52:42]OFD Sender: No OFD packet to send [23:52:47]OFD Sender: No OFD packet to send [23:52:52]OFD Sender: No OFD packet to send [23:52:57]OFD Sender: No OFD packet to send [23:53:02]OFD Sender: No OFD packet to send [23:53:07]OFD Sender: No OFD packet to send [23:53:12]OFD Sender: No OFD packet to send [23:53:17]OFD Sender: No OFD packet to send [23:53:22]OFD Sender: No OFD packet to send [23:53:27]OFD Sender: No OFD packet to send [23:53:32]OFD Sender: No OFD packet to send [23:53:37]OFD Sender: No OFD packet to send [23:53:42]OFD Sender: No OFD packet to send [23:53:47]OFD Sender: No OFD packet to send [23:53:52]OFD Sender: No OFD packet to send [23:53:57]OFD Sender: No OFD packet to send [23:54:02]OFD Sender: No OFD packet to send [23:54:07]OFD Sender: No OFD packet to send [23:54:12]OFD Sender: No OFD packet to send [23:54:17]OFD Sender: No OFD packet to send [23:54:22]OFD Sender: No OFD packet to send [23:54:27]OFD Sender: No OFD packet to send [23:54:32]OFD Sender: No OFD packet to send [23:54:37]OFD Sender: No OFD packet to send [23:54:42]OFD Sender: No OFD packet to send [23:54:47]OFD Sender: No OFD packet to send [23:54:52]OFD Sender: No OFD packet to send [23:54:57]OFD Sender: No OFD packet to send [23:55:02]OFD Sender: No OFD packet to send [23:55:07]OFD Sender: No OFD packet to send [23:55:12]OFD Sender: No OFD packet to send [23:55:17]OFD Sender: No OFD packet to send [23:55:22]OFD Sender: No OFD packet to send [23:55:27]OFD Sender: No OFD packet to send [23:55:32]OFD Sender: No OFD packet to send [23:55:37]OFD Sender: No OFD packet to send [23:55:42]OFD Sender: No OFD packet to send [23:55:47]OFD Sender: No OFD packet to send [23:55:52]OFD Sender: No OFD packet to send [23:55:57]OFD Sender: No OFD packet to send [23:56:02]OFD Sender: No OFD packet to send [23:56:07]OFD Sender: No OFD packet to send [23:56:12]OFD Sender: No OFD packet to send [23:56:17]OFD Sender: No OFD packet to send [23:56:22]OFD Sender: No OFD packet to send [23:56:27]OFD Sender: No OFD packet to send [23:56:32]OFD Sender: No OFD packet to send [23:56:37]OFD Sender: No OFD packet to send [23:56:42]OFD Sender: No OFD packet to send [23:56:47]OFD Sender: No OFD packet to send [23:56:52]OFD Sender: No OFD packet to send [23:56:57]OFD Sender: No OFD packet to send [23:57:02]OFD Sender: No OFD packet to send [23:57:07]OFD Sender: No OFD packet to send [23:57:12]OFD Sender: No OFD packet to send [23:57:17]OFD Sender: No OFD packet to send [23:57:22]OFD Sender: No OFD packet to send [23:57:27]OFD Sender: No OFD packet to send [23:57:32]OFD Sender: No OFD packet to send [23:57:37]OFD Sender: No OFD packet to send [23:57:42]OFD Sender: No OFD packet to send [23:57:47]OFD Sender: No OFD packet to send [23:57:52]OFD Sender: No OFD packet to send [23:57:57]OFD Sender: No OFD packet to send [23:58:02]OFD Sender: No OFD packet to send [23:58:07]OFD Sender: No OFD packet to send [23:58:12]OFD Sender: No OFD packet to send [23:58:17]OFD Sender: No OFD packet to send [23:58:22]OFD Sender: No OFD packet to send [23:58:27]OFD Sender: No OFD packet to send [23:58:32]OFD Sender: No OFD packet to send [23:58:37]OFD Sender: No OFD packet to send [23:58:42]OFD Sender: No OFD packet to send [23:58:47]OFD Sender: No OFD packet to send [23:58:52]OFD Sender: No OFD packet to send [23:58:57]OFD Sender: No OFD packet to send [23:59:02]OFD Sender: No OFD packet to send [23:59:07]OFD Sender: No OFD packet to send [23:59:12]OFD Sender: No OFD packet to send [23:59:17]OFD Sender: No OFD packet to send [23:59:22]OFD Sender: No OFD packet to send [23:59:27]OFD Sender: No OFD packet to send [23:59:32]OFD Sender: No OFD packet to send [23:59:37]OFD Sender: No OFD packet to send [23:59:42]OFD Sender: No OFD packet to send [23:59:47]OFD Sender: No OFD packet to send [23:59:52]OFD Sender: No OFD packet to send [23:59:57]OFD Sender: No OFD packet to send [00:00:02]OFD Sender: No OFD packet to send [00:00:07]OFD Sender: No OFD packet to send [00:00:12]OFD Sender: No OFD packet to send [00:00:17]OFD Sender: No OFD packet to send [00:00:22]OFD Sender: No OFD packet to send [00:00:27]OFD Sender: No OFD packet to send [00:00:32]OFD Sender: No OFD packet to send [00:00:37]OFD Sender: No OFD packet to send [00:00:42]OFD Sender: No OFD packet to send [00:00:47]OFD Sender: No OFD packet to send [00:00:52]OFD Sender: No OFD packet to send [00:00:57]OFD Sender: No OFD packet to send [00:01:02]OFD Sender: No OFD packet to send [00:01:07]OFD Sender: No OFD packet to send [00:01:12]OFD Sender: No OFD packet to send [00:01:17]OFD Sender: No OFD packet to send [00:01:22]OFD Sender: No OFD packet to send [00:01:27]OFD Sender: No OFD packet to send [00:01:32]OFD Sender: No OFD packet to send [00:01:37]OFD Sender: No OFD packet to send [00:01:42]OFD Sender: No OFD packet to send [00:01:47]OFD Sender: No OFD packet to send [00:01:52]OFD Sender: No OFD packet to send [00:01:57]OFD Sender: No OFD packet to send [00:02:02]OFD Sender: No OFD packet to send [00:02:07]OFD Sender: No OFD packet to send [00:02:12]OFD Sender: No OFD packet to send [00:02:17]OFD Sender: No OFD packet to send [00:02:22]OFD Sender: No OFD packet to send [00:02:27]OFD Sender: No OFD packet to send [00:02:32]OFD Sender: No OFD packet to send [00:02:37]OFD Sender: No OFD packet to send [00:02:42]OFD Sender: No OFD packet to send [00:02:47]OFD Sender: No OFD packet to send [00:02:52]OFD Sender: No OFD packet to send [00:02:57]OFD Sender: No OFD packet to send [00:03:02]OFD Sender: No OFD packet to send [00:03:07]OFD Sender: No OFD packet to send [00:03:12]OFD Sender: No OFD packet to send [00:03:17]OFD Sender: No OFD packet to send [00:03:22]OFD Sender: No OFD packet to send [00:03:27]OFD Sender: No OFD packet to send [00:03:32]OFD Sender: No OFD packet to send [00:03:37]OFD Sender: No OFD packet to send [00:03:42]OFD Sender: No OFD packet to send [00:03:47]OFD Sender: No OFD packet to send [00:03:52]OFD Sender: No OFD packet to send [00:03:57]OFD Sender: No OFD packet to send [00:04:02]OFD Sender: No OFD packet to send [00:04:07]OFD Sender: No OFD packet to send [00:04:12]OFD Sender: No OFD packet to send [00:04:17]OFD Sender: No OFD packet to send [00:04:22]OFD Sender: No OFD packet to send [00:04:27]OFD Sender: No OFD packet to send [00:04:32]OFD Sender: No OFD packet to send [00:04:37]OFD Sender: No OFD packet to send [00:04:42]OFD Sender: No OFD packet to send [00:04:47]OFD Sender: No OFD packet to send [00:04:52]OFD Sender: No OFD packet to send [00:04:57]OFD Sender: No OFD packet to send [00:05:02]OFD Sender: No OFD packet to send [00:05:07]OFD Sender: No OFD packet to send [00:05:12]OFD Sender: No OFD packet to send [00:05:17]OFD Sender: No OFD packet to send [00:05:22]OFD Sender: No OFD packet to send [00:05:27]OFD Sender: No OFD packet to send [00:05:32]OFD Sender: No OFD packet to send [00:05:37]OFD Sender: No OFD packet to send [00:05:42]OFD Sender: No OFD packet to send [00:05:47]OFD Sender: No OFD packet to send [00:05:52]OFD Sender: No OFD packet to send [00:05:57]OFD Sender: No OFD packet to send [00:06:02]OFD Sender: No OFD packet to send [00:06:07]OFD Sender: No OFD packet to send [00:06:12]OFD Sender: No OFD packet to send [00:06:16]accept exits with 9 [00:06:16]New connection [00:06:16]New thread 3066936676 created [00:06:16]Thread 3066793316 joined [00:06:16]Waiting for new connection... [00:06:16] Sock 9.Parse request [00:06:16]Sock 9.Check first char [00:06:16]Sock 9.First char is OK [00:06:16]request: POST /json_proto HTTP/1.0 [00:06:16]Method: POST [00:06:16]URL: /json_proto [00:06:16]Method is POST - this is cgi request [00:06:16]url: /json_proto [00:06:16]query_string will be loaded in cgi processing [00:06:16]execute_cgi json_proto POST (null) [00:06:16]execute_cgi path=json_proto method=POST [00:06:16]POST find Content-Length [00:06:16]Host: 172.17.35.196:8080 [00:06:16]Content-Length: 215 [00:06:16]Content-Type: application/json [00:06:16] [00:06:16]POST finish read [00:06:16]Found Content-Length = 215 [00:06:16]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:06:16]execute_script... [00:06:16]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:06:16]POST & json_proto [00:06:16]process_json_proto [00:06:16]json parsed OK: [00:06:16]protocol is kg_v1.0 [00:06:16]action value=get_value [00:06:16]process_action get_value [00:06:16]cmd_get_value [00:06:16]process_action get_value done [00:06:16]requested_data is exist [00:06:16]produce_requested_data [00:06:16]requested_item kkm.sn is exist - process it [00:06:16]requested_item kkm.ver is exist - process it [00:06:16]requested_item fm.sn is exist - process it [00:06:16]wFMCommunicate request_size=4 [00:06:16]MH_SAM_APDU [00:06:16]CAPDU: 80 11 00 00 [00:06:16]Write to MH i2c: E2 08 00 A6 0F 80 11 00 00 00 00 00 00 2F [00:06:16]Write i2c OK [00:06:16]MH_I2C_Read... [00:06:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:06:16]Read from MH i2c: E2 [00:06:16]MH_I2C_Read... [00:06:16]Read from MH i2c: E2 17 00 [00:06:16]MH_I2C_Read... [00:06:16]Read from MH i2c: E2 17 00 A6 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 7B [00:06:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [00:06:16]wFMCommunicate OK [00:06:16]requested_item fd.num is exist - process it [00:06:16]SAM_PROTO_GetFieldsCounters [00:06:16]wFMCommunicate request_size=4 [00:06:16]MH_SAM_APDU [00:06:16]CAPDU: 80 13 00 00 [00:06:16]Write to MH i2c: E2 08 00 A7 0F 80 13 00 00 00 00 00 00 32 [00:06:16]Write i2c OK [00:06:16]MH_I2C_Read... [00:06:16]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:06:16]Read from MH i2c: E2 [00:06:16]MH_I2C_Read... [00:06:16]Read from MH i2c: E2 62 00 [00:06:16]MH_I2C_Read... [00:06:16]Read from MH i2c: E2 62 00 A7 0F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 28 82 00 00 0E 04 04 00 B0 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 81 [00:06: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 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 28 82 00 00 0E 04 04 00 B0 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 [00:06:16]wFMCommunicate OK [00:06:16]SAM_PROTO_GetFieldsCounters done [00:06:16]requested_item shift.num is exist - process it [00:06:16]requested_item shift.opened is exist - process it [00:06:16]req_shift_opened [00:06:16]FM_GetShiftState [00:06:16]SAM_PROTO_GetShiftState [00:06:16]wFMCommunicate request_size=4 [00:06:16]MH_SAM_APDU [00:06:16]CAPDU: 80 13 01 00 [00:06:16]Write to MH i2c: E2 08 00 A8 0F 80 13 01 00 00 00 00 00 34 [00:06:16]Write i2c OK [00:06:16]MH_I2C_Read... [00:06:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:06:16]Read from MH i2c: E2 [00:06:16]MH_I2C_Read... [00:06:16]Read from MH i2c: E2 0E 00 [00:06:16]MH_I2C_Read... [00:06:16]Read from MH i2c: E2 0E 00 A8 0F 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 65 [00:06:16]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [00:06:16]wFMCommunicate OK [00:06:16]SAM_PROTO_GetShiftState done [00:06:16]FM_GetShiftState done [00:06:16]req_shift_opened done [00:06:16]requested_item shift.open_date is exist - process it [00:06:16]req_shift_open_date [00:06:16]req_shift_open_date done [00:06:16]produce_requested_data done [00:06:16]produce_requested_data return {"kkm.sn":"0300000122","kkm.ver":"001","fm.sn":"0000000000875104","fd.num":33320,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398} [00:06:16]process_action_free get_value [00:06:16]json_value_free [00:06:16]json_value_free done [00:06:16]process_json_proto returns [00:06:16]Send response to host [00:06:16]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000122","kkm.ver":"001","fm.sn":"0000000000875104","fd.num":33320,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398}}} [00:06:16]free response buf [00:06:16]execute_script done [00:06:16]execute_script returns [00:06:16]free content buf [00:06:16]Sock 9.Close socket [00:06:16]Sock 9.Thread stoped [00:06:16]accept exits with 7 [00:06:16]New connection [00:06:16]New thread 3066793316 created [00:06:16]Thread 3066936676 joined [00:06:16]Waiting for new connection... [00:06:16] Sock 7.Parse request [00:06:16]Sock 7.Check first char [00:06:16]Sock 7.First char is OK [00:06:16]request: POST /json_proto HTTP/1.0 [00:06:16]Method: POST [00:06:16]URL: /json_proto [00:06:16]Method is POST - this is cgi request [00:06:16]url: /json_proto [00:06:16]query_string will be loaded in cgi processing [00:06:16]execute_cgi json_proto POST (null) [00:06:16]execute_cgi path=json_proto method=POST [00:06:16]POST find Content-Length [00:06:16]Host: 172.17.35.196:8080 [00:06:16]Content-Length: 331 [00:06:16]Content-Type: application/json [00:06:16] [00:06:16]POST finish read [00:06:16]Found Content-Length = 331 [00:06:16]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:06:16]execute_script... [00:06:16]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:06:16]POST & json_proto [00:06:16]process_json_proto [00:06:16]json parsed OK: [00:06:16]protocol is kg_v1.0 [00:06:16]action value=get_value [00:06:16]process_action get_value [00:06:16]cmd_get_value [00:06:16]process_action get_value done [00:06:16]requested_data is exist [00:06:16]produce_requested_data [00:06:16]requested_item fm.sale.total is exist - process it [00:06:16]SAM_PROTO_GetFMData [00:06:16]wFMCommunicate request_size=4 [00:06:16]MH_SAM_APDU [00:06:16]CAPDU: 80 13 03 00 [00:06:16]Write to MH i2c: E2 08 00 A9 0F 80 13 03 00 00 00 00 00 37 [00:06:16]Write i2c OK [00:06:16]MH_I2C_Read... [00:06:17]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:06:17]Read from MH i2c: E2 [00:06:17]MH_I2C_Read... [00:06:17]Read from MH i2c: E2 FD 00 [00:06:17]MH_I2C_Read... [00:06:17]Read from MH i2c: E2 FD 00 A9 0F 00 C4 04 85 04 C0 04 6E 04 04 00 C8 7E 00 00 69 04 A0 00 6F 04 04 00 E7 7D 00 00 B1 04 04 00 A0 E8 88 3F 70 04 04 00 98 82 E3 34 72 04 04 00 08 66 A5 0A 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 9B 66 BF 06 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 9C E7 8F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 90 00 45 [00:06:17]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 C8 7E 00 00 69 04 A0 00 6F 04 04 00 E7 7D 00 00 B1 04 04 00 A0 E8 88 3F 70 04 04 00 98 82 E3 34 72 04 04 00 08 66 A5 0A 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 9B 66 BF 06 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 9C E7 8F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 90 00 [00:06:17]wFMCommunicate OK [00:06:17]wFMCommunicate request_size=4 [00:06:17]MH_SAM_APDU [00:06:17]CAPDU: 80 17 00 00 [00:06:17]Write to MH i2c: E2 08 00 AA 0F 80 17 00 00 00 00 00 00 39 [00:06:17]Write i2c OK [00:06:17]MH_I2C_Read... [00:06:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:06:17]Read from MH i2c: E2 [00:06:17]MH_I2C_Read... [00:06:17]Read from MH i2c: E2 FD 00 [00:06:17]MH_I2C_Read... [00:06:17]Read from MH i2c: E2 FD 00 AA 0F 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 F6 [00:06:17]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [00:06:17]wFMCommunicate OK [00:06:17]wFMCommunicate request_size=4 [00:06:17]MH_SAM_APDU [00:06:17]CAPDU: 80 17 00 00 [00:06:17]Write to MH i2c: E2 08 00 AB 0F 80 17 00 00 00 00 00 00 3A [00:06:17]Write i2c OK [00:06:17]MH_I2C_Read... [00:06:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:06:17]Read from MH i2c: E2 [00:06:17]MH_I2C_Read... [00:06:17]Read from MH i2c: E2 FD 00 [00:06:17]MH_I2C_Read... [00:06:17]Read from MH i2c: E2 FD 00 AB 0F 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 4F [00:06:17]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [00:06:17]wFMCommunicate OK [00:06:17]wFMCommunicate request_size=4 [00:06:17]MH_SAM_APDU [00:06:17]CAPDU: 80 17 00 00 [00:06:17]Write to MH i2c: E2 08 00 AC 0F 80 17 00 00 00 00 00 00 3B [00:06:17]Write i2c OK [00:06:17]MH_I2C_Read... [00:06:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:06:17]Read from MH i2c: E2 [00:06:17]MH_I2C_Read... [00:06:17]Read from MH i2c: E2 FD 00 [00:06:17]MH_I2C_Read... [00:06:17]Read from MH i2c: E2 FD 00 AC 0F 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 B3 [00:06:17]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [00:06:17]wFMCommunicate OK [00:06:17]wFMCommunicate request_size=4 [00:06:17]MH_SAM_APDU [00:06:17]CAPDU: 80 17 00 00 [00:06:17]Write to MH i2c: E2 08 00 AD 0F 80 17 00 00 00 00 00 00 3C [00:06:17]Write i2c OK [00:06:17]MH_I2C_Read... [00:06:18]OFD Sender: No OFD packet to send [00:06:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [00:06:18]Read from MH i2c: E2 [00:06:18]MH_I2C_Read... [00:06:18]Read from MH i2c: E2 E1 00 [00:06:18]MH_I2C_Read... [00:06:18]Read from MH i2c: E2 E1 00 AD 0F 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 2A [00:06:18]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:06:18]wFMCommunicate OK [00:06:18]SAM_PROTO_GetFMData done [00:06:18]requested_item fm.sale_refund.total is exist - process it [00:06:18]requested_item fm.buy.total is exist - process it [00:06:18]requested_item shift.sale.total is exist - process it [00:06:18]SAM_PROTO_GetShiftData [00:06:18]wFMCommunicate request_size=4 [00:06:18]MH_SAM_APDU [00:06:18]CAPDU: 80 13 02 00 [00:06:18]Write to MH i2c: E2 08 00 AE 0F 80 13 02 00 00 00 00 00 3B [00:06:18]Write i2c OK [00:06:18]MH_I2C_Read... [00:06:18]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:06:18]Read from MH i2c: E2 [00:06:18]MH_I2C_Read... [00:06:18]Read from MH i2c: E2 FD 00 [00:06:18]MH_I2C_Read... [00:06:18]Read from MH i2c: E2 FD 00 AE 0F 00 AE 04 AA 04 AA 04 6E 04 04 00 4B 00 00 00 69 04 9B 00 6F 04 04 00 4B 00 00 00 B1 04 03 00 47 17 27 70 04 03 00 1C 63 17 72 04 03 00 2B B4 0F 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 26 04 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 91 58 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 AA [00:06:18]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 4B 00 00 00 69 04 9B 00 6F 04 04 00 4B 00 00 00 B1 04 03 00 47 17 27 70 04 03 00 1C 63 17 72 04 03 00 2B B4 0F 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 26 04 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 91 58 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:06:18]wFMCommunicate OK [00:06:18]wFMCommunicate request_size=4 [00:06:18]MH_SAM_APDU [00:06:18]CAPDU: 80 17 00 00 [00:06:18]Write to MH i2c: E2 08 00 AF 0F 80 17 00 00 00 00 00 00 3E [00:06:18]Write i2c OK [00:06:18]MH_I2C_Read... [00:06:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:06:18]Read from MH i2c: E2 [00:06:18]MH_I2C_Read... [00:06:18]Read from MH i2c: E2 FD 00 [00:06:18]MH_I2C_Read... [00:06:18]Read from MH i2c: E2 FD 00 AF 0F 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 60 [00:06:18]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:06:18]wFMCommunicate OK [00:06:18]wFMCommunicate request_size=4 [00:06:18]MH_SAM_APDU [00:06:18]CAPDU: 80 17 00 00 [00:06:18]Write to MH i2c: E2 08 00 B0 0F 80 17 00 00 00 00 00 00 3F [00:06:18]Write i2c OK [00:06:18]MH_I2C_Read... [00:06:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:06:19]Read from MH i2c: E2 [00:06:19]MH_I2C_Read... [00:06:19]Read from MH i2c: E2 FD 00 [00:06:19]MH_I2C_Read... [00:06:19]Read from MH i2c: E2 FD 00 B0 0F 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 F6 [00:06:19]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:06:19]wFMCommunicate OK [00:06:19]wFMCommunicate request_size=4 [00:06:19]MH_SAM_APDU [00:06:19]CAPDU: 80 17 00 00 [00:06:19]Write to MH i2c: E2 08 00 B1 0F 80 17 00 00 00 00 00 00 40 [00:06:19]Write i2c OK [00:06:19]MH_I2C_Read... [00:06:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:06:19]Read from MH i2c: E2 [00:06:19]MH_I2C_Read... [00:06:19]Read from MH i2c: E2 FD 00 [00:06:19]MH_I2C_Read... [00:06:19]Read from MH i2c: E2 FD 00 B1 0F 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 B2 [00:06:19]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:06:19]wFMCommunicate OK [00:06:19]wFMCommunicate request_size=4 [00:06:19]MH_SAM_APDU [00:06:19]CAPDU: 80 17 00 00 [00:06:19]Write to MH i2c: E2 08 00 B2 0F 80 17 00 00 00 00 00 00 41 [00:06:19]Write i2c OK [00:06:19]MH_I2C_Read... [00:06:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:06:19]Read from MH i2c: E2 [00:06:19]MH_I2C_Read... [00:06:19]Read from MH i2c: E2 CB 00 [00:06:19]MH_I2C_Read... [00:06:19]Read from MH i2c: E2 CB 00 B2 0F 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 2A [00:06:19]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:06:19]wFMCommunicate OK [00:06:19]SAM_PROTO_GetShiftData done [00:06:19]requested_item shift.sale.total_cash is exist - process it [00:06:19]requested_item shift.sale_refund.total is exist - process it [00:06:19]requested_item shift.sale_refund.total_cash is exist - process it [00:06:19]requested_item shift.buy.total is exist - process it [00:06:19]requested_item shift.buy.total_cash is exist - process it [00:06:19]produce_requested_data done [00:06:19]produce_requested_data return {"fm.sale.total":10659370.56,"fm.sale_refund.total":365383.00,"fm.buy.total":0.00,"shift.sale.total":25618.63,"shift.sale.total_cash":15327.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:06:19]process_action_free get_value [00:06:19]json_value_free [00:06:19]json_value_free done [00:06:19]process_json_proto returns [00:06:19]Send response to host [00:06:19]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":10659370.56,"fm.sale_refund.total":365383.00,"fm.buy.total":0.00,"shift.sale.total":25618.63,"shift.sale.total_cash":15327.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:06:19]free response buf [00:06:19]execute_script done [00:06:19]execute_script returns [00:06:19]free content buf [00:06:19]Sock 7.Close socket [00:06:19]Sock 7.Thread stoped [00:06:19]accept exits with 9 [00:06:19]New connection [00:06:19]New thread 3066936676 created [00:06:19]Thread 3066793316 joined [00:06:19]Waiting for new connection... [00:06:19] Sock 9.Parse request [00:06:19]Sock 9.Check first char [00:06:19]Sock 9.First char is OK [00:06:19]request: POST /json_proto HTTP/1.0 [00:06:19]Method: POST [00:06:19]URL: /json_proto [00:06:19]Method is POST - this is cgi request [00:06:19]url: /json_proto [00:06:19]query_string will be loaded in cgi processing [00:06:19]execute_cgi json_proto POST (null) [00:06:19]execute_cgi path=json_proto method=POST [00:06:19]POST find Content-Length [00:06:19]Host: 172.17.35.196:8080 [00:06:19]Content-Length: 331 [00:06:19]Content-Type: application/json [00:06:19] [00:06:19]POST finish read [00:06:19]Found Content-Length = 331 [00:06:19]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:06:19]execute_script... [00:06:19]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:06:19]POST & json_proto [00:06:19]process_json_proto [00:06:19]json parsed OK: [00:06:19]protocol is kg_v1.0 [00:06:19]action value=get_value [00:06:19]process_action get_value [00:06:19]cmd_get_value [00:06:19]process_action get_value done [00:06:19]requested_data is exist [00:06:19]produce_requested_data [00:06:19]requested_item fm.sale.total is exist - process it [00:06:19]SAM_PROTO_GetFMData [00:06:19]wFMCommunicate request_size=4 [00:06:19]MH_SAM_APDU [00:06:19]CAPDU: 80 13 03 00 [00:06:19]Write to MH i2c: E2 08 00 B3 0F 80 13 03 00 00 00 00 00 41 [00:06:19]Write i2c OK [00:06:19]MH_I2C_Read... [00:06:20]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:06:20]Read from MH i2c: E2 [00:06:20]MH_I2C_Read... [00:06:20]Read from MH i2c: E2 FD 00 [00:06:20]MH_I2C_Read... [00:06:20]Read from MH i2c: E2 FD 00 B3 0F 00 C4 04 85 04 C0 04 6E 04 04 00 C8 7E 00 00 69 04 A0 00 6F 04 04 00 E7 7D 00 00 B1 04 04 00 A0 E8 88 3F 70 04 04 00 98 82 E3 34 72 04 04 00 08 66 A5 0A 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 9B 66 BF 06 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 9C E7 8F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 90 00 4F [00:06:20]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 C8 7E 00 00 69 04 A0 00 6F 04 04 00 E7 7D 00 00 B1 04 04 00 A0 E8 88 3F 70 04 04 00 98 82 E3 34 72 04 04 00 08 66 A5 0A 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 9B 66 BF 06 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 9C E7 8F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 90 00 [00:06:20]wFMCommunicate OK [00:06:20]wFMCommunicate request_size=4 [00:06:20]MH_SAM_APDU [00:06:20]CAPDU: 80 17 00 00 [00:06:20]Write to MH i2c: E2 08 00 B4 0F 80 17 00 00 00 00 00 00 43 [00:06:20]Write i2c OK [00:06:20]MH_I2C_Read... [00:06:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:06:20]Read from MH i2c: E2 [00:06:20]MH_I2C_Read... [00:06:20]Read from MH i2c: E2 FD 00 [00:06:20]MH_I2C_Read... [00:06:20]Read from MH i2c: E2 FD 00 B4 0F 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 00 [00:06:20]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [00:06:20]wFMCommunicate OK [00:06:20]wFMCommunicate request_size=4 [00:06:20]MH_SAM_APDU [00:06:20]CAPDU: 80 17 00 00 [00:06:20]Write to MH i2c: E2 08 00 B5 0F 80 17 00 00 00 00 00 00 44 [00:06:20]Write i2c OK [00:06:20]MH_I2C_Read... [00:06:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:06:21]Read from MH i2c: E2 [00:06:21]MH_I2C_Read... [00:06:21]Read from MH i2c: E2 FD 00 [00:06:21]MH_I2C_Read... [00:06:21]Read from MH i2c: E2 FD 00 B5 0F 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 59 [00:06:21]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [00:06:21]wFMCommunicate OK [00:06:21]wFMCommunicate request_size=4 [00:06:21]MH_SAM_APDU [00:06:21]CAPDU: 80 17 00 00 [00:06:21]Write to MH i2c: E2 08 00 B6 0F 80 17 00 00 00 00 00 00 45 [00:06:21]Write i2c OK [00:06:21]MH_I2C_Read... [00:06:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:06:21]Read from MH i2c: E2 [00:06:21]MH_I2C_Read... [00:06:21]Read from MH i2c: E2 FD 00 [00:06:21]MH_I2C_Read... [00:06:21]Read from MH i2c: E2 FD 00 B6 0F 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 BD [00:06:21]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [00:06:21]wFMCommunicate OK [00:06:21]wFMCommunicate request_size=4 [00:06:21]MH_SAM_APDU [00:06:21]CAPDU: 80 17 00 00 [00:06:21]Write to MH i2c: E2 08 00 B7 0F 80 17 00 00 00 00 00 00 46 [00:06:21]Write i2c OK [00:06:21]MH_I2C_Read... [00:06:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [00:06:21]Read from MH i2c: E2 [00:06:21]MH_I2C_Read... [00:06:21]Read from MH i2c: E2 E1 00 [00:06:21]MH_I2C_Read... [00:06:21]Read from MH i2c: E2 E1 00 B7 0F 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 34 [00:06:21]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:06:21]wFMCommunicate OK [00:06:21]SAM_PROTO_GetFMData done [00:06:21]requested_item fm.sale_refund.total is exist - process it [00:06:21]requested_item fm.buy.total is exist - process it [00:06:21]requested_item shift.sale.total is exist - process it [00:06:21]SAM_PROTO_GetShiftData [00:06:21]wFMCommunicate request_size=4 [00:06:21]MH_SAM_APDU [00:06:21]CAPDU: 80 13 02 00 [00:06:21]Write to MH i2c: E2 08 00 B8 0F 80 13 02 00 00 00 00 00 45 [00:06:21]Write i2c OK [00:06:21]MH_I2C_Read... [00:06:22]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:06:22]Read from MH i2c: E2 [00:06:22]MH_I2C_Read... [00:06:22]Read from MH i2c: E2 FD 00 [00:06:22]MH_I2C_Read... [00:06:22]Read from MH i2c: E2 FD 00 B8 0F 00 AE 04 AA 04 AA 04 6E 04 04 00 4B 00 00 00 69 04 9B 00 6F 04 04 00 4B 00 00 00 B1 04 03 00 47 17 27 70 04 03 00 1C 63 17 72 04 03 00 2B B4 0F 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 26 04 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 91 58 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 B4 [00:06:22]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 4B 00 00 00 69 04 9B 00 6F 04 04 00 4B 00 00 00 B1 04 03 00 47 17 27 70 04 03 00 1C 63 17 72 04 03 00 2B B4 0F 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 26 04 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 91 58 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:06:22]wFMCommunicate OK [00:06:22]wFMCommunicate request_size=4 [00:06:22]MH_SAM_APDU [00:06:22]CAPDU: 80 17 00 00 [00:06:22]Write to MH i2c: E2 08 00 B9 0F 80 17 00 00 00 00 00 00 48 [00:06:22]Write i2c OK [00:06:22]MH_I2C_Read... [00:06:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:06:22]Read from MH i2c: E2 [00:06:22]MH_I2C_Read... [00:06:22]Read from MH i2c: E2 FD 00 [00:06:22]MH_I2C_Read... [00:06:22]Read from MH i2c: E2 FD 00 B9 0F 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 6A [00:06:22]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:06:22]wFMCommunicate OK [00:06:22]wFMCommunicate request_size=4 [00:06:22]MH_SAM_APDU [00:06:22]CAPDU: 80 17 00 00 [00:06:22]Write to MH i2c: E2 08 00 BA 0F 80 17 00 00 00 00 00 00 49 [00:06:22]Write i2c OK [00:06:22]MH_I2C_Read... [00:06:23]Read from MH i2c: E2 [00:06:23]MH_I2C_Read... [00:06:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:06:23]OFD Sender: No OFD packet to send [00:06:23]Read from MH i2c: E2 FD 00 [00:06:23]MH_I2C_Read... [00:06:23]Read from MH i2c: E2 FD 00 BA 0F 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 00 [00:06:23]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:06:23]wFMCommunicate OK [00:06:23]wFMCommunicate request_size=4 [00:06:23]MH_SAM_APDU [00:06:23]CAPDU: 80 17 00 00 [00:06:23]Write to MH i2c: E2 08 00 BB 0F 80 17 00 00 00 00 00 00 4A [00:06:23]Write i2c OK [00:06:23]MH_I2C_Read... [00:06:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:06:23]Read from MH i2c: E2 [00:06:23]MH_I2C_Read... [00:06:23]Read from MH i2c: E2 FD 00 [00:06:23]MH_I2C_Read... [00:06:23]Read from MH i2c: E2 FD 00 BB 0F 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 BC [00:06:23]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:06:23]wFMCommunicate OK [00:06:23]wFMCommunicate request_size=4 [00:06:23]MH_SAM_APDU [00:06:23]CAPDU: 80 17 00 00 [00:06:23]Write to MH i2c: E2 08 00 BC 0F 80 17 00 00 00 00 00 00 4B [00:06:23]Write i2c OK [00:06:23]MH_I2C_Read... [00:06:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:06:23]Read from MH i2c: E2 [00:06:23]MH_I2C_Read... [00:06:23]Read from MH i2c: E2 CB 00 [00:06:23]MH_I2C_Read... [00:06:23]Read from MH i2c: E2 CB 00 BC 0F 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 34 [00:06:24]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:06:24]wFMCommunicate OK [00:06:24]SAM_PROTO_GetShiftData done [00:06:24]requested_item shift.sale.total_cash is exist - process it [00:06:24]requested_item shift.sale_refund.total is exist - process it [00:06:24]requested_item shift.sale_refund.total_cash is exist - process it [00:06:24]requested_item shift.buy.total is exist - process it [00:06:24]requested_item shift.buy.total_cash is exist - process it [00:06:24]produce_requested_data done [00:06:24]produce_requested_data return {"fm.sale.total":10659370.56,"fm.sale_refund.total":365383.00,"fm.buy.total":0.00,"shift.sale.total":25618.63,"shift.sale.total_cash":15327.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:06:24]process_action_free get_value [00:06:24]json_value_free [00:06:24]json_value_free done [00:06:24]process_json_proto returns [00:06:24]Send response to host [00:06:24]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":10659370.56,"fm.sale_refund.total":365383.00,"fm.buy.total":0.00,"shift.sale.total":25618.63,"shift.sale.total_cash":15327.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:06:24]free response buf [00:06:24]execute_script done [00:06:24]execute_script returns [00:06:24]free content buf [00:06:24]Sock 9.Close socket [00:06:24]Sock 9.Thread stoped [00:06:24]accept exits with 7 [00:06:24]New connection [00:06:24]New thread 3066793316 created [00:06:24]Thread 3066936676 joined [00:06:24]Waiting for new connection... [00:06:24] Sock 7.Parse request [00:06:24]Sock 7.Check first char [00:06:24]Sock 7.First char is OK [00:06:24]request: POST /json_proto HTTP/1.0 [00:06:24]Method: POST [00:06:24]URL: /json_proto [00:06:24]Method is POST - this is cgi request [00:06:24]url: /json_proto [00:06:24]query_string will be loaded in cgi processing [00:06:24]execute_cgi json_proto POST (null) [00:06:24]execute_cgi path=json_proto method=POST [00:06:24]POST find Content-Length [00:06:24]Host: 172.17.35.196:8080 [00:06:24]Content-Length: 251 [00:06:24]Content-Type: application/json [00:06:24] [00:06:24]POST finish read [00:06:24]Found Content-Length = 251 [00:06:24]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u0410\u0448\u0438\u0440\u043E\u0432\u0430 \u0414. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:06:24]execute_script... [00:06:24]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u0410\u0448\u0438\u0440\u043E\u0432\u0430 \u0414. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:06:24]POST & json_proto [00:06:24]process_json_proto [00:06:24]json parsed OK: [00:06:24]protocol is kg_v1.0 [00:06:24]action value=x_report [00:06:24]process_action x_report [00:06:24]cmd_x_report [00:06:24]MH_GetDate [00:06:24]Write to MH i2c: F0 00 00 BD 0F BB [00:06:24]Write i2c OK [00:06:24]MH_I2C_Read... [00:06:24]Read from MH i2c: F0 [00:06:24]MH_I2C_Read... [00:06:24]Read from MH i2c: F0 09 00 [00:06:24]MH_I2C_Read... [00:06:24]Read from MH i2c: F0 09 00 BD 0F 00 82 73 90 66 AD 14 F4 65 C9 [00:06:24]GetLastDocTimeStamp 1720737393 [00:06:24]current date 1720742786 [00:06:24]FM_GetShiftState [00:06:24]SAM_PROTO_GetShiftState [00:06:24]wFMCommunicate request_size=4 [00:06:24]MH_SAM_APDU [00:06:24]CAPDU: 80 13 01 00 [00:06:24]Write to MH i2c: E2 08 00 BE 0F 80 13 01 00 00 00 00 00 4A [00:06:24]Write i2c OK [00:06:24]MH_I2C_Read... [00:06:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:06:24]Read from MH i2c: E2 [00:06:24]MH_I2C_Read... [00:06:24]Read from MH i2c: E2 0E 00 [00:06:24]MH_I2C_Read... [00:06:24]Read from MH i2c: E2 0E 00 BE 0F 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 7B [00:06:24]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [00:06:24]wFMCommunicate OK [00:06:24]SAM_PROTO_GetShiftState done [00:06:24]FM_GetShiftState done [00:06:24]KKMCreateXReportDocument [00:06:24]Load OK [00:06:24]Malloc new data [00:06:24]MH_GetDate [00:06:24]Write to MH i2c: F0 00 00 BF 0F BD [00:06:24]Write i2c OK [00:06:24]MH_I2C_Read... [00:06:24]Read from MH i2c: F0 [00:06:24]MH_I2C_Read... [00:06:24]Read from MH i2c: F0 09 00 [00:06:24]MH_I2C_Read... [00:06:24]Read from MH i2c: F0 09 00 BF 0F 00 82 73 90 66 AD 14 F4 65 CB [00:06:24]Malloc new data [00:06:24]Malloc new data [00:06:24]wFMCommunicate request_size=4 [00:06:24]MH_SAM_APDU [00:06:24]CAPDU: 80 11 00 00 [00:06:24]Write to MH i2c: E2 08 00 C0 0F 80 11 00 00 00 00 00 00 49 [00:06:24]Write i2c OK [00:06:24]MH_I2C_Read... [00:06:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:06:24]Read from MH i2c: E2 [00:06:24]MH_I2C_Read... [00:06:24]Read from MH i2c: E2 17 00 [00:06:24]MH_I2C_Read... [00:06:24]Read from MH i2c: E2 17 00 C0 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 95 [00:06:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [00:06:24]wFMCommunicate OK [00:06:24]SAM_PROTO_GetFieldsCounters [00:06:24]wFMCommunicate request_size=4 [00:06:24]MH_SAM_APDU [00:06:24]CAPDU: 80 13 00 00 [00:06:24]Write to MH i2c: E2 08 00 C1 0F 80 13 00 00 00 00 00 00 4C [00:06:24]Write i2c OK [00:06:24]MH_I2C_Read... [00:06:24]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:06:24]Read from MH i2c: E2 [00:06:24]MH_I2C_Read... [00:06:24]Read from MH i2c: E2 62 00 [00:06:24]MH_I2C_Read... [00:06:24]Read from MH i2c: E2 62 00 C1 0F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 28 82 00 00 0E 04 04 00 B0 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 9B [00:06: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 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 28 82 00 00 0E 04 04 00 B0 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 [00:06:24]wFMCommunicate OK [00:06:24]SAM_PROTO_GetFieldsCounters done [00:06:24]Malloc new data [00:06:24]Malloc new data [00:06:24]Malloc new data [00:06:24]KKMCreateXReportDocument OK [00:06:24]KKMSetXReportData OK [00:06:24]KKMPrepareXReportFMData [00:06:24]SAM_PROTO_GetShiftData [00:06:24]wFMCommunicate request_size=4 [00:06:24]MH_SAM_APDU [00:06:24]CAPDU: 80 13 02 00 [00:06:24]Write to MH i2c: E2 08 00 C2 0F 80 13 02 00 00 00 00 00 4F [00:06:24]Write i2c OK [00:06:24]MH_I2C_Read... [00:06:24]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:06:24]Read from MH i2c: E2 [00:06:24]MH_I2C_Read... [00:06:24]Read from MH i2c: E2 FD 00 [00:06:24]MH_I2C_Read... [00:06:24]Read from MH i2c: E2 FD 00 C2 0F 00 AE 04 AA 04 AA 04 6E 04 04 00 4B 00 00 00 69 04 9B 00 6F 04 04 00 4B 00 00 00 B1 04 03 00 47 17 27 70 04 03 00 1C 63 17 72 04 03 00 2B B4 0F 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 26 04 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 91 58 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 BE [00:06:25]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 4B 00 00 00 69 04 9B 00 6F 04 04 00 4B 00 00 00 B1 04 03 00 47 17 27 70 04 03 00 1C 63 17 72 04 03 00 2B B4 0F 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 26 04 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 91 58 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:06:25]wFMCommunicate OK [00:06:25]wFMCommunicate request_size=4 [00:06:25]MH_SAM_APDU [00:06:25]CAPDU: 80 17 00 00 [00:06:25]Write to MH i2c: E2 08 00 C3 0F 80 17 00 00 00 00 00 00 52 [00:06:25]Write i2c OK [00:06:25]MH_I2C_Read... [00:06:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:06:25]Read from MH i2c: E2 [00:06:25]MH_I2C_Read... [00:06:25]Read from MH i2c: E2 FD 00 [00:06:25]MH_I2C_Read... [00:06:25]Read from MH i2c: E2 FD 00 C3 0F 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 74 [00:06:25]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:06:25]wFMCommunicate OK [00:06:25]wFMCommunicate request_size=4 [00:06:25]MH_SAM_APDU [00:06:25]CAPDU: 80 17 00 00 [00:06:25]Write to MH i2c: E2 08 00 C4 0F 80 17 00 00 00 00 00 00 53 [00:06:25]Write i2c OK [00:06:25]MH_I2C_Read... [00:06:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:06:25]Read from MH i2c: E2 [00:06:25]MH_I2C_Read... [00:06:25]Read from MH i2c: E2 FD 00 [00:06:25]MH_I2C_Read... [00:06:25]Read from MH i2c: E2 FD 00 C4 0F 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 0A [00:06:25]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:06:25]wFMCommunicate OK [00:06:25]wFMCommunicate request_size=4 [00:06:25]MH_SAM_APDU [00:06:26]CAPDU: 80 17 00 00 [00:06:26]Write to MH i2c: E2 08 00 C5 0F 80 17 00 00 00 00 00 00 54 [00:06:26]Write i2c OK [00:06:26]MH_I2C_Read... [00:06:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:06:26]Read from MH i2c: E2 [00:06:26]MH_I2C_Read... [00:06:26]Read from MH i2c: E2 FD 00 [00:06:26]MH_I2C_Read... [00:06:26]Read from MH i2c: E2 FD 00 C5 0F 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 C6 [00:06:26]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:06:26]wFMCommunicate OK [00:06:26]wFMCommunicate request_size=4 [00:06:26]MH_SAM_APDU [00:06:26]CAPDU: 80 17 00 00 [00:06:26]Write to MH i2c: E2 08 00 C6 0F 80 17 00 00 00 00 00 00 55 [00:06:26]Write i2c OK [00:06:26]MH_I2C_Read... [00:06:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:06:26]Read from MH i2c: E2 [00:06:26]MH_I2C_Read... [00:06:26]Read from MH i2c: E2 CB 00 [00:06:26]MH_I2C_Read... [00:06:26]Read from MH i2c: E2 CB 00 C6 0F 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 3E [00:06:26]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:06:26]wFMCommunicate OK [00:06:26]SAM_PROTO_GetShiftData done [00:06:26]1194 (1194) - счетчики итогов смены [00:06:26] 1134 (4) - 75 - количество чеков со всеми признаками расчетов [00:06:26] 1129 (155) - счетчики операций «приход» [00:06:26] 1135 (4) - 75 - количество чеков по признаку расчетов [00:06:26] 1201 (3) - 25618.63 - общая итоговая сумма в чеках [00:06:26] 1136 (3) - 15327.00 - итоговая сумма в чеках наличными [00:06:26] 1138 (3) - 10291.63 - итоговая сумма в чеках безналичными [00:06:26] 1024 (122) - суммы налогов [00:06:26] 1006 (9) - суммы НДС [00:06:26] 1010 (1) - 0% - код ставки НДС [00:06:26] 1011 (0) - 0.00 - сумма НДС по ставке [00:06:26] 1006 (12) - суммы НДС [00:06:26] 1010 (1) - 12% - код ставки НДС [00:06:26] 1011 (3) - 2721.24 - сумма НДС по ставке [00:06:26] 1007 (9) - суммы НСП [00:06:26] 1014 (1) - 0% - код ставки НСП [00:06:26] 1015 (0) - 0.00 - сумма НСП по ставке [00:06:26] 1007 (11) - суммы НСП [00:06:26] 1014 (1) - 1% - код ставки НСП [00:06:26] 1015 (2) - 226.73 - сумма НСП по ставке [00:06:26] 1007 (9) - суммы НСП [00:06:26] 1014 (1) - 2% - код ставки НСП [00:06:26] 1015 (0) - 0.00 - сумма НСП по ставке [00:06:26] 1007 (9) - суммы НСП [00:06:26] 1014 (1) - 3% - код ставки НСП [00:06:26] 1015 (0) - 0.00 - сумма НСП по ставке [00:06:26] 1007 (9) - суммы НСП [00:06:26] 1014 (1) - 5% - код ставки НСП [00:06:26] 1015 (0) - 0.00 - сумма НСП по ставке [00:06:26] 1007 (9) - суммы НСП [00:06:26] 1014 (1) - 0,50% - код ставки НСП [00:06:26] 1015 (0) - 0.00 - сумма НСП по ставке [00:06:26] 1007 (9) - суммы НСП [00:06:26] 1014 (1) - 1,50% - код ставки НСП [00:06:26] 1015 (0) - 0.00 - сумма НСП по ставке [00:06:26] 1130 (141) - счетчики операций «возврат прихода» [00:06:26] 1135 (4) - 0 - количество чеков по признаку расчетов [00:06:26] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:06:26] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:06:26] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:06:26] 1024 (117) - суммы налогов [00:06:26] 1006 (9) - суммы НДС [00:06:26] 1010 (1) - 0% - код ставки НДС [00:06:26] 1011 (0) - 0.00 - сумма НДС по ставке [00:06:26] 1006 (9) - суммы НДС [00:06:26] 1010 (1) - 12% - код ставки НДС [00:06:26] 1011 (0) - 0.00 - сумма НДС по ставке [00:06:26] 1007 (9) - суммы НСП [00:06:26] 1014 (1) - 0% - код ставки НСП [00:06:26] 1015 (0) - 0.00 - сумма НСП по ставке [00:06:26] 1007 (9) - суммы НСП [00:06:26] 1014 (1) - 1% - код ставки НСП [00:06:26] 1015 (0) - 0.00 - сумма НСП по ставке [00:06:26] 1007 (9) - суммы НСП [00:06:26] 1014 (1) - 2% - код ставки НСП [00:06:26] 1015 (0) - 0.00 - сумма НСП по ставке [00:06:26] 1007 (9) - суммы НСП [00:06:26] 1014 (1) - 3% - код ставки НСП [00:06:26] 1015 (0) - 0.00 - сумма НСП по ставке [00:06:26] 1007 (9) - суммы НСП [00:06:26] 1014 (1) - 5% - код ставки НСП [00:06:26] 1015 (0) - 0.00 - сумма НСП по ставке [00:06:26] 1007 (9) - суммы НСП [00:06:26] 1014 (1) - 0,50% - код ставки НСП [00:06:26] 1015 (0) - 0.00 - сумма НСП по ставке [00:06:26] 1007 (9) - суммы НСП [00:06:26] 1014 (1) - 1,50% - код ставки НСП [00:06:26] 1015 (0) - 0.00 - сумма НСП по ставке [00:06:26] 1131 (141) - счетчики операций «расход» [00:06:26] 1135 (4) - 0 - количество чеков по признаку расчетов [00:06:26] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:06:26] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:06:26] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:06:26] 1024 (117) - суммы налогов [00:06:26] 1006 (9) - суммы НДС [00:06:26] 1010 (1) - 0% - код ставки НДС [00:06:26] 1011 (0) - 0.00 - сумма НДС по ставке [00:06:26] 1006 (9) - суммы НДС [00:06:26] 1010 (1) - 12% - код ставки НДС [00:06:26] 1011 (0) - 0.00 - сумма НДС по ставке [00:06:27] 1007 (9) - суммы НСП [00:06:27] 1014 (1) - 0% - код ставки НСП [00:06:27] 1015 (0) - 0.00 - сумма НСП по ставке [00:06:27] 1007 (9) - суммы НСП [00:06:27] 1014 (1) - 1% - код ставки НСП [00:06:27] 1015 (0) - 0.00 - сумма НСП по ставке [00:06:27] 1007 (9) - суммы НСП [00:06:27] 1014 (1) - 2% - код ставки НСП [00:06:27] 1015 (0) - 0.00 - сумма НСП по ставке [00:06:27] 1007 (9) - суммы НСП [00:06:27] 1014 (1) - 3% - код ставки НСП [00:06:27] 1015 (0) - 0.00 - сумма НСП по ставке [00:06:27] 1007 (9) - суммы НСП [00:06:27] 1014 (1) - 5% - код ставки НСП [00:06:27] 1015 (0) - 0.00 - сумма НСП по ставке [00:06:27] 1007 (9) - суммы НСП [00:06:27] 1014 (1) - 0,50% - код ставки НСП [00:06:27] 1015 (0) - 0.00 - сумма НСП по ставке [00:06:27] 1007 (9) - суммы НСП [00:06:27] 1014 (1) - 1,50% - код ставки НСП [00:06:27] 1015 (0) - 0.00 - сумма НСП по ставке [00:06:27] 1132 (141) - счетчики операций «возврат расхода» [00:06:27] 1135 (4) - 0 - количество чеков по признаку расчетов [00:06:27] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:06:27] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:06:27] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:06:27] 1024 (117) - суммы налогов [00:06:27] 1006 (9) - суммы НДС [00:06:27] 1010 (1) - 0% - код ставки НДС [00:06:27] 1011 (0) - 0.00 - сумма НДС по ставке [00:06:27] 1006 (9) - суммы НДС [00:06:27] 1010 (1) - 12% - код ставки НДС [00:06:27] 1011 (0) - 0.00 - сумма НДС по ставке [00:06:27] 1007 (9) - суммы НСП [00:06:27] 1014 (1) - 0% - код ставки НСП [00:06:27] 1015 (0) - 0.00 - сумма НСП по ставке [00:06:27] 1007 (9) - суммы НСП [00:06:27] 1014 (1) - 1% - код ставки НСП [00:06:27] 1015 (0) - 0.00 - сумма НСП по ставке [00:06:27] 1007 (9) - суммы НСП [00:06:27] 1014 (1) - 2% - код ставки НСП [00:06:27] 1015 (0) - 0.00 - сумма НСП по ставке [00:06:27] 1007 (9) - суммы НСП [00:06:27] 1014 (1) - 3% - код ставки НСП [00:06:27] 1015 (0) - 0.00 - сумма НСП по ставке [00:06:27] 1007 (9) - суммы НСП [00:06:27] 1014 (1) - 5% - код ставки НСП [00:06:27] 1015 (0) - 0.00 - сумма НСП по ставке [00:06:27] 1007 (9) - суммы НСП [00:06:27] 1014 (1) - 0,50% - код ставки НСП [00:06:27] 1015 (0) - 0.00 - сумма НСП по ставке [00:06:27] 1007 (9) - суммы НСП [00:06:27] 1014 (1) - 1,50% - код ставки НСП [00:06:27] 1015 (0) - 0.00 - сумма НСП по ставке [00:06:27] 1133 (588) - - счетчики коррекции - не используются [00:06:27]SetTLVBufToDocument [00:06:27]Processing tag 1194 (04AA) [00:06:27]Load OK [00:06:27]SetTLVBufToDocument [00:06:27]Processing tag 1134 (046E) [00:06:27]Malloc new data [00:06:27]Processing tag 1129 (0469) [00:06:27]Load OK [00:06:27]SetTLVBufToDocument [00:06:27]Processing tag 1135 (046F) [00:06:27]Malloc new data [00:06:27]Processing tag 1201 (04B1) [00:06:27]Malloc new data [00:06:27]Processing tag 1136 (0470) [00:06:27]Malloc new data [00:06:27]Processing tag 1138 (0472) [00:06:27]Malloc new data [00:06:27]Processing tag 1024 (0400) [00:06:27]Load OK [00:06:27]SetTLVBufToDocument [00:06:27]Processing tag 1006 (03EE) [00:06:27]Load OK [00:06:27]SetTLVBufToDocument [00:06:27]Processing tag 1010 (03F2) [00:06:27]Malloc new data [00:06:27]Processing tag 1011 (03F3) [00:06:27]Malloc new data [00:06:27]SetTLVBufToDocument err=0 [00:06:27]Processing tag 1006 (03EE) [00:06:27]Load OK [00:06:27]SetTLVBufToDocument [00:06:27]Processing tag 1010 (03F2) [00:06:27]Malloc new data [00:06:27]Processing tag 1011 (03F3) [00:06:27]Malloc new data [00:06:27]SetTLVBufToDocument err=0 [00:06:27]Processing tag 1007 (03EF) [00:06:27]Load OK [00:06:27]SetTLVBufToDocument [00:06:27]Processing tag 1014 (03F6) [00:06:27]Malloc new data [00:06:27]Processing tag 1015 (03F7) [00:06:27]Malloc new data [00:06:27]SetTLVBufToDocument err=0 [00:06:27]Processing tag 1007 (03EF) [00:06:27]Load OK [00:06:27]SetTLVBufToDocument [00:06:27]Processing tag 1014 (03F6) [00:06:27]Malloc new data [00:06:27]Processing tag 1015 (03F7) [00:06:27]Malloc new data [00:06:27]SetTLVBufToDocument err=0 [00:06:27]Processing tag 1007 (03EF) [00:06:27]Load OK [00:06:27]SetTLVBufToDocument [00:06:27]Processing tag 1014 (03F6) [00:06:27]Malloc new data [00:06:27]Processing tag 1015 (03F7) [00:06:27]Malloc new data [00:06:27]SetTLVBufToDocument err=0 [00:06:27]Processing tag 1007 (03EF) [00:06:27]Load OK [00:06:27]SetTLVBufToDocument [00:06:27]Processing tag 1014 (03F6) [00:06:27]Malloc new data [00:06:27]Processing tag 1015 (03F7) [00:06:27]Malloc new data [00:06:27]SetTLVBufToDocument err=0 [00:06:27]Processing tag 1007 (03EF) [00:06:27]Load OK [00:06:27]SetTLVBufToDocument [00:06:27]Processing tag 1014 (03F6) [00:06:27]Malloc new data [00:06:27]Processing tag 1015 (03F7) [00:06:27]Malloc new data [00:06:27]SetTLVBufToDocument err=0 [00:06:27]Processing tag 1007 (03EF) [00:06:27]Load OK [00:06:27]SetTLVBufToDocument [00:06:27]Processing tag 1014 (03F6) [00:06:27]Malloc new data [00:06:27]Processing tag 1015 (03F7) [00:06:27]Malloc new data [00:06:27]SetTLVBufToDocument err=0 [00:06:27]Processing tag 1007 (03EF) [00:06:27]Load OK [00:06:27]SetTLVBufToDocument [00:06:27]Processing tag 1014 (03F6) [00:06:27]Malloc new data [00:06:27]Processing tag 1015 (03F7) [00:06:27]Malloc new data [00:06:27]SetTLVBufToDocument err=0 [00:06:27]SetTLVBufToDocument err=0 [00:06:27]SetTLVBufToDocument err=0 [00:06:27]Processing tag 1130 (046A) [00:06:27]Load OK [00:06:27]SetTLVBufToDocument [00:06:27]Processing tag 1135 (046F) [00:06:27]Malloc new data [00:06:27]Processing tag 1201 (04B1) [00:06:27]Malloc new data [00:06:27]Processing tag 1136 (0470) [00:06:27]Malloc new data [00:06:27]Processing tag 1138 (0472) [00:06:27]Malloc new data [00:06:27]Processing tag 1024 (0400) [00:06:27]Load OK [00:06:27]SetTLVBufToDocument [00:06:27]Processing tag 1006 (03EE) [00:06:27]Load OK [00:06:27]SetTLVBufToDocument [00:06:27]Processing tag 1010 (03F2) [00:06:27]Malloc new data [00:06:27]Processing tag 1011 (03F3) [00:06:27]Malloc new data [00:06:27]SetTLVBufToDocument err=0 [00:06:27]Processing tag 1006 (03EE) [00:06:27]Load OK [00:06:27]SetTLVBufToDocument [00:06:27]Processing tag 1010 (03F2) [00:06:27]Malloc new data [00:06:27]Processing tag 1011 (03F3) [00:06:27]Malloc new data [00:06:27]SetTLVBufToDocument err=0 [00:06:27]Processing tag 1007 (03EF) [00:06:27]Load OK [00:06:27]SetTLVBufToDocument [00:06:27]Processing tag 1014 (03F6) [00:06:27]Malloc new data [00:06:27]Processing tag 1015 (03F7) [00:06:27]Malloc new data [00:06:27]SetTLVBufToDocument err=0 [00:06:27]Processing tag 1007 (03EF) [00:06:27]Load OK [00:06:27]SetTLVBufToDocument [00:06:27]Processing tag 1014 (03F6) [00:06:27]Malloc new data [00:06:27]Processing tag 1015 (03F7) [00:06:27]Malloc new data [00:06:27]SetTLVBufToDocument err=0 [00:06:27]Processing tag 1007 (03EF) [00:06:27]Load OK [00:06:27]SetTLVBufToDocument [00:06:27]Processing tag 1014 (03F6) [00:06:27]Malloc new data [00:06:27]Processing tag 1015 (03F7) [00:06:27]Malloc new data [00:06:27]SetTLVBufToDocument err=0 [00:06:27]Processing tag 1007 (03EF) [00:06:27]Load OK [00:06:27]SetTLVBufToDocument [00:06:27]Processing tag 1014 (03F6) [00:06:27]Malloc new data [00:06:27]Processing tag 1015 (03F7) [00:06:27]Malloc new data [00:06:27]SetTLVBufToDocument err=0 [00:06:27]Processing tag 1007 (03EF) [00:06:27]Load OK [00:06:27]SetTLVBufToDocument [00:06:27]Processing tag 1014 (03F6) [00:06:27]Malloc new data [00:06:27]Processing tag 1015 (03F7) [00:06:27]Malloc new data [00:06:27]SetTLVBufToDocument err=0 [00:06:27]Processing tag 1007 (03EF) [00:06:27]Load OK [00:06:27]SetTLVBufToDocument [00:06:27]Processing tag 1014 (03F6) [00:06:27]Malloc new data [00:06:27]Processing tag 1015 (03F7) [00:06:27]Malloc new data [00:06:27]SetTLVBufToDocument err=0 [00:06:27]Processing tag 1007 (03EF) [00:06:27]Load OK [00:06:27]SetTLVBufToDocument [00:06:27]Processing tag 1014 (03F6) [00:06:27]Malloc new data [00:06:27]Processing tag 1015 (03F7) [00:06:27]Malloc new data [00:06:27]SetTLVBufToDocument err=0 [00:06:27]SetTLVBufToDocument err=0 [00:06:27]SetTLVBufToDocument err=0 [00:06:27]Processing tag 1131 (046B) [00:06:27]Load OK [00:06:27]SetTLVBufToDocument [00:06:27]Processing tag 1135 (046F) [00:06:27]Malloc new data [00:06:27]Processing tag 1201 (04B1) [00:06:27]Malloc new data [00:06:27]Processing tag 1136 (0470) [00:06:27]Malloc new data [00:06:27]Processing tag 1138 (0472) [00:06:27]Malloc new data [00:06:27]Processing tag 1024 (0400) [00:06:27]Load OK [00:06:27]SetTLVBufToDocument [00:06:27]Processing tag 1006 (03EE) [00:06:27]Load OK [00:06:27]SetTLVBufToDocument [00:06:27]Processing tag 1010 (03F2) [00:06:27]Malloc new data [00:06:27]Processing tag 1011 (03F3) [00:06:27]Malloc new data [00:06:27]SetTLVBufToDocument err=0 [00:06:27]Processing tag 1006 (03EE) [00:06:27]Load OK [00:06:27]SetTLVBufToDocument [00:06:27]Processing tag 1010 (03F2) [00:06:27]Malloc new data [00:06:27]Processing tag 1011 (03F3) [00:06:27]Malloc new data [00:06:27]SetTLVBufToDocument err=0 [00:06:27]Processing tag 1007 (03EF) [00:06:27]Load OK [00:06:27]SetTLVBufToDocument [00:06:27]Processing tag 1014 (03F6) [00:06:27]Malloc new data [00:06:27]Processing tag 1015 (03F7) [00:06:27]Malloc new data [00:06:27]SetTLVBufToDocument err=0 [00:06:27]Processing tag 1007 (03EF) [00:06:27]Load OK [00:06:27]SetTLVBufToDocument [00:06:27]Processing tag 1014 (03F6) [00:06:27]Malloc new data [00:06:27]Processing tag 1015 (03F7) [00:06:27]Malloc new data [00:06:27]SetTLVBufToDocument err=0 [00:06:27]Processing tag 1007 (03EF) [00:06:27]Load OK [00:06:27]SetTLVBufToDocument [00:06:27]Processing tag 1014 (03F6) [00:06:27]Malloc new data [00:06:27]Processing tag 1015 (03F7) [00:06:27]Malloc new data [00:06:27]SetTLVBufToDocument err=0 [00:06:27]Processing tag 1007 (03EF) [00:06:27]Load OK [00:06:27]SetTLVBufToDocument [00:06:27]Processing tag 1014 (03F6) [00:06:27]Malloc new data [00:06:27]Processing tag 1015 (03F7) [00:06:27]Malloc new data [00:06:27]SetTLVBufToDocument err=0 [00:06:27]Processing tag 1007 (03EF) [00:06:27]Load OK [00:06:27]SetTLVBufToDocument [00:06:27]Processing tag 1014 (03F6) [00:06:27]Malloc new data [00:06:27]Processing tag 1015 (03F7) [00:06:27]Malloc new data [00:06:27]SetTLVBufToDocument err=0 [00:06:27]Processing tag 1007 (03EF) [00:06:27]Load OK [00:06:27]SetTLVBufToDocument [00:06:27]Processing tag 1014 (03F6) [00:06:27]Malloc new data [00:06:27]Processing tag 1015 (03F7) [00:06:27]Malloc new data [00:06:27]SetTLVBufToDocument err=0 [00:06:27]Processing tag 1007 (03EF) [00:06:27]Load OK [00:06:27]SetTLVBufToDocument [00:06:27]Processing tag 1014 (03F6) [00:06:27]Malloc new data [00:06:27]Processing tag 1015 (03F7) [00:06:27]Malloc new data [00:06:27]SetTLVBufToDocument err=0 [00:06:27]SetTLVBufToDocument err=0 [00:06:27]SetTLVBufToDocument err=0 [00:06:27]Processing tag 1132 (046C) [00:06:27]Load OK [00:06:27]SetTLVBufToDocument [00:06:27]Processing tag 1135 (046F) [00:06:27]Malloc new data [00:06:27]Processing tag 1201 (04B1) [00:06:27]Malloc new data [00:06:27]Processing tag 1136 (0470) [00:06:27]Malloc new data [00:06:27]Processing tag 1138 (0472) [00:06:27]Malloc new data [00:06:27]Processing tag 1024 (0400) [00:06:27]Load OK [00:06:27]SetTLVBufToDocument [00:06:27]Processing tag 1006 (03EE) [00:06:27]Load OK [00:06:27]SetTLVBufToDocument [00:06:27]Processing tag 1010 (03F2) [00:06:27]Malloc new data [00:06:27]Processing tag 1011 (03F3) [00:06:27]Malloc new data [00:06:27]SetTLVBufToDocument err=0 [00:06:27]Processing tag 1006 (03EE) [00:06:27]Load OK [00:06:27]SetTLVBufToDocument [00:06:27]Processing tag 1010 (03F2) [00:06:27]Malloc new data [00:06:27]Processing tag 1011 (03F3) [00:06:27]Malloc new data [00:06:27]SetTLVBufToDocument err=0 [00:06:27]Processing tag 1007 (03EF) [00:06:27]Load OK [00:06:27]SetTLVBufToDocument [00:06:27]Processing tag 1014 (03F6) [00:06:27]Malloc new data [00:06:27]Processing tag 1015 (03F7) [00:06:27]Malloc new data [00:06:27]SetTLVBufToDocument err=0 [00:06:27]Processing tag 1007 (03EF) [00:06:27]Load OK [00:06:27]SetTLVBufToDocument [00:06:27]Processing tag 1014 (03F6) [00:06:27]Malloc new data [00:06:27]Processing tag 1015 (03F7) [00:06:27]Malloc new data [00:06:27]SetTLVBufToDocument err=0 [00:06:27]Processing tag 1007 (03EF) [00:06:27]Load OK [00:06:27]SetTLVBufToDocument [00:06:27]Processing tag 1014 (03F6) [00:06:27]Malloc new data [00:06:27]Processing tag 1015 (03F7) [00:06:27]Malloc new data [00:06:27]SetTLVBufToDocument err=0 [00:06:27]Processing tag 1007 (03EF) [00:06:27]Load OK [00:06:27]SetTLVBufToDocument [00:06:27]Processing tag 1014 (03F6) [00:06:27]Malloc new data [00:06:27]Processing tag 1015 (03F7) [00:06:27]Malloc new data [00:06:27]SetTLVBufToDocument err=0 [00:06:27]Processing tag 1007 (03EF) [00:06:27]Load OK [00:06:27]SetTLVBufToDocument [00:06:27]Processing tag 1014 (03F6) [00:06:27]Malloc new data [00:06:27]Processing tag 1015 (03F7) [00:06:27]Malloc new data [00:06:27]SetTLVBufToDocument err=0 [00:06:27]Processing tag 1007 (03EF) [00:06:27]Load OK [00:06:27]SetTLVBufToDocument [00:06:27]Processing tag 1014 (03F6) [00:06:27]Malloc new data [00:06:27]Processing tag 1015 (03F7) [00:06:27]Malloc new data [00:06:27]SetTLVBufToDocument err=0 [00:06:27]Processing tag 1007 (03EF) [00:06:27]Load OK [00:06:27]SetTLVBufToDocument [00:06:27]Processing tag 1014 (03F6) [00:06:27]Malloc new data [00:06:27]Processing tag 1015 (03F7) [00:06:27]Malloc new data [00:06:27]SetTLVBufToDocument err=0 [00:06:27]SetTLVBufToDocument err=0 [00:06:27]SetTLVBufToDocument err=0 [00:06:27]Processing tag 1133 (046D) [00:06:27]Malloc new data [00:06:27]SetTLVBufToDocument err=0 [00:06:27]SetTLVBufToDocument err=0 [00:06:27]Malloc new data [00:06:27]SAM_PROTO_GetFMData [00:06:27]wFMCommunicate request_size=4 [00:06:27]MH_SAM_APDU [00:06:27]CAPDU: 80 13 03 00 [00:06:27]Write to MH i2c: E2 08 00 C7 0F 80 13 03 00 00 00 00 00 55 [00:06:27]Write i2c OK [00:06:27]MH_I2C_Read... [00:06:28]OFD Sender: No OFD packet to send [00:06:28]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:06:28]Read from MH i2c: E2 [00:06:28]MH_I2C_Read... [00:06:28]Read from MH i2c: E2 FD 00 [00:06:28]MH_I2C_Read... [00:06:28]Read from MH i2c: E2 FD 00 C7 0F 00 C4 04 85 04 C0 04 6E 04 04 00 C8 7E 00 00 69 04 A0 00 6F 04 04 00 E7 7D 00 00 B1 04 04 00 A0 E8 88 3F 70 04 04 00 98 82 E3 34 72 04 04 00 08 66 A5 0A 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 9B 66 BF 06 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 9C E7 8F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 90 00 63 [00:06:28]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 C8 7E 00 00 69 04 A0 00 6F 04 04 00 E7 7D 00 00 B1 04 04 00 A0 E8 88 3F 70 04 04 00 98 82 E3 34 72 04 04 00 08 66 A5 0A 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 9B 66 BF 06 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 9C E7 8F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 90 00 [00:06:28]wFMCommunicate OK [00:06:28]wFMCommunicate request_size=4 [00:06:28]MH_SAM_APDU [00:06:28]CAPDU: 80 17 00 00 [00:06:28]Write to MH i2c: E2 08 00 C8 0F 80 17 00 00 00 00 00 00 57 [00:06:28]Write i2c OK [00:06:28]MH_I2C_Read... [00:06:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:06:28]Read from MH i2c: E2 [00:06:28]MH_I2C_Read... [00:06:28]Read from MH i2c: E2 FD 00 [00:06:28]MH_I2C_Read... [00:06:28]Read from MH i2c: E2 FD 00 C8 0F 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 14 [00:06:29]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [00:06:29]wFMCommunicate OK [00:06:29]wFMCommunicate request_size=4 [00:06:29]MH_SAM_APDU [00:06:29]CAPDU: 80 17 00 00 [00:06:29]Write to MH i2c: E2 08 00 C9 0F 80 17 00 00 00 00 00 00 58 [00:06:29]Write i2c OK [00:06:29]MH_I2C_Read... [00:06:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:06:29]Read from MH i2c: E2 [00:06:29]MH_I2C_Read... [00:06:29]Read from MH i2c: E2 FD 00 [00:06:29]MH_I2C_Read... [00:06:29]Read from MH i2c: E2 FD 00 C9 0F 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 6D [00:06:29]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [00:06:29]wFMCommunicate OK [00:06:29]wFMCommunicate request_size=4 [00:06:29]MH_SAM_APDU [00:06:29]CAPDU: 80 17 00 00 [00:06:29]Write to MH i2c: E2 08 00 CA 0F 80 17 00 00 00 00 00 00 59 [00:06:29]Write i2c OK [00:06:29]MH_I2C_Read... [00:06:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:06:30]Read from MH i2c: E2 [00:06:30]MH_I2C_Read... [00:06:30]Read from MH i2c: E2 FD 00 [00:06:30]MH_I2C_Read... [00:06:30]Read from MH i2c: E2 FD 00 CA 0F 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 D1 [00:06:30]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [00:06:30]wFMCommunicate OK [00:06:30]wFMCommunicate request_size=4 [00:06:30]MH_SAM_APDU [00:06:30]CAPDU: 80 17 00 00 [00:06:30]Write to MH i2c: E2 08 00 CB 0F 80 17 00 00 00 00 00 00 5A [00:06:30]Write i2c OK [00:06:30]MH_I2C_Read... [00:06:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [00:06:30]Read from MH i2c: E2 [00:06:30]MH_I2C_Read... [00:06:30]Read from MH i2c: E2 E1 00 [00:06:30]MH_I2C_Read... [00:06:30]Read from MH i2c: E2 E1 00 CB 0F 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 48 [00:06:30]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:06:30]wFMCommunicate OK [00:06:30]SAM_PROTO_GetFMData done [00:06:30]FM_GetFMData:85 04 C0 04 6E 04 04 00 C8 7E 00 00 69 04 A0 00 6F 04 04 00 E7 7D 00 00 B1 04 04 00 A0 E8 88 3F 70 04 04 00 98 82 E3 34 72 04 04 00 08 66 A5 0A 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 9B 66 BF 06 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 9C E7 8F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B 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 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [00:06:31]oper:6F 04 04 00 E7 7D 00 00 B1 04 04 00 A0 E8 88 3F 70 04 04 00 98 82 E3 34 72 04 04 00 08 66 A5 0A 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 9B 66 BF 06 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 9C E7 8F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [00:06:31]total:A0 E8 88 3F [00:06:31]Malloc new data [00:06:31]oper:6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B 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 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [00:06:31]total:BC 87 2D 02 [00:06:31]Malloc new data [00:06:31]oper:6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [00:06:31]total: [00:06:31]Malloc new data [00:06:31]oper:6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [00:06:31]total: [00:06:31]Malloc new data [00:06:31]KKMPrepareXReportFMData err=0 [00:06:31]Х отчет ИНН: 02508201610067 Кассир: Аширова Д. 12.07.2024 00:06 Смена: 266 РНМ: 0000000000093033 ЗНМ: 0300000122 СНО: Общий режим Всего чеков: 75 ИТОГИ ПРИХОД Чеков: 75 Общий итог: 25618.63 Итого наличными: 15327.00 Итого безнал.: 10291.63 НДС 0% : 0.00 НДС 12% : 2721.24 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 226.73 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 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 Нал. в кассе: 15327.00 НС Приход: 10659370.56 НС Возвр.Прихода: 365383.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФМ: 0000000000875104 [00:06:31]StoreToDocumentArchive [00:06:31]MH_GetDate [00:06:31]Write to MH i2c: F0 00 00 CC 0F CA [00:06:31]Write i2c OK [00:06:31]MH_I2C_Read... [00:06:31]Read from MH i2c: F0 [00:06:31]MH_I2C_Read... [00:06:31]Read from MH i2c: F0 09 00 [00:06:31]MH_I2C_Read... [00:06:31]Read from MH i2c: F0 09 00 CC 0F 00 8A 73 90 66 AD 14 F4 65 E0 [00:06:31]shift 266 fd 1720742794 [00:06:31]Create dir for shift 0266 [00:06:31]save to /storage/0266/doc_1720742794 [00:06:31]save last doc name /storage/0266/doc_1720742794 to /storage/kkm_last_doc_name [00:06:31]save OK [00:06:31]Clear old archive folders... [00:06:31]NVStorageSaveData kkm_last_timestamp [00:06:31]File name is /storage/kkm_last_timestamp [00:06:31]Write 4 bytes [00:06:31]NVStorageSaveData done [00:06:31]ExternCall_PrintAddStr [00:06:31]wPrintStart [00:06:31]Write to MH i2c: 01 00 00 CD 0F DC [00:06:31]Write i2c OK [00:06:31]MH_I2C_Read... [00:06:31]Read from MH i2c: 01 [00:06:31]MH_I2C_Read... [00:06:31]Read from MH i2c: 01 07 00 [00:06:31]MH_I2C_Read... [00:06:31]Read from MH i2c: 01 07 00 CD 0F 00 00 00 00 00 FF 0F F1 [00:06:31]RasterBufferAndPrint [00:06:31]line Х отчет [00:06:31]line ИНН: 02508201610067 [00:06:31]line Кассир: Аширова Д. [00:06:31]line 12.07.2024 00:06 [00:06:31]line Смена: 266 [00:06:31]line РНМ: 0000000000093033 [00:06:31]line ЗНМ: 0300000122 [00:06:31]line СНО: Общий режим [00:06:31]line Всего чеков: 75 [00:06:31]line ИТОГИ ПРИХОД [00:06:31]line Чеков: 75 [00:06:31]line Общий итог: 25618.63 [00:06:31]line Итого наличными: 15327.00 [00:06:31]line Итого безнал.: 10291.63 [00:06:31]line НДС 0% : 0.00 [00:06:31]line НДС 12% : 2721.24 [00:06:31]line НСП 0% : 0.00 [00:06:31]line НСП 1,50% : 0.00 [00:06:31]line НСП 0,50% : 0.00 [00:06:31]line НСП 5% : 0.00 [00:06:31]line НСП 3% : 0.00 [00:06:31]line НСП 2% : 0.00 [00:06:31]line НСП 1% : 226.73 [00:06:31]line ИТОГИ ВОЗВРАТ ПРИХОДА [00:06:31]line Чеков: 0 [00:06:31]line Общий итог: 0.00 [00:06:31]line Итого наличными: 0.00 [00:06:31]line Итого безнал.: 0.00 [00:06:31]line НДС 0% : 0.00 [00:06:31]line НДС 12% : 0.00 [00:06:31]line НСП 0% : 0.00 [00:06:31]line НСП 1,50% : 0.00 [00:06:31]line НСП 0,50% : 0.00 [00:06:31]line НСП 5% : 0.00 [00:06:31]line НСП 3% : 0.00 [00:06:31]line НСП 2% : 0.00 [00:06:31]line НСП 1% : 0.00 [00:06:31]line ИТОГИ РАСХОД [00:06:31]line Чеков: 0 [00:06:31]line Общий итог: 0.00 [00:06:31]line Итого наличными: 0.00 [00:06:31]line Итого безнал.: 0.00 [00:06:31]line НДС 0% : 0.00 [00:06:31]line НДС 12% : 0.00 [00:06:31]line НСП 0% : 0.00 [00:06:31]line НСП 1,50% : 0.00 [00:06:31]line НСП 0,50% : 0.00 [00:06:31]line НСП 5% : 0.00 [00:06:31]line НСП 3% : 0.00 [00:06:31]line НСП 2% : 0.00 [00:06:31]line НСП 1% : 0.00 [00:06:31]line ИТОГИ ВОЗВРАТ РАСХОДА [00:06:31]line Чеков: 0 [00:06:31]line Общий итог: 0.00 [00:06:31]line Итого наличными: 0.00 [00:06:31]line Итого безнал.: 0.00 [00:06:31]line НДС 0% : 0.00 [00:06:31]line НДС 12% : 0.00 [00:06:31]line НСП 0% : 0.00 [00:06:31]line НСП 1,50% : 0.00 [00:06:31]line НСП 0,50% : 0.00 [00:06:31]line НСП 5% : 0.00 [00:06:31]line НСП 3% : 0.00 [00:06:31]line НСП 2% : 0.00 [00:06:31]line НСП 1% : 0.00 [00:06:31]line Сумма внесений: 0.00 [00:06:31]line Сумма выплат: 0.00 [00:06:31]line Нал. в кассе: 15327.00 [00:06:31]line НС Приход: 10659370.56 [00:06:31]line НС Возвр.Прихода: 365383.00 [00:06:31]line НС Расход: 0.00 [00:06:31]line НС Возвр.Расхода: 0.00 [00:06:31]line ФМ: 0000000000875104 [00:06:31]written 0, free lines is 4095 [00:06:32]Write to MH i2c: 01 00 00 18 10 28 [00:06:32]Write i2c OK [00:06:32]MH_I2C_Read... [00:06:32]Read from MH i2c: 01 [00:06:32]MH_I2C_Read... [00:06:32]Read from MH i2c: 01 07 00 [00:06:32]MH_I2C_Read... [00:06:32]Read from MH i2c: 01 07 00 18 10 00 00 00 00 00 B1 0A EA [00:06:32]RasterBufferAndPrint [00:06:32]line [00:06:32]line [00:06:32]line [00:06:32]line [00:06:32]line [00:06:32]written 0, free lines is 2772 [00:06:32]MH_Cut [00:06:32]Write to MH i2c: D1 01 00 1F 10 01 01 [00:06:32]Write i2c OK [00:06:32]MH_I2C_Read... [00:06:32]Read from MH i2c: D1 [00:06:32]MH_I2C_Read... [00:06:32]Read from MH i2c: D1 01 00 [00:06:32]MH_I2C_Read... [00:06:32]Read from MH i2c: D1 01 00 1F 10 00 00 [00:06:32]Write to MH i2c: 01 00 00 20 10 30 [00:06:32]Write i2c OK [00:06:32]MH_I2C_Read... [00:06:33]OFD Sender: No OFD packet to send [00:06:33]*** Cut start [00:06:33]*** Partial cut [00:06:33]*** CUTSNS_PIN = 1 [00:06:33]*** CUTSNS_PIN = 0 [00:06:34]*** Brake cut motor [00:06:34]Read from MH i2c: 01 [00:06:34]MH_I2C_Read... [00:06:34]*** Stop cut motor [00:06:34]*** Cut end [00:06:34]Read from MH i2c: 01 07 00 [00:06:34]MH_I2C_Read... [00:06:34]Read from MH i2c: 01 07 00 20 10 00 00 00 00 00 FF 0F 45 [00:06:34]process_action x_report done [00:06:34]requested_data is exist [00:06:34]produce_requested_data [00:06:34]requested_item fd.num is exist - process it [00:06:34]SAM_PROTO_GetFieldsCounters [00:06:34]wFMCommunicate request_size=4 [00:06:34]MH_SAM_APDU [00:06:34]CAPDU: 80 13 00 00 [00:06:34]Write to MH i2c: E2 08 00 21 10 80 13 00 00 00 00 00 00 AD [00:06:34]Write i2c OK [00:06:34]MH_I2C_Read... [00:06:34]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:06:34]Read from MH i2c: E2 [00:06:34]MH_I2C_Read... [00:06:34]Read from MH i2c: E2 62 00 [00:06:34]MH_I2C_Read... [00:06:34]Read from MH i2c: E2 62 00 21 10 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 28 82 00 00 0E 04 04 00 B0 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 FC [00:06: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 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 28 82 00 00 0E 04 04 00 B0 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 [00:06:34]wFMCommunicate OK [00:06:34]SAM_PROTO_GetFieldsCounters done [00:06:34]requested_item shift.num is exist - process it [00:06:34]requested_item shift.opened is exist - process it [00:06:34]req_shift_opened [00:06:34]FM_GetShiftState [00:06:34]SAM_PROTO_GetShiftState [00:06:34]wFMCommunicate request_size=4 [00:06:34]MH_SAM_APDU [00:06:34]CAPDU: 80 13 01 00 [00:06:34]Write to MH i2c: E2 08 00 22 10 80 13 01 00 00 00 00 00 AF [00:06:34]Write i2c OK [00:06:34]MH_I2C_Read... [00:06:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:06:34]Read from MH i2c: E2 [00:06:34]MH_I2C_Read... [00:06:34]Read from MH i2c: E2 0E 00 [00:06:34]MH_I2C_Read... [00:06:34]Read from MH i2c: E2 0E 00 22 10 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 E0 [00:06:34]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [00:06:34]wFMCommunicate OK [00:06:34]SAM_PROTO_GetShiftState done [00:06:34]FM_GetShiftState done [00:06:34]req_shift_opened done [00:06:34]requested_item shift.open_date is exist - process it [00:06:34]req_shift_open_date [00:06:34]req_shift_open_date done [00:06:34]produce_requested_data done [00:06:34]produce_requested_data return {"fd.num":33320,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398} [00:06:34]process_action_free x_report [00:06:34]json_value_free [00:06:34]json_value_free done [00:06:34]process_json_proto returns [00:06:34]Send response to host [00:06:34]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":33320,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398}}} [00:06:34]free response buf [00:06:34]execute_script done [00:06:34]execute_script returns [00:06:34]free content buf [00:06:34]Sock 7.Close socket [00:06:34]Sock 7.Thread stoped [00:06:38]OFD Sender: No OFD packet to send [00:06:43]OFD Sender: No OFD packet to send [00:06:48]OFD Sender: No OFD packet to send [00:06:53]OFD Sender: No OFD packet to send [00:06:58]OFD Sender: No OFD packet to send [00:07:03]OFD Sender: No OFD packet to send [00:07:06]accept exits with 9 [00:07:06]New connection [00:07:06]New thread 3066936676 created [00:07:06]Thread 3066793316 joined [00:07:06]Waiting for new connection... [00:07:06] Sock 9.Parse request [00:07:06]Sock 9.Check first char [00:07:06]Sock 9.First char is OK [00:07:06]request: POST /json_proto HTTP/1.0 [00:07:06]Method: POST [00:07:06]URL: /json_proto [00:07:06]Method is POST - this is cgi request [00:07:06]url: /json_proto [00:07:06]query_string will be loaded in cgi processing [00:07:06]execute_cgi json_proto POST (null) [00:07:06]execute_cgi path=json_proto method=POST [00:07:06]POST find Content-Length [00:07:06]Host: 172.17.35.196:8080 [00:07:06]Content-Length: 215 [00:07:06]Content-Type: application/json [00:07:06] [00:07:06]POST finish read [00:07:06]Found Content-Length = 215 [00:07:06]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:07:06]execute_script... [00:07:06]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:07:06]POST & json_proto [00:07:06]process_json_proto [00:07:06]json parsed OK: [00:07:06]protocol is kg_v1.0 [00:07:06]action value=get_value [00:07:06]process_action get_value [00:07:06]cmd_get_value [00:07:06]process_action get_value done [00:07:06]requested_data is exist [00:07:06]produce_requested_data [00:07:06]requested_item kkm.sn is exist - process it [00:07:06]requested_item kkm.ver is exist - process it [00:07:06]requested_item fm.sn is exist - process it [00:07:06]wFMCommunicate request_size=4 [00:07:06]MH_SAM_APDU [00:07:06]CAPDU: 80 11 00 00 [00:07:06]Write to MH i2c: E2 08 00 23 10 80 11 00 00 00 00 00 00 AD [00:07:06]Write i2c OK [00:07:06]MH_I2C_Read... [00:07:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:07:06]Read from MH i2c: E2 [00:07:06]MH_I2C_Read... [00:07:06]Read from MH i2c: E2 17 00 [00:07:06]MH_I2C_Read... [00:07:06]Read from MH i2c: E2 17 00 23 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 F9 [00:07:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [00:07:06]wFMCommunicate OK [00:07:06]requested_item fd.num is exist - process it [00:07:06]SAM_PROTO_GetFieldsCounters [00:07:06]wFMCommunicate request_size=4 [00:07:06]MH_SAM_APDU [00:07:06]CAPDU: 80 13 00 00 [00:07:06]Write to MH i2c: E2 08 00 24 10 80 13 00 00 00 00 00 00 B0 [00:07:06]Write i2c OK [00:07:06]MH_I2C_Read... [00:07:06]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:07:06]Read from MH i2c: E2 [00:07:06]MH_I2C_Read... [00:07:06]Read from MH i2c: E2 62 00 [00:07:06]MH_I2C_Read... [00:07:06]Read from MH i2c: E2 62 00 24 10 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 28 82 00 00 0E 04 04 00 B0 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 [00:07: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 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 28 82 00 00 0E 04 04 00 B0 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 [00:07:06]wFMCommunicate OK [00:07:06]SAM_PROTO_GetFieldsCounters done [00:07:06]requested_item shift.num is exist - process it [00:07:06]requested_item shift.opened is exist - process it [00:07:06]req_shift_opened [00:07:06]FM_GetShiftState [00:07:06]SAM_PROTO_GetShiftState [00:07:06]wFMCommunicate request_size=4 [00:07:06]MH_SAM_APDU [00:07:06]CAPDU: 80 13 01 00 [00:07:06]Write to MH i2c: E2 08 00 25 10 80 13 01 00 00 00 00 00 B2 [00:07:06]Write i2c OK [00:07:06]MH_I2C_Read... [00:07:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:07:06]Read from MH i2c: E2 [00:07:06]MH_I2C_Read... [00:07:06]Read from MH i2c: E2 0E 00 [00:07:06]MH_I2C_Read... [00:07:06]Read from MH i2c: E2 0E 00 25 10 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 E3 [00:07:06]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [00:07:06]wFMCommunicate OK [00:07:06]SAM_PROTO_GetShiftState done [00:07:06]FM_GetShiftState done [00:07:06]req_shift_opened done [00:07:06]requested_item shift.open_date is exist - process it [00:07:06]req_shift_open_date [00:07:06]req_shift_open_date done [00:07:06]produce_requested_data done [00:07:06]produce_requested_data return {"kkm.sn":"0300000122","kkm.ver":"001","fm.sn":"0000000000875104","fd.num":33320,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398} [00:07:06]process_action_free get_value [00:07:06]json_value_free [00:07:06]json_value_free done [00:07:06]process_json_proto returns [00:07:06]Send response to host [00:07:06]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000122","kkm.ver":"001","fm.sn":"0000000000875104","fd.num":33320,"shift.num":432,"shift.opened":1,"shift.open_date":1720656398}}} [00:07:06]free response buf [00:07:06]execute_script done [00:07:06]execute_script returns [00:07:06]free content buf [00:07:06]Sock 9.Close socket [00:07:06]Sock 9.Thread stoped [00:07:06]accept exits with 7 [00:07:06]New connection [00:07:06]New thread 3066793316 created [00:07:06]Thread 3066936676 joined [00:07:06]Waiting for new connection... [00:07:06] Sock 7.Parse request [00:07:06]Sock 7.Check first char [00:07:06]Sock 7.First char is OK [00:07:06]request: POST /json_proto HTTP/1.0 [00:07:06]Method: POST [00:07:06]URL: /json_proto [00:07:06]Method is POST - this is cgi request [00:07:06]url: /json_proto [00:07:06]query_string will be loaded in cgi processing [00:07:06]execute_cgi json_proto POST (null) [00:07:06]execute_cgi path=json_proto method=POST [00:07:06]POST find Content-Length [00:07:06]Host: 172.17.35.196:8080 [00:07:06]Content-Length: 331 [00:07:06]Content-Type: application/json [00:07:06] [00:07:06]POST finish read [00:07:06]Found Content-Length = 331 [00:07:06]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:07:06]execute_script... [00:07:06]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:07:06]POST & json_proto [00:07:06]process_json_proto [00:07:06]json parsed OK: [00:07:06]protocol is kg_v1.0 [00:07:06]action value=get_value [00:07:06]process_action get_value [00:07:06]cmd_get_value [00:07:06]process_action get_value done [00:07:06]requested_data is exist [00:07:06]produce_requested_data [00:07:06]requested_item fm.sale.total is exist - process it [00:07:06]SAM_PROTO_GetFMData [00:07:06]wFMCommunicate request_size=4 [00:07:06]MH_SAM_APDU [00:07:06]CAPDU: 80 13 03 00 [00:07:06]Write to MH i2c: E2 08 00 26 10 80 13 03 00 00 00 00 00 B5 [00:07:06]Write i2c OK [00:07:06]MH_I2C_Read... [00:07:06]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:07:06]Read from MH i2c: E2 [00:07:06]MH_I2C_Read... [00:07:06]Read from MH i2c: E2 FD 00 [00:07:06]MH_I2C_Read... [00:07:06]Read from MH i2c: E2 FD 00 26 10 00 C4 04 85 04 C0 04 6E 04 04 00 C8 7E 00 00 69 04 A0 00 6F 04 04 00 E7 7D 00 00 B1 04 04 00 A0 E8 88 3F 70 04 04 00 98 82 E3 34 72 04 04 00 08 66 A5 0A 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 9B 66 BF 06 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 9C E7 8F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 90 00 C3 [00:07:06]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 C8 7E 00 00 69 04 A0 00 6F 04 04 00 E7 7D 00 00 B1 04 04 00 A0 E8 88 3F 70 04 04 00 98 82 E3 34 72 04 04 00 08 66 A5 0A 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 9B 66 BF 06 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 9C E7 8F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 90 00 [00:07:06]wFMCommunicate OK [00:07:06]wFMCommunicate request_size=4 [00:07:06]MH_SAM_APDU [00:07:06]CAPDU: 80 17 00 00 [00:07:06]Write to MH i2c: E2 08 00 27 10 80 17 00 00 00 00 00 00 B7 [00:07:06]Write i2c OK [00:07:06]MH_I2C_Read... [00:07:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:07:07]Read from MH i2c: E2 [00:07:07]MH_I2C_Read... [00:07:07]Read from MH i2c: E2 FD 00 [00:07:07]MH_I2C_Read... [00:07:07]Read from MH i2c: E2 FD 00 27 10 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 74 [00:07:07]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [00:07:07]wFMCommunicate OK [00:07:07]wFMCommunicate request_size=4 [00:07:07]MH_SAM_APDU [00:07:07]CAPDU: 80 17 00 00 [00:07:07]Write to MH i2c: E2 08 00 28 10 80 17 00 00 00 00 00 00 B8 [00:07:07]Write i2c OK [00:07:07]MH_I2C_Read... [00:07:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:07:07]Read from MH i2c: E2 [00:07:07]MH_I2C_Read... [00:07:07]Read from MH i2c: E2 FD 00 [00:07:07]MH_I2C_Read... [00:07:07]Read from MH i2c: E2 FD 00 28 10 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 CD [00:07:07]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [00:07:07]wFMCommunicate OK [00:07:07]wFMCommunicate request_size=4 [00:07:07]MH_SAM_APDU [00:07:07]CAPDU: 80 17 00 00 [00:07:07]Write to MH i2c: E2 08 00 29 10 80 17 00 00 00 00 00 00 B9 [00:07:07]Write i2c OK [00:07:07]MH_I2C_Read... [00:07:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:07:07]Read from MH i2c: E2 [00:07:07]MH_I2C_Read... [00:07:07]Read from MH i2c: E2 FD 00 [00:07:07]MH_I2C_Read... [00:07:07]Read from MH i2c: E2 FD 00 29 10 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 31 [00:07:07]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [00:07:07]wFMCommunicate OK [00:07:07]wFMCommunicate request_size=4 [00:07:07]MH_SAM_APDU [00:07:07]CAPDU: 80 17 00 00 [00:07:07]Write to MH i2c: E2 08 00 2A 10 80 17 00 00 00 00 00 00 BA [00:07:07]Write i2c OK [00:07:07]MH_I2C_Read... [00:07:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [00:07:07]Read from MH i2c: E2 [00:07:07]MH_I2C_Read... [00:07:07]Read from MH i2c: E2 E1 00 [00:07:07]MH_I2C_Read... [00:07:07]Read from MH i2c: E2 E1 00 2A 10 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 A8 [00:07:08]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:07:08]wFMCommunicate OK [00:07:08]SAM_PROTO_GetFMData done [00:07:08]requested_item fm.sale_refund.total is exist - process it [00:07:08]requested_item fm.buy.total is exist - process it [00:07:08]requested_item shift.sale.total is exist - process it [00:07:08]SAM_PROTO_GetShiftData [00:07:08]wFMCommunicate request_size=4 [00:07:08]MH_SAM_APDU [00:07:08]CAPDU: 80 13 02 00 [00:07:08]Write to MH i2c: E2 08 00 2B 10 80 13 02 00 00 00 00 00 B9 [00:07:08]Write i2c OK [00:07:08]MH_I2C_Read... [00:07:08]OFD Sender: No OFD packet to send [00:07:08]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:07:08]Read from MH i2c: E2 [00:07:08]MH_I2C_Read... [00:07:08]Read from MH i2c: E2 FD 00 [00:07:08]MH_I2C_Read... [00:07:08]Read from MH i2c: E2 FD 00 2B 10 00 AE 04 AA 04 AA 04 6E 04 04 00 4B 00 00 00 69 04 9B 00 6F 04 04 00 4B 00 00 00 B1 04 03 00 47 17 27 70 04 03 00 1C 63 17 72 04 03 00 2B B4 0F 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 26 04 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 91 58 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 28 [00:07:08]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 4B 00 00 00 69 04 9B 00 6F 04 04 00 4B 00 00 00 B1 04 03 00 47 17 27 70 04 03 00 1C 63 17 72 04 03 00 2B B4 0F 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 26 04 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 91 58 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:07:08]wFMCommunicate OK [00:07:08]wFMCommunicate request_size=4 [00:07:08]MH_SAM_APDU [00:07:08]CAPDU: 80 17 00 00 [00:07:08]Write to MH i2c: E2 08 00 2C 10 80 17 00 00 00 00 00 00 BC [00:07:08]Write i2c OK [00:07:08]MH_I2C_Read... [00:07:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:07:08]Read from MH i2c: E2 [00:07:08]MH_I2C_Read... [00:07:08]Read from MH i2c: E2 FD 00 [00:07:08]MH_I2C_Read... [00:07:08]Read from MH i2c: E2 FD 00 2C 10 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 DE [00:07:08]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:07:08]wFMCommunicate OK [00:07:08]wFMCommunicate request_size=4 [00:07:08]MH_SAM_APDU [00:07:08]CAPDU: 80 17 00 00 [00:07:08]Write to MH i2c: E2 08 00 2D 10 80 17 00 00 00 00 00 00 BD [00:07:08]Write i2c OK [00:07:08]MH_I2C_Read... [00:07:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:07:09]Read from MH i2c: E2 [00:07:09]MH_I2C_Read... [00:07:09]Read from MH i2c: E2 FD 00 [00:07:09]MH_I2C_Read... [00:07:09]Read from MH i2c: E2 FD 00 2D 10 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 74 [00:07:09]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:07:09]wFMCommunicate OK [00:07:09]wFMCommunicate request_size=4 [00:07:09]MH_SAM_APDU [00:07:09]CAPDU: 80 17 00 00 [00:07:09]Write to MH i2c: E2 08 00 2E 10 80 17 00 00 00 00 00 00 BE [00:07:09]Write i2c OK [00:07:09]MH_I2C_Read... [00:07:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:07:09]Read from MH i2c: E2 [00:07:09]MH_I2C_Read... [00:07:09]Read from MH i2c: E2 FD 00 [00:07:09]MH_I2C_Read... [00:07:09]Read from MH i2c: E2 FD 00 2E 10 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 30 [00:07:09]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:07:09]wFMCommunicate OK [00:07:09]wFMCommunicate request_size=4 [00:07:09]MH_SAM_APDU [00:07:09]CAPDU: 80 17 00 00 [00:07:09]Write to MH i2c: E2 08 00 2F 10 80 17 00 00 00 00 00 00 BF [00:07:09]Write i2c OK [00:07:09]MH_I2C_Read... [00:07:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:07:09]Read from MH i2c: E2 [00:07:09]MH_I2C_Read... [00:07:09]Read from MH i2c: E2 CB 00 [00:07:09]MH_I2C_Read... [00:07:09]Read from MH i2c: E2 CB 00 2F 10 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 A8 [00:07:09]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:07:09]wFMCommunicate OK [00:07:09]SAM_PROTO_GetShiftData done [00:07:09]requested_item shift.sale.total_cash is exist - process it [00:07:09]requested_item shift.sale_refund.total is exist - process it [00:07:09]requested_item shift.sale_refund.total_cash is exist - process it [00:07:09]requested_item shift.buy.total is exist - process it [00:07:09]requested_item shift.buy.total_cash is exist - process it [00:07:09]produce_requested_data done [00:07:09]produce_requested_data return {"fm.sale.total":10659370.56,"fm.sale_refund.total":365383.00,"fm.buy.total":0.00,"shift.sale.total":25618.63,"shift.sale.total_cash":15327.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:07:09]process_action_free get_value [00:07:09]json_value_free [00:07:09]json_value_free done [00:07:09]process_json_proto returns [00:07:09]Send response to host [00:07:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":10659370.56,"fm.sale_refund.total":365383.00,"fm.buy.total":0.00,"shift.sale.total":25618.63,"shift.sale.total_cash":15327.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:07:09]free response buf [00:07:09]execute_script done [00:07:09]execute_script returns [00:07:09]free content buf [00:07:09]Sock 7.Close socket [00:07:09]Sock 7.Thread stoped [00:07:10]accept exits with 9 [00:07:10]New connection [00:07:10]New thread 3066936676 created [00:07:10]Thread 3066793316 joined [00:07:10]Waiting for new connection... [00:07:10] Sock 9.Parse request [00:07:10]Sock 9.Check first char [00:07:10]Sock 9.First char is OK [00:07:10]request: POST /json_proto HTTP/1.0 [00:07:10]Method: POST [00:07:10]URL: /json_proto [00:07:10]Method is POST - this is cgi request [00:07:10]url: /json_proto [00:07:10]query_string will be loaded in cgi processing [00:07:10]execute_cgi json_proto POST (null) [00:07:10]execute_cgi path=json_proto method=POST [00:07:10]POST find Content-Length [00:07:10]Host: 172.17.35.196:8080 [00:07:10]Content-Length: 331 [00:07:10]Content-Type: application/json [00:07:10] [00:07:10]POST finish read [00:07:10]Found Content-Length = 331 [00:07: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" ] } } [00:07:10]execute_script... [00:07: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" ] } } [00:07:10]POST & json_proto [00:07:10]process_json_proto [00:07:10]json parsed OK: [00:07:10]protocol is kg_v1.0 [00:07:10]action value=get_value [00:07:10]process_action get_value [00:07:10]cmd_get_value [00:07:10]process_action get_value done [00:07:10]requested_data is exist [00:07:10]produce_requested_data [00:07:10]requested_item fm.sale.total is exist - process it [00:07:10]SAM_PROTO_GetFMData [00:07:10]wFMCommunicate request_size=4 [00:07:10]MH_SAM_APDU [00:07:10]CAPDU: 80 13 03 00 [00:07:10]Write to MH i2c: E2 08 00 30 10 80 13 03 00 00 00 00 00 BF [00:07:10]Write i2c OK [00:07:10]MH_I2C_Read... [00:07:10]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:07:10]Read from MH i2c: E2 [00:07:10]MH_I2C_Read... [00:07:10]Read from MH i2c: E2 FD 00 [00:07:10]MH_I2C_Read... [00:07:10]Read from MH i2c: E2 FD 00 30 10 00 C4 04 85 04 C0 04 6E 04 04 00 C8 7E 00 00 69 04 A0 00 6F 04 04 00 E7 7D 00 00 B1 04 04 00 A0 E8 88 3F 70 04 04 00 98 82 E3 34 72 04 04 00 08 66 A5 0A 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 9B 66 BF 06 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 9C E7 8F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 90 00 CD [00:07:10]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 C8 7E 00 00 69 04 A0 00 6F 04 04 00 E7 7D 00 00 B1 04 04 00 A0 E8 88 3F 70 04 04 00 98 82 E3 34 72 04 04 00 08 66 A5 0A 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 9B 66 BF 06 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 9C E7 8F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 90 00 [00:07:10]wFMCommunicate OK [00:07:10]wFMCommunicate request_size=4 [00:07:10]MH_SAM_APDU [00:07:10]CAPDU: 80 17 00 00 [00:07:10]Write to MH i2c: E2 08 00 31 10 80 17 00 00 00 00 00 00 C1 [00:07:10]Write i2c OK [00:07:10]MH_I2C_Read... [00:07:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:07:10]Read from MH i2c: E2 [00:07:10]MH_I2C_Read... [00:07:10]Read from MH i2c: E2 FD 00 [00:07:10]MH_I2C_Read... [00:07:11]Read from MH i2c: E2 FD 00 31 10 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 7E [00:07:11]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [00:07:11]wFMCommunicate OK [00:07:11]wFMCommunicate request_size=4 [00:07:11]MH_SAM_APDU [00:07:11]CAPDU: 80 17 00 00 [00:07:11]Write to MH i2c: E2 08 00 32 10 80 17 00 00 00 00 00 00 C2 [00:07:11]Write i2c OK [00:07:11]MH_I2C_Read... [00:07:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:07:11]Read from MH i2c: E2 [00:07:11]MH_I2C_Read... [00:07:11]Read from MH i2c: E2 FD 00 [00:07:11]MH_I2C_Read... [00:07:11]Read from MH i2c: E2 FD 00 32 10 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 D7 [00:07:11]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [00:07:11]wFMCommunicate OK [00:07:11]wFMCommunicate request_size=4 [00:07:11]MH_SAM_APDU [00:07:11]CAPDU: 80 17 00 00 [00:07:11]Write to MH i2c: E2 08 00 33 10 80 17 00 00 00 00 00 00 C3 [00:07:11]Write i2c OK [00:07:11]MH_I2C_Read... [00:07:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:07:11]Read from MH i2c: E2 [00:07:11]MH_I2C_Read... [00:07:11]Read from MH i2c: E2 FD 00 [00:07:11]MH_I2C_Read... [00:07:11]Read from MH i2c: E2 FD 00 33 10 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 3B [00:07:11]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [00:07:12]wFMCommunicate OK [00:07:12]wFMCommunicate request_size=4 [00:07:12]MH_SAM_APDU [00:07:12]CAPDU: 80 17 00 00 [00:07:12]Write to MH i2c: E2 08 00 34 10 80 17 00 00 00 00 00 00 C4 [00:07:12]Write i2c OK [00:07:12]MH_I2C_Read... [00:07:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [00:07:12]Read from MH i2c: E2 [00:07:12]MH_I2C_Read... [00:07:12]Read from MH i2c: E2 E1 00 [00:07:12]MH_I2C_Read... [00:07:12]Read from MH i2c: E2 E1 00 34 10 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 B2 [00:07:12]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:07:12]wFMCommunicate OK [00:07:12]SAM_PROTO_GetFMData done [00:07:12]requested_item fm.sale_refund.total is exist - process it [00:07:12]requested_item fm.buy.total is exist - process it [00:07:12]requested_item shift.sale.total is exist - process it [00:07:12]SAM_PROTO_GetShiftData [00:07:12]wFMCommunicate request_size=4 [00:07:12]MH_SAM_APDU [00:07:12]CAPDU: 80 13 02 00 [00:07:12]Write to MH i2c: E2 08 00 35 10 80 13 02 00 00 00 00 00 C3 [00:07:12]Write i2c OK [00:07:12]MH_I2C_Read... [00:07:13]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:07:13]Read from MH i2c: E2 [00:07:13]MH_I2C_Read... [00:07:13]Read from MH i2c: E2 FD 00 [00:07:13]MH_I2C_Read... [00:07:13]Read from MH i2c: E2 FD 00 35 10 00 AE 04 AA 04 AA 04 6E 04 04 00 4B 00 00 00 69 04 9B 00 6F 04 04 00 4B 00 00 00 B1 04 03 00 47 17 27 70 04 03 00 1C 63 17 72 04 03 00 2B B4 0F 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 26 04 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 91 58 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 32 [00:07:13]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 4B 00 00 00 69 04 9B 00 6F 04 04 00 4B 00 00 00 B1 04 03 00 47 17 27 70 04 03 00 1C 63 17 72 04 03 00 2B B4 0F 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 26 04 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 91 58 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:07:13]wFMCommunicate OK [00:07:13]wFMCommunicate request_size=4 [00:07:13]MH_SAM_APDU [00:07:13]CAPDU: 80 17 00 00 [00:07:13]Write to MH i2c: E2 08 00 36 10 80 17 00 00 00 00 00 00 C6 [00:07:13]Write i2c OK [00:07:13]MH_I2C_Read... [00:07:13]OFD Sender: No OFD packet to send [00:07:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:07:13]Read from MH i2c: E2 [00:07:13]MH_I2C_Read... [00:07:13]Read from MH i2c: E2 FD 00 [00:07:13]MH_I2C_Read... [00:07:13]Read from MH i2c: E2 FD 00 36 10 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 E8 [00:07:13]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:07:13]wFMCommunicate OK [00:07:13]wFMCommunicate request_size=4 [00:07:13]MH_SAM_APDU [00:07:13]CAPDU: 80 17 00 00 [00:07:13]Write to MH i2c: E2 08 00 37 10 80 17 00 00 00 00 00 00 C7 [00:07:13]Write i2c OK [00:07:13]MH_I2C_Read... [00:07:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:07:13]Read from MH i2c: E2 [00:07:13]MH_I2C_Read... [00:07:13]Read from MH i2c: E2 FD 00 [00:07:13]MH_I2C_Read... [00:07:13]Read from MH i2c: E2 FD 00 37 10 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 7E [00:07:14]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:07:14]wFMCommunicate OK [00:07:14]wFMCommunicate request_size=4 [00:07:14]MH_SAM_APDU [00:07:14]CAPDU: 80 17 00 00 [00:07:14]Write to MH i2c: E2 08 00 38 10 80 17 00 00 00 00 00 00 C8 [00:07:14]Write i2c OK [00:07:14]MH_I2C_Read... [00:07:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:07:14]Read from MH i2c: E2 [00:07:14]MH_I2C_Read... [00:07:14]Read from MH i2c: E2 FD 00 [00:07:14]MH_I2C_Read... [00:07:14]Read from MH i2c: E2 FD 00 38 10 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 3A [00:07:14]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:07:14]wFMCommunicate OK [00:07:14]wFMCommunicate request_size=4 [00:07:14]MH_SAM_APDU [00:07:14]CAPDU: 80 17 00 00 [00:07:14]Write to MH i2c: E2 08 00 39 10 80 17 00 00 00 00 00 00 C9 [00:07:14]Write i2c OK [00:07:14]MH_I2C_Read... [00:07:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:07:14]Read from MH i2c: E2 [00:07:14]MH_I2C_Read... [00:07:14]Read from MH i2c: E2 CB 00 [00:07:14]MH_I2C_Read... [00:07:14]Read from MH i2c: E2 CB 00 39 10 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 B2 [00:07:14]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:07:15]wFMCommunicate OK [00:07:15]SAM_PROTO_GetShiftData done [00:07:15]requested_item shift.sale.total_cash is exist - process it [00:07:15]requested_item shift.sale_refund.total is exist - process it [00:07:15]requested_item shift.sale_refund.total_cash is exist - process it [00:07:15]requested_item shift.buy.total is exist - process it [00:07:15]requested_item shift.buy.total_cash is exist - process it [00:07:15]produce_requested_data done [00:07:15]produce_requested_data return {"fm.sale.total":10659370.56,"fm.sale_refund.total":365383.00,"fm.buy.total":0.00,"shift.sale.total":25618.63,"shift.sale.total_cash":15327.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:07:15]process_action_free get_value [00:07:15]json_value_free [00:07:15]json_value_free done [00:07:15]process_json_proto returns [00:07:15]Send response to host [00:07:15]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":10659370.56,"fm.sale_refund.total":365383.00,"fm.buy.total":0.00,"shift.sale.total":25618.63,"shift.sale.total_cash":15327.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:07:15]free response buf [00:07:15]execute_script done [00:07:15]execute_script returns [00:07:15]free content buf [00:07:15]Sock 9.Close socket [00:07:15]Sock 9.Thread stoped [00:07:15]accept exits with 7 [00:07:15]New connection [00:07:15]New thread 3066793316 created [00:07:15]Thread 3066936676 joined [00:07:15]Waiting for new connection... [00:07:15] Sock 7.Parse request [00:07:15]Sock 7.Check first char [00:07:15]Sock 7.First char is OK [00:07:15]request: POST /json_proto HTTP/1.0 [00:07:15]Method: POST [00:07:15]URL: /json_proto [00:07:15]Method is POST - this is cgi request [00:07:15]url: /json_proto [00:07:15]query_string will be loaded in cgi processing [00:07:15]execute_cgi json_proto POST (null) [00:07:15]execute_cgi path=json_proto method=POST [00:07:15]POST find Content-Length [00:07:15]Host: 172.17.35.196:8080 [00:07:15]Content-Length: 254 [00:07:15]Content-Type: application/json [00:07:15] [00:07:15]POST finish read [00:07:15]Found Content-Length = 254 [00:07:15]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u0410\u0448\u0438\u0440\u043E\u0432\u0430 \u0414. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:07:15]execute_script... [00:07:15]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u0410\u0448\u0438\u0440\u043E\u0432\u0430 \u0414. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:07:15]POST & json_proto [00:07:15]process_json_proto [00:07:15]json parsed OK: [00:07:15]protocol is kg_v1.0 [00:07:15]action value=close_shift [00:07:15]process_action close_shift [00:07:15]cmd_close_shift [00:07:15]MH_GetDate [00:07:15]Write to MH i2c: F0 00 00 3A 10 39 [00:07:15]Write i2c OK [00:07:15]MH_I2C_Read... [00:07:15]Read from MH i2c: F0 [00:07:15]MH_I2C_Read... [00:07:15]Read from MH i2c: F0 09 00 [00:07:15]MH_I2C_Read... [00:07:15]Read from MH i2c: F0 09 00 3A 10 00 B5 73 90 66 AD 14 F4 65 7A [00:07:15]GetLastDocTimeStamp 1720742786 [00:07:15]current date 1720742837 [00:07:15]FM_GetShiftState [00:07:15]SAM_PROTO_GetShiftState [00:07:15]wFMCommunicate request_size=4 [00:07:15]MH_SAM_APDU [00:07:15]CAPDU: 80 13 01 00 [00:07:15]Write to MH i2c: E2 08 00 3B 10 80 13 01 00 00 00 00 00 C8 [00:07:15]Write i2c OK [00:07:15]MH_I2C_Read... [00:07:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:07:15]Read from MH i2c: E2 [00:07:15]MH_I2C_Read... [00:07:15]Read from MH i2c: E2 0E 00 [00:07:15]MH_I2C_Read... [00:07:15]Read from MH i2c: E2 0E 00 3B 10 00 09 00 01 0E 22 8F 66 00 00 00 00 90 00 F9 [00:07:15]RAPDU: 09 00 01 0E 22 8F 66 00 00 00 00 90 00 [00:07:15]wFMCommunicate OK [00:07:15]SAM_PROTO_GetShiftState done [00:07:15]FM_GetShiftState done [00:07:15]KKMCreateCloseShiftDocument [00:07:15]Load OK [00:07:15]Malloc new data [00:07:15]MH_GetDate [00:07:15]Write to MH i2c: F0 00 00 3C 10 3B [00:07:15]Write i2c OK [00:07:15]MH_I2C_Read... [00:07:15]Read from MH i2c: F0 [00:07:15]MH_I2C_Read... [00:07:15]Read from MH i2c: F0 09 00 [00:07:15]MH_I2C_Read... [00:07:15]Read from MH i2c: F0 09 00 3C 10 00 B5 73 90 66 AD 14 F4 65 7C [00:07:15]Malloc new data [00:07:15]Malloc new data [00:07:15]Malloc new data [00:07:15]Malloc new data [00:07:15]KKMCreateCloseShiftDocument OK [00:07:15]KKMSetCloseShiftData OK [00:07:15]ProcessDocumentItem done err = 0, tmpTLVsize=69 [00:07:15]tlvbuf is 01D37D00 [00:07:15]KKMLoadAndSignCloseShiftData [00:07:15]SAM_PROTO_ProcessDocument [00:07:15]wFMCommunicate request_size=9 [00:07:15]MH_SAM_APDU [00:07:15]CAPDU: 80 15 01 00 04 05 00 45 00 [00:07:15]Write to MH i2c: E2 0C 00 3D 10 80 15 01 00 04 00 05 00 45 00 00 00 1E [00:07:15]Write i2c OK [00:07:15]MH_I2C_Read... [00:07:15]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [00:07:15]Read from MH i2c: E2 [00:07:15]MH_I2C_Read... [00:07:15]Read from MH i2c: E2 03 00 [00:07:15]MH_I2C_Read... [00:07:15]Read from MH i2c: E2 03 00 3D 10 00 90 00 C1 [00:07:15]RAPDU: 90 00 [00:07:15]wFMCommunicate OK [00:07:15]wFMCommunicate request_size=23 [00:07:15]MH_SAM_APDU [00:07:15]CAPDU: 80 15 02 00 12 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 [00:07:15]Write to MH i2c: E2 1A 00 3E 10 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 C3 [00:07:15]Write i2c OK [00:07:15]MH_I2C_Read... [00:07:15]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:07:15]Read from MH i2c: E2 [00:07:15]MH_I2C_Read... [00:07:15]Read from MH i2c: E2 03 00 [00:07:15]MH_I2C_Read... [00:07:15]Read from MH i2c: E2 03 00 3E 10 00 90 00 C2 [00:07:15]RAPDU: 90 00 [00:07:15]wFMCommunicate OK [00:07:15]wFMCommunicate request_size=28 [00:07:15]MH_SAM_APDU [00:07:15]CAPDU: 80 15 02 00 17 FD 03 13 00 D0 90 D1 88 D0 B8 D1 80 D0 BE D0 B2 D0 B0 20 D0 94 2E 20 [00:07:15]Write to MH i2c: E2 1F 00 3F 10 80 15 02 00 17 00 FD 03 13 00 D0 90 D1 88 D0 B8 D1 80 D0 BE D0 B2 D0 B0 20 D0 94 2E 20 00 00 04 [00:07:15]Write i2c OK [00:07:15]MH_I2C_Read... [00:07:15]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:07:15]Read from MH i2c: E2 [00:07:15]MH_I2C_Read... [00:07:15]Read from MH i2c: E2 03 00 [00:07:15]MH_I2C_Read... [00:07:15]Read from MH i2c: E2 03 00 3F 10 00 90 00 C3 [00:07:15]RAPDU: 90 00 [00:07:15]wFMCommunicate OK [00:07:15]wFMCommunicate request_size=13 [00:07:15]MH_SAM_APDU [00:07:15]CAPDU: 80 15 02 00 08 F4 03 04 00 B5 73 90 66 [00:07:15]Write to MH i2c: E2 10 00 40 10 80 15 02 00 08 00 F4 03 04 00 B5 73 90 66 00 00 F9 [00:07:15]Write i2c OK [00:07:15]MH_I2C_Read... [00:07:15]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:07:15]Read from MH i2c: E2 [00:07:15]MH_I2C_Read... [00:07:15]Read from MH i2c: E2 03 00 [00:07:15]MH_I2C_Read... [00:07:15]Read from MH i2c: E2 03 00 40 10 00 90 00 C4 [00:07:15]RAPDU: 90 00 [00:07:15]wFMCommunicate OK [00:07:15]wFMCommunicate request_size=25 [00:07:15]MH_SAM_APDU [00:07:15]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 [00:07:15]Write to MH i2c: E2 1C 00 41 10 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 00 00 2C [00:07:15]Write i2c OK [00:07:15]MH_I2C_Read... [00:07:15]Read from MH i2c: E2 [00:07:15]MH_I2C_Read... [00:07:15]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:07:15]Read from MH i2c: E2 03 00 [00:07:15]MH_I2C_Read... [00:07:15]Read from MH i2c: E2 03 00 41 10 00 90 00 C5 [00:07:15]RAPDU: 90 00 [00:07:15]wFMCommunicate OK [00:07:15]wFMCommunicate request_size=4 [00:07:15]MH_SAM_APDU [00:07:15]CAPDU: 80 15 03 00 [00:07:15]Write to MH i2c: E2 08 00 42 10 80 15 03 00 00 00 00 00 D3 [00:07:15]Write i2c OK [00:07:15]MH_I2C_Read... [00:07:16]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 250! [00:07:16]Read from MH i2c: E2 [00:07:16]MH_I2C_Read... [00:07:16]Read from MH i2c: E2 FD 00 [00:07:16]MH_I2C_Read... [00:07:16]Read from MH i2c: E2 FD 00 42 10 00 F1 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 29 82 00 00 0E 04 04 00 B0 01 00 00 5E 04 04 00 4B 00 00 00 57 04 04 00 4D 00 00 00 AA 04 AA 04 6E 04 04 00 4B 00 00 00 69 04 9B 00 6F 04 04 00 4B 00 00 00 B1 04 03 00 47 17 27 70 04 03 00 1C 63 17 72 04 03 00 2B B4 0F 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 26 04 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 91 58 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 CE [00:07:16]RAPDU: F1 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 29 82 00 00 0E 04 04 00 B0 01 00 00 5E 04 04 00 4B 00 00 00 57 04 04 00 4D 00 00 00 AA 04 AA 04 6E 04 04 00 4B 00 00 00 69 04 9B 00 6F 04 04 00 4B 00 00 00 B1 04 03 00 47 17 27 70 04 03 00 1C 63 17 72 04 03 00 2B B4 0F 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 26 04 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 91 58 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 [00:07:16]wFMCommunicate OK [00:07:16]SAM_PROTO_ProcessDocument answer len = 1265 [00:07:16]SAM_PROTO_ProcessDocument remain to read = 1017 [00:07:16]wFMCommunicate request_size=4 [00:07:16]MH_SAM_APDU [00:07:16]CAPDU: 80 17 00 00 [00:07:16]Write to MH i2c: E2 08 00 43 10 80 17 00 00 00 00 00 00 D3 [00:07:16]Write i2c OK [00:07:16]MH_I2C_Read... [00:07:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:07:16]Read from MH i2c: E2 [00:07:16]MH_I2C_Read... [00:07:16]Read from MH i2c: E2 FD 00 [00:07:16]MH_I2C_Read... [00:07:16]Read from MH i2c: E2 FD 00 43 10 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 90 00 1C [00:07:16]RAPDU: 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:07:17]wFMCommunicate OK [00:07:17]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:07:17]SAM_PROTO_ProcessDocument remain to read = 767 [00:07:17]wFMCommunicate request_size=4 [00:07:17]MH_SAM_APDU [00:07:17]CAPDU: 80 17 00 00 [00:07:17]Write to MH i2c: E2 08 00 44 10 80 17 00 00 00 00 00 00 D4 [00:07:17]Write i2c OK [00:07:17]MH_I2C_Read... [00:07:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:07:17]Read from MH i2c: E2 [00:07:17]MH_I2C_Read... [00:07:17]Read from MH i2c: E2 FD 00 [00:07:17]MH_I2C_Read... [00:07:17]Read from MH i2c: E2 FD 00 44 10 00 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 36 [00:07:17]RAPDU: 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:07:17]wFMCommunicate OK [00:07:17]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:07:17]SAM_PROTO_ProcessDocument remain to read = 517 [00:07:17]wFMCommunicate request_size=4 [00:07:17]MH_SAM_APDU [00:07:17]CAPDU: 80 17 00 00 [00:07:17]Write to MH i2c: E2 08 00 45 10 80 17 00 00 00 00 00 00 D5 [00:07:17]Write i2c OK [00:07:17]MH_I2C_Read... [00:07:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:07:17]Read from MH i2c: E2 [00:07:17]MH_I2C_Read... [00:07:17]Read from MH i2c: E2 FD 00 [00:07:17]MH_I2C_Read... [00:07:17]Read from MH i2c: E2 FD 00 45 10 00 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 90 00 5F [00:07:17]RAPDU: 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 90 00 [00:07:18]wFMCommunicate OK [00:07:18]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:07:18]SAM_PROTO_ProcessDocument remain to read = 267 [00:07:18]wFMCommunicate request_size=4 [00:07:18]MH_SAM_APDU [00:07:18]CAPDU: 80 17 00 00 [00:07:18]Write to MH i2c: E2 08 00 46 10 80 17 00 00 00 00 00 00 D6 [00:07:18]Write i2c OK [00:07:18]MH_I2C_Read... [00:07:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:07:18]Read from MH i2c: E2 [00:07:18]MH_I2C_Read... [00:07:18]Read from MH i2c: E2 FD 00 [00:07:18]MH_I2C_Read... [00:07:18]OFD Sender: No OFD packet to send [00:07:18]Read from MH i2c: E2 FD 00 46 10 00 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 90 00 9E [00:07:18]RAPDU: 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:07:18]wFMCommunicate OK [00:07:18]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:07:18]SAM_PROTO_ProcessDocument remain to read = 17 [00:07:18]wFMCommunicate request_size=4 [00:07:18]MH_SAM_APDU [00:07:18]CAPDU: 80 17 00 00 [00:07:18]Write to MH i2c: E2 08 00 47 10 80 17 00 00 00 00 00 00 D7 [00:07:18]Write i2c OK [00:07:18]MH_I2C_Read... [00:07:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 17! [00:07:18]Read from MH i2c: E2 [00:07:18]MH_I2C_Read... [00:07:18]Read from MH i2c: E2 14 00 [00:07:18]MH_I2C_Read... [00:07:18]Read from MH i2c: E2 14 00 47 10 00 01 00 06 F7 03 00 00 35 04 06 00 BF B9 3B 2C 62 0A 90 00 67 [00:07:18]RAPDU: 01 00 06 F7 03 00 00 35 04 06 00 BF B9 3B 2C 62 0A 90 00 [00:07:18]wFMCommunicate OK [00:07:18]SAM_PROTO_ProcessDocument received (without SW) 17 bytes [00:07:18]SAM_PROTO_ProcessDocument done [00:07:18]1209 (1) - 1.0 - номер версии ФФД [00:07:18]1041 (16) - 0000000000875104 - номер ФМ [00:07:18]1040 (4) - 33321 - номер ФД [00:07:18]1038 (4) - 432 - номер смены [00:07:18]1118 (4) - 75 - количество кассовых чеков за смену [00:07:18]1111 (4) - 77 - общее количество ФД за смену [00:07:18]1194 (1194) - счетчики итогов смены [00:07:18] 1134 (4) - 75 - количество чеков со всеми признаками расчетов [00:07:18] 1129 (155) - счетчики операций «приход» [00:07:18] 1135 (4) - 75 - количество чеков по признаку расчетов [00:07:18] 1201 (3) - 25618.63 - общая итоговая сумма в чеках [00:07:18] 1136 (3) - 15327.00 - итоговая сумма в чеках наличными [00:07:18] 1138 (3) - 10291.63 - итоговая сумма в чеках безналичными [00:07:18] 1024 (122) - суммы налогов [00:07:18] 1006 (9) - суммы НДС [00:07:18] 1010 (1) - 0% - код ставки НДС [00:07:18] 1011 (0) - 0.00 - сумма НДС по ставке [00:07:18] 1006 (12) - суммы НДС [00:07:18] 1010 (1) - 12% - код ставки НДС [00:07:18] 1011 (3) - 2721.24 - сумма НДС по ставке [00:07:18] 1007 (9) - суммы НСП [00:07:18] 1014 (1) - 0% - код ставки НСП [00:07:18] 1015 (0) - 0.00 - сумма НСП по ставке [00:07:18] 1007 (11) - суммы НСП [00:07:18] 1014 (1) - 1% - код ставки НСП [00:07:18] 1015 (2) - 226.73 - сумма НСП по ставке [00:07:18] 1007 (9) - суммы НСП [00:07:18] 1014 (1) - 2% - код ставки НСП [00:07:18] 1015 (0) - 0.00 - сумма НСП по ставке [00:07:18] 1007 (9) - суммы НСП [00:07:18] 1014 (1) - 3% - код ставки НСП [00:07:18] 1015 (0) - 0.00 - сумма НСП по ставке [00:07:18] 1007 (9) - суммы НСП [00:07:18] 1014 (1) - 5% - код ставки НСП [00:07:18] 1015 (0) - 0.00 - сумма НСП по ставке [00:07:18] 1007 (9) - суммы НСП [00:07:18] 1014 (1) - 0,50% - код ставки НСП [00:07:18] 1015 (0) - 0.00 - сумма НСП по ставке [00:07:18] 1007 (9) - суммы НСП [00:07:18] 1014 (1) - 1,50% - код ставки НСП [00:07:18] 1015 (0) - 0.00 - сумма НСП по ставке [00:07:18] 1130 (141) - счетчики операций «возврат прихода» [00:07:18] 1135 (4) - 0 - количество чеков по признаку расчетов [00:07:18] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:07:18] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:07:18] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:07:18] 1024 (117) - суммы налогов [00:07:18] 1006 (9) - суммы НДС [00:07:18] 1010 (1) - 0% - код ставки НДС [00:07:18] 1011 (0) - 0.00 - сумма НДС по ставке [00:07:18] 1006 (9) - суммы НДС [00:07:18] 1010 (1) - 12% - код ставки НДС [00:07:18] 1011 (0) - 0.00 - сумма НДС по ставке [00:07:18] 1007 (9) - суммы НСП [00:07:18] 1014 (1) - 0% - код ставки НСП [00:07:18] 1015 (0) - 0.00 - сумма НСП по ставке [00:07:18] 1007 (9) - суммы НСП [00:07:18] 1014 (1) - 1% - код ставки НСП [00:07:18] 1015 (0) - 0.00 - сумма НСП по ставке [00:07:18] 1007 (9) - суммы НСП [00:07:18] 1014 (1) - 2% - код ставки НСП [00:07:18] 1015 (0) - 0.00 - сумма НСП по ставке [00:07:18] 1007 (9) - суммы НСП [00:07:18] 1014 (1) - 3% - код ставки НСП [00:07:18] 1015 (0) - 0.00 - сумма НСП по ставке [00:07:18] 1007 (9) - суммы НСП [00:07:18] 1014 (1) - 5% - код ставки НСП [00:07:18] 1015 (0) - 0.00 - сумма НСП по ставке [00:07:18] 1007 (9) - суммы НСП [00:07:18] 1014 (1) - 0,50% - код ставки НСП [00:07:18] 1015 (0) - 0.00 - сумма НСП по ставке [00:07:18] 1007 (9) - суммы НСП [00:07:18] 1014 (1) - 1,50% - код ставки НСП [00:07:18] 1015 (0) - 0.00 - сумма НСП по ставке [00:07:18] 1131 (141) - счетчики операций «расход» [00:07:18] 1135 (4) - 0 - количество чеков по признаку расчетов [00:07:18] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:07:18] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:07:18] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:07:18] 1024 (117) - суммы налогов [00:07:18] 1006 (9) - суммы НДС [00:07:18] 1010 (1) - 0% - код ставки НДС [00:07:18] 1011 (0) - 0.00 - сумма НДС по ставке [00:07:18] 1006 (9) - суммы НДС [00:07:18] 1010 (1) - 12% - код ставки НДС [00:07:18] 1011 (0) - 0.00 - сумма НДС по ставке [00:07:18] 1007 (9) - суммы НСП [00:07:19] 1014 (1) - 0% - код ставки НСП [00:07:19] 1015 (0) - 0.00 - сумма НСП по ставке [00:07:19] 1007 (9) - суммы НСП [00:07:19] 1014 (1) - 1% - код ставки НСП [00:07:19] 1015 (0) - 0.00 - сумма НСП по ставке [00:07:19] 1007 (9) - суммы НСП [00:07:19] 1014 (1) - 2% - код ставки НСП [00:07:19] 1015 (0) - 0.00 - сумма НСП по ставке [00:07:19] 1007 (9) - суммы НСП [00:07:19] 1014 (1) - 3% - код ставки НСП [00:07:19] 1015 (0) - 0.00 - сумма НСП по ставке [00:07:19] 1007 (9) - суммы НСП [00:07:19] 1014 (1) - 5% - код ставки НСП [00:07:19] 1015 (0) - 0.00 - сумма НСП по ставке [00:07:19] 1007 (9) - суммы НСП [00:07:19] 1014 (1) - 0,50% - код ставки НСП [00:07:19] 1015 (0) - 0.00 - сумма НСП по ставке [00:07:19] 1007 (9) - суммы НСП [00:07:19] 1014 (1) - 1,50% - код ставки НСП [00:07:19] 1015 (0) - 0.00 - сумма НСП по ставке [00:07:19] 1132 (141) - счетчики операций «возврат расхода» [00:07:19] 1135 (4) - 0 - количество чеков по признаку расчетов [00:07:19] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:07:19] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:07:19] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:07:19] 1024 (117) - суммы налогов [00:07:19] 1006 (9) - суммы НДС [00:07:19] 1010 (1) - 0% - код ставки НДС [00:07:19] 1011 (0) - 0.00 - сумма НДС по ставке [00:07:19] 1006 (9) - суммы НДС [00:07:19] 1010 (1) - 12% - код ставки НДС [00:07:19] 1011 (0) - 0.00 - сумма НДС по ставке [00:07:19] 1007 (9) - суммы НСП [00:07:19] 1014 (1) - 0% - код ставки НСП [00:07:19] 1015 (0) - 0.00 - сумма НСП по ставке [00:07:19] 1007 (9) - суммы НСП [00:07:19] 1014 (1) - 1% - код ставки НСП [00:07:19] 1015 (0) - 0.00 - сумма НСП по ставке [00:07:19] 1007 (9) - суммы НСП [00:07:19] 1014 (1) - 2% - код ставки НСП [00:07:19] 1015 (0) - 0.00 - сумма НСП по ставке [00:07:19] 1007 (9) - суммы НСП [00:07:19] 1014 (1) - 3% - код ставки НСП [00:07:19] 1015 (0) - 0.00 - сумма НСП по ставке [00:07:19] 1007 (9) - суммы НСП [00:07:19] 1014 (1) - 5% - код ставки НСП [00:07:19] 1015 (0) - 0.00 - сумма НСП по ставке [00:07:19] 1007 (9) - суммы НСП [00:07:19] 1014 (1) - 0,50% - код ставки НСП [00:07:19] 1015 (0) - 0.00 - сумма НСП по ставке [00:07:19] 1007 (9) - суммы НСП [00:07:19] 1014 (1) - 1,50% - код ставки НСП [00:07:19] 1015 (0) - 0.00 - сумма НСП по ставке [00:07:19] 1133 (588) - - счетчики коррекции - не используются [00:07:19]1077 (6) - 210802282619402 - ФПД [00:07:19]SetTLVBufToDocument [00:07:19]Processing tag 1209 (04B9) [00:07:19]Malloc new data [00:07:19]Processing tag 1041 (0411) [00:07:19]Processing tag 1040 (0410) [00:07:19]Malloc new data [00:07:19]Processing tag 1038 (040E) [00:07:19]Malloc new data [00:07:19]Processing tag 1118 (045E) [00:07:19]Malloc new data [00:07:19]Processing tag 1111 (0457) [00:07:19]Malloc new data [00:07:19]Processing tag 1194 (04AA) [00:07:19]Load OK [00:07:19]SetTLVBufToDocument [00:07:19]Processing tag 1134 (046E) [00:07:19]Malloc new data [00:07:19]Processing tag 1129 (0469) [00:07:19]Load OK [00:07:19]SetTLVBufToDocument [00:07:19]Processing tag 1135 (046F) [00:07:19]Malloc new data [00:07:19]Processing tag 1201 (04B1) [00:07:19]Malloc new data [00:07:19]Processing tag 1136 (0470) [00:07:19]Malloc new data [00:07:19]Processing tag 1138 (0472) [00:07:19]Malloc new data [00:07:19]Processing tag 1024 (0400) [00:07:19]Load OK [00:07:19]SetTLVBufToDocument [00:07:19]Processing tag 1006 (03EE) [00:07:19]Load OK [00:07:19]SetTLVBufToDocument [00:07:19]Processing tag 1010 (03F2) [00:07:19]Malloc new data [00:07:19]Processing tag 1011 (03F3) [00:07:19]Malloc new data [00:07:19]SetTLVBufToDocument err=0 [00:07:19]Processing tag 1006 (03EE) [00:07:19]Load OK [00:07:19]SetTLVBufToDocument [00:07:19]Processing tag 1010 (03F2) [00:07:19]Malloc new data [00:07:19]Processing tag 1011 (03F3) [00:07:19]Malloc new data [00:07:19]SetTLVBufToDocument err=0 [00:07:19]Processing tag 1007 (03EF) [00:07:19]Load OK [00:07:19]SetTLVBufToDocument [00:07:19]Processing tag 1014 (03F6) [00:07:19]Malloc new data [00:07:19]Processing tag 1015 (03F7) [00:07:19]Malloc new data [00:07:19]SetTLVBufToDocument err=0 [00:07:19]Processing tag 1007 (03EF) [00:07:19]Load OK [00:07:19]SetTLVBufToDocument [00:07:19]Processing tag 1014 (03F6) [00:07:19]Malloc new data [00:07:19]Processing tag 1015 (03F7) [00:07:19]Malloc new data [00:07:19]SetTLVBufToDocument err=0 [00:07:19]Processing tag 1007 (03EF) [00:07:19]Load OK [00:07:19]SetTLVBufToDocument [00:07:19]Processing tag 1014 (03F6) [00:07:19]Malloc new data [00:07:19]Processing tag 1015 (03F7) [00:07:19]Malloc new data [00:07:19]SetTLVBufToDocument err=0 [00:07:19]Processing tag 1007 (03EF) [00:07:19]Load OK [00:07:19]SetTLVBufToDocument [00:07:19]Processing tag 1014 (03F6) [00:07:19]Malloc new data [00:07:19]Processing tag 1015 (03F7) [00:07:19]Malloc new data [00:07:19]SetTLVBufToDocument err=0 [00:07:19]Processing tag 1007 (03EF) [00:07:19]Load OK [00:07:19]SetTLVBufToDocument [00:07:19]Processing tag 1014 (03F6) [00:07:19]Malloc new data [00:07:19]Processing tag 1015 (03F7) [00:07:19]Malloc new data [00:07:19]SetTLVBufToDocument err=0 [00:07:19]Processing tag 1007 (03EF) [00:07:19]Load OK [00:07:19]SetTLVBufToDocument [00:07:19]Processing tag 1014 (03F6) [00:07:19]Malloc new data [00:07:19]Processing tag 1015 (03F7) [00:07:19]Malloc new data [00:07:19]SetTLVBufToDocument err=0 [00:07:19]Processing tag 1007 (03EF) [00:07:19]Load OK [00:07:19]SetTLVBufToDocument [00:07:19]Processing tag 1014 (03F6) [00:07:19]Malloc new data [00:07:19]Processing tag 1015 (03F7) [00:07:19]Malloc new data [00:07:19]SetTLVBufToDocument err=0 [00:07:19]SetTLVBufToDocument err=0 [00:07:19]SetTLVBufToDocument err=0 [00:07:19]Processing tag 1130 (046A) [00:07:19]Load OK [00:07:19]SetTLVBufToDocument [00:07:19]Processing tag 1135 (046F) [00:07:19]Malloc new data [00:07:19]Processing tag 1201 (04B1) [00:07:19]Malloc new data [00:07:19]Processing tag 1136 (0470) [00:07:19]Malloc new data [00:07:19]Processing tag 1138 (0472) [00:07:19]Malloc new data [00:07:19]Processing tag 1024 (0400) [00:07:19]Load OK [00:07:19]SetTLVBufToDocument [00:07:19]Processing tag 1006 (03EE) [00:07:19]Load OK [00:07:19]SetTLVBufToDocument [00:07:19]Processing tag 1010 (03F2) [00:07:19]Malloc new data [00:07:19]Processing tag 1011 (03F3) [00:07:19]Malloc new data [00:07:19]SetTLVBufToDocument err=0 [00:07:19]Processing tag 1006 (03EE) [00:07:19]Load OK [00:07:19]SetTLVBufToDocument [00:07:19]Processing tag 1010 (03F2) [00:07:19]Malloc new data [00:07:19]Processing tag 1011 (03F3) [00:07:19]Malloc new data [00:07:19]SetTLVBufToDocument err=0 [00:07:19]Processing tag 1007 (03EF) [00:07:19]Load OK [00:07:19]SetTLVBufToDocument [00:07:19]Processing tag 1014 (03F6) [00:07:19]Malloc new data [00:07:19]Processing tag 1015 (03F7) [00:07:19]Malloc new data [00:07:19]SetTLVBufToDocument err=0 [00:07:19]Processing tag 1007 (03EF) [00:07:19]Load OK [00:07:19]SetTLVBufToDocument [00:07:19]Processing tag 1014 (03F6) [00:07:19]Malloc new data [00:07:19]Processing tag 1015 (03F7) [00:07:19]Malloc new data [00:07:19]SetTLVBufToDocument err=0 [00:07:19]Processing tag 1007 (03EF) [00:07:19]Load OK [00:07:19]SetTLVBufToDocument [00:07:19]Processing tag 1014 (03F6) [00:07:19]Malloc new data [00:07:19]Processing tag 1015 (03F7) [00:07:19]Malloc new data [00:07:19]SetTLVBufToDocument err=0 [00:07:19]Processing tag 1007 (03EF) [00:07:19]Load OK [00:07:19]SetTLVBufToDocument [00:07:19]Processing tag 1014 (03F6) [00:07:19]Malloc new data [00:07:19]Processing tag 1015 (03F7) [00:07:19]Malloc new data [00:07:19]SetTLVBufToDocument err=0 [00:07:19]Processing tag 1007 (03EF) [00:07:19]Load OK [00:07:19]SetTLVBufToDocument [00:07:19]Processing tag 1014 (03F6) [00:07:19]Malloc new data [00:07:19]Processing tag 1015 (03F7) [00:07:19]Malloc new data [00:07:19]SetTLVBufToDocument err=0 [00:07:19]Processing tag 1007 (03EF) [00:07:19]Load OK [00:07:19]SetTLVBufToDocument [00:07:19]Processing tag 1014 (03F6) [00:07:19]Malloc new data [00:07:19]Processing tag 1015 (03F7) [00:07:19]Malloc new data [00:07:19]SetTLVBufToDocument err=0 [00:07:19]Processing tag 1007 (03EF) [00:07:19]Load OK [00:07:19]SetTLVBufToDocument [00:07:19]Processing tag 1014 (03F6) [00:07:19]Malloc new data [00:07:19]Processing tag 1015 (03F7) [00:07:19]Malloc new data [00:07:19]SetTLVBufToDocument err=0 [00:07:19]SetTLVBufToDocument err=0 [00:07:19]SetTLVBufToDocument err=0 [00:07:19]Processing tag 1131 (046B) [00:07:19]Load OK [00:07:19]SetTLVBufToDocument [00:07:19]Processing tag 1135 (046F) [00:07:19]Malloc new data [00:07:19]Processing tag 1201 (04B1) [00:07:19]Malloc new data [00:07:19]Processing tag 1136 (0470) [00:07:19]Malloc new data [00:07:19]Processing tag 1138 (0472) [00:07:19]Malloc new data [00:07:19]Processing tag 1024 (0400) [00:07:19]Load OK [00:07:19]SetTLVBufToDocument [00:07:19]Processing tag 1006 (03EE) [00:07:19]Load OK [00:07:19]SetTLVBufToDocument [00:07:19]Processing tag 1010 (03F2) [00:07:19]Malloc new data [00:07:19]Processing tag 1011 (03F3) [00:07:19]Malloc new data [00:07:19]SetTLVBufToDocument err=0 [00:07:19]Processing tag 1006 (03EE) [00:07:19]Load OK [00:07:19]SetTLVBufToDocument [00:07:19]Processing tag 1010 (03F2) [00:07:19]Malloc new data [00:07:19]Processing tag 1011 (03F3) [00:07:19]Malloc new data [00:07:19]SetTLVBufToDocument err=0 [00:07:19]Processing tag 1007 (03EF) [00:07:19]Load OK [00:07:19]SetTLVBufToDocument [00:07:19]Processing tag 1014 (03F6) [00:07:19]Malloc new data [00:07:19]Processing tag 1015 (03F7) [00:07:19]Malloc new data [00:07:19]SetTLVBufToDocument err=0 [00:07:19]Processing tag 1007 (03EF) [00:07:19]Load OK [00:07:19]SetTLVBufToDocument [00:07:19]Processing tag 1014 (03F6) [00:07:19]Malloc new data [00:07:19]Processing tag 1015 (03F7) [00:07:19]Malloc new data [00:07:19]SetTLVBufToDocument err=0 [00:07:19]Processing tag 1007 (03EF) [00:07:19]Load OK [00:07:19]SetTLVBufToDocument [00:07:19]Processing tag 1014 (03F6) [00:07:19]Malloc new data [00:07:19]Processing tag 1015 (03F7) [00:07:19]Malloc new data [00:07:19]SetTLVBufToDocument err=0 [00:07:19]Processing tag 1007 (03EF) [00:07:19]Load OK [00:07:19]SetTLVBufToDocument [00:07:19]Processing tag 1014 (03F6) [00:07:19]Malloc new data [00:07:19]Processing tag 1015 (03F7) [00:07:19]Malloc new data [00:07:19]SetTLVBufToDocument err=0 [00:07:19]Processing tag 1007 (03EF) [00:07:19]Load OK [00:07:19]SetTLVBufToDocument [00:07:19]Processing tag 1014 (03F6) [00:07:19]Malloc new data [00:07:19]Processing tag 1015 (03F7) [00:07:19]Malloc new data [00:07:19]SetTLVBufToDocument err=0 [00:07:19]Processing tag 1007 (03EF) [00:07:19]Load OK [00:07:19]SetTLVBufToDocument [00:07:19]Processing tag 1014 (03F6) [00:07:19]Malloc new data [00:07:19]Processing tag 1015 (03F7) [00:07:19]Malloc new data [00:07:19]SetTLVBufToDocument err=0 [00:07:19]Processing tag 1007 (03EF) [00:07:19]Load OK [00:07:19]SetTLVBufToDocument [00:07:19]Processing tag 1014 (03F6) [00:07:19]Malloc new data [00:07:19]Processing tag 1015 (03F7) [00:07:19]Malloc new data [00:07:19]SetTLVBufToDocument err=0 [00:07:19]SetTLVBufToDocument err=0 [00:07:19]SetTLVBufToDocument err=0 [00:07:19]Processing tag 1132 (046C) [00:07:19]Load OK [00:07:19]SetTLVBufToDocument [00:07:19]Processing tag 1135 (046F) [00:07:19]Malloc new data [00:07:19]Processing tag 1201 (04B1) [00:07:19]Malloc new data [00:07:19]Processing tag 1136 (0470) [00:07:19]Malloc new data [00:07:19]Processing tag 1138 (0472) [00:07:19]Malloc new data [00:07:19]Processing tag 1024 (0400) [00:07:19]Load OK [00:07:19]SetTLVBufToDocument [00:07:19]Processing tag 1006 (03EE) [00:07:19]Load OK [00:07:19]SetTLVBufToDocument [00:07:19]Processing tag 1010 (03F2) [00:07:19]Malloc new data [00:07:19]Processing tag 1011 (03F3) [00:07:19]Malloc new data [00:07:19]SetTLVBufToDocument err=0 [00:07:19]Processing tag 1006 (03EE) [00:07:19]Load OK [00:07:19]SetTLVBufToDocument [00:07:19]Processing tag 1010 (03F2) [00:07:19]Malloc new data [00:07:19]Processing tag 1011 (03F3) [00:07:19]Malloc new data [00:07:19]SetTLVBufToDocument err=0 [00:07:19]Processing tag 1007 (03EF) [00:07:19]Load OK [00:07:19]SetTLVBufToDocument [00:07:19]Processing tag 1014 (03F6) [00:07:19]Malloc new data [00:07:19]Processing tag 1015 (03F7) [00:07:19]Malloc new data [00:07:19]SetTLVBufToDocument err=0 [00:07:19]Processing tag 1007 (03EF) [00:07:19]Load OK [00:07:19]SetTLVBufToDocument [00:07:19]Processing tag 1014 (03F6) [00:07:19]Malloc new data [00:07:19]Processing tag 1015 (03F7) [00:07:19]Malloc new data [00:07:19]SetTLVBufToDocument err=0 [00:07:19]Processing tag 1007 (03EF) [00:07:19]Load OK [00:07:19]SetTLVBufToDocument [00:07:19]Processing tag 1014 (03F6) [00:07:19]Malloc new data [00:07:19]Processing tag 1015 (03F7) [00:07:19]Malloc new data [00:07:19]SetTLVBufToDocument err=0 [00:07:19]Processing tag 1007 (03EF) [00:07:19]Load OK [00:07:19]SetTLVBufToDocument [00:07:19]Processing tag 1014 (03F6) [00:07:19]Malloc new data [00:07:19]Processing tag 1015 (03F7) [00:07:19]Malloc new data [00:07:19]SetTLVBufToDocument err=0 [00:07:19]Processing tag 1007 (03EF) [00:07:19]Load OK [00:07:19]SetTLVBufToDocument [00:07:19]Processing tag 1014 (03F6) [00:07:19]Malloc new data [00:07:19]Processing tag 1015 (03F7) [00:07:19]Malloc new data [00:07:19]SetTLVBufToDocument err=0 [00:07:19]Processing tag 1007 (03EF) [00:07:19]Load OK [00:07:19]SetTLVBufToDocument [00:07:19]Processing tag 1014 (03F6) [00:07:19]Malloc new data [00:07:19]Processing tag 1015 (03F7) [00:07:19]Malloc new data [00:07:19]SetTLVBufToDocument err=0 [00:07:19]Processing tag 1007 (03EF) [00:07:19]Load OK [00:07:19]SetTLVBufToDocument [00:07:20]Processing tag 1014 (03F6) [00:07:20]Malloc new data [00:07:20]Processing tag 1015 (03F7) [00:07:20]Malloc new data [00:07:20]SetTLVBufToDocument err=0 [00:07:20]SetTLVBufToDocument err=0 [00:07:20]SetTLVBufToDocument err=0 [00:07:20]Processing tag 1133 (046D) [00:07:20]Malloc new data [00:07:20]SetTLVBufToDocument err=0 [00:07:20]Processing tag 1077 (0435) [00:07:20]Malloc new data [00:07:20]SetTLVBufToDocument err=0 [00:07:20]Malloc new data [00:07:20]SAM_PROTO_GetFMData [00:07:20]wFMCommunicate request_size=4 [00:07:20]MH_SAM_APDU [00:07:20]CAPDU: 80 13 03 00 [00:07:20]Write to MH i2c: E2 08 00 48 10 80 13 03 00 00 00 00 00 D7 [00:07:20]Write i2c OK [00:07:20]MH_I2C_Read... [00:07:20]Read from MH i2c: E2 [00:07:20]MH_I2C_Read... [00:07:20]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:07:20]Read from MH i2c: E2 FD 00 [00:07:20]MH_I2C_Read... [00:07:20]Read from MH i2c: E2 FD 00 48 10 00 C4 04 85 04 C0 04 6E 04 04 00 C8 7E 00 00 69 04 A0 00 6F 04 04 00 E7 7D 00 00 B1 04 04 00 A0 E8 88 3F 70 04 04 00 98 82 E3 34 72 04 04 00 08 66 A5 0A 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 9B 66 BF 06 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 9C E7 8F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 90 00 E5 [00:07:20]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 C8 7E 00 00 69 04 A0 00 6F 04 04 00 E7 7D 00 00 B1 04 04 00 A0 E8 88 3F 70 04 04 00 98 82 E3 34 72 04 04 00 08 66 A5 0A 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 9B 66 BF 06 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 9C E7 8F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 90 00 [00:07:20]wFMCommunicate OK [00:07:20]wFMCommunicate request_size=4 [00:07:20]MH_SAM_APDU [00:07:20]CAPDU: 80 17 00 00 [00:07:20]Write to MH i2c: E2 08 00 49 10 80 17 00 00 00 00 00 00 D9 [00:07:20]Write i2c OK [00:07:20]MH_I2C_Read... [00:07:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:07:21]Read from MH i2c: E2 [00:07:21]MH_I2C_Read... [00:07:21]Read from MH i2c: E2 FD 00 [00:07:21]MH_I2C_Read... [00:07:21]Read from MH i2c: E2 FD 00 49 10 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 96 [00:07:21]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [00:07:21]wFMCommunicate OK [00:07:21]wFMCommunicate request_size=4 [00:07:21]MH_SAM_APDU [00:07:21]CAPDU: 80 17 00 00 [00:07:21]Write to MH i2c: E2 08 00 4A 10 80 17 00 00 00 00 00 00 DA [00:07:21]Write i2c OK [00:07:21]MH_I2C_Read... [00:07:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:07:21]Read from MH i2c: E2 [00:07:21]MH_I2C_Read... [00:07:21]Read from MH i2c: E2 FD 00 [00:07:21]MH_I2C_Read... [00:07:21]Read from MH i2c: E2 FD 00 4A 10 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 EF [00:07:21]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [00:07:22]wFMCommunicate OK [00:07:22]wFMCommunicate request_size=4 [00:07:22]MH_SAM_APDU [00:07:22]CAPDU: 80 17 00 00 [00:07:22]Write to MH i2c: E2 08 00 4B 10 80 17 00 00 00 00 00 00 DB [00:07:22]Write i2c OK [00:07:22]MH_I2C_Read... [00:07:22]Read from MH i2c: E2 [00:07:22]MH_I2C_Read... [00:07:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:07:22]Read from MH i2c: E2 FD 00 [00:07:22]MH_I2C_Read... [00:07:22]Read from MH i2c: E2 FD 00 4B 10 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 53 [00:07:22]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [00:07:22]wFMCommunicate OK [00:07:22]wFMCommunicate request_size=4 [00:07:22]MH_SAM_APDU [00:07:22]CAPDU: 80 17 00 00 [00:07:22]Write to MH i2c: E2 08 00 4C 10 80 17 00 00 00 00 00 00 DC [00:07:22]Write i2c OK [00:07:22]MH_I2C_Read... [00:07:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [00:07:22]Read from MH i2c: E2 [00:07:22]MH_I2C_Read... [00:07:22]Read from MH i2c: E2 E1 00 [00:07:22]MH_I2C_Read... [00:07:22]Read from MH i2c: E2 E1 00 4C 10 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 CA [00:07:23]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:07:23]wFMCommunicate OK [00:07:23]SAM_PROTO_GetFMData done [00:07:23]Malloc new data [00:07:23]Malloc new data [00:07:23]Malloc new data [00:07:23]Malloc new data [00:07:23]KKMLoadAndSignCloseShiftData err=0 [00:07:23]Отчет о закрытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Аширова Д. 12.07.2024 00:07 Смена: 432 РНМ: 0000000000093033 ЗНМ: 0300000122 СНО: Общий режим Чеков за смену: 75 ФД за смену: 77 Всего чеков: 75 ИТОГИ ПРИХОД Чеков: 75 Общий итог: 25618.63 Итого наличными: 15327.00 Итого безнал.: 10291.63 НДС 0% : 0.00 НДС 12% : 2721.24 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 226.73 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 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 Нал. в кассе: 15327.00 НС Приход: 10659370.56 НС Возвр.Прихода: 365383.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФД: 33321 ФМ: 0000000000875104 ФПД: 210802282619402 [00:07:23]StoreToDocumentArchive [00:07:23]shift 432 fd 33321 [00:07:23]save to /storage/0432/doc_00033321 [00:07:23]save last doc name /storage/0432/doc_00033321 to /storage/kkm_last_doc_name [00:07:23]save OK [00:07:23]Clear old archive folders... [00:07:23]Remove dir /storage/0266 [00:07:23]opendir ok [00:07:23]file . [00:07:23]file .. [00:07:23]file doc_1720742794 [00:07:23]remove file /storage/0266/doc_1720742794 [00:07:23]remove dir /storage/0266 [00:07:23]NVStorageSaveData kkm_registers [00:07:23]File name is /storage/kkm_registers [00:07:23]Write 24 bytes [00:07:23]NVStorageSaveData done [00:07:23]NVStorageSaveData kkm_registers [00:07:23]File name is /storage/kkm_registers [00:07:23]Write 24 bytes [00:07:23]NVStorageSaveData done [00:07:23]ProcessDocumentItem done err = 0, tmpTLVsize=1377 [00:07:23]tlvbuf is 01CBD250 [00:07:23]SAM_PROTO_ClearQueue [00:07:23]wFMCommunicate request_size=4 [00:07:23]MH_SAM_APDU [00:07:23]CAPDU: 80 09 00 00 [00:07:23]Write to MH i2c: E2 08 00 4D 10 80 09 00 00 00 00 00 00 CF [00:07:23]Write i2c OK [00:07:23]MH_I2C_Read... [00:07:23]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:07:23]Read from MH i2c: E2 [00:07:23]MH_I2C_Read... [00:07:23]Read from MH i2c: E2 03 00 [00:07:23]MH_I2C_Read... [00:07:23]Read from MH i2c: E2 03 00 4D 10 00 90 00 D1 [00:07:23]RAPDU: 90 00 [00:07:23]wFMCommunicate OK [00:07:23]SAM_PROTO_ClearQueue done [00:07:23]KKMCreateOFDPacket [00:07:23]OFDProtocolAddRootSTLVToBuf [00:07:23]FM_MakeSignedData [00:07:23]FM_MakeSignedData [00:07:23]SAM_PROTO_SignData [00:07:23]wFMCommunicate request_size=4 [00:07:23]MH_SAM_APDU [00:07:23]CAPDU: 80 0D 01 02 [00:07:23]Write to MH i2c: E2 08 00 4E 10 80 0D 01 02 00 00 00 00 D7 [00:07:23]Write i2c OK [00:07:23]MH_I2C_Read... [00:07:23]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:07:23]Read from MH i2c: E2 [00:07:23]MH_I2C_Read... [00:07:23]Read from MH i2c: E2 03 00 [00:07:23]MH_I2C_Read... [00:07:23]Read from MH i2c: OFD Sender: No OFD packet to send [00:07:23]E2 03 00 4E 10 00 90 00 D2 [00:07:23]RAPDU: 90 00 [00:07:23]wFMCommunicate OK [00:07:23]wFMCommunicate request_size=255 [00:07:23]MH_SAM_APDU [00:07:23]CAPDU: 80 0D 02 02 FA 05 00 61 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 13 00 D0 90 D1 88 D0 B8 D1 80 D0 BE D0 B2 D0 B0 20 D0 94 2E 20 F4 03 04 00 B5 73 90 66 0E 04 04 00 B0 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 5E 04 04 00 4B 00 00 00 57 04 04 00 4D 00 00 00 AA 04 D5 04 6E 04 04 00 4B 00 00 00 69 04 A2 00 6F 04 04 00 4B 00 00 00 B1 04 03 00 47 17 27 70 04 03 00 1C 63 17 72 04 03 00 2B B4 0F 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 FC 26 04 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:07:23]Write to MH i2c: E2 02 01 4F 10 80 0D 02 02 FA 00 05 00 61 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 13 00 D0 90 D1 88 D0 B8 D1 80 D0 BE D0 B2 D0 B0 20 D0 94 2E 20 F4 03 04 00 B5 73 90 66 0E 04 04 00 B0 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 5E 04 04 00 4B 00 00 00 57 04 04 00 4D 00 00 00 AA 04 D5 04 6E 04 04 00 4B 00 00 00 69 04 A2 00 6F 04 04 00 4B 00 00 00 B1 04 03 00 47 17 27 70 04 03 00 1C 63 17 72 04 03 00 2B B4 0F 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 FC 26 04 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 00 51 [00:07:23]Write i2c OK [00:07:23]MH_I2C_Read... [00:07:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:07:24]Read from MH i2c: E2 [00:07:24]MH_I2C_Read... [00:07:24]Read from MH i2c: E2 03 00 [00:07:24]MH_I2C_Read... [00:07:24]Read from MH i2c: E2 03 00 4F 10 00 90 00 D3 [00:07:24]RAPDU: 90 00 [00:07:24]wFMCommunicate OK [00:07:24]wFMCommunicate request_size=255 [00:07:24]MH_SAM_APDU [00:07:24]CAPDU: 80 0D 02 02 FA 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 91 58 6A 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6B 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 [00:07:24]Write to MH i2c: E2 02 01 50 10 80 0D 02 02 FA 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 91 58 6A 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6B 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 00 00 2E [00:07:24]Write i2c OK [00:07:24]MH_I2C_Read... [00:07:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:07:24]Read from MH i2c: E2 [00:07:24]MH_I2C_Read... [00:07:24]Read from MH i2c: E2 03 00 [00:07:24]MH_I2C_Read... [00:07:24]Read from MH i2c: E2 03 00 50 10 00 90 00 D4 [00:07:24]RAPDU: 90 00 [00:07:24]wFMCommunicate OK [00:07:24]wFMCommunicate request_size=255 [00:07:24]MH_SAM_APDU [00:07:24]CAPDU: 80 0D 02 02 FA 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:07:24]Write to MH i2c: E2 02 01 51 10 80 0D 02 02 FA 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 00 A1 [00:07:25]Write i2c OK [00:07:25]MH_I2C_Read... [00:07:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:07:25]Read from MH i2c: E2 [00:07:25]MH_I2C_Read... [00:07:25]Read from MH i2c: E2 03 00 [00:07:25]MH_I2C_Read... [00:07:25]Read from MH i2c: E2 03 00 51 10 00 90 00 D5 [00:07:25]RAPDU: 90 00 [00:07:25]wFMCommunicate OK [00:07:25]wFMCommunicate request_size=255 [00:07:25]MH_SAM_APDU [00:07:25]CAPDU: 80 0D 02 02 FA 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:07:25]Write to MH i2c: E2 02 01 52 10 80 0D 02 02 FA 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 00 A1 [00:07:25]Write i2c OK [00:07:25]MH_I2C_Read... [00:07:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:07:25]Read from MH i2c: E2 [00:07:25]MH_I2C_Read... [00:07:25]Read from MH i2c: E2 03 00 [00:07:25]MH_I2C_Read... [00:07:25]Read from MH i2c: E2 03 00 52 10 00 90 00 D6 [00:07:25]RAPDU: 90 00 [00:07:26]wFMCommunicate OK [00:07:26]wFMCommunicate request_size=255 [00:07:26]MH_SAM_APDU [00:07:26]CAPDU: 80 0D 02 02 FA 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 [00:07:26]Write to MH i2c: E2 02 01 53 10 80 0D 02 02 FA 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 63 [00:07:26]Write i2c OK [00:07:26]MH_I2C_Read... [00:07:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:07:26]Read from MH i2c: E2 [00:07:26]MH_I2C_Read... [00:07:26]Read from MH i2c: E2 03 00 [00:07:26]MH_I2C_Read... [00:07:26]Read from MH i2c: E2 03 00 53 10 00 90 00 D7 [00:07:26]RAPDU: 90 00 [00:07:26]wFMCommunicate OK [00:07:26]wFMCommunicate request_size=136 [00:07:26]MH_SAM_APDU [00:07:26]CAPDU: 80 0D 02 02 83 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 29 82 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 35 04 06 00 BF B9 3B 2C 62 0A [00:07:26]Write to MH i2c: E2 8B 00 54 10 80 0D 02 02 83 00 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 29 82 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 35 04 06 00 BF B9 3B 2C 62 0A 00 00 0D [00:07:26]Write i2c OK [00:07:26]MH_I2C_Read... [00:07:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:07:27]Read from MH i2c: E2 [00:07:27]MH_I2C_Read... [00:07:27]Read from MH i2c: E2 03 00 [00:07:27]MH_I2C_Read... [00:07:27]Read from MH i2c: E2 03 00 54 10 00 90 00 D8 [00:07:27]RAPDU: 90 00 [00:07:27]wFMCommunicate OK [00:07:27]wFMCommunicate request_size=4 [00:07:27]MH_SAM_APDU [00:07:27]CAPDU: 80 0D 03 02 [00:07:27]Write to MH i2c: E2 08 00 55 10 80 0D 03 02 00 00 00 00 E0 [00:07:27]Write i2c OK [00:07:27]MH_I2C_Read... [00:07:27]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:07:27]Read from MH i2c: E2 [00:07:27]MH_I2C_Read... [00:07:27]Read from MH i2c: E2 0B 00 [00:07:27]MH_I2C_Read... [00:07:27]Read from MH i2c: E2 0B 00 55 10 00 8A 85 7A A1 51 10 26 E6 90 00 78 [00:07:27]RAPDU: 8A 85 7A A1 51 10 26 E6 90 00 [00:07:27]wFMCommunicate OK [00:07:27]SAM_PROTO_SignData done [00:07:27]FM_MakeSignedData done [00:07:27]CreateOFDProtocolMessage [00:07:27]wFMCommunicate request_size=4 [00:07:27]MH_SAM_APDU [00:07:27]CAPDU: 80 11 00 00 [00:07:27]Write to MH i2c: E2 08 00 56 10 80 11 00 00 00 00 00 00 E0 [00:07:27]Write i2c OK [00:07:27]MH_I2C_Read... [00:07:27]Read from MH i2c: E2 [00:07:27]MH_I2C_Read... [00:07:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:07:27]Read from MH i2c: E2 17 00 [00:07:27]MH_I2C_Read... [00:07:27]Read from MH i2c: E2 17 00 56 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 2C [00:07:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [00:07:27]wFMCommunicate OK [00:07:27]CreateOFDProtocolMessage done [00:07:27]OFDSenderStorePacket 33321 [00:07:27]StoreOFDPacket docnum=33321 [00:07:27]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 75 05 00 00 ED 0C 6D 05 72 C3 5A 05 01 00 05 00 61 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 13 00 D0 90 D1 88 D0 B8 D1 80 D0 BE D0 B2 D0 B0 20 D0 94 2E 20 F4 03 04 00 B5 73 90 66 0E 04 04 00 B0 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 5E 04 04 00 4B 00 00 00 57 04 04 00 4D 00 00 00 AA 04 D5 04 6E 04 04 00 4B 00 00 00 69 04 A2 00 6F 04 04 00 4B 00 00 00 B1 04 03 00 47 17 27 70 04 03 00 1C 63 17 72 04 03 00 2B B4 0F 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 FC 26 04 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 91 58 6A 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6B 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6C 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 10 04 04 00 29 82 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 35 04 06 00 BF B9 3B 2C 62 0A 8A 85 7A A1 51 10 26 E6 [00:07:27]CheckFolder [00:07:27]dirname=/storage/ofd_packets [00:07:27]CheckFolder done [00:07:27]ProducePacketName [00:07:27]name=ofd_packets/00033321 [00:07:27]NVStorageSaveData ofd_packets/00033321 [00:07:27]File name is /storage/ofd_packets/00033321 [00:07:27]Write 1427 bytes [00:07:27]NVStorageSaveData done [00:07:27]OFDSenderStorePacket done [00:07:27]KKMCreateOFDPacket done [00:07:27]NVStorageSaveData kkm_last_timestamp [00:07:27]File name is /storage/kkm_last_timestamp [00:07:27]Write 4 bytes [00:07:27]NVStorageSaveData done [00:07:27]ExternCall_PrintAddStr [00:07:27]wPrintStart [00:07:27]Write to MH i2c: 01 00 00 57 10 67 [00:07:27]Write i2c OK [00:07:27]MH_I2C_Read... [00:07:27]Read from MH i2c: 01 [00:07:27]MH_I2C_Read... [00:07:27]Read from MH i2c: 01 07 00 [00:07:27]MH_I2C_Read... [00:07:27]Read from MH i2c: 01 07 00 57 10 00 00 00 00 00 FF 0F 7C [00:07:27]RasterBufferAndPrint [00:07:27]line Отчет о закрытии смены [00:07:27]line ФФД: 1.0 [00:07:27]line ИНН: 02508201610067 [00:07:27]line Кассир: Аширова Д. [00:07:27]line 12.07.2024 00:07 [00:07:27]line Смена: 432 [00:07:27]line РНМ: 0000000000093033 [00:07:27]line ЗНМ: 0300000122 [00:07:27]line СНО: Общий режим [00:07:27]line Чеков за смену: 75 [00:07:27]line ФД за смену: 77 [00:07:27]line Всего чеков: 75 [00:07:27]line ИТОГИ ПРИХОД [00:07:27]line Чеков: 75 [00:07:27]line Общий итог: 25618.63 [00:07:27]line Итого наличными: 15327.00 [00:07:27]line Итого безнал.: 10291.63 [00:07:27]line НДС 0% : 0.00 [00:07:27]line НДС 12% : 2721.24 [00:07:27]line НСП 0% : 0.00 [00:07:27]line НСП 1,50% : 0.00 [00:07:27]line НСП 0,50% : 0.00 [00:07:27]line НСП 5% : 0.00 [00:07:27]line НСП 3% : 0.00 [00:07:27]line НСП 2% : 0.00 [00:07:27]line НСП 1% : 226.73 [00:07:27]line ИТОГИ ВОЗВРАТ ПРИХОДА [00:07:27]line Чеков: 0 [00:07:27]line Общий итог: 0.00 [00:07:27]line Итого наличными: 0.00 [00:07:27]line Итого безнал.: 0.00 [00:07:27]line НДС 0% : 0.00 [00:07:27]line НДС 12% : 0.00 [00:07:27]line НСП 0% : 0.00 [00:07:27]line НСП 1,50% : 0.00 [00:07:27]line НСП 0,50% : 0.00 [00:07:27]line НСП 5% : 0.00 [00:07:27]line НСП 3% : 0.00 [00:07:27]line НСП 2% : 0.00 [00:07:27]line НСП 1% : 0.00 [00:07:27]line ИТОГИ РАСХОД [00:07:27]line Чеков: 0 [00:07:27]line Общий итог: 0.00 [00:07:27]line Итого наличными: 0.00 [00:07:27]line Итого безнал.: 0.00 [00:07:27]line НДС 0% : 0.00 [00:07:27]line НДС 12% : 0.00 [00:07:27]line НСП 0% : 0.00 [00:07:27]line НСП 1,50% : 0.00 [00:07:27]line НСП 0,50% : 0.00 [00:07:27]line НСП 5% : 0.00 [00:07:27]line НСП 3% : 0.00 [00:07:27]line НСП 2% : 0.00 [00:07:27]line НСП 1% : 0.00 [00:07:27]line ИТОГИ ВОЗВРАТ РАСХОДА [00:07:27]line Чеков: 0 [00:07:27]line Общий итог: 0.00 [00:07:27]line Итого наличными: 0.00 [00:07:27]line Итого безнал.: 0.00 [00:07:27]line НДС 0% : 0.00 [00:07:27]line НДС 12% : 0.00 [00:07:27]line НСП 0% : 0.00 [00:07:27]line НСП 1,50% : 0.00 [00:07:27]line НСП 0,50% : 0.00 [00:07:27]line НСП 5% : 0.00 [00:07:27]line НСП 3% : 0.00 [00:07:27]line НСП 2% : 0.00 [00:07:27]line НСП 1% : 0.00 [00:07:27]line Сумма внесений: 0.00 [00:07:27]line Сумма выплат: 0.00 [00:07:27]line Нал. в кассе: 15327.00 [00:07:27]line НС Приход: 10659370.56 [00:07:27]line НС Возвр.Прихода: 365383.00 [00:07:27]line НС Расход: 0.00 [00:07:27]line НС Возвр.Расхода: 0.00 [00:07:27]line ФД: 33321 [00:07:27]line ФМ: 0000000000875104 [00:07:27]line ФПД: 210802282619402 [00:07:27]OFD Sender: Processing packet 33321 [packets to send 6, broken 5] [00:07:27]ProducePacketName [00:07:27]name=ofd_packets/00033321 [00:07:27]OFD Sender: To server: pG, [00:07:27]CommunicateWithHost lk.salyk.kg:30040 [00:07:27]ConnectInit lk.salyk.kg [00:07:27]written 0, free lines is 4095 [00:07:27]Connected sock=10 [00:07:27]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 75 05 00 00 ED 0C 6D 05 72 C3 5A 05 01 00 05 00 61 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 13 00 D0 90 D1 88 D0 B8 D1 80 D0 BE D0 B2 D0 B0 20 D0 94 2E 20 F4 03 04 00 B5 73 90 66 0E 04 04 00 B0 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 5E 04 04 00 4B 00 00 00 57 04 04 00 4D 00 00 00 AA 04 D5 04 6E 04 04 00 4B 00 00 00 69 04 A2 00 6F 04 04 00 4B 00 00 00 B1 04 03 00 47 17 27 70 04 03 00 1C 63 17 72 04 03 00 2B B4 0F 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 FC 26 04 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 91 58 6A 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6B 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6C 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 Write to MH i2c: 00 01 F2 00 03 00 01 A7 00 10 00 B7 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 [00:07:28]00 EF Write i2c OK [00:07:28]03 MH_I2C_Read... [00:07:28]09 Read from MH i2c: 00 01 F6 [00:07:28]03 MH_I2C_Read... [00:07:28]01 00 00 F7 03 00 00 EF 03 09 00 F6 03 Read from MH i2c: 01 01 00 07 01 00 F7 [00:07:28]03 MH_I2C_Read... [00:07:28]00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 Read from MH i2c: 09 01 00 07 F6 00 03 A7 01 10 00 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 00 03 00 00 00 00 00 EF 94 03 0C 09 5E 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 [00:07:28]RasterBufferAndPrint [00:07:28]03 line [00:07:28]01 line [00:07:28]00 line [00:07:28]06 line [00:07:28]F7 line [00:07:28]03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 written 0, free lines is 3361 [00:07:29]04 00 00 70 04 00 00 72 04 00 00 00 04 MH_Cut [00:07:29]75 Write to MH i2c: 00 D1 EE 01 03 00 09 AE 00 10 F2 01 03 90 01 [00:07:29]00 00 Write i2c OK [00:07:29]MH_I2C_Read... [00:07:29]F3 03 00 00 EE 03 09 00 F2 03 01 00 01 Read from MH i2c: F3 D1 03 [00:07:29]00 MH_I2C_Read... [00:07:29]00 Read from MH i2c: EF D1 03 01 09 00 00 [00:07:29]MH_I2C_Read... [00:07:29]F6 03 01 00 00 F7 03 00 00 Read from MH i2c: EF D1 03 01 09 00 00 AE 10 F6 00 03 8F 01 [00:07:29]00 Write to MH i2c: 01 01 F7 00 03 00 00 AF 00 10 EF BF 03 [00:07:29]09 00 F6 03 01 00 02 F7 03 00 Write i2c OK [00:07:29]00 MH_I2C_Read... [00:07:29]EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 29 82 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 35 04 06 00 BF B9 3B 2C 62 0A 8A 85 7A A1 51 10 26 E6 [00:07:29]*** Cut start [00:07:29]*** Partial cut [00:07:29]*** CUTSNS_PIN = 1 [00:07:29]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 36 CF 47 00 43 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 35 31 *** CUTSNS_PIN = 0 [00:07:29]30 *** Brake cut motor [00:07:29]34 10 04 04 00 29 82 00 00 F4 03 04 00 70 1E 90 66 B6 04 01 00 00 E0 16 FA E7 A2 A5 7E E3 [00:07:30]CommunicateWithHost err = 0 [00:07:30]CheckOFDResponse [00:07:30]1017 (14) - 77093643461234 [00:07:30]1041 (16) - 0000000000875104 [00:07:30]1040 (4) - 33321 [00:07:30]1012 (4) - 11.07.2024 18:03 [00:07:30]1206 (1) - 0 [00:07:30]OFD Sender: Remove packet 33321 [00:07:30]ProducePacketName [00:07:30]name=ofd_packets/00033321 [00:07:30]NVStorageDeleteData [00:07:30]Read from MH i2c: *** Stop cut motor [00:07:30]01 *** Cut end [00:07:30] [00:07:30]MH_I2C_Read... [00:07:30]Read from MH i2c: 01 07 00 [00:07:30]MH_I2C_Read... [00:07:30]Read from MH i2c: 01 07 00 AF 10 00 00 00 00 00 FF 0F D4 [00:07:30]process_action close_shift done [00:07:30]requested_data is exist [00:07:30]produce_requested_data [00:07:30]requested_item fd.num is exist - process it [00:07:30]SAM_PROTO_GetFieldsCounters [00:07:30]wFMCommunicate request_size=4 [00:07:30]MH_SAM_APDU [00:07:30]CAPDU: 80 13 00 00 [00:07:30]Write to MH i2c: E2 08 00 B0 10 80 13 00 00 00 00 00 00 3C [00:07:30]Write i2c OK [00:07:30]MH_I2C_Read... [00:07:30]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:07:30]Read from MH i2c: E2 [00:07:30]MH_I2C_Read... [00:07:30]Read from MH i2c: E2 62 00 [00:07:30]MH_I2C_Read... [00:07:30]Read from MH i2c: E2 62 00 B0 10 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 29 82 00 00 0E 04 04 00 B0 01 00 00 12 04 04 00 4B 00 00 00 5E 04 04 00 4B 00 00 00 57 04 04 00 4D 00 00 00 19 04 04 00 00 00 00 00 90 00 8D [00:07:30]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 OFD Sender: No OFD packet to send [00:07:30]30 30 30 30 30 39 33 30 33 33 10 04 04 00 29 82 00 00 0E 04 04 00 B0 01 00 00 12 04 04 00 4B 00 00 00 5E 04 04 00 4B 00 00 00 57 04 04 00 4D 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:07:30]wFMCommunicate OK [00:07:30]SAM_PROTO_GetFieldsCounters done [00:07:30]requested_item shift.num is exist - process it [00:07:30]requested_item shift.opened is exist - process it [00:07:30]req_shift_opened [00:07:30]FM_GetShiftState [00:07:30]SAM_PROTO_GetShiftState [00:07:30]wFMCommunicate request_size=4 [00:07:30]MH_SAM_APDU [00:07:30]CAPDU: 80 13 01 00 [00:07:30]Write to MH i2c: E2 08 00 B1 10 80 13 01 00 00 00 00 00 3E [00:07:30]Write i2c OK [00:07:30]MH_I2C_Read... [00:07:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:07:30]Read from MH i2c: E2 [00:07:30]MH_I2C_Read... [00:07:30]Read from MH i2c: E2 0E 00 [00:07:30]MH_I2C_Read... [00:07:30]Read from MH i2c: E2 0E 00 B1 10 00 09 00 00 00 00 00 00 00 00 00 00 90 00 49 [00:07:30]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:07:30]wFMCommunicate OK [00:07:30]SAM_PROTO_GetShiftState done [00:07:30]FM_GetShiftState done [00:07:30]req_shift_opened done [00:07:30]requested_item shift.open_date is exist - process it [00:07:30]req_shift_open_date [00:07:30]FM_GetShiftState [00:07:30]SAM_PROTO_GetShiftState [00:07:30]wFMCommunicate request_size=4 [00:07:30]MH_SAM_APDU [00:07:30]CAPDU: 80 13 01 00 [00:07:30]Write to MH i2c: E2 08 00 B2 10 80 13 01 00 00 00 00 00 3F [00:07:30]Write i2c OK [00:07:30]MH_I2C_Read... [00:07:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:07:30]Read from MH i2c: E2 [00:07:30]MH_I2C_Read... [00:07:30]Read from MH i2c: E2 0E 00 [00:07:30]MH_I2C_Read... [00:07:30]Read from MH i2c: E2 0E 00 B2 10 00 09 00 00 00 00 00 00 00 00 00 00 90 00 4A [00:07:30]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:07:30]wFMCommunicate OK [00:07:30]SAM_PROTO_GetShiftState done [00:07:30]FM_GetShiftState done [00:07:30]req_shift_open_date done [00:07:30]produce_requested_data done [00:07:30]produce_requested_data return {"fd.num":33321,"shift.num":432,"shift.opened":0,"shift.open_date":0} [00:07:30]process_action_free close_shift [00:07:30]json_value_free [00:07:30]json_value_free done [00:07:30]process_json_proto returns [00:07:30]Send response to host [00:07:30]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":33321,"shift.num":432,"shift.opened":0,"shift.open_date":0}}} [00:07:30]free response buf [00:07:30]execute_script done [00:07:30]execute_script returns [00:07:30]free content buf [00:07:30]Sock 7.Close socket [00:07:30]Sock 7.Thread stoped [00:07:35]OFD Sender: No OFD packet to send [00:07:40]OFD Sender: No OFD packet to send [00:07:45]OFD Sender: No OFD packet to send [00:07:50]OFD Sender: No OFD packet to send [00:07:55]OFD Sender: No OFD packet to send [00:08:00]OFD Sender: No OFD packet to send [00:08:05]OFD Sender: No OFD packet to send [00:08:10]OFD Sender: No OFD packet to send [00:08:15]OFD Sender: No OFD packet to send [00:08:20]OFD Sender: No OFD packet to send [00:08:25]OFD Sender: No OFD packet to send [00:08:30]OFD Sender: No OFD packet to send [00:08:35]OFD Sender: No OFD packet to send [00:08:40]OFD Sender: No OFD packet to send [00:08:45]OFD Sender: No OFD packet to send [00:08:48]accept exits with 9 [00:08:48]New connection [00:08:48]New thread 3066936676 created [00:08:48]Thread 3066793316 joined [00:08:48]Waiting for new connection... [00:08:48] Sock 9.Parse request [00:08:48]Sock 9.Check first char [00:08:48]Sock 9.First char is OK [00:08:48]request: POST /json_proto HTTP/1.0 [00:08:48]Method: POST [00:08:48]URL: /json_proto [00:08:48]Method is POST - this is cgi request [00:08:48]url: /json_proto [00:08:48]query_string will be loaded in cgi processing [00:08:48]execute_cgi json_proto POST (null) [00:08:48]execute_cgi path=json_proto method=POST [00:08:48]POST find Content-Length [00:08:48]Host: 172.17.35.196:8080 [00:08:48]Content-Length: 215 [00:08:48]Content-Type: application/json [00:08:48] [00:08:48]POST finish read [00:08:48]Found Content-Length = 215 [00:08:48]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:08:48]execute_script... [00:08:48]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:08:48]POST & json_proto [00:08:48]process_json_proto [00:08:48]json parsed OK: [00:08:48]protocol is kg_v1.0 [00:08:48]action value=get_value [00:08:48]process_action get_value [00:08:48]cmd_get_value [00:08:48]process_action get_value done [00:08:48]requested_data is exist [00:08:48]produce_requested_data [00:08:48]requested_item kkm.sn is exist - process it [00:08:48]requested_item kkm.ver is exist - process it [00:08:48]requested_item fm.sn is exist - process it [00:08:48]wFMCommunicate request_size=4 [00:08:48]MH_SAM_APDU [00:08:48]CAPDU: 80 11 00 00 [00:08:48]Write to MH i2c: E2 08 00 B3 10 80 11 00 00 00 00 00 00 3D [00:08:48]Write i2c OK [00:08:48]MH_I2C_Read... [00:08:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:08:48]Read from MH i2c: E2 [00:08:48]MH_I2C_Read... [00:08:48]Read from MH i2c: E2 17 00 [00:08:48]MH_I2C_Read... [00:08:48]Read from MH i2c: E2 17 00 B3 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 89 [00:08:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [00:08:48]wFMCommunicate OK [00:08:48]requested_item fd.num is exist - process it [00:08:48]SAM_PROTO_GetFieldsCounters [00:08:48]wFMCommunicate request_size=4 [00:08:48]MH_SAM_APDU [00:08:48]CAPDU: 80 13 00 00 [00:08:48]Write to MH i2c: E2 08 00 B4 10 80 13 00 00 00 00 00 00 40 [00:08:48]Write i2c OK [00:08:48]MH_I2C_Read... [00:08:49]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:08:49]Read from MH i2c: E2 [00:08:49]MH_I2C_Read... [00:08:49]Read from MH i2c: E2 62 00 [00:08:49]MH_I2C_Read... [00:08:49]Read from MH i2c: E2 62 00 B4 10 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 29 82 00 00 0E 04 04 00 B0 01 00 00 12 04 04 00 4B 00 00 00 5E 04 04 00 4B 00 00 00 57 04 04 00 4D 00 00 00 19 04 04 00 00 00 00 00 90 00 91 [00:08: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 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 29 82 00 00 0E 04 04 00 B0 01 00 00 12 04 04 00 4B 00 00 00 5E 04 04 00 4B 00 00 00 57 04 04 00 4D 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:08:49]wFMCommunicate OK [00:08:49]SAM_PROTO_GetFieldsCounters done [00:08:49]requested_item shift.num is exist - process it [00:08:49]requested_item shift.opened is exist - process it [00:08:49]req_shift_opened [00:08:49]FM_GetShiftState [00:08:49]SAM_PROTO_GetShiftState [00:08:49]wFMCommunicate request_size=4 [00:08:49]MH_SAM_APDU [00:08:49]CAPDU: 80 13 01 00 [00:08:49]Write to MH i2c: E2 08 00 B5 10 80 13 01 00 00 00 00 00 42 [00:08:49]Write i2c OK [00:08:49]MH_I2C_Read... [00:08:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:08:49]Read from MH i2c: E2 [00:08:49]MH_I2C_Read... [00:08:49]Read from MH i2c: E2 0E 00 [00:08:49]MH_I2C_Read... [00:08:49]Read from MH i2c: E2 0E 00 B5 10 00 09 00 00 00 00 00 00 00 00 00 00 90 00 4D [00:08:49]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:08:49]wFMCommunicate OK [00:08:49]SAM_PROTO_GetShiftState done [00:08:49]FM_GetShiftState done [00:08:49]req_shift_opened done [00:08:49]requested_item shift.open_date is exist - process it [00:08:49]req_shift_open_date [00:08:49]FM_GetShiftState [00:08:49]SAM_PROTO_GetShiftState [00:08:49]wFMCommunicate request_size=4 [00:08:49]MH_SAM_APDU [00:08:49]CAPDU: 80 13 01 00 [00:08:49]Write to MH i2c: E2 08 00 B6 10 80 13 01 00 00 00 00 00 43 [00:08:49]Write i2c OK [00:08:49]MH_I2C_Read... [00:08:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:08:49]Read from MH i2c: E2 [00:08:49]MH_I2C_Read... [00:08:49]Read from MH i2c: E2 0E 00 [00:08:49]MH_I2C_Read... [00:08:49]Read from MH i2c: E2 0E 00 B6 10 00 09 00 00 00 00 00 00 00 00 00 00 90 00 4E [00:08:49]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:08:49]wFMCommunicate OK [00:08:49]SAM_PROTO_GetShiftState done [00:08:49]FM_GetShiftState done [00:08:49]req_shift_open_date done [00:08:49]produce_requested_data done [00:08:49]produce_requested_data return {"kkm.sn":"0300000122","kkm.ver":"001","fm.sn":"0000000000875104","fd.num":33321,"shift.num":432,"shift.opened":0,"shift.open_date":0} [00:08:49]process_action_free get_value [00:08:49]json_value_free [00:08:49]json_value_free done [00:08:49]process_json_proto returns [00:08:49]Send response to host [00:08:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000122","kkm.ver":"001","fm.sn":"0000000000875104","fd.num":33321,"shift.num":432,"shift.opened":0,"shift.open_date":0}}} [00:08:49]free response buf [00:08:49]execute_script done [00:08:49]execute_script returns [00:08:49]free content buf [00:08:49]Sock 9.Close socket [00:08:49]Sock 9.Thread stoped [00:08:49]accept exits with 7 [00:08:49]New connection [00:08:49]New thread 3066793316 created [00:08:49]Thread 3066936676 joined [00:08:49]Waiting for new connection... [00:08:49] Sock 7.Parse request [00:08:49]Sock 7.Check first char [00:08:49]Sock 7.First char is OK [00:08:49]request: POST /json_proto HTTP/1.0 [00:08:49]Method: POST [00:08:49]URL: /json_proto [00:08:49]Method is POST - this is cgi request [00:08:49]url: /json_proto [00:08:49]query_string will be loaded in cgi processing [00:08:49]execute_cgi json_proto POST (null) [00:08:49]execute_cgi path=json_proto method=POST [00:08:49]POST find Content-Length [00:08:49]Host: 172.17.35.196:8080 [00:08:49]Content-Length: 331 [00:08:49]Content-Type: application/json [00:08:49] [00:08:49]POST finish read [00:08:49]Found Content-Length = 331 [00:08:49]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:08:49]execute_script... [00:08:49]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:08:49]POST & json_proto [00:08:49]process_json_proto [00:08:49]json parsed OK: [00:08:49]protocol is kg_v1.0 [00:08:49]action value=get_value [00:08:49]process_action get_value [00:08:49]cmd_get_value [00:08:49]process_action get_value done [00:08:49]requested_data is exist [00:08:49]produce_requested_data [00:08:49]requested_item fm.sale.total is exist - process it [00:08:49]SAM_PROTO_GetFMData [00:08:49]wFMCommunicate request_size=4 [00:08:49]MH_SAM_APDU [00:08:49]CAPDU: 80 13 03 00 [00:08:49]Write to MH i2c: E2 08 00 B7 10 80 13 03 00 00 00 00 00 46 [00:08:49]Write i2c OK [00:08:49]MH_I2C_Read... [00:08:49]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:08:49]Read from MH i2c: E2 [00:08:49]MH_I2C_Read... [00:08:49]Read from MH i2c: E2 FD 00 [00:08:49]MH_I2C_Read... [00:08:49]Read from MH i2c: E2 FD 00 B7 10 00 C4 04 85 04 C0 04 6E 04 04 00 C8 7E 00 00 69 04 A0 00 6F 04 04 00 E7 7D 00 00 B1 04 04 00 A0 E8 88 3F 70 04 04 00 98 82 E3 34 72 04 04 00 08 66 A5 0A 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 9B 66 BF 06 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 9C E7 8F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 90 00 54 [00:08:49]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 C8 7E 00 00 69 04 A0 00 6F 04 04 00 E7 7D 00 00 B1 04 04 00 A0 E8 88 3F 70 04 04 00 98 82 E3 34 72 04 04 00 08 66 A5 0A 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 9B 66 BF 06 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 9C E7 8F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 90 00 [00:08:49]wFMCommunicate OK [00:08:49]wFMCommunicate request_size=4 [00:08:49]MH_SAM_APDU [00:08:49]CAPDU: 80 17 00 00 [00:08:49]Write to MH i2c: E2 08 00 B8 10 80 17 00 00 00 00 00 00 48 [00:08:49]Write i2c OK [00:08:49]MH_I2C_Read... [00:08:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:08:50]Read from MH i2c: E2 [00:08:50]MH_I2C_Read... [00:08:50]Read from MH i2c: E2 FD 00 [00:08:50]MH_I2C_Read... [00:08:50]Read from MH i2c: E2 FD 00 B8 10 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 05 [00:08:50]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [00:08:50]wFMCommunicate OK [00:08:50]wFMCommunicate request_size=4 [00:08:50]MH_SAM_APDU [00:08:50]CAPDU: 80 17 00 00 [00:08:50]Write to MH i2c: E2 08 00 B9 10 80 17 00 00 00 00 00 00 49 [00:08:50]Write i2c OK [00:08:50]MH_I2C_Read... [00:08:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:08:50]Read from MH i2c: E2 [00:08:50]MH_I2C_Read... [00:08:50]Read from MH i2c: E2 FD 00 [00:08:50]MH_I2C_Read... [00:08:50]Read from MH i2c: E2 FD 00 B9 10 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 5E [00:08:50]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [00:08:50]wFMCommunicate OK [00:08:50]wFMCommunicate request_size=4 [00:08:50]MH_SAM_APDU [00:08:50]CAPDU: 80 17 00 00 [00:08:50]Write to MH i2c: E2 08 00 BA 10 80 17 00 00 00 00 00 00 4A [00:08:50]Write i2c OK [00:08:50]MH_I2C_Read... [00:08:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:08:50]Read from MH i2c: E2 [00:08:50]MH_I2C_Read... [00:08:50]Read from MH i2c: E2 FD 00 [00:08:50]MH_I2C_Read... [00:08:50]Read from MH i2c: E2 FD 00 BA 10 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 C2 [00:08:50]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [00:08:50]wFMCommunicate OK [00:08:50]wFMCommunicate request_size=4 [00:08:50]MH_SAM_APDU [00:08:50]CAPDU: 80 17 00 00 [00:08:50]Write to MH i2c: E2 08 00 BB 10 80 17 00 00 00 00 00 00 4B [00:08:50]Write i2c OK [00:08:50]MH_I2C_Read... [00:08:50]OFD Sender: No OFD packet to send [00:08:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [00:08:50]Read from MH i2c: E2 [00:08:50]MH_I2C_Read... [00:08:50]Read from MH i2c: E2 E1 00 [00:08:50]MH_I2C_Read... [00:08:50]Read from MH i2c: E2 E1 00 BB 10 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 39 [00:08:50]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:08:50]wFMCommunicate OK [00:08:50]SAM_PROTO_GetFMData done [00:08:50]requested_item fm.sale_refund.total is exist - process it [00:08:50]requested_item fm.buy.total is exist - process it [00:08:50]requested_item shift.sale.total is exist - process it [00:08:50]SAM_PROTO_GetShiftData [00:08:50]wFMCommunicate request_size=4 [00:08:50]MH_SAM_APDU [00:08:50]CAPDU: 80 13 02 00 [00:08:50]Write to MH i2c: E2 08 00 BC 10 80 13 02 00 00 00 00 00 4A [00:08:50]Write i2c OK [00:08:50]MH_I2C_Read... [00:08:51]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:08:51]Read from MH i2c: E2 [00:08:51]MH_I2C_Read... [00:08:51]Read from MH i2c: E2 FD 00 [00:08:51]MH_I2C_Read... [00:08:51]Read from MH i2c: E2 FD 00 BC 10 00 AE 04 AA 04 AA 04 6E 04 04 00 4B 00 00 00 69 04 9B 00 6F 04 04 00 4B 00 00 00 B1 04 03 00 47 17 27 70 04 03 00 1C 63 17 72 04 03 00 2B B4 0F 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 26 04 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 91 58 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 B9 [00:08:51]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 4B 00 00 00 69 04 9B 00 6F 04 04 00 4B 00 00 00 B1 04 03 00 47 17 27 70 04 03 00 1C 63 17 72 04 03 00 2B B4 0F 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 26 04 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 91 58 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:08:51]wFMCommunicate OK [00:08:51]wFMCommunicate request_size=4 [00:08:51]MH_SAM_APDU [00:08:51]CAPDU: 80 17 00 00 [00:08:51]Write to MH i2c: E2 08 00 BD 10 80 17 00 00 00 00 00 00 4D [00:08:51]Write i2c OK [00:08:51]MH_I2C_Read... [00:08:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:08:51]Read from MH i2c: E2 [00:08:51]MH_I2C_Read... [00:08:51]Read from MH i2c: E2 FD 00 [00:08:51]MH_I2C_Read... [00:08:51]Read from MH i2c: E2 FD 00 BD 10 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 6F [00:08:51]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:08:51]wFMCommunicate OK [00:08:51]wFMCommunicate request_size=4 [00:08:51]MH_SAM_APDU [00:08:51]CAPDU: 80 17 00 00 [00:08:51]Write to MH i2c: E2 08 00 BE 10 80 17 00 00 00 00 00 00 4E [00:08:51]Write i2c OK [00:08:51]MH_I2C_Read... [00:08:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:08:52]Read from MH i2c: E2 [00:08:52]MH_I2C_Read... [00:08:52]Read from MH i2c: E2 FD 00 [00:08:52]MH_I2C_Read... [00:08:52]Read from MH i2c: E2 FD 00 BE 10 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 05 [00:08:52]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:08:52]wFMCommunicate OK [00:08:52]wFMCommunicate request_size=4 [00:08:52]MH_SAM_APDU [00:08:52]CAPDU: 80 17 00 00 [00:08:52]Write to MH i2c: E2 08 00 BF 10 80 17 00 00 00 00 00 00 4F [00:08:52]Write i2c OK [00:08:52]MH_I2C_Read... [00:08:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:08:52]Read from MH i2c: E2 [00:08:52]MH_I2C_Read... [00:08:52]Read from MH i2c: E2 FD 00 [00:08:52]MH_I2C_Read... [00:08:52]Read from MH i2c: E2 FD 00 BF 10 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 C1 [00:08:52]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:08:52]wFMCommunicate OK [00:08:52]wFMCommunicate request_size=4 [00:08:52]MH_SAM_APDU [00:08:52]CAPDU: 80 17 00 00 [00:08:52]Write to MH i2c: E2 08 00 C0 10 80 17 00 00 00 00 00 00 50 [00:08:52]Write i2c OK [00:08:52]MH_I2C_Read... [00:08:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:08:52]Read from MH i2c: E2 [00:08:52]MH_I2C_Read... [00:08:52]Read from MH i2c: E2 CB 00 [00:08:52]MH_I2C_Read... [00:08:52]Read from MH i2c: E2 CB 00 C0 10 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 39 [00:08:52]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:08:52]wFMCommunicate OK [00:08:52]SAM_PROTO_GetShiftData done [00:08:52]requested_item shift.sale.total_cash is exist - process it [00:08:52]requested_item shift.sale_refund.total is exist - process it [00:08:52]requested_item shift.sale_refund.total_cash is exist - process it [00:08:52]requested_item shift.buy.total is exist - process it [00:08:52]requested_item shift.buy.total_cash is exist - process it [00:08:52]produce_requested_data done [00:08:52]produce_requested_data return {"fm.sale.total":10659370.56,"fm.sale_refund.total":365383.00,"fm.buy.total":0.00,"shift.sale.total":25618.63,"shift.sale.total_cash":15327.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:08:52]process_action_free get_value [00:08:52]json_value_free [00:08:52]json_value_free done [00:08:52]process_json_proto returns [00:08:52]Send response to host [00:08:52]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":10659370.56,"fm.sale_refund.total":365383.00,"fm.buy.total":0.00,"shift.sale.total":25618.63,"shift.sale.total_cash":15327.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:08:52]free response buf [00:08:52]execute_script done [00:08:52]execute_script returns [00:08:52]free content buf [00:08:52]Sock 7.Close socket [00:08:52]Sock 7.Thread stoped [00:08:52]accept exits with 9 [00:08:52]New connection [00:08:52]New thread 3066936676 created [00:08:52]Thread 3066793316 joined [00:08:52]Waiting for new connection... [00:08:52] Sock 9.Parse request [00:08:52]Sock 9.Check first char [00:08:52]Sock 9.First char is OK [00:08:52]request: POST /json_proto HTTP/1.0 [00:08:52]Method: POST [00:08:52]URL: /json_proto [00:08:52]Method is POST - this is cgi request [00:08:52]url: /json_proto [00:08:52]query_string will be loaded in cgi processing [00:08:52]execute_cgi json_proto POST (null) [00:08:52]execute_cgi path=json_proto method=POST [00:08:52]POST find Content-Length [00:08:52]Host: 172.17.35.196:8080 [00:08:52]Content-Length: 265 [00:08:52]Content-Type: application/json [00:08:52] [00:08:52]POST finish read [00:08:52]Found Content-Length = 265 [00:08:52]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u0422\u0430\u0448\u044B\u0431\u0435\u043A\u043E\u0432 \u041C. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:08:52]execute_script... [00:08:52]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u0422\u0430\u0448\u044B\u0431\u0435\u043A\u043E\u0432 \u041C. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:08:52]POST & json_proto [00:08:52]process_json_proto [00:08:52]json parsed OK: [00:08:52]protocol is kg_v1.0 [00:08:52]action value=open_shift [00:08:52]process_action open_shift [00:08:52]cmd_open_shift [00:08:52]MH_GetDate [00:08:52]Write to MH i2c: F0 00 00 C1 10 C0 [00:08:52]Write i2c OK [00:08:52]MH_I2C_Read... [00:08:52]Read from MH i2c: F0 [00:08:52]MH_I2C_Read... [00:08:52]Read from MH i2c: F0 09 00 [00:08:52]MH_I2C_Read... [00:08:52]Read from MH i2c: F0 09 00 C1 10 00 17 74 90 66 AD 14 F4 65 64 [00:08:52]GetLastDocTimeStamp 1720742837 [00:08:52]current date 1720742935 [00:08:52]FM_GetShiftState [00:08:52]SAM_PROTO_GetShiftState [00:08:52]wFMCommunicate request_size=4 [00:08:52]MH_SAM_APDU [00:08:52]CAPDU: 80 13 01 00 [00:08:52]Write to MH i2c: E2 08 00 C2 10 80 13 01 00 00 00 00 00 4F [00:08:52]Write i2c OK [00:08:52]MH_I2C_Read... [00:08:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:08:52]Read from MH i2c: E2 [00:08:52]MH_I2C_Read... [00:08:52]Read from MH i2c: E2 0E 00 [00:08:52]MH_I2C_Read... [00:08:52]Read from MH i2c: E2 0E 00 C2 10 00 09 00 00 00 00 00 00 00 00 00 00 90 00 5A [00:08:52]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:08:52]wFMCommunicate OK [00:08:52]SAM_PROTO_GetShiftState done [00:08:52]FM_GetShiftState done [00:08:52]KKMCreateOpenShiftDocument [00:08:52]Load OK [00:08:52]Malloc new data [00:08:52]MH_GetDate [00:08:52]Write to MH i2c: F0 00 00 C3 10 C2 [00:08:52]Write i2c OK [00:08:52]MH_I2C_Read... [00:08:52]Read from MH i2c: F0 [00:08:52]MH_I2C_Read... [00:08:52]Read from MH i2c: F0 09 00 [00:08:52]MH_I2C_Read... [00:08:52]Read from MH i2c: F0 09 00 C3 10 00 17 74 90 66 AD 14 F4 65 66 [00:08:52]Malloc new data [00:08:52]KKMCreateOpenShiftDocument OK [00:08:52]KKMSetOpenShiftData OK [00:08:52]ProcessDocumentItem done err = 0, tmpTLVsize=202 [00:08:52]tlvbuf is 01C50340 [00:08:52]KKMLoadAndSignOpenShiftData [00:08:52]SAM_PROTO_ProcessDocument [00:08:52]wFMCommunicate request_size=9 [00:08:52]MH_SAM_APDU [00:08:52]CAPDU: 80 15 01 00 04 02 00 CA 00 [00:08:52]Write to MH i2c: E2 0C 00 C4 10 80 15 01 00 04 00 02 00 CA 00 00 00 27 [00:08:52]Write i2c OK [00:08:52]MH_I2C_Read... [00:08:53]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [00:08:53]Read from MH i2c: E2 [00:08:53]MH_I2C_Read... [00:08:53]Read from MH i2c: E2 03 00 [00:08:53]MH_I2C_Read... [00:08:53]Read from MH i2c: E2 03 00 C4 10 00 90 00 48 [00:08:53]RAPDU: 90 00 [00:08:53]wFMCommunicate OK [00:08:53]wFMCommunicate request_size=23 [00:08:53]MH_SAM_APDU [00:08:53]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:08:53]Write to MH i2c: E2 1A 00 C5 10 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 4A [00:08:53]Write i2c OK [00:08:53]MH_I2C_Read... [00:08:53]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:08:53]Read from MH i2c: E2 [00:08:53]MH_I2C_Read... [00:08:53]Read from MH i2c: E2 03 00 [00:08:53]MH_I2C_Read... [00:08:53]Read from MH i2c: E2 03 00 C5 10 00 90 00 49 [00:08:53]RAPDU: 90 00 [00:08:53]wFMCommunicate OK [00:08:53]wFMCommunicate request_size=32 [00:08:53]MH_SAM_APDU [00:08:53]CAPDU: 80 15 02 00 1B FD 03 17 00 D0 A2 D0 B0 D1 88 D1 8B D0 B1 D0 B5 D0 BA D0 BE D0 B2 20 D0 9C 2E 20 [00:08:53]Write to MH i2c: E2 23 00 C6 10 80 15 02 00 1B 00 FD 03 17 00 D0 A2 D0 B0 D1 88 D1 8B D0 B1 D0 B5 D0 BA D0 BE D0 B2 20 D0 9C 2E 20 00 00 C4 [00:08:53]Write i2c OK [00:08:53]MH_I2C_Read... [00:08:53]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:08:53]Read from MH i2c: E2 [00:08:53]MH_I2C_Read... [00:08:53]Read from MH i2c: E2 03 00 [00:08:53]MH_I2C_Read... [00:08:53]Read from MH i2c: E2 03 00 C6 10 00 90 00 4A [00:08:53]RAPDU: 90 00 [00:08:53]wFMCommunicate OK [00:08:53]wFMCommunicate request_size=89 [00:08:53]MH_SAM_APDU [00:08:53]CAPDU: 80 15 02 00 54 F1 03 50 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 A2 D0 B0 D0 BB D0 B0 D1 81 2C 20 D1 83 D0 BB 2E 20 D0 A7 2E 20 D0 90 D0 B9 D1 82 D0 BC D0 B0 D1 82 D0 BE D0 B2 D0 B0 20 D0 B1 2F D0 BD 2C 20 34 32 2E 35 32 35 32 38 34 2C 20 37 32 2E 32 34 35 34 33 32 [00:08:53]Write to MH i2c: E2 5C 00 C7 10 80 15 02 00 54 00 F1 03 50 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 A2 D0 B0 D0 BB D0 B0 D1 81 2C 20 D1 83 D0 BB 2E 20 D0 A7 2E 20 D0 90 D0 B9 D1 82 D0 BC D0 B0 D1 82 D0 BE D0 B2 D0 B0 20 D0 B1 2F D0 BD 2C 20 34 32 2E 35 32 35 32 38 34 2C 20 37 32 2E 32 34 35 34 33 32 00 00 D0 [00:08:53]Write i2c OK [00:08:53]MH_I2C_Read... [00:08:53]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:08:53]Read from MH i2c: E2 [00:08:53]MH_I2C_Read... [00:08:53]Read from MH i2c: E2 03 00 [00:08:53]MH_I2C_Read... [00:08:53]Read from MH i2c: E2 03 00 C7 10 00 90 00 4B [00:08:53]RAPDU: 90 00 [00:08:53]wFMCommunicate OK [00:08:53]wFMCommunicate request_size=50 [00:08:53]MH_SAM_APDU [00:08:53]CAPDU: 80 15 02 00 2D A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 37 37 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:08:53]Write to MH i2c: E2 35 00 C8 10 80 15 02 00 2D 00 A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 37 37 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 D5 [00:08:53]Write i2c OK [00:08:53]MH_I2C_Read... [00:08:53]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:08:53]Read from MH i2c: E2 [00:08:53]MH_I2C_Read... [00:08:53]Read from MH i2c: E2 03 00 [00:08:53]MH_I2C_Read... [00:08:53]Read from MH i2c: E2 03 00 C8 10 00 90 00 4C [00:08:53]RAPDU: 90 00 [00:08:53]wFMCommunicate OK [00:08:53]wFMCommunicate request_size=13 [00:08:53]MH_SAM_APDU [00:08:53]CAPDU: 80 15 02 00 08 F4 03 04 00 17 74 90 66 [00:08:53]Write to MH i2c: E2 10 00 C9 10 80 15 02 00 08 00 F4 03 04 00 17 74 90 66 00 00 E5 [00:08:53]Write i2c OK [00:08:53]MH_I2C_Read... [00:08:53]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:08:53]Read from MH i2c: E2 [00:08:53]MH_I2C_Read... [00:08:53]Read from MH i2c: E2 03 00 [00:08:53]MH_I2C_Read... [00:08:53]Read from MH i2c: E2 03 00 C9 10 00 90 00 4D [00:08:53]RAPDU: 90 00 [00:08:53]wFMCommunicate OK [00:08:53]wFMCommunicate request_size=25 [00:08:53]MH_SAM_APDU [00:08:53]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 [00:08:53]Write to MH i2c: E2 1C 00 CA 10 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 00 00 B5 [00:08:53]Write i2c OK [00:08:53]MH_I2C_Read... [00:08:53]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:08:53]Read from MH i2c: E2 [00:08:53]MH_I2C_Read... [00:08:53]Read from MH i2c: E2 03 00 [00:08:53]MH_I2C_Read... [00:08:53]Read from MH i2c: E2 03 00 CA 10 00 90 00 4E [00:08:53]RAPDU: 90 00 [00:08:53]wFMCommunicate OK [00:08:53]wFMCommunicate request_size=4 [00:08:53]MH_SAM_APDU [00:08:53]CAPDU: 80 15 03 00 [00:08:53]Write to MH i2c: E2 08 00 CB 10 80 15 03 00 00 00 00 00 5C [00:08:53]Write i2c OK [00:08:53]MH_I2C_Read... [00:08:53]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 53! [00:08:53]Read from MH i2c: E2 [00:08:53]MH_I2C_Read... [00:08:53]Read from MH i2c: E2 38 00 [00:08:53]MH_I2C_Read... [00:08:53]Read from MH i2c: E2 38 00 CB 10 00 33 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 2A 82 00 00 0E 04 04 00 B1 01 00 00 35 04 06 00 5E 4A F0 1C 52 45 90 00 CA [00:08:53]RAPDU: 33 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 2A 82 00 00 0E 04 04 00 B1 01 00 00 35 04 06 00 5E 4A F0 1C 52 45 90 00 [00:08:53]wFMCommunicate OK [00:08:53]SAM_PROTO_ProcessDocument answer len = 51 [00:08:53]SAM_PROTO_ProcessDocument done [00:08:53]SetTLVBufToDocument [00:08:53]Processing tag 1209 (04B9) [00:08:53]Malloc new data [00:08:53]Processing tag 1041 (0411) [00:08:53]Processing tag 1040 (0410) [00:08:53]Malloc new data [00:08:53]Processing tag 1038 (040E) [00:08:53]Malloc new data [00:08:53]Processing tag 1077 (0435) [00:08:53]Malloc new data [00:08:53]SetTLVBufToDocument err=0 [00:08:53]KKMLoadAndSignOpenShiftData store KKM data [00:08:53]KKMLoadAndSignOpenShiftData err=0 [00:08:53]Отчет об открытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Ташыбеков М. Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 Место: АЗС № 77 "Партнер Нефть" 12.07.2024 00:08 Смена: 433 РНМ: 0000000000093033 ЗНМ: 0300000122 ФД: 33322 ФМ: 0000000000875104 ФПД: 103675948978757 [00:08:53]StoreToDocumentArchive [00:08:53]shift 433 fd 33322 [00:08:53]Create dir for shift 0433 [00:08:53]save to /storage/0433/doc_00033322 [00:08:53]save last doc name /storage/0433/doc_00033322 to /storage/kkm_last_doc_name [00:08:53]save OK [00:08:53]Clear old archive folders... [00:08:53]Remove dir /storage/0432 [00:08:53]opendir ok [00:08:53]file . [00:08:53]file .. [00:08:53]file doc_00033245 [00:08:53]remove file /storage/0432/doc_00033245 [00:08:53]file doc_00033246 [00:08:53]remove file /storage/0432/doc_00033246 [00:08:53]file doc_00033247 [00:08:53]remove file /storage/0432/doc_00033247 [00:08:53]file doc_00033248 [00:08:53]remove file /storage/0432/doc_00033248 [00:08:53]file doc_00033249 [00:08:53]remove file /storage/0432/doc_00033249 [00:08:53]file doc_00033250 [00:08:53]remove file /storage/0432/doc_00033250 [00:08:53]file doc_00033251 [00:08:53]remove file /storage/0432/doc_00033251 [00:08:53]file doc_00033252 [00:08:53]remove file /storage/0432/doc_00033252 [00:08:53]file doc_00033253 [00:08:53]remove file /storage/0432/doc_00033253 [00:08:53]file doc_00033254 [00:08:53]remove file /storage/0432/doc_00033254 [00:08:53]file doc_00033255 [00:08:53]remove file /storage/0432/doc_00033255 [00:08:53]file doc_00033256 [00:08:53]remove file /storage/0432/doc_00033256 [00:08:53]file doc_00033257 [00:08:53]remove file /storage/0432/doc_00033257 [00:08:53]file doc_00033258 [00:08:53]remove file /storage/0432/doc_00033258 [00:08:53]file doc_00033259 [00:08:53]remove file /storage/0432/doc_00033259 [00:08:53]file doc_00033260 [00:08:53]remove file /storage/0432/doc_00033260 [00:08:53]file doc_00033261 [00:08:53]remove file /storage/0432/doc_00033261 [00:08:53]file doc_00033262 [00:08:53]remove file /storage/0432/doc_00033262 [00:08:53]file doc_00033263 [00:08:53]remove file /storage/0432/doc_00033263 [00:08:53]file doc_00033264 [00:08:53]remove file /storage/0432/doc_00033264 [00:08:53]file doc_00033265 [00:08:53]remove file /storage/0432/doc_00033265 [00:08:53]file doc_00033266 [00:08:53]remove file /storage/0432/doc_00033266 [00:08:53]file doc_00033267 [00:08:53]remove file /storage/0432/doc_00033267 [00:08:53]file doc_00033268 [00:08:53]remove file /storage/0432/doc_00033268 [00:08:53]file doc_00033269 [00:08:53]remove file /storage/0432/doc_00033269 [00:08:53]file doc_00033270 [00:08:53]remove file /storage/0432/doc_00033270 [00:08:53]file doc_00033271 [00:08:53]remove file /storage/0432/doc_00033271 [00:08:53]file doc_00033272 [00:08:53]remove file /storage/0432/doc_00033272 [00:08:53]file doc_00033273 [00:08:53]remove file /storage/0432/doc_00033273 [00:08:53]file doc_00033274 [00:08:53]remove file /storage/0432/doc_00033274 [00:08:53]file doc_00033275 [00:08:53]remove file /storage/0432/doc_00033275 [00:08:53]file doc_00033276 [00:08:53]remove file /storage/0432/doc_00033276 [00:08:53]file doc_00033277 [00:08:53]remove file /storage/0432/doc_00033277 [00:08:53]file doc_00033278 [00:08:53]remove file /storage/0432/doc_00033278 [00:08:53]file doc_00033279 [00:08:53]remove file /storage/0432/doc_00033279 [00:08:53]file doc_00033280 [00:08:53]remove file /storage/0432/doc_00033280 [00:08:53]file doc_00033281 [00:08:53]remove file /storage/0432/doc_00033281 [00:08:53]file doc_00033282 [00:08:53]remove file /storage/0432/doc_00033282 [00:08:53]file doc_00033283 [00:08:53]remove file /storage/0432/doc_00033283 [00:08:53]file doc_00033284 [00:08:53]remove file /storage/0432/doc_00033284 [00:08:53]file doc_00033285 [00:08:53]remove file /storage/0432/doc_00033285 [00:08:53]file doc_00033286 [00:08:53]remove file /storage/0432/doc_00033286 [00:08:53]file doc_00033287 [00:08:53]remove file /storage/0432/doc_00033287 [00:08:53]file doc_00033288 [00:08:53]remove file /storage/0432/doc_00033288 [00:08:53]file doc_00033289 [00:08:53]remove file /storage/0432/doc_00033289 [00:08:53]file doc_00033290 [00:08:53]remove file /storage/0432/doc_00033290 [00:08:53]file doc_00033291 [00:08:53]remove file /storage/0432/doc_00033291 [00:08:53]file doc_00033292 [00:08:53]remove file /storage/0432/doc_00033292 [00:08:53]file doc_00033293 [00:08:53]remove file /storage/0432/doc_00033293 [00:08:53]file doc_00033294 [00:08:53]remove file /storage/0432/doc_00033294 [00:08:53]file doc_00033295 [00:08:53]remove file /storage/0432/doc_00033295 [00:08:53]file doc_00033296 [00:08:53]remove file /storage/0432/doc_00033296 [00:08:53]file doc_00033297 [00:08:53]remove file /storage/0432/doc_00033297 [00:08:53]file doc_00033298 [00:08:53]remove file /storage/0432/doc_00033298 [00:08:53]file doc_00033299 [00:08:53]remove file /storage/0432/doc_00033299 [00:08:53]file doc_00033300 [00:08:53]remove file /storage/0432/doc_00033300 [00:08:53]file doc_00033301 [00:08:53]remove file /storage/0432/doc_00033301 [00:08:53]file doc_00033302 [00:08:53]remove file /storage/0432/doc_00033302 [00:08:53]file doc_00033303 [00:08:53]remove file /storage/0432/doc_00033303 [00:08:53]file doc_00033304 [00:08:53]remove file /storage/0432/doc_00033304 [00:08:53]file doc_00033305 [00:08:53]remove file /storage/0432/doc_00033305 [00:08:53]file doc_00033306 [00:08:53]remove file /storage/0432/doc_00033306 [00:08:53]file doc_00033307 [00:08:53]remove file /storage/0432/doc_00033307 [00:08:53]file doc_00033308 [00:08:53]remove file /storage/0432/doc_00033308 [00:08:53]file doc_00033309 [00:08:53]remove file /storage/0432/doc_00033309 [00:08:53]file doc_00033310 [00:08:53]remove file /storage/0432/doc_00033310 [00:08:53]file doc_00033311 [00:08:53]remove file /storage/0432/doc_00033311 [00:08:53]file doc_00033312 [00:08:53]remove file /storage/0432/doc_00033312 [00:08:53]file doc_00033313 [00:08:53]remove file /storage/0432/doc_00033313 [00:08:53]file doc_00033314 [00:08:54]remove file /storage/0432/doc_00033314 [00:08:54]file doc_00033315 [00:08:54]remove file /storage/0432/doc_00033315 [00:08:54]file doc_00033316 [00:08:54]remove file /storage/0432/doc_00033316 [00:08:54]file doc_00033317 [00:08:54]remove file /storage/0432/doc_00033317 [00:08:54]file doc_00033318 [00:08:54]remove file /storage/0432/doc_00033318 [00:08:54]file doc_00033319 [00:08:54]remove file /storage/0432/doc_00033319 [00:08:54]file doc_00033320 [00:08:54]remove file /storage/0432/doc_00033320 [00:08:54]file doc_00033321 [00:08:54]remove file /storage/0432/doc_00033321 [00:08:54]remove dir /storage/0432 [00:08:54]ProcessDocumentItem done err = 0, tmpTLVsize=253 [00:08:54]tlvbuf is 01C5FE90 [00:08:54]SAM_PROTO_ClearQueue [00:08:54]wFMCommunicate request_size=4 [00:08:54]MH_SAM_APDU [00:08:54]CAPDU: 80 09 00 00 [00:08:54]Write to MH i2c: E2 08 00 CC 10 80 09 00 00 00 00 00 00 4E [00:08:54]Write i2c OK [00:08:54]MH_I2C_Read... [00:08:54]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:08:54]Read from MH i2c: E2 [00:08:54]MH_I2C_Read... [00:08:54]Read from MH i2c: E2 03 00 [00:08:54]MH_I2C_Read... [00:08:54]Read from MH i2c: E2 03 00 CC 10 00 90 00 50 [00:08:54]RAPDU: 90 00 [00:08:54]wFMCommunicate OK [00:08:54]SAM_PROTO_ClearQueue done [00:08:54]KKMCreateOFDPacket [00:08:54]OFDProtocolAddRootSTLVToBuf [00:08:54]FM_MakeSignedData [00:08:54]FM_MakeSignedData [00:08:54]SAM_PROTO_SignData [00:08:54]wFMCommunicate request_size=4 [00:08:54]MH_SAM_APDU [00:08:54]CAPDU: 80 0D 01 02 [00:08:54]Write to MH i2c: E2 08 00 CD 10 80 0D 01 02 00 00 00 00 56 [00:08:54]Write i2c OK [00:08:54]MH_I2C_Read... [00:08:54]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:08:54]Read from MH i2c: E2 [00:08:54]MH_I2C_Read... [00:08:54]Read from MH i2c: E2 03 00 [00:08:54]MH_I2C_Read... [00:08:54]Read from MH i2c: E2 03 00 CD 10 00 90 00 51 [00:08:54]RAPDU: 90 00 [00:08:54]wFMCommunicate OK [00:08:54]wFMCommunicate request_size=255 [00:08:54]MH_SAM_APDU [00:08:54]CAPDU: 80 0D 02 02 FA 02 00 FD 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 A2 D0 B0 D1 88 D1 8B D0 B1 D0 B5 D0 BA D0 BE D0 B2 20 D0 9C 2E 20 F1 03 50 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 A2 D0 B0 D0 BB D0 B0 D1 81 2C 20 D1 83 D0 BB 2E 20 D0 A7 2E 20 D0 90 D0 B9 D1 82 D0 BC D0 B0 D1 82 D0 BE D0 B2 D0 B0 20 D0 B1 2F D0 BD 2C 20 34 32 2E 35 32 35 32 38 34 2C 20 37 32 2E 32 34 35 34 33 32 A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 37 37 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 17 74 90 66 0E 04 04 00 B1 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 2A 82 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 35 04 06 [00:08:54]Write to MH i2c: E2 02 01 CE 10 80 0D 02 02 FA 00 02 00 FD 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 A2 D0 B0 D1 88 D1 8B D0 B1 D0 B5 D0 BA D0 BE D0 B2 20 D0 9C 2E 20 F1 03 50 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 A2 D0 B0 D0 BB D0 B0 D1 81 2C 20 D1 83 D0 BB 2E 20 D0 A7 2E 20 D0 90 D0 B9 D1 82 D0 BC D0 B0 D1 82 D0 BE D0 B2 D0 B0 20 D0 B1 2F D0 BD 2C 20 34 32 2E 35 32 35 32 38 34 2C 20 37 32 2E 32 34 35 34 33 32 A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 37 37 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 17 74 90 66 0E 04 04 00 B1 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 2A 82 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 35 04 06 00 00 C0 [00:08:54]Write i2c OK [00:08:54]MH_I2C_Read... [00:08:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:08:54]Read from MH i2c: E2 [00:08:54]MH_I2C_Read... [00:08:54]Read from MH i2c: E2 03 00 [00:08:54]MH_I2C_Read... [00:08:54]Read from MH i2c: E2 03 00 CE 10 00 90 00 52 [00:08:54]RAPDU: 90 00 [00:08:54]wFMCommunicate OK [00:08:54]wFMCommunicate request_size=12 [00:08:54]MH_SAM_APDU [00:08:54]CAPDU: 80 0D 02 02 07 00 5E 4A F0 1C 52 45 [00:08:54]Write to MH i2c: E2 0F 00 CF 10 80 0D 02 02 07 00 00 5E 4A F0 1C 52 45 00 00 B2 [00:08:54]Write i2c OK [00:08:54]MH_I2C_Read... [00:08:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:08:54]Read from MH i2c: E2 [00:08:54]MH_I2C_Read... [00:08:54]Read from MH i2c: E2 03 00 [00:08:54]MH_I2C_Read... [00:08:54]Read from MH i2c: E2 03 00 CF 10 00 90 00 53 [00:08:54]RAPDU: 90 00 [00:08:54]wFMCommunicate OK [00:08:54]wFMCommunicate request_size=4 [00:08:54]MH_SAM_APDU [00:08:54]CAPDU: 80 0D 03 02 [00:08:54]Write to MH i2c: E2 08 00 D0 10 80 0D 03 02 00 00 00 00 5B [00:08:54]Write i2c OK [00:08:54]MH_I2C_Read... [00:08:54]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:08:54]Read from MH i2c: E2 [00:08:54]MH_I2C_Read... [00:08:54]Read from MH i2c: E2 0B 00 [00:08:54]MH_I2C_Read... [00:08:54]Read from MH i2c: E2 0B 00 D0 10 00 82 18 43 45 5D AC E4 7C 90 00 E7 [00:08:54]RAPDU: 82 18 43 45 5D AC E4 7C 90 00 [00:08:54]wFMCommunicate OK [00:08:54]SAM_PROTO_SignData done [00:08:54]FM_MakeSignedData done [00:08:54]CreateOFDProtocolMessage [00:08:54]wFMCommunicate request_size=4 [00:08:54]MH_SAM_APDU [00:08:54]CAPDU: 80 11 00 00 [00:08:54]Write to MH i2c: E2 08 00 D1 10 80 11 00 00 00 00 00 00 5B [00:08:54]Write i2c OK [00:08:54]MH_I2C_Read... [00:08:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:08:54]Read from MH i2c: E2 [00:08:54]MH_I2C_Read... [00:08:54]Read from MH i2c: E2 17 00 [00:08:54]MH_I2C_Read... [00:08:54]Read from MH i2c: E2 17 00 D1 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 A7 [00:08:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [00:08:55]wFMCommunicate OK [00:08:55]CreateOFDProtocolMessage done [00:08:55]OFDSenderStorePacket 33322 [00:08:55]StoreOFDPacket docnum=33322 [00:08:55]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 11 01 00 00 65 9A 09 01 EF 63 5A 02 01 00 02 00 FD 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 A2 D0 B0 D1 88 D1 8B D0 B1 D0 B5 D0 BA D0 BE D0 B2 20 D0 9C 2E 20 F1 03 50 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 A2 D0 B0 D0 BB D0 B0 D1 81 2C 20 D1 83 D0 BB 2E 20 D0 A7 2E 20 D0 90 D0 B9 D1 82 D0 BC D0 B0 D1 82 D0 BE D0 B2 D0 B0 20 D0 B1 2F D0 BD 2C 20 34 32 2E 35 32 35 32 38 34 2C 20 37 32 2E 32 34 35 34 33 32 A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 37 37 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 17 74 90 66 0E 04 04 00 B1 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 2A 82 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 35 04 06 00 5E 4A F0 1C 52 45 82 18 43 45 5D AC E4 7C [00:08:55]CheckFolder [00:08:55]dirname=/storage/ofd_packets [00:08:55]CheckFolder done [00:08:55]ProducePacketName [00:08:55]name=ofd_packets/00033322 [00:08:55]NVStorageSaveData ofd_packets/00033322 [00:08:55]File name is /storage/ofd_packets/00033322 [00:08:55]Write 303 bytes [00:08:55]NVStorageSaveData done [00:08:55]OFDSenderStorePacket done [00:08:55]KKMCreateOFDPacket done [00:08:55]NVStorageSaveData kkm_last_timestamp [00:08:55]File name is /storage/kkm_last_timestamp [00:08:55]Write 4 bytes [00:08:55]NVStorageSaveData done [00:08:55]ExternCall_PrintAddStr [00:08:55]wPrintStart [00:08:55]Write to MH i2c: 01 00 00 D2 10 E2 [00:08:55]Write i2c OK [00:08:55]MH_I2C_Read... [00:08:55]Read from MH i2c: 01 [00:08:55]MH_I2C_Read... [00:08:55]Read from MH i2c: 01 07 00 [00:08:55]MH_I2C_Read... [00:08:55]Read from MH i2c: 01 07 00 D2 10 00 00 00 00 00 FF 0F F7 [00:08:55]RasterBufferAndPrint [00:08:55]line Отчет об открытии смены [00:08:55]line ФФД: 1.0 [00:08:55]line ИНН: 02508201610067 [00:08:55]line Кассир: Ташыбеков М. [00:08:55]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [00:08:55]line Место: АЗС № 77 "Партнер Нефть" [00:08:55]line 12.07.2024 00:08 [00:08:55]line Смена: 433 [00:08:55]line РНМ: 0000000000093033 [00:08:55]line ЗНМ: 0300000122 [00:08:55]line ФД: 33322 [00:08:55]line ФМ: 0000000000875104 [00:08:55]line ФПД: 103675948978757 [00:08:55]OFD Sender: Processing packet 33322 [packets to send 6, broken 5] [00:08:55]ProducePacketName [00:08:55]name=ofd_packets/00033322 [00:08:55]OFD Sender: To server: pG, [00:08:55]CommunicateWithHost lk.salyk.kg:30040 [00:08:55]ConnectInit lk.salyk.kg [00:08:55]written 0, free lines is 4095 [00:08:55]Connected sock=7 [00:08:55]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 11 01 00 00 65 9A 09 01 EF 63 5A 02 01 00 02 00 FD 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 A2 D0 B0 D1 88 D1 8B D0 B1 D0 B5 D0 BA D0 BE D0 B2 20 D0 9C 2E 20 F1 03 50 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 A2 D0 B0 D0 BB D0 B0 D1 81 2C 20 D1 83 D0 BB 2E 20 D0 A7 2E 20 D0 90 D0 B9 D1 82 D0 BC D0 B0 D1 82 D0 BE D0 B2 D0 B0 20 D0 B1 2F D0 BD 2C 20 34 32 2E 35 32 35 32 38 34 2C 20 37 32 2E 32 34 35 34 33 32 A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 37 37 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 17 74 90 66 0E 04 04 00 B1 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 2A 82 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 35 04 06 00 5E 4A F0 1C 52 45 82 18 43 45 5D AC E4 7C [00:08:55]Write to MH i2c: 01 00 00 E4 10 F4 [00:08:55]Write i2c OK [00:08:55]MH_I2C_Read... [00:08:55]Read from MH i2c: 01 [00:08:55]MH_I2C_Read... [00:08:55]Read from MH i2c: 01 07 00 [00:08:55]MH_I2C_Read... [00:08:55]Read from MH i2c: 01 07 00 E4 10 00 00 00 00 00 56 0E 5F [00:08:55]RasterBufferAndPrint [00:08:55]line [00:08:55]line [00:08:55]line [00:08:55]line [00:08:55]line [00:08:55]written 0, free lines is 3683 [00:08:55]MH_Cut [00:08:55]Write to MH i2c: D1 01 00 EB 10 01 CD [00:08:55]Write i2c OK [00:08:55]MH_I2C_Read... [00:08:55]Read from MH i2c: D1 [00:08:55]MH_I2C_Read... [00:08:55]Read from MH i2c: D1 01 00 [00:08:55]MH_I2C_Read... [00:08:55]Read from MH i2c: D1 01 00 EB 10 00 CC [00:08:55]Write to MH i2c: 01 00 00 EC 10 FC [00:08:55]Write i2c OK [00:08:55]MH_I2C_Read... [00:08:55]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 B5 7F 47 00 E7 85 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 35 31 30 34 10 04 04 00 2A 82 00 00 F4 03 04 00 C6 1E 90 66 B6 04 01 00 00 DE BB 57 E1 B4 1F 24 22 [00:08:55]CommunicateWithHost err = 0 [00:08:55]CheckOFDResponse [00:08:55]1017 (14) - 77093643461234 [00:08:55]1041 (16) - 0000000000875104 [00:08:55]1040 (4) - 33322 [00:08:55]1012 (4) - 11.07.2024 18:04 [00:08:55]1206 (1) - 0 [00:08:55]OFD Sender: Remove packet 33322 [00:08:55]ProducePacketName [00:08:55]name=ofd_packets/00033322 [00:08:55]NVStorageDeleteData [00:08:55]*** Cut start [00:08:55]*** Partial cut [00:08:55]*** CUTSNS_PIN = 1 [00:08:55]*** CUTSNS_PIN = 0 [00:08:55]OFD Sender: No OFD packet to send [00:08:56]*** Brake cut motor [00:08:56]Read from MH i2c: 01 [00:08:56]MH_I2C_Read... [00:08:56]*** Stop cut motor [00:08:56]*** Cut end [00:08:56]Read from MH i2c: 01 07 00 [00:08:56]MH_I2C_Read... [00:08:56]Read from MH i2c: 01 07 00 EC 10 00 00 00 00 00 FF 0F 11 [00:08:56]process_action open_shift done [00:08:56]requested_data is exist [00:08:56]produce_requested_data [00:08:56]requested_item fd.num is exist - process it [00:08:56]SAM_PROTO_GetFieldsCounters [00:08:56]wFMCommunicate request_size=4 [00:08:56]MH_SAM_APDU [00:08:56]CAPDU: 80 13 00 00 [00:08:56]Write to MH i2c: E2 08 00 ED 10 80 13 00 00 00 00 00 00 79 [00:08:56]Write i2c OK [00:08:56]MH_I2C_Read... [00:08:56]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:08:56]Read from MH i2c: E2 [00:08:56]MH_I2C_Read... [00:08:56]Read from MH i2c: E2 62 00 [00:08:56]MH_I2C_Read... [00:08:56]Read from MH i2c: E2 62 00 ED 10 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 2A 82 00 00 0E 04 04 00 B1 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 EA [00:08: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 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 2A 82 00 00 0E 04 04 00 B1 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:08:56]wFMCommunicate OK [00:08:56]SAM_PROTO_GetFieldsCounters done [00:08:56]requested_item shift.num is exist - process it [00:08:56]requested_item shift.opened is exist - process it [00:08:56]req_shift_opened [00:08:56]FM_GetShiftState [00:08:56]SAM_PROTO_GetShiftState [00:08:56]wFMCommunicate request_size=4 [00:08:56]MH_SAM_APDU [00:08:56]CAPDU: 80 13 01 00 [00:08:56]Write to MH i2c: E2 08 00 EE 10 80 13 01 00 00 00 00 00 7B [00:08:56]Write i2c OK [00:08:56]MH_I2C_Read... [00:08:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:08:56]Read from MH i2c: E2 [00:08:56]MH_I2C_Read... [00:08:56]Read from MH i2c: E2 0E 00 [00:08:56]MH_I2C_Read... [00:08:56]Read from MH i2c: E2 0E 00 EE 10 00 09 00 01 17 74 90 66 00 00 00 00 90 00 08 [00:08:56]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [00:08:56]wFMCommunicate OK [00:08:56]SAM_PROTO_GetShiftState done [00:08:56]FM_GetShiftState done [00:08:56]req_shift_opened done [00:08:56]requested_item shift.open_date is exist - process it [00:08:56]req_shift_open_date [00:08:56]req_shift_open_date done [00:08:56]produce_requested_data done [00:08:56]produce_requested_data return {"fd.num":33322,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935} [00:08:56]process_action_free open_shift [00:08:56]json_value_free [00:08:56]json_value_free done [00:08:56]process_json_proto returns [00:08:56]Send response to host [00:08:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":33322,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935}}} [00:08:56]free response buf [00:08:56]execute_script done [00:08:56]execute_script returns [00:08:56]free content buf [00:08:56]Sock 9.Close socket [00:08:56]Sock 9.Thread stoped [00:08:56]accept exits with 10 [00:08:56]New connection [00:08:56]New thread 3066793316 created [00:08:56]Thread 3066936676 joined [00:08:56]Waiting for new connection... [00:08:56] Sock 10.Parse request [00:08:56]Sock 10.Check first char [00:08:56]Sock 10.First char is OK [00:08:56]request: POST /json_proto HTTP/1.0 [00:08:56]Method: POST [00:08:56]URL: /json_proto [00:08:56]Method is POST - this is cgi request [00:08:56]url: /json_proto [00:08:56]query_string will be loaded in cgi processing [00:08:56]execute_cgi json_proto POST (null) [00:08:56]execute_cgi path=json_proto method=POST [00:08:56]POST find Content-Length [00:08:56]Host: 172.17.35.196:8080 [00:08:56]Content-Length: 331 [00:08:56]Content-Type: application/json [00:08:56] [00:08:56]POST finish read [00:08:56]Found Content-Length = 331 [00:08: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" ] } } [00:08:56]execute_script... [00:08: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" ] } } [00:08:56]POST & json_proto [00:08:56]process_json_proto [00:08:56]json parsed OK: [00:08:56]protocol is kg_v1.0 [00:08:56]action value=get_value [00:08:56]process_action get_value [00:08:56]cmd_get_value [00:08:56]process_action get_value done [00:08:56]requested_data is exist [00:08:56]produce_requested_data [00:08:56]requested_item fm.sale.total is exist - process it [00:08:56]SAM_PROTO_GetFMData [00:08:56]wFMCommunicate request_size=4 [00:08:56]MH_SAM_APDU [00:08:56]CAPDU: 80 13 03 00 [00:08:56]Write to MH i2c: E2 08 00 EF 10 80 13 03 00 00 00 00 00 7E [00:08:56]Write i2c OK [00:08:56]MH_I2C_Read... [00:08:57]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:08:57]Read from MH i2c: E2 [00:08:57]MH_I2C_Read... [00:08:57]Read from MH i2c: E2 FD 00 [00:08:57]MH_I2C_Read... [00:08:57]Read from MH i2c: E2 FD 00 EF 10 00 C4 04 85 04 C0 04 6E 04 04 00 C8 7E 00 00 69 04 A0 00 6F 04 04 00 E7 7D 00 00 B1 04 04 00 A0 E8 88 3F 70 04 04 00 98 82 E3 34 72 04 04 00 08 66 A5 0A 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 9B 66 BF 06 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 9C E7 8F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 90 00 8C [00:08:57]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 C8 7E 00 00 69 04 A0 00 6F 04 04 00 E7 7D 00 00 B1 04 04 00 A0 E8 88 3F 70 04 04 00 98 82 E3 34 72 04 04 00 08 66 A5 0A 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 9B 66 BF 06 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 9C E7 8F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 90 00 [00:08:57]wFMCommunicate OK [00:08:57]wFMCommunicate request_size=4 [00:08:57]MH_SAM_APDU [00:08:57]CAPDU: 80 17 00 00 [00:08:57]Write to MH i2c: E2 08 00 F0 10 80 17 00 00 00 00 00 00 80 [00:08:57]Write i2c OK [00:08:57]MH_I2C_Read... [00:08:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:08:57]Read from MH i2c: E2 [00:08:57]MH_I2C_Read... [00:08:57]Read from MH i2c: E2 FD 00 [00:08:57]MH_I2C_Read... [00:08:57]Read from MH i2c: E2 FD 00 F0 10 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 3D [00:08:57]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [00:08:57]wFMCommunicate OK [00:08:57]wFMCommunicate request_size=4 [00:08:57]MH_SAM_APDU [00:08:57]CAPDU: 80 17 00 00 [00:08:57]Write to MH i2c: E2 08 00 F1 10 80 17 00 00 00 00 00 00 81 [00:08:57]Write i2c OK [00:08:57]MH_I2C_Read... [00:08:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:08:58]Read from MH i2c: E2 [00:08:58]MH_I2C_Read... [00:08:58]Read from MH i2c: E2 FD 00 [00:08:58]MH_I2C_Read... [00:08:58]Read from MH i2c: E2 FD 00 F1 10 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 96 [00:08:58]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [00:08:58]wFMCommunicate OK [00:08:58]wFMCommunicate request_size=4 [00:08:58]MH_SAM_APDU [00:08:58]CAPDU: 80 17 00 00 [00:08:58]Write to MH i2c: E2 08 00 F2 10 80 17 00 00 00 00 00 00 82 [00:08:58]Write i2c OK [00:08:58]MH_I2C_Read... [00:08:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:08:58]Read from MH i2c: E2 [00:08:58]MH_I2C_Read... [00:08:58]Read from MH i2c: E2 FD 00 [00:08:58]MH_I2C_Read... [00:08:58]Read from MH i2c: E2 FD 00 F2 10 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 FA [00:08:58]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [00:08:58]wFMCommunicate OK [00:08:58]wFMCommunicate request_size=4 [00:08:58]MH_SAM_APDU [00:08:58]CAPDU: 80 17 00 00 [00:08:58]Write to MH i2c: E2 08 00 F3 10 80 17 00 00 00 00 00 00 83 [00:08:58]Write i2c OK [00:08:58]MH_I2C_Read... [00:08:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [00:08:58]Read from MH i2c: E2 [00:08:58]MH_I2C_Read... [00:08:58]Read from MH i2c: E2 E1 00 [00:08:58]MH_I2C_Read... [00:08:58]Read from MH i2c: E2 E1 00 F3 10 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 71 [00:08:58]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:08:58]wFMCommunicate OK [00:08:58]SAM_PROTO_GetFMData done [00:08:58]requested_item fm.sale_refund.total is exist - process it [00:08:58]requested_item fm.buy.total is exist - process it [00:08:58]requested_item shift.sale.total is exist - process it [00:08:58]SAM_PROTO_GetShiftData [00:08:58]wFMCommunicate request_size=4 [00:08:58]MH_SAM_APDU [00:08:58]CAPDU: 80 13 02 00 [00:08:58]Write to MH i2c: E2 08 00 F4 10 80 13 02 00 00 00 00 00 82 [00:08:58]Write i2c OK [00:08:58]MH_I2C_Read... [00:08:59]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:08:59]Read from MH i2c: E2 [00:08:59]MH_I2C_Read... [00:08:59]Read from MH i2c: E2 FD 00 [00:08:59]MH_I2C_Read... [00:08:59]Read from MH i2c: E2 FD 00 F4 10 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 F5 [00:08:59]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:08:59]wFMCommunicate OK [00:08:59]wFMCommunicate request_size=4 [00:08:59]MH_SAM_APDU [00:08:59]CAPDU: 80 17 00 00 [00:08:59]Write to MH i2c: E2 08 00 F5 10 80 17 00 00 00 00 00 00 85 [00:08:59]Write i2c OK [00:08:59]MH_I2C_Read... [00:08:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:08:59]Read from MH i2c: E2 [00:08:59]MH_I2C_Read... [00:08:59]Read from MH i2c: E2 FD 00 [00:08:59]MH_I2C_Read... [00:08:59]Read from MH i2c: E2 FD 00 F5 10 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 8D [00:08:59]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:09:00]wFMCommunicate OK [00:09:00]wFMCommunicate request_size=4 [00:09:00]MH_SAM_APDU [00:09:00]CAPDU: 80 17 00 00 [00:09:00]Write to MH i2c: E2 08 00 F6 10 80 17 00 00 00 00 00 00 86 [00:09:00]Write i2c OK [00:09:00]MH_I2C_Read... [00:09:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:09:00]Read from MH i2c: E2 [00:09:00]MH_I2C_Read... [00:09:00]Read from MH i2c: E2 FD 00 [00:09:00]MH_I2C_Read... [00:09:00]Read from MH i2c: E2 FD 00 F6 10 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 58 [00:09:00]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:09:00]wFMCommunicate OK [00:09:00]wFMCommunicate request_size=4 [00:09:00]MH_SAM_APDU [00:09:00]CAPDU: 80 17 00 00 [00:09:00]Write to MH i2c: E2 08 00 F7 10 80 17 00 00 00 00 00 00 87 [00:09:00]Write i2c OK [00:09:00]MH_I2C_Read... [00:09:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:09:00]Read from MH i2c: E2 [00:09:00]MH_I2C_Read... [00:09:00]Read from MH i2c: E2 FD 00 [00:09:00]MH_I2C_Read... [00:09:00]Read from MH i2c: E2 FD 00 F7 10 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 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 F9 [00:09:00]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:09:00]wFMCommunicate OK [00:09:00]wFMCommunicate request_size=4 [00:09:00]MH_SAM_APDU [00:09:00]CAPDU: 80 17 00 00 [00:09:00]Write to MH i2c: E2 08 00 F8 10 80 17 00 00 00 00 00 00 88 [00:09:00]Write i2c OK [00:09:00]MH_I2C_Read... [00:09:01]OFD Sender: No OFD packet to send [00:09:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 186! [00:09:01]Read from MH i2c: E2 [00:09:01]MH_I2C_Read... [00:09:01]Read from MH i2c: E2 BD 00 [00:09:01]MH_I2C_Read... [00:09:01]Read from MH i2c: E2 BD 00 F8 10 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 6E [00:09:01]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:09:01]wFMCommunicate OK [00:09:01]SAM_PROTO_GetShiftData done [00:09:01]requested_item shift.sale.total_cash is exist - process it [00:09:01]requested_item shift.sale_refund.total is exist - process it [00:09:01]requested_item shift.sale_refund.total_cash is exist - process it [00:09:01]requested_item shift.buy.total is exist - process it [00:09:01]requested_item shift.buy.total_cash is exist - process it [00:09:01]produce_requested_data done [00:09:01]produce_requested_data return {"fm.sale.total":10659370.56,"fm.sale_refund.total":365383.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:09:01]process_action_free get_value [00:09:01]json_value_free [00:09:01]json_value_free done [00:09:01]process_json_proto returns [00:09:01]Send response to host [00:09:01]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":10659370.56,"fm.sale_refund.total":365383.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:09:01]free response buf [00:09:01]execute_script done [00:09:01]execute_script returns [00:09:01]free content buf [00:09:01]Sock 10.Close socket [00:09:01]Sock 10.Thread stoped [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:41]OFD Sender: No OFD packet to send [00:11:46]OFD Sender: No OFD packet to send [00:11:51]OFD Sender: No OFD packet to send [00:11:56]OFD Sender: No OFD packet to send [00:12:01]OFD Sender: No OFD packet to send [00:12:06]OFD Sender: No OFD packet to send [00:12:11]OFD Sender: No OFD packet to send [00:12:16]OFD Sender: No OFD packet to send [00:12:21]OFD Sender: No OFD packet to send [00:12:26]OFD Sender: No OFD packet to send [00:12:31]OFD Sender: No OFD packet to send [00:12:36]OFD Sender: No OFD packet to send [00:12:41]OFD Sender: No OFD packet to send [00:12:46]OFD Sender: No OFD packet to send [00:12:51]OFD Sender: No OFD packet to send [00:12:56]OFD Sender: No OFD packet to send [00:13:01]OFD Sender: No OFD packet to send [00:13:06]OFD Sender: No OFD packet to send [00:13:11]OFD Sender: No OFD packet to send [00:13:16]OFD Sender: No OFD packet to send [00:13:21]OFD Sender: No OFD packet to send [00:13:26]OFD Sender: No OFD packet to send [00:13:31]OFD Sender: No OFD packet to send [00:13:36]OFD Sender: No OFD packet to send [00:13:41]OFD Sender: No OFD packet to send [00:13:46]OFD Sender: No OFD packet to send [00:13:51]OFD Sender: No OFD packet to send [00:13:56]OFD Sender: No OFD packet to send [00:14:01]OFD Sender: No OFD packet to send [00:14:06]OFD Sender: No OFD packet to send [00:14:11]OFD Sender: No OFD packet to send [00:14:16]OFD Sender: No OFD packet to send [00:14:21]OFD Sender: No OFD packet to send [00:14:26]OFD Sender: No OFD packet to send [00:14:31]OFD Sender: No OFD packet to send [00:14:36]OFD Sender: No OFD packet to send [00:14:41]OFD Sender: No OFD packet to send [00:14:46]OFD Sender: No OFD packet to send [00:14:51]OFD Sender: No OFD packet to send [00:14:56]OFD Sender: No OFD packet to send [00:15:01]OFD Sender: No OFD packet to send [00:15:06]OFD Sender: No OFD packet to send [00:15:11]OFD Sender: No OFD packet to send [00:15:16]OFD Sender: No OFD packet to send [00:15:21]OFD Sender: No OFD packet to send [00:15:26]OFD Sender: No OFD packet to send [00:15:31]OFD Sender: No OFD packet to send [00:15:36]OFD Sender: No OFD packet to send [00:15:41]OFD Sender: No OFD packet to send [00:15:46]OFD Sender: No OFD packet to send [00:15:51]OFD Sender: No OFD packet to send [00:15:56]OFD Sender: No OFD packet to send [00:16:01]OFD Sender: No OFD packet to send [00:16:06]OFD Sender: No OFD packet to send [00:16:11]OFD Sender: No OFD packet to send [00:16:16]OFD Sender: No OFD packet to send [00:16:21]OFD Sender: No OFD packet to send [00:16:26]OFD Sender: No OFD packet to send [00:16:31]OFD Sender: No OFD packet to send [00:16:36]OFD Sender: No OFD packet to send [00:16:41]OFD Sender: No OFD packet to send [00:16:46]OFD Sender: No OFD packet to send [00:16:51]OFD Sender: No OFD packet to send [00:16:56]OFD Sender: No OFD packet to send [00:17:01]OFD Sender: No OFD packet to send [00:17:06]OFD Sender: No OFD packet to send [00:17:11]OFD Sender: No OFD packet to send [00:17:16]OFD Sender: No OFD packet to send [00:17:21]OFD Sender: No OFD packet to send [00:17:26]OFD Sender: No OFD packet to send [00:17:31]OFD Sender: No OFD packet to send [00:17:36]OFD Sender: No OFD packet to send [00:17:41]OFD Sender: No OFD packet to send [00:17:46]OFD Sender: No OFD packet to send [00:17:51]OFD Sender: No OFD packet to send [00:17:56]OFD Sender: No OFD packet to send [00:18:01]OFD Sender: No OFD packet to send [00:18:06]OFD Sender: No OFD packet to send [00:18:11]OFD Sender: No OFD packet to send [00:18:16]OFD Sender: No OFD packet to send [00:18:21]OFD Sender: No OFD packet to send [00:18:26]OFD Sender: No OFD packet to send [00:18:31]OFD Sender: No OFD packet to send [00:18:36]OFD Sender: No OFD packet to send [00:18:41]OFD Sender: No OFD packet to send [00:18:46]OFD Sender: No OFD packet to send [00:18:51]OFD Sender: No OFD packet to send [00:18:56]OFD Sender: No OFD packet to send [00:19:01]OFD Sender: No OFD packet to send [00:19:06]OFD Sender: No OFD packet to send [00:19:11]OFD Sender: No OFD packet to send [00:19:16]OFD Sender: No OFD packet to send [00:19:21]OFD Sender: No OFD packet to send [00:19:26]OFD Sender: No OFD packet to send [00:19:31]OFD Sender: No OFD packet to send [00:19:36]OFD Sender: No OFD packet to send [00:19:41]OFD Sender: No OFD packet to send [00:19:46]OFD Sender: No OFD packet to send [00:19:51]OFD Sender: No OFD packet to send [00:19:56]OFD Sender: No OFD packet to send [00:20:01]OFD Sender: No OFD packet to send [00:20:06]OFD Sender: No OFD packet to send [00:20:11]OFD Sender: No OFD packet to send [00:20:16]OFD Sender: No OFD packet to send [00:20:21]OFD Sender: No OFD packet to send [00:20:26]OFD Sender: No OFD packet to send [00:20:31]OFD Sender: No OFD packet to send [00:20:36]OFD Sender: No OFD packet to send [00:20:41]OFD Sender: No OFD packet to send [00:20:46]OFD Sender: No OFD packet to send [00:20:51]OFD Sender: No OFD packet to send [00:20:56]OFD Sender: No OFD packet to send [00:21:01]OFD Sender: No OFD packet to send [00:21:06]OFD Sender: No OFD packet to send [00:21:11]OFD Sender: No OFD packet to send [00:21:16]OFD Sender: No OFD packet to send [00:21:21]OFD Sender: No OFD packet to send [00:21:26]OFD Sender: No OFD packet to send [00:21:31]OFD Sender: No OFD packet to send [00:21:36]OFD Sender: No OFD packet to send [00:21:41]OFD Sender: No OFD packet to send [00:21:46]OFD Sender: No OFD packet to send [00:21:51]OFD Sender: No OFD packet to send [00:21:56]OFD Sender: No OFD packet to send [00:22:01]OFD Sender: No OFD packet to send [00:22:06]OFD Sender: No OFD packet to send [00:22:11]OFD Sender: No OFD packet to send [00:22:16]OFD Sender: No OFD packet to send [00:22:21]OFD Sender: No OFD packet to send [00:22:26]OFD Sender: No OFD packet to send [00:22:31]OFD Sender: No OFD packet to send [00:22:36]OFD Sender: No OFD packet to send [00:22:41]OFD Sender: No OFD packet to send [00:22:46]OFD Sender: No OFD packet to send [00:22:51]OFD Sender: No OFD packet to send [00:22:56]OFD Sender: No OFD packet to send [00:23:01]OFD Sender: No OFD packet to send [00:23:06]OFD Sender: No OFD packet to send [00:23:11]OFD Sender: No OFD packet to send [00:23:16]OFD Sender: No OFD packet to send [00:23:21]OFD Sender: No OFD packet to send [00:23:26]OFD Sender: No OFD packet to send [00:23:31]OFD Sender: No OFD packet to send [00:23:36]OFD Sender: No OFD packet to send [00:23:41]OFD Sender: No OFD packet to send [00:23:46]OFD Sender: No OFD packet to send [00:23:51]OFD Sender: No OFD packet to send [00:23:56]OFD Sender: No OFD packet to send [00:24:01]OFD Sender: No OFD packet to send [00:24:06]OFD Sender: No OFD packet to send [00:24:11]OFD Sender: No OFD packet to send [00:24:16]OFD Sender: No OFD packet to send [00:24:21]OFD Sender: No OFD packet to send [00:24:26]OFD Sender: No OFD packet to send [00:24:31]OFD Sender: No OFD packet to send [00:24:36]OFD Sender: No OFD packet to send [00:24:41]OFD Sender: No OFD packet to send [00:24:46]OFD Sender: No OFD packet to send [00:24:51]OFD Sender: No OFD packet to send [00:24:56]OFD Sender: No OFD packet to send [00:25:01]OFD Sender: No OFD packet to send [00:25:06]OFD Sender: No OFD packet to send [00:25:11]OFD Sender: No OFD packet to send [00:25:16]OFD Sender: No OFD packet to send [00:25:21]OFD Sender: No OFD packet to send [00:25:26]OFD Sender: No OFD packet to send [00:25:31]OFD Sender: No OFD packet to send [00:25:36]OFD Sender: No OFD packet to send [00:25:41]OFD Sender: No OFD packet to send [00:25:46]OFD Sender: No OFD packet to send [00:25:51]OFD Sender: No OFD packet to send [00:25:56]OFD Sender: No OFD packet to send [00:26:01]OFD Sender: No OFD packet to send [00:26:06]OFD Sender: No OFD packet to send [00:26:11]OFD Sender: No OFD packet to send [00:26:16]OFD Sender: No OFD packet to send [00:26:21]OFD Sender: No OFD packet to send [00:26:26]OFD Sender: No OFD packet to send [00:26:31]OFD Sender: No OFD packet to send [00:26:36]OFD Sender: No OFD packet to send [00:26:41]OFD Sender: No OFD packet to send [00:26:46]OFD Sender: No OFD packet to send [00:26:51]OFD Sender: No OFD packet to send [00:26:56]OFD Sender: No OFD packet to send [00:27:01]OFD Sender: No OFD packet to send [00:27:06]OFD Sender: No OFD packet to send [00:27:11]OFD Sender: No OFD packet to send [00:27:16]OFD Sender: No OFD packet to send [00:27:21]OFD Sender: No OFD packet to send [00:27:26]OFD Sender: No OFD packet to send [00:27:31]OFD Sender: No OFD packet to send [00:27:36]OFD Sender: No OFD packet to send [00:27:41]OFD Sender: No OFD packet to send [00:27:46]OFD Sender: No OFD packet to send [00:27:51]OFD Sender: No OFD packet to send [00:27:56]OFD Sender: No OFD packet to send [00:28:01]OFD Sender: No OFD packet to send [00:28:06]OFD Sender: No OFD packet to send [00:28:11]OFD Sender: No OFD packet to send [00:28:16]OFD Sender: No OFD packet to send [00:28:21]OFD Sender: No OFD packet to send [00:28:26]OFD Sender: No OFD packet to send [00:28:31]OFD Sender: No OFD packet to send [00:28:36]OFD Sender: No OFD packet to send [00:28:41]OFD Sender: No OFD packet to send [00:28:46]OFD Sender: No OFD packet to send [00:28:52]OFD Sender: No OFD packet to send [00:28:57]OFD Sender: No OFD packet to send [00:29:02]OFD Sender: No OFD packet to send [00:29:07]OFD Sender: No OFD packet to send [00:29:12]OFD Sender: No OFD packet to send [00:29:17]OFD Sender: No OFD packet to send [00:29:22]OFD Sender: No OFD packet to send [00:29:27]OFD Sender: No OFD packet to send [00:29:32]OFD Sender: No OFD packet to send [00:29:37]OFD Sender: No OFD packet to send [00:29:42]OFD Sender: No OFD packet to send [00:29:47]OFD Sender: No OFD packet to send [00:29:52]OFD Sender: No OFD packet to send [00:29:57]OFD Sender: No OFD packet to send [00:30:02]OFD Sender: No OFD packet to send [00:30:07]OFD Sender: No OFD packet to send [00:30:12]OFD Sender: No OFD packet to send [00:30:17]OFD Sender: No OFD packet to send [00:30:22]OFD Sender: No OFD packet to send [00:30:27]OFD Sender: No OFD packet to send [00:30:32]OFD Sender: No OFD packet to send [00:30:37]OFD Sender: No OFD packet to send [00:30:42]OFD Sender: No OFD packet to send [00:30:47]OFD Sender: No OFD packet to send [00:30:52]OFD Sender: No OFD packet to send [00:30:57]OFD Sender: No OFD packet to send [00:31:02]OFD Sender: No OFD packet to send [00:31:07]OFD Sender: No OFD packet to send [00:31:12]OFD Sender: No OFD packet to send [00:31:17]OFD Sender: No OFD packet to send [00:31:22]OFD Sender: No OFD packet to send [00:31:27]OFD Sender: No OFD packet to send [00:31:32]OFD Sender: No OFD packet to send [00:31:37]OFD Sender: No OFD packet to send [00:31:42]OFD Sender: No OFD packet to send [00:31:47]OFD Sender: No OFD packet to send [00:31:52]OFD Sender: No OFD packet to send [00:31:57]OFD Sender: No OFD packet to send [00:32:02]OFD Sender: No OFD packet to send [00:32:07]OFD Sender: No OFD packet to send [00:32:12]OFD Sender: No OFD packet to send [00:32:17]OFD Sender: No OFD packet to send [00:32:22]OFD Sender: No OFD packet to send [00:32:27]OFD Sender: No OFD packet to send [00:32:32]OFD Sender: No OFD packet to send [00:32:37]OFD Sender: No OFD packet to send [00:32:42]OFD Sender: No OFD packet to send [00:32:47]OFD Sender: No OFD packet to send [00:32:52]OFD Sender: No OFD packet to send [00:32:57]OFD Sender: No OFD packet to send [00:33:02]OFD Sender: No OFD packet to send [00:33:07]OFD Sender: No OFD packet to send [00:33:12]OFD Sender: No OFD packet to send [00:33:17]OFD Sender: No OFD packet to send [00:33:22]OFD Sender: No OFD packet to send [00:33:27]OFD Sender: No OFD packet to send [00:33:32]OFD Sender: No OFD packet to send [00:33:37]OFD Sender: No OFD packet to send [00:33:42]OFD Sender: No OFD packet to send [00:33:47]OFD Sender: No OFD packet to send [00:33:52]OFD Sender: No OFD packet to send [00:33:57]OFD Sender: No OFD packet to send [00:34:02]OFD Sender: No OFD packet to send [00:34:07]OFD Sender: No OFD packet to send [00:34:12]OFD Sender: No OFD packet to send [00:34:17]OFD Sender: No OFD packet to send [00:34:22]OFD Sender: No OFD packet to send [00:34:27]OFD Sender: No OFD packet to send [00:34:32]OFD Sender: No OFD packet to send [00:34:37]OFD Sender: No OFD packet to send [00:34:42]OFD Sender: No OFD packet to send [00:34:47]OFD Sender: No OFD packet to send [00:34:52]OFD Sender: No OFD packet to send [00:34:57]OFD Sender: No OFD packet to send [00:35:02]OFD Sender: No OFD packet to send [00:35:07]OFD Sender: No OFD packet to send [00:35:12]OFD Sender: No OFD packet to send [00:35:17]OFD Sender: No OFD packet to send [00:35:22]OFD Sender: No OFD packet to send [00:35:27]OFD Sender: No OFD packet to send [00:35:32]OFD Sender: No OFD packet to send [00:35:37]OFD Sender: No OFD packet to send [00:35:42]OFD Sender: No OFD packet to send [00:35:47]OFD Sender: No OFD packet to send [00:35:52]OFD Sender: No OFD packet to send [00:35:57]OFD Sender: No OFD packet to send [00:36:02]OFD Sender: No OFD packet to send [00:36:07]OFD Sender: No OFD packet to send [00:36:12]OFD Sender: No OFD packet to send [00:36:17]OFD Sender: No OFD packet to send [00:36:22]OFD Sender: No OFD packet to send [00:36:27]OFD Sender: No OFD packet to send [00:36:32]OFD Sender: No OFD packet to send [00:36:37]OFD Sender: No OFD packet to send [00:36:42]OFD Sender: No OFD packet to send [00:36:47]OFD Sender: No OFD packet to send [00:36:52]OFD Sender: No OFD packet to send [00:36:57]OFD Sender: No OFD packet to send [00:37:02]OFD Sender: No OFD packet to send [00:37:07]OFD Sender: No OFD packet to send [00:37:12]OFD Sender: No OFD packet to send [00:37:17]OFD Sender: No OFD packet to send [00:37:22]OFD Sender: No OFD packet to send [00:37:27]OFD Sender: No OFD packet to send [00:37:32]OFD Sender: No OFD packet to send [00:37:37]OFD Sender: No OFD packet to send [00:37:42]OFD Sender: No OFD packet to send [00:37:47]OFD Sender: No OFD packet to send [00:37:52]OFD Sender: No OFD packet to send [00:37:57]OFD Sender: No OFD packet to send [00:38:02]OFD Sender: No OFD packet to send [00:38:07]OFD Sender: No OFD packet to send [00:38:12]OFD Sender: No OFD packet to send [00:38:17]OFD Sender: No OFD packet to send [00:38:22]OFD Sender: No OFD packet to send [00:38:27]OFD Sender: No OFD packet to send [00:38:32]OFD Sender: No OFD packet to send [00:38:37]OFD Sender: No OFD packet to send [00:38:42]OFD Sender: No OFD packet to send [00:38:47]OFD Sender: No OFD packet to send [00:38:52]OFD Sender: No OFD packet to send [00:38:57]OFD Sender: No OFD packet to send [00:39:02]OFD Sender: No OFD packet to send [00:39:07]OFD Sender: No OFD packet to send [00:39:12]OFD Sender: No OFD packet to send [00:39:17]OFD Sender: No OFD packet to send [00:39:22]OFD Sender: No OFD packet to send [00:39:27]OFD Sender: No OFD packet to send [00:39:32]OFD Sender: No OFD packet to send [00:39:37]OFD Sender: No OFD packet to send [00:39:42]OFD Sender: No OFD packet to send [00:39:47]OFD Sender: No OFD packet to send [00:39:52]OFD Sender: No OFD packet to send [00:39:57]OFD Sender: No OFD packet to send [00:40:02]OFD Sender: No OFD packet to send [00:40:07]OFD Sender: No OFD packet to send [00:40:12]OFD Sender: No OFD packet to send [00:40:17]OFD Sender: No OFD packet to send [00:40:22]OFD Sender: No OFD packet to send [00:40:27]OFD Sender: No OFD packet to send [00:40:32]OFD Sender: No OFD packet to send [00:40:37]OFD Sender: No OFD packet to send [00:40:42]OFD Sender: No OFD packet to send [00:40:47]OFD Sender: No OFD packet to send [00:40:52]OFD Sender: No OFD packet to send [00:40:57]OFD Sender: No OFD packet to send [00:41:02]OFD Sender: No OFD packet to send [00:41:07]OFD Sender: No OFD packet to send [00:41:12]OFD Sender: No OFD packet to send [00:41:17]OFD Sender: No OFD packet to send [00:41:22]OFD Sender: No OFD packet to send [00:41:27]OFD Sender: No OFD packet to send [00:41:32]OFD Sender: No OFD packet to send [00:41:37]OFD Sender: No OFD packet to send [00:41:42]OFD Sender: No OFD packet to send [00:41:47]OFD Sender: No OFD packet to send [00:41:52]OFD Sender: No OFD packet to send [00:41:57]OFD Sender: No OFD packet to send [00:42:02]OFD Sender: No OFD packet to send [00:42:07]OFD Sender: No OFD packet to send [00:42:12]OFD Sender: No OFD packet to send [00:42:17]OFD Sender: No OFD packet to send [00:42:22]OFD Sender: No OFD packet to send [00:42:27]OFD Sender: No OFD packet to send [00:42:32]OFD Sender: No OFD packet to send [00:42:37]OFD Sender: No OFD packet to send [00:42:42]OFD Sender: No OFD packet to send [00:42:47]OFD Sender: No OFD packet to send [00:42:52]OFD Sender: No OFD packet to send [00:42:57]OFD Sender: No OFD packet to send [00:43:02]OFD Sender: No OFD packet to send [00:43:07]OFD Sender: No OFD packet to send [00:43:12]OFD Sender: No OFD packet to send [00:43:17]OFD Sender: No OFD packet to send [00:43:22]OFD Sender: No OFD packet to send [00:43:27]OFD Sender: No OFD packet to send [00:43:32]OFD Sender: No OFD packet to send [00:43:37]OFD Sender: No OFD packet to send [00:43:42]OFD Sender: No OFD packet to send [00:43:47]OFD Sender: No OFD packet to send [00:43:52]OFD Sender: No OFD packet to send [00:43:57]OFD Sender: No OFD packet to send [00:44:02]OFD Sender: No OFD packet to send [00:44:07]OFD Sender: No OFD packet to send [00:44:12]OFD Sender: No OFD packet to send [00:44:17]OFD Sender: No OFD packet to send [00:44:22]OFD Sender: No OFD packet to send [00:44:27]OFD Sender: No OFD packet to send [00:44:32]OFD Sender: No OFD packet to send [00:44:37]OFD Sender: No OFD packet to send [00:44:42]OFD Sender: No OFD packet to send [00:44:47]OFD Sender: No OFD packet to send [00:44:52]OFD Sender: No OFD packet to send [00:44:57]OFD Sender: No OFD packet to send [00:45:02]OFD Sender: No OFD packet to send [00:45:07]OFD Sender: No OFD packet to send [00:45:12]OFD Sender: No OFD packet to send [00:45:17]OFD Sender: No OFD packet to send [00:45:22]OFD Sender: No OFD packet to send [00:45:27]OFD Sender: No OFD packet to send [00:45:32]OFD Sender: No OFD packet to send [00:45:37]OFD Sender: No OFD packet to send [00:45:42]OFD Sender: No OFD packet to send [00:45:47]OFD Sender: No OFD packet to send [00:45:52]OFD Sender: No OFD packet to send [00:45:57]OFD Sender: No OFD packet to send [00:46:02]OFD Sender: No OFD packet to send [00:46:07]OFD Sender: No OFD packet to send [00:46:12]OFD Sender: No OFD packet to send [00:46:17]OFD Sender: No OFD packet to send [00:46:22]OFD Sender: No OFD packet to send [00:46:27]OFD Sender: No OFD packet to send [00:46:32]OFD Sender: No OFD packet to send [00:46:37]OFD Sender: No OFD packet to send [00:46:42]OFD Sender: No OFD packet to send [00:46:47]OFD Sender: No OFD packet to send [00:46:52]OFD Sender: No OFD packet to send [00:46:57]OFD Sender: No OFD packet to send [00:47:02]OFD Sender: No OFD packet to send [00:47:07]OFD Sender: No OFD packet to send [00:47:12]OFD Sender: No OFD packet to send [00:47:17]OFD Sender: No OFD packet to send [00:47:22]OFD Sender: No OFD packet to send [00:47:27]OFD Sender: No OFD packet to send [00:47:32]OFD Sender: No OFD packet to send [00:47:37]OFD Sender: No OFD packet to send [00:47:42]OFD Sender: No OFD packet to send [00:47:47]OFD Sender: No OFD packet to send [00:47:52]OFD Sender: No OFD packet to send [00:47:57]OFD Sender: No OFD packet to send [00:48:02]OFD Sender: No OFD packet to send [00:48:07]OFD Sender: No OFD packet to send [00:48:12]OFD Sender: No OFD packet to send [00:48:17]OFD Sender: No OFD packet to send [00:48:22]OFD Sender: No OFD packet to send [00:48:27]OFD Sender: No OFD packet to send [00:48:32]OFD Sender: No OFD packet to send [00:48:37]OFD Sender: No OFD packet to send [00:48:42]OFD Sender: No OFD packet to send [00:48:47]OFD Sender: No OFD packet to send [00:48:52]OFD Sender: No OFD packet to send [00:48:57]OFD Sender: No OFD packet to send [00:49:02]OFD Sender: No OFD packet to send [00:49:07]OFD Sender: No OFD packet to send [00:49:12]OFD Sender: No OFD packet to send [00:49:17]OFD Sender: No OFD packet to send [00:49:22]OFD Sender: No OFD packet to send [00:49:27]OFD Sender: No OFD packet to send [00:49:32]OFD Sender: No OFD packet to send [00:49:37]OFD Sender: No OFD packet to send [00:49:42]OFD Sender: No OFD packet to send [00:49:47]OFD Sender: No OFD packet to send [00:49:52]OFD Sender: No OFD packet to send [00:49:57]OFD Sender: No OFD packet to send [00:50:02]OFD Sender: No OFD packet to send [00:50:07]OFD Sender: No OFD packet to send [00:50:12]OFD Sender: No OFD packet to send [00:50:17]OFD Sender: No OFD packet to send [00:50:23]OFD Sender: No OFD packet to send [00:50:28]OFD Sender: No OFD packet to send [00:50:33]OFD Sender: No OFD packet to send [00:50:38]OFD Sender: No OFD packet to send [00:50:43]OFD Sender: No OFD packet to send [00:50:48]OFD Sender: No OFD packet to send [00:50:53]OFD Sender: No OFD packet to send [00:50:58]OFD Sender: No OFD packet to send [00:51:03]OFD Sender: No OFD packet to send [00:51:08]OFD Sender: No OFD packet to send [00:51:13]OFD Sender: No OFD packet to send [00:51:18]OFD Sender: No OFD packet to send [00:51:23]OFD Sender: No OFD packet to send [00:51:28]OFD Sender: No OFD packet to send [00:51:33]OFD Sender: No OFD packet to send [00:51:38]OFD Sender: No OFD packet to send [00:51:43]OFD Sender: No OFD packet to send [00:51:48]OFD Sender: No OFD packet to send [00:51:53]OFD Sender: No OFD packet to send [00:51:58]OFD Sender: No OFD packet to send [00:52:03]OFD Sender: No OFD packet to send [00:52:08]OFD Sender: No OFD packet to send [00:52:13]OFD Sender: No OFD packet to send [00:52:18]OFD Sender: No OFD packet to send [00:52:23]OFD Sender: No OFD packet to send [00:52:28]OFD Sender: No OFD packet to send [00:52:33]OFD Sender: No OFD packet to send [00:52:38]OFD Sender: No OFD packet to send [00:52:43]OFD Sender: No OFD packet to send [00:52:48]OFD Sender: No OFD packet to send [00:52:53]OFD Sender: No OFD packet to send [00:52:58]OFD Sender: No OFD packet to send [00:53:03]OFD Sender: No OFD packet to send [00:53:08]OFD Sender: No OFD packet to send [00:53:13]OFD Sender: No OFD packet to send [00:53:18]OFD Sender: No OFD packet to send [00:53:23]OFD Sender: No OFD packet to send [00:53:28]OFD Sender: No OFD packet to send [00:53:33]OFD Sender: No OFD packet to send [00:53:38]OFD Sender: No OFD packet to send [00:53:43]OFD Sender: No OFD packet to send [00:53:48]OFD Sender: No OFD packet to send [00:53:53]OFD Sender: No OFD packet to send [00:53:58]OFD Sender: No OFD packet to send [00:54:03]OFD Sender: No OFD packet to send [00:54:08]OFD Sender: No OFD packet to send [00:54:13]OFD Sender: No OFD packet to send [00:54:18]OFD Sender: No OFD packet to send [00:54:23]OFD Sender: No OFD packet to send [00:54:28]OFD Sender: No OFD packet to send [00:54:33]OFD Sender: No OFD packet to send [00:54:38]OFD Sender: No OFD packet to send [00:54:43]OFD Sender: No OFD packet to send [00:54:48]OFD Sender: No OFD packet to send [00:54:53]OFD Sender: No OFD packet to send [00:54:58]OFD Sender: No OFD packet to send [00:55:03]OFD Sender: No OFD packet to send [00:55:08]OFD Sender: No OFD packet to send [00:55:13]OFD Sender: No OFD packet to send [00:55:17]accept exits with 7 [00:55:17]New connection [00:55:17]New thread 3066936676 created [00:55:17]Thread 3066793316 joined [00:55:17]Waiting for new connection... [00:55:17] Sock 7.Parse request [00:55:17]Sock 7.Check first char [00:55:17]Sock 7.First char is OK [00:55:17]request: POST /json_proto HTTP/1.0 [00:55:17]Method: POST [00:55:17]URL: /json_proto [00:55:17]Method is POST - this is cgi request [00:55:17]url: /json_proto [00:55:17]query_string will be loaded in cgi processing [00:55:17]execute_cgi json_proto POST (null) [00:55:17]execute_cgi path=json_proto method=POST [00:55:17]POST find Content-Length [00:55:17]Host: 172.17.35.196:8080 [00:55:17]Content-Length: 621 [00:55:17]Content-Type: application/json [00:55:17] [00:55:17]POST finish read [00:55:17]Found Content-Length = 621 [00:55:17]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169143", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:55:17]execute_script... [00:55: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)169143", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:55:17]POST & json_proto [00:55:17]process_json_proto [00:55:17]json parsed OK: [00:55:17]protocol is kg_v1.0 [00:55:17]action value=close_receipt [00:55:17]process_action close_receipt [00:55:17]cmd_close_receipt [00:55:17]MH_GetDate [00:55:17]Write to MH i2c: F0 00 00 F9 10 F8 [00:55:17]Write i2c OK [00:55:17]MH_I2C_Read... [00:55:17]Read from MH i2c: F0 [00:55:17]MH_I2C_Read... [00:55:17]Read from MH i2c: F0 09 00 [00:55:17]MH_I2C_Read... [00:55:17]Read from MH i2c: F0 09 00 F9 10 00 F8 7E 90 66 AD 14 F4 65 87 [00:55:17]GetLastDocTimeStamp 1720742935 [00:55:17]current date 1720745720 [00:55:17]FM_GetShiftState [00:55:17]SAM_PROTO_GetShiftState [00:55:17]wFMCommunicate request_size=4 [00:55:17]MH_SAM_APDU [00:55:17]CAPDU: 80 13 01 00 [00:55:17]Write to MH i2c: E2 08 00 FA 10 80 13 01 00 00 00 00 00 87 [00:55:17]Write i2c OK [00:55:17]MH_I2C_Read... [00:55:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:55:17]Read from MH i2c: E2 [00:55:17]MH_I2C_Read... [00:55:17]Read from MH i2c: E2 0E 00 [00:55:17]MH_I2C_Read... [00:55:17]Read from MH i2c: E2 0E 00 FA 10 00 09 00 01 17 74 90 66 00 00 00 00 90 00 14 [00:55:17]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [00:55:17]wFMCommunicate OK [00:55:17]SAM_PROTO_GetShiftState done [00:55:17]FM_GetShiftState done [00:55:17]opened in 1720742935 [00:55:17]opened+sec_in_day 1720829335 [00:55:17]quantity*price = 14000 [00:55:17]sum+1 = 14001 [00:55:17]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 140.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 1 12.07.2024 00:55 Смена: 433 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33323 ФПД: 32890913292518 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T005520&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33323&fm=32890913292518&tin=02508201610067®Number=0000000000093033&sum=14000 0 [00:55:18]StoreToDocumentArchive [00:55:18]shift 433 fd 33323 [00:55:18]save to /storage/0433/doc_00033323 [00:55:18]save last doc name /storage/0433/doc_00033323 to /storage/kkm_last_doc_name [00:55:18]save OK [00:55:18]Clear old archive folders... [00:55:18]ProcessDocumentItem done err = 0, tmpTLVsize=273 [00:55:18]tlvbuf is 01CCAA80 [00:55:18]SAM_PROTO_ClearQueue [00:55:18]wFMCommunicate request_size=4 [00:55:18]MH_SAM_APDU [00:55:18]CAPDU: 80 09 00 00 [00:55:18]Write to MH i2c: E2 08 00 07 11 80 09 00 00 00 00 00 00 8A [00:55:18]Write i2c OK [00:55:18]MH_I2C_Read... [00:55:18]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:55:18]Read from MH i2c: E2 [00:55:18]MH_I2C_Read... [00:55:18]Read from MH i2c: E2 03 00 [00:55:18]MH_I2C_Read... [00:55:18]Read from MH i2c: E2 03 00 07 11 00 90 00 8C [00:55:18]RAPDU: 90 00 [00:55:18]wFMCommunicate OK [00:55:18]SAM_PROTO_ClearQueue done [00:55:18]KKMCreateOFDPacket [00:55:18]OFDProtocolAddRootSTLVToBuf [00:55:18]FM_MakeSignedData [00:55:18]FM_MakeSignedData [00:55:18]SAM_PROTO_SignData [00:55:18]wFMCommunicate request_size=4 [00:55:18]MH_SAM_APDU [00:55:18]CAPDU: 80 0D 01 02 [00:55:18]Write to MH i2c: E2 08 00 08 11 80 0D 01 02 00 00 00 00 92 [00:55:18]Write i2c OK [00:55:18]MH_I2C_Read... [00:55:18]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:55:18]Read from MH i2c: E2 [00:55:18]MH_I2C_Read... [00:55:18]Read from MH i2c: E2 03 00 [00:55:18]MH_I2C_Read... [00:55:19]Read from MH i2c: E2 03 00 08 11 00 90 00 8D [00:55:19]RAPDU: 90 00 [00:55:19]wFMCommunicate OK [00:55:19]wFMCommunicate request_size=255 [00:55:19]MH_SAM_APDU [00:55:19]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 F8 7E 90 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 [00:55:19]Write to MH i2c: E2 02 01 09 11 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 F8 7E 90 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 00 00 9F [00:55:19]Write i2c OK [00:55:19]MH_I2C_Read... [00:55:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:55:19]Read from MH i2c: E2 [00:55:19]MH_I2C_Read... [00:55:19]Read from MH i2c: E2 03 00 [00:55:19]MH_I2C_Read... [00:55:19]Read from MH i2c: E2 03 00 09 11 00 90 00 8E [00:55:19]RAPDU: 90 00 [00:55:19]wFMCommunicate OK [00:55:19]wFMCommunicate request_size=32 [00:55:19]MH_SAM_APDU [00:55:19]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 35 31 30 34 10 04 04 00 2B 82 00 00 35 04 06 00 1D EA 03 34 00 E6 [00:55:19]Write to MH i2c: E2 23 00 0A 11 80 0D 02 02 1B 00 30 30 30 38 37 35 31 30 34 10 04 04 00 2B 82 00 00 35 04 06 00 1D EA 03 34 00 E6 00 00 BC [00:55:19]Write i2c OK [00:55:19]MH_I2C_Read... [00:55:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:55:19]Read from MH i2c: E2 [00:55:19]MH_I2C_Read... [00:55:19]Read from MH i2c: E2 03 00 [00:55:19]MH_I2C_Read... [00:55:19]Read from MH i2c: E2 03 00 0A 11 00 90 00 8F [00:55:19]RAPDU: 90 00 [00:55:19]wFMCommunicate OK [00:55:19]wFMCommunicate request_size=4 [00:55:19]MH_SAM_APDU [00:55:19]CAPDU: 80 0D 03 02 [00:55:19]Write to MH i2c: E2 08 00 0B 11 80 0D 03 02 00 00 00 00 97 [00:55:19]Write i2c OK [00:55:19]MH_I2C_Read... [00:55:19]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:55:19]Read from MH i2c: E2 [00:55:19]MH_I2C_Read... [00:55:19]Read from MH i2c: E2 0B 00 [00:55:19]MH_I2C_Read... [00:55:19]Read from MH i2c: E2 0B 00 0B 11 00 5F 82 16 36 63 05 3C F2 90 00 5B [00:55:19]RAPDU: 5F 82 16 36 63 05 3C F2 90 00 [00:55:19]wFMCommunicate OK [00:55:19]SAM_PROTO_SignData done [00:55:19]FM_MakeSignedData done [00:55:19]CreateOFDProtocolMessage [00:55:19]wFMCommunicate request_size=4 [00:55:19]MH_SAM_APDU [00:55:19]CAPDU: 80 11 00 00 [00:55:19]Write to MH i2c: E2 08 00 0C 11 80 11 00 00 00 00 00 00 97 [00:55:19]Write i2c OK [00:55:19]MH_I2C_Read... [00:55:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:55:19]Read from MH i2c: E2 [00:55:19]MH_I2C_Read... [00:55:19]Read from MH i2c: E2 17 00 [00:55:19]MH_I2C_Read... [00:55:19]Read from MH i2c: E2 17 00 0C 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 E3 [00:55:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [00:55:19]wFMCommunicate OK [00:55:19]CreateOFDProtocolMessage done [00:55:19]OFDSenderStorePacket 33323 [00:55:19]StoreOFDPacket docnum=33323 [00:55:19]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 25 01 00 00 ED EF 1D 01 B1 DA 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 F8 7E 90 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 2B 82 00 00 35 04 06 00 1D EA 03 34 00 E6 5F 82 16 36 63 05 3C F2 [00:55:19]CheckFolder [00:55:19]dirname=/storage/ofd_packets [00:55:19]CheckFolder done [00:55:19]ProducePacketName [00:55:19]name=ofd_packets/00033323 [00:55:19]NVStorageSaveData ofd_packets/00033323 [00:55:19]File name is /storage/ofd_packets/00033323 [00:55:19]Write 323 bytes [00:55:19]NVStorageSaveData done [00:55:19]OFDSenderStorePacket done [00:55:19]KKMCreateOFDPacket done [00:55:19]NVStorageSaveData kkm_last_timestamp [00:55:19]File name is /storage/kkm_last_timestamp [00:55:19]Write 4 bytes [00:55:19]NVStorageSaveData done [00:55:19]ExternCall_PrintAddStr [00:55:19]wPrintStart [00:55:19]Write to MH i2c: 01 00 00 0D 11 1E [00:55:19]Write i2c OK [00:55:19]MH_I2C_Read... [00:55:19]Read from MH i2c: 01 [00:55:19]MH_I2C_Read... [00:55:19]Read from MH i2c: 01 07 00 [00:55:19]MH_I2C_Read... [00:55:19]Read from MH i2c: 01 07 00 0D 11 00 00 00 00 00 FF 0F 33 [00:55:19]RasterBufferAndPrint [00:55:19]line Счет N : (3)169143 [00:55:19]line ИНН: 02508201610067 [00:55:19]line Контрольно-Кассовый Чек [00:55:19]line ПРОДАЖА [00:55:19]line Товар: 48743570 [00:55:19]line Сигареты Winston XStyle Blue [00:55:19]line 1.000 * 140.00 [00:55:19]line = 140.00 [00:55:19]line НДС 12% НСП 1% [00:55:19]line > о реализуемом товаре [00:55:19]line ИТОГО: 140.00 [00:55:19]line НСП 1% : 1.24 [00:55:19]line НДС 12% : 14.87 [00:55:19]line Наличными: 140.00 [00:55:19]line Безнал.: 0.00 [00:55:19]line Место: АЗС № 77 "Партнер Нефть" [00:55:19]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [00:55:19]line СНО: Общий режим [00:55:19]line Чек 1 12.07.2024 00:55 [00:55:19]line Смена: 433 ФФД: 1.0 [00:55:19]line ЗНМ: 0300000122 [00:55:19]line РНМ: 0000000000093033 [00:55:19]line Версия ККМ: 001 [00:55:19]line ФМ: 0000000000875104 [00:55:19]line ФД: 33323 [00:55:19]line ФПД: 32890913292518 [00:55:19]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T005520&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33323&fm=32890913292518&tin=02508201610067®Number=0000000000093033&sum=14000 [00:55:19]line 0 [00:55:19]written 0, free lines is 4095 [00:55:19]OFD Sender: Processing packet 33323 [packets to send 6, broken 5] [00:55:19]ProducePacketName [00:55:19]name=ofd_packets/00033323 [00:55:19]OFD Sender: To server: pG, [00:55:19]CommunicateWithHost lk.salyk.kg:30040 [00:55:19]ConnectInit lk.salyk.kg [00:55:20]Write to MH i2c: 01 00 00 35 11 46 [00:55:20]Write i2c OK [00:55:20]MH_I2C_Read... [00:55:20]Read from MH i2c: 01 [00:55:20]MH_I2C_Read... [00:55:20]Read from MH i2c: 01 07 00 [00:55:20]MH_I2C_Read... [00:55:20]Read from MH i2c: 01 07 00 35 11 00 00 00 00 00 EC 0C 45 [00:55:20]RasterBufferAndPrint [00:55:20]line [00:55:20]line [00:55:20]line [00:55:20]line [00:55:20]line [00:55:20]written 0, free lines is 3311 [00:55:20]MH_Cut [00:55:20]Write to MH i2c: D1 01 00 3C 11 01 1F [00:55:20]Write i2c OK [00:55:20]MH_I2C_Read... [00:55:20]Read from MH i2c: D1 [00:55:20]MH_I2C_Read... [00:55:20]Read from MH i2c: D1 01 00 [00:55:20]MH_I2C_Read... [00:55:20]Read from MH i2c: D1 01 00 3C 11 00 1E [00:55:20]Write to MH i2c: 01 00 00 3D 11 4E [00:55:20]Write i2c OK [00:55:20]MH_I2C_Read... [00:55:20]*** Cut start [00:55:20]*** Partial cut [00:55:20]*** CUTSNS_PIN = 1 [00:55:20]*** CUTSNS_PIN = 0 [00:55:21]*** Brake cut motor [00:55:21]Read from MH i2c: 01 [00:55:21]MH_I2C_Read... [00:55:21]*** Stop cut motor [00:55:21]*** Cut end [00:55:21]Read from MH i2c: 01 07 00 [00:55:21]MH_I2C_Read... [00:55:21]Read from MH i2c: 01 07 00 3D 11 00 00 00 00 00 FF 0F 63 [00:55:21]process_action close_receipt done [00:55:21]requested_data is exist [00:55:21]produce_requested_data [00:55:21]requested_item fm.sn is exist - process it [00:55:21]wFMCommunicate request_size=4 [00:55:21]MH_SAM_APDU [00:55:21]CAPDU: 80 11 00 00 [00:55:21]Write to MH i2c: E2 08 00 3E 11 80 11 00 00 00 00 00 00 C9 [00:55:21]Write i2c OK [00:55:21]MH_I2C_Read... [00:55:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:55:21]Read from MH i2c: E2 [00:55:21]MH_I2C_Read... [00:55:21]Read from MH i2c: E2 17 00 [00:55:21]MH_I2C_Read... [00:55:21]Read from MH i2c: E2 17 00 3E 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 15 [00:55:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [00:55:21]wFMCommunicate OK [00:55:21]requested_item fd.num is exist - process it [00:55:21]SAM_PROTO_GetFieldsCounters [00:55:21]wFMCommunicate request_size=4 [00:55:21]MH_SAM_APDU [00:55:21]CAPDU: 80 13 00 00 [00:55:21]Write to MH i2c: E2 08 00 3F 11 80 13 00 00 00 00 00 00 CC [00:55:21]Write i2c OK [00:55:21]MH_I2C_Read... [00:55:21]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:55:21]Read from MH i2c: E2 [00:55:21]MH_I2C_Read... [00:55:21]Read from MH i2c: E2 62 00 [00:55:21]MH_I2C_Read... [00:55:21]Read from MH i2c: E2 62 00 3F 11 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 2B 82 00 00 0E 04 04 00 B1 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 41 [00:55:21]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 2B 82 00 00 0E 04 04 00 B1 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:55:21]wFMCommunicate OK [00:55:21]SAM_PROTO_GetFieldsCounters done [00:55:21]requested_item shift.num is exist - process it [00:55:21]requested_item shift.opened is exist - process it [00:55:21]req_shift_opened [00:55:21]FM_GetShiftState [00:55:21]SAM_PROTO_GetShiftState [00:55:21]wFMCommunicate request_size=4 [00:55:21]MH_SAM_APDU [00:55:21]CAPDU: 80 13 01 00 [00:55:21]Write to MH i2c: E2 08 00 40 11 80 13 01 00 00 00 00 00 CE [00:55:21]Write i2c OK [00:55:21]MH_I2C_Read... [00:55:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:55:21]Read from MH i2c: E2 [00:55:21]MH_I2C_Read... [00:55:21]Read from MH i2c: E2 0E 00 [00:55:21]MH_I2C_Read... [00:55:21]Read from MH i2c: E2 0E 00 40 11 00 09 00 01 17 74 90 66 00 00 00 00 90 00 5B [00:55:21]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [00:55:21]wFMCommunicate OK [00:55:21]SAM_PROTO_GetShiftState done [00:55:21]FM_GetShiftState done [00:55:21]req_shift_opened done [00:55:21]requested_item shift.open_date is exist - process it [00:55:21]req_shift_open_date [00:55:21]req_shift_open_date done [00:55:21]produce_requested_data done [00:55:21]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33323,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935} [00:55:21]process_action_free close_receipt [00:55:21]json_value_free [00:55:21]json_value_free done [00:55:21]process_json_proto returns [00:55:21]Send response to host [00:55:21]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33323,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935}}} [00:55:21]free response buf [00:55:21]execute_script done [00:55:21]execute_script returns [00:55:21]free content buf [00:55:21]Sock 7.Close socket [00:55:21]Sock 7.Thread stoped [00:57:31]ConnectInit Can't connect to host [00:57:31]CommunicateWithHost connect error [00:57:31]CommunicateWithHost err = -1 [00:57:31]OFD Sender: Server communicate error [00:57:36]OFD Sender: Processing packet 33323 [packets to send 6, broken 5] [00:57:36]ProducePacketName [00:57:36]name=ofd_packets/00033323 [00:57:36]OFD Sender: To server: pG, [00:57:36]CommunicateWithHost lk.salyk.kg:30040 [00:57:36]ConnectInit lk.salyk.kg [00:57:36]Connected sock=7 [00:57:36]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 25 01 00 00 ED EF 1D 01 B1 DA 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 F8 7E 90 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 2B 82 00 00 35 04 06 00 1D EA 03 34 00 E6 5F 82 16 36 63 05 3C F2 [00:57:37]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 E7 39 47 00 BB 27 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 35 31 30 34 10 04 04 00 2B 82 00 00 F4 03 04 00 30 2A 90 66 B6 04 01 00 00 96 C4 DB E7 56 2D 9F 56 [00:57:37]CommunicateWithHost err = 0 [00:57:37]CheckOFDResponse [00:57:37]1017 (14) - 77093643461234 [00:57:37]1041 (16) - 0000000000875104 [00:57:37]1040 (4) - 33323 [00:57:37]1012 (4) - 11.07.2024 18:53 [00:57:37]1206 (1) - 0 [00:57:37]OFD Sender: Remove packet 33323 [00:57:37]ProducePacketName [00:57:37]name=ofd_packets/00033323 [00:57:37]NVStorageDeleteData [00:57:37]OFD Sender: No OFD packet to send [00:57:39]accept exits with 9 [00:57:39]New connection [00:57:39]New thread 3066793316 created [00:57:39]Thread 3066936676 joined [00:57:39]Waiting for new connection... [00:57:39] Sock 9.Parse request [00:57:39]Sock 9.Check first char [00:57:39]Sock 9.First char is OK [00:57:39]request: POST /json_proto HTTP/1.0 [00:57:39]Method: POST [00:57:39]URL: /json_proto [00:57:39]Method is POST - this is cgi request [00:57:39]url: /json_proto [00:57:39]query_string will be loaded in cgi processing [00:57:39]execute_cgi json_proto POST (null) [00:57:39]execute_cgi path=json_proto method=POST [00:57:39]POST find Content-Length [00:57:39]Host: 172.17.35.196:8080 [00:57:39]Content-Length: 818 [00:57:39]Content-Type: application/json [00:57:39] [00:57:39]POST finish read [00:57:39]Found Content-Length = 818 [00:57:39]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169144", "tax_sys" : 0, "items" : [ { "code": "47803008", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XS Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:57:39]execute_script... [00:57: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)169144", "tax_sys" : 0, "items" : [ { "code": "47803008", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XS Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:57:39]POST & json_proto [00:57:39]process_json_proto [00:57:39]json parsed OK: [00:57:39]protocol is kg_v1.0 [00:57:39]action value=close_receipt [00:57:39]process_action close_receipt [00:57:39]cmd_close_receipt [00:57:39]MH_GetDate [00:57:39]Write to MH i2c: F0 00 00 41 11 41 [00:57:39]Write i2c OK [00:57:39]MH_I2C_Read... [00:57:39]Read from MH i2c: F0 [00:57:39]MH_I2C_Read... [00:57:39]Read from MH i2c: F0 09 00 [00:57:39]MH_I2C_Read... [00:57:39]Read from MH i2c: F0 09 00 41 11 00 86 7F 90 66 AD 14 F4 65 5F [00:57:39]GetLastDocTimeStamp 1720745720 [00:57:39]current date 1720745862 [00:57:39]FM_GetShiftState [00:57:39]SAM_PROTO_GetShiftState [00:57:39]wFMCommunicate request_size=4 [00:57:39]MH_SAM_APDU [00:57:39]CAPDU: 80 13 01 00 [00:57:39]Write to MH i2c: E2 08 00 42 11 80 13 01 00 00 00 00 00 D0 [00:57:39]Write i2c OK [00:57:39]MH_I2C_Read... [00:57:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:57:39]Read from MH i2c: E2 [00:57:39]MH_I2C_Read... [00:57:39]Read from MH i2c: E2 0E 00 [00:57:39]MH_I2C_Read... [00:57:39]Read from MH i2c: E2 0E 00 42 11 00 09 00 01 17 74 90 66 00 00 00 00 90 00 5D [00:57:39]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [00:57:39]wFMCommunicate OK [00:57:39]SAM_PROTO_GetShiftState done [00:57:39]FM_GetShiftState done [00:57:39]opened in 1720742935 [00:57:39]opened+sec_in_day 1720829335 [00:57:39]quantity*price = 14000 [00:57:39]sum+1 = 14001 [00:57:39]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 0.00 Безнал.: 140.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 2 12.07.2024 00:57 Смена: 433 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000875104 ФД: 33324 ФПД: 162725516150529 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T005742&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33324&fm=162725516150529&tin=02508201610067®Number=0000000000093033&sum=14000 0 [00:57:40]StoreToDocumentArchive [00:57:40]shift 433 fd 33324 [00:57:40]save to /storage/0433/doc_00033324 [00:57:40]save last doc name /storage/0433/doc_00033324 to /storage/kkm_last_doc_name [00:57:40]save OK [00:57:40]Clear old archive folders... [00:57:40]ProcessDocumentItem done err = 0, tmpTLVsize=269 [00:57:40]tlvbuf is 01C22C40 [00:57:40]SAM_PROTO_ClearQueue [00:57:40]wFMCommunicate request_size=4 [00:57:40]MH_SAM_APDU [00:57:40]CAPDU: 80 09 00 00 [00:57:40]Write to MH i2c: E2 08 00 4F 11 80 09 00 00 00 00 00 00 D2 [00:57:40]Write i2c OK [00:57:40]MH_I2C_Read... [00:57:40]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:57:40]Read from MH i2c: E2 [00:57:40]MH_I2C_Read... [00:57:40]Read from MH i2c: E2 03 00 [00:57:40]MH_I2C_Read... [00:57:40]Read from MH i2c: E2 03 00 4F 11 00 90 00 D4 [00:57:40]RAPDU: 90 00 [00:57:40]wFMCommunicate OK [00:57:40]SAM_PROTO_ClearQueue done [00:57:40]KKMCreateOFDPacket [00:57:40]OFDProtocolAddRootSTLVToBuf [00:57:40]FM_MakeSignedData [00:57:40]FM_MakeSignedData [00:57:40]SAM_PROTO_SignData [00:57:40]wFMCommunicate request_size=4 [00:57:40]MH_SAM_APDU [00:57:40]CAPDU: 80 0D 01 02 [00:57:40]Write to MH i2c: E2 08 00 50 11 80 0D 01 02 00 00 00 00 DA [00:57:40]Write i2c OK [00:57:40]MH_I2C_Read... [00:57:40]Read from MH i2c: E2 [00:57:40]MH_I2C_Read... [00:57:40]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:57:40]Read from MH i2c: E2 03 00 [00:57:40]MH_I2C_Read... [00:57:40]Read from MH i2c: E2 03 00 50 11 00 90 00 D5 [00:57:40]RAPDU: 90 00 [00:57:40]wFMCommunicate OK [00:57:40]wFMCommunicate request_size=255 [00:57:40]MH_SAM_APDU [00:57:40]CAPDU: 80 0D 02 02 FA 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 08 00 34 37 38 30 33 30 30 38 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 86 7F 90 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 [00:57:40]Write to MH i2c: E2 02 01 51 11 80 0D 02 02 FA 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 08 00 34 37 38 30 33 30 30 38 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 86 7F 90 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 00 00 6D [00:57:40]Write i2c OK [00:57:40]MH_I2C_Read... [00:57:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:57:41]Read from MH i2c: E2 [00:57:41]MH_I2C_Read... [00:57:41]Read from MH i2c: E2 03 00 [00:57:41]MH_I2C_Read... [00:57:41]Read from MH i2c: E2 03 00 51 11 00 90 00 D6 [00:57:41]RAPDU: 90 00 [00:57:41]wFMCommunicate OK [00:57:41]wFMCommunicate request_size=28 [00:57:41]MH_SAM_APDU [00:57:41]CAPDU: 80 0D 02 02 17 37 35 31 30 34 10 04 04 00 2C 82 00 00 35 04 06 00 93 FF 7C 96 07 01 [00:57:41]Write to MH i2c: E2 1F 00 52 11 80 0D 02 02 17 00 37 35 31 30 34 10 04 04 00 2C 82 00 00 35 04 06 00 93 FF 7C 96 07 01 00 00 BD [00:57:41]Write i2c OK [00:57:41]MH_I2C_Read... [00:57:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:57:41]Read from MH i2c: E2 [00:57:41]MH_I2C_Read... [00:57:41]Read from MH i2c: E2 03 00 [00:57:41]MH_I2C_Read... [00:57:41]Read from MH i2c: E2 03 00 52 11 00 90 00 D7 [00:57:41]RAPDU: 90 00 [00:57:41]wFMCommunicate OK [00:57:41]wFMCommunicate request_size=4 [00:57:41]MH_SAM_APDU [00:57:41]CAPDU: 80 0D 03 02 [00:57:41]Write to MH i2c: E2 08 00 53 11 80 0D 03 02 00 00 00 00 DF [00:57:41]Write i2c OK [00:57:41]MH_I2C_Read... [00:57:41]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:57:41]Read from MH i2c: E2 [00:57:41]MH_I2C_Read... [00:57:41]Read from MH i2c: E2 0B 00 [00:57:41]MH_I2C_Read... [00:57:41]Read from MH i2c: E2 0B 00 53 11 00 9B 5D 92 16 8B 9B BA B4 90 00 14 [00:57:41]RAPDU: 9B 5D 92 16 8B 9B BA B4 90 00 [00:57:41]wFMCommunicate OK [00:57:41]SAM_PROTO_SignData done [00:57:41]FM_MakeSignedData done [00:57:41]CreateOFDProtocolMessage [00:57:41]wFMCommunicate request_size=4 [00:57:41]MH_SAM_APDU [00:57:41]CAPDU: 80 11 00 00 [00:57:41]Write to MH i2c: E2 08 00 54 11 80 11 00 00 00 00 00 00 DF [00:57:41]Write i2c OK [00:57:41]MH_I2C_Read... [00:57:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:57:41]Read from MH i2c: E2 [00:57:41]MH_I2C_Read... [00:57:41]Read from MH i2c: E2 17 00 [00:57:41]MH_I2C_Read... [00:57:41]Read from MH i2c: E2 17 00 54 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 2B [00:57:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [00:57:41]wFMCommunicate OK [00:57:41]CreateOFDProtocolMessage done [00:57:41]OFDSenderStorePacket 33324 [00:57:41]StoreOFDPacket docnum=33324 [00:57:41]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 21 01 00 00 D4 B4 19 01 EB 39 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 08 00 34 37 38 30 33 30 30 38 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 86 7F 90 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 2C 82 00 00 35 04 06 00 93 FF 7C 96 07 01 9B 5D 92 16 8B 9B BA B4 [00:57:41]CheckFolder [00:57:41]dirname=/storage/ofd_packets [00:57:41]CheckFolder done [00:57:41]ProducePacketName [00:57:41]name=ofd_packets/00033324 [00:57:41]NVStorageSaveData ofd_packets/00033324 [00:57:41]File name is /storage/ofd_packets/00033324 [00:57:41]Write 319 bytes [00:57:41]NVStorageSaveData done [00:57:41]OFDSenderStorePacket done [00:57:41]KKMCreateOFDPacket done [00:57:41]NVStorageSaveData kkm_last_timestamp [00:57:41]File name is /storage/kkm_last_timestamp [00:57:41]Write 4 bytes [00:57:41]NVStorageSaveData done [00:57:41]ExternCall_PrintAddStr [00:57:41]wPrintStart [00:57:41]Write to MH i2c: 01 00 00 55 11 66 [00:57:41]Write i2c OK [00:57:41]MH_I2C_Read... [00:57:41]Read from MH i2c: 01 [00:57:41]MH_I2C_Read... [00:57:41]Read from MH i2c: 01 07 00 [00:57:41]MH_I2C_Read... [00:57:41]Read from MH i2c: 01 07 00 55 11 00 00 00 00 00 FF 0F 7B [00:57:41]RasterBufferAndPrint [00:57:41]line Счет N : (3)169144 [00:57:41]line ИНН: 02508201610067 [00:57:41]line Контрольно-Кассовый Чек [00:57:41]line ПРОДАЖА [00:57:41]line Товар: 47803008 [00:57:41]line Сигареты Winston XS Blue [00:57:41]line 1.000 * 140.00 [00:57:41]line = 140.00 [00:57:41]line НДС 12% НСП 1% [00:57:41]line > о реализуемом товаре [00:57:41]line ИТОГО: 140.00 [00:57:41]line НСП 1% : 1.24 [00:57:41]line НДС 12% : 14.87 [00:57:41]line Наличными: 0.00 [00:57:41]line Безнал.: 140.00 [00:57:41]line Место: АЗС № 77 "Партнер Нефть" [00:57:41]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [00:57:41]line СНО: Общий режим [00:57:41]line Чек 2 12.07.2024 00:57 [00:57:41]line Смена: 433 ФФД: 1.0 [00:57:41]line ЗНМ: 0300000122 [00:57:41]line РНМ: 0000000000093033 [00:57:41]line Версия ККМ: 001 [00:57:41]line Платежная система: АКБ Кыргызстан [00:57:41]line ФМ: 0000000000875104 [00:57:41]line ФД: 33324 [00:57:41]line ФПД: 162725516150529 [00:57:41]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T005742&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33324&fm=162725516150529&tin=02508201610067®Number=0000000000093033&sum=14000 [00:57:41]line 0 [00:57:41]OFD Sender: Processing packet 33324 [packets to send 6, broken 5] [00:57:41]ProducePacketName [00:57:41]name=ofd_packets/00033324 [00:57:41]OFD Sender: To server: pG, [00:57:41]CommunicateWithHost lk.salyk.kg:30040 [00:57:41]ConnectInit lk.salyk.kg [00:57:41]written 0, free lines is 4095 [00:57:41]Connected sock=10 [00:57:41]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 21 01 00 00 D4 B4 19 01 EB 39 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 08 00 34 37 38 30 33 30 30 38 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 86 7F 90 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 2C 82 00 00 35 04 06 00 93 FF 7C 96 07 01 9B 5D 92 16 8B 9B BA B4 [00:57:42]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 0F E2 47 00 05 1D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 2C 82 00 00 F4 03 04 00 35 2A 90 66 B6 04 01 00 00 59 D6 B7 5C A9 7C 99 00 [00:57:42]CommunicateWithHost err = 0 [00:57:42]CheckOFDResponse [00:57:42]1017 (14) - 77093643461234 [00:57:42]1041 (16) - 0000000000875104 [00:57:42]1040 (4) - 33324 [00:57:42]1012 (4) - 11.07.2024 18:53 [00:57:42]1206 (1) - 0 [00:57:42]OFD Sender: Remove packet 33324 [00:57:42]ProducePacketName [00:57:42]name=ofd_packets/00033324 [00:57:42]NVStorageDeleteData [00:57:42]Write to MH i2c: 01 00 00 7F 11 90 [00:57:42]Write i2c OK [00:57:42]MH_I2C_Read... [00:57:42]Read from MH i2c: 01 [00:57:42]MH_I2C_Read... [00:57:42]Read from MH i2c: 01 07 00 [00:57:42]MH_I2C_Read... [00:57:42]Read from MH i2c: 01 07 00 7F 11 00 00 00 00 00 DF 0C 82 [00:57:42]RasterBufferAndPrint [00:57:42]line [00:57:42]line [00:57:42]line [00:57:42]line [00:57:42]line [00:57:42]written 0, free lines is 3301 [00:57:42]MH_Cut [00:57:42]Write to MH i2c: D1 01 00 86 11 01 69 [00:57:42]Write i2c OK [00:57:42]MH_I2C_Read... [00:57:42]Read from MH i2c: D1 [00:57:42]MH_I2C_Read... [00:57:42]Read from MH i2c: D1 01 00 [00:57:42]MH_I2C_Read... [00:57:42]Read from MH i2c: D1 01 00 86 11 00 68 [00:57:42]Write to MH i2c: 01 00 00 87 11 98 [00:57:42]Write i2c OK [00:57:42]MH_I2C_Read... [00:57:42]OFD Sender: No OFD packet to send [00:57:42]*** Cut start [00:57:42]*** Partial cut [00:57:42]*** CUTSNS_PIN = 1 [00:57:42]*** CUTSNS_PIN = 0 [00:57:43]*** Brake cut motor [00:57:43]Read from MH i2c: 01 [00:57:43]MH_I2C_Read... [00:57:43]*** Stop cut motor [00:57:43]*** Cut end [00:57:43]Read from MH i2c: 01 07 00 [00:57:43]MH_I2C_Read... [00:57:43]Read from MH i2c: 01 07 00 87 11 00 00 00 00 00 FF 0F AD [00:57:43]process_action close_receipt done [00:57:43]requested_data is exist [00:57:43]produce_requested_data [00:57:43]requested_item fm.sn is exist - process it [00:57:43]wFMCommunicate request_size=4 [00:57:43]MH_SAM_APDU [00:57:43]CAPDU: 80 11 00 00 [00:57:43]Write to MH i2c: E2 08 00 88 11 80 11 00 00 00 00 00 00 13 [00:57:43]Write i2c OK [00:57:43]MH_I2C_Read... [00:57:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:57:43]Read from MH i2c: E2 [00:57:43]MH_I2C_Read... [00:57:43]Read from MH i2c: E2 17 00 [00:57:43]MH_I2C_Read... [00:57:43]Read from MH i2c: E2 17 00 88 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 5F [00:57:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [00:57:43]wFMCommunicate OK [00:57:43]requested_item fd.num is exist - process it [00:57:43]SAM_PROTO_GetFieldsCounters [00:57:43]wFMCommunicate request_size=4 [00:57:43]MH_SAM_APDU [00:57:43]CAPDU: 80 13 00 00 [00:57:43]Write to MH i2c: E2 08 00 89 11 80 13 00 00 00 00 00 00 16 [00:57:43]Write i2c OK [00:57:43]MH_I2C_Read... [00:57:43]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:57:43]Read from MH i2c: E2 [00:57:43]MH_I2C_Read... [00:57:43]Read from MH i2c: E2 62 00 [00:57:43]MH_I2C_Read... [00:57:43]Read from MH i2c: E2 62 00 89 11 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 2C 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 02 00 00 00 5E 04 04 00 02 00 00 00 57 04 04 00 03 00 00 00 19 04 04 00 00 00 00 00 90 00 8F [00:57: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 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 2C 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 02 00 00 00 5E 04 04 00 02 00 00 00 57 04 04 00 03 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:57:43]wFMCommunicate OK [00:57:43]SAM_PROTO_GetFieldsCounters done [00:57:43]requested_item shift.num is exist - process it [00:57:43]requested_item shift.opened is exist - process it [00:57:43]req_shift_opened [00:57:43]FM_GetShiftState [00:57:43]SAM_PROTO_GetShiftState [00:57:43]wFMCommunicate request_size=4 [00:57:43]MH_SAM_APDU [00:57:43]CAPDU: 80 13 01 00 [00:57:43]Write to MH i2c: E2 08 00 8A 11 80 13 01 00 00 00 00 00 18 [00:57:43]Write i2c OK [00:57:43]MH_I2C_Read... [00:57:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:57:43]Read from MH i2c: E2 [00:57:43]MH_I2C_Read... [00:57:43]Read from MH i2c: E2 0E 00 [00:57:43]MH_I2C_Read... [00:57:43]Read from MH i2c: E2 0E 00 8A 11 00 09 00 01 17 74 90 66 00 00 00 00 90 00 A5 [00:57:43]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [00:57:43]wFMCommunicate OK [00:57:43]SAM_PROTO_GetShiftState done [00:57:43]FM_GetShiftState done [00:57:43]req_shift_opened done [00:57:43]requested_item shift.open_date is exist - process it [00:57:43]req_shift_open_date [00:57:43]req_shift_open_date done [00:57:43]produce_requested_data done [00:57:43]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33324,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935} [00:57:43]process_action_free close_receipt [00:57:43]json_value_free [00:57:43]json_value_free done [00:57:43]process_json_proto returns [00:57:43]Send response to host [00:57:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33324,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935}}} [00:57:43]free response buf [00:57:43]execute_script done [00:57:43]execute_script returns [00:57:43]free content buf [00:57:43]Sock 9.Close socket [00:57:43]Sock 9.Thread stoped [00:57:47]OFD Sender: No OFD packet to send [00:57:52]OFD Sender: No OFD packet to send [00:57:57]OFD Sender: No OFD packet to send [00:58:02]OFD Sender: No OFD packet to send [00:58:07]OFD Sender: No OFD packet to send [00:58:12]OFD Sender: No OFD packet to send [00:58:17]OFD Sender: No OFD packet to send [00:58:22]OFD Sender: No OFD packet to send [00:58:27]OFD Sender: No OFD packet to send [00:58:32]OFD Sender: No OFD packet to send [00:58:37]OFD Sender: No OFD packet to send [00:58:42]OFD Sender: No OFD packet to send [00:58:47]OFD Sender: No OFD packet to send [00:58:52]OFD Sender: No OFD packet to send [00:58:57]OFD Sender: No OFD packet to send [00:59:02]OFD Sender: No OFD packet to send [00:59:07]OFD Sender: No OFD packet to send [00:59:12]OFD Sender: No OFD packet to send [00:59:17]OFD Sender: No OFD packet to send [00:59:22]OFD Sender: No OFD packet to send [00:59:27]OFD Sender: No OFD packet to send [00:59:32]OFD Sender: No OFD packet to send [00:59:37]OFD Sender: No OFD packet to send [00:59:42]OFD Sender: No OFD packet to send [00:59:47]OFD Sender: No OFD packet to send [00:59:52]OFD Sender: No OFD packet to send [00:59:57]OFD Sender: No OFD packet to send [01:00:02]OFD Sender: No OFD packet to send [01:00:07]OFD Sender: No OFD packet to send [01:00:12]OFD Sender: No OFD packet to send [01:00:17]OFD Sender: No OFD packet to send [01:00:22]OFD Sender: No OFD packet to send [01:00:27]OFD Sender: No OFD packet to send [01:00:32]OFD Sender: No OFD packet to send [01:00:37]OFD Sender: No OFD packet to send [01:00:42]OFD Sender: No OFD packet to send [01:00:47]OFD Sender: No OFD packet to send [01:00:52]OFD Sender: No OFD packet to send [01:00:57]OFD Sender: No OFD packet to send [01:01:02]OFD Sender: No OFD packet to send [01:01:07]OFD Sender: No OFD packet to send [01:01:12]OFD Sender: No OFD packet to send [01:01:17]OFD Sender: No OFD packet to send [01:01:22]OFD Sender: No OFD packet to send [01:01:27]OFD Sender: No OFD packet to send [01:01:32]OFD Sender: No OFD packet to send [01:01:37]OFD Sender: No OFD packet to send [01:01:42]OFD Sender: No OFD packet to send [01:01:47]OFD Sender: No OFD packet to send [01:01:52]OFD Sender: No OFD packet to send [01:01:57]OFD Sender: No OFD packet to send [01:02:02]OFD Sender: No OFD packet to send [01:02:07]OFD Sender: No OFD packet to send [01:02:12]OFD Sender: No OFD packet to send [01:02:17]OFD Sender: No OFD packet to send [01:02:22]OFD Sender: No OFD packet to send [01:02:27]OFD Sender: No OFD packet to send [01:02:32]OFD Sender: No OFD packet to send [01:02:37]OFD Sender: No OFD packet to send [01:02:42]OFD Sender: No OFD packet to send [01:02:47]OFD Sender: No OFD packet to send [01:02:52]OFD Sender: No OFD packet to send [01:02:57]OFD Sender: No OFD packet to send [01:03:02]OFD Sender: No OFD packet to send [01:03:07]OFD Sender: No OFD packet to send [01:03:12]OFD Sender: No OFD packet to send [01:03:17]OFD Sender: No OFD packet to send [01:03:22]OFD Sender: No OFD packet to send [01:03:27]OFD Sender: No OFD packet to send [01:03:32]OFD Sender: No OFD packet to send [01:03:37]OFD Sender: No OFD packet to send [01:03:42]OFD Sender: No OFD packet to send [01:03:47]OFD Sender: No OFD packet to send [01:03:52]OFD Sender: No OFD packet to send [01:03:57]OFD Sender: No OFD packet to send [01:04:02]OFD Sender: No OFD packet to send [01:04:07]OFD Sender: No OFD packet to send [01:04:12]OFD Sender: No OFD packet to send [01:04:17]OFD Sender: No OFD packet to send [01:04:22]OFD Sender: No OFD packet to send [01:04:27]OFD Sender: No OFD packet to send [01:04:32]OFD Sender: No OFD packet to send [01:04:37]OFD Sender: No OFD packet to send [01:04:42]OFD Sender: No OFD packet to send [01:04:47]OFD Sender: No OFD packet to send [01:04:52]OFD Sender: No OFD packet to send [01:04:57]OFD Sender: No OFD packet to send [01:05:02]OFD Sender: No OFD packet to send [01:05:07]OFD Sender: No OFD packet to send [01:05:12]OFD Sender: No OFD packet to send [01:05:17]OFD Sender: No OFD packet to send [01:05:22]OFD Sender: No OFD packet to send [01:05:27]OFD Sender: No OFD packet to send [01:05:32]OFD Sender: No OFD packet to send [01:05:37]OFD Sender: No OFD packet to send [01:05:42]OFD Sender: No OFD packet to send [01:05:47]OFD Sender: No OFD packet to send [01:05:52]OFD Sender: No OFD packet to send [01:05:57]OFD Sender: No OFD packet to send [01:06:02]OFD Sender: No OFD packet to send [01:06:07]OFD Sender: No OFD packet to send [01:06:12]OFD Sender: No OFD packet to send [01:06:17]OFD Sender: No OFD packet to send [01:06:22]OFD Sender: No OFD packet to send [01:06:27]OFD Sender: No OFD packet to send [01:06:32]OFD Sender: No OFD packet to send [01:06:37]OFD Sender: No OFD packet to send [01:06:42]OFD Sender: No OFD packet to send [01:06:47]OFD Sender: No OFD packet to send [01:06:52]OFD Sender: No OFD packet to send [01:06:57]OFD Sender: No OFD packet to send [01:07:02]OFD Sender: No OFD packet to send [01:07:07]OFD Sender: No OFD packet to send [01:07:12]OFD Sender: No OFD packet to send [01:07:17]OFD Sender: No OFD packet to send [01:07:22]OFD Sender: No OFD packet to send [01:07:27]OFD Sender: No OFD packet to send [01:07:32]OFD Sender: No OFD packet to send [01:07:37]OFD Sender: No OFD packet to send [01:07:42]OFD Sender: No OFD packet to send [01:07:48]OFD Sender: No OFD packet to send [01:07:53]OFD Sender: No OFD packet to send [01:07:58]OFD Sender: No OFD packet to send [01:08:03]OFD Sender: No OFD packet to send [01:08:08]OFD Sender: No OFD packet to send [01:08:13]OFD Sender: No OFD packet to send [01:08:18]OFD Sender: No OFD packet to send [01:08:23]OFD Sender: No OFD packet to send [01:08:28]OFD Sender: No OFD packet to send [01:08:33]OFD Sender: No OFD packet to send [01:08:38]OFD Sender: No OFD packet to send [01:08:43]OFD Sender: No OFD packet to send [01:08:48]OFD Sender: No OFD packet to send [01:08:53]OFD Sender: No OFD packet to send [01:08:58]OFD Sender: No OFD packet to send [01:09:03]OFD Sender: No OFD packet to send [01:09:08]OFD Sender: No OFD packet to send [01:09:13]OFD Sender: No OFD packet to send [01:09:18]OFD Sender: No OFD packet to send [01:09:23]OFD Sender: No OFD packet to send [01:09:28]OFD Sender: No OFD packet to send [01:09:33]OFD Sender: No OFD packet to send [01:09:38]OFD Sender: No OFD packet to send [01:09:43]OFD Sender: No OFD packet to send [01:09:48]OFD Sender: No OFD packet to send [01:09:53]OFD Sender: No OFD packet to send [01:09:58]OFD Sender: No OFD packet to send [01:10:03]OFD Sender: No OFD packet to send [01:10:08]OFD Sender: No OFD packet to send [01:10:13]OFD Sender: No OFD packet to send [01:10:18]OFD Sender: No OFD packet to send [01:10:23]OFD Sender: No OFD packet to send [01:10:28]OFD Sender: No OFD packet to send [01:10:33]OFD Sender: No OFD packet to send [01:10:38]OFD Sender: No OFD packet to send [01:10:43]OFD Sender: No OFD packet to send [01:10:48]OFD Sender: No OFD packet to send [01:10:53]OFD Sender: No OFD packet to send [01:10:58]OFD Sender: No OFD packet to send [01:11:00]accept exits with 7 [01:11:00]New connection [01:11:00]New thread 3066936676 created [01:11:00]Thread 3066793316 joined [01:11:00]Waiting for new connection... [01:11:00] Sock 7.Parse request [01:11:00]Sock 7.Check first char [01:11:00]Sock 7.First char is OK [01:11:00]request: POST /json_proto HTTP/1.0 [01:11:00]Method: POST [01:11:00]URL: /json_proto [01:11:00]Method is POST - this is cgi request [01:11:00]url: /json_proto [01:11:00]query_string will be loaded in cgi processing [01:11:00]execute_cgi json_proto POST (null) [01:11:00]execute_cgi path=json_proto method=POST [01:11:00]POST find Content-Length [01:11:00]Host: 172.17.35.196:8080 [01:11:00]Content-Length: 666 [01:11:00]Content-Type: application/json [01:11:00] [01:11:00]POST finish read [01:11:00]Found Content-Length = 666 [01:11:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169145", "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" : 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" ] } } [01:11:00]execute_script... [01:11:00]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169145", "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" : 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" ] } } [01:11:00]POST & json_proto [01:11:00]process_json_proto [01:11:00]json parsed OK: [01:11:00]protocol is kg_v1.0 [01:11:00]action value=close_receipt [01:11:00]process_action close_receipt [01:11:00]cmd_close_receipt [01:11:00]MH_GetDate [01:11:00]Write to MH i2c: F0 00 00 8B 11 8B [01:11:00]Write i2c OK [01:11:00]MH_I2C_Read... [01:11:00]Read from MH i2c: F0 [01:11:00]MH_I2C_Read... [01:11:00]Read from MH i2c: F0 09 00 [01:11:00]MH_I2C_Read... [01:11:00]Read from MH i2c: F0 09 00 8B 11 00 A7 82 90 66 AD 14 F4 65 CD [01:11:00]GetLastDocTimeStamp 1720745862 [01:11:00]current date 1720746663 [01:11:00]FM_GetShiftState [01:11:00]SAM_PROTO_GetShiftState [01:11:00]wFMCommunicate request_size=4 [01:11:00]MH_SAM_APDU [01:11:00]CAPDU: 80 13 01 00 [01:11:00]Write to MH i2c: E2 08 00 8C 11 80 13 01 00 00 00 00 00 1A [01:11:00]Write i2c OK [01:11:00]MH_I2C_Read... [01:11:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:11:00]Read from MH i2c: E2 [01:11:00]MH_I2C_Read... [01:11:00]Read from MH i2c: E2 0E 00 [01:11:00]MH_I2C_Read... [01:11:00]Read from MH i2c: E2 0E 00 8C 11 00 09 00 01 17 74 90 66 00 00 00 00 90 00 A7 [01:11:00]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [01:11:00]wFMCommunicate OK [01:11:00]SAM_PROTO_GetShiftState done [01:11:00]FM_GetShiftState done [01:11:00]opened in 1720742935 [01:11:00]opened+sec_in_day 1720829335 [01:11:00]quantity*price = 8500 [01:11:00]sum+1 = 8501 [01:11:00]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 85.00 НСП 1% : 0.75 НДС 12% : 9.03 Наличными: 85.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 3 12.07.2024 01:11 Смена: 433 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33325 ФПД: 57082636736144 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T011103&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33325&fm=57082636736144&tin=02508201610067®Number=0000000000093033&sum=8500 0 [01:11:01]StoreToDocumentArchive [01:11:01]shift 433 fd 33325 [01:11:01]save to /storage/0433/doc_00033325 [01:11:01]save last doc name /storage/0433/doc_00033325 to /storage/kkm_last_doc_name [01:11:01]save OK [01:11:01]Clear old archive folders... [01:11:01]ProcessDocumentItem done err = 0, tmpTLVsize=285 [01:11:01]tlvbuf is 01CA4F90 [01:11:01]SAM_PROTO_ClearQueue [01:11:01]wFMCommunicate request_size=4 [01:11:01]MH_SAM_APDU [01:11:01]CAPDU: 80 09 00 00 [01:11:01]Write to MH i2c: E2 08 00 99 11 80 09 00 00 00 00 00 00 1C [01:11:01]Write i2c OK [01:11:01]MH_I2C_Read... [01:11:01]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:11:01]Read from MH i2c: E2 [01:11:01]MH_I2C_Read... [01:11:01]Read from MH i2c: E2 03 00 [01:11:01]MH_I2C_Read... [01:11:01]Read from MH i2c: E2 03 00 99 11 00 90 00 1E [01:11:01]RAPDU: 90 00 [01:11:01]wFMCommunicate OK [01:11:01]SAM_PROTO_ClearQueue done [01:11:01]KKMCreateOFDPacket [01:11:01]OFDProtocolAddRootSTLVToBuf [01:11:01]FM_MakeSignedData [01:11:01]FM_MakeSignedData [01:11:01]SAM_PROTO_SignData [01:11:01]wFMCommunicate request_size=4 [01:11:01]MH_SAM_APDU [01:11:01]CAPDU: 80 0D 01 02 [01:11:01]Write to MH i2c: E2 08 00 9A 11 80 0D 01 02 00 00 00 00 24 [01:11:01]Write i2c OK [01:11:01]MH_I2C_Read... [01:11:02]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:11:02]Read from MH i2c: E2 [01:11:02]MH_I2C_Read... [01:11:02]Read from MH i2c: E2 03 00 [01:11:02]MH_I2C_Read... [01:11:02]Read from MH i2c: E2 03 00 9A 11 00 90 00 1F [01:11:02]RAPDU: 90 00 [01:11:02]wFMCommunicate OK [01:11:02]wFMCommunicate request_size=255 [01:11:02]MH_SAM_APDU [01:11:02]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 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 03 00 00 00 F4 03 04 00 A7 82 90 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 [01:11:02]Write to MH i2c: E2 02 01 9B 11 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 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 03 00 00 00 F4 03 04 00 A7 82 90 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 00 00 D5 [01:11:02]Write i2c OK [01:11:02]MH_I2C_Read... [01:11:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:11:02]Read from MH i2c: E2 [01:11:02]MH_I2C_Read... [01:11:02]Read from MH i2c: E2 03 00 [01:11:02]MH_I2C_Read... [01:11:02]Read from MH i2c: E2 03 00 9B 11 00 90 00 20 [01:11:02]RAPDU: 90 00 [01:11:02]wFMCommunicate OK [01:11:02]wFMCommunicate request_size=44 [01:11:02]MH_SAM_APDU [01:11:02]CAPDU: 80 0D 02 02 27 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 2D 82 00 00 35 04 06 00 33 EA 96 49 16 90 [01:11:02]Write to MH i2c: E2 2F 00 9C 11 80 0D 02 02 27 00 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 2D 82 00 00 35 04 06 00 33 EA 96 49 16 90 00 00 8E [01:11:02]Write i2c OK [01:11:02]MH_I2C_Read... [01:11:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:11:02]Read from MH i2c: E2 [01:11:02]MH_I2C_Read... [01:11:02]Read from MH i2c: E2 03 00 [01:11:02]MH_I2C_Read... [01:11:02]Read from MH i2c: E2 03 00 9C 11 00 90 00 21 [01:11:02]RAPDU: 90 00 [01:11:02]wFMCommunicate OK [01:11:02]wFMCommunicate request_size=4 [01:11:02]MH_SAM_APDU [01:11:02]CAPDU: 80 0D 03 02 [01:11:02]Write to MH i2c: E2 08 00 9D 11 80 0D 03 02 00 00 00 00 29 [01:11:02]Write i2c OK [01:11:02]MH_I2C_Read... [01:11:02]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:11:02]Read from MH i2c: E2 [01:11:02]MH_I2C_Read... [01:11:02]Read from MH i2c: E2 0B 00 [01:11:02]MH_I2C_Read... [01:11:02]Read from MH i2c: E2 0B 00 9D 11 00 1A 4C F7 14 DB 78 3F 89 90 00 B6 [01:11:02]RAPDU: 1A 4C F7 14 DB 78 3F 89 90 00 [01:11:02]wFMCommunicate OK [01:11:02]SAM_PROTO_SignData done [01:11:02]FM_MakeSignedData done [01:11:02]CreateOFDProtocolMessage [01:11:02]wFMCommunicate request_size=4 [01:11:02]MH_SAM_APDU [01:11:02]CAPDU: 80 11 00 00 [01:11:02]Write to MH i2c: E2 08 00 9E 11 80 11 00 00 00 00 00 00 29 [01:11:02]Write i2c OK [01:11:02]MH_I2C_Read... [01:11:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:11:02]Read from MH i2c: E2 [01:11:02]MH_I2C_Read... [01:11:02]Read from MH i2c: E2 17 00 [01:11:02]MH_I2C_Read... [01:11:02]Read from MH i2c: E2 17 00 9E 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 75 [01:11:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [01:11:02]wFMCommunicate OK [01:11:02]CreateOFDProtocolMessage done [01:11:02]OFDSenderStorePacket 33325 [01:11:02]StoreOFDPacket docnum=33325 [01:11:02]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 31 01 00 00 2E 94 29 01 C3 4E 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 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 03 00 00 00 F4 03 04 00 A7 82 90 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 2D 82 00 00 35 04 06 00 33 EA 96 49 16 90 1A 4C F7 14 DB 78 3F 89 [01:11:02]CheckFolder [01:11:02]dirname=/storage/ofd_packets [01:11:02]CheckFolder done [01:11:02]ProducePacketName [01:11:02]name=ofd_packets/00033325 [01:11:02]NVStorageSaveData ofd_packets/00033325 [01:11:02]File name is /storage/ofd_packets/00033325 [01:11:02]Write 335 bytes [01:11:02]NVStorageSaveData done [01:11:02]OFDSenderStorePacket done [01:11:02]KKMCreateOFDPacket done [01:11:02]NVStorageSaveData kkm_last_timestamp [01:11:02]File name is /storage/kkm_last_timestamp [01:11:02]Write 4 bytes [01:11:02]NVStorageSaveData done [01:11:02]ExternCall_PrintAddStr [01:11:02]wPrintStart [01:11:02]Write to MH i2c: 01 00 00 9F 11 B0 [01:11:02]Write i2c OK [01:11:02]MH_I2C_Read... [01:11:02]Read from MH i2c: 01 [01:11:02]MH_I2C_Read... [01:11:02]Read from MH i2c: 01 07 00 [01:11:02]MH_I2C_Read... [01:11:02]Read from MH i2c: 01 07 00 9F 11 00 00 00 00 00 FF 0F C5 [01:11:02]RasterBufferAndPrint [01:11:02]line Счет N : (3)169145 [01:11:02]line ИНН: 02508201610067 [01:11:02]line Контрольно-Кассовый Чек [01:11:02]line ПРОДАЖА [01:11:02]line Товар: 4607969940055 [01:11:02]line Bizon энер. напиток Малина [01:11:02]line 1.000 * 85.00 [01:11:02]line = 85.00 [01:11:02]line НДС 12% НСП 1% [01:11:02]line > о реализуемом товаре [01:11:02]line ИТОГО: 85.00 [01:11:02]line НСП 1% : 0.75 [01:11:02]line НДС 12% : 9.03 [01:11:02]line Наличными: 85.00 [01:11:02]line Безнал.: 0.00 [01:11:02]line Место: АЗС № 77 "Партнер Нефть" [01:11:02]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [01:11:02]line СНО: Общий режим [01:11:02]line Чек 3 12.07.2024 01:11 [01:11:02]line Смена: 433 ФФД: 1.0 [01:11:02]line ЗНМ: 0300000122 [01:11:02]line РНМ: 0000000000093033 [01:11:02]line Версия ККМ: 001 [01:11:02]line ФМ: 0000000000875104 [01:11:02]line ФД: 33325 [01:11:02]line ФПД: 57082636736144 [01:11:02]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T011103&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33325&fm=57082636736144&tin=02508201610067®Number=0000000000093033&sum=8500 [01:11:02]line 0 [01:11:02]OFD Sender: Processing packet 33325 [packets to send 6, broken 5] [01:11:02]ProducePacketName [01:11:02]name=ofd_packets/00033325 [01:11:02]OFD Sender: To server: pG, [01:11:02]CommunicateWithHost lk.salyk.kg:30040 [01:11:02]ConnectInit lk.salyk.kg [01:11:02]written 0, free lines is 4095 [01:11:02]Connected sock=10 [01:11:02]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 31 01 00 00 2E 94 29 01 C3 4E 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 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 03 00 00 00 F4 03 04 00 A7 82 90 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 2D 82 00 00 35 04 06 00 33 EA 96 49 16 90 1A 4C F7 14 DB 78 3F 89 [01:11:03]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 B0 A8 47 00 07 5F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 35 31 30 34 10 04 04 00 2D 82 00 00 F4 03 04 00 56 2D 90 66 B6 04 01 00 00 B6 EE DB 85 B2 EF 31 98 [01:11:03]CommunicateWithHost err = 0 [01:11:03]CheckOFDResponse [01:11:03]1017 (14) - 77093643461234 [01:11:03]1041 (16) - 0000000000875104 [01:11:03]1040 (4) - 33325 [01:11:03]1012 (4) - 11.07.2024 19:07 [01:11:03]1206 (1) - 0 [01:11:03]OFD Sender: Remove packet 33325 [01:11:03]ProducePacketName [01:11:03]name=ofd_packets/00033325 [01:11:03]NVStorageDeleteData [01:11:03]Write to MH i2c: 01 00 00 C7 11 D8 [01:11:03]Write i2c OK [01:11:03]MH_I2C_Read... [01:11:03]Read from MH i2c: 01 [01:11:03]MH_I2C_Read... [01:11:03]Read from MH i2c: 01 07 00 [01:11:03]MH_I2C_Read... [01:11:03]Read from MH i2c: 01 07 00 C7 11 00 00 00 00 00 F0 0C DB [01:11:03]RasterBufferAndPrint [01:11:03]line [01:11:03]line [01:11:03]line [01:11:03]line [01:11:03]line [01:11:03]written 0, free lines is 3318 [01:11:03]MH_Cut [01:11:03]Write to MH i2c: D1 01 00 CE 11 01 B1 [01:11:03]Write i2c OK [01:11:03]MH_I2C_Read... [01:11:03]Read from MH i2c: D1 [01:11:03]MH_I2C_Read... [01:11:03]Read from MH i2c: D1 01 00 [01:11:03]MH_I2C_Read... [01:11:03]Read from MH i2c: D1 01 00 CE 11 00 B0 [01:11:03]Write to MH i2c: 01 00 00 CF 11 E0 [01:11:03]Write i2c OK [01:11:03]MH_I2C_Read... [01:11:03]OFD Sender: No OFD packet to send [01:11:03]*** Cut start [01:11:03]*** Partial cut [01:11:03]*** CUTSNS_PIN = 1 [01:11:03]*** CUTSNS_PIN = 0 [01:11:04]*** Brake cut motor [01:11:04]Read from MH i2c: 01 [01:11:04]MH_I2C_Read... [01:11:04]*** Stop cut motor [01:11:04]*** Cut end [01:11:04]Read from MH i2c: 01 07 00 [01:11:04]MH_I2C_Read... [01:11:04]Read from MH i2c: 01 07 00 CF 11 00 00 00 00 00 FF 0F F5 [01:11:04]process_action close_receipt done [01:11:04]requested_data is exist [01:11:04]produce_requested_data [01:11:04]requested_item fm.sn is exist - process it [01:11:04]wFMCommunicate request_size=4 [01:11:04]MH_SAM_APDU [01:11:04]CAPDU: 80 11 00 00 [01:11:04]Write to MH i2c: E2 08 00 D0 11 80 11 00 00 00 00 00 00 5B [01:11:04]Write i2c OK [01:11:04]MH_I2C_Read... [01:11:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:11:04]Read from MH i2c: E2 [01:11:04]MH_I2C_Read... [01:11:04]Read from MH i2c: E2 17 00 [01:11:04]MH_I2C_Read... [01:11:04]Read from MH i2c: E2 17 00 D0 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 A7 [01:11:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [01:11:04]wFMCommunicate OK [01:11:04]requested_item fd.num is exist - process it [01:11:04]SAM_PROTO_GetFieldsCounters [01:11:04]wFMCommunicate request_size=4 [01:11:04]MH_SAM_APDU [01:11:04]CAPDU: 80 13 00 00 [01:11:04]Write to MH i2c: E2 08 00 D1 11 80 13 00 00 00 00 00 00 5E [01:11:04]Write i2c OK [01:11:04]MH_I2C_Read... [01:11:04]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:11:04]Read from MH i2c: E2 [01:11:04]MH_I2C_Read... [01:11:04]Read from MH i2c: E2 62 00 [01:11:04]MH_I2C_Read... [01:11:04]Read from MH i2c: E2 62 00 D1 11 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 2D 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 03 00 00 00 5E 04 04 00 03 00 00 00 57 04 04 00 04 00 00 00 19 04 04 00 00 00 00 00 90 00 DB [01:11: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 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 2D 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 03 00 00 00 5E 04 04 00 03 00 00 00 57 04 04 00 04 00 00 00 19 04 04 00 00 00 00 00 90 00 [01:11:04]wFMCommunicate OK [01:11:04]SAM_PROTO_GetFieldsCounters done [01:11:04]requested_item shift.num is exist - process it [01:11:04]requested_item shift.opened is exist - process it [01:11:04]req_shift_opened [01:11:04]FM_GetShiftState [01:11:04]SAM_PROTO_GetShiftState [01:11:04]wFMCommunicate request_size=4 [01:11:04]MH_SAM_APDU [01:11:04]CAPDU: 80 13 01 00 [01:11:04]Write to MH i2c: E2 08 00 D2 11 80 13 01 00 00 00 00 00 60 [01:11:04]Write i2c OK [01:11:04]MH_I2C_Read... [01:11:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:11:04]Read from MH i2c: E2 [01:11:04]MH_I2C_Read... [01:11:04]Read from MH i2c: E2 0E 00 [01:11:04]MH_I2C_Read... [01:11:04]Read from MH i2c: E2 0E 00 D2 11 00 09 00 01 17 74 90 66 00 00 00 00 90 00 ED [01:11:04]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [01:11:04]wFMCommunicate OK [01:11:04]SAM_PROTO_GetShiftState done [01:11:04]FM_GetShiftState done [01:11:04]req_shift_opened done [01:11:04]requested_item shift.open_date is exist - process it [01:11:04]req_shift_open_date [01:11:04]req_shift_open_date done [01:11:04]produce_requested_data done [01:11:04]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33325,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935} [01:11:04]process_action_free close_receipt [01:11:04]json_value_free [01:11:04]json_value_free done [01:11:04]process_json_proto returns [01:11:04]Send response to host [01:11:04]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33325,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935}}} [01:11:04]free response buf [01:11:04]execute_script done [01:11:04]execute_script returns [01:11:04]free content buf [01:11:04]Sock 7.Close socket [01:11:04]Sock 7.Thread stoped [01:11:08]OFD Sender: No OFD packet to send [01:11:13]OFD Sender: No OFD packet to send [01:11:18]OFD Sender: No OFD packet to send [01:11:23]OFD Sender: No OFD packet to send [01:11:28]OFD Sender: No OFD packet to send [01:11:33]OFD Sender: No OFD packet to send [01:11:38]OFD Sender: No OFD packet to send [01:11:43]OFD Sender: No OFD packet to send [01:11:48]OFD Sender: No OFD packet to send [01:11:53]OFD Sender: No OFD packet to send [01:11:58]OFD Sender: No OFD packet to send [01:12:03]OFD Sender: No OFD packet to send [01:12:08]OFD Sender: No OFD packet to send [01:12:13]OFD Sender: No OFD packet to send [01:12:18]OFD Sender: No OFD packet to send [01:12:23]OFD Sender: No OFD packet to send [01:12:28]OFD Sender: No OFD packet to send [01:12:33]OFD Sender: No OFD packet to send [01:12:38]OFD Sender: No OFD packet to send [01:12:43]OFD Sender: No OFD packet to send [01:12:48]OFD Sender: No OFD packet to send [01:12:53]OFD Sender: No OFD packet to send [01:12:58]OFD Sender: No OFD packet to send [01:13:03]OFD Sender: No OFD packet to send [01:13:08]OFD Sender: No OFD packet to send [01:13:13]OFD Sender: No OFD packet to send [01:13:18]OFD Sender: No OFD packet to send [01:13:23]OFD Sender: No OFD packet to send [01:13:28]OFD Sender: No OFD packet to send [01:13:33]OFD Sender: No OFD packet to send [01:13:38]OFD Sender: No OFD packet to send [01:13:43]OFD Sender: No OFD packet to send [01:13:48]OFD Sender: No OFD packet to send [01:13:53]OFD Sender: No OFD packet to send [01:13:58]OFD Sender: No OFD packet to send [01:14:03]OFD Sender: No OFD packet to send [01:14:08]OFD Sender: No OFD packet to send [01:14:13]OFD Sender: No OFD packet to send [01:14:18]OFD Sender: No OFD packet to send [01:14:23]OFD Sender: No OFD packet to send [01:14:28]OFD Sender: No OFD packet to send [01:14:33]OFD Sender: No OFD packet to send [01:14:38]OFD Sender: No OFD packet to send [01:14:43]OFD Sender: No OFD packet to send [01:14:48]OFD Sender: No OFD packet to send [01:14:53]OFD Sender: No OFD packet to send [01:14:58]OFD Sender: No OFD packet to send [01:15:03]OFD Sender: No OFD packet to send [01:15:08]OFD Sender: No OFD packet to send [01:15:13]OFD Sender: No OFD packet to send [01:15:18]OFD Sender: No OFD packet to send [01:15:23]OFD Sender: No OFD packet to send [01:15:28]OFD Sender: No OFD packet to send [01:15:33]OFD Sender: No OFD packet to send [01:15:38]OFD Sender: No OFD packet to send [01:15:43]OFD Sender: No OFD packet to send [01:15:48]OFD Sender: No OFD packet to send [01:15:53]OFD Sender: No OFD packet to send [01:15:58]OFD Sender: No OFD packet to send [01:16:03]OFD Sender: No OFD packet to send [01:16:08]OFD Sender: No OFD packet to send [01:16:13]OFD Sender: No OFD packet to send [01:16:18]OFD Sender: No OFD packet to send [01:16:23]OFD Sender: No OFD packet to send [01:16:28]OFD Sender: No OFD packet to send [01:16:33]OFD Sender: No OFD packet to send [01:16:38]OFD Sender: No OFD packet to send [01:16:43]OFD Sender: No OFD packet to send [01:16:48]OFD Sender: No OFD packet to send [01:16:53]OFD Sender: No OFD packet to send [01:16:58]OFD Sender: No OFD packet to send [01:17:03]OFD Sender: No OFD packet to send [01:17:08]OFD Sender: No OFD packet to send [01:17:13]OFD Sender: No OFD packet to send [01:17:18]OFD Sender: No OFD packet to send [01:17:23]OFD Sender: No OFD packet to send [01:17:28]OFD Sender: No OFD packet to send [01:17:33]OFD Sender: No OFD packet to send [01:17:38]OFD Sender: No OFD packet to send [01:17:43]OFD Sender: No OFD packet to send [01:17:48]OFD Sender: No OFD packet to send [01:17:53]OFD Sender: No OFD packet to send [01:17:58]OFD Sender: No OFD packet to send [01:18:03]OFD Sender: No OFD packet to send [01:18:08]OFD Sender: No OFD packet to send [01:18:13]OFD Sender: No OFD packet to send [01:18:18]OFD Sender: No OFD packet to send [01:18:23]OFD Sender: No OFD packet to send [01:18:28]OFD Sender: No OFD packet to send [01:18:33]OFD Sender: No OFD packet to send [01:18:38]OFD Sender: No OFD packet to send [01:18:43]OFD Sender: No OFD packet to send [01:18:48]OFD Sender: No OFD packet to send [01:18:53]OFD Sender: No OFD packet to send [01:18:58]OFD Sender: No OFD packet to send [01:19:03]OFD Sender: No OFD packet to send [01:19:08]OFD Sender: No OFD packet to send [01:19:13]OFD Sender: No OFD packet to send [01:19:18]OFD Sender: No OFD packet to send [01:19:23]OFD Sender: No OFD packet to send [01:19:28]OFD Sender: No OFD packet to send [01:19:33]OFD Sender: No OFD packet to send [01:19:38]OFD Sender: No OFD packet to send [01:19:43]OFD Sender: No OFD packet to send [01:19:48]OFD Sender: No OFD packet to send [01:19:53]OFD Sender: No OFD packet to send [01:19:59]OFD Sender: No OFD packet to send [01:20:04]OFD Sender: No OFD packet to send [01:20:09]OFD Sender: No OFD packet to send [01:20:14]OFD Sender: No OFD packet to send [01:20:19]OFD Sender: No OFD packet to send [01:20:24]OFD Sender: No OFD packet to send [01:20:29]OFD Sender: No OFD packet to send [01:20:34]OFD Sender: No OFD packet to send [01:20:39]OFD Sender: No OFD packet to send [01:20:44]OFD Sender: No OFD packet to send [01:20:49]OFD Sender: No OFD packet to send [01:20:54]OFD Sender: No OFD packet to send [01:20:59]OFD Sender: No OFD packet to send [01:21:04]OFD Sender: No OFD packet to send [01:21:09]OFD Sender: No OFD packet to send [01:21:14]OFD Sender: No OFD packet to send [01:21:19]OFD Sender: No OFD packet to send [01:21:24]OFD Sender: No OFD packet to send [01:21:29]OFD Sender: No OFD packet to send [01:21:34]OFD Sender: No OFD packet to send [01:21:39]OFD Sender: No OFD packet to send [01:21:44]OFD Sender: No OFD packet to send [01:21:49]OFD Sender: No OFD packet to send [01:21:54]OFD Sender: No OFD packet to send [01:21:59]OFD Sender: No OFD packet to send [01:22:04]OFD Sender: No OFD packet to send [01:22:09]OFD Sender: No OFD packet to send [01:22:14]OFD Sender: No OFD packet to send [01:22:19]OFD Sender: No OFD packet to send [01:22:24]OFD Sender: No OFD packet to send [01:22:29]OFD Sender: No OFD packet to send [01:22:34]OFD Sender: No OFD packet to send [01:22:39]OFD Sender: No OFD packet to send [01:22:44]OFD Sender: No OFD packet to send [01:22:49]OFD Sender: No OFD packet to send [01:22:54]OFD Sender: No OFD packet to send [01:22:59]OFD Sender: No OFD packet to send [01:23:04]OFD Sender: No OFD packet to send [01:23:09]OFD Sender: No OFD packet to send [01:23:14]OFD Sender: No OFD packet to send [01:23:19]OFD Sender: No OFD packet to send [01:23:24]OFD Sender: No OFD packet to send [01:23:29]OFD Sender: No OFD packet to send [01:23:34]OFD Sender: No OFD packet to send [01:23:39]OFD Sender: No OFD packet to send [01:23:44]OFD Sender: No OFD packet to send [01:23:49]OFD Sender: No OFD packet to send [01:23:54]OFD Sender: No OFD packet to send [01:23:59]OFD Sender: No OFD packet to send [01:24:04]OFD Sender: No OFD packet to send [01:24:09]OFD Sender: No OFD packet to send [01:24:14]OFD Sender: No OFD packet to send [01:24:19]OFD Sender: No OFD packet to send [01:24:24]OFD Sender: No OFD packet to send [01:24:29]OFD Sender: No OFD packet to send [01:24:34]OFD Sender: No OFD packet to send [01:24:39]OFD Sender: No OFD packet to send [01:24:44]OFD Sender: No OFD packet to send [01:24:49]OFD Sender: No OFD packet to send [01:24:54]OFD Sender: No OFD packet to send [01:24:59]OFD Sender: No OFD packet to send [01:25:04]OFD Sender: No OFD packet to send [01:25:09]OFD Sender: No OFD packet to send [01:25:14]OFD Sender: No OFD packet to send [01:25:19]OFD Sender: No OFD packet to send [01:25:24]OFD Sender: No OFD packet to send [01:25:29]OFD Sender: No OFD packet to send [01:25:34]OFD Sender: No OFD packet to send [01:25:39]OFD Sender: No OFD packet to send [01:25:44]OFD Sender: No OFD packet to send [01:25:49]OFD Sender: No OFD packet to send [01:25:54]OFD Sender: No OFD packet to send [01:25:59]OFD Sender: No OFD packet to send [01:26:04]OFD Sender: No OFD packet to send [01:26:09]OFD Sender: No OFD packet to send [01:26:14]OFD Sender: No OFD packet to send [01:26:19]OFD Sender: No OFD packet to send [01:26:24]OFD Sender: No OFD packet to send [01:26:29]OFD Sender: No OFD packet to send [01:26:34]OFD Sender: No OFD packet to send [01:26:39]OFD Sender: No OFD packet to send [01:26:44]OFD Sender: No OFD packet to send [01:26:49]OFD Sender: No OFD packet to send [01:26:54]OFD Sender: No OFD packet to send [01:26:59]OFD Sender: No OFD packet to send [01:27:04]OFD Sender: No OFD packet to send [01:27:09]OFD Sender: No OFD packet to send [01:27:14]OFD Sender: No OFD packet to send [01:27:19]OFD Sender: No OFD packet to send [01:27:24]OFD Sender: No OFD packet to send [01:27:29]OFD Sender: No OFD packet to send [01:27:34]OFD Sender: No OFD packet to send [01:27:39]OFD Sender: No OFD packet to send [01:27:44]OFD Sender: No OFD packet to send [01:27:49]OFD Sender: No OFD packet to send [01:27:54]OFD Sender: No OFD packet to send [01:27:59]OFD Sender: No OFD packet to send [01:28:04]OFD Sender: No OFD packet to send [01:28:09]OFD Sender: No OFD packet to send [01:28:14]OFD Sender: No OFD packet to send [01:28:19]OFD Sender: No OFD packet to send [01:28:24]OFD Sender: No OFD packet to send [01:28:29]OFD Sender: No OFD packet to send [01:28:34]OFD Sender: No OFD packet to send [01:28:39]OFD Sender: No OFD packet to send [01:28:44]OFD Sender: No OFD packet to send [01:28:49]OFD Sender: No OFD packet to send [01:28:54]OFD Sender: No OFD packet to send [01:28:59]OFD Sender: No OFD packet to send [01:29:04]OFD Sender: No OFD packet to send [01:29:09]OFD Sender: No OFD packet to send [01:29:14]OFD Sender: No OFD packet to send [01:29:19]OFD Sender: No OFD packet to send [01:29:24]OFD Sender: No OFD packet to send [01:29:29]OFD Sender: No OFD packet to send [01:29:34]OFD Sender: No OFD packet to send [01:29:39]OFD Sender: No OFD packet to send [01:29:44]OFD Sender: No OFD packet to send [01:29:49]OFD Sender: No OFD packet to send [01:29:54]OFD Sender: No OFD packet to send [01:29:59]OFD Sender: No OFD packet to send [01:30:04]OFD Sender: No OFD packet to send [01:30:09]OFD Sender: No OFD packet to send [01:30:14]OFD Sender: No OFD packet to send [01:30:19]OFD Sender: No OFD packet to send [01:30:24]OFD Sender: No OFD packet to send [01:30:29]OFD Sender: No OFD packet to send [01:30:34]OFD Sender: No OFD packet to send [01:30:39]OFD Sender: No OFD packet to send [01:30:44]OFD Sender: No OFD packet to send [01:30:49]OFD Sender: No OFD packet to send [01:30:54]OFD Sender: No OFD packet to send [01:30:59]OFD Sender: No OFD packet to send [01:31:04]OFD Sender: No OFD packet to send [01:31:09]OFD Sender: No OFD packet to send [01:31:14]OFD Sender: No OFD packet to send [01:31:19]OFD Sender: No OFD packet to send [01:31:24]OFD Sender: No OFD packet to send [01:31:29]OFD Sender: No OFD packet to send [01:31:34]OFD Sender: No OFD packet to send [01:31:39]OFD Sender: No OFD packet to send [01:31:44]OFD Sender: No OFD packet to send [01:31:49]OFD Sender: No OFD packet to send [01:31:54]OFD Sender: No OFD packet to send [01:31:59]OFD Sender: No OFD packet to send [01:32:04]OFD Sender: No OFD packet to send [01:32:09]OFD Sender: No OFD packet to send [01:32:14]OFD Sender: No OFD packet to send [01:32:19]OFD Sender: No OFD packet to send [01:32:24]OFD Sender: No OFD packet to send [01:32:29]OFD Sender: No OFD packet to send [01:32:34]OFD Sender: No OFD packet to send [01:32:39]OFD Sender: No OFD packet to send [01:32:44]OFD Sender: No OFD packet to send [01:32:49]OFD Sender: No OFD packet to send [01:32:54]OFD Sender: No OFD packet to send [01:32:59]OFD Sender: No OFD packet to send [01:33:04]OFD Sender: No OFD packet to send [01:33:09]OFD Sender: No OFD packet to send [01:33:14]OFD Sender: No OFD packet to send [01:33:19]OFD Sender: No OFD packet to send [01:33:24]OFD Sender: No OFD packet to send [01:33:29]OFD Sender: No OFD packet to send [01:33:34]OFD Sender: No OFD packet to send [01:33:39]OFD Sender: No OFD packet to send [01:33:44]OFD Sender: No OFD packet to send [01:33:49]OFD Sender: No OFD packet to send [01:33:54]OFD Sender: No OFD packet to send [01:33:59]OFD Sender: No OFD packet to send [01:34:04]OFD Sender: No OFD packet to send [01:34:09]OFD Sender: No OFD packet to send [01:34:14]OFD Sender: No OFD packet to send [01:34:19]OFD Sender: No OFD packet to send [01:34:24]OFD Sender: No OFD packet to send [01:34:29]OFD Sender: No OFD packet to send [01:34:34]OFD Sender: No OFD packet to send [01:34:39]OFD Sender: No OFD packet to send [01:34:44]OFD Sender: No OFD packet to send [01:34:49]OFD Sender: No OFD packet to send [01:34:54]OFD Sender: No OFD packet to send [01:34:59]OFD Sender: No OFD packet to send [01:35:04]OFD Sender: No OFD packet to send [01:35:09]OFD Sender: No OFD packet to send [01:35:14]OFD Sender: No OFD packet to send [01:35:19]OFD Sender: No OFD packet to send [01:35:24]OFD Sender: No OFD packet to send [01:35:29]OFD Sender: No OFD packet to send [01:35:34]OFD Sender: No OFD packet to send [01:35:39]OFD Sender: No OFD packet to send [01:35:44]OFD Sender: No OFD packet to send [01:35:49]OFD Sender: No OFD packet to send [01:35:54]OFD Sender: No OFD packet to send [01:35:59]OFD Sender: No OFD packet to send [01:36:04]OFD Sender: No OFD packet to send [01:36:09]OFD Sender: No OFD packet to send [01:36:14]OFD Sender: No OFD packet to send [01:36:19]OFD Sender: No OFD packet to send [01:36:24]OFD Sender: No OFD packet to send [01:36:29]OFD Sender: No OFD packet to send [01:36:34]OFD Sender: No OFD packet to send [01:36:39]OFD Sender: No OFD packet to send [01:36:44]OFD Sender: No OFD packet to send [01:36:49]OFD Sender: No OFD packet to send [01:36:54]OFD Sender: No OFD packet to send [01:36:59]OFD Sender: No OFD packet to send [01:37:04]OFD Sender: No OFD packet to send [01:37:09]OFD Sender: No OFD packet to send [01:37:14]OFD Sender: No OFD packet to send [01:37:19]OFD Sender: No OFD packet to send [01:37:24]OFD Sender: No OFD packet to send [01:37:29]OFD Sender: No OFD packet to send [01:37:34]OFD Sender: No OFD packet to send [01:37:39]OFD Sender: No OFD packet to send [01:37:44]OFD Sender: No OFD packet to send [01:37:49]OFD Sender: No OFD packet to send [01:37:54]OFD Sender: No OFD packet to send [01:37:59]OFD Sender: No OFD packet to send [01:38:04]OFD Sender: No OFD packet to send [01:38:09]OFD Sender: No OFD packet to send [01:38:14]OFD Sender: No OFD packet to send [01:38:19]OFD Sender: No OFD packet to send [01:38:24]OFD Sender: No OFD packet to send [01:38:29]OFD Sender: No OFD packet to send [01:38:34]OFD Sender: No OFD packet to send [01:38:39]OFD Sender: No OFD packet to send [01:38:44]OFD Sender: No OFD packet to send [01:38:49]OFD Sender: No OFD packet to send [01:38:54]OFD Sender: No OFD packet to send [01:38:59]OFD Sender: No OFD packet to send [01:39:04]OFD Sender: No OFD packet to send [01:39:09]OFD Sender: No OFD packet to send [01:39:14]OFD Sender: No OFD packet to send [01:39:19]OFD Sender: No OFD packet to send [01:39:24]OFD Sender: No OFD packet to send [01:39:29]OFD Sender: No OFD packet to send [01:39:34]OFD Sender: No OFD packet to send [01:39:39]OFD Sender: No OFD packet to send [01:39:44]OFD Sender: No OFD packet to send [01:39:49]OFD Sender: No OFD packet to send [01:39:54]OFD Sender: No OFD packet to send [01:39:59]OFD Sender: No OFD packet to send [01:40:04]OFD Sender: No OFD packet to send [01:40:09]OFD Sender: No OFD packet to send [01:40:14]OFD Sender: No OFD packet to send [01:40:19]OFD Sender: No OFD packet to send [01:40:24]OFD Sender: No OFD packet to send [01:40:29]OFD Sender: No OFD packet to send [01:40:34]OFD Sender: No OFD packet to send [01:40:39]OFD Sender: No OFD packet to send [01:40:44]OFD Sender: No OFD packet to send [01:40:49]OFD Sender: No OFD packet to send [01:40:54]OFD Sender: No OFD packet to send [01:40:59]OFD Sender: No OFD packet to send [01:41:04]OFD Sender: No OFD packet to send [01:41:09]OFD Sender: No OFD packet to send [01:41:15]OFD Sender: No OFD packet to send [01:41:20]OFD Sender: No OFD packet to send [01:41:25]OFD Sender: No OFD packet to send [01:41:30]OFD Sender: No OFD packet to send [01:41:35]OFD Sender: No OFD packet to send [01:41:40]OFD Sender: No OFD packet to send [01:41:45]OFD Sender: No OFD packet to send [01:41:50]OFD Sender: No OFD packet to send [01:41:55]OFD Sender: No OFD packet to send [01:42:00]OFD Sender: No OFD packet to send [01:42:05]OFD Sender: No OFD packet to send [01:42:10]OFD Sender: No OFD packet to send [01:42:15]OFD Sender: No OFD packet to send [01:42:20]OFD Sender: No OFD packet to send [01:42:25]OFD Sender: No OFD packet to send [01:42:30]OFD Sender: No OFD packet to send [01:42:35]OFD Sender: No OFD packet to send [01:42:40]OFD Sender: No OFD packet to send [01:42:45]OFD Sender: No OFD packet to send [01:42:50]OFD Sender: No OFD packet to send [01:42:55]OFD Sender: No OFD packet to send [01:43:00]OFD Sender: No OFD packet to send [01:43:05]OFD Sender: No OFD packet to send [01:43:07]accept exits with 9 [01:43:07]New connection [01:43:07]New thread 3066793316 created [01:43:07]Thread 3066936676 joined [01:43:07]Waiting for new connection... [01:43:07] Sock 9.Parse request [01:43:07]Sock 9.Check first char [01:43:07]Sock 9.First char is OK [01:43:07]request: POST /json_proto HTTP/1.0 [01:43:07]Method: POST [01:43:07]URL: /json_proto [01:43:07]Method is POST - this is cgi request [01:43:07]url: /json_proto [01:43:07]query_string will be loaded in cgi processing [01:43:07]execute_cgi json_proto POST (null) [01:43:07]execute_cgi path=json_proto method=POST [01:43:07]POST find Content-Length [01:43:07]Host: 172.17.35.196:8080 [01:43:07]Content-Length: 639 [01:43:07]Content-Type: application/json [01:43:07] [01:43:07]POST finish read [01:43:07]Found Content-Length = 639 [01:43:07]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169146", "tax_sys" : 0, "items" : [ { "code": "5449000006271", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0424\u0430\u043D\u0442\u0430 1\u043B", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:43:07]execute_script... [01:43: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)169146", "tax_sys" : 0, "items" : [ { "code": "5449000006271", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0424\u0430\u043D\u0442\u0430 1\u043B", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:43:07]POST & json_proto [01:43:07]process_json_proto [01:43:07]json parsed OK: [01:43:07]protocol is kg_v1.0 [01:43:07]action value=close_receipt [01:43:07]process_action close_receipt [01:43:07]cmd_close_receipt [01:43:07]MH_GetDate [01:43:07]Write to MH i2c: F0 00 00 D3 11 D3 [01:43:07]Write i2c OK [01:43:07]MH_I2C_Read... [01:43:07]Read from MH i2c: F0 [01:43:07]MH_I2C_Read... [01:43:07]Read from MH i2c: F0 09 00 [01:43:07]MH_I2C_Read... [01:43:07]Read from MH i2c: F0 09 00 D3 11 00 2E 8A 90 66 AD 14 F4 65 A4 [01:43:07]GetLastDocTimeStamp 1720746663 [01:43:07]current date 1720748590 [01:43:07]FM_GetShiftState [01:43:07]SAM_PROTO_GetShiftState [01:43:07]wFMCommunicate request_size=4 [01:43:07]MH_SAM_APDU [01:43:07]CAPDU: 80 13 01 00 [01:43:07]Write to MH i2c: E2 08 00 D4 11 80 13 01 00 00 00 00 00 62 [01:43:07]Write i2c OK [01:43:07]MH_I2C_Read... [01:43:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:43:07]Read from MH i2c: E2 [01:43:07]MH_I2C_Read... [01:43:07]Read from MH i2c: E2 0E 00 [01:43:07]MH_I2C_Read... [01:43:07]Read from MH i2c: E2 0E 00 D4 11 00 09 00 01 17 74 90 66 00 00 00 00 90 00 EF [01:43:07]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [01:43:07]wFMCommunicate OK [01:43:07]SAM_PROTO_GetShiftState done [01:43:07]FM_GetShiftState done [01:43:07]opened in 1720742935 [01:43:07]opened+sec_in_day 1720829335 [01:43:07]quantity*price = 12500 [01:43:07]sum+1 = 12501 [01:43:07]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 125.00 НСП 1% : 1.11 НДС 12% : 13.27 Наличными: 125.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 4 12.07.2024 01:43 Смена: 433 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33326 ФПД: 139649690036354 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T014310&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33326&fm=139649690036354&tin=02508201610067®Number=0000000000093033&sum=12500 0 [01:43:08]StoreToDocumentArchive [01:43:08]shift 433 fd 33326 [01:43:08]save to /storage/0433/doc_00033326 [01:43:08]save last doc name /storage/0433/doc_00033326 to /storage/kkm_last_doc_name [01:43:08]save OK [01:43:08]Clear old archive folders... [01:43:08]ProcessDocumentItem done err = 0, tmpTLVsize=271 [01:43:08]tlvbuf is 01CD9830 [01:43:08]SAM_PROTO_ClearQueue [01:43:08]wFMCommunicate request_size=4 [01:43:08]MH_SAM_APDU [01:43:08]CAPDU: 80 09 00 00 [01:43:08]Write to MH i2c: E2 08 00 E1 11 80 09 00 00 00 00 00 00 64 [01:43:08]Write i2c OK [01:43:08]MH_I2C_Read... [01:43:08]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:43:08]Read from MH i2c: E2 [01:43:08]MH_I2C_Read... [01:43:08]Read from MH i2c: E2 03 00 [01:43:08]MH_I2C_Read... [01:43:08]Read from MH i2c: E2 03 00 E1 11 00 90 00 66 [01:43:08]RAPDU: 90 00 [01:43:08]wFMCommunicate OK [01:43:08]SAM_PROTO_ClearQueue done [01:43:08]KKMCreateOFDPacket [01:43:08]OFDProtocolAddRootSTLVToBuf [01:43:08]FM_MakeSignedData [01:43:08]FM_MakeSignedData [01:43:08]SAM_PROTO_SignData [01:43:08]wFMCommunicate request_size=4 [01:43:08]MH_SAM_APDU [01:43:08]CAPDU: 80 0D 01 02 [01:43:08]Write to MH i2c: E2 08 00 E2 11 80 0D 01 02 00 00 00 00 6C [01:43:08]Write i2c OK [01:43:08]MH_I2C_Read... [01:43:08]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:43:08]Read from MH i2c: E2 [01:43:08]MH_I2C_Read... [01:43:08]Read from MH i2c: E2 03 00 [01:43:08]MH_I2C_Read... [01:43:08]Read from MH i2c: E2 03 00 E2 11 00 90 00 67 [01:43:08]RAPDU: 90 00 [01:43:08]wFMCommunicate OK [01:43:08]wFMCommunicate request_size=255 [01:43:08]MH_SAM_APDU [01:43:08]CAPDU: 80 0D 02 02 FA 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 36 32 37 31 06 04 1D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 2E 8A 90 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 [01:43:08]Write to MH i2c: E2 02 01 E3 11 80 0D 02 02 FA 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 36 32 37 31 06 04 1D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 2E 8A 90 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 00 00 CE [01:43:08]Write i2c OK [01:43:08]MH_I2C_Read... [01:43:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:43:09]Read from MH i2c: E2 [01:43:09]MH_I2C_Read... [01:43:09]Read from MH i2c: E2 03 00 [01:43:09]MH_I2C_Read... [01:43:09]Read from MH i2c: E2 03 00 E3 11 00 90 00 68 [01:43:09]RAPDU: 90 00 [01:43:09]wFMCommunicate OK [01:43:09]wFMCommunicate request_size=30 [01:43:09]MH_SAM_APDU [01:43:09]CAPDU: 80 0D 02 02 19 30 38 37 35 31 30 34 10 04 04 00 2E 82 00 00 35 04 06 00 7F 02 BA 2A E8 82 [01:43:09]Write to MH i2c: E2 21 00 E4 11 80 0D 02 02 19 00 30 38 37 35 31 30 34 10 04 04 00 2E 82 00 00 35 04 06 00 7F 02 BA 2A E8 82 00 00 E0 [01:43:09]Write i2c OK [01:43:09]MH_I2C_Read... [01:43:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:43:09]Read from MH i2c: E2 [01:43:09]MH_I2C_Read... [01:43:09]Read from MH i2c: E2 03 00 [01:43:09]MH_I2C_Read... [01:43:09]Read from MH i2c: E2 03 00 E4 11 00 90 00 69 [01:43:09]RAPDU: 90 00 [01:43:09]wFMCommunicate OK [01:43:09]wFMCommunicate request_size=4 [01:43:09]MH_SAM_APDU [01:43:09]CAPDU: 80 0D 03 02 [01:43:09]Write to MH i2c: E2 08 00 E5 11 80 0D 03 02 00 00 00 00 71 [01:43:09]Write i2c OK [01:43:09]MH_I2C_Read... [01:43:09]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:43:09]Read from MH i2c: E2 [01:43:09]MH_I2C_Read... [01:43:09]Read from MH i2c: E2 0B 00 [01:43:09]MH_I2C_Read... [01:43:09]Read from MH i2c: E2 0B 00 E5 11 00 DF DC 11 3F F6 94 C8 FE 90 00 CD [01:43:09]RAPDU: DF DC 11 3F F6 94 C8 FE 90 00 [01:43:09]wFMCommunicate OK [01:43:09]SAM_PROTO_SignData done [01:43:09]FM_MakeSignedData done [01:43:09]CreateOFDProtocolMessage [01:43:09]wFMCommunicate request_size=4 [01:43:09]MH_SAM_APDU [01:43:09]CAPDU: 80 11 00 00 [01:43:09]Write to MH i2c: E2 08 00 E6 11 80 11 00 00 00 00 00 00 71 [01:43:09]Write i2c OK [01:43:09]MH_I2C_Read... [01:43:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:43:09]Read from MH i2c: E2 [01:43:09]MH_I2C_Read... [01:43:09]Read from MH i2c: E2 17 00 [01:43:09]MH_I2C_Read... [01:43:09]Read from MH i2c: E2 17 00 E6 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 BD [01:43:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [01:43:09]wFMCommunicate OK [01:43:09]CreateOFDProtocolMessage done [01:43:09]OFDSenderStorePacket 33326 [01:43:09]StoreOFDPacket docnum=33326 [01:43:09]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 23 01 00 00 C5 57 1B 01 12 19 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 36 32 37 31 06 04 1D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 2E 8A 90 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 2E 82 00 00 35 04 06 00 7F 02 BA 2A E8 82 DF DC 11 3F F6 94 C8 FE [01:43:09]CheckFolder [01:43:09]dirname=/storage/ofd_packets [01:43:09]CheckFolder done [01:43:09]ProducePacketName [01:43:09]name=ofd_packets/00033326 [01:43:09]NVStorageSaveData ofd_packets/00033326 [01:43:09]File name is /storage/ofd_packets/00033326 [01:43:09]Write 321 bytes [01:43:09]NVStorageSaveData done [01:43:09]OFDSenderStorePacket done [01:43:09]KKMCreateOFDPacket done [01:43:09]NVStorageSaveData kkm_last_timestamp [01:43:09]File name is /storage/kkm_last_timestamp [01:43:09]Write 4 bytes [01:43:09]NVStorageSaveData done [01:43:09]ExternCall_PrintAddStr [01:43:09]wPrintStart [01:43:09]Write to MH i2c: 01 00 00 E7 11 F8 [01:43:09]Write i2c OK [01:43:09]MH_I2C_Read... [01:43:09]Read from MH i2c: 01 [01:43:09]MH_I2C_Read... [01:43:09]Read from MH i2c: 01 07 00 [01:43:09]MH_I2C_Read... [01:43:09]Read from MH i2c: 01 07 00 E7 11 00 00 00 00 00 FF 0F 0D [01:43:09]RasterBufferAndPrint [01:43:09]line Счет N : (3)169146 [01:43:09]line ИНН: 02508201610067 [01:43:09]line Контрольно-Кассовый Чек [01:43:09]line ПРОДАЖА [01:43:09]line Товар: 5449000006271 [01:43:09]line Напиток Фанта 1л [01:43:09]line 1.000 * 125.00 [01:43:09]line = 125.00 [01:43:09]line НДС 12% НСП 1% [01:43:09]line > о реализуемом товаре [01:43:09]line ИТОГО: 125.00 [01:43:09]line НСП 1% : 1.11 [01:43:09]line НДС 12% : 13.27 [01:43:09]line Наличными: 125.00 [01:43:09]line Безнал.: 0.00 [01:43:09]line Место: АЗС № 77 "Партнер Нефть" [01:43:09]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [01:43:09]line СНО: Общий режим [01:43:09]line Чек 4 12.07.2024 01:43 [01:43:09]line Смена: 433 ФФД: 1.0 [01:43:09]line ЗНМ: 0300000122 [01:43:09]line РНМ: 0000000000093033 [01:43:09]line Версия ККМ: 001 [01:43:09]line ФМ: 0000000000875104 [01:43:09]line ФД: 33326 [01:43:09]line ФПД: 139649690036354 [01:43:09]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T014310&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33326&fm=139649690036354&tin=02508201610067®Number=0000000000093033&sum=12500 [01:43:09]OFD Sender: Processing packet 33326 [packets to send 6, broken 5] [01:43:09]ProducePacketName [01:43:09]name=ofd_packets/00033326 [01:43:09]OFD Sender: To server: pG, [01:43:09]CommunicateWithHost lk.salyk.kg:30040 [01:43:09]ConnectInit lk.salyk.kg [01:43:09]line 0 [01:43:09]written 0, free lines is 4095 [01:43:09]Connected sock=11 [01:43:09]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 23 01 00 00 C5 57 1B 01 12 19 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 36 32 37 31 06 04 1D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 2E 8A 90 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 2E 82 00 00 35 04 06 00 7F 02 BA 2A E8 82 DF DC 11 3F F6 94 C8 FE [01:43:09]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 F0 FA 47 00 46 BD A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 2E 82 00 00 F4 03 04 00 DD 34 90 66 B6 04 01 00 00 0F 0A 21 91 56 5C 47 45 [01:43:09]CommunicateWithHost err = 0 [01:43:09]CheckOFDResponse [01:43:09]1017 (14) - 77093643461234 [01:43:09]1041 (16) - 0000000000875104 [01:43:09]1040 (4) - 33326 [01:43:09]1012 (4) - 11.07.2024 19:39 [01:43:09]1206 (1) - 0 [01:43:09]OFD Sender: Remove packet 33326 [01:43:09]ProducePacketName [01:43:09]name=ofd_packets/00033326 [01:43:09]NVStorageDeleteData [01:43:10]Write to MH i2c: 01 00 00 0F 12 21 [01:43:10]Write i2c OK [01:43:10]MH_I2C_Read... [01:43:10]Read from MH i2c: 01 [01:43:10]MH_I2C_Read... [01:43:10]Read from MH i2c: 01 07 00 [01:43:10]MH_I2C_Read... [01:43:10]Read from MH i2c: 01 07 00 0F 12 00 00 00 00 00 05 0D 3A [01:43:10]RasterBufferAndPrint [01:43:10]line [01:43:10]line [01:43:10]line [01:43:10]line [01:43:10]line [01:43:10]written 0, free lines is 3340 [01:43:10]MH_Cut [01:43:10]Write to MH i2c: D1 01 00 16 12 01 FA [01:43:10]Write i2c OK [01:43:10]MH_I2C_Read... [01:43:10]Read from MH i2c: D1 [01:43:10]MH_I2C_Read... [01:43:10]Read from MH i2c: D1 01 00 [01:43:10]MH_I2C_Read... [01:43:10]Read from MH i2c: D1 01 00 16 12 00 F9 [01:43:10]Write to MH i2c: 01 00 00 17 12 29 [01:43:10]Write i2c OK [01:43:10]MH_I2C_Read... [01:43:10]OFD Sender: No OFD packet to send [01:43:10]*** Cut start [01:43:10]*** Partial cut [01:43:10]*** CUTSNS_PIN = 1 [01:43:10]*** CUTSNS_PIN = 0 [01:43:11]*** Brake cut motor [01:43:11]Read from MH i2c: 01 [01:43:11]MH_I2C_Read... [01:43:11]*** Stop cut motor [01:43:11]*** Cut end [01:43:11]Read from MH i2c: 01 07 00 [01:43:11]MH_I2C_Read... [01:43:11]Read from MH i2c: 01 07 00 17 12 00 00 00 00 00 FF 0F 3E [01:43:11]process_action close_receipt done [01:43:11]requested_data is exist [01:43:11]produce_requested_data [01:43:11]requested_item fm.sn is exist - process it [01:43:11]wFMCommunicate request_size=4 [01:43:11]MH_SAM_APDU [01:43:11]CAPDU: 80 11 00 00 [01:43:11]Write to MH i2c: E2 08 00 18 12 80 11 00 00 00 00 00 00 A4 [01:43:11]Write i2c OK [01:43:11]MH_I2C_Read... [01:43:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:43:11]Read from MH i2c: E2 [01:43:11]MH_I2C_Read... [01:43:11]Read from MH i2c: E2 17 00 [01:43:11]MH_I2C_Read... [01:43:11]Read from MH i2c: E2 17 00 18 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 F0 [01:43:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [01:43:11]wFMCommunicate OK [01:43:11]requested_item fd.num is exist - process it [01:43:11]SAM_PROTO_GetFieldsCounters [01:43:11]wFMCommunicate request_size=4 [01:43:11]MH_SAM_APDU [01:43:11]CAPDU: 80 13 00 00 [01:43:11]Write to MH i2c: E2 08 00 19 12 80 13 00 00 00 00 00 00 A7 [01:43:11]Write i2c OK [01:43:11]MH_I2C_Read... [01:43:11]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:43:11]Read from MH i2c: E2 [01:43:11]MH_I2C_Read... [01:43:11]Read from MH i2c: E2 62 00 [01:43:11]MH_I2C_Read... [01:43:11]Read from MH i2c: E2 62 00 19 12 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 2E 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 04 00 00 00 5E 04 04 00 04 00 00 00 57 04 04 00 05 00 00 00 19 04 04 00 00 00 00 00 90 00 28 [01:43: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 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 2E 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 04 00 00 00 5E 04 04 00 04 00 00 00 57 04 04 00 05 00 00 00 19 04 04 00 00 00 00 00 90 00 [01:43:11]wFMCommunicate OK [01:43:11]SAM_PROTO_GetFieldsCounters done [01:43:11]requested_item shift.num is exist - process it [01:43:11]requested_item shift.opened is exist - process it [01:43:11]req_shift_opened [01:43:11]FM_GetShiftState [01:43:11]SAM_PROTO_GetShiftState [01:43:11]wFMCommunicate request_size=4 [01:43:11]MH_SAM_APDU [01:43:11]CAPDU: 80 13 01 00 [01:43:11]Write to MH i2c: E2 08 00 1A 12 80 13 01 00 00 00 00 00 A9 [01:43:11]Write i2c OK [01:43:11]MH_I2C_Read... [01:43:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:43:11]Read from MH i2c: E2 [01:43:11]MH_I2C_Read... [01:43:11]Read from MH i2c: E2 0E 00 [01:43:11]MH_I2C_Read... [01:43:11]Read from MH i2c: E2 0E 00 1A 12 00 09 00 01 17 74 90 66 00 00 00 00 90 00 36 [01:43:11]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [01:43:11]wFMCommunicate OK [01:43:11]SAM_PROTO_GetShiftState done [01:43:11]FM_GetShiftState done [01:43:11]req_shift_opened done [01:43:11]requested_item shift.open_date is exist - process it [01:43:11]req_shift_open_date [01:43:11]req_shift_open_date done [01:43:11]produce_requested_data done [01:43:11]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33326,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935} [01:43:11]process_action_free close_receipt [01:43:11]json_value_free [01:43:11]json_value_free done [01:43:11]process_json_proto returns [01:43:11]Send response to host [01:43:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33326,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935}}} [01:43:11]free response buf [01:43:11]execute_script done [01:43:11]execute_script returns [01:43:11]free content buf [01:43:11]Sock 9.Close socket [01:43:11]Sock 9.Thread stoped [01:43:15]OFD Sender: No OFD packet to send [01:43:20]OFD Sender: No OFD packet to send [01:43:25]OFD Sender: No OFD packet to send [01:43:30]OFD Sender: No OFD packet to send [01:43:35]OFD Sender: No OFD packet to send [01:43:40]OFD Sender: No OFD packet to send [01:43:45]OFD Sender: No OFD packet to send [01:43:50]OFD Sender: No OFD packet to send [01:43:55]OFD Sender: No OFD packet to send [01:44:00]OFD Sender: No OFD packet to send [01:44:05]OFD Sender: No OFD packet to send [01:44:10]OFD Sender: No OFD packet to send [01:44:15]OFD Sender: No OFD packet to send [01:44:20]OFD Sender: No OFD packet to send [01:44:25]OFD Sender: No OFD packet to send [01:44:30]OFD Sender: No OFD packet to send [01:44:35]OFD Sender: No OFD packet to send [01:44:40]OFD Sender: No OFD packet to send [01:44:45]OFD Sender: No OFD packet to send [01:44:50]OFD Sender: No OFD packet to send [01:44:55]OFD Sender: No OFD packet to send [01:45:00]OFD Sender: No OFD packet to send [01:45:05]OFD Sender: No OFD packet to send [01:45:10]OFD Sender: No OFD packet to send [01:45:15]OFD Sender: No OFD packet to send [01:45:20]OFD Sender: No OFD packet to send [01:45:25]OFD Sender: No OFD packet to send [01:45:30]OFD Sender: No OFD packet to send [01:45:35]OFD Sender: No OFD packet to send [01:45:40]OFD Sender: No OFD packet to send [01:45:45]OFD Sender: No OFD packet to send [01:45:50]OFD Sender: No OFD packet to send [01:45:55]OFD Sender: No OFD packet to send [01:46:00]OFD Sender: No OFD packet to send [01:46:05]OFD Sender: No OFD packet to send [01:46:10]OFD Sender: No OFD packet to send [01:46:15]OFD Sender: No OFD packet to send [01:46:20]OFD Sender: No OFD packet to send [01:46:25]OFD Sender: No OFD packet to send [01:46:30]OFD Sender: No OFD packet to send [01:46:35]OFD Sender: No OFD packet to send [01:46:40]OFD Sender: No OFD packet to send [01:46:45]OFD Sender: No OFD packet to send [01:46:50]OFD Sender: No OFD packet to send [01:46:55]OFD Sender: No OFD packet to send [01:47:00]OFD Sender: No OFD packet to send [01:47:05]OFD Sender: No OFD packet to send [01:47:10]OFD Sender: No OFD packet to send [01:47:15]OFD Sender: No OFD packet to send [01:47:20]OFD Sender: No OFD packet to send [01:47:25]OFD Sender: No OFD packet to send [01:47:30]OFD Sender: No OFD packet to send [01:47:35]OFD Sender: No OFD packet to send [01:47:40]OFD Sender: No OFD packet to send [01:47:45]OFD Sender: No OFD packet to send [01:47:50]OFD Sender: No OFD packet to send [01:47:55]OFD Sender: No OFD packet to send [01:48:00]OFD Sender: No OFD packet to send [01:48:05]OFD Sender: No OFD packet to send [01:48:10]OFD Sender: No OFD packet to send [01:48:15]OFD Sender: No OFD packet to send [01:48:20]OFD Sender: No OFD packet to send [01:48:25]OFD Sender: No OFD packet to send [01:48:30]OFD Sender: No OFD packet to send [01:48:35]OFD Sender: No OFD packet to send [01:48:40]OFD Sender: No OFD packet to send [01:48:45]OFD Sender: No OFD packet to send [01:48:50]OFD Sender: No OFD packet to send [01:48:55]OFD Sender: No OFD packet to send [01:49:00]OFD Sender: No OFD packet to send [01:49:05]OFD Sender: No OFD packet to send [01:49:10]OFD Sender: No OFD packet to send [01:49:15]OFD Sender: No OFD packet to send [01:49:20]OFD Sender: No OFD packet to send [01:49:25]OFD Sender: No OFD packet to send [01:49:30]OFD Sender: No OFD packet to send [01:49:35]OFD Sender: No OFD packet to send [01:49:40]OFD Sender: No OFD packet to send [01:49:45]OFD Sender: No OFD packet to send [01:49:50]OFD Sender: No OFD packet to send [01:49:55]OFD Sender: No OFD packet to send [01:50:00]OFD Sender: No OFD packet to send [01:50:05]OFD Sender: No OFD packet to send [01:50:10]OFD Sender: No OFD packet to send [01:50:15]OFD Sender: No OFD packet to send [01:50:20]OFD Sender: No OFD packet to send [01:50:25]OFD Sender: No OFD packet to send [01:50:30]OFD Sender: No OFD packet to send [01:50:35]OFD Sender: No OFD packet to send [01:50:40]OFD Sender: No OFD packet to send [01:50:45]OFD Sender: No OFD packet to send [01:50:50]OFD Sender: No OFD packet to send [01:50:55]OFD Sender: No OFD packet to send [01:51:00]OFD Sender: No OFD packet to send [01:51:05]OFD Sender: No OFD packet to send [01:51:10]OFD Sender: No OFD packet to send [01:51:15]OFD Sender: No OFD packet to send [01:51:20]OFD Sender: No OFD packet to send [01:51:25]OFD Sender: No OFD packet to send [01:51:30]OFD Sender: No OFD packet to send [01:51:35]OFD Sender: No OFD packet to send [01:51:40]OFD Sender: No OFD packet to send [01:51:45]OFD Sender: No OFD packet to send [01:51:50]OFD Sender: No OFD packet to send [01:51:55]OFD Sender: No OFD packet to send [01:52:00]OFD Sender: No OFD packet to send [01:52:05]OFD Sender: No OFD packet to send [01:52:10]OFD Sender: No OFD packet to send [01:52:15]OFD Sender: No OFD packet to send [01:52:20]OFD Sender: No OFD packet to send [01:52:25]OFD Sender: No OFD packet to send [01:52:30]OFD Sender: No OFD packet to send [01:52:35]OFD Sender: No OFD packet to send [01:52:40]OFD Sender: No OFD packet to send [01:52:45]OFD Sender: No OFD packet to send [01:52:50]OFD Sender: No OFD packet to send [01:52:55]OFD Sender: No OFD packet to send [01:53:00]OFD Sender: No OFD packet to send [01:53:05]OFD Sender: No OFD packet to send [01:53:10]OFD Sender: No OFD packet to send [01:53:15]OFD Sender: No OFD packet to send [01:53:20]OFD Sender: No OFD packet to send [01:53:25]OFD Sender: No OFD packet to send [01:53:30]OFD Sender: No OFD packet to send [01:53:35]OFD Sender: No OFD packet to send [01:53:40]OFD Sender: No OFD packet to send [01:53:45]OFD Sender: No OFD packet to send [01:53:50]OFD Sender: No OFD packet to send [01:53:55]OFD Sender: No OFD packet to send [01:54:00]OFD Sender: No OFD packet to send [01:54:05]OFD Sender: No OFD packet to send [01:54:10]OFD Sender: No OFD packet to send [01:54:15]OFD Sender: No OFD packet to send [01:54:20]OFD Sender: No OFD packet to send [01:54:25]OFD Sender: No OFD packet to send [01:54:30]OFD Sender: No OFD packet to send [01:54:35]OFD Sender: No OFD packet to send [01:54:40]OFD Sender: No OFD packet to send [01:54:46]OFD Sender: No OFD packet to send [01:54:51]OFD Sender: No OFD packet to send [01:54:56]OFD Sender: No OFD packet to send [01:55:01]OFD Sender: No OFD packet to send [01:55:06]OFD Sender: No OFD packet to send [01:55:11]OFD Sender: No OFD packet to send [01:55:16]OFD Sender: No OFD packet to send [01:55:21]OFD Sender: No OFD packet to send [01:55:26]OFD Sender: No OFD packet to send [01:55:31]OFD Sender: No OFD packet to send [01:55:36]OFD Sender: No OFD packet to send [01:55:41]OFD Sender: No OFD packet to send [01:55:46]OFD Sender: No OFD packet to send [01:55:51]OFD Sender: No OFD packet to send [01:55:56]OFD Sender: No OFD packet to send [01:56:01]OFD Sender: No OFD packet to send [01:56:06]OFD Sender: No OFD packet to send [01:56:11]OFD Sender: No OFD packet to send [01:56:16]OFD Sender: No OFD packet to send [01:56:21]OFD Sender: No OFD packet to send [01:56:26]OFD Sender: No OFD packet to send [01:56:31]OFD Sender: No OFD packet to send [01:56:36]OFD Sender: No OFD packet to send [01:56:41]OFD Sender: No OFD packet to send [01:56:46]OFD Sender: No OFD packet to send [01:56:51]OFD Sender: No OFD packet to send [01:56:56]OFD Sender: No OFD packet to send [01:57:01]OFD Sender: No OFD packet to send [01:57:06]OFD Sender: No OFD packet to send [01:57:11]OFD Sender: No OFD packet to send [01:57:16]OFD Sender: No OFD packet to send [01:57:21]OFD Sender: No OFD packet to send [01:57:26]OFD Sender: No OFD packet to send [01:57:31]OFD Sender: No OFD packet to send [01:57:36]OFD Sender: No OFD packet to send [01:57:41]OFD Sender: No OFD packet to send [01:57:46]OFD Sender: No OFD packet to send [01:57:51]OFD Sender: No OFD packet to send [01:57:56]OFD Sender: No OFD packet to send [01:58:01]OFD Sender: No OFD packet to send [01:58:06]OFD Sender: No OFD packet to send [01:58:11]OFD Sender: No OFD packet to send [01:58:16]OFD Sender: No OFD packet to send [01:58:21]OFD Sender: No OFD packet to send [01:58:26]OFD Sender: No OFD packet to send [01:58:31]OFD Sender: No OFD packet to send [01:58:36]OFD Sender: No OFD packet to send [01:58:41]OFD Sender: No OFD packet to send [01:58:46]OFD Sender: No OFD packet to send [01:58:51]OFD Sender: No OFD packet to send [01:58:56]OFD Sender: No OFD packet to send [01:59:01]OFD Sender: No OFD packet to send [01:59:06]OFD Sender: No OFD packet to send [01:59:11]OFD Sender: No OFD packet to send [01:59:16]OFD Sender: No OFD packet to send [01:59:21]OFD Sender: No OFD packet to send [01:59:26]OFD Sender: No OFD packet to send [01:59:31]OFD Sender: No OFD packet to send [01:59:36]OFD Sender: No OFD packet to send [01:59:41]OFD Sender: No OFD packet to send [01:59:46]OFD Sender: No OFD packet to send [01:59:51]OFD Sender: No OFD packet to send [01:59:56]OFD Sender: No OFD packet to send [02:00:01]OFD Sender: No OFD packet to send [02:00:06]OFD Sender: No OFD packet to send [02:00:11]OFD Sender: No OFD packet to send [02:00:16]OFD Sender: No OFD packet to send [02:00:21]OFD Sender: No OFD packet to send [02:00:26]OFD Sender: No OFD packet to send [02:00:31]OFD Sender: No OFD packet to send [02:00:36]OFD Sender: No OFD packet to send [02:00:41]OFD Sender: No OFD packet to send [02:00:46]OFD Sender: No OFD packet to send [02:00:51]OFD Sender: No OFD packet to send [02:00:56]OFD Sender: No OFD packet to send [02:01:01]OFD Sender: No OFD packet to send [02:01:06]OFD Sender: No OFD packet to send [02:01:11]OFD Sender: No OFD packet to send [02:01:16]OFD Sender: No OFD packet to send [02:01:21]OFD Sender: No OFD packet to send [02:01:26]OFD Sender: No OFD packet to send [02:01:31]OFD Sender: No OFD packet to send [02:01:36]OFD Sender: No OFD packet to send [02:01:41]OFD Sender: No OFD packet to send [02:01:46]OFD Sender: No OFD packet to send [02:01:51]OFD Sender: No OFD packet to send [02:01:56]OFD Sender: No OFD packet to send [02:02:01]OFD Sender: No OFD packet to send [02:02:06]OFD Sender: No OFD packet to send [02:02:11]OFD Sender: No OFD packet to send [02:02:16]OFD Sender: No OFD packet to send [02:02:21]OFD Sender: No OFD packet to send [02:02:26]OFD Sender: No OFD packet to send [02:02:31]OFD Sender: No OFD packet to send [02:02:36]OFD Sender: No OFD packet to send [02:02:41]OFD Sender: No OFD packet to send [02:02:46]OFD Sender: No OFD packet to send [02:02:51]OFD Sender: No OFD packet to send [02:02:56]OFD Sender: No OFD packet to send [02:03:01]OFD Sender: No OFD packet to send [02:03:06]OFD Sender: No OFD packet to send [02:03:11]OFD Sender: No OFD packet to send [02:03:16]OFD Sender: No OFD packet to send [02:03:21]OFD Sender: No OFD packet to send [02:03:26]OFD Sender: No OFD packet to send [02:03:31]OFD Sender: No OFD packet to send [02:03:36]OFD Sender: No OFD packet to send [02:03:41]OFD Sender: No OFD packet to send [02:03:46]OFD Sender: No OFD packet to send [02:03:51]OFD Sender: No OFD packet to send [02:03:56]OFD Sender: No OFD packet to send [02:04:01]OFD Sender: No OFD packet to send [02:04:06]OFD Sender: No OFD packet to send [02:04:11]OFD Sender: No OFD packet to send [02:04:16]OFD Sender: No OFD packet to send [02:04:21]OFD Sender: No OFD packet to send [02:04:26]OFD Sender: No OFD packet to send [02:04:31]OFD Sender: No OFD packet to send [02:04:36]OFD Sender: No OFD packet to send [02:04:41]OFD Sender: No OFD packet to send [02:04:46]OFD Sender: No OFD packet to send [02:04:51]OFD Sender: No OFD packet to send [02:04:56]OFD Sender: No OFD packet to send [02:05:01]OFD Sender: No OFD packet to send [02:05:06]OFD Sender: No OFD packet to send [02:05:11]OFD Sender: No OFD packet to send [02:05:16]OFD Sender: No OFD packet to send [02:05:21]OFD Sender: No OFD packet to send [02:05:26]OFD Sender: No OFD packet to send [02:05:31]OFD Sender: No OFD packet to send [02:05:36]OFD Sender: No OFD packet to send [02:05:41]OFD Sender: No OFD packet to send [02:05:46]OFD Sender: No OFD packet to send [02:05:51]OFD Sender: No OFD packet to send [02:05:56]OFD Sender: No OFD packet to send [02:06:01]OFD Sender: No OFD packet to send [02:06:06]OFD Sender: No OFD packet to send [02:06:11]OFD Sender: No OFD packet to send [02:06:16]OFD Sender: No OFD packet to send [02:06:21]OFD Sender: No OFD packet to send [02:06:26]OFD Sender: No OFD packet to send [02:06:31]OFD Sender: No OFD packet to send [02:06:36]OFD Sender: No OFD packet to send [02:06:41]OFD Sender: No OFD packet to send [02:06:46]OFD Sender: No OFD packet to send [02:06:51]OFD Sender: No OFD packet to send [02:06:56]OFD Sender: No OFD packet to send [02:07:01]OFD Sender: No OFD packet to send [02:07:06]OFD Sender: No OFD packet to send [02:07:11]OFD Sender: No OFD packet to send [02:07:16]OFD Sender: No OFD packet to send [02:07:21]OFD Sender: No OFD packet to send [02:07:26]OFD Sender: No OFD packet to send [02:07:31]OFD Sender: No OFD packet to send [02:07:36]OFD Sender: No OFD packet to send [02:07:41]OFD Sender: No OFD packet to send [02:07:46]OFD Sender: No OFD packet to send [02:07:51]OFD Sender: No OFD packet to send [02:07:56]OFD Sender: No OFD packet to send [02:08:01]OFD Sender: No OFD packet to send [02:08:06]OFD Sender: No OFD packet to send [02:08:11]OFD Sender: No OFD packet to send [02:08:16]OFD Sender: No OFD packet to send [02:08:21]OFD Sender: No OFD packet to send [02:08:26]OFD Sender: No OFD packet to send [02:08:31]OFD Sender: No OFD packet to send [02:08:36]OFD Sender: No OFD packet to send [02:08:41]OFD Sender: No OFD packet to send [02:08:46]OFD Sender: No OFD packet to send [02:08:51]OFD Sender: No OFD packet to send [02:08:56]OFD Sender: No OFD packet to send [02:09:01]OFD Sender: No OFD packet to send [02:09:06]OFD Sender: No OFD packet to send [02:09:11]OFD Sender: No OFD packet to send [02:09:16]OFD Sender: No OFD packet to send [02:09:21]OFD Sender: No OFD packet to send [02:09:26]OFD Sender: No OFD packet to send [02:09:31]OFD Sender: No OFD packet to send [02:09:36]OFD Sender: No OFD packet to send [02:09:41]OFD Sender: No OFD packet to send [02:09:46]OFD Sender: No OFD packet to send [02:09:51]OFD Sender: No OFD packet to send [02:09:56]OFD Sender: No OFD packet to send [02:10:01]OFD Sender: No OFD packet to send [02:10:06]OFD Sender: No OFD packet to send [02:10:11]OFD Sender: No OFD packet to send [02:10:16]OFD Sender: No OFD packet to send [02:10:21]OFD Sender: No OFD packet to send [02:10:26]OFD Sender: No OFD packet to send [02:10:31]OFD Sender: No OFD packet to send [02:10:36]OFD Sender: No OFD packet to send [02:10:41]OFD Sender: No OFD packet to send [02:10:46]OFD Sender: No OFD packet to send [02:10:51]OFD Sender: No OFD packet to send [02:10:56]OFD Sender: No OFD packet to send [02:11:01]OFD Sender: No OFD packet to send [02:11:06]OFD Sender: No OFD packet to send [02:11:11]OFD Sender: No OFD packet to send [02:11:16]OFD Sender: No OFD packet to send [02:11:21]OFD Sender: No OFD packet to send [02:11:26]OFD Sender: No OFD packet to send [02:11:31]OFD Sender: No OFD packet to send [02:11:36]OFD Sender: No OFD packet to send [02:11:41]OFD Sender: No OFD packet to send [02:11:46]OFD Sender: No OFD packet to send [02:11:51]OFD Sender: No OFD packet to send [02:11:56]OFD Sender: No OFD packet to send [02:12:01]OFD Sender: No OFD packet to send [02:12:06]OFD Sender: No OFD packet to send [02:12:11]OFD Sender: No OFD packet to send [02:12:16]OFD Sender: No OFD packet to send [02:12:21]OFD Sender: No OFD packet to send [02:12:26]OFD Sender: No OFD packet to send [02:12:31]OFD Sender: No OFD packet to send [02:12:36]OFD Sender: No OFD packet to send [02:12:41]OFD Sender: No OFD packet to send [02:12:46]OFD Sender: No OFD packet to send [02:12:51]OFD Sender: No OFD packet to send [02:12:56]OFD Sender: No OFD packet to send [02:13:01]OFD Sender: No OFD packet to send [02:13:06]OFD Sender: No OFD packet to send [02:13:11]OFD Sender: No OFD packet to send [02:13:16]OFD Sender: No OFD packet to send [02:13:21]OFD Sender: No OFD packet to send [02:13:26]OFD Sender: No OFD packet to send [02:13:31]OFD Sender: No OFD packet to send [02:13:36]OFD Sender: No OFD packet to send [02:13:41]OFD Sender: No OFD packet to send [02:13:46]OFD Sender: No OFD packet to send [02:13:51]OFD Sender: No OFD packet to send [02:13:56]OFD Sender: No OFD packet to send [02:14:01]OFD Sender: No OFD packet to send [02:14:06]OFD Sender: No OFD packet to send [02:14:11]OFD Sender: No OFD packet to send [02:14:16]OFD Sender: No OFD packet to send [02:14:21]OFD Sender: No OFD packet to send [02:14:26]OFD Sender: No OFD packet to send [02:14:31]OFD Sender: No OFD packet to send [02:14:36]OFD Sender: No OFD packet to send [02:14:41]OFD Sender: No OFD packet to send [02:14:46]OFD Sender: No OFD packet to send [02:14:51]OFD Sender: No OFD packet to send [02:14:56]OFD Sender: No OFD packet to send [02:15:01]OFD Sender: No OFD packet to send [02:15:06]OFD Sender: No OFD packet to send [02:15:11]OFD Sender: No OFD packet to send [02:15:16]OFD Sender: No OFD packet to send [02:15:21]OFD Sender: No OFD packet to send [02:15:26]OFD Sender: No OFD packet to send [02:15:31]OFD Sender: No OFD packet to send [02:15:36]OFD Sender: No OFD packet to send [02:15:41]OFD Sender: No OFD packet to send [02:15:46]OFD Sender: No OFD packet to send [02:15:51]OFD Sender: No OFD packet to send [02:15:56]OFD Sender: No OFD packet to send [02:16:01]OFD Sender: No OFD packet to send [02:16:07]OFD Sender: No OFD packet to send [02:16:12]OFD Sender: No OFD packet to send [02:16:17]OFD Sender: No OFD packet to send [02:16:22]OFD Sender: No OFD packet to send [02:16:27]OFD Sender: No OFD packet to send [02:16:32]OFD Sender: No OFD packet to send [02:16:37]OFD Sender: No OFD packet to send [02:16:42]OFD Sender: No OFD packet to send [02:16:47]OFD Sender: No OFD packet to send [02:16:52]OFD Sender: No OFD packet to send [02:16:57]OFD Sender: No OFD packet to send [02:17:02]OFD Sender: No OFD packet to send [02:17:07]OFD Sender: No OFD packet to send [02:17:12]OFD Sender: No OFD packet to send [02:17:17]OFD Sender: No OFD packet to send [02:17:22]OFD Sender: No OFD packet to send [02:17:27]OFD Sender: No OFD packet to send [02:17:32]OFD Sender: No OFD packet to send [02:17:37]OFD Sender: No OFD packet to send [02:17:42]OFD Sender: No OFD packet to send [02:17:47]OFD Sender: No OFD packet to send [02:17:52]OFD Sender: No OFD packet to send [02:17:57]OFD Sender: No OFD packet to send [02:18:02]OFD Sender: No OFD packet to send [02:18:07]OFD Sender: No OFD packet to send [02:18:12]OFD Sender: No OFD packet to send [02:18:17]OFD Sender: No OFD packet to send [02:18:22]OFD Sender: No OFD packet to send [02:18:27]OFD Sender: No OFD packet to send [02:18:32]OFD Sender: No OFD packet to send [02:18:37]OFD Sender: No OFD packet to send [02:18:42]OFD Sender: No OFD packet to send [02:18:47]OFD Sender: No OFD packet to send [02:18:52]OFD Sender: No OFD packet to send [02:18:57]OFD Sender: No OFD packet to send [02:19:02]OFD Sender: No OFD packet to send [02:19:07]OFD Sender: No OFD packet to send [02:19:12]OFD Sender: No OFD packet to send [02:19:17]OFD Sender: No OFD packet to send [02:19:22]OFD Sender: No OFD packet to send [02:19:27]OFD Sender: No OFD packet to send [02:19:32]OFD Sender: No OFD packet to send [02:19:37]OFD Sender: No OFD packet to send [02:19:42]OFD Sender: No OFD packet to send [02:19:47]OFD Sender: No OFD packet to send [02:19:52]OFD Sender: No OFD packet to send [02:19:57]OFD Sender: No OFD packet to send [02:20:02]OFD Sender: No OFD packet to send [02:20:07]OFD Sender: No OFD packet to send [02:20:12]OFD Sender: No OFD packet to send [02:20:17]OFD Sender: No OFD packet to send [02:20:22]OFD Sender: No OFD packet to send [02:20:27]OFD Sender: No OFD packet to send [02:20:32]OFD Sender: No OFD packet to send [02:20:37]OFD Sender: No OFD packet to send [02:20:42]OFD Sender: No OFD packet to send [02:20:47]OFD Sender: No OFD packet to send [02:20:52]OFD Sender: No OFD packet to send [02:20:57]OFD Sender: No OFD packet to send [02:21:02]OFD Sender: No OFD packet to send [02:21:07]OFD Sender: No OFD packet to send [02:21:12]OFD Sender: No OFD packet to send [02:21:17]OFD Sender: No OFD packet to send [02:21:22]OFD Sender: No OFD packet to send [02:21:27]OFD Sender: No OFD packet to send [02:21:32]OFD Sender: No OFD packet to send [02:21:37]OFD Sender: No OFD packet to send [02:21:42]OFD Sender: No OFD packet to send [02:21:47]OFD Sender: No OFD packet to send [02:21:52]OFD Sender: No OFD packet to send [02:21:57]OFD Sender: No OFD packet to send [02:22:02]OFD Sender: No OFD packet to send [02:22:07]OFD Sender: No OFD packet to send [02:22:12]OFD Sender: No OFD packet to send [02:22:17]OFD Sender: No OFD packet to send [02:22:22]OFD Sender: No OFD packet to send [02:22:27]OFD Sender: No OFD packet to send [02:22:32]OFD Sender: No OFD packet to send [02:22:37]OFD Sender: No OFD packet to send [02:22:42]OFD Sender: No OFD packet to send [02:22:47]OFD Sender: No OFD packet to send [02:22:52]OFD Sender: No OFD packet to send [02:22:57]OFD Sender: No OFD packet to send [02:23:02]OFD Sender: No OFD packet to send [02:23:07]OFD Sender: No OFD packet to send [02:23:12]OFD Sender: No OFD packet to send [02:23:17]OFD Sender: No OFD packet to send [02:23:22]OFD Sender: No OFD packet to send [02:23:27]OFD Sender: No OFD packet to send [02:23:32]OFD Sender: No OFD packet to send [02:23:37]OFD Sender: No OFD packet to send [02:23:42]OFD Sender: No OFD packet to send [02:23:47]OFD Sender: No OFD packet to send [02:23:52]OFD Sender: No OFD packet to send [02:23:57]OFD Sender: No OFD packet to send [02:24:02]OFD Sender: No OFD packet to send [02:24:07]OFD Sender: No OFD packet to send [02:24:12]OFD Sender: No OFD packet to send [02:24:17]OFD Sender: No OFD packet to send [02:24:22]OFD Sender: No OFD packet to send [02:24:27]OFD Sender: No OFD packet to send [02:24:32]OFD Sender: No OFD packet to send [02:24:37]OFD Sender: No OFD packet to send [02:24:42]OFD Sender: No OFD packet to send [02:24:47]OFD Sender: No OFD packet to send [02:24:52]OFD Sender: No OFD packet to send [02:24:57]OFD Sender: No OFD packet to send [02:25:02]OFD Sender: No OFD packet to send [02:25:07]OFD Sender: No OFD packet to send [02:25:12]OFD Sender: No OFD packet to send [02:25:17]OFD Sender: No OFD packet to send [02:25:22]OFD Sender: No OFD packet to send [02:25:27]OFD Sender: No OFD packet to send [02:25:32]OFD Sender: No OFD packet to send [02:25:37]OFD Sender: No OFD packet to send [02:25:42]OFD Sender: No OFD packet to send [02:25:47]OFD Sender: No OFD packet to send [02:25:52]OFD Sender: No OFD packet to send [02:25:57]OFD Sender: No OFD packet to send [02:26:02]OFD Sender: No OFD packet to send [02:26:07]OFD Sender: No OFD packet to send [02:26:12]OFD Sender: No OFD packet to send [02:26:17]OFD Sender: No OFD packet to send [02:26:22]OFD Sender: No OFD packet to send [02:26:27]OFD Sender: No OFD packet to send [02:26:32]OFD Sender: No OFD packet to send [02:26:37]OFD Sender: No OFD packet to send [02:26:42]OFD Sender: No OFD packet to send [02:26:47]OFD Sender: No OFD packet to send [02:26:52]OFD Sender: No OFD packet to send [02:26:57]OFD Sender: No OFD packet to send [02:27:02]OFD Sender: No OFD packet to send [02:27:07]OFD Sender: No OFD packet to send [02:27:12]OFD Sender: No OFD packet to send [02:27:17]OFD Sender: No OFD packet to send [02:27:22]OFD Sender: No OFD packet to send [02:27:27]OFD Sender: No OFD packet to send [02:27:32]OFD Sender: No OFD packet to send [02:27:37]OFD Sender: No OFD packet to send [02:27:42]OFD Sender: No OFD packet to send [02:27:47]OFD Sender: No OFD packet to send [02:27:52]OFD Sender: No OFD packet to send [02:27:57]OFD Sender: No OFD packet to send [02:28:02]OFD Sender: No OFD packet to send [02:28:07]OFD Sender: No OFD packet to send [02:28:12]OFD Sender: No OFD packet to send [02:28:17]OFD Sender: No OFD packet to send [02:28:22]OFD Sender: No OFD packet to send [02:28:27]OFD Sender: No OFD packet to send [02:28:32]OFD Sender: No OFD packet to send [02:28:37]OFD Sender: No OFD packet to send [02:28:42]OFD Sender: No OFD packet to send [02:28:47]OFD Sender: No OFD packet to send [02:28:52]OFD Sender: No OFD packet to send [02:28:57]OFD Sender: No OFD packet to send [02:29:02]OFD Sender: No OFD packet to send [02:29:07]OFD Sender: No OFD packet to send [02:29:12]OFD Sender: No OFD packet to send [02:29:17]OFD Sender: No OFD packet to send [02:29:22]OFD Sender: No OFD packet to send [02:29:27]OFD Sender: No OFD packet to send [02:29:32]OFD Sender: No OFD packet to send [02:29:37]OFD Sender: No OFD packet to send [02:29:42]OFD Sender: No OFD packet to send [02:29:47]OFD Sender: No OFD packet to send [02:29:52]OFD Sender: No OFD packet to send [02:29:57]OFD Sender: No OFD packet to send [02:30:02]OFD Sender: No OFD packet to send [02:30:07]OFD Sender: No OFD packet to send [02:30:12]OFD Sender: No OFD packet to send [02:30:17]OFD Sender: No OFD packet to send [02:30:22]OFD Sender: No OFD packet to send [02:30:27]OFD Sender: No OFD packet to send [02:30:32]OFD Sender: No OFD packet to send [02:30:37]OFD Sender: No OFD packet to send [02:30:42]OFD Sender: No OFD packet to send [02:30:47]OFD Sender: No OFD packet to send [02:30:52]OFD Sender: No OFD packet to send [02:30:57]OFD Sender: No OFD packet to send [02:31:02]OFD Sender: No OFD packet to send [02:31:07]OFD Sender: No OFD packet to send [02:31:12]OFD Sender: No OFD packet to send [02:31:17]OFD Sender: No OFD packet to send [02:31:22]OFD Sender: No OFD packet to send [02:31:27]OFD Sender: No OFD packet to send [02:31:32]OFD Sender: No OFD packet to send [02:31:37]OFD Sender: No OFD packet to send [02:31:42]OFD Sender: No OFD packet to send [02:31:47]OFD Sender: No OFD packet to send [02:31:52]OFD Sender: No OFD packet to send [02:31:57]OFD Sender: No OFD packet to send [02:32:02]OFD Sender: No OFD packet to send [02:32:07]OFD Sender: No OFD packet to send [02:32:12]OFD Sender: No OFD packet to send [02:32:17]OFD Sender: No OFD packet to send [02:32:22]OFD Sender: No OFD packet to send [02:32:27]OFD Sender: No OFD packet to send [02:32:32]OFD Sender: No OFD packet to send [02:32:37]OFD Sender: No OFD packet to send [02:32:42]OFD Sender: No OFD packet to send [02:32:47]OFD Sender: No OFD packet to send [02:32:52]OFD Sender: No OFD packet to send [02:32:57]OFD Sender: No OFD packet to send [02:33:02]OFD Sender: No OFD packet to send [02:33:07]OFD Sender: No OFD packet to send [02:33:12]OFD Sender: No OFD packet to send [02:33:17]OFD Sender: No OFD packet to send [02:33:22]OFD Sender: No OFD packet to send [02:33:27]OFD Sender: No OFD packet to send [02:33:32]OFD Sender: No OFD packet to send [02:33:37]OFD Sender: No OFD packet to send [02:33:42]OFD Sender: No OFD packet to send [02:33:47]OFD Sender: No OFD packet to send [02:33:52]OFD Sender: No OFD packet to send [02:33:57]OFD Sender: No OFD packet to send [02:34:02]OFD Sender: No OFD packet to send [02:34:07]OFD Sender: No OFD packet to send [02:34:12]OFD Sender: No OFD packet to send [02:34:17]OFD Sender: No OFD packet to send [02:34:22]OFD Sender: No OFD packet to send [02:34:27]OFD Sender: No OFD packet to send [02:34:32]OFD Sender: No OFD packet to send [02:34:37]OFD Sender: No OFD packet to send [02:34:42]OFD Sender: No OFD packet to send [02:34:47]OFD Sender: No OFD packet to send [02:34:52]OFD Sender: No OFD packet to send [02:34:57]OFD Sender: No OFD packet to send [02:35:02]OFD Sender: No OFD packet to send [02:35:07]OFD Sender: No OFD packet to send [02:35:12]OFD Sender: No OFD packet to send [02:35:17]OFD Sender: No OFD packet to send [02:35:22]OFD Sender: No OFD packet to send [02:35:27]OFD Sender: No OFD packet to send [02:35:32]OFD Sender: No OFD packet to send [02:35:37]OFD Sender: No OFD packet to send [02:35:42]OFD Sender: No OFD packet to send [02:35:47]OFD Sender: No OFD packet to send [02:35:52]OFD Sender: No OFD packet to send [02:35:57]OFD Sender: No OFD packet to send [02:36:02]OFD Sender: No OFD packet to send [02:36:07]OFD Sender: No OFD packet to send [02:36:12]OFD Sender: No OFD packet to send [02:36:17]OFD Sender: No OFD packet to send [02:36:22]OFD Sender: No OFD packet to send [02:36:27]OFD Sender: No OFD packet to send [02:36:32]OFD Sender: No OFD packet to send [02:36:37]OFD Sender: No OFD packet to send [02:36:42]OFD Sender: No OFD packet to send [02:36:47]OFD Sender: No OFD packet to send [02:36:52]OFD Sender: No OFD packet to send [02:36:57]OFD Sender: No OFD packet to send [02:37:02]OFD Sender: No OFD packet to send [02:37:07]OFD Sender: No OFD packet to send [02:37:12]OFD Sender: No OFD packet to send [02:37:17]OFD Sender: No OFD packet to send [02:37:22]OFD Sender: No OFD packet to send [02:37:28]OFD Sender: No OFD packet to send [02:37:33]OFD Sender: No OFD packet to send [02:37:38]OFD Sender: No OFD packet to send [02:37:43]OFD Sender: No OFD packet to send [02:37:48]OFD Sender: No OFD packet to send [02:37:53]OFD Sender: No OFD packet to send [02:37:58]OFD Sender: No OFD packet to send [02:38:03]OFD Sender: No OFD packet to send [02:38:08]OFD Sender: No OFD packet to send [02:38:13]OFD Sender: No OFD packet to send [02:38:18]OFD Sender: No OFD packet to send [02:38:23]OFD Sender: No OFD packet to send [02:38:28]OFD Sender: No OFD packet to send [02:38:33]OFD Sender: No OFD packet to send [02:38:38]OFD Sender: No OFD packet to send [02:38:43]OFD Sender: No OFD packet to send [02:38:48]OFD Sender: No OFD packet to send [02:38:53]OFD Sender: No OFD packet to send [02:38:58]OFD Sender: No OFD packet to send [02:39:03]OFD Sender: No OFD packet to send [02:39:08]OFD Sender: No OFD packet to send [02:39:13]OFD Sender: No OFD packet to send [02:39:18]OFD Sender: No OFD packet to send [02:39:23]OFD Sender: No OFD packet to send [02:39:28]OFD Sender: No OFD packet to send [02:39:33]OFD Sender: No OFD packet to send [02:39:38]OFD Sender: No OFD packet to send [02:39:43]OFD Sender: No OFD packet to send [02:39:48]OFD Sender: No OFD packet to send [02:39:53]OFD Sender: No OFD packet to send [02:39:58]OFD Sender: No OFD packet to send [02:40:03]OFD Sender: No OFD packet to send [02:40:08]OFD Sender: No OFD packet to send [02:40:13]OFD Sender: No OFD packet to send [02:40:18]OFD Sender: No OFD packet to send [02:40:23]OFD Sender: No OFD packet to send [02:40:28]OFD Sender: No OFD packet to send [02:40:33]OFD Sender: No OFD packet to send [02:40:38]OFD Sender: No OFD packet to send [02:40:43]OFD Sender: No OFD packet to send [02:40:48]OFD Sender: No OFD packet to send [02:40:53]OFD Sender: No OFD packet to send [02:40:58]OFD Sender: No OFD packet to send [02:41:03]OFD Sender: No OFD packet to send [02:41:08]OFD Sender: No OFD packet to send [02:41:13]OFD Sender: No OFD packet to send [02:41:18]OFD Sender: No OFD packet to send [02:41:23]OFD Sender: No OFD packet to send [02:41:28]OFD Sender: No OFD packet to send [02:41:33]OFD Sender: No OFD packet to send [02:41:38]OFD Sender: No OFD packet to send [02:41:43]OFD Sender: No OFD packet to send [02:41:48]OFD Sender: No OFD packet to send [02:41:53]OFD Sender: No OFD packet to send [02:41:58]OFD Sender: No OFD packet to send [02:42:03]OFD Sender: No OFD packet to send [02:42:08]OFD Sender: No OFD packet to send [02:42:13]OFD Sender: No OFD packet to send [02:42:18]OFD Sender: No OFD packet to send [02:42:23]OFD Sender: No OFD packet to send [02:42:28]OFD Sender: No OFD packet to send [02:42:33]OFD Sender: No OFD packet to send [02:42:38]OFD Sender: No OFD packet to send [02:42:43]OFD Sender: No OFD packet to send [02:42:48]OFD Sender: No OFD packet to send [02:42:53]OFD Sender: No OFD packet to send [02:42:58]OFD Sender: No OFD packet to send [02:43:03]OFD Sender: No OFD packet to send [02:43:08]OFD Sender: No OFD packet to send [02:43:13]OFD Sender: No OFD packet to send [02:43:18]OFD Sender: No OFD packet to send [02:43:23]OFD Sender: No OFD packet to send [02:43:28]OFD Sender: No OFD packet to send [02:43:33]OFD Sender: No OFD packet to send [02:43:38]OFD Sender: No OFD packet to send [02:43:43]OFD Sender: No OFD packet to send [02:43:48]OFD Sender: No OFD packet to send [02:43:53]OFD Sender: No OFD packet to send [02:43:58]OFD Sender: No OFD packet to send [02:44:03]OFD Sender: No OFD packet to send [02:44:08]OFD Sender: No OFD packet to send [02:44:13]OFD Sender: No OFD packet to send [02:44:18]OFD Sender: No OFD packet to send [02:44:23]OFD Sender: No OFD packet to send [02:44:28]OFD Sender: No OFD packet to send [02:44:33]OFD Sender: No OFD packet to send [02:44:38]OFD Sender: No OFD packet to send [02:44:43]OFD Sender: No OFD packet to send [02:44:48]OFD Sender: No OFD packet to send [02:44:53]OFD Sender: No OFD packet to send [02:44:58]OFD Sender: No OFD packet to send [02:45:03]OFD Sender: No OFD packet to send [02:45:08]OFD Sender: No OFD packet to send [02:45:13]OFD Sender: No OFD packet to send [02:45:18]OFD Sender: No OFD packet to send [02:45:23]OFD Sender: No OFD packet to send [02:45:28]OFD Sender: No OFD packet to send [02:45:33]OFD Sender: No OFD packet to send [02:45:38]OFD Sender: No OFD packet to send [02:45:43]OFD Sender: No OFD packet to send [02:45:48]OFD Sender: No OFD packet to send [02:45:53]OFD Sender: No OFD packet to send [02:45:58]OFD Sender: No OFD packet to send [02:46:03]OFD Sender: No OFD packet to send [02:46:08]OFD Sender: No OFD packet to send [02:46:13]OFD Sender: No OFD packet to send [02:46:18]OFD Sender: No OFD packet to send [02:46:23]OFD Sender: No OFD packet to send [02:46:28]OFD Sender: No OFD packet to send [02:46:33]OFD Sender: No OFD packet to send [02:46:38]OFD Sender: No OFD packet to send [02:46:43]OFD Sender: No OFD packet to send [02:46:48]OFD Sender: No OFD packet to send [02:46:53]OFD Sender: No OFD packet to send [02:46:58]OFD Sender: No OFD packet to send [02:47:03]OFD Sender: No OFD packet to send [02:47:08]OFD Sender: No OFD packet to send [02:47:13]OFD Sender: No OFD packet to send [02:47:18]OFD Sender: No OFD packet to send [02:47:23]OFD Sender: No OFD packet to send [02:47:28]OFD Sender: No OFD packet to send [02:47:33]OFD Sender: No OFD packet to send [02:47:38]OFD Sender: No OFD packet to send [02:47:43]OFD Sender: No OFD packet to send [02:47:48]OFD Sender: No OFD packet to send [02:47:53]OFD Sender: No OFD packet to send [02:47:58]OFD Sender: No OFD packet to send [02:48:03]OFD Sender: No OFD packet to send [02:48:08]OFD Sender: No OFD packet to send [02:48:13]OFD Sender: No OFD packet to send [02:48:18]OFD Sender: No OFD packet to send [02:48:23]OFD Sender: No OFD packet to send [02:48:28]OFD Sender: No OFD packet to send [02:48:33]OFD Sender: No OFD packet to send [02:48:38]OFD Sender: No OFD packet to send [02:48:43]OFD Sender: No OFD packet to send [02:48:48]OFD Sender: No OFD packet to send [02:48:53]OFD Sender: No OFD packet to send [02:48:58]OFD Sender: No OFD packet to send [02:49:03]OFD Sender: No OFD packet to send [02:49:08]OFD Sender: No OFD packet to send [02:49:13]OFD Sender: No OFD packet to send [02:49:18]OFD Sender: No OFD packet to send [02:49:23]OFD Sender: No OFD packet to send [02:49:28]OFD Sender: No OFD packet to send [02:49:33]OFD Sender: No OFD packet to send [02:49:38]OFD Sender: No OFD packet to send [02:49:43]OFD Sender: No OFD packet to send [02:49:48]OFD Sender: No OFD packet to send [02:49:53]OFD Sender: No OFD packet to send [02:49:58]OFD Sender: No OFD packet to send [02:50:03]OFD Sender: No OFD packet to send [02:50:08]OFD Sender: No OFD packet to send [02:50:13]OFD Sender: No OFD packet to send [02:50:18]OFD Sender: No OFD packet to send [02:50:23]OFD Sender: No OFD packet to send [02:50:28]OFD Sender: No OFD packet to send [02:50:33]OFD Sender: No OFD packet to send [02:50:38]OFD Sender: No OFD packet to send [02:50:43]OFD Sender: No OFD packet to send [02:50:48]OFD Sender: No OFD packet to send [02:50:53]OFD Sender: No OFD packet to send [02:50:58]OFD Sender: No OFD packet to send [02:51:03]OFD Sender: No OFD packet to send [02:51:08]OFD Sender: No OFD packet to send [02:51:13]OFD Sender: No OFD packet to send [02:51:18]OFD Sender: No OFD packet to send [02:51:23]OFD Sender: No OFD packet to send [02:51:28]OFD Sender: No OFD packet to send [02:51:33]OFD Sender: No OFD packet to send [02:51:38]OFD Sender: No OFD packet to send [02:51:43]OFD Sender: No OFD packet to send [02:51:48]OFD Sender: No OFD packet to send [02:51:53]OFD Sender: No OFD packet to send [02:51:58]OFD Sender: No OFD packet to send [02:52:03]OFD Sender: No OFD packet to send [02:52:08]OFD Sender: No OFD packet to send [02:52:13]OFD Sender: No OFD packet to send [02:52:18]OFD Sender: No OFD packet to send [02:52:23]OFD Sender: No OFD packet to send [02:52:28]OFD Sender: No OFD packet to send [02:52:33]OFD Sender: No OFD packet to send [02:52:38]OFD Sender: No OFD packet to send [02:52:43]OFD Sender: No OFD packet to send [02:52:48]OFD Sender: No OFD packet to send [02:52:53]OFD Sender: No OFD packet to send [02:52:58]OFD Sender: No OFD packet to send [02:53:03]OFD Sender: No OFD packet to send [02:53:08]OFD Sender: No OFD packet to send [02:53:13]OFD Sender: No OFD packet to send [02:53:18]OFD Sender: No OFD packet to send [02:53:23]OFD Sender: No OFD packet to send [02:53:28]OFD Sender: No OFD packet to send [02:53:33]OFD Sender: No OFD packet to send [02:53:38]OFD Sender: No OFD packet to send [02:53:43]OFD Sender: No OFD packet to send [02:53:48]OFD Sender: No OFD packet to send [02:53:53]OFD Sender: No OFD packet to send [02:53:58]OFD Sender: No OFD packet to send [02:54:03]OFD Sender: No OFD packet to send [02:54:08]OFD Sender: No OFD packet to send [02:54:13]OFD Sender: No OFD packet to send [02:54:18]OFD Sender: No OFD packet to send [02:54:23]OFD Sender: No OFD packet to send [02:54:28]OFD Sender: No OFD packet to send [02:54:33]OFD Sender: No OFD packet to send [02:54:38]OFD Sender: No OFD packet to send [02:54:43]OFD Sender: No OFD packet to send [02:54:48]OFD Sender: No OFD packet to send [02:54:53]OFD Sender: No OFD packet to send [02:54:58]OFD Sender: No OFD packet to send [02:55:03]OFD Sender: No OFD packet to send [02:55:08]OFD Sender: No OFD packet to send [02:55:13]OFD Sender: No OFD packet to send [02:55:18]OFD Sender: No OFD packet to send [02:55:23]OFD Sender: No OFD packet to send [02:55:28]OFD Sender: No OFD packet to send [02:55:33]OFD Sender: No OFD packet to send [02:55:38]OFD Sender: No OFD packet to send [02:55:43]OFD Sender: No OFD packet to send [02:55:48]OFD Sender: No OFD packet to send [02:55:53]OFD Sender: No OFD packet to send [02:55:58]OFD Sender: No OFD packet to send [02:56:03]OFD Sender: No OFD packet to send [02:56:08]OFD Sender: No OFD packet to send [02:56:13]OFD Sender: No OFD packet to send [02:56:18]OFD Sender: No OFD packet to send [02:56:23]OFD Sender: No OFD packet to send [02:56:28]OFD Sender: No OFD packet to send [02:56:33]OFD Sender: No OFD packet to send [02:56:38]OFD Sender: No OFD packet to send [02:56:43]OFD Sender: No OFD packet to send [02:56:48]OFD Sender: No OFD packet to send [02:56:53]OFD Sender: No OFD packet to send [02:56:58]OFD Sender: No OFD packet to send [02:57:03]OFD Sender: No OFD packet to send [02:57:08]OFD Sender: No OFD packet to send [02:57:13]OFD Sender: No OFD packet to send [02:57:18]OFD Sender: No OFD packet to send [02:57:23]OFD Sender: No OFD packet to send [02:57:28]OFD Sender: No OFD packet to send [02:57:33]OFD Sender: No OFD packet to send [02:57:38]OFD Sender: No OFD packet to send [02:57:43]OFD Sender: No OFD packet to send [02:57:48]OFD Sender: No OFD packet to send [02:57:53]OFD Sender: No OFD packet to send [02:57:58]OFD Sender: No OFD packet to send [02:58:03]OFD Sender: No OFD packet to send [02:58:08]OFD Sender: No OFD packet to send [02:58:13]OFD Sender: No OFD packet to send [02:58:18]OFD Sender: No OFD packet to send [02:58:23]OFD Sender: No OFD packet to send [02:58:28]OFD Sender: No OFD packet to send [02:58:33]OFD Sender: No OFD packet to send [02:58:38]OFD Sender: No OFD packet to send [02:58:43]OFD Sender: No OFD packet to send [02:58:48]OFD Sender: No OFD packet to send [02:58:54]OFD Sender: No OFD packet to send [02:58:59]OFD Sender: No OFD packet to send [02:59:04]OFD Sender: No OFD packet to send [02:59:09]OFD Sender: No OFD packet to send [02:59:14]OFD Sender: No OFD packet to send [02:59:19]OFD Sender: No OFD packet to send [02:59:24]OFD Sender: No OFD packet to send [02:59:29]OFD Sender: No OFD packet to send [02:59:34]OFD Sender: No OFD packet to send [02:59:39]OFD Sender: No OFD packet to send [02:59:44]OFD Sender: No OFD packet to send [02:59:49]OFD Sender: No OFD packet to send [02:59:54]OFD Sender: No OFD packet to send [02:59:59]OFD Sender: No OFD packet to send [03:00:04]OFD Sender: No OFD packet to send [03:00:09]OFD Sender: No OFD packet to send [03:00:14]OFD Sender: No OFD packet to send [03:00:19]OFD Sender: No OFD packet to send [03:00:24]OFD Sender: No OFD packet to send [03:00:29]OFD Sender: No OFD packet to send [03:00:34]OFD Sender: No OFD packet to send [03:00:39]OFD Sender: No OFD packet to send [03:00:44]OFD Sender: No OFD packet to send [03:00:49]OFD Sender: No OFD packet to send [03:00:54]OFD Sender: No OFD packet to send [03:00:59]OFD Sender: No OFD packet to send [03:01:04]OFD Sender: No OFD packet to send [03:01:09]OFD Sender: No OFD packet to send [03:01:14]OFD Sender: No OFD packet to send [03:01:19]OFD Sender: No OFD packet to send [03:01:24]OFD Sender: No OFD packet to send [03:01:29]OFD Sender: No OFD packet to send [03:01:34]OFD Sender: No OFD packet to send [03:01:39]OFD Sender: No OFD packet to send [03:01:44]OFD Sender: No OFD packet to send [03:01:49]OFD Sender: No OFD packet to send [03:01:54]OFD Sender: No OFD packet to send [03:01:59]OFD Sender: No OFD packet to send [03:02:04]OFD Sender: No OFD packet to send [03:02:09]OFD Sender: No OFD packet to send [03:02:14]OFD Sender: No OFD packet to send [03:02:19]OFD Sender: No OFD packet to send [03:02:24]OFD Sender: No OFD packet to send [03:02:29]OFD Sender: No OFD packet to send [03:02:34]OFD Sender: No OFD packet to send [03:02:39]OFD Sender: No OFD packet to send [03:02:44]OFD Sender: No OFD packet to send [03:02:49]OFD Sender: No OFD packet to send [03:02:54]OFD Sender: No OFD packet to send [03:02:59]OFD Sender: No OFD packet to send [03:03:04]OFD Sender: No OFD packet to send [03:03:09]OFD Sender: No OFD packet to send [03:03:14]OFD Sender: No OFD packet to send [03:03:19]OFD Sender: No OFD packet to send [03:03:24]OFD Sender: No OFD packet to send [03:03:29]OFD Sender: No OFD packet to send [03:03:34]OFD Sender: No OFD packet to send [03:03:39]OFD Sender: No OFD packet to send [03:03:44]OFD Sender: No OFD packet to send [03:03:49]OFD Sender: No OFD packet to send [03:03:54]OFD Sender: No OFD packet to send